diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 83dc6bfc..4d70f4ab 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,6 +13,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true +env: + NODE_OPTIONS: --enable-source-maps + jobs: Build: runs-on: ${{ matrix.os }} @@ -200,6 +203,14 @@ jobs: env: RUNNER_OS_NAME: ${{ matrix.os }} + - name: Modern Integration Tests + if: ${{ !contains(github.event.head_commit.message, '[skip test]') }} + run: | + node ./dist/modern/setup-cpp.mjs --help + node ./dist/modern/setup-cpp.mjs --gcc true --cmake true + env: + RUNNER_OS_NAME: ${{ matrix.os }} + - name: Setup Node 12 uses: actions/setup-node@v4 with: @@ -214,7 +225,7 @@ jobs: node-version: 16 - name: Smoke Test Node 16 run: | - node ./dist/modern/setup-cpp.js --help + node ./dist/modern/setup-cpp.mjs --help Docker: name: Docker-${{ matrix.container.image }} diff --git a/.terserrc.cjs b/.terserrc.cjs deleted file mode 100644 index b15bcaf1..00000000 --- a/.terserrc.cjs +++ /dev/null @@ -1,2 +0,0 @@ -const { buildTerserOptions } = require("terser-config-atomic/dist/builder") -module.exports = buildTerserOptions(process.env.NODE_ENV, undefined, true) diff --git a/.terserrc.mjs b/.terserrc.mjs new file mode 100644 index 00000000..1f53e31f --- /dev/null +++ b/.terserrc.mjs @@ -0,0 +1,2 @@ +import { buildTerserOptions } from "terser-config-atomic/dist/builder.js" +export default buildTerserOptions(process.env.NODE_ENV, undefined, true) diff --git a/action.yml b/action.yml index af1bd7ee..9fa4b00e 100644 --- a/action.yml +++ b/action.yml @@ -100,7 +100,7 @@ inputs: runs: using: "node20" - main: "dist/modern/setup-cpp.js" + main: "dist/modern/setup-cpp.mjs" branding: icon: "award" diff --git a/cspell.config.yaml b/cspell.config.yaml index 48c9e118..7b0ddbac 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -62,6 +62,7 @@ words: - libdw - libstdc - libtinfo + - liuli - memoizee - msbuild - msvc diff --git a/dist/legacy/actions_python.0b2a8a9a.js b/dist/legacy/actions_python.0b2a8a9a.js new file mode 100644 index 00000000..5127850d --- /dev/null +++ b/dist/legacy/actions_python.0b2a8a9a.js @@ -0,0 +1,3 @@ +function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}var $a2uk8$path=require("path"),$a2uk8$url=require("url"),$a2uk8$os=require("os"),$a2uk8$fs=require("fs"),$a2uk8$stream=require("stream"),$a2uk8$util=require("util"),$a2uk8$assert=require("assert"),$a2uk8$child_process=require("child_process"),$a2uk8$http=require("http"),$a2uk8$https=require("https"),$parcel$global=globalThis,parcelRequire=$parcel$global.parcelRequire810d,parcelRegister=parcelRequire.register;parcelRegister("apy8x",function(e,t){var r,i,s,n,o,a,h,l,c;function u(e){return e.startsWith("pypy");}async function p(e,t,n){var o;l.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let c=null===(o=process.env.AGENT_TOOLSDIRECTORY)||void 0===o?void 0:o.trim();if("string"==typeof c&&""!==c&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,r.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let r=await(0,a.findPyPyVersion)(e,n,!0,y,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,s.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{let r=await(0,h.useCpythonVersion)(e,n,!0,y,!1);t=r.version,(0,s.info)(`Successfully set up ${r.impl} (${t})`);}}i.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,o.join)(d,"python_matcher.json");if(!(await(0,n.pathExists)(e)))return(0,s.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,s.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("k1l4q"),i=parcelRequire("dKklS"),s=parcelRequire("pcnv8"),n=parcelRequire("ibhuk"),o=parcelRequire("drEX5"),a=parcelRequire("957JZ"),h=parcelRequire("2mbyd"),l=parcelRequire("clwE1");let d="string"==typeof(c=$a2uk8$path.resolve(__dirname,"../../src/python"))?c:$parcel$interopDefault($a2uk8$path).dirname((0,$a2uk8$url.fileURLToPath)("file:///src/python/actions_python.ts")),y=!1;}),parcelRegister("957JZ",function(e,t){var r,i,s,n,o;async function a(e,t,s,o,a){let c,u,p="",f="",d=l(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(n.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):n.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),c||({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let y=i.IS_WINDOWS?"Scripts":"bin",m=$a2uk8$path.join(c,y),g=i.IS_WINDOWS?".exe":"",x=$a2uk8$path.join(i.IS_WINDOWS?c:m,"python"+g),w=r.getPyPyBinaryPath(c);return s&&(n.exportVariable("pythonLocation",c),n.exportVariable("Python_ROOT_DIR",c),n.exportVariable("Python2_ROOT_DIR",c),n.exportVariable("Python3_ROOT_DIR",c),n.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),n.addPath(w),n.addPath(m)),n.setOutput("python-version","pypy"+p),n.setOutput("python-path",x),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",l=i.IS_WINDOWS?c(e):o.find("PyPy",e,r);return l&&(h=(0,i.getPyPyVersionFromPath)(l),a=(0,i.readExactPyPyVersionFile)(l),s.satisfies(a,t)||(l=null,a="",h="")),l||n.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:l,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function l(e){let t;let s=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(s[0])){let e=s[0].replace("pypy","");s.splice(0,1,"pypy",e);}if(s.length<2||"pypy"!=s[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let n=s[1];if(t=s.length>2?r.pypyVersionToSemantic(s[2]):"x",!(0,i.validateVersion)(n)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(n))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:t,pythonVersion:n};}function c(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("jsAqG"),i=parcelRequire("clwE1"),s=parcelRequire("51NgG"),n=parcelRequire("k1l4q"),o=parcelRequire("1GQ3N");}),parcelRegister("jsAqG",function(e,t){var r,i,s,n,o,a;async function h(e,t,s,n,o){let h;if(!(o=null!=o?o:await l())||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,s,!1);if(!n||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${s} not found`,"Trying pre-release versions"].join($a2uk8$os.EOL)),d=p(o,t,e,s,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${s} not found`);let{foundAsset:y,resolvedPythonVersion:m,resolvedPyPyVersion:g}=d,x=""+y.download_url;r.info(`Downloading PyPy from "${x}" ...`);try{let e=await i.downloadTool(x);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($a2uk8$fs).readdirSync(h)[0],n=$a2uk8$path.join(h,t),o=n;(0,a.isNightlyKeyword)(g)||(o=await i.cacheDir(n,"PyPy",m,s)),(0,a.writeExactPyPyVersionFile)(o,g);let l=f(o);return await c(l,m),await u(l),{installDir:o,resolvedPythonVersion:m,resolvedPyPyVersion:g};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function l(){let e="https://downloads.python.org/pypy/versions.json",t=new n.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;}async function c(e,t){let i=s.coerce(t),n=s.major(i),o=s.minor(i),h=2===n?"":"3",l=`${n}.${o}`,c=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`python${n}${c}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,"python"+c,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`pypy${l}${c}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$a2uk8$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,n){let o={includePrerelease:n},h=e.filter(e=>{let n=s.satisfies(s.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version)||s.satisfies(d(e.pypy_version),r,o),l=e.files&&(a.IS_WINDOWS?y(e,i):m(e,i,process.platform));return n&&h&&l;});if(0===h.length)return null;let l=h.sort((e,t)=>s.compare(s.coerce(d(t.pypy_version)),s.coerce(d(e.pypy_version)))||s.compare(s.coerce(t.python_version),s.coerce(e.python_version)))[0];return{foundAsset:a.IS_WINDOWS?g(l,i):x(l,i,process.platform),resolvedPythonVersion:l.python_version,resolvedPyPyVersion:l.pypy_version.trim()};}function f(e){let t=$a2uk8$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function y(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function m(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function g(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function x(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>l),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("k1l4q"),i=parcelRequire("1GQ3N"),s=parcelRequire("51NgG"),n=parcelRequire("ba1Cu"),o=parcelRequire("ca0ts"),a=parcelRequire("clwE1");}),parcelRegister("1GQ3N",function(e,t){function r(e,t,r,s){return E(this,void 0,void 0,function*(){t=t||k.join(S(),H.default()),yield D.mkdirP(k.dirname(t)),$.debug("Downloading "+e),$.debug("Destination "+t);let n=3,o=O("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=O("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new R.RetryHelper(n,o,a);return yield h.execute(()=>E(this,void 0,void 0,function*(){return yield i(e,t||"",r,s);}),e=>!(e instanceof W)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return E(this,void 0,void 0,function*(){if(M.existsSync(t))throw Error(`Destination file path ${t} already exists`);let s=new j.HttpClient(K,[],{allowRetries:!1});r&&($.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let n=yield s.get(e,i);if(200!==n.message.statusCode){let t=new W(n.message.statusCode);throw $.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t;}let o=q.promisify(F.pipeline),a=O("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>n.message)(),h=!1;try{return yield o(a,M.createWriteStream(t)),$.debug("download complete"),h=!0,t;}finally{if(!h){$.debug("download failed");try{yield D.rmRF(t);}catch(e){$.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function s(e,t,r){return E(this,void 0,void 0,function*(){$a2uk8$assert.ok(B,"extract7z() not supported on current OS"),$a2uk8$assert.ok(e,'parameter "file" is required'),t=yield m(t);let i=process.cwd();if(process.chdir(t),r)try{let t=$.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],s={silent:!0};yield A.exec(`"${r}"`,i,s);}finally{process.chdir(i);}else{let r=k.join(C,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${r}' -Source '${s}' -Target '${n}'`],a={silent:!0};try{let e=yield D.which("powershell",!0);yield A.exec(`"${e}"`,o,a);}finally{process.chdir(i);}}return t;});}function n(e,t,r="xz"){return E(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield m(t),$.debug("Checking tar --version");let s="";yield A.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>s+=e.toString(),stderr:e=>s+=e.toString()}}),$.debug(s.trim());let n=s.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],$.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return B&&n&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield A.exec("tar",i),t;});}function o(e,t,r=[]){return E(this,void 0,void 0,function*(){let i;$a2uk8$assert.ok(G,"extractXar() not supported on current OS"),$a2uk8$assert.ok(e,'parameter "file" is required'),t=yield m(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),$.isDebug()&&i.push("-v");let s=yield D.which("xar",!0);return yield A.exec(`"${s}"`,_(i)),t;});}function a(e,t){return E(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield m(t),B?yield h(e,t):yield l(e,t),t;});}function h(e,t){return E(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield D.which("pwsh",!1);if(s){let e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force } else { throw $_ } } ;`];$.debug("Using pwsh at path: "+s),yield A.exec(`"${s}"`,e);}else{let e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`],t=yield D.which("powershell",!0);$.debug("Using powershell at path: "+t),yield A.exec(`"${t}"`,e);}});}function l(e,t){return E(this,void 0,void 0,function*(){let r=yield D.which("unzip",!0),i=[e];$.isDebug()||i.unshift("-q"),i.unshift("-o"),yield A.exec(`"${r}"`,i,{cwd:t});});}function c(e,t,r,i){return E(this,void 0,void 0,function*(){if(r=V.clean(r)||r,i=i||L.arch(),$.debug(`Caching tool ${t} ${r} ${i}`),$.debug("source dir: "+e),!M.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let s=yield g(t,r,i);for(let t of M.readdirSync(e)){let r=k.join(e,t);yield D.cp(r,s,{recursive:!0});}return x(t,r,i),s;});}function u(e,t,r,i,s){return E(this,void 0,void 0,function*(){if(i=V.clean(i)||i,s=s||L.arch(),$.debug(`Caching tool ${r} ${i} ${s}`),$.debug("source file: "+e),!M.statSync(e).isFile())throw Error("sourceFile is not a file");let n=yield g(r,i,s),o=k.join(n,t);return $.debug("destination file "+o),yield D.cp(e,o),x(r,i,s),n;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||L.arch(),w(t)||(t=b(f(e,r),t));let i="";if(t){t=V.clean(t)||"";let s=k.join(v(),e,t,r);$.debug("checking cache: "+s),M.existsSync(s)&&M.existsSync(`${s}.complete`)?($.debug(`Found tool in cache ${e} ${t} ${r}`),i=s):$.debug("not found");}return i;}function f(e,t){let r=[];t=t||L.arch();let i=k.join(v(),e);if(M.existsSync(i)){for(let e of M.readdirSync(i))if(w(e)){let s=k.join(i,e,t||"");M.existsSync(s)&&M.existsSync(`${s}.complete`)&&r.push(e);}}return r;}function d(e,t,r,i="master"){return E(this,void 0,void 0,function*(){let s=[],n=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new j.HttpClient("tool-cache"),a={};r&&($.debug("set auth"),a.authorization=r);let h=yield o.getJson(n,a);if(!h.result)return s;let l="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){l=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield o.get(l,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{s=JSON.parse(c);}catch(e){$.debug("Invalid json");}}return s;});}function y(e,t,r,i=L.arch()){return E(this,void 0,void 0,function*(){return yield U._findMatch(e,t,r,i);});}function m(e){return E(this,void 0,void 0,function*(){return e||(e=k.join(S(),H.default())),yield D.mkdirP(e),e;});}function g(e,t,r){return E(this,void 0,void 0,function*(){let i=k.join(v(),e,V.clean(t)||t,r||"");$.debug("destination "+i);let s=`${i}.complete`;return yield D.rmRF(i),yield D.rmRF(s),yield D.mkdirP(i),i;});}function x(e,t,r){let i=k.join(v(),e,V.clean(t)||t,r||""),s=`${i}.complete`;M.writeFileSync(s,""),$.debug("finished caching tool");}function w(e){let t=V.clean(e)||"";$.debug("isExplicit: "+t);let r=null!=V.valid(t);return $.debug("explicit? "+r),r;}function b(e,t){let r="";$.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>V.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let s=e[i];if(V.satisfies(s,t)){r=s;break;}}return r?$.debug("matched: "+r):$.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $a2uk8$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function S(){let e=process.env.RUNNER_TEMP||"";return $a2uk8$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function O(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function _(e){return Array.from(new Set(e));}var N,P,T,E,I,A,R,C=$a2uk8$path.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),P=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),T=e.exports&&e.exports.__importStar||function(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 P(t,e),t;},E=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},I=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let $=T(parcelRequire("k1l4q")),D=T(parcelRequire("g9WSN")),M=T($a2uk8$fs),U=T(parcelRequire("2YXUl")),L=T($a2uk8$os),k=T($a2uk8$path),j=T(parcelRequire("ba1Cu")),V=T(parcelRequire("a5mzA")),F=T($a2uk8$stream),q=T($a2uk8$util),H=I(parcelRequire("iFKS7"));A=parcelRequire("ca0ts"),R=parcelRequire("9g1b2");class W extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=W;let B="win32"===process.platform,G="darwin"===process.platform,K="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=s,e.exports.extractTar=n,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=c,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=y,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=b;}),parcelRegister("2YXUl",function(e,t){var r,i,s,n,o;function a(t,r,i,s){return n(this,void 0,void 0,function*(){let n,a,h;let l=$a2uk8$os.platform();for(let n of i){let i=n.version;if(o.debug(`check ${i} satisfies ${t}`),c.satisfies(i,t)&&(!r||n.stable===r)&&(h=n.files.find(t=>{o.debug(`${t.arch}===${s} && ${t.platform}===${l}`);let r=t.arch===s&&t.platform===l;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||c.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+n.version),a=n;break;}}return a&&h&&((n=Object.assign({},a)).files=[h]),n;});}function h(){let t=$a2uk8$os.platform(),r="";if("darwin"===t)r=$a2uk8$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;}function l(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $a2uk8$fs.existsSync(e)?r=$a2uk8$fs.readFileSync(e).toString():$a2uk8$fs.existsSync(t)&&(r=$a2uk8$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let c=s(parcelRequire("a5mzA"));o=parcelRequire("k1l4q"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=l;}),parcelRegister("ba1Cu",function(e,t){var r,i,s,n;let o;function a(e){let t=r.getProxyUrl(new URL(e));return t?t.href:"";}function h(e){return"https:"===new URL(e).protocol;}Object.defineProperty(e.exports,"__esModule",{value:!0}),r=parcelRequire("8NGVX"),function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout";}(i=e.exports.HttpCodes||(e.exports.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type";}(s=e.exports.Headers||(e.exports.Headers={})),function(e){e.ApplicationJson="application/json";}(n=e.exports.MediaTypes||(e.exports.MediaTypes={})),e.exports.getProxyUrl=a;let l=[i.MovedPermanently,i.ResourceMoved,i.SeeOther,i.TemporaryRedirect,i.PermanentRedirect],c=[i.BadGateway,i.ServiceUnavailable,i.GatewayTimeout],u=["OPTIONS","GET","DELETE","HEAD"],p=10,f=5;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 y{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.toString());});});}}e.exports.HttpClientResponse=y,e.exports.isHttps=h;class m{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,i){return this.request(e,t,r,i);}async getJson(e,t={}){t[s.Accept]=this._getExistingOrDefaultHeader(t,s.Accept,n.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions);}async postJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.post(e,i,r);return this._processResponse(o,this.requestOptions);}async putJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.put(e,i,r);return this._processResponse(o,this.requestOptions);}async patchJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.patch(e,i,r);return this._processResponse(o,this.requestOptions);}async request(e,t,r,s){let n;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,s),h=this._allowRetries&&-1!=u.indexOf(e)?this._maxRetries+1:1,p=0;for(;p0;){let i=n.message.headers.location;if(!i)break;let h=new URL(i);if("https:"==o.protocol&&o.protocol!=h.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(await n.readBody(),h.hostname!==o.hostname)for(let e in s)"authorization"===e.toLowerCase()&&delete s[e];a=this._prepareRequest(e,h,s),n=await this.requestRaw(a,r),t--;}if(-1==c.indexOf(n.message.statusCode))break;(p+=1){let s=function(e,t){e&&i(e),r(t);};this.requestRawWithCallback(e,t,s);});}requestRawWithCallback(e,t,r){let i;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t));},o=e.httpModule.request(e.options,e=>{n(null,new y(e));});o.on("socket",e=>{i=e;}),o.setTimeout(this._socketTimeout||18e4,()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path),null);}),o.on("error",function(e){n(e,null);}),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){o.end();}),t.pipe(o)):o.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let i={};i.parsedUrl=t;let s="https:"===i.parsedUrl.protocol;i.httpModule=s?$a2uk8$https:$a2uk8$http;let n=s?443:80;return i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):n,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers&&this.handlers.forEach(e=>{e.prepareRequest(i.options);}),i;}_mergeHeaders(e){let 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 i;let s=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers&&(i=s(this.requestOptions.headers)[t]),e[t]||i||r;}_getAgent(e){let t;let i=r.getProxyUrl(e),s=i&&i.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;let n="https:"===e.protocol,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||$a2uk8$http.globalAgent.maxSockets),s){let e;o||(o=parcelRequire("bbp3j"));let r={maxSockets:a,keepAlive:this._keepAlive,proxy:{...((i.username||i.password)&&{proxyAuth:`${i.username}:${i.password}`}),host:i.hostname,port:i.port}},s="https:"===i.protocol;t=(e=n?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp)(r),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=n?new $a2uk8$https.Agent(e):new $a2uk8$http.Agent(e),this._agent=t;}return t||(t=n?$a2uk8$https.globalAgent:$a2uk8$http.globalAgent),n&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){let t=f*Math.pow(2,e=Math.min(p,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,s)=>{let n,o;let a=e.message.statusCode,h={statusCode:a,result:null,headers:{}};a==i.NotFound&&r(h);try{(o=await e.readBody())&&o.length>0&&(n=t&&t.deserializeDates?JSON.parse(o,m.dateTimeDeserializer):JSON.parse(o),h.result=n),h.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new d(e=n&&n.message?n.message:o&&o.length>0?o:"Failed request: ("+a+")",a);t.result=h.result,s(t);}else r(h);});}}e.exports.HttpClient=m;}),parcelRegister("8NGVX",function(e,t){function r(e){let t,r,s="https:"===e.protocol;return i(e)||(r=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)&&(t=new URL(r)),t;}function i(e){let t;if(!e.hostname)return!1;let 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 i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if(i.some(t=>t===e))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=r,e.exports.checkBypass=i;}),parcelRegister("9g1b2",function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.RetryHelper=void 0;let o=s(parcelRequire("k1l4q"));class a{constructor(e,t,r){if(e<1)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 n(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRegister("clwE1",function(e,t){var r,i,s;function n(e,t,r,i=!1){let s=$a2uk8$path.join(e,t),o=$a2uk8$path.join(e,r);$parcel$interopDefault($a2uk8$fs).existsSync(o)||($parcel$interopDefault($a2uk8$fs).symlinkSync(s,o),!m&&i&&$parcel$interopDefault($a2uk8$fs).chmodSync(o,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $a2uk8$path.basename($a2uk8$path.dirname(e));}function l(e){let t="",r=$a2uk8$path.join(e,v);return $parcel$interopDefault($a2uk8$fs).existsSync(r)&&(t=$parcel$interopDefault($a2uk8$fs).readFileSync(r).toString().trim()),t;}function c(e,t){let r=$a2uk8$path.join(e,v);$parcel$interopDefault($a2uk8$fs).writeFileSync(r,t);}function u(e){return /^\d+\.\d+$/.test(e);}async function p(){let{stdout:e}=await s.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{osName:"Windows",osVersion:e.trim().split(" ")[3]};}async function f(){let{stdout:e}=await s.getExecOutput("sw_vers",["-productVersion"],{silent:!0});return{osName:"macOS",osVersion:e.trim()};}async function d(){let{stdout:e}=await s.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function y(){let e;try{m?e=await p():g?e=await d():x&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>m),$parcel$export(e.exports,"IS_LINUX",()=>g),$parcel$export(e.exports,"IS_MAC",()=>x),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>b),$parcel$export(e.exports,"createSymlinkInFolder",()=>n),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>y),r=parcelRequire("k1l4q"),i=parcelRequire("51NgG"),parcelRequire("8y2rb"),s=parcelRequire("ca0ts");let m="win32"===process.platform,g="linux"===process.platform,x="darwin"===process.platform,w=["x86","x64"],b=["win32","win64"],v="PYPY_VERSION";}),parcelRegister("8y2rb",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("li79u"),parcelRequire("e8UAf");}),parcelRegister("li79u",function(e,t){e.exports=parcelRequire("Pq9Hv"),e.exports.async=parcelRequire("9qHsG"),e.exports.stream=parcelRequire("aluRl"),e.exports.prettyError=parcelRequire("buqvX");}),parcelRegister("Pq9Hv",function(e,t){var r,i;function s(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=s,r=parcelRequire("cpPXN"),i=parcelRequire("buqvX");}),parcelRegister("cpPXN",function(module,exports){var $D3EKL,$dAzRT,$11l48,$2cVXm;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($11l48(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($11l48(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($2cVXm(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($2cVXm(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($D3EKL(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($dAzRT(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($D3EKL(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($dAzRT(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($D3EKL(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("7LR6o")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$D3EKL=parcelRequire("D3EKL"),$dAzRT=parcelRequire("dAzRT"),$11l48=parcelRequire("11l48"),$2cVXm=parcelRequire("2cVXm");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRegister("7LR6o",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class s{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class n{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new s(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("dAzRT",function(e,t){var r=parcelRequire("k3bxK");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("k3bxK",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new s(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("2cVXm",function(e,t){var r=parcelRequire("k3bxK");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("buqvX",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: +`,t&&t.split){let i=t.split(/\n/),s=(Math.min(i.length,e.line+3)+"").length,n=" ";for(;n.length "+i[t]+"\n"+n+" ";for(let t=0;t=e.length)try{return n(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(s,t+r,r,n,o);}catch(t){o(i(t,e));}}t||(t={});let n=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(s,n,o,e,t);});}e.exports=s,r=parcelRequire("cpPXN"),i=parcelRequire("buqvX");}),parcelRegister("aluRl",function(e,t){var r;function i(e){return e?s(e):n(e);}function s(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let s;function n(){if(h=!0,!s)try{r(t.finish());}catch(e){i(e);}}function o(e){l=!0,i(e);}function a(){let r;for(s=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(s=!1,h)return n();l||e.once("readable",a);}let h=!1,l=!1;e.once("end",n),e.once("error",o),a();});}function n(){let e=new r();return new $a2uk8$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("cpPXN");}),parcelRegister("e8UAf",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=c(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function s(){return Error("Array values can't have mixed types");}function n(e){return Object.keys(e).filter(t=>l(e[t]));}function o(e){return Object.keys(e).filter(t=>!l(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=n(r=a(r)),s=o(r);var i,s,h=[],l=t||"";i.forEach(e=>{var t=c(r[e]);"undefined"!==t&&"null"!==t&&h.push(l+u(e)+" = "+g(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return s.forEach(t=>{h.push(E(e,p,t,r[t]));}),h.join("\n");}function l(e){switch(c(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==c(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function c(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+y(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function m(e){let t=e.split(/\n/).map(e=>y(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function g(e,t){let r=c(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),x(e,r);}function x(e,t){switch(t||(t=c(e)),t){case"string-multiline":return m(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return b(e);case"boolean":return v(e);case"datetime":return S(e);case"array":return P(e.filter(e=>"null"!==c(e)&&"undefined"!==c(e)&&"nan"!==c(e)));case"table":return T(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function b(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function S(e){return e.toISOString();}function O(e){return"float"===e||"integer"===e;}function _(e){var t=c(e[0]);return e.every(e=>c(e)===t)?t:e.every(e=>O(c(e)))?"float":"mixed";}function N(e){let t=_(e);if("mixed"===t)throw s();return t;}function P(e){let t=N(e=a(e));var r="[",i=e.map(e=>x(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function T(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+g(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function E(e,t,r,s){var n=c(s);if("array"===n)return I(e,t,r,s);if("table"===n)return A(e,t,r,s);throw i(n);}function I(e,t,r,s){N(s=a(s));var n=c(s[0]);if("table"!==n)throw i(n);var o=e+u(r),l="";return s.forEach(e=>{l.length>0&&(l+="\n"),l+=t+"[["+o+"]]\n"+h(o+".",t,e);}),l;}function A(e,t,r,i){var s=e+u(r),o="";return n(i).length>0&&(o+=t+"["+s+"]\n"),o+h(s+".",t,i);}e.exports=r,e.exports.value=x;}),parcelRegister("2mbyd",function(e,t){var r,i,s,n,o;function a(e){return r.IS_WINDOWS?$a2uk8$path.join(e,"Scripts"):$a2uk8$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,y=u(l(e),f);if(n.debug(`Semantic version spec of ${e} is ${y}`),p){var m;d=await s.getManifest();let e=null===(m=await s.findReleaseFromManifest(y,t,d))||void 0===m?void 0:m.version;e?(y=e,n.info(`Resolved as '${y}'`)):n.info(`Failed to resolve version ${y} from manifest`);}let g=o.find("Python",y,t);if(!g){n.info(`Version ${y} was not found in the local cache`);let e=await s.findReleaseFromManifest(y,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${y} is available for downloading`),await s.installCpythonFromRelease(e),g=o.find("Python",y,t));}if(!g){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+s.MANIFEST_URL].join($a2uk8$os.EOL));}let x=a(g),w=r.IS_WINDOWS?".exe":"",b=$a2uk8$path.join(r.IS_WINDOWS?g:x,"python"+w);if(h){if(n.exportVariable("pythonLocation",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),n.exportVariable("pythonLocation",g),n.exportVariable("Python_ROOT_DIR",g),n.exportVariable("Python2_ROOT_DIR",g),n.exportVariable("Python3_ROOT_DIR",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$a2uk8$path.join(g,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(g),n.addPath(x),r.IS_WINDOWS){let e=$a2uk8$path.basename($a2uk8$path.dirname(g)),t=i.major(e),r=i.minor(e),s=$a2uk8$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}let v=c(g);return n.setOutput("python-version",v),n.setOutput("python-path",b),{impl:"CPython",version:v};}function l(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function c(e){let t=e.split($a2uk8$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,s=e.replace(r,"$1-$2");return t&&(s=s.replace(i,"~$1.$2.0-0")),s;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("clwE1"),i=parcelRequire("51NgG"),s=parcelRequire("adAKt"),n=parcelRequire("k1l4q"),o=parcelRequire("1GQ3N");}),parcelRegister("adAKt",function(e,t){var r,i,s,n;async function o(e,t,r){return r||(r=await a()),await i.findFromManifest(e,!1,r,t);}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(n.IS_LINUX&&{LD_LIBRARY_PATH:$a2uk8$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};n.IS_WINDOWS?await s.exec("powershell",["./setup.ps1"],t):await s.exec("bash",["./setup.sh"],t);}async function l(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let s="";try{let e;s=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=n.IS_WINDOWS?await i.extractZip(s):await i.extractTar(s),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>y),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>l),r=parcelRequire("k1l4q"),i=parcelRequire("1GQ3N"),s=parcelRequire("ca0ts"),n=parcelRequire("clwE1");let c=r.getInput("token"),u=c?"token "+c:void 0,p="actions",f="python-versions",d="main",y=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}); +//# sourceMappingURL=actions_python.0b2a8a9a.js.map \ No newline at end of file diff --git a/dist/legacy/actions_python.0b2a8a9a.js.map b/dist/legacy/actions_python.0b2a8a9a.js.map new file mode 100644 index 00000000..b81d3db0 --- /dev/null +++ b/dist/legacy/actions_python.0b2a8a9a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"actions_python.0b2a8a9a.js","names":["u","e","startsWith","p","t","n","o","l","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","c","trim","RUNNER_TOOL_CACHE","r","debug","a","findPyPyVersion","y","resolvedPyPyVersion","resolvedPythonVersion","s","info","h","useCpythonVersion","version","impl","i","GITHUB_ACTIONS","f","join","d","pathExists","warning","$parcel$interopDefault","$a2uk8$path","dirname","$a2uk8$url","fileURLToPath","getAvailablePyPyVersions","length","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","IS_WINDOWS","m","g","x","w","getPyPyBinaryPath","exportVariable","addPath","setOutput","find","getPyPyVersionFromPath","readExactPyPyVersionFile","satisfies","split","filter","test","replace","splice","Error","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","forEach","foundAsset","$a2uk8$os","EOL","download_url","downloadTool","extractZip","extractTar","$a2uk8$fs","readdirSync","isNightlyKeyword","cacheDir","writeExactPyPyVersionFile","HTTPError","httpStatusCode","message","stack","HttpClient","getJson","result","coerce","major","minor","createSymlinkInFolder","exec","includePrerelease","python_version","pypy_version","files","platform","sort","compare","some","WINDOWS_PLATFORMS","includes","arch","k","S","H","default","D","mkdirP","$","O","R","RetryHelper","execute","E","W","M","existsSync","j","K","allowRetries","authorization","get","statusCode","statusMessage","q","promisify","F","pipeline","createWriteStream","rmRF","$a2uk8$assert","ok","B","cwd","chdir","isDebug","silent","A","C","which","ignoreReturnCode","listeners","stdout","toString","stderr","toUpperCase","Array","push","G","_","unshift","V","clean","L","statSync","isDirectory","cp","recursive","isFile","b","v","tree","path","url","accept","readBody","JSON","parse","U","_findMatch","writeFileSync","valid","gt","RUNNER_TEMP","$parcel$global","from","Set","T","parcelRequire","$a2uk8$stream","$a2uk8$util","I","constructor","Object","setPrototypeOf","new","target","prototype","exports","extract7z","extractXar","cacheFile","findAllVersions","getManifestFromRepo","findFromManifest","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$a2uk8$child_process","execSync","_readLinuxVersionFile","readFileSync","getProxyUrl","URL","href","protocol","defineProperty","value","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpCodes","Accept","ContentType","Headers","ApplicationJson","MediaTypes","name","HttpClientError","Promise","Buffer","alloc","on","concat","HttpClientResponse","isHttps","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","maxRetries","options","request","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","stringify","putJson","patchJson","_prepareRequest","indexOf","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","toLowerCase","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","setTimeout","end","write","pipe","getAgent","_getAgent","parsedUrl","$a2uk8$https","$a2uk8$http","host","port","parseInt","pathname","search","method","_mergeHeaders","agent","prepareRequest","keys","reduce","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","pow","min","dateTimeDeserializer","Date","isNaN","valueOf","deserializeDates","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","no_proxy","NO_PROXY","map","checkBypass","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","random","symlinkSync","chmodSync","validRange","basename","getExecOutput","osName","osVersion","async","stream","prettyError","isBuffer","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","descriptor","InlineTable","defineProperties","_type","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","makeParserClass","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","parseKeyword","recordAssignKeyword","state","resultTable","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$11l48","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$2cVXm","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$D3EKL","$dAzRT","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","captureStackTrace","fromTOML","wrapped","code","Symbol","configurable","enumerable","utilInspect","eval","custom","asIntN","parser","returned","pos","col","line","_buf","ii","runOne","codePointAt","haveBuffer","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","slice","setImmediate","blocksize","setEncoding","read","once","Transform","objectMode","transform","emit","flush","toJSON","isArray","P","every","N","getManifest","findReleaseFromManifest","installCpythonFromRelease","getOSInfo","MANIFEST_URL","IS_LINUX","LD_LIBRARY_PATH","APPDATA","sep","findIndex","getInput"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-pypy.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-pypy.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/manifest.ts","../../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/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/utils.ts","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-python.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-python.ts"],"sourcesContent":["var $a2uk8$path = require(\"path\");\nvar $a2uk8$url = require(\"url\");\nvar $a2uk8$os = require(\"os\");\nvar $a2uk8$fs = require(\"fs\");\nvar $a2uk8$stream = require(\"stream\");\nvar $a2uk8$util = require(\"util\");\nvar $a2uk8$assert = require(\"assert\");\nvar $a2uk8$child_process = require(\"child_process\");\nvar $a2uk8$http = require(\"http\");\nvar $a2uk8$https = require(\"https\");\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire810d\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"apy8x\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $f1043fe4c11d201d$export$5655ebf4048b68d5);\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $957JZ = parcelRequire(\"957JZ\");\n\nvar $2mbyd = parcelRequire(\"2mbyd\");\n\nvar $clwE1 = parcelRequire(\"clwE1\");\n\nvar $f1043fe4c11d201d$var$$parcel$__dirname = $a2uk8$path.resolve(__dirname, \"../../src/python\");\nconst $f1043fe4c11d201d$var$dirname = typeof $f1043fe4c11d201d$var$$parcel$__dirname === \"string\" ? $f1043fe4c11d201d$var$$parcel$__dirname : (0, ($parcel$interopDefault($a2uk8$path))).dirname((0, $a2uk8$url.fileURLToPath)(\"file:///src/python/actions_python.ts\"));\nfunction $f1043fe4c11d201d$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $f1043fe4c11d201d$var$checkLatest = false;\nasync function $f1043fe4c11d201d$export$5655ebf4048b68d5(version, _setupDir, arch) {\n var _process_env_AGENT_TOOLSDIRECTORY;\n if (0, $clwE1.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = (_process_env_AGENT_TOOLSDIRECTORY = process.env.AGENT_TOOLSDIRECTORY) === null || _process_env_AGENT_TOOLSDIRECTORY === void 0 ? void 0 : _process_env_AGENT_TOOLSDIRECTORY.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $k1l4q.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($f1043fe4c11d201d$var$isPyPyVersion(version)) {\n const installed = await (0, $957JZ.findPyPyVersion)(version, arch, true, $f1043fe4c11d201d$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $pcnv8.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $2mbyd.useCpythonVersion)(version, arch, true, $f1043fe4c11d201d$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $pcnv8.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $dKklS.GITHUB_ACTIONS) await $f1043fe4c11d201d$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $f1043fe4c11d201d$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $drEX5.join)($f1043fe4c11d201d$var$dirname, \"python_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRegister(\"957JZ\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $5603170ff915b684$export$43d689d19c89c31d);\n\n\nvar $jsAqG = parcelRequire(\"jsAqG\");\n\nvar $clwE1 = parcelRequire(\"clwE1\");\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\nasync function $5603170ff915b684$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $5603170ff915b684$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $jsAqG.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $jsAqG.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $k1l4q.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $k1l4q.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $5603170ff915b684$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $jsAqG.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $clwE1.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $a2uk8$path.join(installDir, pipDir);\n const binaryExtension = (0, $clwE1.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $a2uk8$path.join((0, $clwE1.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $jsAqG.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $k1l4q.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $k1l4q.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $k1l4q.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $k1l4q.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $k1l4q.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $k1l4q.addPath(pythonLocation);\n $k1l4q.addPath(_binDir);\n }\n $k1l4q.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $k1l4q.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $5603170ff915b684$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $clwE1.IS_WINDOWS) ? $5603170ff915b684$export$139298be7eb2bd(pythonVersion) : $1GQ3N.find(\"PyPy\", pythonVersion, architecture);\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 = (0, $clwE1.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $clwE1.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $51NgG.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $k1l4q.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $5603170ff915b684$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $jsAqG.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $clwE1.validateVersion)(pythonVersion) || !(0, $clwE1.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $clwE1.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $5603170ff915b684$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $clwE1.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $1GQ3N.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRegister(\"jsAqG\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $f1a4fc73cca2b288$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $f1a4fc73cca2b288$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $f1a4fc73cca2b288$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $f1a4fc73cca2b288$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $f1a4fc73cca2b288$export$4e25ef8c836002b9);\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $ba1Cu = parcelRequire(\"ba1Cu\");\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\n\nvar $clwE1 = parcelRequire(\"clwE1\");\nasync function $f1a4fc73cca2b288$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases !== null && releases !== void 0 ? releases : await $f1a4fc73cca2b288$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $f1a4fc73cca2b288$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $k1l4q.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($a2uk8$os.EOL));\n releaseData = $f1a4fc73cca2b288$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $k1l4q.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $1GQ3N.downloadTool(downloadUrl);\n $k1l4q.info(\"Extracting downloaded archive...\");\n if (0, $clwE1.IS_WINDOWS) downloadDir = await $1GQ3N.extractZip(pypyPath);\n else downloadDir = await $1GQ3N.extractTar(pypyPath, undefined, \"x\");\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 = (0, ($parcel$interopDefault($a2uk8$fs))).readdirSync(downloadDir)[0];\n const toolDir = $a2uk8$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $clwE1.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $1GQ3N.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $clwE1.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $f1a4fc73cca2b288$export$a053ce7a690fbb2e(installDir);\n await $f1a4fc73cca2b288$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $f1a4fc73cca2b288$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $1GQ3N.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $k1l4q.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $k1l4q.info(err.message);\n if (err.stack !== undefined) $k1l4q.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $f1a4fc73cca2b288$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $ba1Cu.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $f1a4fc73cca2b288$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $51NgG.coerce(pythonVersion);\n const pythonBinaryPostfix = $51NgG.major(version);\n const pythonMinor = $51NgG.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $clwE1.IS_WINDOWS) ? \".exe\" : \"\";\n $k1l4q.info(\"Creating symlinks...\");\n (0, $clwE1.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $clwE1.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $clwE1.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $f1a4fc73cca2b288$var$installPip(pythonLocation) {\n $k1l4q.info(\"Installing and updating pip\");\n const pythonBinary = $a2uk8$path.join(pythonLocation, \"python\");\n await $ca0ts.exec(`${pythonBinary} -m ensurepip`);\n await $ca0ts.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $f1a4fc73cca2b288$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $51NgG.satisfies($51NgG.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $clwE1.isNightlyKeyword)(pypyVersion) && (0, $clwE1.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $51NgG.satisfies($f1a4fc73cca2b288$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $clwE1.IS_WINDOWS) ? $f1a4fc73cca2b288$export$652444ba12a0c7bb(item, architecture) : $f1a4fc73cca2b288$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $51NgG.compare($51NgG.coerce($f1a4fc73cca2b288$export$4e25ef8c836002b9(current.pypy_version)), $51NgG.coerce($f1a4fc73cca2b288$export$4e25ef8c836002b9(previous.pypy_version))) || $51NgG.compare($51NgG.coerce(current.python_version), $51NgG.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $clwE1.IS_WINDOWS) ? $f1a4fc73cca2b288$export$672a33957a3c888(foundRelease, architecture) : $f1a4fc73cca2b288$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $f1a4fc73cca2b288$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $a2uk8$path.join(installDir, \"bin\");\n return (0, $clwE1.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $f1a4fc73cca2b288$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $f1a4fc73cca2b288$export$652444ba12a0c7bb(item, architecture) {\n architecture = $f1a4fc73cca2b288$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $clwE1.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $f1a4fc73cca2b288$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $f1a4fc73cca2b288$export$672a33957a3c888(releases, architecture) {\n architecture = $f1a4fc73cca2b288$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $clwE1.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $f1a4fc73cca2b288$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $f1a4fc73cca2b288$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\nparcelRegister(\"1GQ3N\", function(module, exports) {\n\nvar $13b218c2dfda02f8$var$$parcel$__dirname = $a2uk8$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $13b218c2dfda02f8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $13b218c2dfda02f8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $13b218c2dfda02f8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $13b218c2dfda02f8$var$__createBinding(result, mod, k);\n }\n $13b218c2dfda02f8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $13b218c2dfda02f8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $13b218c2dfda02f8$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $13b218c2dfda02f8$var$core = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"k1l4q\")));\n\nconst $13b218c2dfda02f8$var$io = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"g9WSN\")));\n\nconst $13b218c2dfda02f8$var$fs = $13b218c2dfda02f8$var$__importStar($a2uk8$fs);\n\nconst $13b218c2dfda02f8$var$mm = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"2YXUl\")));\n\nconst $13b218c2dfda02f8$var$os = $13b218c2dfda02f8$var$__importStar($a2uk8$os);\n\nconst $13b218c2dfda02f8$var$path = $13b218c2dfda02f8$var$__importStar($a2uk8$path);\n\nconst $13b218c2dfda02f8$var$httpm = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"ba1Cu\")));\n\nconst $13b218c2dfda02f8$var$semver = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"a5mzA\")));\n\nconst $13b218c2dfda02f8$var$stream = $13b218c2dfda02f8$var$__importStar($a2uk8$stream);\n\nconst $13b218c2dfda02f8$var$util = $13b218c2dfda02f8$var$__importStar($a2uk8$util);\n\nconst $13b218c2dfda02f8$var$v4_1 = $13b218c2dfda02f8$var$__importDefault((parcelRequire(\"iFKS7\")));\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\n\nvar $9g1b2 = parcelRequire(\"9g1b2\");\nclass $13b218c2dfda02f8$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $13b218c2dfda02f8$var$HTTPError;\nconst $13b218c2dfda02f8$var$IS_WINDOWS = process.platform === \"win32\";\nconst $13b218c2dfda02f8$var$IS_MAC = process.platform === \"darwin\";\nconst $13b218c2dfda02f8$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $13b218c2dfda02f8$var$downloadTool(url, dest, auth, headers) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getTempDirectory(), $13b218c2dfda02f8$var$v4_1.default());\n yield $13b218c2dfda02f8$var$io.mkdirP($13b218c2dfda02f8$var$path.dirname(dest));\n $13b218c2dfda02f8$var$core.debug(`Downloading ${url}`);\n $13b218c2dfda02f8$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $13b218c2dfda02f8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $13b218c2dfda02f8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $9g1b2.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n return yield $13b218c2dfda02f8$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $13b218c2dfda02f8$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $13b218c2dfda02f8$var$downloadTool;\nfunction $13b218c2dfda02f8$var$downloadToolAttempt(url, dest, auth, headers) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if ($13b218c2dfda02f8$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $13b218c2dfda02f8$var$httpm.HttpClient($13b218c2dfda02f8$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $13b218c2dfda02f8$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $13b218c2dfda02f8$var$HTTPError(response.message.statusCode);\n $13b218c2dfda02f8$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $13b218c2dfda02f8$var$util.promisify($13b218c2dfda02f8$var$stream.pipeline);\n const responseMessageFactory = $13b218c2dfda02f8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $13b218c2dfda02f8$var$fs.createWriteStream(dest));\n $13b218c2dfda02f8$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $13b218c2dfda02f8$var$core.debug(\"download failed\");\n try {\n yield $13b218c2dfda02f8$var$io.rmRF(dest);\n } catch (err) {\n $13b218c2dfda02f8$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extract7z(file, dest, _7zPath) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n $a2uk8$assert.ok($13b218c2dfda02f8$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $a2uk8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $13b218c2dfda02f8$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $ca0ts.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $13b218c2dfda02f8$var$io.which(\"powershell\", true);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $13b218c2dfda02f8$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extractTar(file, dest, flags = \"xz\") {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $13b218c2dfda02f8$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $ca0ts.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $13b218c2dfda02f8$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($13b218c2dfda02f8$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($13b218c2dfda02f8$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $ca0ts.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $13b218c2dfda02f8$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extractXar(file, dest, flags = []) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n $a2uk8$assert.ok($13b218c2dfda02f8$var$IS_MAC, \"extractXar() not supported on current OS\");\n $a2uk8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($13b218c2dfda02f8$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $13b218c2dfda02f8$var$io.which(\"xar\", true);\n yield $ca0ts.exec(`\"${xarPath}\"`, $13b218c2dfda02f8$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $13b218c2dfda02f8$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extractZip(file, dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n if ($13b218c2dfda02f8$var$IS_WINDOWS) yield $13b218c2dfda02f8$var$extractZipWin(file, dest);\n else yield $13b218c2dfda02f8$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $13b218c2dfda02f8$var$extractZip;\nfunction $13b218c2dfda02f8$var$extractZipWin(file, dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $13b218c2dfda02f8$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $13b218c2dfda02f8$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $ca0ts.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $13b218c2dfda02f8$var$io.which(\"powershell\", true);\n $13b218c2dfda02f8$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $13b218c2dfda02f8$var$extractZipNix(file, dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $13b218c2dfda02f8$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$13b218c2dfda02f8$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $ca0ts.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $13b218c2dfda02f8$var$cacheDir(sourceDir, tool, version, arch) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n version = $13b218c2dfda02f8$var$semver.clean(version) || version;\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n $13b218c2dfda02f8$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $13b218c2dfda02f8$var$core.debug(`source dir: ${sourceDir}`);\n if (!$13b218c2dfda02f8$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $13b218c2dfda02f8$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $13b218c2dfda02f8$var$fs.readdirSync(sourceDir)){\n const s = $13b218c2dfda02f8$var$path.join(sourceDir, itemName);\n yield $13b218c2dfda02f8$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $13b218c2dfda02f8$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $13b218c2dfda02f8$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $13b218c2dfda02f8$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n version = $13b218c2dfda02f8$var$semver.clean(version) || version;\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n $13b218c2dfda02f8$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $13b218c2dfda02f8$var$core.debug(`source file: ${sourceFile}`);\n if (!$13b218c2dfda02f8$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $13b218c2dfda02f8$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $13b218c2dfda02f8$var$path.join(destFolder, targetFile);\n $13b218c2dfda02f8$var$core.debug(`destination file ${destPath}`);\n yield $13b218c2dfda02f8$var$io.cp(sourceFile, destPath);\n // write .complete\n $13b218c2dfda02f8$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $13b218c2dfda02f8$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $13b218c2dfda02f8$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n // attempt to resolve an explicit version\n if (!$13b218c2dfda02f8$var$isExplicitVersion(versionSpec)) {\n const localVersions = $13b218c2dfda02f8$var$findAllVersions(toolName, arch);\n const match = $13b218c2dfda02f8$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $13b218c2dfda02f8$var$semver.clean(versionSpec) || \"\";\n const cachePath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $13b218c2dfda02f8$var$core.debug(`checking cache: ${cachePath}`);\n if ($13b218c2dfda02f8$var$fs.existsSync(cachePath) && $13b218c2dfda02f8$var$fs.existsSync(`${cachePath}.complete`)) {\n $13b218c2dfda02f8$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $13b218c2dfda02f8$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $13b218c2dfda02f8$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $13b218c2dfda02f8$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n const toolPath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), toolName);\n if ($13b218c2dfda02f8$var$fs.existsSync(toolPath)) {\n const children = $13b218c2dfda02f8$var$fs.readdirSync(toolPath);\n for (const child of children)if ($13b218c2dfda02f8$var$isExplicitVersion(child)) {\n const fullPath = $13b218c2dfda02f8$var$path.join(toolPath, child, arch || \"\");\n if ($13b218c2dfda02f8$var$fs.existsSync(fullPath) && $13b218c2dfda02f8$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $13b218c2dfda02f8$var$findAllVersions;\nfunction $13b218c2dfda02f8$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $13b218c2dfda02f8$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $13b218c2dfda02f8$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $13b218c2dfda02f8$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $13b218c2dfda02f8$var$getManifestFromRepo;\nfunction $13b218c2dfda02f8$var$findFromManifest(versionSpec, stable, manifest, archFilter = $13b218c2dfda02f8$var$os.arch()) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $13b218c2dfda02f8$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $13b218c2dfda02f8$var$findFromManifest;\nfunction $13b218c2dfda02f8$var$_createExtractFolder(dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getTempDirectory(), $13b218c2dfda02f8$var$v4_1.default());\n yield $13b218c2dfda02f8$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $13b218c2dfda02f8$var$_createToolPath(tool, version, arch) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), tool, $13b218c2dfda02f8$var$semver.clean(version) || version, arch || \"\");\n $13b218c2dfda02f8$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $13b218c2dfda02f8$var$io.rmRF(folderPath);\n yield $13b218c2dfda02f8$var$io.rmRF(markerPath);\n yield $13b218c2dfda02f8$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $13b218c2dfda02f8$var$_completeToolPath(tool, version, arch) {\n const folderPath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), tool, $13b218c2dfda02f8$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $13b218c2dfda02f8$var$fs.writeFileSync(markerPath, \"\");\n $13b218c2dfda02f8$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $13b218c2dfda02f8$var$isExplicitVersion(versionSpec) {\n const c = $13b218c2dfda02f8$var$semver.clean(versionSpec) || \"\";\n $13b218c2dfda02f8$var$core.debug(`isExplicit: ${c}`);\n const valid = $13b218c2dfda02f8$var$semver.valid(c) != null;\n $13b218c2dfda02f8$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $13b218c2dfda02f8$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $13b218c2dfda02f8$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $13b218c2dfda02f8$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($13b218c2dfda02f8$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $13b218c2dfda02f8$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $13b218c2dfda02f8$var$core.debug(`matched: ${version}`);\n else $13b218c2dfda02f8$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $13b218c2dfda02f8$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $13b218c2dfda02f8$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $a2uk8$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $13b218c2dfda02f8$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $a2uk8$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $13b218c2dfda02f8$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $13b218c2dfda02f8$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRegister(\"2YXUl\", function(module, exports) {\n\"use strict\";\nvar $22bfa7ce6cec20e7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $22bfa7ce6cec20e7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $22bfa7ce6cec20e7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $22bfa7ce6cec20e7$var$__createBinding(result, mod, k);\n }\n $22bfa7ce6cec20e7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $22bfa7ce6cec20e7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $22bfa7ce6cec20e7$var$semver = $22bfa7ce6cec20e7$var$__importStar((parcelRequire(\"a5mzA\")));\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\nfunction $22bfa7ce6cec20e7$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $22bfa7ce6cec20e7$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $a2uk8$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $k1l4q.debug(`check ${version} satisfies ${versionSpec}`);\n if ($22bfa7ce6cec20e7$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $k1l4q.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $22bfa7ce6cec20e7$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $k1l4q.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $22bfa7ce6cec20e7$var$_findMatch;\nfunction $22bfa7ce6cec20e7$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $a2uk8$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $a2uk8$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $22bfa7ce6cec20e7$var$_getOsVersion;\nfunction $22bfa7ce6cec20e7$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($a2uk8$fs.existsSync(lsbReleaseFile)) contents = $a2uk8$fs.readFileSync(lsbReleaseFile).toString();\n else if ($a2uk8$fs.existsSync(osReleaseFile)) contents = $a2uk8$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $22bfa7ce6cec20e7$var$_readLinuxVersionFile;\n\n});\n\nparcelRegister(\"ba1Cu\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\n\n\n\nvar $8NGVX = parcelRequire(\"8NGVX\");\nlet $8201e28ab2232b69$var$tunnel;\nvar $8201e28ab2232b69$var$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})($8201e28ab2232b69$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $8201e28ab2232b69$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($8201e28ab2232b69$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $8201e28ab2232b69$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($8201e28ab2232b69$var$MediaTypes = module.exports.MediaTypes || (module.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 */ function $8201e28ab2232b69$var$getProxyUrl(serverUrl) {\n let proxyUrl = $8NGVX.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $8201e28ab2232b69$var$getProxyUrl;\nconst $8201e28ab2232b69$var$HttpRedirectCodes = [\n $8201e28ab2232b69$var$HttpCodes.MovedPermanently,\n $8201e28ab2232b69$var$HttpCodes.ResourceMoved,\n $8201e28ab2232b69$var$HttpCodes.SeeOther,\n $8201e28ab2232b69$var$HttpCodes.TemporaryRedirect,\n $8201e28ab2232b69$var$HttpCodes.PermanentRedirect\n];\nconst $8201e28ab2232b69$var$HttpResponseRetryCodes = [\n $8201e28ab2232b69$var$HttpCodes.BadGateway,\n $8201e28ab2232b69$var$HttpCodes.ServiceUnavailable,\n $8201e28ab2232b69$var$HttpCodes.GatewayTimeout\n];\nconst $8201e28ab2232b69$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $8201e28ab2232b69$var$ExponentialBackoffCeiling = 10;\nconst $8201e28ab2232b69$var$ExponentialBackoffTimeSlice = 5;\nclass $8201e28ab2232b69$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $8201e28ab2232b69$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $8201e28ab2232b69$var$HttpClientError;\nclass $8201e28ab2232b69$var$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([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n });\n }\n}\nmodule.exports.HttpClientResponse = $8201e28ab2232b69$var$HttpClientResponse;\nfunction $8201e28ab2232b69$var$isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $8201e28ab2232b69$var$isHttps;\n\nclass $8201e28ab2232b69$var$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) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\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 */ async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$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[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$MediaTypes.ApplicationJson);\n additionalHeaders[$8201e28ab2232b69$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.ContentType, $8201e28ab2232b69$var$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[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$MediaTypes.ApplicationJson);\n additionalHeaders[$8201e28ab2232b69$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.ContentType, $8201e28ab2232b69$var$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[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$MediaTypes.ApplicationJson);\n additionalHeaders[$8201e28ab2232b69$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.ContentType, $8201e28ab2232b69$var$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 */ async request(verb, requestUrl, data, headers) {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\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 && $8201e28ab2232b69$var$RetryableHttpVerbs.indexOf(verb) != -1 ? this._maxRetries + 1 : 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 && response.message && response.message.statusCode === $8201e28ab2232b69$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for(let i = 0; i < this.handlers.length; i++)if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // 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 let redirectsRemaining = this._maxRedirects;\n while($8201e28ab2232b69$var$HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == \"https:\" && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) 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 // 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)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\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 ($8201e28ab2232b69$var$HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) // If not a retry code, return immediately instead of retrying\n return response;\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 */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return new Promise((resolve, reject)=>{\n let callbackForResult = function(err, res) {\n if (err) reject(err);\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 */ requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === \"string\") info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\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 $8201e28ab2232b69$var$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 || 180000, ()=>{\n if (socket) socket.end();\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\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\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 */ 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 ? $a2uk8$https : $a2uk8$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) this.handlers.forEach((handler)=>{\n handler.prepareRequest(info.options);\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) return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\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) clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = $8NGVX.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (!!agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (!!this.requestOptions) maxSockets = this.requestOptions.maxSockets || $a2uk8$http.globalAgent.maxSockets;\n if (useProxy) {\n // If using proxy, need tunnel\n if (!$8201e28ab2232b69$var$tunnel) $8201e28ab2232b69$var$tunnel = (parcelRequire(\"bbp3j\"));\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) tunnelAgent = overHttps ? $8201e28ab2232b69$var$tunnel.httpsOverHttps : $8201e28ab2232b69$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $8201e28ab2232b69$var$tunnel.httpOverHttps : $8201e28ab2232b69$var$tunnel.httpOverHttp;\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 = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $a2uk8$https.Agent(options) : new $a2uk8$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) agent = usingSsl ? $a2uk8$https.globalAgent : $a2uk8$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // 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 return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min($8201e28ab2232b69$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $8201e28ab2232b69$var$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())) return a;\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 == $8201e28ab2232b69$var$HttpCodes.NotFound) resolve(response);\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) obj = JSON.parse(contents, $8201e28ab2232b69$var$HttpClient.dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\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) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = \"Failed request: (\" + statusCode + \")\";\n let err = new $8201e28ab2232b69$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n });\n }\n}\nmodule.exports.HttpClient = $8201e28ab2232b69$var$HttpClient;\n\n});\nparcelRegister(\"8NGVX\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nfunction $668434169c1f2140$var$getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === \"https:\";\n let proxyUrl;\n if ($668434169c1f2140$var$checkBypass(reqUrl)) return proxyUrl;\n let proxyVar;\n if (usingSsl) proxyVar = process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else proxyVar = process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n if (proxyVar) proxyUrl = new URL(proxyVar);\n return proxyUrl;\n}\nmodule.exports.getProxyUrl = $668434169c1f2140$var$getProxyUrl;\nfunction $668434169c1f2140$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n let noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n let upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperReqHosts.some((x)=>x === upperNoProxyItem)) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $668434169c1f2140$var$checkBypass;\n\n});\n\n\nparcelRegister(\"9g1b2\", function(module, exports) {\n\"use strict\";\nvar $6bd685641a3c7cd2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $6bd685641a3c7cd2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $6bd685641a3c7cd2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $6bd685641a3c7cd2$var$__createBinding(result, mod, k);\n }\n $6bd685641a3c7cd2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $6bd685641a3c7cd2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $6bd685641a3c7cd2$var$core = $6bd685641a3c7cd2$var$__importStar((parcelRequire(\"k1l4q\")));\n/**\n * Internal class for retries\n */ class $6bd685641a3c7cd2$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $6bd685641a3c7cd2$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $6bd685641a3c7cd2$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $6bd685641a3c7cd2$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $6bd685641a3c7cd2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $6bd685641a3c7cd2$var$RetryHelper;\n\n});\n\n\nparcelRegister(\"clwE1\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $177e7a12eab5381b$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $177e7a12eab5381b$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $177e7a12eab5381b$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $177e7a12eab5381b$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $177e7a12eab5381b$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $177e7a12eab5381b$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $177e7a12eab5381b$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $177e7a12eab5381b$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $177e7a12eab5381b$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $177e7a12eab5381b$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $177e7a12eab5381b$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $177e7a12eab5381b$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $177e7a12eab5381b$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $8y2rb = parcelRequire(\"8y2rb\");\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\nconst $177e7a12eab5381b$export$82633ee808573685 = process.platform === \"win32\";\nconst $177e7a12eab5381b$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $177e7a12eab5381b$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $177e7a12eab5381b$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $177e7a12eab5381b$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $177e7a12eab5381b$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $177e7a12eab5381b$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $a2uk8$path.join(folderPath, sourceName);\n const targetPath = $a2uk8$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($a2uk8$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($a2uk8$fs))).symlinkSync(sourcePath, targetPath);\n if (!$177e7a12eab5381b$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($a2uk8$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $177e7a12eab5381b$export$7880c8f0bb8a6afd(version) {\n return $177e7a12eab5381b$export$ea46fc8abcf9f209(version) || Boolean($51NgG.validRange(version));\n}\nfunction $177e7a12eab5381b$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $177e7a12eab5381b$export$8a23ea91582cecbc(installDir) {\n return $a2uk8$path.basename($a2uk8$path.dirname(installDir));\n}\nfunction $177e7a12eab5381b$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $a2uk8$path.join(installDir, $177e7a12eab5381b$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($a2uk8$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($a2uk8$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $177e7a12eab5381b$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $a2uk8$path.join(installDir, $177e7a12eab5381b$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($a2uk8$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $177e7a12eab5381b$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $177e7a12eab5381b$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $k1l4q.info(`${warningPrefix}${message}`);\n}\nasync function $177e7a12eab5381b$var$getWindowsInfo() {\n const { stdout: stdout } = await $ca0ts.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $177e7a12eab5381b$var$getMacOSInfo() {\n const { stdout: stdout } = await $ca0ts.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $177e7a12eab5381b$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $ca0ts.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $k1l4q.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $177e7a12eab5381b$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($177e7a12eab5381b$export$82633ee808573685) osInfo = await $177e7a12eab5381b$var$getWindowsInfo();\n else if ($177e7a12eab5381b$export$25e95d65b6faeb9a) osInfo = await $177e7a12eab5381b$export$734019fa9b4b8da();\n else if ($177e7a12eab5381b$export$ff23e6b4c4401383) osInfo = await $177e7a12eab5381b$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $k1l4q.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $177e7a12eab5381b$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $177e7a12eab5381b$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $177e7a12eab5381b$export$62b63db2b7d00b3a(versionFile) {\n $k1l4q.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($a2uk8$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $8y2rb.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $177e7a12eab5381b$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $k1l4q.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$51NgG.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $k1l4q.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $177e7a12eab5381b$export$6bdea68547837ebb(versionFile) {\n $k1l4q.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($a2uk8$fs))).readFileSync(versionFile, \"utf8\");\n $k1l4q.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $177e7a12eab5381b$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $177e7a12eab5381b$export$62b63db2b7d00b3a(versionFile);\n else return $177e7a12eab5381b$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRegister(\"8y2rb\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $639363b8d9208f27$export$98e6a39c04603d36, (v) => $639363b8d9208f27$export$98e6a39c04603d36 = v);\nvar $639363b8d9208f27$export$98e6a39c04603d36;\nvar $639363b8d9208f27$export$fac44ee5b035f737;\n\"use strict\";\n\n$639363b8d9208f27$export$98e6a39c04603d36 = (parcelRequire(\"li79u\"));\n\n$639363b8d9208f27$export$fac44ee5b035f737 = (parcelRequire(\"e8UAf\"));\n\n});\nparcelRegister(\"li79u\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"Pq9Hv\"));\n\nmodule.exports.async = (parcelRequire(\"9qHsG\"));\n\nmodule.exports.stream = (parcelRequire(\"aluRl\"));\n\nmodule.exports.prettyError = (parcelRequire(\"buqvX\"));\n\n});\nparcelRegister(\"Pq9Hv\", function(module, exports) {\n\"use strict\";\nmodule.exports = $09a90d7723844b6d$var$parseString;\n\nvar $cpPXN = parcelRequire(\"cpPXN\");\n\nvar $buqvX = parcelRequire(\"buqvX\");\nfunction $09a90d7723844b6d$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $cpPXN();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $buqvX(err, str);\n }\n}\n\n});\nparcelRegister(\"cpPXN\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"7LR6o\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg){\n super(msg);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err)=>{\n const terr = new TomlError(err.message);\n terr.code = err.code;\n terr.wrapped = err;\n return terr;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $D3EKL = parcelRequire(\"D3EKL\");\n\nvar $dAzRT = parcelRequire(\"dAzRT\");\n\nvar $11l48 = parcelRequire(\"11l48\");\n\nvar $2cVXm = parcelRequire(\"2cVXm\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isHexit(cp) {\n return cp >= CHAR_A && cp <= CHAR_F || cp >= CHAR_a && cp <= CHAR_f || cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isBit(cp) {\n return cp === CHAR_1 || cp === CHAR_0;\n}\nfunction isOctit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_APOS || cp === CHAR_QUOT || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj, key) {\n if (hasOwnProperty.call(obj, key)) return true;\n if (key === \"__proto__\") defineProperty(obj, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type\n }\n });\n}\nfunction isInlineList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value);\n } catch (_) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value) {\n let num = Number(value);\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num)) return new BoxedBigInt(value);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value}]`\n }\n });\n}\nfunction isInteger(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value}]`\n }\n });\n}\nfunction isFloat(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === FLOAT;\n}\nfunction tomlType(value) {\n const type = typeof value;\n if (type === \"object\") {\n /* istanbul ignore if */ if (value === null) return \"null\";\n if (value instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value) switch(value[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type;\n}\nfunction makeParserClass(Parser) {\n class TOMLParser extends Parser {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv) {\n let target = this.ctx;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key) {\n if (this.state.resultTable) this.state.resultTable.push(key);\n else this.state.resultTable = [\n key\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) this.ctx[keyword] = List();\n if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword])) {\n const next = Table();\n this.ctx[keyword].push(next);\n this.ctx = next;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value) {\n return this.returnNow(value);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode = \"\\\\u00\";\n if (this.char < 16) displayCode += \"0\";\n displayCode += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`));\n }\n recordMultiEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char) {\n try {\n const codePoint = parseInt(char, 16);\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint));\n } catch (err) {\n throw this.error(TomlError.wrap(err));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($11l48(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($11l48(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($2cVXm(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($2cVXm(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($D3EKL(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($dAzRT(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($D3EKL(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($dAzRT(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($D3EKL(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType];\n const valueType = tomlType(value);\n if (listType !== valueType) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`));\n } else this.state.resultArr = InlineList(tomlType(value));\n if (isFloat(value) || isInteger(value)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf());\n else this.state.resultArr.push(value);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv) {\n let target = this.state.resultTable;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser;\n}\n\n});\nparcelRegister(\"7LR6o\", function(module, exports) {\n\"use strict\";\nconst $5a861d2d146312f7$var$ParserEND = 0x110000;\nclass $5a861d2d146312f7$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $5a861d2d146312f7$var$ParserError);\n }\n}\nclass $5a861d2d146312f7$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $5a861d2d146312f7$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $5a861d2d146312f7$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $5a861d2d146312f7$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $5a861d2d146312f7$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $5a861d2d146312f7$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $5a861d2d146312f7$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $5a861d2d146312f7$var$ParserEND) throw this.error(new $5a861d2d146312f7$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $5a861d2d146312f7$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$5a861d2d146312f7$var$Parser.END = $5a861d2d146312f7$var$ParserEND;\n$5a861d2d146312f7$var$Parser.Error = $5a861d2d146312f7$var$ParserError;\nmodule.exports = $5a861d2d146312f7$var$Parser;\n\n});\n\nparcelRegister(\"D3EKL\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"dAzRT\", function(module, exports) {\n\"use strict\";\n\nvar $k3bxK = parcelRequire(\"k3bxK\");\nclass $9e4a75d23eb11ac8$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$k3bxK(2, this.getUTCMonth() + 1)}-${$k3bxK(2, this.getUTCDate())}`;\n const time = `${$k3bxK(2, this.getUTCHours())}:${$k3bxK(2, this.getUTCMinutes())}:${$k3bxK(2, this.getUTCSeconds())}.${$k3bxK(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $9e4a75d23eb11ac8$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRegister(\"k3bxK\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRegister(\"11l48\", function(module, exports) {\n\"use strict\";\n\nvar $k3bxK = parcelRequire(\"k3bxK\");\nconst $0be6399ff9c2faad$var$DateTime = $parcel$global.Date;\nclass $0be6399ff9c2faad$var$Date extends $0be6399ff9c2faad$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$k3bxK(2, this.getUTCMonth() + 1)}-${$k3bxK(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $0be6399ff9c2faad$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"2cVXm\", function(module, exports) {\n\"use strict\";\n\nvar $k3bxK = parcelRequire(\"k3bxK\");\nclass $19b9a8b3d84b5da5$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$k3bxK(2, this.getUTCHours())}:${$k3bxK(2, this.getUTCMinutes())}:${$k3bxK(2, this.getUTCSeconds())}.${$k3bxK(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $19b9a8b3d84b5da5$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRegister(\"buqvX\", function(module, exports) {\n\"use strict\";\nmodule.exports = $85d7103e6228c2b6$var$prettyError;\nfunction $85d7103e6228c2b6$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRegister(\"9qHsG\", function(module, exports) {\n\"use strict\";\nmodule.exports = $6dd8415d671cb187$var$parseAsync;\n\nvar $cpPXN = parcelRequire(\"cpPXN\");\n\nvar $buqvX = parcelRequire(\"buqvX\");\nfunction $6dd8415d671cb187$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $cpPXN();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($buqvX(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($buqvX(err, str));\n }\n }\n}\n\n});\n\nparcelRegister(\"aluRl\", function(module, exports) {\n\"use strict\";\nmodule.exports = $7883cd99bfe171da$var$parseStream;\n\n\nvar $cpPXN = parcelRequire(\"cpPXN\");\nfunction $7883cd99bfe171da$var$parseStream(stm) {\n if (stm) return $7883cd99bfe171da$var$parseReadable(stm);\n else return $7883cd99bfe171da$var$parseTransform(stm);\n}\nfunction $7883cd99bfe171da$var$parseReadable(stm) {\n const parser = new $cpPXN();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $7883cd99bfe171da$var$parseTransform() {\n const parser = new $cpPXN();\n return new $a2uk8$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRegister(\"e8UAf\", function(module, exports) {\n\"use strict\";\nmodule.exports = $a4bdb46222d9d1fc$var$stringify;\nmodule.exports.value = $a4bdb46222d9d1fc$var$stringifyInline;\nfunction $a4bdb46222d9d1fc$var$stringify(obj) {\n if (obj === null) throw $a4bdb46222d9d1fc$var$typeError(\"null\");\n if (obj === void 0) throw $a4bdb46222d9d1fc$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $a4bdb46222d9d1fc$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $a4bdb46222d9d1fc$var$tomlType(obj);\n if (type !== \"table\") throw $a4bdb46222d9d1fc$var$typeError(type);\n return $a4bdb46222d9d1fc$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $a4bdb46222d9d1fc$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $a4bdb46222d9d1fc$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $a4bdb46222d9d1fc$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$a4bdb46222d9d1fc$var$isInline(obj[key]));\n}\nfunction $a4bdb46222d9d1fc$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$a4bdb46222d9d1fc$var$isInline(obj[key]));\n}\nfunction $a4bdb46222d9d1fc$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyObject(prefix, indent, obj) {\n obj = $a4bdb46222d9d1fc$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $a4bdb46222d9d1fc$var$getInlineKeys(obj);\n complexKeys = $a4bdb46222d9d1fc$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $a4bdb46222d9d1fc$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $a4bdb46222d9d1fc$var$stringifyKey(key) + \" = \" + $a4bdb46222d9d1fc$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($a4bdb46222d9d1fc$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $a4bdb46222d9d1fc$var$isInline(value) {\n switch($a4bdb46222d9d1fc$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $a4bdb46222d9d1fc$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $a4bdb46222d9d1fc$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $a4bdb46222d9d1fc$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $a4bdb46222d9d1fc$var$stringifyBasicString(keyStr);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyBasicString(str) {\n return '\"' + $a4bdb46222d9d1fc$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $a4bdb46222d9d1fc$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $a4bdb46222d9d1fc$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $a4bdb46222d9d1fc$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $a4bdb46222d9d1fc$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $a4bdb46222d9d1fc$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $a4bdb46222d9d1fc$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $a4bdb46222d9d1fc$var$stringifyAnyInline(value, multilineOk) {\n let type = $a4bdb46222d9d1fc$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $a4bdb46222d9d1fc$var$stringifyInline(value, type);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $a4bdb46222d9d1fc$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $a4bdb46222d9d1fc$var$stringifyMultilineString(value);\n case \"string\":\n return $a4bdb46222d9d1fc$var$stringifyBasicString(value);\n case \"string-literal\":\n return $a4bdb46222d9d1fc$var$stringifyLiteralString(value);\n case \"integer\":\n return $a4bdb46222d9d1fc$var$stringifyInteger(value);\n case \"float\":\n return $a4bdb46222d9d1fc$var$stringifyFloat(value);\n case \"boolean\":\n return $a4bdb46222d9d1fc$var$stringifyBoolean(value);\n case \"datetime\":\n return $a4bdb46222d9d1fc$var$stringifyDatetime(value);\n case \"array\":\n return $a4bdb46222d9d1fc$var$stringifyInlineArray(value.filter((_)=>$a4bdb46222d9d1fc$var$tomlType(_) !== \"null\" && $a4bdb46222d9d1fc$var$tomlType(_) !== \"undefined\" && $a4bdb46222d9d1fc$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $a4bdb46222d9d1fc$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $a4bdb46222d9d1fc$var$typeError(type);\n }\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $a4bdb46222d9d1fc$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $a4bdb46222d9d1fc$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $a4bdb46222d9d1fc$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $a4bdb46222d9d1fc$var$arrayType(values) {\n var contentType = $a4bdb46222d9d1fc$var$tomlType(values[0]);\n if (values.every((_)=>$a4bdb46222d9d1fc$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$a4bdb46222d9d1fc$var$isNumber($a4bdb46222d9d1fc$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $a4bdb46222d9d1fc$var$validateArray(values) {\n const type = $a4bdb46222d9d1fc$var$arrayType(values);\n if (type === \"mixed\") throw $a4bdb46222d9d1fc$var$arrayOneTypeError();\n return type;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInlineArray(values) {\n values = $a4bdb46222d9d1fc$var$toJSON(values);\n const type = $a4bdb46222d9d1fc$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$a4bdb46222d9d1fc$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInlineTable(value) {\n value = $a4bdb46222d9d1fc$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($a4bdb46222d9d1fc$var$stringifyKey(key) + \" = \" + $a4bdb46222d9d1fc$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $a4bdb46222d9d1fc$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $a4bdb46222d9d1fc$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $a4bdb46222d9d1fc$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $a4bdb46222d9d1fc$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $a4bdb46222d9d1fc$var$typeError(valueType);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $a4bdb46222d9d1fc$var$toJSON(values);\n $a4bdb46222d9d1fc$var$validateArray(values);\n var firstValueType = $a4bdb46222d9d1fc$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $a4bdb46222d9d1fc$var$typeError(firstValueType);\n var fullKey = prefix + $a4bdb46222d9d1fc$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $a4bdb46222d9d1fc$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $a4bdb46222d9d1fc$var$stringifyKey(key);\n var result = \"\";\n if ($a4bdb46222d9d1fc$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $a4bdb46222d9d1fc$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\n\n\nparcelRegister(\"2mbyd\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $d1e35cdd7078114c$export$c90655100676e173);\n\n\n\nvar $clwE1 = parcelRequire(\"clwE1\");\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $adAKt = parcelRequire(\"adAKt\");\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\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 separate 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\nfunction $d1e35cdd7078114c$var$binDir(installDir) {\n if (0, $clwE1.IS_WINDOWS) return $a2uk8$path.join(installDir, \"Scripts\");\n else return $a2uk8$path.join(installDir, \"bin\");\n}\nasync function $d1e35cdd7078114c$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $d1e35cdd7078114c$var$desugarDevVersion(version);\n let semanticVersionSpec = $d1e35cdd7078114c$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $k1l4q.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n var _this;\n manifest = await $adAKt.getManifest();\n const resolvedVersion = (_this = await $adAKt.findReleaseFromManifest(semanticVersionSpec, architecture, manifest)) === null || _this === void 0 ? void 0 : _this.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $k1l4q.info(`Resolved as '${semanticVersionSpec}'`);\n } else $k1l4q.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $1GQ3N.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $k1l4q.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $adAKt.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $k1l4q.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $adAKt.installCpythonFromRelease(foundRelease);\n installDir = $1GQ3N.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $clwE1.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$adAKt.MANIFEST_URL}`\n ].join($a2uk8$os.EOL));\n }\n const _binDir = $d1e35cdd7078114c$var$binDir(installDir);\n const binaryExtension = (0, $clwE1.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $a2uk8$path.join((0, $clwE1.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $k1l4q.exportVariable(\"pythonLocation\", installDir);\n $k1l4q.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $k1l4q.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $k1l4q.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $k1l4q.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $k1l4q.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $k1l4q.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $clwE1.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $a2uk8$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $k1l4q.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $k1l4q.addPath(installDir);\n $k1l4q.addPath(_binDir);\n if (0, $clwE1.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 = $a2uk8$path.basename($a2uk8$path.dirname(installDir));\n const major = $51NgG.major(version);\n const minor = $51NgG.minor(version);\n const userScriptsDir = $a2uk8$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $k1l4q.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 = $d1e35cdd7078114c$var$versionFromPath(installDir);\n $k1l4q.setOutput(\"python-version\", installed);\n $k1l4q.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $d1e35cdd7078114c$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $d1e35cdd7078114c$var$versionFromPath(installDir) {\n const parts = installDir.split($a2uk8$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $d1e35cdd7078114c$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRegister(\"adAKt\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $8d20fe93d0f9de85$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $8d20fe93d0f9de85$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $8d20fe93d0f9de85$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $8d20fe93d0f9de85$export$e1ffa7cd53152881);\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $clwE1 = parcelRequire(\"clwE1\");\nconst $8d20fe93d0f9de85$var$TOKEN = $k1l4q.getInput(\"token\");\nconst $8d20fe93d0f9de85$var$AUTH = !$8d20fe93d0f9de85$var$TOKEN ? undefined : `token ${$8d20fe93d0f9de85$var$TOKEN}`;\nconst $8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $8d20fe93d0f9de85$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $8d20fe93d0f9de85$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER}/${$8d20fe93d0f9de85$var$MANIFEST_REPO_NAME}/${$8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $8d20fe93d0f9de85$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $8d20fe93d0f9de85$export$39e873de56f329d8();\n const foundRelease = await $1GQ3N.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $8d20fe93d0f9de85$export$39e873de56f329d8() {\n $k1l4q.debug(`Getting manifest from ${$8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER}/${$8d20fe93d0f9de85$var$MANIFEST_REPO_NAME}@${$8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH}`);\n return $1GQ3N.getManifestFromRepo($8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER, $8d20fe93d0f9de85$var$MANIFEST_REPO_NAME, $8d20fe93d0f9de85$var$AUTH, $8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH);\n}\nasync function $8d20fe93d0f9de85$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $clwE1.IS_LINUX) && {\n LD_LIBRARY_PATH: $a2uk8$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $k1l4q.info(data.toString().trim());\n },\n stderr: (data)=>{\n $k1l4q.error(data.toString().trim());\n }\n }\n };\n if (0, $clwE1.IS_WINDOWS) await $ca0ts.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $ca0ts.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $8d20fe93d0f9de85$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $k1l4q.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $1GQ3N.downloadTool(downloadUrl, undefined, $8d20fe93d0f9de85$var$AUTH);\n $k1l4q.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $clwE1.IS_WINDOWS) pythonExtractedFolder = await $1GQ3N.extractZip(pythonPath);\n else pythonExtractedFolder = await $1GQ3N.extractTar(pythonPath);\n $k1l4q.info(\"Execute installation script\");\n await $8d20fe93d0f9de85$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $1GQ3N.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $k1l4q.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $k1l4q.info(err.message);\n if (err.stack) $k1l4q.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.0b2a8a9a.js.map\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { debug } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy.js\"\nimport { useCpythonVersion } from \"setup-python/src/find-python.js\"\nimport { IS_MAC } from \"setup-python/src/utils.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\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 updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\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 (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\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' or '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 os from 'os';\nimport * 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_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 allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\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 const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\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 } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async 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 pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const 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 createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${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 includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\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(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\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, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\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\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n",null,null,null,null,"\"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",null,null,"/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\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 const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\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\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} 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 separate 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\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\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 manifest\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 const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\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 core.addPath(installDir);\n core.addPath(_binDir);\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\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\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 *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\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 ? 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 manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\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 let pythonPath = '';\n try {\n 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 } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n"],"mappings":"woBCaA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAU,CAAC,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EAK1D,IAAAC,CAJzB,CAAAC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAAG,+BADrC,EAIA,GAAM,CAAAC,CAAA,KAAuD,IAAhCN,CAAA,CAAAG,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAApB,EAAZ,SA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B,GAAvBlF,CAAA,CAAImF,cAAc,EAAY,GAAuB,GAAvBnF,CAAA,CAAImF,cAAc,CAClDrE,CAAA,CAAAQ,IAAA,CACE,6BAA6BtB,CAAA,CAAImF,cAAc,4DAA4D,EAG7GrE,CAAA,CAAAQ,IAAA,CAAUtB,CAAA,CAAIoF,OAAO,EAEnBpF,CAAA,CAAIqF,KAAK,EACXvE,CAAA,CAAAC,KAAA,CAAWf,CAAA,CAAIqF,KAAK,GAGlBrF,CACR,EACF,C,uTAhGA,GAAM,CAAAW,CAAA,CAAQG,CAAA,CAAA+nB,QAAA,CAAc,SACtB9oB,CAAA,CAAOY,CAAC,CAAoB,SAASA,CAAA,CAArB,OAChBT,CAAA,CAAsB,UACtB2B,CAAA,CAAqB,kBACrBE,CAAA,CAAuB,OAChBb,CAAA,CAAe,qCAAqChB,CAAA,IAAuB2B,CAAA,IAAsBE,CAAA,yBAA6C,E","ignoreList":[]} \ No newline at end of file diff --git a/dist/legacy/actions_python.895b8a50.js b/dist/legacy/actions_python.895b8a50.js deleted file mode 100644 index d24caa44..00000000 --- a/dist/legacy/actions_python.895b8a50.js +++ /dev/null @@ -1,3 +0,0 @@ -function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $a2uk8$path=require("path"),$a2uk8$os=require("os"),$a2uk8$fs=require("fs"),$a2uk8$stream=require("stream"),$a2uk8$util=require("util"),$a2uk8$assert=require("assert"),$a2uk8$child_process=require("child_process"),$a2uk8$http=require("http"),$a2uk8$https=require("https"),$parcel$global=globalThis,parcelRequire=$parcel$global.parcelRequire810d,parcelRegister=parcelRequire.register;parcelRegister("apy8x",function(e,t){var r,i,s,n,o,a,h,l,c;function u(e){return e.startsWith("pypy");}async function p(e,t,a){var h;l.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let c=null===(h=process.env.AGENT_TOOLSDIRECTORY)||void 0===h?void 0:h.trim();if("string"==typeof c&&""!==c&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,s.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let i=await(0,r.findPyPyVersion)(e,a,!0,d,!1);t=`${i.resolvedPyPyVersion}-${i.resolvedPythonVersion}`,(0,o.info)(`Successfully set up PyPy ${i.resolvedPyPyVersion} with Python (${i.resolvedPythonVersion})`);}else{let r=await(0,i.useCpythonVersion)(e,a,!0,d,!1);t=r.version,(0,o.info)(`Successfully set up ${r.impl} (${t})`);}}n.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,h.join)(c,"python_matcher.json");if(!(await(0,a.pathExists)(e)))return(0,o.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,o.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("957JZ"),i=parcelRequire("2mbyd"),s=parcelRequire("k1l4q"),n=parcelRequire("dKklS"),o=parcelRequire("pcnv8"),a=parcelRequire("ibhuk"),h=parcelRequire("drEX5"),l=parcelRequire("clwE1"),c=$a2uk8$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRegister("957JZ",function(e,t){var r,i,s,n,o;async function a(e,t,s,o,a){let c,u,p="",f="",d=l(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(n.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):n.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),c||({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let y=i.IS_WINDOWS?"Scripts":"bin",m=$a2uk8$path.join(c,y),x=i.IS_WINDOWS?".exe":"",g=$a2uk8$path.join(i.IS_WINDOWS?c:m,"python"+x),w=r.getPyPyBinaryPath(c);return s&&(n.exportVariable("pythonLocation",c),n.exportVariable("Python_ROOT_DIR",c),n.exportVariable("Python2_ROOT_DIR",c),n.exportVariable("Python3_ROOT_DIR",c),n.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),n.addPath(w),n.addPath(m)),n.setOutput("python-version","pypy"+p),n.setOutput("python-path",g),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",l=i.IS_WINDOWS?c(e):o.find("PyPy",e,r);return l&&(h=(0,i.getPyPyVersionFromPath)(l),a=(0,i.readExactPyPyVersionFile)(l),s.satisfies(a,t)||(l=null,a="",h="")),l||n.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:l,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function l(e){let t;let s=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(s[0])){let e=s[0].replace("pypy","");s.splice(0,1,"pypy",e);}if(s.length<2||"pypy"!=s[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let n=s[1];if(t=s.length>2?r.pypyVersionToSemantic(s[2]):"x",!(0,i.validateVersion)(n)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(n))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:t,pythonVersion:n};}function c(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("jsAqG"),i=parcelRequire("clwE1"),s=parcelRequire("51NgG"),n=parcelRequire("k1l4q"),o=parcelRequire("1GQ3N");}),parcelRegister("jsAqG",function(e,t){var r,i,s,n,o,a;async function h(e,t,s,n,o){let h;if(!(o=null!=o?o:await l())||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,s,!1);if(!n||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${s} not found`,"Trying pre-release versions"].join($a2uk8$os.EOL)),d=p(o,t,e,s,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${s} not found`);let{foundAsset:y,resolvedPythonVersion:m,resolvedPyPyVersion:x}=d,g=""+y.download_url;r.info(`Downloading PyPy from "${g}" ...`);try{let e=await i.downloadTool(g);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($a2uk8$fs).readdirSync(h)[0],n=$a2uk8$path.join(h,t),o=n;(0,a.isNightlyKeyword)(x)||(o=await i.cacheDir(n,"PyPy",m,s)),(0,a.writeExactPyPyVersionFile)(o,x);let l=f(o);return await c(l,m),await u(l),{installDir:o,resolvedPythonVersion:m,resolvedPyPyVersion:x};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function l(){let e="https://downloads.python.org/pypy/versions.json",t=new n.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;}async function c(e,t){let i=s.coerce(t),n=s.major(i),o=s.minor(i),h=2===n?"":"3",l=`${n}.${o}`,c=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`python${n}${c}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,"python"+c,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`pypy${l}${c}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$a2uk8$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,n){let o={includePrerelease:n},h=e.filter(e=>{let n=s.satisfies(s.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version)||s.satisfies(d(e.pypy_version),r,o),l=e.files&&(a.IS_WINDOWS?y(e,i):m(e,i,process.platform));return n&&h&&l;});if(0===h.length)return null;let l=h.sort((e,t)=>s.compare(s.coerce(d(t.pypy_version)),s.coerce(d(e.pypy_version)))||s.compare(s.coerce(t.python_version),s.coerce(e.python_version)))[0];return{foundAsset:a.IS_WINDOWS?x(l,i):g(l,i,process.platform),resolvedPythonVersion:l.python_version,resolvedPyPyVersion:l.pypy_version.trim()};}function f(e){let t=$a2uk8$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function y(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function m(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function x(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function g(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>l),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("k1l4q"),i=parcelRequire("1GQ3N"),s=parcelRequire("51NgG"),n=parcelRequire("ba1Cu"),o=parcelRequire("ca0ts"),a=parcelRequire("clwE1");}),parcelRegister("1GQ3N",function(e,t){function r(e,t,r,s){return E(this,void 0,void 0,function*(){t=t||L.join(S(),H.default()),yield D.mkdirP(L.dirname(t)),$.debug("Downloading "+e),$.debug("Destination "+t);let n=3,o=O("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=O("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new R.RetryHelper(n,o,a);return yield h.execute(()=>E(this,void 0,void 0,function*(){return yield i(e,t||"",r,s);}),e=>!(e instanceof W)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return E(this,void 0,void 0,function*(){if(M.existsSync(t))throw Error(`Destination file path ${t} already exists`);let s=new j.HttpClient(K,[],{allowRetries:!1});r&&($.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let n=yield s.get(e,i);if(200!==n.message.statusCode){let t=new W(n.message.statusCode);throw $.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t;}let o=q.promisify(F.pipeline),a=O("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>n.message)(),h=!1;try{return yield o(a,M.createWriteStream(t)),$.debug("download complete"),h=!0,t;}finally{if(!h){$.debug("download failed");try{yield D.rmRF(t);}catch(e){$.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function s(e,t,r){return E(this,void 0,void 0,function*(){$a2uk8$assert.ok(B,"extract7z() not supported on current OS"),$a2uk8$assert.ok(e,'parameter "file" is required'),t=yield m(t);let i=process.cwd();if(process.chdir(t),r)try{let t=$.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],s={silent:!0};yield A.exec(`"${r}"`,i,s);}finally{process.chdir(i);}else{let r=L.join(C,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${r}' -Source '${s}' -Target '${n}'`],a={silent:!0};try{let e=yield D.which("powershell",!0);yield A.exec(`"${e}"`,o,a);}finally{process.chdir(i);}}return t;});}function n(e,t,r="xz"){return E(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield m(t),$.debug("Checking tar --version");let s="";yield A.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>s+=e.toString(),stderr:e=>s+=e.toString()}}),$.debug(s.trim());let n=s.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],$.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return B&&n&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield A.exec("tar",i),t;});}function o(e,t,r=[]){return E(this,void 0,void 0,function*(){let i;$a2uk8$assert.ok(G,"extractXar() not supported on current OS"),$a2uk8$assert.ok(e,'parameter "file" is required'),t=yield m(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),$.isDebug()&&i.push("-v");let s=yield D.which("xar",!0);return yield A.exec(`"${s}"`,_(i)),t;});}function a(e,t){return E(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield m(t),B?yield h(e,t):yield l(e,t),t;});}function h(e,t){return E(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield D.which("pwsh",!1);if(s){let e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force } else { throw $_ } } ;`];$.debug("Using pwsh at path: "+s),yield A.exec(`"${s}"`,e);}else{let e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`],t=yield D.which("powershell",!0);$.debug("Using powershell at path: "+t),yield A.exec(`"${t}"`,e);}});}function l(e,t){return E(this,void 0,void 0,function*(){let r=yield D.which("unzip",!0),i=[e];$.isDebug()||i.unshift("-q"),i.unshift("-o"),yield A.exec(`"${r}"`,i,{cwd:t});});}function c(e,t,r,i){return E(this,void 0,void 0,function*(){if(r=V.clean(r)||r,i=i||k.arch(),$.debug(`Caching tool ${t} ${r} ${i}`),$.debug("source dir: "+e),!M.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let s=yield x(t,r,i);for(let t of M.readdirSync(e)){let r=L.join(e,t);yield D.cp(r,s,{recursive:!0});}return g(t,r,i),s;});}function u(e,t,r,i,s){return E(this,void 0,void 0,function*(){if(i=V.clean(i)||i,s=s||k.arch(),$.debug(`Caching tool ${r} ${i} ${s}`),$.debug("source file: "+e),!M.statSync(e).isFile())throw Error("sourceFile is not a file");let n=yield x(r,i,s),o=L.join(n,t);return $.debug("destination file "+o),yield D.cp(e,o),g(r,i,s),n;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||k.arch(),w(t)||(t=b(f(e,r),t));let i="";if(t){t=V.clean(t)||"";let s=L.join(v(),e,t,r);$.debug("checking cache: "+s),M.existsSync(s)&&M.existsSync(`${s}.complete`)?($.debug(`Found tool in cache ${e} ${t} ${r}`),i=s):$.debug("not found");}return i;}function f(e,t){let r=[];t=t||k.arch();let i=L.join(v(),e);if(M.existsSync(i)){for(let e of M.readdirSync(i))if(w(e)){let s=L.join(i,e,t||"");M.existsSync(s)&&M.existsSync(`${s}.complete`)&&r.push(e);}}return r;}function d(e,t,r,i="master"){return E(this,void 0,void 0,function*(){let s=[],n=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new j.HttpClient("tool-cache"),a={};r&&($.debug("set auth"),a.authorization=r);let h=yield o.getJson(n,a);if(!h.result)return s;let l="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){l=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield o.get(l,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{s=JSON.parse(c);}catch(e){$.debug("Invalid json");}}return s;});}function y(e,t,r,i=k.arch()){return E(this,void 0,void 0,function*(){return yield U._findMatch(e,t,r,i);});}function m(e){return E(this,void 0,void 0,function*(){return e||(e=L.join(S(),H.default())),yield D.mkdirP(e),e;});}function x(e,t,r){return E(this,void 0,void 0,function*(){let i=L.join(v(),e,V.clean(t)||t,r||"");$.debug("destination "+i);let s=`${i}.complete`;return yield D.rmRF(i),yield D.rmRF(s),yield D.mkdirP(i),i;});}function g(e,t,r){let i=L.join(v(),e,V.clean(t)||t,r||""),s=`${i}.complete`;M.writeFileSync(s,""),$.debug("finished caching tool");}function w(e){let t=V.clean(e)||"";$.debug("isExplicit: "+t);let r=null!=V.valid(t);return $.debug("explicit? "+r),r;}function b(e,t){let r="";$.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>V.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let s=e[i];if(V.satisfies(s,t)){r=s;break;}}return r?$.debug("matched: "+r):$.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $a2uk8$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function S(){let e=process.env.RUNNER_TEMP||"";return $a2uk8$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function O(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function _(e){return Array.from(new Set(e));}var N,P,T,E,I,A,R,C=$a2uk8$path.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),P=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),T=e.exports&&e.exports.__importStar||function(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 P(t,e),t;},E=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},I=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let $=T(parcelRequire("k1l4q")),D=T(parcelRequire("g9WSN")),M=T($a2uk8$fs),U=T(parcelRequire("2YXUl")),k=T($a2uk8$os),L=T($a2uk8$path),j=T(parcelRequire("ba1Cu")),V=T(parcelRequire("a5mzA")),F=T($a2uk8$stream),q=T($a2uk8$util),H=I(parcelRequire("iFKS7"));A=parcelRequire("ca0ts"),R=parcelRequire("9g1b2");class W extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=W;let B="win32"===process.platform,G="darwin"===process.platform,K="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=s,e.exports.extractTar=n,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=c,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=y,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=b;}),parcelRegister("2YXUl",function(e,t){var r,i,s,n,o;function a(t,r,i,s){return n(this,void 0,void 0,function*(){let n,a,h;let l=$a2uk8$os.platform();for(let n of i){let i=n.version;if(o.debug(`check ${i} satisfies ${t}`),c.satisfies(i,t)&&(!r||n.stable===r)&&(h=n.files.find(t=>{o.debug(`${t.arch}===${s} && ${t.platform}===${l}`);let r=t.arch===s&&t.platform===l;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||c.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+n.version),a=n;break;}}return a&&h&&((n=Object.assign({},a)).files=[h]),n;});}function h(){let t=$a2uk8$os.platform(),r="";if("darwin"===t)r=$a2uk8$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;}function l(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $a2uk8$fs.existsSync(e)?r=$a2uk8$fs.readFileSync(e).toString():$a2uk8$fs.existsSync(t)&&(r=$a2uk8$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let c=s(parcelRequire("a5mzA"));o=parcelRequire("k1l4q"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=l;}),parcelRegister("ba1Cu",function(e,t){var r,i,s,n;let o;function a(e){let t=r.getProxyUrl(new URL(e));return t?t.href:"";}function h(e){return"https:"===new URL(e).protocol;}Object.defineProperty(e.exports,"__esModule",{value:!0}),r=parcelRequire("8NGVX"),function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout";}(i=e.exports.HttpCodes||(e.exports.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type";}(s=e.exports.Headers||(e.exports.Headers={})),function(e){e.ApplicationJson="application/json";}(n=e.exports.MediaTypes||(e.exports.MediaTypes={})),e.exports.getProxyUrl=a;let l=[i.MovedPermanently,i.ResourceMoved,i.SeeOther,i.TemporaryRedirect,i.PermanentRedirect],c=[i.BadGateway,i.ServiceUnavailable,i.GatewayTimeout],u=["OPTIONS","GET","DELETE","HEAD"],p=10,f=5;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 y{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.toString());});});}}e.exports.HttpClientResponse=y,e.exports.isHttps=h;class m{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,i){return this.request(e,t,r,i);}async getJson(e,t={}){t[s.Accept]=this._getExistingOrDefaultHeader(t,s.Accept,n.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions);}async postJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.post(e,i,r);return this._processResponse(o,this.requestOptions);}async putJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.put(e,i,r);return this._processResponse(o,this.requestOptions);}async patchJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.patch(e,i,r);return this._processResponse(o,this.requestOptions);}async request(e,t,r,s){let n;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,s),h=this._allowRetries&&-1!=u.indexOf(e)?this._maxRetries+1:1,p=0;for(;p0;){let i=n.message.headers.location;if(!i)break;let h=new URL(i);if("https:"==o.protocol&&o.protocol!=h.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(await n.readBody(),h.hostname!==o.hostname)for(let e in s)"authorization"===e.toLowerCase()&&delete s[e];a=this._prepareRequest(e,h,s),n=await this.requestRaw(a,r),t--;}if(-1==c.indexOf(n.message.statusCode))break;(p+=1){let s=function(e,t){e&&i(e),r(t);};this.requestRawWithCallback(e,t,s);});}requestRawWithCallback(e,t,r){let i;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t));},o=e.httpModule.request(e.options,e=>{n(null,new y(e));});o.on("socket",e=>{i=e;}),o.setTimeout(this._socketTimeout||18e4,()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path),null);}),o.on("error",function(e){n(e,null);}),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){o.end();}),t.pipe(o)):o.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let i={};i.parsedUrl=t;let s="https:"===i.parsedUrl.protocol;i.httpModule=s?$a2uk8$https:$a2uk8$http;let n=s?443:80;return i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):n,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers&&this.handlers.forEach(e=>{e.prepareRequest(i.options);}),i;}_mergeHeaders(e){let 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 i;let s=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers&&(i=s(this.requestOptions.headers)[t]),e[t]||i||r;}_getAgent(e){let t;let i=r.getProxyUrl(e),s=i&&i.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;let n="https:"===e.protocol,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||$a2uk8$http.globalAgent.maxSockets),s){let e;o||(o=parcelRequire("bbp3j"));let r={maxSockets:a,keepAlive:this._keepAlive,proxy:{...((i.username||i.password)&&{proxyAuth:`${i.username}:${i.password}`}),host:i.hostname,port:i.port}},s="https:"===i.protocol;t=(e=n?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp)(r),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=n?new $a2uk8$https.Agent(e):new $a2uk8$http.Agent(e),this._agent=t;}return t||(t=n?$a2uk8$https.globalAgent:$a2uk8$http.globalAgent),n&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){let t=f*Math.pow(2,e=Math.min(p,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,s)=>{let n,o;let a=e.message.statusCode,h={statusCode:a,result:null,headers:{}};a==i.NotFound&&r(h);try{(o=await e.readBody())&&o.length>0&&(n=t&&t.deserializeDates?JSON.parse(o,m.dateTimeDeserializer):JSON.parse(o),h.result=n),h.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new d(e=n&&n.message?n.message:o&&o.length>0?o:"Failed request: ("+a+")",a);t.result=h.result,s(t);}else r(h);});}}e.exports.HttpClient=m;}),parcelRegister("8NGVX",function(e,t){function r(e){let t,r,s="https:"===e.protocol;return i(e)||(r=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)&&(t=new URL(r)),t;}function i(e){let t;if(!e.hostname)return!1;let 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 i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if(i.some(t=>t===e))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=r,e.exports.checkBypass=i;}),parcelRegister("9g1b2",function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.RetryHelper=void 0;let o=s(parcelRequire("k1l4q"));class a{constructor(e,t,r){if(e<1)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 n(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRegister("clwE1",function(e,t){var r,i,s;function n(e,t,r,i=!1){let s=$a2uk8$path.join(e,t),o=$a2uk8$path.join(e,r);$parcel$interopDefault($a2uk8$fs).existsSync(o)||($parcel$interopDefault($a2uk8$fs).symlinkSync(s,o),!m&&i&&$parcel$interopDefault($a2uk8$fs).chmodSync(o,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $a2uk8$path.basename($a2uk8$path.dirname(e));}function l(e){let t="",r=$a2uk8$path.join(e,v);return $parcel$interopDefault($a2uk8$fs).existsSync(r)&&(t=$parcel$interopDefault($a2uk8$fs).readFileSync(r).toString().trim()),t;}function c(e,t){let r=$a2uk8$path.join(e,v);$parcel$interopDefault($a2uk8$fs).writeFileSync(r,t);}function u(e){return /^\d+\.\d+$/.test(e);}async function p(){let{stdout:e}=await s.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{osName:"Windows",osVersion:e.trim().split(" ")[3]};}async function f(){let{stdout:e}=await s.getExecOutput("sw_vers",["-productVersion"],{silent:!0});return{osName:"macOS",osVersion:e.trim()};}async function d(){let{stdout:e}=await s.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function y(){let e;try{m?e=await p():x?e=await d():g&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>m),$parcel$export(e.exports,"IS_LINUX",()=>x),$parcel$export(e.exports,"IS_MAC",()=>g),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>b),$parcel$export(e.exports,"createSymlinkInFolder",()=>n),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>y),r=parcelRequire("k1l4q"),i=parcelRequire("51NgG"),parcelRequire("8y2rb"),s=parcelRequire("ca0ts");let m="win32"===process.platform,x="linux"===process.platform,g="darwin"===process.platform,w=["x86","x64"],b=["win32","win64"],v="PYPY_VERSION";}),parcelRegister("8y2rb",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("li79u"),parcelRequire("e8UAf");}),parcelRegister("li79u",function(e,t){e.exports=parcelRequire("Pq9Hv"),e.exports.async=parcelRequire("9qHsG"),e.exports.stream=parcelRequire("aluRl"),e.exports.prettyError=parcelRequire("buqvX");}),parcelRegister("Pq9Hv",function(e,t){var r,i;function s(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=s,r=parcelRequire("cpPXN"),i=parcelRequire("buqvX");}),parcelRegister("cpPXN",function(module,exports){var $D3EKL,$dAzRT,$11l48,$2cVXm;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($11l48(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($11l48(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($2cVXm(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($2cVXm(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($D3EKL(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($dAzRT(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($D3EKL(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($dAzRT(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($D3EKL(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("7LR6o")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$D3EKL=parcelRequire("D3EKL"),$dAzRT=parcelRequire("dAzRT"),$11l48=parcelRequire("11l48"),$2cVXm=parcelRequire("2cVXm");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRegister("7LR6o",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class s{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class n{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new s(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("dAzRT",function(e,t){var r=parcelRequire("k3bxK");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("k3bxK",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new s(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("2cVXm",function(e,t){var r=parcelRequire("k3bxK");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("buqvX",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: -`,t&&t.split){let i=t.split(/\n/),s=(Math.min(i.length,e.line+3)+"").length,n=" ";for(;n.length "+i[t]+"\n"+n+" ";for(let t=0;t=e.length)try{return n(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(s,t+r,r,n,o);}catch(t){o(i(t,e));}}t||(t={});let n=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(s,n,o,e,t);});}e.exports=s,r=parcelRequire("cpPXN"),i=parcelRequire("buqvX");}),parcelRegister("aluRl",function(e,t){var r;function i(e){return e?s(e):n(e);}function s(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let s;function n(){if(h=!0,!s)try{r(t.finish());}catch(e){i(e);}}function o(e){l=!0,i(e);}function a(){let r;for(s=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(s=!1,h)return n();l||e.once("readable",a);}let h=!1,l=!1;e.once("end",n),e.once("error",o),a();});}function n(){let e=new r();return new $a2uk8$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("cpPXN");}),parcelRegister("e8UAf",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=c(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function s(){return Error("Array values can't have mixed types");}function n(e){return Object.keys(e).filter(t=>l(e[t]));}function o(e){return Object.keys(e).filter(t=>!l(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=n(r=a(r)),s=o(r);var i,s,h=[],l=t||"";i.forEach(e=>{var t=c(r[e]);"undefined"!==t&&"null"!==t&&h.push(l+u(e)+" = "+x(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return s.forEach(t=>{h.push(E(e,p,t,r[t]));}),h.join("\n");}function l(e){switch(c(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==c(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function c(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+y(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function m(e){let t=e.split(/\n/).map(e=>y(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function x(e,t){let r=c(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),g(e,r);}function g(e,t){switch(t||(t=c(e)),t){case"string-multiline":return m(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return b(e);case"boolean":return v(e);case"datetime":return S(e);case"array":return P(e.filter(e=>"null"!==c(e)&&"undefined"!==c(e)&&"nan"!==c(e)));case"table":return T(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function b(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function S(e){return e.toISOString();}function O(e){return"float"===e||"integer"===e;}function _(e){var t=c(e[0]);return e.every(e=>c(e)===t)?t:e.every(e=>O(c(e)))?"float":"mixed";}function N(e){let t=_(e);if("mixed"===t)throw s();return t;}function P(e){let t=N(e=a(e));var r="[",i=e.map(e=>g(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function T(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+x(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function E(e,t,r,s){var n=c(s);if("array"===n)return I(e,t,r,s);if("table"===n)return A(e,t,r,s);throw i(n);}function I(e,t,r,s){N(s=a(s));var n=c(s[0]);if("table"!==n)throw i(n);var o=e+u(r),l="";return s.forEach(e=>{l.length>0&&(l+="\n"),l+=t+"[["+o+"]]\n"+h(o+".",t,e);}),l;}function A(e,t,r,i){var s=e+u(r),o="";return n(i).length>0&&(o+=t+"["+s+"]\n"),o+h(s+".",t,i);}e.exports=r,e.exports.value=g;}),parcelRegister("2mbyd",function(e,t){var r,i,s,n,o;function a(e){return r.IS_WINDOWS?$a2uk8$path.join(e,"Scripts"):$a2uk8$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,y=u(l(e),f);if(n.debug(`Semantic version spec of ${e} is ${y}`),p){var m;d=await s.getManifest();let e=null===(m=await s.findReleaseFromManifest(y,t,d))||void 0===m?void 0:m.version;e?(y=e,n.info(`Resolved as '${y}'`)):n.info(`Failed to resolve version ${y} from manifest`);}let x=o.find("Python",y,t);if(!x){n.info(`Version ${y} was not found in the local cache`);let e=await s.findReleaseFromManifest(y,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${y} is available for downloading`),await s.installCpythonFromRelease(e),x=o.find("Python",y,t));}if(!x){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+s.MANIFEST_URL].join($a2uk8$os.EOL));}let g=a(x),w=r.IS_WINDOWS?".exe":"",b=$a2uk8$path.join(r.IS_WINDOWS?x:g,"python"+w);if(h){if(n.exportVariable("pythonLocation",x),n.exportVariable("PKG_CONFIG_PATH",x+"/lib/pkgconfig"),n.exportVariable("pythonLocation",x),n.exportVariable("Python_ROOT_DIR",x),n.exportVariable("Python2_ROOT_DIR",x),n.exportVariable("Python3_ROOT_DIR",x),n.exportVariable("PKG_CONFIG_PATH",x+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$a2uk8$path.join(x,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(x),n.addPath(g),r.IS_WINDOWS){let e=$a2uk8$path.basename($a2uk8$path.dirname(x)),t=i.major(e),r=i.minor(e),s=$a2uk8$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}let v=c(x);return n.setOutput("python-version",v),n.setOutput("python-path",b),{impl:"CPython",version:v};}function l(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function c(e){let t=e.split($a2uk8$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,s=e.replace(r,"$1-$2");return t&&(s=s.replace(i,"~$1.$2.0-0")),s;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("clwE1"),i=parcelRequire("51NgG"),s=parcelRequire("adAKt"),n=parcelRequire("k1l4q"),o=parcelRequire("1GQ3N");}),parcelRegister("adAKt",function(e,t){var r,i,s,n;async function o(e,t,r){return r||(r=await a()),await i.findFromManifest(e,!1,r,t);}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(n.IS_LINUX&&{LD_LIBRARY_PATH:$a2uk8$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};n.IS_WINDOWS?await s.exec("powershell",["./setup.ps1"],t):await s.exec("bash",["./setup.sh"],t);}async function l(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let s="";try{let e;s=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=n.IS_WINDOWS?await i.extractZip(s):await i.extractTar(s),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>y),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>l),r=parcelRequire("k1l4q"),i=parcelRequire("1GQ3N"),s=parcelRequire("ca0ts"),n=parcelRequire("clwE1");let c=r.getInput("token"),u=c?"token "+c:void 0,p="actions",f="python-versions",d="main",y=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}); -//# sourceMappingURL=actions_python.895b8a50.js.map \ No newline at end of file diff --git a/dist/legacy/actions_python.895b8a50.js.map b/dist/legacy/actions_python.895b8a50.js.map deleted file mode 100644 index cad5f39e..00000000 --- a/dist/legacy/actions_python.895b8a50.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"actions_python.895b8a50.js","names":["u","e","startsWith","p","t","a","h","l","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","c","trim","RUNNER_TOOL_CACHE","s","debug","i","r","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","o","info","useCpythonVersion","version","impl","n","GITHUB_ACTIONS","f","join","pathExists","warning","getAvailablePyPyVersions","length","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","y","IS_WINDOWS","m","$a2uk8$path","x","g","w","getPyPyBinaryPath","exportVariable","addPath","setOutput","find","getPyPyVersionFromPath","readExactPyPyVersionFile","satisfies","split","filter","test","replace","splice","Error","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","forEach","foundAsset","$a2uk8$os","EOL","download_url","downloadTool","extractZip","extractTar","$parcel$interopDefault","$a2uk8$fs","readdirSync","isNightlyKeyword","cacheDir","writeExactPyPyVersionFile","HTTPError","httpStatusCode","message","stack","HttpClient","getJson","result","coerce","major","minor","createSymlinkInFolder","exec","includePrerelease","python_version","pypy_version","files","platform","sort","compare","some","WINDOWS_PLATFORMS","includes","arch","L","S","H","default","D","mkdirP","dirname","$","O","R","RetryHelper","execute","E","W","M","existsSync","j","K","allowRetries","authorization","get","statusCode","statusMessage","q","promisify","F","pipeline","createWriteStream","rmRF","$a2uk8$assert","ok","B","cwd","chdir","isDebug","silent","A","C","which","ignoreReturnCode","listeners","stdout","toString","stderr","toUpperCase","Array","push","G","_","unshift","V","clean","k","statSync","isDirectory","cp","recursive","isFile","b","v","tree","path","url","accept","readBody","JSON","parse","U","_findMatch","writeFileSync","valid","gt","RUNNER_TEMP","$parcel$global","from","Set","T","parcelRequire","$a2uk8$stream","$a2uk8$util","I","constructor","Object","setPrototypeOf","new","target","prototype","exports","extract7z","extractXar","cacheFile","findAllVersions","getManifestFromRepo","findFromManifest","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$a2uk8$child_process","execSync","_readLinuxVersionFile","readFileSync","getProxyUrl","URL","href","protocol","defineProperty","value","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpCodes","Accept","ContentType","Headers","ApplicationJson","MediaTypes","name","HttpClientError","Promise","Buffer","alloc","on","concat","HttpClientResponse","isHttps","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","maxRetries","options","request","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","stringify","putJson","patchJson","_prepareRequest","indexOf","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","toLowerCase","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","setTimeout","end","write","pipe","getAgent","_getAgent","parsedUrl","$a2uk8$https","$a2uk8$http","host","port","parseInt","pathname","search","method","_mergeHeaders","agent","prepareRequest","keys","reduce","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","pow","min","dateTimeDeserializer","Date","isNaN","valueOf","deserializeDates","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","no_proxy","NO_PROXY","map","checkBypass","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","random","symlinkSync","chmodSync","validRange","basename","getExecOutput","osName","osVersion","async","stream","prettyError","isBuffer","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","descriptor","InlineTable","defineProperties","_type","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","makeParserClass","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","parseKeyword","recordAssignKeyword","state","resultTable","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$11l48","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$2cVXm","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$D3EKL","$dAzRT","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","captureStackTrace","fromTOML","wrapped","code","Symbol","configurable","enumerable","utilInspect","eval","custom","asIntN","parser","returned","pos","col","line","_buf","ii","runOne","codePointAt","haveBuffer","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","slice","setImmediate","blocksize","setEncoding","read","once","Transform","objectMode","transform","emit","flush","toJSON","isArray","P","every","N","getManifest","findReleaseFromManifest","installCpythonFromRelease","getOSInfo","MANIFEST_URL","IS_LINUX","LD_LIBRARY_PATH","APPDATA","sep","findIndex","getInput"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-pypy.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-pypy.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/manifest.ts","../../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/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/utils.ts","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-python.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-python.ts"],"sourcesContent":["var $a2uk8$path = require(\"path\");\nvar $a2uk8$os = require(\"os\");\nvar $a2uk8$fs = require(\"fs\");\nvar $a2uk8$stream = require(\"stream\");\nvar $a2uk8$util = require(\"util\");\nvar $a2uk8$assert = require(\"assert\");\nvar $a2uk8$child_process = require(\"child_process\");\nvar $a2uk8$http = require(\"http\");\nvar $a2uk8$https = require(\"https\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire810d\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"apy8x\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $f1043fe4c11d201d$export$5655ebf4048b68d5);\n\nvar $957JZ = parcelRequire(\"957JZ\");\n\nvar $2mbyd = parcelRequire(\"2mbyd\");\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $clwE1 = parcelRequire(\"clwE1\");\n\nvar $f1043fe4c11d201d$var$$parcel$__dirname = $a2uk8$path.resolve(__dirname, \"../../src/python\");\nfunction $f1043fe4c11d201d$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $f1043fe4c11d201d$var$checkLatest = false;\nasync function $f1043fe4c11d201d$export$5655ebf4048b68d5(version, _setupDir, arch) {\n var _process_env_AGENT_TOOLSDIRECTORY;\n if (0, $clwE1.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = (_process_env_AGENT_TOOLSDIRECTORY = process.env.AGENT_TOOLSDIRECTORY) === null || _process_env_AGENT_TOOLSDIRECTORY === void 0 ? void 0 : _process_env_AGENT_TOOLSDIRECTORY.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $k1l4q.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($f1043fe4c11d201d$var$isPyPyVersion(version)) {\n const installed = await (0, $957JZ.findPyPyVersion)(version, arch, true, $f1043fe4c11d201d$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $pcnv8.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $2mbyd.useCpythonVersion)(version, arch, true, $f1043fe4c11d201d$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $pcnv8.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $dKklS.GITHUB_ACTIONS) await $f1043fe4c11d201d$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $f1043fe4c11d201d$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $drEX5.join)($f1043fe4c11d201d$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRegister(\"957JZ\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $5603170ff915b684$export$43d689d19c89c31d);\n\n\nvar $jsAqG = parcelRequire(\"jsAqG\");\n\nvar $clwE1 = parcelRequire(\"clwE1\");\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\nasync function $5603170ff915b684$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $5603170ff915b684$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $jsAqG.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $jsAqG.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $k1l4q.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $k1l4q.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $5603170ff915b684$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $jsAqG.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $clwE1.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $a2uk8$path.join(installDir, pipDir);\n const binaryExtension = (0, $clwE1.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $a2uk8$path.join((0, $clwE1.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $jsAqG.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $k1l4q.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $k1l4q.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $k1l4q.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $k1l4q.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $k1l4q.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $k1l4q.addPath(pythonLocation);\n $k1l4q.addPath(_binDir);\n }\n $k1l4q.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $k1l4q.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $5603170ff915b684$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $clwE1.IS_WINDOWS) ? $5603170ff915b684$export$139298be7eb2bd(pythonVersion) : $1GQ3N.find(\"PyPy\", pythonVersion, architecture);\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 = (0, $clwE1.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $clwE1.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $51NgG.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $k1l4q.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $5603170ff915b684$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $jsAqG.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $clwE1.validateVersion)(pythonVersion) || !(0, $clwE1.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $clwE1.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $5603170ff915b684$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $clwE1.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $1GQ3N.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRegister(\"jsAqG\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $f1a4fc73cca2b288$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $f1a4fc73cca2b288$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $f1a4fc73cca2b288$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $f1a4fc73cca2b288$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $f1a4fc73cca2b288$export$4e25ef8c836002b9);\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $ba1Cu = parcelRequire(\"ba1Cu\");\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\n\nvar $clwE1 = parcelRequire(\"clwE1\");\nasync function $f1a4fc73cca2b288$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases !== null && releases !== void 0 ? releases : await $f1a4fc73cca2b288$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $f1a4fc73cca2b288$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $k1l4q.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($a2uk8$os.EOL));\n releaseData = $f1a4fc73cca2b288$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $k1l4q.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $1GQ3N.downloadTool(downloadUrl);\n $k1l4q.info(\"Extracting downloaded archive...\");\n if (0, $clwE1.IS_WINDOWS) downloadDir = await $1GQ3N.extractZip(pypyPath);\n else downloadDir = await $1GQ3N.extractTar(pypyPath, undefined, \"x\");\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 = (0, ($parcel$interopDefault($a2uk8$fs))).readdirSync(downloadDir)[0];\n const toolDir = $a2uk8$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $clwE1.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $1GQ3N.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $clwE1.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $f1a4fc73cca2b288$export$a053ce7a690fbb2e(installDir);\n await $f1a4fc73cca2b288$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $f1a4fc73cca2b288$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $1GQ3N.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $k1l4q.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $k1l4q.info(err.message);\n if (err.stack !== undefined) $k1l4q.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $f1a4fc73cca2b288$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $ba1Cu.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $f1a4fc73cca2b288$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $51NgG.coerce(pythonVersion);\n const pythonBinaryPostfix = $51NgG.major(version);\n const pythonMinor = $51NgG.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $clwE1.IS_WINDOWS) ? \".exe\" : \"\";\n $k1l4q.info(\"Creating symlinks...\");\n (0, $clwE1.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $clwE1.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $clwE1.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $f1a4fc73cca2b288$var$installPip(pythonLocation) {\n $k1l4q.info(\"Installing and updating pip\");\n const pythonBinary = $a2uk8$path.join(pythonLocation, \"python\");\n await $ca0ts.exec(`${pythonBinary} -m ensurepip`);\n await $ca0ts.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $f1a4fc73cca2b288$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $51NgG.satisfies($51NgG.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $clwE1.isNightlyKeyword)(pypyVersion) && (0, $clwE1.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $51NgG.satisfies($f1a4fc73cca2b288$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $clwE1.IS_WINDOWS) ? $f1a4fc73cca2b288$export$652444ba12a0c7bb(item, architecture) : $f1a4fc73cca2b288$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $51NgG.compare($51NgG.coerce($f1a4fc73cca2b288$export$4e25ef8c836002b9(current.pypy_version)), $51NgG.coerce($f1a4fc73cca2b288$export$4e25ef8c836002b9(previous.pypy_version))) || $51NgG.compare($51NgG.coerce(current.python_version), $51NgG.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $clwE1.IS_WINDOWS) ? $f1a4fc73cca2b288$export$672a33957a3c888(foundRelease, architecture) : $f1a4fc73cca2b288$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $f1a4fc73cca2b288$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $a2uk8$path.join(installDir, \"bin\");\n return (0, $clwE1.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $f1a4fc73cca2b288$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $f1a4fc73cca2b288$export$652444ba12a0c7bb(item, architecture) {\n architecture = $f1a4fc73cca2b288$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $clwE1.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $f1a4fc73cca2b288$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $f1a4fc73cca2b288$export$672a33957a3c888(releases, architecture) {\n architecture = $f1a4fc73cca2b288$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $clwE1.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $f1a4fc73cca2b288$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $f1a4fc73cca2b288$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\nparcelRegister(\"1GQ3N\", function(module, exports) {\n\nvar $13b218c2dfda02f8$var$$parcel$__dirname = $a2uk8$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $13b218c2dfda02f8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $13b218c2dfda02f8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $13b218c2dfda02f8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $13b218c2dfda02f8$var$__createBinding(result, mod, k);\n }\n $13b218c2dfda02f8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $13b218c2dfda02f8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $13b218c2dfda02f8$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $13b218c2dfda02f8$var$core = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"k1l4q\")));\n\nconst $13b218c2dfda02f8$var$io = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"g9WSN\")));\n\nconst $13b218c2dfda02f8$var$fs = $13b218c2dfda02f8$var$__importStar($a2uk8$fs);\n\nconst $13b218c2dfda02f8$var$mm = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"2YXUl\")));\n\nconst $13b218c2dfda02f8$var$os = $13b218c2dfda02f8$var$__importStar($a2uk8$os);\n\nconst $13b218c2dfda02f8$var$path = $13b218c2dfda02f8$var$__importStar($a2uk8$path);\n\nconst $13b218c2dfda02f8$var$httpm = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"ba1Cu\")));\n\nconst $13b218c2dfda02f8$var$semver = $13b218c2dfda02f8$var$__importStar((parcelRequire(\"a5mzA\")));\n\nconst $13b218c2dfda02f8$var$stream = $13b218c2dfda02f8$var$__importStar($a2uk8$stream);\n\nconst $13b218c2dfda02f8$var$util = $13b218c2dfda02f8$var$__importStar($a2uk8$util);\n\nconst $13b218c2dfda02f8$var$v4_1 = $13b218c2dfda02f8$var$__importDefault((parcelRequire(\"iFKS7\")));\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\n\nvar $9g1b2 = parcelRequire(\"9g1b2\");\nclass $13b218c2dfda02f8$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $13b218c2dfda02f8$var$HTTPError;\nconst $13b218c2dfda02f8$var$IS_WINDOWS = process.platform === \"win32\";\nconst $13b218c2dfda02f8$var$IS_MAC = process.platform === \"darwin\";\nconst $13b218c2dfda02f8$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $13b218c2dfda02f8$var$downloadTool(url, dest, auth, headers) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getTempDirectory(), $13b218c2dfda02f8$var$v4_1.default());\n yield $13b218c2dfda02f8$var$io.mkdirP($13b218c2dfda02f8$var$path.dirname(dest));\n $13b218c2dfda02f8$var$core.debug(`Downloading ${url}`);\n $13b218c2dfda02f8$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $13b218c2dfda02f8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $13b218c2dfda02f8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $9g1b2.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n return yield $13b218c2dfda02f8$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $13b218c2dfda02f8$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $13b218c2dfda02f8$var$downloadTool;\nfunction $13b218c2dfda02f8$var$downloadToolAttempt(url, dest, auth, headers) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if ($13b218c2dfda02f8$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $13b218c2dfda02f8$var$httpm.HttpClient($13b218c2dfda02f8$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $13b218c2dfda02f8$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $13b218c2dfda02f8$var$HTTPError(response.message.statusCode);\n $13b218c2dfda02f8$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $13b218c2dfda02f8$var$util.promisify($13b218c2dfda02f8$var$stream.pipeline);\n const responseMessageFactory = $13b218c2dfda02f8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $13b218c2dfda02f8$var$fs.createWriteStream(dest));\n $13b218c2dfda02f8$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $13b218c2dfda02f8$var$core.debug(\"download failed\");\n try {\n yield $13b218c2dfda02f8$var$io.rmRF(dest);\n } catch (err) {\n $13b218c2dfda02f8$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extract7z(file, dest, _7zPath) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n $a2uk8$assert.ok($13b218c2dfda02f8$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $a2uk8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $13b218c2dfda02f8$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $ca0ts.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $13b218c2dfda02f8$var$io.which(\"powershell\", true);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $13b218c2dfda02f8$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extractTar(file, dest, flags = \"xz\") {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $13b218c2dfda02f8$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $ca0ts.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $13b218c2dfda02f8$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($13b218c2dfda02f8$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($13b218c2dfda02f8$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $ca0ts.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $13b218c2dfda02f8$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extractXar(file, dest, flags = []) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n $a2uk8$assert.ok($13b218c2dfda02f8$var$IS_MAC, \"extractXar() not supported on current OS\");\n $a2uk8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($13b218c2dfda02f8$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $13b218c2dfda02f8$var$io.which(\"xar\", true);\n yield $ca0ts.exec(`\"${xarPath}\"`, $13b218c2dfda02f8$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $13b218c2dfda02f8$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $13b218c2dfda02f8$var$extractZip(file, dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $13b218c2dfda02f8$var$_createExtractFolder(dest);\n if ($13b218c2dfda02f8$var$IS_WINDOWS) yield $13b218c2dfda02f8$var$extractZipWin(file, dest);\n else yield $13b218c2dfda02f8$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $13b218c2dfda02f8$var$extractZip;\nfunction $13b218c2dfda02f8$var$extractZipWin(file, dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $13b218c2dfda02f8$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $13b218c2dfda02f8$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $ca0ts.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $13b218c2dfda02f8$var$io.which(\"powershell\", true);\n $13b218c2dfda02f8$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $13b218c2dfda02f8$var$extractZipNix(file, dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $13b218c2dfda02f8$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$13b218c2dfda02f8$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $ca0ts.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $13b218c2dfda02f8$var$cacheDir(sourceDir, tool, version, arch) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n version = $13b218c2dfda02f8$var$semver.clean(version) || version;\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n $13b218c2dfda02f8$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $13b218c2dfda02f8$var$core.debug(`source dir: ${sourceDir}`);\n if (!$13b218c2dfda02f8$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $13b218c2dfda02f8$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $13b218c2dfda02f8$var$fs.readdirSync(sourceDir)){\n const s = $13b218c2dfda02f8$var$path.join(sourceDir, itemName);\n yield $13b218c2dfda02f8$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $13b218c2dfda02f8$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $13b218c2dfda02f8$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $13b218c2dfda02f8$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n version = $13b218c2dfda02f8$var$semver.clean(version) || version;\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n $13b218c2dfda02f8$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $13b218c2dfda02f8$var$core.debug(`source file: ${sourceFile}`);\n if (!$13b218c2dfda02f8$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $13b218c2dfda02f8$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $13b218c2dfda02f8$var$path.join(destFolder, targetFile);\n $13b218c2dfda02f8$var$core.debug(`destination file ${destPath}`);\n yield $13b218c2dfda02f8$var$io.cp(sourceFile, destPath);\n // write .complete\n $13b218c2dfda02f8$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $13b218c2dfda02f8$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $13b218c2dfda02f8$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n // attempt to resolve an explicit version\n if (!$13b218c2dfda02f8$var$isExplicitVersion(versionSpec)) {\n const localVersions = $13b218c2dfda02f8$var$findAllVersions(toolName, arch);\n const match = $13b218c2dfda02f8$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $13b218c2dfda02f8$var$semver.clean(versionSpec) || \"\";\n const cachePath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $13b218c2dfda02f8$var$core.debug(`checking cache: ${cachePath}`);\n if ($13b218c2dfda02f8$var$fs.existsSync(cachePath) && $13b218c2dfda02f8$var$fs.existsSync(`${cachePath}.complete`)) {\n $13b218c2dfda02f8$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $13b218c2dfda02f8$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $13b218c2dfda02f8$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $13b218c2dfda02f8$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $13b218c2dfda02f8$var$os.arch();\n const toolPath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), toolName);\n if ($13b218c2dfda02f8$var$fs.existsSync(toolPath)) {\n const children = $13b218c2dfda02f8$var$fs.readdirSync(toolPath);\n for (const child of children)if ($13b218c2dfda02f8$var$isExplicitVersion(child)) {\n const fullPath = $13b218c2dfda02f8$var$path.join(toolPath, child, arch || \"\");\n if ($13b218c2dfda02f8$var$fs.existsSync(fullPath) && $13b218c2dfda02f8$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $13b218c2dfda02f8$var$findAllVersions;\nfunction $13b218c2dfda02f8$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $13b218c2dfda02f8$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $13b218c2dfda02f8$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $13b218c2dfda02f8$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $13b218c2dfda02f8$var$getManifestFromRepo;\nfunction $13b218c2dfda02f8$var$findFromManifest(versionSpec, stable, manifest, archFilter = $13b218c2dfda02f8$var$os.arch()) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $13b218c2dfda02f8$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $13b218c2dfda02f8$var$findFromManifest;\nfunction $13b218c2dfda02f8$var$_createExtractFolder(dest) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getTempDirectory(), $13b218c2dfda02f8$var$v4_1.default());\n yield $13b218c2dfda02f8$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $13b218c2dfda02f8$var$_createToolPath(tool, version, arch) {\n return $13b218c2dfda02f8$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), tool, $13b218c2dfda02f8$var$semver.clean(version) || version, arch || \"\");\n $13b218c2dfda02f8$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $13b218c2dfda02f8$var$io.rmRF(folderPath);\n yield $13b218c2dfda02f8$var$io.rmRF(markerPath);\n yield $13b218c2dfda02f8$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $13b218c2dfda02f8$var$_completeToolPath(tool, version, arch) {\n const folderPath = $13b218c2dfda02f8$var$path.join($13b218c2dfda02f8$var$_getCacheDirectory(), tool, $13b218c2dfda02f8$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $13b218c2dfda02f8$var$fs.writeFileSync(markerPath, \"\");\n $13b218c2dfda02f8$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $13b218c2dfda02f8$var$isExplicitVersion(versionSpec) {\n const c = $13b218c2dfda02f8$var$semver.clean(versionSpec) || \"\";\n $13b218c2dfda02f8$var$core.debug(`isExplicit: ${c}`);\n const valid = $13b218c2dfda02f8$var$semver.valid(c) != null;\n $13b218c2dfda02f8$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $13b218c2dfda02f8$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $13b218c2dfda02f8$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $13b218c2dfda02f8$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($13b218c2dfda02f8$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $13b218c2dfda02f8$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $13b218c2dfda02f8$var$core.debug(`matched: ${version}`);\n else $13b218c2dfda02f8$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $13b218c2dfda02f8$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $13b218c2dfda02f8$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $a2uk8$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $13b218c2dfda02f8$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $a2uk8$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $13b218c2dfda02f8$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $13b218c2dfda02f8$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRegister(\"2YXUl\", function(module, exports) {\n\"use strict\";\nvar $22bfa7ce6cec20e7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $22bfa7ce6cec20e7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $22bfa7ce6cec20e7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $22bfa7ce6cec20e7$var$__createBinding(result, mod, k);\n }\n $22bfa7ce6cec20e7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $22bfa7ce6cec20e7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $22bfa7ce6cec20e7$var$semver = $22bfa7ce6cec20e7$var$__importStar((parcelRequire(\"a5mzA\")));\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\nfunction $22bfa7ce6cec20e7$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $22bfa7ce6cec20e7$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $a2uk8$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $k1l4q.debug(`check ${version} satisfies ${versionSpec}`);\n if ($22bfa7ce6cec20e7$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $k1l4q.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $22bfa7ce6cec20e7$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $k1l4q.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $22bfa7ce6cec20e7$var$_findMatch;\nfunction $22bfa7ce6cec20e7$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $a2uk8$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $a2uk8$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $22bfa7ce6cec20e7$var$_getOsVersion;\nfunction $22bfa7ce6cec20e7$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($a2uk8$fs.existsSync(lsbReleaseFile)) contents = $a2uk8$fs.readFileSync(lsbReleaseFile).toString();\n else if ($a2uk8$fs.existsSync(osReleaseFile)) contents = $a2uk8$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $22bfa7ce6cec20e7$var$_readLinuxVersionFile;\n\n});\n\nparcelRegister(\"ba1Cu\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\n\n\n\nvar $8NGVX = parcelRequire(\"8NGVX\");\nlet $8201e28ab2232b69$var$tunnel;\nvar $8201e28ab2232b69$var$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})($8201e28ab2232b69$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $8201e28ab2232b69$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($8201e28ab2232b69$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $8201e28ab2232b69$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($8201e28ab2232b69$var$MediaTypes = module.exports.MediaTypes || (module.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 */ function $8201e28ab2232b69$var$getProxyUrl(serverUrl) {\n let proxyUrl = $8NGVX.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $8201e28ab2232b69$var$getProxyUrl;\nconst $8201e28ab2232b69$var$HttpRedirectCodes = [\n $8201e28ab2232b69$var$HttpCodes.MovedPermanently,\n $8201e28ab2232b69$var$HttpCodes.ResourceMoved,\n $8201e28ab2232b69$var$HttpCodes.SeeOther,\n $8201e28ab2232b69$var$HttpCodes.TemporaryRedirect,\n $8201e28ab2232b69$var$HttpCodes.PermanentRedirect\n];\nconst $8201e28ab2232b69$var$HttpResponseRetryCodes = [\n $8201e28ab2232b69$var$HttpCodes.BadGateway,\n $8201e28ab2232b69$var$HttpCodes.ServiceUnavailable,\n $8201e28ab2232b69$var$HttpCodes.GatewayTimeout\n];\nconst $8201e28ab2232b69$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $8201e28ab2232b69$var$ExponentialBackoffCeiling = 10;\nconst $8201e28ab2232b69$var$ExponentialBackoffTimeSlice = 5;\nclass $8201e28ab2232b69$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $8201e28ab2232b69$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $8201e28ab2232b69$var$HttpClientError;\nclass $8201e28ab2232b69$var$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([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n });\n }\n}\nmodule.exports.HttpClientResponse = $8201e28ab2232b69$var$HttpClientResponse;\nfunction $8201e28ab2232b69$var$isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $8201e28ab2232b69$var$isHttps;\n\nclass $8201e28ab2232b69$var$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) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\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 */ async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$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[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$MediaTypes.ApplicationJson);\n additionalHeaders[$8201e28ab2232b69$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.ContentType, $8201e28ab2232b69$var$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[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$MediaTypes.ApplicationJson);\n additionalHeaders[$8201e28ab2232b69$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.ContentType, $8201e28ab2232b69$var$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[$8201e28ab2232b69$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.Accept, $8201e28ab2232b69$var$MediaTypes.ApplicationJson);\n additionalHeaders[$8201e28ab2232b69$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $8201e28ab2232b69$var$Headers.ContentType, $8201e28ab2232b69$var$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 */ async request(verb, requestUrl, data, headers) {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\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 && $8201e28ab2232b69$var$RetryableHttpVerbs.indexOf(verb) != -1 ? this._maxRetries + 1 : 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 && response.message && response.message.statusCode === $8201e28ab2232b69$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for(let i = 0; i < this.handlers.length; i++)if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // 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 let redirectsRemaining = this._maxRedirects;\n while($8201e28ab2232b69$var$HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == \"https:\" && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) 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 // 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)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\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 ($8201e28ab2232b69$var$HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) // If not a retry code, return immediately instead of retrying\n return response;\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 */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return new Promise((resolve, reject)=>{\n let callbackForResult = function(err, res) {\n if (err) reject(err);\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 */ requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === \"string\") info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\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 $8201e28ab2232b69$var$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 || 180000, ()=>{\n if (socket) socket.end();\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\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\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 */ 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 ? $a2uk8$https : $a2uk8$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) this.handlers.forEach((handler)=>{\n handler.prepareRequest(info.options);\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) return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\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) clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = $8NGVX.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (!!agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (!!this.requestOptions) maxSockets = this.requestOptions.maxSockets || $a2uk8$http.globalAgent.maxSockets;\n if (useProxy) {\n // If using proxy, need tunnel\n if (!$8201e28ab2232b69$var$tunnel) $8201e28ab2232b69$var$tunnel = (parcelRequire(\"bbp3j\"));\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) tunnelAgent = overHttps ? $8201e28ab2232b69$var$tunnel.httpsOverHttps : $8201e28ab2232b69$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $8201e28ab2232b69$var$tunnel.httpOverHttps : $8201e28ab2232b69$var$tunnel.httpOverHttp;\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 = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $a2uk8$https.Agent(options) : new $a2uk8$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) agent = usingSsl ? $a2uk8$https.globalAgent : $a2uk8$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // 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 return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min($8201e28ab2232b69$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $8201e28ab2232b69$var$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())) return a;\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 == $8201e28ab2232b69$var$HttpCodes.NotFound) resolve(response);\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) obj = JSON.parse(contents, $8201e28ab2232b69$var$HttpClient.dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\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) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = \"Failed request: (\" + statusCode + \")\";\n let err = new $8201e28ab2232b69$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n });\n }\n}\nmodule.exports.HttpClient = $8201e28ab2232b69$var$HttpClient;\n\n});\nparcelRegister(\"8NGVX\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nfunction $668434169c1f2140$var$getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === \"https:\";\n let proxyUrl;\n if ($668434169c1f2140$var$checkBypass(reqUrl)) return proxyUrl;\n let proxyVar;\n if (usingSsl) proxyVar = process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else proxyVar = process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n if (proxyVar) proxyUrl = new URL(proxyVar);\n return proxyUrl;\n}\nmodule.exports.getProxyUrl = $668434169c1f2140$var$getProxyUrl;\nfunction $668434169c1f2140$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n let noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n let upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperReqHosts.some((x)=>x === upperNoProxyItem)) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $668434169c1f2140$var$checkBypass;\n\n});\n\n\nparcelRegister(\"9g1b2\", function(module, exports) {\n\"use strict\";\nvar $6bd685641a3c7cd2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $6bd685641a3c7cd2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $6bd685641a3c7cd2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $6bd685641a3c7cd2$var$__createBinding(result, mod, k);\n }\n $6bd685641a3c7cd2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $6bd685641a3c7cd2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $6bd685641a3c7cd2$var$core = $6bd685641a3c7cd2$var$__importStar((parcelRequire(\"k1l4q\")));\n/**\n * Internal class for retries\n */ class $6bd685641a3c7cd2$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $6bd685641a3c7cd2$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $6bd685641a3c7cd2$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $6bd685641a3c7cd2$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $6bd685641a3c7cd2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $6bd685641a3c7cd2$var$RetryHelper;\n\n});\n\n\nparcelRegister(\"clwE1\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $177e7a12eab5381b$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $177e7a12eab5381b$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $177e7a12eab5381b$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $177e7a12eab5381b$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $177e7a12eab5381b$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $177e7a12eab5381b$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $177e7a12eab5381b$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $177e7a12eab5381b$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $177e7a12eab5381b$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $177e7a12eab5381b$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $177e7a12eab5381b$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $177e7a12eab5381b$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $177e7a12eab5381b$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $8y2rb = parcelRequire(\"8y2rb\");\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\nconst $177e7a12eab5381b$export$82633ee808573685 = process.platform === \"win32\";\nconst $177e7a12eab5381b$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $177e7a12eab5381b$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $177e7a12eab5381b$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $177e7a12eab5381b$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $177e7a12eab5381b$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $177e7a12eab5381b$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $a2uk8$path.join(folderPath, sourceName);\n const targetPath = $a2uk8$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($a2uk8$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($a2uk8$fs))).symlinkSync(sourcePath, targetPath);\n if (!$177e7a12eab5381b$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($a2uk8$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $177e7a12eab5381b$export$7880c8f0bb8a6afd(version) {\n return $177e7a12eab5381b$export$ea46fc8abcf9f209(version) || Boolean($51NgG.validRange(version));\n}\nfunction $177e7a12eab5381b$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $177e7a12eab5381b$export$8a23ea91582cecbc(installDir) {\n return $a2uk8$path.basename($a2uk8$path.dirname(installDir));\n}\nfunction $177e7a12eab5381b$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $a2uk8$path.join(installDir, $177e7a12eab5381b$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($a2uk8$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($a2uk8$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $177e7a12eab5381b$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $a2uk8$path.join(installDir, $177e7a12eab5381b$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($a2uk8$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $177e7a12eab5381b$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $177e7a12eab5381b$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $k1l4q.info(`${warningPrefix}${message}`);\n}\nasync function $177e7a12eab5381b$var$getWindowsInfo() {\n const { stdout: stdout } = await $ca0ts.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $177e7a12eab5381b$var$getMacOSInfo() {\n const { stdout: stdout } = await $ca0ts.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $177e7a12eab5381b$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $ca0ts.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $k1l4q.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $177e7a12eab5381b$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($177e7a12eab5381b$export$82633ee808573685) osInfo = await $177e7a12eab5381b$var$getWindowsInfo();\n else if ($177e7a12eab5381b$export$25e95d65b6faeb9a) osInfo = await $177e7a12eab5381b$export$734019fa9b4b8da();\n else if ($177e7a12eab5381b$export$ff23e6b4c4401383) osInfo = await $177e7a12eab5381b$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $k1l4q.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $177e7a12eab5381b$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $177e7a12eab5381b$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $177e7a12eab5381b$export$62b63db2b7d00b3a(versionFile) {\n $k1l4q.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($a2uk8$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $8y2rb.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $177e7a12eab5381b$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $k1l4q.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$51NgG.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $k1l4q.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $177e7a12eab5381b$export$6bdea68547837ebb(versionFile) {\n $k1l4q.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($a2uk8$fs))).readFileSync(versionFile, \"utf8\");\n $k1l4q.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $177e7a12eab5381b$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $177e7a12eab5381b$export$62b63db2b7d00b3a(versionFile);\n else return $177e7a12eab5381b$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRegister(\"8y2rb\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $639363b8d9208f27$export$98e6a39c04603d36, (v) => $639363b8d9208f27$export$98e6a39c04603d36 = v);\nvar $639363b8d9208f27$export$98e6a39c04603d36;\nvar $639363b8d9208f27$export$fac44ee5b035f737;\n\"use strict\";\n\n$639363b8d9208f27$export$98e6a39c04603d36 = (parcelRequire(\"li79u\"));\n\n$639363b8d9208f27$export$fac44ee5b035f737 = (parcelRequire(\"e8UAf\"));\n\n});\nparcelRegister(\"li79u\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"Pq9Hv\"));\n\nmodule.exports.async = (parcelRequire(\"9qHsG\"));\n\nmodule.exports.stream = (parcelRequire(\"aluRl\"));\n\nmodule.exports.prettyError = (parcelRequire(\"buqvX\"));\n\n});\nparcelRegister(\"Pq9Hv\", function(module, exports) {\n\"use strict\";\nmodule.exports = $09a90d7723844b6d$var$parseString;\n\nvar $cpPXN = parcelRequire(\"cpPXN\");\n\nvar $buqvX = parcelRequire(\"buqvX\");\nfunction $09a90d7723844b6d$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $cpPXN();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $buqvX(err, str);\n }\n}\n\n});\nparcelRegister(\"cpPXN\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"7LR6o\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg){\n super(msg);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err)=>{\n const terr = new TomlError(err.message);\n terr.code = err.code;\n terr.wrapped = err;\n return terr;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $D3EKL = parcelRequire(\"D3EKL\");\n\nvar $dAzRT = parcelRequire(\"dAzRT\");\n\nvar $11l48 = parcelRequire(\"11l48\");\n\nvar $2cVXm = parcelRequire(\"2cVXm\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isHexit(cp) {\n return cp >= CHAR_A && cp <= CHAR_F || cp >= CHAR_a && cp <= CHAR_f || cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isBit(cp) {\n return cp === CHAR_1 || cp === CHAR_0;\n}\nfunction isOctit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_APOS || cp === CHAR_QUOT || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj, key) {\n if (hasOwnProperty.call(obj, key)) return true;\n if (key === \"__proto__\") defineProperty(obj, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type\n }\n });\n}\nfunction isInlineList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value);\n } catch (_) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value) {\n let num = Number(value);\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num)) return new BoxedBigInt(value);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value}]`\n }\n });\n}\nfunction isInteger(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value}]`\n }\n });\n}\nfunction isFloat(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === FLOAT;\n}\nfunction tomlType(value) {\n const type = typeof value;\n if (type === \"object\") {\n /* istanbul ignore if */ if (value === null) return \"null\";\n if (value instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value) switch(value[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type;\n}\nfunction makeParserClass(Parser) {\n class TOMLParser extends Parser {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv) {\n let target = this.ctx;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key) {\n if (this.state.resultTable) this.state.resultTable.push(key);\n else this.state.resultTable = [\n key\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) this.ctx[keyword] = List();\n if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword])) {\n const next = Table();\n this.ctx[keyword].push(next);\n this.ctx = next;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value) {\n return this.returnNow(value);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode = \"\\\\u00\";\n if (this.char < 16) displayCode += \"0\";\n displayCode += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`));\n }\n recordMultiEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char) {\n try {\n const codePoint = parseInt(char, 16);\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint));\n } catch (err) {\n throw this.error(TomlError.wrap(err));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($11l48(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($11l48(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($2cVXm(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($2cVXm(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($D3EKL(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($dAzRT(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($D3EKL(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($dAzRT(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($D3EKL(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType];\n const valueType = tomlType(value);\n if (listType !== valueType) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`));\n } else this.state.resultArr = InlineList(tomlType(value));\n if (isFloat(value) || isInteger(value)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf());\n else this.state.resultArr.push(value);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv) {\n let target = this.state.resultTable;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser;\n}\n\n});\nparcelRegister(\"7LR6o\", function(module, exports) {\n\"use strict\";\nconst $5a861d2d146312f7$var$ParserEND = 0x110000;\nclass $5a861d2d146312f7$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $5a861d2d146312f7$var$ParserError);\n }\n}\nclass $5a861d2d146312f7$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $5a861d2d146312f7$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $5a861d2d146312f7$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $5a861d2d146312f7$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $5a861d2d146312f7$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $5a861d2d146312f7$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $5a861d2d146312f7$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $5a861d2d146312f7$var$ParserEND) throw this.error(new $5a861d2d146312f7$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $5a861d2d146312f7$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$5a861d2d146312f7$var$Parser.END = $5a861d2d146312f7$var$ParserEND;\n$5a861d2d146312f7$var$Parser.Error = $5a861d2d146312f7$var$ParserError;\nmodule.exports = $5a861d2d146312f7$var$Parser;\n\n});\n\nparcelRegister(\"D3EKL\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"dAzRT\", function(module, exports) {\n\"use strict\";\n\nvar $k3bxK = parcelRequire(\"k3bxK\");\nclass $9e4a75d23eb11ac8$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$k3bxK(2, this.getUTCMonth() + 1)}-${$k3bxK(2, this.getUTCDate())}`;\n const time = `${$k3bxK(2, this.getUTCHours())}:${$k3bxK(2, this.getUTCMinutes())}:${$k3bxK(2, this.getUTCSeconds())}.${$k3bxK(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $9e4a75d23eb11ac8$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRegister(\"k3bxK\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRegister(\"11l48\", function(module, exports) {\n\"use strict\";\n\nvar $k3bxK = parcelRequire(\"k3bxK\");\nconst $0be6399ff9c2faad$var$DateTime = $parcel$global.Date;\nclass $0be6399ff9c2faad$var$Date extends $0be6399ff9c2faad$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$k3bxK(2, this.getUTCMonth() + 1)}-${$k3bxK(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $0be6399ff9c2faad$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"2cVXm\", function(module, exports) {\n\"use strict\";\n\nvar $k3bxK = parcelRequire(\"k3bxK\");\nclass $19b9a8b3d84b5da5$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$k3bxK(2, this.getUTCHours())}:${$k3bxK(2, this.getUTCMinutes())}:${$k3bxK(2, this.getUTCSeconds())}.${$k3bxK(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $19b9a8b3d84b5da5$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRegister(\"buqvX\", function(module, exports) {\n\"use strict\";\nmodule.exports = $85d7103e6228c2b6$var$prettyError;\nfunction $85d7103e6228c2b6$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRegister(\"9qHsG\", function(module, exports) {\n\"use strict\";\nmodule.exports = $6dd8415d671cb187$var$parseAsync;\n\nvar $cpPXN = parcelRequire(\"cpPXN\");\n\nvar $buqvX = parcelRequire(\"buqvX\");\nfunction $6dd8415d671cb187$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $cpPXN();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($buqvX(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($buqvX(err, str));\n }\n }\n}\n\n});\n\nparcelRegister(\"aluRl\", function(module, exports) {\n\"use strict\";\nmodule.exports = $7883cd99bfe171da$var$parseStream;\n\n\nvar $cpPXN = parcelRequire(\"cpPXN\");\nfunction $7883cd99bfe171da$var$parseStream(stm) {\n if (stm) return $7883cd99bfe171da$var$parseReadable(stm);\n else return $7883cd99bfe171da$var$parseTransform(stm);\n}\nfunction $7883cd99bfe171da$var$parseReadable(stm) {\n const parser = new $cpPXN();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $7883cd99bfe171da$var$parseTransform() {\n const parser = new $cpPXN();\n return new $a2uk8$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRegister(\"e8UAf\", function(module, exports) {\n\"use strict\";\nmodule.exports = $a4bdb46222d9d1fc$var$stringify;\nmodule.exports.value = $a4bdb46222d9d1fc$var$stringifyInline;\nfunction $a4bdb46222d9d1fc$var$stringify(obj) {\n if (obj === null) throw $a4bdb46222d9d1fc$var$typeError(\"null\");\n if (obj === void 0) throw $a4bdb46222d9d1fc$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $a4bdb46222d9d1fc$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $a4bdb46222d9d1fc$var$tomlType(obj);\n if (type !== \"table\") throw $a4bdb46222d9d1fc$var$typeError(type);\n return $a4bdb46222d9d1fc$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $a4bdb46222d9d1fc$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $a4bdb46222d9d1fc$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $a4bdb46222d9d1fc$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$a4bdb46222d9d1fc$var$isInline(obj[key]));\n}\nfunction $a4bdb46222d9d1fc$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$a4bdb46222d9d1fc$var$isInline(obj[key]));\n}\nfunction $a4bdb46222d9d1fc$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyObject(prefix, indent, obj) {\n obj = $a4bdb46222d9d1fc$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $a4bdb46222d9d1fc$var$getInlineKeys(obj);\n complexKeys = $a4bdb46222d9d1fc$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $a4bdb46222d9d1fc$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $a4bdb46222d9d1fc$var$stringifyKey(key) + \" = \" + $a4bdb46222d9d1fc$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($a4bdb46222d9d1fc$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $a4bdb46222d9d1fc$var$isInline(value) {\n switch($a4bdb46222d9d1fc$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $a4bdb46222d9d1fc$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $a4bdb46222d9d1fc$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $a4bdb46222d9d1fc$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $a4bdb46222d9d1fc$var$stringifyBasicString(keyStr);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyBasicString(str) {\n return '\"' + $a4bdb46222d9d1fc$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $a4bdb46222d9d1fc$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $a4bdb46222d9d1fc$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $a4bdb46222d9d1fc$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $a4bdb46222d9d1fc$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $a4bdb46222d9d1fc$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $a4bdb46222d9d1fc$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $a4bdb46222d9d1fc$var$stringifyAnyInline(value, multilineOk) {\n let type = $a4bdb46222d9d1fc$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $a4bdb46222d9d1fc$var$stringifyInline(value, type);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $a4bdb46222d9d1fc$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $a4bdb46222d9d1fc$var$stringifyMultilineString(value);\n case \"string\":\n return $a4bdb46222d9d1fc$var$stringifyBasicString(value);\n case \"string-literal\":\n return $a4bdb46222d9d1fc$var$stringifyLiteralString(value);\n case \"integer\":\n return $a4bdb46222d9d1fc$var$stringifyInteger(value);\n case \"float\":\n return $a4bdb46222d9d1fc$var$stringifyFloat(value);\n case \"boolean\":\n return $a4bdb46222d9d1fc$var$stringifyBoolean(value);\n case \"datetime\":\n return $a4bdb46222d9d1fc$var$stringifyDatetime(value);\n case \"array\":\n return $a4bdb46222d9d1fc$var$stringifyInlineArray(value.filter((_)=>$a4bdb46222d9d1fc$var$tomlType(_) !== \"null\" && $a4bdb46222d9d1fc$var$tomlType(_) !== \"undefined\" && $a4bdb46222d9d1fc$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $a4bdb46222d9d1fc$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $a4bdb46222d9d1fc$var$typeError(type);\n }\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $a4bdb46222d9d1fc$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $a4bdb46222d9d1fc$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $a4bdb46222d9d1fc$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $a4bdb46222d9d1fc$var$arrayType(values) {\n var contentType = $a4bdb46222d9d1fc$var$tomlType(values[0]);\n if (values.every((_)=>$a4bdb46222d9d1fc$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$a4bdb46222d9d1fc$var$isNumber($a4bdb46222d9d1fc$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $a4bdb46222d9d1fc$var$validateArray(values) {\n const type = $a4bdb46222d9d1fc$var$arrayType(values);\n if (type === \"mixed\") throw $a4bdb46222d9d1fc$var$arrayOneTypeError();\n return type;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInlineArray(values) {\n values = $a4bdb46222d9d1fc$var$toJSON(values);\n const type = $a4bdb46222d9d1fc$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$a4bdb46222d9d1fc$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $a4bdb46222d9d1fc$var$stringifyInlineTable(value) {\n value = $a4bdb46222d9d1fc$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($a4bdb46222d9d1fc$var$stringifyKey(key) + \" = \" + $a4bdb46222d9d1fc$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $a4bdb46222d9d1fc$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $a4bdb46222d9d1fc$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $a4bdb46222d9d1fc$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $a4bdb46222d9d1fc$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $a4bdb46222d9d1fc$var$typeError(valueType);\n}\nfunction $a4bdb46222d9d1fc$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $a4bdb46222d9d1fc$var$toJSON(values);\n $a4bdb46222d9d1fc$var$validateArray(values);\n var firstValueType = $a4bdb46222d9d1fc$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $a4bdb46222d9d1fc$var$typeError(firstValueType);\n var fullKey = prefix + $a4bdb46222d9d1fc$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $a4bdb46222d9d1fc$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $a4bdb46222d9d1fc$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $a4bdb46222d9d1fc$var$stringifyKey(key);\n var result = \"\";\n if ($a4bdb46222d9d1fc$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $a4bdb46222d9d1fc$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\n\n\nparcelRegister(\"2mbyd\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $d1e35cdd7078114c$export$c90655100676e173);\n\n\n\nvar $clwE1 = parcelRequire(\"clwE1\");\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\nvar $adAKt = parcelRequire(\"adAKt\");\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\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 separate 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\nfunction $d1e35cdd7078114c$var$binDir(installDir) {\n if (0, $clwE1.IS_WINDOWS) return $a2uk8$path.join(installDir, \"Scripts\");\n else return $a2uk8$path.join(installDir, \"bin\");\n}\nasync function $d1e35cdd7078114c$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $d1e35cdd7078114c$var$desugarDevVersion(version);\n let semanticVersionSpec = $d1e35cdd7078114c$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $k1l4q.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n var _this;\n manifest = await $adAKt.getManifest();\n const resolvedVersion = (_this = await $adAKt.findReleaseFromManifest(semanticVersionSpec, architecture, manifest)) === null || _this === void 0 ? void 0 : _this.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $k1l4q.info(`Resolved as '${semanticVersionSpec}'`);\n } else $k1l4q.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $1GQ3N.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $k1l4q.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $adAKt.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $k1l4q.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $adAKt.installCpythonFromRelease(foundRelease);\n installDir = $1GQ3N.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $clwE1.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$adAKt.MANIFEST_URL}`\n ].join($a2uk8$os.EOL));\n }\n const _binDir = $d1e35cdd7078114c$var$binDir(installDir);\n const binaryExtension = (0, $clwE1.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $a2uk8$path.join((0, $clwE1.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $k1l4q.exportVariable(\"pythonLocation\", installDir);\n $k1l4q.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $k1l4q.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $k1l4q.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $k1l4q.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $k1l4q.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $k1l4q.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $clwE1.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $a2uk8$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $k1l4q.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $k1l4q.addPath(installDir);\n $k1l4q.addPath(_binDir);\n if (0, $clwE1.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 = $a2uk8$path.basename($a2uk8$path.dirname(installDir));\n const major = $51NgG.major(version);\n const minor = $51NgG.minor(version);\n const userScriptsDir = $a2uk8$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $k1l4q.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 = $d1e35cdd7078114c$var$versionFromPath(installDir);\n $k1l4q.setOutput(\"python-version\", installed);\n $k1l4q.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $d1e35cdd7078114c$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $d1e35cdd7078114c$var$versionFromPath(installDir) {\n const parts = installDir.split($a2uk8$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $d1e35cdd7078114c$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRegister(\"adAKt\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $8d20fe93d0f9de85$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $8d20fe93d0f9de85$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $8d20fe93d0f9de85$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $8d20fe93d0f9de85$export$e1ffa7cd53152881);\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $1GQ3N = parcelRequire(\"1GQ3N\");\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $clwE1 = parcelRequire(\"clwE1\");\nconst $8d20fe93d0f9de85$var$TOKEN = $k1l4q.getInput(\"token\");\nconst $8d20fe93d0f9de85$var$AUTH = !$8d20fe93d0f9de85$var$TOKEN ? undefined : `token ${$8d20fe93d0f9de85$var$TOKEN}`;\nconst $8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $8d20fe93d0f9de85$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $8d20fe93d0f9de85$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER}/${$8d20fe93d0f9de85$var$MANIFEST_REPO_NAME}/${$8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $8d20fe93d0f9de85$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $8d20fe93d0f9de85$export$39e873de56f329d8();\n const foundRelease = await $1GQ3N.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $8d20fe93d0f9de85$export$39e873de56f329d8() {\n $k1l4q.debug(`Getting manifest from ${$8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER}/${$8d20fe93d0f9de85$var$MANIFEST_REPO_NAME}@${$8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH}`);\n return $1GQ3N.getManifestFromRepo($8d20fe93d0f9de85$var$MANIFEST_REPO_OWNER, $8d20fe93d0f9de85$var$MANIFEST_REPO_NAME, $8d20fe93d0f9de85$var$AUTH, $8d20fe93d0f9de85$var$MANIFEST_REPO_BRANCH);\n}\nasync function $8d20fe93d0f9de85$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $clwE1.IS_LINUX) && {\n LD_LIBRARY_PATH: $a2uk8$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $k1l4q.info(data.toString().trim());\n },\n stderr: (data)=>{\n $k1l4q.error(data.toString().trim());\n }\n }\n };\n if (0, $clwE1.IS_WINDOWS) await $ca0ts.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $ca0ts.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $8d20fe93d0f9de85$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $k1l4q.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $1GQ3N.downloadTool(downloadUrl, undefined, $8d20fe93d0f9de85$var$AUTH);\n $k1l4q.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $clwE1.IS_WINDOWS) pythonExtractedFolder = await $1GQ3N.extractZip(pythonPath);\n else pythonExtractedFolder = await $1GQ3N.extractTar(pythonPath);\n $k1l4q.info(\"Execute installation script\");\n await $8d20fe93d0f9de85$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $1GQ3N.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $k1l4q.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $k1l4q.info(err.message);\n if (err.stack) $k1l4q.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.895b8a50.js.map\n","import { findPyPyVersion } from \"setup-python/src/find-pypy.js\"\nimport { useCpythonVersion } from \"setup-python/src/find-python.js\"\n\nimport { debug } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport { IS_MAC } from \"setup-python/src/utils.js\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\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 updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\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 (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\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' or '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 os from 'os';\nimport * 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_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 allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\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 const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\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 } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async 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 pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const 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 createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${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 includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\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(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\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, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\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\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n",null,null,null,null,"\"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",null,null,"/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\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 const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\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\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} 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 separate 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\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\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 manifest\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 const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\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 core.addPath(installDir);\n core.addPath(_binDir);\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\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\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 *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\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 ? 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 manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\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 let pythonPath = '';\n try {\n 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 } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n"],"mappings":"8mBCUA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAU,CAAC,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EAK1D,IAAAC,CAJzB,CAAAC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAG,CAACC,oBAAoB,C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AA,GAEb,GAAuB,GAAvB/E,CAAA,CAAIgF,cAAc,EAAY,GAAuB,GAAvBhF,CAAA,CAAIgF,cAAc,CAClD/D,CAAA,CAAAM,IAAA,CACE,6BAA6BvB,CAAA,CAAIgF,cAAc,4DAA4D,EAG7G/D,CAAA,CAAAM,IAAA,CAAUvB,CAAA,CAAIiF,OAAO,EAEnBjF,CAAA,CAAIkF,KAAK,EACXjE,CAAA,CAAAF,KAAA,CAAWf,CAAA,CAAIkF,KAAK,GAGlBlF,CACR,EACF,C,uTAhGA,GAAM,CAAAW,CAAA,CAAQM,CAAA,CAAA0nB,QAAA,CAAc,SACtB5oB,CAAA,CAAOY,CAAC,CAAoB,SAASA,CAAA,CAArB,OAChBT,CAAA,CAAsB,UACtB2B,CAAA,CAAqB,kBACrBV,CAAA,CAAuB,OAChBqB,CAAA,CAAe,qCAAqCtC,CAAA,IAAuB2B,CAAA,IAAsBV,CAAA,yBAA6C,E","ignoreList":[]} \ No newline at end of file diff --git a/dist/legacy/setup-cpp.js b/dist/legacy/setup-cpp.js index c66bb7bb..d3f816b4 100644 --- a/dist/legacy/setup-cpp.js +++ b/dist/legacy/setup-cpp.js @@ -1,26 +1,26 @@ #!/usr/bin/env node -let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function c(e){return e&&e.__esModule?e.default:e;}function u(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){u(e,t||{},function(e,t){e?n(e):r(t);});});}rW(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=process.cwd(),o=null!=e.options.cwd,s=o&&void 0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd);}catch(e){}try{r=rV.sync(e.command,{path:n[rY({env:n})],pathExt:t?iY.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iY.resolve(o?e.options.cwd:"",r)),r;}function f(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 d(e,t){return i5&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rq(e,t,r),i=rw.spawn(n.command,n.args,n.options);return r1.hookChildProcess(i,n),i;}function m(e={}){let{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";}function v(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function g(e){return v(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function y(e,t){if(!e)throw Error("Expected a stream");let{maxBuffer:r}=t={maxBuffer:1/0,...t},n=r7(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r8.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await o0(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new o1());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sE(e,t,r),o=sa(e,t),s=sl(e,t);sg(s,i.options),oY(i.options);try{n=c(rS).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rS).ChildProcess)();return sn(e,Promise.reject(ob({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=si(n),l=oW(n,i.options,a),u=oJ(n,i.options,l),p={isCanceled:!1};n.kill=oG.bind(null,n.kill.bind(n)),n.cancel=oV.bind(null,n,p);let f=r2(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await se(n,i.options,u),d=sw(i.options,l),h=sw(i.options,c),m=sw(i.options,f);if(e||0!==t||null!==r){let l=ob({error:e,exitCode:t,signal:r,stdout:d,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:d,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return o8(n,i.options),n.all=o5(n,i.options),oQ(n),sn(n,f),n;}function w(e,t,r){let n;let i=sE(e,t,r),o=sa(e,t),s=sl(e,t);sg(s,i.options);let a=o4(i.options);try{n=c(rS).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ob({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sw(i.options,n.stdout,n.error),u=sw(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ob({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function _(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return E(function(){if(void 0===e){let t=c(nr).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(nr).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}function b(){var e,t;return((null===(e=(t=process).getuid)||void 0===e?void 0:e.call(t))===0||!!process.env.CI)&&null!==c(nr).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sG){return b()?function(e,t){let[r,...n]=sc(e);return w(r,n,t);}(S(e,t),r):w(e,R(t),r);}function O(e,t=[],r=sG){return b()?function(e,t){let[r,...n]=sc(e);return E(r,n,t);}(S(e,t),r):E(e,R(t),r);}function S(e,t){return"sudo "+R([e,...t]).join(" ");}function R(e){return e.map(e=>`'${e}'`);}async function I(e){if(("linux"===process.platform||"darwin"===process.platform)&&b()&&void 0!==process.env.SUDO_USER){let t=c(iJ).statSync(e).isDirectory();await O("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sG);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iY.join)("/Users/",process.env.SUDO_USER):(0,iY.join)("/home/",process.env.SUDO_USER);{let e=(0,iW.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sB,t);}async function P(e){let t=void 0===e.guard?` +let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function c(e){return e&&e.__esModule?e.default:e;}function u(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){u(e,t||{},function(e,t){e?n(e):r(t);});});}rW(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=process.cwd(),o=null!=e.options.cwd,s=o&&void 0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd);}catch(e){}try{r=rV.sync(e.command,{path:n[rY({env:n})],pathExt:t?iY.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iY.resolve(o?e.options.cwd:"",r)),r;}function f(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 d(e,t){return i5&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rH(e,t,r),i=rw.spawn(n.command,n.args,n.options);return r1.hookChildProcess(i,n),i;}function m(e={}){let{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";}function v(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function g(e){return v(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function y(e,t){if(!e)throw Error("Expected a stream");let{maxBuffer:r}=t={maxBuffer:1/0,...t},n=r7(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r8.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await o0(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new o1());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sE(e,t,r),o=sa(e,t),s=sl(e,t);sg(s,i.options),oY(i.options);try{n=c(rS).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rS).ChildProcess)();return sn(e,Promise.reject(ob({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=si(n),l=oW(n,i.options,a),u=oK(n,i.options,l),p={isCanceled:!1};n.kill=oG.bind(null,n.kill.bind(n)),n.cancel=oV.bind(null,n,p);let f=r2(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await se(n,i.options,u),d=sw(i.options,l),h=sw(i.options,c),m=sw(i.options,f);if(e||0!==t||null!==r){let l=ob({error:e,exitCode:t,signal:r,stdout:d,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:d,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return o8(n,i.options),n.all=o5(n,i.options),oQ(n),sn(n,f),n;}function w(e,t,r){let n;let i=sE(e,t,r),o=sa(e,t),s=sl(e,t);sg(s,i.options);let a=o4(i.options);try{n=c(rS).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ob({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sw(i.options,n.stdout,n.error),u=sw(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ob({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function _(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return E(function(){if(void 0===e){let t=c(nr).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(nr).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}function b(){var e,t;return((null===(e=(t=process).getuid)||void 0===e?void 0:e.call(t))===0||!!process.env.CI)&&null!==c(nr).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sG){return b()?function(e,t){let[r,...n]=sc(e);return w(r,n,t);}(S(e,t),r):w(e,R(t),r);}function O(e,t=[],r=sG){return b()?function(e,t){let[r,...n]=sc(e);return E(r,n,t);}(S(e,t),r):E(e,R(t),r);}function S(e,t){return"sudo "+R([e,...t]).join(" ");}function R(e){return e.map(e=>`'${e}'`);}async function I(e){if(("linux"===process.platform||"darwin"===process.platform)&&b()&&void 0!==process.env.SUDO_USER){let t=c(iK).statSync(e).isDirectory();await O("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sG);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iY.join)("/Users/",process.env.SUDO_USER):(0,iY.join)("/home/",process.env.SUDO_USER);{let e=(0,iW.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sB,t);}async function P(e){let t=void 0===e.guard?` source "${e.rcPath}" `:` # ${e.guard} if [[ "$SOURCE_${e.guard.toUpperCase()}RC" != 0 && -f "${e.rcPath}" ]]; then source "${e.rcPath}"; fi -`;try{await Promise.all([N(e),A(t,T("~/.bashrc")),A(t,T("~/.profile"))]);}catch(e){(0,rG.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}}async function N(e){let t=void 0===e.guard?"\n# Automatically Generated by envosman\n":` +`;try{await Promise.all([A(e),N(t,T("~/.bashrc")),N(t,T("~/.profile"))]);}catch(e){(0,rG.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}}async function A(e){let t=void 0===e.guard?"\n# Automatically Generated by envosman\n":` # Automatically Generated by envosman ${e.guard} export SOURCE_${e.guard.toUpperCase()}RC=0 -`;(await(0,nG.pathExists)(e.rcPath))&&!(await sq(e.rcPath,"utf8")).includes(t)&&(await sH(e.rcPath,` +`;(await(0,nG.pathExists)(e.rcPath))&&!(await sH(e.rcPath,"utf8")).includes(t)&&(await sq(e.rcPath,` ${t} -`),(0,rG.info)(`Added ${t} to ${e.rcPath}`));}async function A(e,t){(await(0,nG.pathExists)(t))&&!(await sq(t,"utf-8")).includes(e)&&(await sH(t,e),(0,rG.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nG.pathExists)(e.rcPath)){let t=[...new Set((await sq(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sz(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sV,...r},i=function(e,t=!1){let r=t?c(nB)(e):e;return c(nH)(r,'"',"\\");}(null!=t?t:"",n.escapeSpace);try{if(rM.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rG.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rB.exportVariable)(e,i);}catch(t){(0,rG.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rG.error)(`${t} -Failed to export environment variable ${e}=${i}. You should add it manually.`);}}async function L(e,t,r){let n=null!=t?t:"";switch(process.platform){case"win32":if(!r.overwrite&&void 0!==process.env[e]){(0,rG.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rG.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sX(r),r.overwrite?(await sK(r.rcPath,` +`),(0,rG.info)(`Added ${t} to ${e.rcPath}`));}async function N(e,t){(await(0,nG.pathExists)(t))&&!(await sH(t,"utf-8")).includes(e)&&(await sq(t,e),(0,rG.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nG.pathExists)(e.rcPath)){let t=[...new Set((await sH(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sz(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sV,...r},i=function(e,t=!1){let r=t?c(nB)(e):e;return c(nq)(r,'"',"\\");}(null!=t?t:"",n.escapeSpace);try{if(rM.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rG.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rB.exportVariable)(e,i);}catch(t){(0,rG.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rG.error)(`${t} +Failed to export environment variable ${e}=${i}. You should add it manually.`);}}async function L(e,t,r){let n=null!=t?t:"";switch(process.platform){case"win32":if(!r.overwrite&&void 0!==process.env[e]){(0,rG.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rG.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sX(r),r.overwrite?(await sJ(r.rcPath,` export ${e}="${n}" -`),(0,rG.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sK(r.rcPath,` +`),(0,rG.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sJ(r.rcPath,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi `),(0,rG.info)(`if not defined ${e} then ${e}="${n}" was added to "${r.rcPath}`));return;}process.env[e]=n;}async function k(e,t={}){let r={rcPath:sV,...t};if(!function(e){if(sQ.some(t=>t.test(e))){var t,r;return(null!==(r=null===(t=process.env.PATH)||void 0===t?void 0:t.split(iY.delimiter))&&void 0!==r?r:[]).includes(e);}return!1;}(e)){process.env.PATH=`${e}${iY.delimiter}${process.env.PATH}`;try{if(rM.GITHUB_ACTIONS)try{(0,rB.addPath)(e);}catch(t){(0,rG.error)(t),await D(e,r);}else await D(e,r);}catch(t){(0,rG.error)(`${t} Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function D(e,t){switch(process.platform){case"win32":await _(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,rG.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sX(t),await sZ(t.rcPath,` export PATH="${e}:$PATH" -`),(0,rG.info)(`"${e}" was added to "${t.rcPath}"`);return;default:return;}}function j(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function F(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]e.startsWith("Status: install ok installed"));}catch{return!1;}}async function Y(e){try{let{stdout:t}=await E("dpkg",["-l",e],{env:z("apt-get"),stdio:"pipe"});if("string"!=typeof t)return!1;return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function J(e,t=X()){return(await Promise.all(e.map(e=>K(e,t)))).filter(e=>void 0!==e);}async function K(e,t=X()){let r=await Q(t,e.name,e.version);return(await W(r))?void 0:r;}async function Z(e,t,r){if(void 0!==r&&""!==r){let{stdout:n}=await E("apt-cache",["search","--names-only",`^${(0,id.default)(t)}-${(0,id.default)(r)}$`],{env:z(e),stdio:"pipe"});if(""!==n.trim())return 0;try{let{stdout:n}=await E("apt-cache",["show",`${t}=${r}`],{env:z(e)});if(""===n.trim())return 1;}catch{}}try{let{stdout:r}=await E("apt-cache",["show",t],{env:z(e),stdio:"pipe"});if(""!==r.trim())return 2;}catch{}return s2?3:(s3(e),Z(e,t,r));}async function Q(e,t,r){switch(await Z(e,t,r)){case 0:return`${t}-${r}`;case 1:return`${t}=${r}`;case 2:return void 0!==r&&""!==r&&(0,rG.warning)(`Could not find package ${t} with version ${r}. Installing the latest version.`),t;default:throw Error(`Could not find package ${t} ${null!=r?r:""}`);}}async function ee(e){s3(e);let t=await J([{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}],e);0!==t.length&&x(e,["install","-y","--fix-broken","-o",s1,...t],{...sG,env:z(e)});}async function et(e,t=X()){await s4(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sG,env:z(t)}),s3.clear(),s3(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",s1,"software-properties-common"],{...sG,env:z(e)});}async function en(e,t=!1){let r=X();for(let{name:t,version:n}of e)(0,rG.info)(`Installing ${t} ${null!=n?n:""} via ${r}`);t&&s3(r),await ei(r,e);let n=await J(e,r);if(0===n.length)return(0,rG.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s4(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sG,env:z(r)});}catch(e){if("string"==typeof e.stderr)s6.some(t=>e.stderr.includes(t))&&((0,rG.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",s1,...n],{...sG,env:z(r)}));else throw e;}return{binDir:"/usr/bin/"};}async function ei(e,t){let r=[...new Set(t.flatMap(e=>{var t;return null!==(t=e.repository)&&void 0!==t?t:[];}))];await Promise.all(r.map(t=>et(t,e)));}async function eo(e){await Promise.all(e.map(async e=>{var t;void 0!==e.key&&(await("keyUrl"in(t=e.key)?ea(t):es(t)));}));}async function es({key:e,keyServer:t=s5,fileName:r,keyStorePath:n=s5}){try{ec(r);let i=(0,iY.join)(n,r);return(await(0,nG.pathExists)(i))||(el(),await O("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+i,"--keyserver",t,"--recv-keys",e]),await O("chmod",["644",i])),i;}catch(e){(0,rG.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s8}){try{ec(t);let n=(0,iY.join)(r,t);if(!(await(0,nG.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iY.join)((0,iW.tmpdir)(),t),i=new ii.DownloaderHelper(e,(0,iW.tmpdir)(),{fileName:t});i.on("error",t=>{throw Error(`Failed to download ${e}: ${t}`);}),await i.start(),x("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--import",r]),x("chmod",["644",n]);}return n;}catch(t){(0,rG.warning)(`Failed to add apt key via download ${e}: ${t}`);return;}}function el(){x("gpg",["-k"]);}function ec(e){if(!e.endsWith(".gpg"))throw Error("Key file name must end with .gpg: "+e);}async function eu(e={}){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let r=await c(nr)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iY.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new ii.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iW.tmpdir)(),{fileName:"install-brew.sh"});return n.on("error",e=>{throw Error("Failed to download the brew installer script: "+e);}),await n.start(),w("/bin/bash",[n.getDownloadPath()],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=ep(),await k(t,e.rcOptions),{binDir:t};}function ep(){if("darwin"===process.platform)return"arm64"===process.arch?"/opt/homebrew/bin/":"/usr/local/bin/";if("linux"===process.platform)return"/home/linuxbrew/.linuxbrew/bin/";throw Error("Unsupported platform for brew");}async function ef(e,t,r={}){let n={overwrite:!0,cask:!1,args:[],...r};(0,rG.info)(`Installing ${e} ${null!=t?t:""} via brew`),s7&&null!==c(nr).sync("brew",{nothrow:!0})||(await eu(),s7=!0);let i=ep(),o=(0,iY.join)(i,"brew"),s=["install",void 0!==t&&""!==t?`${e}@${t}`:e];return n.overwrite&&s.push("--overwrite"),n.cask&&s.push("--cask"),w(o,s,{stdio:"inherit"}),{binDir:i};}function ed(){return"linux"===process.platform&&(void 0===o&&(o=null!==c(nr).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(nr).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(nr).sync("apt-get",{nothrow:!0})),a);}async function ev(e,t,n){var i;if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let o=c(nr).sync("choco",{nothrow:!0});if(null!==o)return{binDir:r=(0,im.dirname)(o)};let s="powershell.exe",a=c(nr).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==a&&(s=a),w(s,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});let l=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await k(l,lo);let u=c(nr).sync("choco",{nothrow:!0});if(r=null!==u?(0,im.dirname)(u):`${null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey"}/bin`,await(0,nG.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){var n;(0,rG.info)(`Installing ${e} ${null!=t?t:""} via chocolatey`),s9&&null!==c(nr).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s9=!0);let i=process.env.PATH,o={...process.env};if(o.TMP=void 0,o.TEMP=void 0,o.Path=void 0,o.PATH=i,void 0!==t&&""!==t)w("choco",["install","-y",e,"--version="+t,...r],{env:o,extendEnv:!1,stdio:"inherit"});else try{w("choco",["install","-y",e,...r],{env:o,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rG.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let s=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`;return await k(s,lo),{binDir:s};}async function ey(e){for(let{name:t,version:r}of e)(0,rG.info)(`Installing ${t} ${null!=r?r:""} via dnf`);return x("dnf",["-y","install",...(await Promise.all(e.map(e=>eE(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function eE(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await E("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await E("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rG.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}async function ew(e,t,r){switch(process.platform){case"win32":return eg("bazelisk",e);case"darwin":return ef("bazelisk",e);case"linux":if(eh())throw Error("installing bazel on Arch linux is not supported yet");if(ed())return await ey([{name:"dnf-plugins-core"}]),x("dnf",["copr","enable","vbatts/bazel"]),ey([{name:"bazel4"}]);if(em()){let t=await ea({fileName:"bazel-archive-keyring.gpg",keyUrl:"https://bazel.build/bazel-release.pub.gpg"});return x("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),en([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function e_(e,t,r){(0,rG.info)(`Installing ${e} ${null!=t?t:""} via pacman`);let n="pacman";if("yay"===r&&null===c(nr).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);ae||"yay"===r||(x(n,["-Sy","--noconfirm"]),ae=!0),at||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),at=!0);let i=e=>"yay"===r?w(r,["-S","--noconfirm",e]):x(null!=r?r:n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await eb(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rG.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function eb(e,t){let r=[];try{let{stdout:n}=await E(e,["-Si",t]);for(let e of n.matchAll(ar))r.push(e[1]);}catch(e){(0,rG.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||aa.arch();let n=al.join(eP(),e);if(ao.existsSync(n)){for(let e of ao.readdirSync(n))if(eI(e)){let i=al.join(n,e,t||"");ao.existsSync(i)&&ao.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eO(e){return ix(this,void 0,void 0,function*(){return e||(e=al.join(eN(),ad.default())),yield ai.mkdirP(e),e;});}function eS(e,t,r){return ix(this,void 0,void 0,function*(){let n=al.join(eP(),e,au.clean(t)||t,r||"");an.debug("destination "+n);let i=`${n}.complete`;return yield ai.rmRF(n),yield ai.rmRF(i),yield ai.mkdirP(n),n;});}function eR(e,t,r){let n=al.join(eP(),e,au.clean(t)||t,r||""),i=`${n}.complete`;ao.writeFileSync(i,""),an.debug("finished caching tool");}function eI(e){let t=au.clean(e)||"";an.debug("isExplicit: "+t);let r=null!=au.valid(t);return an.debug("explicit? "+r),r;}function eT(e,t){let r="";an.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>au.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(au.satisfies(i,t)){r=i;break;}}return r?an.debug("matched: "+r):an.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rg.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eN(){let e=process.env.RUNNER_TEMP||"";return rg.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eA(e,t){let r=rk[e];return void 0!==r?r:t;}function e$(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");let r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new ay(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current{var e;let t=(0,im.join)(null!==(e=process.env.RUNNER_TEMP)&&void 0!==e?e:(0,iW.tmpdir)(),`${Date.now()}-${(0,iY.basename)(r)}`);return(0,iy.downloadTool)(r,t);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rG.info)(e)});}async function eq(e,t,r){rM.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===rl("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,iy.cacheDir)(e,t,r));}function ez(e,t,r){var n;let i=null!==(n=c(iv)(e))&&void 0!==n?n:e;switch(t){case"win32":{let t;let n=c(ig)(i,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?n?"win32-x86":"windows-i386":n?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(ig)(i,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let n=c(ig)(i,"v3.19.8");t=["aarch64"].includes(r)?n?"Linux-aarch64":"linux-aarch64":n?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eV(e,t,r){return eG("cmake",e,ez,t,r);}function eX(e,t){return new Promise(r=>{try{let n=(0,iQ.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eW(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return c(iD)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eY(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await ik(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eW(e,r)){let e=await n(t,o);if(null!==e){if(await ik(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function eJ(e,t=aL){try{var r,n;let i=await(0,iS.getExecOutput)(e,["--version"]),o=i.stdout||i.stderr||"",s=null===(r=o.trim().match(t))||void 0===r?void 0:r[1];return null!==(n=c(iv)(s))&&void 0!==n?n:void 0;}catch(e){console.error(e);return;}}async function eK(e,t,r=aL){let n=await eJ(e,r);return void 0!==n&&""!==t&&-1!==c(iD)(n,t);}function eZ(){switch(process.platform){case"win32":default:return"17.0.6";case"linux":return"17.0.6-ubuntu-22.04";case"darwin":return"15.0.3";}}async function eQ(e,t,r){let n=await e2(e,t,r);c(rg)(void 0!==n.bin);let i=n.bin;if(void 0===(await e8(i)))throw Error("pip was not installed correctly");return await e0(i),await e1(i),n;}async function e0(e){try{if(!(await tc(e)))try{await tl(e,"pipx",void 0,{upgrade:!0,usePipx:!1});}catch(e){if(null===tm("pipx",!1))throw Error("pipx was not installed correctly "+e);}await E(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await tl(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rG.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function e1(e){try{await tl(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await tl(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rG.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function e2(e,t,r){let n;let i=await e4(t);if(void 0!==i){let e=(0,im.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rM.GITHUB_ACTIONS)try{(0,rG.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rF("eYDSL");if(await o(e,t,r),i=await e4(t),void 0===i)throw Error("Python binary could not be found");let s=(0,im.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rG.warning)(e.toString());}void 0===n&&(n=await e3(t,e));}if(void 0===i||void 0===n.bin){if(void 0===(i=await e4(t)))throw Error("Python binary could not be found");n={bin:i,installDir:(0,im.dirname)(i),binDir:(0,im.dirname)(i)};}return n;}async function e3(e,t){let r;switch(process.platform){case"win32":{e?await eg("python3",t,["--params=/InstallDir:"+e]):await eg("python3",t);let n=await e4(e);if(void 0===n)throw Error("Python binary could not be found");let i=(0,im.dirname)(n);await k(i,lo),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await ef("python3",t);let e=await E("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,im.join)(e.stdout,"libexec","bin");await k(n,lo);break;}case"linux":if(eh())r=await e_("python",t);else if(ed())r=await ey([{name:"python3",version:t}]);else if(em())r=await en([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function e4(e){for(let t of["python3","python"]){let r=await e6(t,e);if(void 0!==r)return r;}if("win32"===process.platform){let e=(0,iY.parse)((0,iW.homedir)()).root;for(let t of(await(0,ni.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,im.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{var r;if(void 0!==t){let r=(0,im.join)(t,(0,im.addExeExt)(e));if((await(0,nG.pathExists)(r))&&(await eK(r,aD.python)))return r;}for(let t of null!==(r=await c(nr)(e,{nothrow:!0,all:!0}))&&void 0!==r?r:[])if(await eK(t,aD.python))return t;}catch{}}async function e8(e){let t=await e5();return void 0===t?((0,rG.info)("pip was not found. Installing pip"),await e9(e),e5()):t;}async function e5(){for(let e of["pip3","pip"]){let t=await e7(e);if(void 0!==t)return t;}}async function e7(e){try{var t;for(let r of null!==(t=await c(nr)(e,{nothrow:!0,all:!0}))&&void 0!==t?t:[])if(await eK(r,aD.pip))return r;}catch{}}async function e9(e){(await te(e))||(await tm("pip"),await te(e));}async function te(e){try{return await E(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,rG.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rG.info)(e.toString());}}return!1;}async function tt(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,iS.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,im.join)(r,"Scripts"),(0,im.join)(r,"Scripts","bin"),(0,im.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){var n;return tn(t)&&"linux"===process.platform&&null!==r&&e in aj?function(e,t){let r=e[0],n=Object.keys(t).map(e=>Number.parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,aj[e]):tn(t)&&e in ak?null!==(n=ak[e])&&void 0!==n?n:"":"true"===t?"":null!=t?t:"";}function tn(e){return"true"===e||void 0===e;}async function ti(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{rw.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){if("Ubuntu"!==t[1])return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function to(){try{if(!em())return null;{try{null===c(nr).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,iF.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rG.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iW)&&"function"==typeof c(iW).version))return null;let e=c(iW).version().split("."),t=Number.parseInt(e[0].replace("#",""),10);return[t,Number.parseInt(e[1].replace("~",""),10),Number.parseInt(e[2].split("-")[0],10)];}async function ta(e,t,r={}){return tl(await aB(),e,t,r);}async function tl(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await tc(e)),c=l?"pipx":"pip";if(await td(e,t))try{(0,rB.info)(`Installing ${t} ${null!=r?r:""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await aM(),i.PIPX_BIN_DIR=await aG()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rB.info)(`Failed to install ${t} via ${c}: ${e}.`),(await tm(t))===null)throw Error(`Failed to install ${t} via ${c}: ${e}.`);}else if((await tm(t))===null)throw Error(`Failed to install ${t} as it was not found via ${c} or the system package manager`);let u=await aF(e),p=await th(u,t);return await k(p,lo),{binDir:p};}async function tc(e){return 0===(await E(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function tu(){let e=process.env.PIPX_HOME;if(void 0!==e)return e;let t=T("~/.local/pipx");if(await(0,nG.pathExists)(t))return t;switch(process.platform){case"win32":e=T("~/AppData/Local/pipx");break;case"darwin":e=T("~/Library/Application Support/pipx");break;default:e=T("~/.local/share/pipx");}return await aC(e),await aC((0,im.join)(e,"trash")),await aC((0,im.join)(e,"shared")),await aC((0,im.join)(e,"venv")),e;}async function tp(){if(void 0!==process.env.PIPX_BIN_DIR)return process.env.PIPX_BIN_DIR;let e=T("~/.local/bin");return await k(e,lo),await aC(e),e;}async function tf(){let e=(await eQ(tr("python",void 0,await aU()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function td(e,t){return 0===(await E(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function th(e,t){let r=(await Promise.all(e.map(e=>(0,nG.pathExists)((0,im.join)(e,(0,im.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(nr).sync((0,im.addExeExt)(t),{nothrow:!0});return null!==n?(0,im.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rB.info)(`Installing ${e} via the system package manager`),eh())return e_(t?"python-"+e:e);if(ed())return ey([{name:t?"python3-"+e:e}]);if(em())return en([{name:t?"python3-"+e:e}]);}return null;}async function tv(e,t,r){switch(process.platform){case"win32":return await eg("cppcheck",e),{binDir:await tg()};case"darwin":return ef("cppcheck",e);case"linux":if(eh())return e_("cppcheck",e);if(ed())return ey([{name:"ccache",version:e}]);if(em())return en([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tg(){let e="C:/Program Files/Cppcheck";return await k(e,lo),e;}async function ty(e,t,r){switch(process.platform){case"win32":return await eg("graphviz",e),tE();case"darwin":return ef("graphviz",e);case"linux":if(eh())return e_("graphviz",e);if(ed())return ey([{name:"graphviz",version:e}]);if(em())return en([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tE(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await k(e,lo),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rF("bCzkE"),n=new r(e);await n.read(async e=>{await e.extract((0,iY.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}case"darwin":{let t="Doxygen-"+e;return{binRelativeDir:"Doxygen/Doxygen.app/Contents/Resources/",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:tw,url:`https://doxygen.nl/files/${t}.dmg`};}default:throw Error(`Unsupported platform '${t}'`);}}async function tb(e,t,r){switch(process.platform){case"win32":{await c(iA)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rG.info)(e)});let t=await tx();return await ty(tr("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await ef("doxygen",void 0);return aq()[0]>11&&(await ty(tr("graphviz",void 0),"",r)),e;}case"linux":{let n;if(""===e||eh()||ed()){if(eh())n=await e_("doxygen",e);else if(ed())return ey([{name:"doxygen",version:e}]);else if(em())n=await en([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(em())try{n=await eG("doxygen",e,t_,t,r);try{await en([{name:"libclang-cpp9"}]);}catch(e){(0,rG.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rG.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await en([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await ty(tr("graphviz",void 0,await aU()),"",r),n;}default:throw Error("Unsupported platform");}}async function tx(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nG.pathExists)((0,im.join)(e,"doxygen.exe")))return await k(e,lo),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tO(){if("darwin"===process.platform)try{let e=await(0,iS.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),lo):(0,rG.error)("SDKROOT not set");}catch(e){(0,rG.error)(e);}}async function tS(e){return JSON.parse(await(0,ni.readFile)(e,"utf-8"));}async function tR(e,t,r){if("win32"===t){let t=function(e,t){let r,n=Object.keys(e);if(void 0!==t.filterTag&&(n=n.filter(t.filterTag)),0===n.length)throw Error("no tag found for version "+t.version);for(let e of n)if(e.startsWith(t.version)){r=e;break;}if(void 0===r)throw Error(`version ${t.version} is not supported`);let i=e[r];if(void 0!==t.filterName&&(i=i.filter(t.filterName)),0===i.length)throw Error(`no asset found for version ${t.version} and arch ${t.arch}`);if(void 0===t.arch)return{tag:r,name:i[0]};for(let e of i)if(e.includes(t.arch))return{tag:r,name:e};throw Error(`arch ${t.arch} could not be found among ${JSON.stringify(i)}`);}(await tS((0,im.join)(iM,"github_brechtsanders_winlibs_mingw.json")),{version:e,arch:"x64"===r?"x86_64":"ia32"===r?"i386":r,filterName:e=>e.endsWith(".7z")});return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.tag}/${t.name}`};}throw Error(`Unsupported platform '${t}'`);}async function tI(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await eg("gcc-arm-embedded",e));try{i=await eG("g++",e,tR,t,r);}catch(t){(0,rG.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tP(e,r);}break;case"darwin":i=await ef("gcc",e);break;case"linux":"x64"===r?eh()?i=await e_("gcc",e):ed()?i=await ey([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):em()&&(i=""===e?await en([{name:"gcc"},{name:"g++"}]):await en([{name:"gcc",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}},{name:"g++",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])):((0,rG.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?i=await e_("gcc-multilib",e):em()&&(i=""===e?await en([{name:"gcc-multilib"}]):await en([{name:"gcc-multilib",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await tN(e,i.binDir,n),i;}async function tT(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tI(e,t,r);case"linux":eh()?n=await e_("mingw-w64-gcc",e):ed()?n=await ey([{name:"mingw64-gcc",version:e}]):em()&&(n=await en([{name:"mingw-w64",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tP(e,t){var r,n;let i;if(await eg("mingw",e),"x64"===t&&(await(0,nG.pathExists)("C:/tools/mingw64/bin"))?(i="C:/tools/mingw64/bin",await k(i,lo)):"ia32"===t&&(await(0,nG.pathExists)("C:/tools/mingw32/bin"))?(i="C:/tools/mingw32/bin",await k(i,lo)):(await(0,nG.pathExists)(`${null!==(r=process.env.ChocolateyInstall)&&void 0!==r?r:"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(i=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`),void 0!==i)return{binDir:i};}async function tN(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,im.addExeExt)(`${t}/gcc`),lo),C("CXX",(0,im.addExeExt)(`${t}/g++`),lo));else{var i;let o=e;""===e&&(o=await tA(t,o),(0,rG.info)("Using gcc version "+o));let s=c(iU)(null!==(i=c(iv)(o))&&void 0!==i?i:o);s>=5?(n.push(C("CC",`${t}/gcc-${s}`,lo),C("CXX",`${t}/g++-${s}`,lo)),em()&&n.push(q("cc",`${t}/gcc-${s}`,lo,r),q("cxx",`${t}/g++-${s}`,lo,r),q("gcc",`${t}/gcc-${s}`,lo,r),q("g++",`${t}/g++-${s}`,lo,r))):(n.push(C("CC",`${t}/gcc-${o}`,lo),C("CXX",`${t}/g++-${o}`,lo)),em()&&n.push(q("cc",`${t}/gcc-${o}`,lo,r),q("cxx",`${t}/g++-${o}`,lo,r),q("gcc",`${t}/gcc-${o}`,lo,r),q("g++",`${t}/g++-${o}`,lo,r)));}n.push(tO()),rM.GITHUB_ACTIONS&&(await t$()),await Promise.all(n);}async function tA(e,t){try{let r="gcc";if(await(0,nG.pathExists)(`${e}/gcc`))r=`${e}/gcc`;else for(let t of(await(0,ni.readdir)(e)).sort((e,t)=>{var r,n;let i=(null===(r=e.match(/^gcc-?(.*)(\.exe)?$/))||void 0===r?void 0:r[1])||"",o=(null===(n=t.match(/^gcc-?(.*)(\.exe)?$/))||void 0===n?void 0:n[1])||"";return function(e,t){let r=c(iv)(e),n=c(iv)(t);return null!==r&&null!==n?n.compare(r):t.localeCompare(e);}(i,o);}))if(t.startsWith("gcc")){r=`${e}/${t}`;break;}let{stdout:n}=await E(r,["--version"],{stdio:"pipe"}),i=n.match(/gcc.* \(.*\) ([\d.]+)/);if(null!==i)return i[1];return(0,rG.warning)("Failed to parse gcc version from: "+n),t;}catch(e){return(0,rG.error)("Failed to get gcc version: "+e),t;}}async function t$(){let e=(0,im.join)(iM,"gcc_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}function tC(e,t,r){let n=function(e){switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`);}}(t);return{binRelativeDir:"",binFileName:(0,im.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tL(e,t,r){return eG("ninja",e,tC,t,r);}function tk(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,im.addExeExt)("kcov")};}function tD(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,im.addExeExt)("kcov"),extractFunction:tj};}async function tj(e,t){let r=await eU(e,t,1),n=await tF();"linux"===process.platform&&(eh()?await Promise.all([e_("libdwarf"),e_("libcurl-openssl")]):ed()?await ey([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):em()&&(await en([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==c(nr).sync("patch",{nothrow:!0})){let e=(0,im.join)(iG,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rG.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,im.join)(r,"build");return await E(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await E(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function tF(){let e=c(nr).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eV(tr("cmake",void 0,await aU()),(0,im.join)(T("~"),"cmake"),"");e=(0,im.join)(t,"cmake");}return null===c(nr).sync("ninja",{nothrow:!0})&&(await tL(tr("ninja",void 0,await aU()),(0,im.join)(T("~"),"ninja"),"")),e;}async function tU(e,t,r){var n;let i;if("linux"!==process.platform){(0,rG.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=Number.parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await eG("kcov",s,tk,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tD,t,r),i;}function tM(e){if(Object.values(aQ).includes(e));else if(e in aQ)return aQ[e];return e;}function tG(e){let t;let r=tM(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return rw.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rB.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iJ.existsSync(n))return rB.info("Found with vswhere: "+n),n;rB.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aQ).includes(e));else for(let[t,r]of Object.entries(aQ))if(r===e)return t;return e;}(e)]:aZ;for(let e of aJ)for(let t of i)for(let r of aK)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rB.info("Trying standard location: "+n),iJ.existsSync(n))return rB.info("Found standard location: "+n),n;if(rB.info("Not found in standard locations"),n=`${aY}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iJ.existsSync(n))return rB.info("Found VS 2015: "+n),n;throw rB.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tB(e,t,r,n,i,o,s){void 0!==t&&(await(0,nG.pathExists)(t))&&((0,rG.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,lo)),await iq(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tH(e,t,r,n,i,o,s,a=a1){(0,rB.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(aW(e)),e.addEventListener("abort",()=>{l(aW(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new az();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(c.message=null!=o?o:`Promise timed out after ${n} milliseconds`,l(c));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}).finally(()=>{a.clear();});return a.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},a;}(tq(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rG.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rG.error)(t.stack),s.push(`${e} failed to install`);}return(0,rB.endGroup)(),l;}async function tq(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tB(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:lo});else{let o=(0,im.join)(i,a?"llvm":e),l=tr(e,t,r),c=lr[e];s=await c(l,o,n);}return o.push(rc(e,s)),a;}async function tz(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new ii.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iW.tmpdir)(),{fileName:"llvm.sh"});n.on("error",e=>{throw Error("Failed to download the LLVM installer script: "+e);}),await n.start();let i=await(0,ni.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iY.join)((0,iW.tmpdir)(),"llvm-setup-cpp.sh"),s=await tV(i,o,e,t);return await en(s),await(0,ni.chmod)(o,"755"),await O("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a1}),await k(`${r}/bin`,lo),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tV(e,t,r,n){var i,o,s,a,l;let c=(i=e,"1"!==process.env.NODE_DEBUG&&"true"!==process.env.NODE_DEBUG?i.replace(/set -eux/g,"set -eu"):i);return o=n,s=c=c.replace(/add-apt-repository "\${REPO_NAME}"/g,`add-apt-repository -y -n "\${REPO_NAME}" -apt-get update -o ${s1} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tX(c),c=V()?l.replace(/apt-get/g,"nala"):l,await(0,ni.writeFile)(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tX(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${s1} -y --fix-broken`);return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await Y(r))&&((0,rL.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tW(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tY(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tJ(e){let t;if(a3.has(e))return null;let r="LLVM-",n=c(ig)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(ig)(e,"9.0.1"),o=!1;return i&&(t=tY(e,r,n),(await ik(t))||(o=!0)),(o||!i)&&(t=tW(e,r,n)),t;}function tK(e,t){switch(e){case"darwin":return function(e){if(a4.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return c(ig)(e,"9.0.1")?tY(e,r,n):tW(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a6.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a2.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a2,e)[0];}else""!==n&&n in a8?t=a8[n]:(t=a8[a5],(0,rG.warning)(`Falling back to LLVM version ${a5} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,c(ig)(n,"9.0.1"))?tY(n,o,r):tW(n,o,r);}(t);case"win32":return tJ(t);default:return null;}}async function tZ(e,t,r){let[n,i]=await eY(a2,t,e,tK);return(0,rG.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,im.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eU(e,t,1)};}async function tQ(e,t,r){var n;let i=await a7(e,t,r);return await t4(null!==(n=i.installDir)&&void 0!==n?n:t),i;}async function t0(e,t,r){let[n,i]=await Promise.all([t1(e,t,r),t6()]);return await le(r),n;}async function t1(e,t,r,n=iz.All){let i=Number.parseInt(function(e){if(null===c(ij)(e))try{let t=c(iv)(e);if(null!==t)return(0,rG.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tz(i,n);}catch(e){(0,rG.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tZ,t,r);return await a9(i),o;}async function t2(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t3(e){"linux"===process.platform&&(await tI(tr("gcc",void 0,await aU()),"",e,40));}async function t4(e){var t,r;let n=null!==(t=process.env.LD_LIBRARY_PATH)&&void 0!==t?t:"",i=null!==(r=process.env.DYLD_LIBRARY_PATH)&&void 0!==r?r:"",o=[C("LLVM_PATH",e,lo),C("LD_LIBRARY_PATH",`${e}/lib${iY.delimiter}${n}`,lo),C("DYLD_LIBRARY_PATH",`${e}/lib${iY.delimiter}${i}`,lo),C("LDFLAGS",`-L"${e}/lib"`,lo),C("CPPFLAGS",`-I"${e}/include"`,lo),C("CC",(0,im.addExeExt)(`${e}/bin/clang`),lo),C("CXX",(0,im.addExeExt)(`${e}/bin/clang++`),lo),C("LIBRARY_PATH",`${e}/lib`,lo),tO()];em()&&o.push(q("cc",`${e}/bin/clang`,lo,60),q("cxx",`${e}/bin/clang++`,lo,60),q("clang",`${e}/bin/clang`,lo),q("clang++",`${e}/bin/clang++`,lo),q("lld",`${e}/bin/lld`,lo),q("ld.lld",`${e}/bin/ld.lld`,lo),q("llvm-ar",`${e}/bin/llvm-ar`,lo)),await Promise.all(o);}async function t6(){if(rM.GITHUB_ACTIONS){let e=(0,im.join)(iV,"llvm_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}}async function t8(e,t,r){switch(process.platform){case"win32":return eg("make",e);case"darwin":return await ef("make",e),await k("/usr/local/opt/make/libexec/gnubin",lo),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(eh())return e_("make",e);if(ed())return ey([{name:"make",version:e}]);if(em())return en([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function t5(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iB(e);(0,rG.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iH(l);c=!0,(0,rG.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!c)try{"14.0"===l?(s="14.0",await eg("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await eg("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await eg("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await eg("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,rG.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rG.error)(e);}await tB(l,a,r,s,n,i,o),rM.GITHUB_ACTIONS&&(await t7());}async function t7(){let e=(0,im.join)(iX,"msvc_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}async function t9(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(nr).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,im.dirname)(n)};await en([{name:"python3-apt"}]),i="/usr/bin";try{let t=await K({name:"nala",version:e});if(void 0!==t)return await en([{name:t}]),{binDir:i};}catch(e){(0,rG.info)("Failed to install nala: "+e);}try{let e=await K({name:"nala-legacy"});if(void 0!==e)return await en([{name:e}],!0),{binDir:i};}catch(e){(0,rG.info)("Failed to install nala-legacy: "+e);}return await re(),{binDir:i};}async function re(){let e=new ii.DownloaderHelper("https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",(0,iW.tmpdir)(),{fileName:"install-nala.sh"});e.on("error",e=>{throw Error("Failed to download install-nala.sh: "+e);}),await e.start();let t=(0,im.join)((0,iW.tmpdir)(),"install-nala.sh"),r=await(0,ni.readFile)(t,"utf8");await(0,ni.writeFile)(t,r.replace(/sudo/g,"")),await en([{name:"wget"}]);try{x("bash",[t]);}catch(e){(0,rG.error)("Failed to install nala via installer: "+e),x("apt",["install","-y","-t","nala","nala"]);}}async function rt(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await rr()};}async function rr(){let e="C:/Program Files/OpenCppCoverage";return await k(e,lo),e;}function rn(e,t,r){return{url:function(e,t,r){switch(e){case"win32":{let e=["ia32","x86","i386","x32"].includes(t)?"win-x86":"win-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/PowerShell-${r}-${e}.zip`;}case"darwin":{let e=["arm","arm64"].includes(t)?"osx-arm64":"osx-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${e}.tar.gz`;}case"linux":{var n;let e=null!==(n={arm64:"linux-arm64",arm:"linux-arm64",arm32:"linux-arm32",aarch64:"linux-arm64",x64:"linux-x64"}[t])&&void 0!==n?n:"linux-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${e}.tar.gz`;}default:throw Error(`Unsupported platform '${e}'`);}}(t,r,e),binRelativeDir:"",binFileName:(0,im.addExeExt)("pwsh"),extractedFolderName:""};}async function ri(e,t,r){try{return await eG("pwsh",e,rn,t,r);}catch(n){return(0,rG.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),ro(e,t,r);}}async function ro(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,lo),{binDir:t};}case"darwin":return ef("powershell",e,{cask:!0,overwrite:!1});case"linux":if(eh())return e_("powershell-bin",e,"yay");if(ed())return await ey([{name:"curl"}]),x("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),ey([{name:"powershell",version:e}]);if(em()){await en([{name:"curl"}]);let t=await aU(),r=`${t[0]}.0${t[1]}`;return x("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),x("dpkg",["-i","packages-microsoft-prod.deb"]),en([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function rs(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t?"zip":"tar.gz";return{binRelativeDir:"",binFileName:(0,im.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ra(e,t,r){return lt&&null!==c(nr).sync("vcpkg",{nothrow:!0})?{binDir:(0,im.dirname)(c(nr).sync("vcpkg"))}:("linux"===process.platform&&(eh()?await Promise.all([e_("curl"),e_("zip"),e_("unzip"),e_("tar"),e_("git"),e_("pkg-config")]):ed()?await ey([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):em()&&(await en([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nG.pathExists)((0,im.join)(t,(0,im.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rG.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,im.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rG.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,im.addShExt)((0,im.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,lo),lt=!0,{binDir:t});}function rl(e){let t=(0,rB.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function rc(e,t){let r=`\u{2705} ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r;}async function ru(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==c(ij)(e)||(0,rG.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rB.startGroup)(`Installing ${a} ${null!=l?l:""}`),a){case"llvm":case"clang":case"clang++":{let e=await tQ(tr("llvm",l,t),(0,iY.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",lo),i.push(rc("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?tr("mingw",l,t):tr("gcc",l,t),s="mingw"===a?await tT(e,(0,iY.join)(r,"gcc"),n):await tI(e,(0,iY.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",lo)),await function(e){let t=c(ij)(e),r=null!==t?c(iU)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",lo);}(e),i.push(rc("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t5(tr("msvc",l,t),(0,iY.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",lo)),i.push(rc("msvc",e));break;}case"appleclang":case"applellvm":(0,rB.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",lo),C("CXX","clang++",lo)]),i.push(rc("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rG.error)(t),s.push("Failed to install the "+e);}(0,rB.endGroup)();}async function rp(e){var t,r,n;let i,o,s=Promise.resolve();rM.GITHUB_ACTIONS||(s=U(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let a=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;let f=void 0!==t.alias,d=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=M(t.string),t.boolean=M(t.boolean),f)for(r in t.alias)for(l=0,n=t.alias[r]=M(t.alias[r]);l0;)for(c=(n=t.alias[t.boolean[l]]||[]).length;c-->0;)t.boolean.push(n[c]);for(l=t.string.length;l-->0;)for(c=(n=t.alias[t.string[l]]||[]).length;c-->0;)t.string.push(n[c]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(c=0;c0;)a[n.shift()]=a[r];return a;}(e,{string:[...li,"timeout"],default:Object.fromEntries(li.map(e=>[e,rl(e)])),alias:{h:"help"},boolean:"help"});a.help&&((0,rG.info)(` +`));}function z(e){let t={...process.env,DEBIAN_FRONTEND:"noninteractive"};return"nala"===e&&(void 0===t.LANG&&(t.LANG="C.UTF-8"),void 0===t.LC_ALL&&(t.LC_ALL="C.UTF-8")),t;}function V(){return null!==c(nr).sync("nala",{nothrow:!0});}function X(){let e;return V()?"nala":"apt-get";}async function W(e){try{let{stdout:t}=await E("dpkg",["-s",e],{env:z("apt-get"),stdio:"pipe"});if("string"!=typeof t)return!1;return t.split("\n").some(e=>e.startsWith("Status: install ok installed"));}catch{return!1;}}async function Y(e){try{let{stdout:t}=await E("dpkg",["-l",e],{env:z("apt-get"),stdio:"pipe"});if("string"!=typeof t)return!1;return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function K(e,t=X()){return(await Promise.all(e.map(e=>J(e,t)))).filter(e=>void 0!==e);}async function J(e,t=X()){let r=await Q(t,e.name,e.version);return(await W(r))?void 0:r;}async function Z(e,t,r){if(void 0!==r&&""!==r){let{stdout:n}=await E("apt-cache",["search","--names-only",`^${(0,id.default)(t)}-${(0,id.default)(r)}$`],{env:z(e),stdio:"pipe"});if(""!==n.trim())return 0;try{let{stdout:n}=await E("apt-cache",["show",`${t}=${r}`],{env:z(e)});if(""===n.trim())return 1;}catch{}}try{let{stdout:r}=await E("apt-cache",["show",t],{env:z(e),stdio:"pipe"});if(""!==r.trim())return 2;}catch{}return s2?3:(s3(e),Z(e,t,r));}async function Q(e,t,r){switch(await Z(e,t,r)){case 0:return`${t}-${r}`;case 1:return`${t}=${r}`;case 2:return void 0!==r&&""!==r&&(0,rG.warning)(`Could not find package ${t} with version ${r}. Installing the latest version.`),t;default:throw Error(`Could not find package ${t} ${null!=r?r:""}`);}}async function ee(e){s3(e);let t=await K([{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}],e);0!==t.length&&x(e,["install","-y","--fix-broken","-o",s1,...t],{...sG,env:z(e)});}async function et(e,t=X()){await s4(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sG,env:z(t)}),s3.clear(),s3(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",s1,"software-properties-common"],{...sG,env:z(e)});}async function en(e,t=!1){let r=X();for(let{name:t,version:n}of e)(0,rG.info)(`Installing ${t} ${null!=n?n:""} via ${r}`);t&&s3(r),await ei(r,e);let n=await K(e,r);if(0===n.length)return(0,rG.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s4(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sG,env:z(r)});}catch(e){if("string"==typeof e.stderr)s6.some(t=>e.stderr.includes(t))&&((0,rG.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",s1,...n],{...sG,env:z(r)}));else throw e;}return{binDir:"/usr/bin/"};}async function ei(e,t){let r=[...new Set(t.flatMap(e=>{var t;return null!==(t=e.repository)&&void 0!==t?t:[];}))];await Promise.all(r.map(t=>et(t,e)));}async function eo(e){await Promise.all(e.map(async e=>{var t;void 0!==e.key&&(await("keyUrl"in(t=e.key)?ea(t):es(t)));}));}async function es({key:e,keyServer:t=s5,fileName:r,keyStorePath:n=s5}){try{ec(r);let i=(0,iY.join)(n,r);return(await(0,nG.pathExists)(i))||(el(),await O("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+i,"--keyserver",t,"--recv-keys",e]),await O("chmod",["644",i])),i;}catch(e){(0,rG.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s8}){try{ec(t);let n=(0,iY.join)(r,t);if(!(await(0,nG.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iY.join)((0,iW.tmpdir)(),t),i=new ii.DownloaderHelper(e,(0,iW.tmpdir)(),{fileName:t});i.on("error",t=>{throw Error(`Failed to download ${e}: ${t}`);}),await i.start(),x("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--import",r]),x("chmod",["644",n]);}return n;}catch(t){(0,rG.warning)(`Failed to add apt key via download ${e}: ${t}`);return;}}function el(){x("gpg",["-k"]);}function ec(e){if(!e.endsWith(".gpg"))throw Error("Key file name must end with .gpg: "+e);}async function eu(e={}){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let r=await c(nr)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iY.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new ii.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iW.tmpdir)(),{fileName:"install-brew.sh"});return n.on("error",e=>{throw Error("Failed to download the brew installer script: "+e);}),await n.start(),w("/bin/bash",[n.getDownloadPath()],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=ep(),await k(t,e.rcOptions),{binDir:t};}function ep(){if("darwin"===process.platform)return"arm64"===process.arch?"/opt/homebrew/bin/":"/usr/local/bin/";if("linux"===process.platform)return"/home/linuxbrew/.linuxbrew/bin/";throw Error("Unsupported platform for brew");}async function ef(e,t,r={}){let n={overwrite:!0,cask:!1,args:[],...r};(0,rG.info)(`Installing ${e} ${null!=t?t:""} via brew`),s7&&null!==c(nr).sync("brew",{nothrow:!0})||(await eu(),s7=!0);let i=ep(),o=(0,iY.join)(i,"brew"),s=["install",void 0!==t&&""!==t?`${e}@${t}`:e];return n.overwrite&&s.push("--overwrite"),n.cask&&s.push("--cask"),w(o,s,{stdio:"inherit"}),{binDir:i};}function ed(){return"linux"===process.platform&&(void 0===o&&(o=null!==c(nr).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(nr).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(nr).sync("apt-get",{nothrow:!0})),a);}async function ev(e,t,n){var i;if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let o=c(nr).sync("choco",{nothrow:!0});if(null!==o)return{binDir:r=(0,im.dirname)(o)};let s="powershell.exe",a=c(nr).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==a&&(s=a),w(s,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});let l=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await k(l,lc);let u=c(nr).sync("choco",{nothrow:!0});if(r=null!==u?(0,im.dirname)(u):`${null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey"}/bin`,await(0,nG.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){var n;(0,rG.info)(`Installing ${e} ${null!=t?t:""} via chocolatey`),s9&&null!==c(nr).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s9=!0);let i=process.env.PATH,o={...process.env};if(o.TMP=void 0,o.TEMP=void 0,o.Path=void 0,o.PATH=i,void 0!==t&&""!==t)w("choco",["install","-y",e,"--version="+t,...r],{env:o,extendEnv:!1,stdio:"inherit"});else try{w("choco",["install","-y",e,...r],{env:o,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rG.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let s=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`;return await k(s,lc),{binDir:s};}async function ey(e){for(let{name:t,version:r}of e)(0,rG.info)(`Installing ${t} ${null!=r?r:""} via dnf`);return x("dnf",["-y","install",...(await Promise.all(e.map(e=>eE(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function eE(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await E("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await E("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rG.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}async function ew(e,t,r){switch(process.platform){case"win32":return eg("bazelisk",e);case"darwin":return ef("bazelisk",e);case"linux":if(eh())throw Error("installing bazel on Arch linux is not supported yet");if(ed())return await ey([{name:"dnf-plugins-core"}]),x("dnf",["copr","enable","vbatts/bazel"]),ey([{name:"bazel4"}]);if(em()){let t=await ea({fileName:"bazel-archive-keyring.gpg",keyUrl:"https://bazel.build/bazel-release.pub.gpg"});return x("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),en([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function e_(e,t,r){(0,rG.info)(`Installing ${e} ${null!=t?t:""} via pacman`);let n="pacman";if("yay"===r&&null===c(nr).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);ae||"yay"===r||(x(n,["-Sy","--noconfirm"]),ae=!0),at||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),at=!0);let i=e=>"yay"===r?w(r,["-S","--noconfirm",e]):x(null!=r?r:n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await eb(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rG.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function eb(e,t){let r=[];try{let{stdout:n}=await E(e,["-Si",t]);for(let e of n.matchAll(ar))r.push(e[1]);}catch(e){(0,rG.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||aa.arch();let n=al.join(eP(),e);if(ao.existsSync(n)){for(let e of ao.readdirSync(n))if(eI(e)){let i=al.join(n,e,t||"");ao.existsSync(i)&&ao.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eO(e){return ix(this,void 0,void 0,function*(){return e||(e=al.join(eA(),ad.default())),yield ai.mkdirP(e),e;});}function eS(e,t,r){return ix(this,void 0,void 0,function*(){let n=al.join(eP(),e,au.clean(t)||t,r||"");an.debug("destination "+n);let i=`${n}.complete`;return yield ai.rmRF(n),yield ai.rmRF(i),yield ai.mkdirP(n),n;});}function eR(e,t,r){let n=al.join(eP(),e,au.clean(t)||t,r||""),i=`${n}.complete`;ao.writeFileSync(i,""),an.debug("finished caching tool");}function eI(e){let t=au.clean(e)||"";an.debug("isExplicit: "+t);let r=null!=au.valid(t);return an.debug("explicit? "+r),r;}function eT(e,t){let r="";an.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>au.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(au.satisfies(i,t)){r=i;break;}}return r?an.debug("matched: "+r):an.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rg.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eA(){let e=process.env.RUNNER_TEMP||"";return rg.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eN(e,t){let r=rk[e];return void 0!==r?r:t;}function e$(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");let r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new ay(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current{var e;let t=(0,im.join)(null!==(e=process.env.RUNNER_TEMP)&&void 0!==e?e:(0,iW.tmpdir)(),`${Date.now()}-${(0,iY.basename)(r)}`);return(0,iy.downloadTool)(r,t);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rG.info)(e)});}async function eH(e,t,r){rM.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===rl("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,iy.cacheDir)(e,t,r));}function ez(e,t,r){var n;let i=null!==(n=c(iv)(e))&&void 0!==n?n:e;switch(t){case"win32":{let t;let n=c(ig)(i,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?n?"win32-x86":"windows-i386":n?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(ig)(i,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let n=c(ig)(i,"v3.19.8");t=["aarch64"].includes(r)?n?"Linux-aarch64":"linux-aarch64":n?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eV(e,t,r){return eG("cmake",e,ez,t,r);}function eX(e,t){return new Promise(r=>{try{let n=(0,iQ.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eW(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return c(iD)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eY(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await ik(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eW(e,r)){let e=await n(t,o);if(null!==e){if(await ik(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function eK(e,t=aL){try{var r,n;let i=await(0,iS.getExecOutput)(e,["--version"]),o=i.stdout||i.stderr||"",s=null===(r=o.trim().match(t))||void 0===r?void 0:r[1];return null!==(n=c(iv)(s))&&void 0!==n?n:void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=aL){let n=await eK(e,r);return void 0!==n&&""!==t&&-1!==c(iD)(n,t);}function eZ(){switch(process.platform){case"win32":default:return"17.0.6";case"linux":return"17.0.6-ubuntu-22.04";case"darwin":return"15.0.3";}}async function eQ(e,t,r){let n=await e2(e,t,r);c(rg)(void 0!==n.bin);let i=n.bin;if(void 0===(await e8(i)))throw Error("pip was not installed correctly");return await e0(i),await e1(i),n;}async function e0(e){try{if(!(await tc(e)))try{await tl(e,"pipx",void 0,{upgrade:!0,usePipx:!1});}catch(e){if(null===tm("pipx",!1))throw Error("pipx was not installed correctly "+e);}await E(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await tl(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rG.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function e1(e){try{await tl(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await tl(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rG.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function e2(e,t,r){let n;let i=await e4(t);if(void 0!==i){let e=(0,im.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rM.GITHUB_ACTIONS)try{(0,rG.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rF("3LAPQ");if(await o(e,t,r),i=await e4(t),void 0===i)throw Error("Python binary could not be found");let s=(0,im.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rG.warning)(e.toString());}void 0===n&&(n=await e3(t,e));}if(void 0===i||void 0===n.bin){if(void 0===(i=await e4(t)))throw Error("Python binary could not be found");n={bin:i,installDir:(0,im.dirname)(i),binDir:(0,im.dirname)(i)};}return n;}async function e3(e,t){let r;switch(process.platform){case"win32":{e?await eg("python3",t,["--params=/InstallDir:"+e]):await eg("python3",t);let n=await e4(e);if(void 0===n)throw Error("Python binary could not be found");let i=(0,im.dirname)(n);await k(i,lc),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await ef("python3",t);let e=await E("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,im.join)(e.stdout,"libexec","bin");await k(n,lc);break;}case"linux":if(eh())r=await e_("python",t);else if(ed())r=await ey([{name:"python3",version:t}]);else if(em())r=await en([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function e4(e){for(let t of["python3","python"]){let r=await e6(t,e);if(void 0!==r)return r;}if("win32"===process.platform){let e=(0,iY.parse)((0,iW.homedir)()).root;for(let t of(await(0,ni.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,im.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{var r;if(void 0!==t){let r=(0,im.join)(t,(0,im.addExeExt)(e));if((await(0,nG.pathExists)(r))&&(await eJ(r,aD.python)))return r;}for(let t of null!==(r=await c(nr)(e,{nothrow:!0,all:!0}))&&void 0!==r?r:[])if(await eJ(t,aD.python))return t;}catch{}}async function e8(e){let t=await e5();return void 0===t?((0,rG.info)("pip was not found. Installing pip"),await e9(e),e5()):t;}async function e5(){for(let e of["pip3","pip"]){let t=await e7(e);if(void 0!==t)return t;}}async function e7(e){try{var t;for(let r of null!==(t=await c(nr)(e,{nothrow:!0,all:!0}))&&void 0!==t?t:[])if(await eJ(r,aD.pip))return r;}catch{}}async function e9(e){(await te(e))||(await tm("pip"),await te(e));}async function te(e){try{return await E(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,rG.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rG.info)(e.toString());}}return!1;}async function tt(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,iS.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,im.join)(r,"Scripts"),(0,im.join)(r,"Scripts","bin"),(0,im.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){var n;return tn(t)&&"linux"===process.platform&&null!==r&&e in aj?function(e,t){let r=e[0],n=Object.keys(t).map(e=>Number.parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,aj[e]):tn(t)&&e in ak?null!==(n=ak[e])&&void 0!==n?n:"":"true"===t?"":null!=t?t:"";}function tn(e){return"true"===e||void 0===e;}async function ti(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{rw.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){if("Ubuntu"!==t[1])return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function to(){try{if(!em())return null;{try{null===c(nr).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,iF.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rG.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iW)&&"function"==typeof c(iW).version))return null;let e=c(iW).version().split("."),t=Number.parseInt(e[0].replace("#",""),10);return[t,Number.parseInt(e[1].replace("~",""),10),Number.parseInt(e[2].split("-")[0],10)];}async function ta(e,t,r={}){return tl(await aB(),e,t,r);}async function tl(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await tc(e)),c=l?"pipx":"pip";if(await td(e,t))try{(0,rB.info)(`Installing ${t} ${null!=r?r:""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await aM(),i.PIPX_BIN_DIR=await aG()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rB.info)(`Failed to install ${t} via ${c}: ${e}.`),(await tm(t))===null)throw Error(`Failed to install ${t} via ${c}: ${e}.`);}else if((await tm(t))===null)throw Error(`Failed to install ${t} as it was not found via ${c} or the system package manager`);let u=await aF(e),p=await th(u,t);return await k(p,lc),{binDir:p};}async function tc(e){return 0===(await E(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function tu(){let e=process.env.PIPX_HOME;if(void 0!==e)return e;let t=T("~/.local/pipx");if(await(0,nG.pathExists)(t))return t;switch(process.platform){case"win32":e=T("~/AppData/Local/pipx");break;case"darwin":e=T("~/Library/Application Support/pipx");break;default:e=T("~/.local/share/pipx");}return await aC(e),await aC((0,im.join)(e,"trash")),await aC((0,im.join)(e,"shared")),await aC((0,im.join)(e,"venv")),e;}async function tp(){if(void 0!==process.env.PIPX_BIN_DIR)return process.env.PIPX_BIN_DIR;let e=T("~/.local/bin");return await k(e,lc),await aC(e),e;}async function tf(){let e=(await eQ(tr("python",void 0,await aU()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function td(e,t){return 0===(await E(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function th(e,t){let r=(await Promise.all(e.map(e=>(0,nG.pathExists)((0,im.join)(e,(0,im.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(nr).sync((0,im.addExeExt)(t),{nothrow:!0});return null!==n?(0,im.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rB.info)(`Installing ${e} via the system package manager`),eh())return e_(t?"python-"+e:e);if(ed())return ey([{name:t?"python3-"+e:e}]);if(em())return en([{name:t?"python3-"+e:e}]);}return null;}async function tv(e,t,r){switch(process.platform){case"win32":return await eg("cppcheck",e),{binDir:await tg()};case"darwin":return ef("cppcheck",e);case"linux":if(eh())return e_("cppcheck",e);if(ed())return ey([{name:"ccache",version:e}]);if(em())return en([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tg(){let e="C:/Program Files/Cppcheck";return await k(e,lc),e;}async function ty(e,t,r){switch(process.platform){case"win32":return await eg("graphviz",e),tE();case"darwin":return ef("graphviz",e);case"linux":if(eh())return e_("graphviz",e);if(ed())return ey([{name:"graphviz",version:e}]);if(em())return en([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tE(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await k(e,lc),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rF("byH4M"),n=new r(e);await n.read(async e=>{await e.extract((0,iY.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}case"darwin":{let t="Doxygen-"+e;return{binRelativeDir:"Doxygen/Doxygen.app/Contents/Resources/",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:tw,url:`https://doxygen.nl/files/${t}.dmg`};}default:throw Error(`Unsupported platform '${t}'`);}}async function tb(e,t,r){switch(process.platform){case"win32":{await c(iN)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rG.info)(e)});let t=await tx();return await ty(tr("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await ef("doxygen",void 0);return aH()[0]>11&&(await ty(tr("graphviz",void 0),"",r)),e;}case"linux":{let n;if(""===e||eh()||ed()){if(eh())n=await e_("doxygen",e);else if(ed())return ey([{name:"doxygen",version:e}]);else if(em())n=await en([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(em())try{n=await eG("doxygen",e,t_,t,r);try{await en([{name:"libclang-cpp9"}]);}catch(e){(0,rG.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rG.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await en([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await ty(tr("graphviz",void 0,await aU()),"",r),n;}default:throw Error("Unsupported platform");}}async function tx(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nG.pathExists)((0,im.join)(e,"doxygen.exe")))return await k(e,lc),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tO(){if("darwin"===process.platform)try{let e=await(0,iS.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),lc):(0,rG.error)("SDKROOT not set");}catch(e){(0,rG.error)(e);}}async function tS(e){return JSON.parse(await(0,ni.readFile)(e,"utf-8"));}async function tR(e,t,r){if("win32"===t){let t=function(e,t){let r,n=Object.keys(e);if(void 0!==t.filterTag&&(n=n.filter(t.filterTag)),0===n.length)throw Error("no tag found for version "+t.version);for(let e of n)if(e.startsWith(t.version)){r=e;break;}if(void 0===r)throw Error(`version ${t.version} is not supported`);let i=e[r];if(void 0!==t.filterName&&(i=i.filter(t.filterName)),0===i.length)throw Error(`no asset found for version ${t.version} and arch ${t.arch}`);if(void 0===t.arch)return{tag:r,name:i[0]};for(let e of i)if(e.includes(t.arch))return{tag:r,name:e};throw Error(`arch ${t.arch} could not be found among ${JSON.stringify(i)}`);}(await tS((0,im.join)(az,"github_brechtsanders_winlibs_mingw.json")),{version:e,arch:"x64"===r?"x86_64":"ia32"===r?"i386":r,filterName:e=>e.endsWith(".7z")});return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.tag}/${t.name}`};}throw Error(`Unsupported platform '${t}'`);}async function tI(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await eg("gcc-arm-embedded",e));try{i=await eG("g++",e,tR,t,r);}catch(t){(0,rG.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tP(e,r);}break;case"darwin":i=await ef("gcc",e);break;case"linux":"x64"===r?eh()?i=await e_("gcc",e):ed()?i=await ey([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):em()&&(i=""===e?await en([{name:"gcc"},{name:"g++"}]):await en([{name:"gcc",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}},{name:"g++",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])):((0,rG.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?i=await e_("gcc-multilib",e):em()&&(i=""===e?await en([{name:"gcc-multilib"}]):await en([{name:"gcc-multilib",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await tA(e,i.binDir,n),i;}async function tT(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tI(e,t,r);case"linux":eh()?n=await e_("mingw-w64-gcc",e):ed()?n=await ey([{name:"mingw64-gcc",version:e}]):em()&&(n=await en([{name:"mingw-w64",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tP(e,t){var r,n;let i;if(await eg("mingw",e),"x64"===t&&(await(0,nG.pathExists)("C:/tools/mingw64/bin"))?(i="C:/tools/mingw64/bin",await k(i,lc)):"ia32"===t&&(await(0,nG.pathExists)("C:/tools/mingw32/bin"))?(i="C:/tools/mingw32/bin",await k(i,lc)):(await(0,nG.pathExists)(`${null!==(r=process.env.ChocolateyInstall)&&void 0!==r?r:"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(i=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`),void 0!==i)return{binDir:i};}async function tA(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,im.addExeExt)(`${t}/gcc`),lc),C("CXX",(0,im.addExeExt)(`${t}/g++`),lc));else{var i;let o=e;""===e&&(o=await tN(t,o),(0,rG.info)("Using gcc version "+o));let s=c(iU)(null!==(i=c(iv)(o))&&void 0!==i?i:o);s>=5?(n.push(C("CC",`${t}/gcc-${s}`,lc),C("CXX",`${t}/g++-${s}`,lc)),em()&&n.push(H("cc",`${t}/gcc-${s}`,lc,r),H("cxx",`${t}/g++-${s}`,lc,r),H("gcc",`${t}/gcc-${s}`,lc,r),H("g++",`${t}/g++-${s}`,lc,r))):(n.push(C("CC",`${t}/gcc-${o}`,lc),C("CXX",`${t}/g++-${o}`,lc)),em()&&n.push(H("cc",`${t}/gcc-${o}`,lc,r),H("cxx",`${t}/g++-${o}`,lc,r),H("gcc",`${t}/gcc-${o}`,lc,r),H("g++",`${t}/g++-${o}`,lc,r)));}n.push(tO()),rM.GITHUB_ACTIONS&&(await t$()),await Promise.all(n);}async function tN(e,t){try{let r="gcc";if(await(0,nG.pathExists)(`${e}/gcc`))r=`${e}/gcc`;else for(let t of(await(0,ni.readdir)(e)).sort((e,t)=>{var r,n,i,o;let s=null!==(i=null===(r=e.match(/^gcc-?(.*)(\.exe)?$/))||void 0===r?void 0:r[1])&&void 0!==i?i:"",a=null!==(o=null===(n=t.match(/^gcc-?(.*)(\.exe)?$/))||void 0===n?void 0:n[1])&&void 0!==o?o:"";return function(e,t){let r=c(iv)(e),n=c(iv)(t);return null!==r&&null!==n?n.compare(r):t.localeCompare(e);}(s,a);}))if(t.startsWith("gcc")){r=`${e}/${t}`;break;}let{stdout:n}=await E(r,["--version"],{stdio:"pipe"}),i=n.match(/gcc.* \(.*\) ([\d.]+)/);if(null!==i)return i[1];return(0,rG.warning)("Failed to parse gcc version from: "+n),t;}catch(e){return(0,rG.error)("Failed to get gcc version: "+e),t;}}async function t$(){let e=(0,im.join)(az,"gcc_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}function tC(e,t,r){let n=function(e){switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`);}}(t);return{binRelativeDir:"",binFileName:(0,im.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tL(e,t,r){return eG("ninja",e,tC,t,r);}function tk(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,im.addExeExt)("kcov")};}function tD(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,im.addExeExt)("kcov"),extractFunction:tj};}async function tj(e,t){let r=await eU(e,t,1),n=await tF();"linux"===process.platform&&(eh()?await Promise.all([e_("libdwarf"),e_("libcurl-openssl")]):ed()?await ey([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):em()&&(await en([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==c(nr).sync("patch",{nothrow:!0})){let e=(0,im.join)(aV,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rG.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,im.join)(r,"build");return await E(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await E(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function tF(){let e=c(nr).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eV(tr("cmake",void 0,await aU()),(0,im.join)(T("~"),"cmake"),"");e=(0,im.join)(t,"cmake");}return null===c(nr).sync("ninja",{nothrow:!0})&&(await tL(tr("ninja",void 0,await aU()),(0,im.join)(T("~"),"ninja"),"")),e;}async function tU(e,t,r){var n;let i;if("linux"!==process.platform){(0,rG.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=Number.parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await eG("kcov",s,tk,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tD,t,r),i;}function tM(e){if(Object.values(a1).includes(e));else if(e in a1)return a1[e];return e;}function tG(e){let t;let r=tM(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return rw.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rB.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iK.existsSync(n))return rB.info("Found with vswhere: "+n),n;rB.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(a1).includes(e));else for(let[t,r]of Object.entries(a1))if(r===e)return t;return e;}(e)]:a0;for(let e of aZ)for(let t of i)for(let r of aQ)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rB.info("Trying standard location: "+n),iK.existsSync(n))return rB.info("Found standard location: "+n),n;if(rB.info("Not found in standard locations"),n=`${aJ}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iK.existsSync(n))return rB.info("Found VS 2015: "+n),n;throw rB.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tB(e,t,r,n,i,o,s){void 0!==t&&(await(0,nG.pathExists)(t))&&((0,rG.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,lc)),await iH(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tq(e,t,r,n,i,o,s,a=a3){(0,rB.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(aK(e)),e.addEventListener("abort",()=>{l(aK(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aX();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(c.message=null!=o?o:`Promise timed out after ${n} milliseconds`,l(c));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}).finally(()=>{a.clear();});return a.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},a;}(tH(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rG.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rG.error)(t.stack),s.push(`${e} failed to install`);}return(0,rB.endGroup)(),l;}async function tH(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tB(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:lc});else{let o=(0,im.join)(i,a?"llvm":e),l=tr(e,t,r),c=ls[e];s=await c(l,o,n);}return o.push(rc(e,s)),a;}async function tz(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new ii.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iW.tmpdir)(),{fileName:"llvm.sh"});n.on("error",e=>{throw Error("Failed to download the LLVM installer script: "+e);}),await n.start();let i=await(0,ni.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iY.join)((0,iW.tmpdir)(),"llvm-setup-cpp.sh"),s=await tV(i,o,e,t);return await en(s),await(0,ni.chmod)(o,"755"),await O("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a3}),await k(`${r}/bin`,lc),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tV(e,t,r,n){var i,o,s,a,l;let c=(i=e,"1"!==process.env.NODE_DEBUG&&"true"!==process.env.NODE_DEBUG?i.replace(/set -eux/g,"set -eu"):i);return o=n,s=c=c.replace(/add-apt-repository "\${REPO_NAME}"/g,`add-apt-repository -y -n "\${REPO_NAME}" +apt-get update -o ${s1} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tX(c),c=V()?l.replace(/apt-get/g,"nala"):l,await(0,ni.writeFile)(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tX(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${s1} -y --fix-broken`);return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await Y(r))&&((0,rL.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tW(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tY(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tK(e){let t;if(a6.has(e))return null;let r="LLVM-",n=c(ig)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(ig)(e,"9.0.1"),o=!1;return i&&(t=tY(e,r,n),(await ik(t))||(o=!0)),(o||!i)&&(t=tW(e,r,n)),t;}function tJ(e,t){switch(e){case"darwin":return function(e){if(a8.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return c(ig)(e,"9.0.1")?tY(e,r,n):tW(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a5.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a4.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a4,e)[0];}else""!==n&&n in a7?t=a7[n]:(t=a7[a9],(0,rG.warning)(`Falling back to LLVM version ${a9} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,c(ig)(n,"9.0.1"))?tY(n,o,r):tW(n,o,r);}(t);case"win32":return tK(t);default:return null;}}async function tZ(e,t,r){let[n,i]=await eY(a4,t,e,tJ);return(0,rG.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,im.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eU(e,t,1)};}async function tQ(e,t,r){var n;let i=await lt(e,t,r);return await t4(null!==(n=i.installDir)&&void 0!==n?n:t),i;}async function t0(e,t,r){let[n,i]=await Promise.all([t1(e,t,r),t6()]);return await ln(r),n;}async function t1(e,t,r,n=iz.All){let i=Number.parseInt(function(e){if(null===c(ij)(e))try{let t=c(iv)(e);if(null!==t)return(0,rG.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tz(i,n);}catch(e){(0,rG.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tZ,t,r);return await lr(i),o;}async function t2(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t3(e){"linux"===process.platform&&(await tI(tr("gcc",void 0,await aU()),"",e,40));}async function t4(e){var t,r;let n=null!==(t=process.env.LD_LIBRARY_PATH)&&void 0!==t?t:"",i=null!==(r=process.env.DYLD_LIBRARY_PATH)&&void 0!==r?r:"",o=[C("LLVM_PATH",e,lc),C("LD_LIBRARY_PATH",`${e}/lib${iY.delimiter}${n}`,lc),C("DYLD_LIBRARY_PATH",`${e}/lib${iY.delimiter}${i}`,lc),C("LDFLAGS",`-L"${e}/lib"`,lc),C("CPPFLAGS",`-I"${e}/include"`,lc),C("CC",(0,im.addExeExt)(`${e}/bin/clang`),lc),C("CXX",(0,im.addExeExt)(`${e}/bin/clang++`),lc),C("LIBRARY_PATH",`${e}/lib`,lc),tO()];em()&&o.push(H("cc",`${e}/bin/clang`,lc,60),H("cxx",`${e}/bin/clang++`,lc,60),H("clang",`${e}/bin/clang`,lc),H("clang++",`${e}/bin/clang++`,lc),H("lld",`${e}/bin/lld`,lc),H("ld.lld",`${e}/bin/ld.lld`,lc),H("llvm-ar",`${e}/bin/llvm-ar`,lc)),await Promise.all(o);}async function t6(){if(rM.GITHUB_ACTIONS){let e=(0,im.join)(le,"llvm_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}}async function t8(e,t,r){switch(process.platform){case"win32":return eg("make",e);case"darwin":return await ef("make",e),await k("/usr/local/opt/make/libexec/gnubin",lc),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(eh())return e_("make",e);if(ed())return ey([{name:"make",version:e}]);if(em())return en([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function t5(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iB(e);(0,rG.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iq(l);c=!0,(0,rG.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!c)try{"14.0"===l?(s="14.0",await eg("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await eg("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await eg("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await eg("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,rG.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rG.error)(e);}await tB(l,a,r,s,n,i,o),rM.GITHUB_ACTIONS&&(await t7());}async function t7(){let e=(0,im.join)(li,"msvc_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}async function t9(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(nr).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,im.dirname)(n)};await en([{name:"python3-apt"}]),i="/usr/bin";try{let t=await J({name:"nala",version:e});if(void 0!==t)return await en([{name:t}]),{binDir:i};}catch(e){(0,rG.info)("Failed to install nala: "+e);}try{let e=await J({name:"nala-legacy"});if(void 0!==e)return await en([{name:e}],!0),{binDir:i};}catch(e){(0,rG.info)("Failed to install nala-legacy: "+e);}return await re(),{binDir:i};}async function re(){let e=new ii.DownloaderHelper("https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",(0,iW.tmpdir)(),{fileName:"install-nala.sh"});e.on("error",e=>{throw Error("Failed to download install-nala.sh: "+e);}),await e.start();let t=(0,im.join)((0,iW.tmpdir)(),"install-nala.sh"),r=await(0,ni.readFile)(t,"utf8");await(0,ni.writeFile)(t,r.replace(/sudo/g,"")),await en([{name:"wget"}]);try{x("bash",[t]);}catch(e){(0,rG.error)("Failed to install nala via installer: "+e),x("apt",["install","-y","-t","nala","nala"]);}}async function rt(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await rr()};}async function rr(){let e="C:/Program Files/OpenCppCoverage";return await k(e,lc),e;}function rn(e,t,r){return{url:function(e,t,r){switch(e){case"win32":{let e=["ia32","x86","i386","x32"].includes(t)?"win-x86":"win-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/PowerShell-${r}-${e}.zip`;}case"darwin":{let e=["arm","arm64"].includes(t)?"osx-arm64":"osx-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${e}.tar.gz`;}case"linux":{var n;let e=null!==(n={arm64:"linux-arm64",arm:"linux-arm64",arm32:"linux-arm32",aarch64:"linux-arm64",x64:"linux-x64"}[t])&&void 0!==n?n:"linux-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${e}.tar.gz`;}default:throw Error(`Unsupported platform '${e}'`);}}(t,r,e),binRelativeDir:"",binFileName:(0,im.addExeExt)("pwsh"),extractedFolderName:""};}async function ri(e,t,r){try{return await eG("pwsh",e,rn,t,r);}catch(n){return(0,rG.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),ro(e,t,r);}}async function ro(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,lc),{binDir:t};}case"darwin":return ef("powershell",e,{cask:!0,overwrite:!1});case"linux":if(eh())return e_("powershell-bin",e,"yay");if(ed())return await ey([{name:"curl"}]),x("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),ey([{name:"powershell",version:e}]);if(em()){await en([{name:"curl"}]);let t=await aU(),r=`${t[0]}.0${t[1]}`;return x("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),x("dpkg",["-i","packages-microsoft-prod.deb"]),en([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function rs(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t?"zip":"tar.gz";return{binRelativeDir:"",binFileName:(0,im.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ra(e,t,r){return lo&&null!==c(nr).sync("vcpkg",{nothrow:!0})?{binDir:(0,im.dirname)(c(nr).sync("vcpkg"))}:("linux"===process.platform&&(eh()?await Promise.all([e_("curl"),e_("zip"),e_("unzip"),e_("tar"),e_("git"),e_("pkg-config")]):ed()?await ey([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):em()&&(await en([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nG.pathExists)((0,im.join)(t,(0,im.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rG.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,im.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rG.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,im.addShExt)((0,im.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,lc),lo=!0,{binDir:t});}function rl(e){let t=(0,rB.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function rc(e,t){let r=`\u{2705} ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r;}async function ru(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==c(ij)(e)||(0,rG.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rB.startGroup)(`Installing ${a} ${null!=l?l:""}`),a){case"llvm":case"clang":case"clang++":{let e=await tQ(tr("llvm",l,t),(0,iY.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",lc),i.push(rc("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?tr("mingw",l,t):tr("gcc",l,t),s="mingw"===a?await tT(e,(0,iY.join)(r,"gcc"),n):await tI(e,(0,iY.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",lc)),await function(e){let t=c(ij)(e),r=null!==t?c(iU)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",lc);}(e),i.push(rc("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t5(tr("msvc",l,t),(0,iY.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",lc)),i.push(rc("msvc",e));break;}case"appleclang":case"applellvm":(0,rB.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",lc),C("CXX","clang++",lc)]),i.push(rc("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rG.error)(t),s.push("Failed to install the "+e);}(0,rB.endGroup)();}async function rp(e){var t,r,n;let i,o,s=Promise.resolve();rM.GITHUB_ACTIONS||(s=U(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let a=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;let f=void 0!==t.alias,d=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=M(t.string),t.boolean=M(t.boolean),f)for(r in t.alias)for(l=0,n=t.alias[r]=M(t.alias[r]);l0;)for(c=(n=t.alias[t.boolean[l]]||[]).length;c-->0;)t.boolean.push(n[c]);for(l=t.string.length;l-->0;)for(c=(n=t.alias[t.string[l]]||[]).length;c-->0;)t.string.push(n[c]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(c=0;c0;)a[n.shift()]=a[r];return a;}(e,{string:[...ll,"timeout"],default:Object.fromEntries(ll.map(e=>[e,rl(e)])),alias:{h:"help"},boolean:"help"});a.help&&((0,rG.info)(` setup-cpp [options] setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -33,13 +33,13 @@ Install all the tools required for building and testing C++/C projects. --$tool_name pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1" All the available tools: -`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--ccache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let l=null!==(t=a.architecture)&&void 0!==t?t:process.arch,u=null!==(r=process.env.SETUP_CPP_DIR)&&void 0!==r?r:T("~"),p=[],f=[],d=nV.create({autoloadLocales:!0});nV.addLocale(c(nX)),nq.addLocale(c(nz));let h=await aU();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!tn(e[t])),i=n.length>=1?e[n[0]]:"true";if(n.some(t=>e[t]!==i))return!1;for(let t of r)e[t]=i;return!0;}(a,["llvm","clangtidy","clangformat"]))return(0,rG.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof a.cppcheck&&"string"==typeof a.gcovr&&((0,rG.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await e_("python-pygments"));let m=!1,v=!1;for(let e of ln){if(rM.isCI&&0!==f.length){v=!0;break;}let t=a[e];void 0!==t&&(i=Date.now(),m=await tH(e,t,h,l,u,p,f,6e4*Number.parseFloat(null!==(n=a.timeout)&&void 0!==n?n:"20")),o=Date.now(),(0,rG.info)("took "+(d.format(i,o)||"0 seconds")));}if(!v){let e=a.compiler;if(void 0!==e){let t=Date.now();await ru(e,h,u,l,p,m,f);let r=Date.now();(0,rG.info)("took "+(d.format(t,r)||"0 seconds"));}}if(await $(lo),0===p.length&&0===f.length)return(0,rG.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of p)(0,rG.success)(e);for(let e of f)(0,rG.error)(e);if((0,rG.info)("setup-cpp finished"),!rM.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rG.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rG.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await s,0===f.length?0:1;}var rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rO,rS,rR,rI,rT,rP,rN,rA,r$,rC,rL,rk,rD,rj,rF,rU,rM,rG,rB,rH,rq,rz,rV,rX,rW,rY,rJ,rK,rZ,rQ,r0,r1,r2,r3,r4,r6,r8,r5,r7,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nf,nd,nh,nm,nv,ng,ny,nE,nw,n_,nb,nx,nO,nS,nR,nI,nT,nP,nN,nA,n$,nC,nL,nk,nD,nj,nF,nU,nM,nG,nB,nH,nq,nz,nV,nX,nW,nY,nJ,nK,nZ,nQ,n0,n1,n2,n3,n4,n6,n8,n5,n7,n9,ie,it,ir,ii,io,is,ia,il,ic,iu,ip,id,ih,im,iv,ig,iy,iE,iw,i_,ib,ix,iO,iS,iR,iI,iT,iP,iN,iA,i$,iC,iL,ik,iD,ij,iF,iU,iM,iG,iB,iH,iq,iz,iV,iX,iW=require("os"),iY=require("path"),iJ=require("fs"),iK=require("crypto"),iZ=require("http"),iQ=require("https");require("net"),rm=require("tls"),rv=require("events"),rg=require("assert"),ry=require("util"),rE=require("fs"),rw=require("child_process"),r_=require("string_decoder"),rb=require("timers"),rx=require("buffer"),rO=require("path"),rS=require("child_process"),rR=require("process"),rI=require("url"),rT=require("os"),rP=require("buffer"),rN=require("stream"),rA=require("util"),r$=require("process"),rC=require("url"),rL=require("console"),rD={},rj={},null==(rF=(rk=globalThis).parcelRequire810d)&&((rF=function(e){if(e in rD)return rD[e].exports;if(e in rj){var t=rj[e];delete rj[e];var r={id:e,exports:{}};return rD[e]=r,t.call(r.exports,r,r.exports),r.exports;}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n;}).register=function(e,t){rj[e]=t;},rk.parcelRequire810d=rF),(rU=rF.register)("dKklS",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rF("ksAXT");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(e){return n(e);});if(e.exports[t.constant]=r,r)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rU("ksAXT",function(e,t){e.exports=JSON.parse('[{"name":"Agola CI","constant":"AGOLA","env":"AGOLA_GIT_REF","pr":"AGOLA_PULL_REQUEST_ID"},{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"TF_BUILD","pr":{"BUILD_REASON":"PullRequest"}},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Earthly","constant":"EARTHLY","env":"EARTHLY_CI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"Gitea Actions","constant":"GITEA_ACTIONS","env":"GITEA_ACTIONS"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Prow","constant":"PROW","env":"PROW_JOB_ID"},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vela","constant":"VELA","env":"VELA","pr":{"VELA_PULL_REQUEST":"1"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]},"pr":"VERCEL_GIT_PULL_REQUEST_ID"},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rU("pcnv8",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function c(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>c),r=rF("k1l4q"),n=rF("dKklS");}),rU("k1l4q",function(e,t){var r,n,i,o,s,a,l,c,u,p,f,d;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function v(e){s.issue("group",e);}function g(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0,s=rF("ekchs"),a=rF("lyZGK"),l=rF("iYcPV");let y=i(iW),E=i(iY);c=rF("dqF37"),(d=u=e.exports.ExitCode||(e.exports.ExitCode={}))[d.Success=0]="Success",d[d.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${E.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(y.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=u.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+y.EOL);},e.exports.startGroup=v,e.exports.endGroup=g,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;v(e);try{r=yield t();}finally{g();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield c.OidcClient.getIDToken(e);});},p=rF("1mzjm"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rF("1mzjm"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rF("31rWp"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return f.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return f.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return f.toPlatformPath;}});}),rU("ekchs",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(iW);o=rF("iYcPV"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rU("iYcPV",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rU("lyZGK",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(iJ),l=i(iW);o=rF("bTj1Z"),s=rF("iYcPV"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rU("bTj1Z",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rF("5x7Ba"),n=rF("FUqvx"),i=function(e,t,i){let o=(e=e||{}).random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rU("5x7Ba",function(e,t){function r(){return i>n.length-16&&(c(iK).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rU("FUqvx",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rF("kYWmF");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rU("kYWmF",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rF("1J9r9"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rU("1J9r9",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;}),rU("dqF37",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rF("3bZps"),i=rF("f85aw"),o=rF("k1l4q");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e;}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e;}static getCall(e){var t;return r(this,void 0,void 0,function*(){let r=s.createHttpClient(),n=null===(t=(yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. +`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--ccache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let l=null!==(t=a.architecture)&&void 0!==t?t:process.arch,u=null!==(r=process.env.SETUP_CPP_DIR)&&void 0!==r?r:T("~"),p=[],f=[],d=nV.create({autoloadLocales:!0});nV.addLocale(c(nX)),nH.addLocale(c(nz));let h=await aU();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!tn(e[t])),i=n.length>=1?e[n[0]]:"true";if(n.some(t=>e[t]!==i))return!1;for(let t of r)e[t]=i;return!0;}(a,["llvm","clangtidy","clangformat"]))return(0,rG.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof a.cppcheck&&"string"==typeof a.gcovr&&((0,rG.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await e_("python-pygments"));let m=!1,v=!1;for(let e of la){if(rM.isCI&&0!==f.length){v=!0;break;}let t=a[e];void 0!==t&&(i=Date.now(),m=await tq(e,t,h,l,u,p,f,6e4*Number.parseFloat(null!==(n=a.timeout)&&void 0!==n?n:"20")),o=Date.now(),(0,rG.info)("took "+(d.format(i,o)||"0 seconds")));}if(!v){let e=a.compiler;if(void 0!==e){let t=Date.now();await ru(e,h,u,l,p,m,f);let r=Date.now();(0,rG.info)("took "+(d.format(t,r)||"0 seconds"));}}if(await $(lc),0===p.length&&0===f.length)return(0,rG.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of p)(0,rG.success)(e);for(let e of f)(0,rG.error)(e);if((0,rG.info)("setup-cpp finished"),!rM.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rG.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rG.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await s,0===f.length?0:1;}var rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rO,rS,rR,rI,rT,rP,rA,rN,r$,rC,rL,rk,rD,rj,rF,rU,rM,rG,rB,rq,rH,rz,rV,rX,rW,rY,rK,rJ,rZ,rQ,r0,r1,r2,r3,r4,r6,r8,r5,r7,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nf,nd,nh,nm,nv,ng,ny,nE,nw,n_,nb,nx,nO,nS,nR,nI,nT,nP,nA,nN,n$,nC,nL,nk,nD,nj,nF,nU,nM,nG,nB,nq,nH,nz,nV,nX,nW,nY,nK,nJ,nZ,nQ,n0,n1,n2,n3,n4,n6,n8,n5,n7,n9,ie,it,ir,ii,io,is,ia,il,ic,iu,ip,id,ih,im,iv,ig,iy,iE,iw,i_,ib,ix,iO,iS,iR,iI,iT,iP,iA,iN,i$,iC,iL,ik,iD,ij,iF,iU,iM,iG,iB,iq,iH,iz,iV,iX,iW=require("os"),iY=require("path"),iK=require("fs"),iJ=require("crypto"),iZ=require("http"),iQ=require("https");require("net"),rm=require("tls"),rv=require("events"),rg=require("assert"),ry=require("util"),rE=require("fs"),rw=require("child_process"),r_=require("string_decoder"),rb=require("timers"),rx=require("buffer"),rO=require("path"),rS=require("child_process"),rR=require("process"),rI=require("url"),rT=require("os"),rP=require("buffer"),rA=require("stream"),rN=require("util"),r$=require("process"),rC=require("url"),rL=require("console"),rD={},rj={},null==(rF=(rk=globalThis).parcelRequire810d)&&((rF=function(e){if(e in rD)return rD[e].exports;if(e in rj){var t=rj[e];delete rj[e];var r={id:e,exports:{}};return rD[e]=r,t.call(r.exports,r,r.exports),r.exports;}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n;}).register=function(e,t){rj[e]=t;},rk.parcelRequire810d=rF),(rU=rF.register)("dKklS",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rF("ksAXT");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(e){return n(e);});if(e.exports[t.constant]=r,r)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rU("ksAXT",function(e,t){e.exports=JSON.parse('[{"name":"Agola CI","constant":"AGOLA","env":"AGOLA_GIT_REF","pr":"AGOLA_PULL_REQUEST_ID"},{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"TF_BUILD","pr":{"BUILD_REASON":"PullRequest"}},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Earthly","constant":"EARTHLY","env":"EARTHLY_CI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"Gitea Actions","constant":"GITEA_ACTIONS","env":"GITEA_ACTIONS"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Prow","constant":"PROW","env":"PROW_JOB_ID"},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vela","constant":"VELA","env":"VELA","pr":{"VELA_PULL_REQUEST":"1"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]},"pr":"VERCEL_GIT_PULL_REQUEST_ID"},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rU("pcnv8",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function c(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>c),r=rF("k1l4q"),n=rF("dKklS");}),rU("k1l4q",function(e,t){var r,n,i,o,s,a,l,c,u,p,f,d;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function v(e){s.issue("group",e);}function g(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0,s=rF("ekchs"),a=rF("lyZGK"),l=rF("iYcPV");let y=i(iW),E=i(iY);c=rF("dqF37"),(d=u=e.exports.ExitCode||(e.exports.ExitCode={}))[d.Success=0]="Success",d[d.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${E.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(y.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=u.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+y.EOL);},e.exports.startGroup=v,e.exports.endGroup=g,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;v(e);try{r=yield t();}finally{g();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield c.OidcClient.getIDToken(e);});},p=rF("1mzjm"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rF("1mzjm"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rF("31rWp"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return f.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return f.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return f.toPlatformPath;}});}),rU("ekchs",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(iW);o=rF("iYcPV"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rU("iYcPV",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rU("lyZGK",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(iK),l=i(iW);o=rF("bTj1Z"),s=rF("iYcPV"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rU("bTj1Z",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rF("5x7Ba"),n=rF("FUqvx"),i=function(e,t,i){let o=(e=e||{}).random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rU("5x7Ba",function(e,t){function r(){return i>n.length-16&&(c(iJ).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rU("FUqvx",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rF("kYWmF");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rU("kYWmF",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rF("1J9r9"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rU("1J9r9",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;}),rU("dqF37",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rF("8mOIr"),i=rF("xKNr1"),o=rF("k1l4q");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e;}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e;}static getCall(e){var t;return r(this,void 0,void 0,function*(){let r=s.createHttpClient(),n=null===(t=(yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. Error Code : ${e.statusCode} - Error Message: ${e.message}`);})).result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rU("3bZps",function(e,t){var r,n,i,o,s,a,l,c,u;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r];}}),Object.defineProperty(e,n,i);}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;let p=i(iZ),f=i(iQ),d=i(rF("iZzl4")),h=i(rF("bbp3j"));(c=s||(e.exports.HttpCodes=s={}))[c.OK=200]="OK",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.ResourceMoved=302]="ResourceMoved",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.SwitchProxy=306]="SwitchProxy",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.TooManyRequests=429]="TooManyRequests",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",(u=a||(e.exports.Headers=a={})).Accept="accept",u.ContentType="content-type",(l||(e.exports.MediaTypes=l={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=d.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],v=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype);}}e.exports.HttpClientError=y;class E{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(this,void 0,void 0,function*(){let t=Buffer.alloc(0);this.message.on("data",e=>{t=Buffer.concat([t,e]);}),this.message.on("end",()=>{e(t.toString());});}));});}readBodyBuffer(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(this,void 0,void 0,function*(){let t=[];this.message.on("data",e=>{t.push(e);}),this.message.on("end",()=>{e(Buffer.concat(t));});}));});}}e.exports.HttpClientResponse=E,e.exports.isHttps=function(e){return"https:"===new URL(e).protocol;},e.exports.HttpClient=class{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries));}options(e,t){return o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&g.includes(e)?this._maxRetries+1:1,c=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!v.includes(i.message.statusCode))break;(c+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(e,t){o||(o=!0,r(e,t));}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1,s=e.httpModule.request(e.options,e=>{i(void 0,new E(e));});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}getAgentDispatcher(e){return o(this,void 0,void 0,function*(){let t=new URL(e),r=d.getProxyUrl(t);if(r&&r.hostname)return yield this._getProxyAgentDispatcher(t,r);});}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?f:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=d.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),n||(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new f.Agent(e):new p.Agent(e),this._agent=t;}return i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_getProxyAgentDispatcher(e,t){return o(this,void 0,void 0,function*(){let r;if(this._keepAlive&&(r=this._proxyAgentDispatcher),r)return r;let n="https:"===e.protocol;return r=new(yield Promise.resolve().then(function(){return rF("4vDZ9");}).then(e=>i(e)))(Object.assign({uri:t.href,pipelining:this._keepAlive?1:0},(t.username||t.password)&&{token:"Basic "+Buffer.from(`${t.username}:${t.password}`).toString("base64")})),this._proxyAgentDispatcher=r,n&&this._ignoreSslError&&(r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:!1})),r;});}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){let t=5*Math.pow(2,e=Math.min(10,e));return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new y(i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rU("iZzl4",function(e,t){function r(e){let t;if(!e.hostname)return!1;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(e.hostname))return!0;let 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 n=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&n.push(`${n[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||n.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let i=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(i)try{return new n(i);}catch(e){if(!i.startsWith("http://")&&!i.startsWith("https://"))return new n("http://"+i);}},e.exports.checkBypass=r;class n extends URL{constructor(e,t){super(e,t),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password);}get username(){return this._decodedUsername;}get password(){return this._decodedPassword;}}}),rU("bbp3j",function(e,t){e.exports=rF("fNJ5J");}),rU("fNJ5J",function(e,t){var r,n,i,o,s,a;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||iZ.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=f({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=rm.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function f(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new c(e);return t.request=iZ.request,t;},n=function(e){var t=new c(e);return t.request=iZ.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iQ.request,t;},o=function(e){var t=new c(e);return t.request=iQ.request,t.createSocket=u,t.defaultPort=443,t;},ry.inherits(c,rv.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=f({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n);}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t);});},c.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var c=Error("tunneling socket could not be established, statusCode="+r.statusCode);c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var c=Error("got illegal response body from proxy");c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=f({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),o.removeSocket(s);}),i.end();},c.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,function(e){r.request.onSocket(e);});}},process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?a=function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:a=function(){},s=a;}),rU("4vDZ9",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.5536f8bd.js")).then(()=>rF("5IibL"));}),rU("f85aw",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token;}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}};}),rU("1mzjm",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;let{access:n,appendFile:i,writeFile:o}=iJ.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,iJ.constants.R_OK|iJ.constants.W_OK);}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`);}return this._filePath=t,this._filePath;});}wrap(e,t,r={}){let n=Object.entries(r).map(([e,t])=>` ${e}="${t}"`).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`;}write(e){return r(this,void 0,void 0,function*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer();});}clear(){return r(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0});});}stringify(){return this._buffer;}isEmptyBuffer(){return 0===this._buffer.length;}emptyBuffer(){return this._buffer="",this;}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this;}addEOL(){return this.addRaw(iW.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rU("31rWp",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(iY);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rU("ftrAD",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;ni),l(e.exports,"lstat",()=>p),l(e.exports,"mkdir",()=>f),l(e.exports,"open",()=>h),l(e.exports,"readdir",()=>m),l(e.exports,"readFile",()=>v),l(e.exports,"readlink",()=>g),l(e.exports,"stat",()=>_),l(e.exports,"symlink",()=>b),l(e.exports,"utimes",()=>S),l(e.exports,"writeFile",()=>R),l(e.exports,"rm",()=>I),iJ.promises;let{access:r,appendFile:n,chmod:i,chown:o,copyFile:s,lchmod:a,lchown:c,link:u,lstat:p,mkdir:f,mkdtemp:d,open:h,readdir:m,readFile:v,readlink:g,realpath:y,rename:E,rmdir:w,stat:_,symlink:b,truncate:x,unlink:O,utimes:S,writeFile:R}=iJ.promises,I="rm"in iJ.promises?iJ.promises.rm:(0,ry.promisify)(iJ.unlink);}),rU("h5DII",function(e,t){e.exports=function(){};}),rU("3PDBf",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rU("01ud6",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rU("iGjce",function(e,t){var r=rF("czzoJ"),n=rF("gm8vF"),i=Function.prototype.bind,o=Function.prototype.call,s=Object.keys,a=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(l,c){var u,p=arguments[2],f=arguments[3];return l=Object(n(l)),r(c),u=s(l),f&&u.sort("function"==typeof f?i.call(f,l):void 0),"function"!=typeof e&&(e=u[e]),o.call(e,u,function(e,r){return a.call(l,e)?o.call(c,p,l[e],e,l,r):t;});};};}),rU("czzoJ",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rU("gm8vF",function(e,t){var r=rF("cJ0vr");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rU("cJ0vr",function(e,t){var r=rF("h5DII")();e.exports=function(e){return e!==r&&null!==e;};}),rU("e4Lgg",function(e,t){}),rU("jyCUJ",function(e,t){e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy");};}),rU("1dJjv",function(e,t){var r=rF("gK5RI"),n=rF("gm8vF"),i=Math.max;e.exports=function(e,t){var o,s,a,l=i(arguments.length,2);for(s=1,e=Object(n(e)),a=function(r){try{e[r]=t[r];}catch(e){o||(o=e);}};l>s;++s)t=arguments[s],r(t).forEach(a);if(void 0!==o)throw o;return e;};}),rU("gK5RI",function(e,t){e.exports=rF("jF45l")()?Object.keys:rF("4MK4A");}),rU("jF45l",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rU("4MK4A",function(e,t){var r=rF("cJ0vr"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rU("1733k",function(e,t){var r=rF("gm8vF"),n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e.exports=function(e,t){var a,l=Object(r(t));if(e=Object(r(e)),o(l).forEach(function(r){try{n(e,r,i(t,r));}catch(e){a=e;}}),"function"==typeof s&&s(l).forEach(function(r){try{n(e,r,i(t,r));}catch(e){a=e;}}),void 0!==a)throw a;return e;};}),rU("j7soM",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rU("78Sfc",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rU("9E9rT",function(e,t){var r,n,i,o,s,a,l,c=rF("9xcfl"),u=rF("czzoJ"),p=Function.prototype.apply,f=Function.prototype.call,d=Object.create,h=Object.defineProperty,m=Object.defineProperties,v=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var r;return u(t),v.call(this,"__ee__")?r=this.__ee__:(r=g.value=d(null),h(this,"__ee__",g),g.value=null),r[e]?"object"==typeof r[e]?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this;},n=function(e,t){var n,o;return u(t),o=this,r.call(this,e,n=function(){i.call(o,e,n),p.call(t,this,arguments);}),n.__eeOnceListener__=t,this;},s={on:r,once:n,off:i=function(e,t){var r,n,i,o;if(u(t),!v.call(this,"__ee__")||!(r=this.__ee__)[e])return this;if("object"==typeof(n=r[e]))for(o=0;i=n[o];++o)(i===t||i.__eeOnceListener__===t)&&(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else(n===t||n.__eeOnceListener__===t)&&delete r[e];return this;},emit:o=function(e){var t,r,n,i,o;if(v.call(this,"__ee__")&&(i=this.__ee__[e])){if("object"==typeof i){for(t=1,r=arguments.length,o=Array(r-1);r>t;++t)o[t-1]=arguments[t];for(t=0,i=i.slice();n=i[t];++t)p.call(n,this,o);}else switch(arguments.length){case 1:f.call(i,this);break;case 2:f.call(i,this,arguments[1]);break;case 3:f.call(i,this,arguments[1],arguments[2]);break;default:for(t=1,r=arguments.length,o=Array(r-1);r>t;++t)o[t-1]=arguments[t];p.call(i,this,o);}}}},l=m({},a={on:c(r),once:c(n),off:c(i),emit:c(o)}),e.exports=t=function(e){return null==e?d(l):m(Object(e),a);},t.methods=s;}),rU("9xcfl",function(e,t){var r=rF("6WFxD"),n=rF("9ruXB"),i=rF("kg6aw"),o=rF("cgM1r"),s=rF("2ynAk");(e.exports=function(e,t){var n,a,l,c,u;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],r(e)?(n=s.call(e,"c"),a=s.call(e,"e"),l=s.call(e,"w")):(n=l=!0,a=!1),u={value:t,configurable:n,enumerable:a,writable:l},c?i(o(c),u):u;}).gs=function(e,t,a){var l,c,u,p;return"string"!=typeof e?(u=a,a=t,t=e,e=null):u=arguments[3],r(t)?n(t)?r(a)?n(a)||(u=a,a=void 0):a=void 0:(u=t,t=a=void 0):t=void 0,r(e)?(l=s.call(e,"c"),c=s.call(e,"e")):(l=!0,c=!1),p={get:t,set:a,configurable:l,enumerable:c},u?i(o(u),p):p;};}),rU("6WFxD",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rU("9ruXB",function(e,t){var r=rF("ic21Z"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rU("ic21Z",function(e,t){var r=rF("jYida");e.exports=function(e){if("function"!=typeof e||!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length||"function"!=typeof e.call||"function"!=typeof e.apply)return!1;}catch(e){return!1;}return!r(e);};}),rU("jYida",function(e,t){var r=rF("29Ioz");e.exports=function(e){if(!r(e))return!1;try{if(!e.constructor)return!1;return e.constructor.prototype===e;}catch(e){return!1;}};}),rU("29Ioz",function(e,t){var r=rF("6WFxD"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rU("kg6aw",function(e,t){e.exports=rF("jyCUJ")()?Object.assign:rF("1dJjv");}),rU("cgM1r",function(e,t){var r=rF("cJ0vr"),n=Array.prototype.forEach,i=Object.create,o=function(e,t){var r;for(r in e)t[r]=e[r];};e.exports=function(e){var t=i(null);return n.call(arguments,function(e){r(e)&&o(Object(e),t);}),t;};}),rU("2ynAk",function(e,t){e.exports=rF("j7soM")()?String.prototype.contains:rF("78Sfc");}),rU("16yrb",function(e,t){e.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&!!((t=r(e=["raz","dwa"]))&&t!==e&&"dwa"===t[1]);};}),rU("76jlv",function(e,t){var r=rF("7VWWn").iterator,n=rF("aRDzb"),i=rF("dfN19"),o=rF("lFuzu"),s=rF("czzoJ"),a=rF("gm8vF"),l=rF("cJ0vr"),c=rF("96dkr"),u=Array.isArray,p=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},d=Object.defineProperty;e.exports=function(e){var t,h,m,v,g,y,E,w,_,b,x=arguments[1],O=arguments[2];if(e=Object(a(e)),l(x)&&s(x),this&&this!==Array&&i(this))t=this;else{if(!x){if(n(e))return 1!==(g=e.length)?Array.apply(null,e):((v=[,])[0]=e[0],v);if(u(e)){for(h=0,v=Array(g=e.length);g>h;++h)v[h]=e[h];return v;}}v=[];}if(!u(e)){if(void 0!==(_=e[r])){for(E=s(_).call(e),t&&(v=new t()),w=E.next(),h=0;!w.done;)b=x?p.call(x,O,w.value,h):w.value,t?(f.value=b,d(v,h,f)):v[h]=b,w=E.next(),++h;g=h;}else if(c(e)){for(g=e.length,t&&(v=new t()),h=0,m=0;g>h;++h)b=e[h],h+1=55296&&y<=56319&&(b+=e[++h]),b=x?p.call(x,O,b,m):b,t?(f.value=b,d(v,m,f)):v[m]=b,++m;g=m;}}if(void 0===g)for(g=o(e.length),t&&(v=new t(g)),h=0;g>h;++h)b=x?p.call(x,O,e[h],h):e[h],t?(f.value=b,d(v,h,f)):v[h]=b;return t&&(f.value=null,v.length=g),v;};}),rU("7VWWn",function(e,t){e.exports=rF("jVPv5")()?rF("cuWno").Symbol:rF("9Pvgk");}),rU("jVPv5",function(e,t){var r=rF("cuWno"),n={object:!0,symbol:!0};e.exports=function(){var e=r.Symbol;return"function"==typeof e&&(e("test symbol"),!!n[typeof e.iterator]&&!!n[typeof e.toPrimitive]&&!!n[typeof e.toStringTag]);};}),rU("cuWno",function(e,t){e.exports=rF("jRf15")()?globalThis:rF("0DgUa");}),rU("jRf15",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rU("0DgUa",function(e,t){var r=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw Error("Unable to resolve global `this`");};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this;},configurable:!0});}catch(e){return r();}try{if(!__global__)return r();return __global__;}finally{delete Object.prototype.__global__;}}();}),rU("9Pvgk",function(e,t){var r,n,i,o=rF("9xcfl"),s=rF("i6cH8"),a=rF("cuWno").Symbol,l=rF("cRR41"),c=rF("hIvqG"),u=rF("6Fh4Q"),p=Object.create,f=Object.defineProperties,d=Object.defineProperty;if("function"==typeof a)try{a(),i=!0;}catch(e){}else a=null;n=function(e){if(this instanceof n)throw TypeError("Symbol is not a constructor");return r(e);},e.exports=r=function e(t){if(this instanceof e)throw TypeError("Symbol is not a constructor");return i?a(t):f(p(n.prototype),{__description__:o("",t=void 0===t?"":t+""),__name__:o("",l(t))});},c(r),u(r),f(n.prototype,{constructor:o(r),toString:o("",function(){return this.__name__;})}),f(r.prototype,{toString:o(function(){return"Symbol ("+s(this).__description__+")";}),valueOf:o(function(){return s(this);})}),d(r.prototype,r.toPrimitive,o("",function(){var e=s(this);return"symbol"==typeof e?e:e.toString();})),d(r.prototype,r.toStringTag,o("c","Symbol")),d(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),d(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]));}),rU("i6cH8",function(e,t){var r=rF("jKzLn");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rU("jKzLn",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rU("cRR41",function(e,t){var r=rF("9xcfl"),n=Object.defineProperty,i=Object.prototype,o=(0,Object.create)(null);e.exports=function(e){for(var t,s,a=0;o[e+(a||"")];)++a;return o[e+=a||""]=!0,n(i,t="@@"+e,r.gs(null,function(e){s||(s=!0,n(this,t,r(e)),s=!1);})),t;};}),rU("hIvqG",function(e,t){var r=rF("9xcfl"),n=rF("cuWno").Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))});};}),rU("6Fh4Q",function(e,t){var r=rF("9xcfl"),n=rF("i6cH8"),i=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:r(function(t){return i[t]?i[t]:i[t]=e(t+"");}),keyFor:r(function(e){var t;for(t in n(e),i)if(i[t]===e)return t;})});};}),rU("aRDzb",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rU("dfN19",function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"==typeof e&&n(r.call(e));};}),rU("lFuzu",function(e,t){var r=rF("5c2FR"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rU("5c2FR",function(e,t){var r=rF("k2sGI"),n=Math.abs,i=Math.floor;e.exports=function(e){return isNaN(e)?0:0!=(e=+e)&&isFinite(e)?r(e)*i(n(e)):e;};}),rU("k2sGI",function(e,t){e.exports=rF("3PDBf")()?Math.sign:rF("01ud6");}),rU("96dkr",function(e,t){var r=Object.prototype.toString,n=r.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||r.call(e)===n)||!1;};}),rU("2aBcN",function(e,t){e.exports=function(e){var t,r,n=e.length;if(!n)return"\x02";for(t=e[r=0]+"";--n;)t+="\x01"+e[++r];return t;};}),rU("hAul9",function(e,t){e.exports=function(e){return e?function(t){for(var r=t[0]+"",n=0,i=e;--i;)r+="\x01"+t[++n];return r;}:function(){return"";};};}),rU("7BD8r",function(e,t){var r=rF("dlgZx"),n=Object.create;e.exports=function(){var e=0,t=[],i=n(null);return{get:function(e){var n,i=0,o=t,s=e.length;if(0===s)return o[s]||null;if(o=o[s]){for(;i=0?l(u):n(this.length)-l(a(u));c>t;++t)if(s.call(this,t)&&r(this[t]))return t;return-1;};}),rU("3Fikq",function(e,t){e.exports=rF("e4HH5")()?Number.isNaN:rF("d2BiD");}),rU("e4HH5",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rU("d2BiD",function(e,t){e.exports=function(e){return e!=e;};}),rU("61N6r",function(e,t){var r=rF("dlgZx");e.exports=function(){var e=0,t=[],n=[];return{get:function(e){var i=r.call(t,e[0]);return-1===i?null:n[i];},set:function(r){return t.push(r[0]),n.push(++e),e;},delete:function(e){var i=r.call(n,e);-1!==i&&(t.splice(i,1),n.splice(i,1));},clear:function(){t=[],n=[];}};};}),rU("hqtiJ",function(e,t){var r=rF("dlgZx"),n=Object.create;e.exports=function(e){var t=0,i=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,s=i;o100&&(t=t.slice(0,99)+"…"),t=t.replace(/[\n\r\u2028\u2029]/g,function(e){return JSON.stringify(e).slice(1,-1);});};}),rU("5uwxY",function(e,t){var r=rF("acEY7");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rU("3lsZz",function(e,t){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then;}e.exports=r,e.exports.default=r;}),rU("i7d4K",function(e,t){var r=rF("czzoJ"),n=rF("8KFbm"),i=rF("e4Lgg"),o=Function.prototype.apply;i.dispose=function(e,t,s){var a;if(r(e),s.async&&i.async||s.promise&&i.promise){t.on("deleteasync",a=function(t,r){o.call(e,null,r);}),t.on("clearasync",function(e){n(e,function(e,t){a(t,e);});});return;}t.on("delete",a=function(t,r){e(r);}),t.on("clear",function(e){n(e,function(e,t){a(t,e);});});};}),rU("b1mdU",function(e,t){var r=rF("lCzSe"),n=rF("8KFbm"),i=rF("aDo18"),o=rF("3lsZz"),s=rF("frVfT"),a=rF("e4Lgg"),l=Function.prototype,c=Math.max,u=Math.min,p=Object.create;a.maxAge=function(e,t,f){var d,h,m,v;(e=s(e))&&(d=p(null),h=f.async&&a.async||f.promise&&a.promise?"async":"",t.on("set"+h,function(r){d[r]=setTimeout(function(){t.delete(r);},e),"function"==typeof d[r].unref&&d[r].unref(),v&&(v[r]&&"nextTick"!==v[r]&&clearTimeout(v[r]),v[r]=setTimeout(function(){delete v[r];},m),"function"==typeof v[r].unref&&v[r].unref());}),t.on("delete"+h,function(e){clearTimeout(d[e]),delete d[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e]);}),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:c(u(+f.preFetch,1),0))&&(v={},m=(1-m)*e,t.on("get"+h,function(e,n,s){v[e]||(v[e]="nextTick",i(function(){var i;"nextTick"===v[e]&&(delete v[e],t.delete(e),f.async&&(n=r(n)).push(l),i=t.memoized.apply(s,n),f.promise&&o(i)&&("function"==typeof i.done?i.done(l,l):i.then(l,l)));}));})),t.on("clear"+h,function(){n(d,function(e){clearTimeout(e);}),d={},v&&(n(v,function(e){"nextTick"!==e&&clearTimeout(e);}),v={});}));};}),rU("frVfT",function(e,t){var r=rF("lFuzu"),n=rF("6prMa");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rU("6prMa",function(e,t){e.exports=2147483647;}),rU("dZT72",function(e,t){var r=rF("lFuzu"),n=rF("bE3O1"),i=rF("e4Lgg");i.max=function(e,t,o){var s,a,l;(e=r(e))&&(a=n(e),s=o.async&&i.async||o.promise&&i.promise?"async":"",t.on("set"+s,l=function(e){void 0!==(e=a.hit(e))&&t.delete(e);}),t.on("get"+s,l),t.on("delete"+s,a.delete),t.on("clear"+s,a.clear));};}),rU("bE3O1",function(e,t){var r=rF("lFuzu"),n=Object.create,i=Object.prototype.hasOwnProperty;e.exports=function(e){var t,o=0,s=1,a=n(null),l=n(null),c=0;return e=r(e),{hit:function(r){var n=l[r],u=++c;if(a[u]=r,l[r]=u,!n){if(++o<=e)return;return r=a[s],t(r),r;}if(delete a[n],s===n)for(;!i.call(a,++s);)continue;},delete:t=function(e){var t=l[e];if(t&&(delete a[t],delete l[e],--o,s===t)){if(!o){c=0,s=1;return;}for(;!i.call(a,++s);)continue;}},clear:function(){o=0,s=1,a=n(null),l=n(null),c=0;}};};}),rU("eA2P6",function(e,t){var r=rF("9xcfl"),n=rF("e4Lgg"),i=Object.create,o=Object.defineProperties;n.refCounter=function(e,t,s){var a,l;a=i(null),l=s.async&&n.async||s.promise&&n.promise?"async":"",t.on("set"+l,function(e,t){a[e]=t||1;}),t.on("get"+l,function(e){++a[e];}),t.on("delete"+l,function(e){delete a[e];}),t.on("clear"+l,function(){a={};}),o(t.memoized,{deleteRef:r(function(){var e=t.get(arguments);return null!==e&&a[e]?! --a[e]&&(t.delete(e),!0):null;}),getRefCount:r(function(){var e=t.get(arguments);return null!==e&&a[e]?a[e]:0;})});};}),rU("ibhuk",function(e,t){async function r(e){try{return await(0,rE.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rU("sOzdu",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rU("j5MHF",function(e,t){var r=iY.resolve(__dirname,"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rU("2KdLC",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rF("5FRs7"),i=rF("3Zbea");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(e){try{r(require(`../locales/${e}.js`));}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`);}})(e);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),c=[];for(let e of l){let[t,r]=e;if(r>0&&c.push(function(e,t,r){let i=function(e){let t=a[e.locale],r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType);let n=null;if((r=Array.from(new Set(r))).some(function(e){if(void 0!==t[e])return n=t[e],!0;}),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n;}(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t);}(t,r,s)),c.length>=s.span)break;}return c.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rU("5FRs7",function(e,t){e.exports=rF("j5MHF");}),rU("3Zbea",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rU("51NgG",function(e,t){var r=rF("a4A3m"),n=rF("gzZHc"),i=rF("8wL3J"),o=rF("9kOAd"),s=rF("dJ3EL"),a=rF("2owFL"),l=rF("kBdlj"),c=rF("bFSJ9"),u=rF("bdHiQ"),p=rF("gWZ4x"),f=rF("dLri9"),d=rF("2tsX7"),h=rF("3lzLT"),m=rF("fYuCK"),v=rF("6LnSq"),g=rF("dZkNJ"),y=rF("2Qi5H"),E=rF("fJeYC"),w=rF("j1k1X"),_=rF("ccAMb"),b=rF("4qy3a"),x=rF("3ovyF"),O=rF("laDmN"),S=rF("3cxkY"),R=rF("aTQrN"),I=rF("5kn9j"),T=rF("8YrRN"),P=rF("fNiVh"),N=rF("gTfXP"),A=rF("kPBDZ"),$=rF("cVl8o"),C=rF("j0UMd"),L=rF("kgJyO"),k=rF("k8woQ"),D=rF("cQA7W"),j=rF("j3dZX"),F=rF("bENPT"),U=rF("iehU8"),M=rF("5NOPx"),G=rF("fdN0I"),B=rF("lxNIV");e.exports={parse:s,valid:a,clean:l,inc:c,diff:u,major:p,minor:f,patch:d,prerelease:h,compare:m,rcompare:v,compareLoose:g,compareBuild:y,sort:E,rsort:w,gt:_,lt:b,eq:x,neq:O,gte:S,lte:R,cmp:I,coerce:T,Comparator:P,Range:N,satisfies:A,toComparators:$,maxSatisfying:C,minSatisfying:L,minVersion:k,validRange:D,outside:j,gtr:F,ltr:U,intersects:M,simplifyRange:G,subset:B,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers};}),rU("a4A3m",function(e,t){var r=rF("gzZHc"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rF("cg13c");let a=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],u=t.t={},p=0,f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[f,i]],h=e=>{for(let[t,r]of d)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),m("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${f}+`),m("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),m("FULL",`^${c[u.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),m("LOOSE",`^${c[u.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),m("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?`+"(?:$|[^\\d])"),m("COERCERTL",c[u.COERCE],!0),m("COERCERTLFULL",c[u.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rU("gzZHc",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rU("cg13c",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rU("8wL3J",function(e,t){var r=rF("cg13c"),n=rF("gzZHc"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rF("a4A3m"),a=s.safeRe,l=s.t,c=rF("5bRb1"),u=rF("9kOAd").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rU("5bRb1",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rU("9kOAd",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rU("dJ3EL",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rU("2owFL",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rU("kBdlj",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rU("bFSJ9",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rU("bdHiQ",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(l.prerelease.length&&!c)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let u=c?"pre":"";return n.major!==i.major?u+"major":n.minor!==i.minor?u+"minor":n.patch!==i.patch?u+"patch":"prerelease";};}),rU("gWZ4x",function(e,t){var r=rF("8wL3J");e.exports=(e,t)=>new r(e,t).major;}),rU("dLri9",function(e,t){var r=rF("8wL3J");e.exports=(e,t)=>new r(e,t).minor;}),rU("2tsX7",function(e,t){var r=rF("8wL3J");e.exports=(e,t)=>new r(e,t).patch;}),rU("3lzLT",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rU("fYuCK",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rU("6LnSq",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>r(t,e,n);}),rU("dZkNJ",function(e,t){var r=rF("fYuCK");e.exports=(e,t)=>r(e,t,!0);}),rU("2Qi5H",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rU("fJeYC",function(e,t){var r=rF("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rU("j1k1X",function(e,t){var r=rF("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rU("ccAMb",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>0;}),rU("4qy3a",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0>r(e,t,n);}),rU("3ovyF",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0===r(e,t,n);}),rU("laDmN",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0!==r(e,t,n);}),rU("3cxkY",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rU("aTQrN",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0>=r(e,t,n);}),rU("5kn9j",function(e,t){var r=rF("3ovyF"),n=rF("laDmN"),i=rF("ccAMb"),o=rF("3cxkY"),s=rF("4qy3a"),a=rF("aTQrN");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return n(e,l,c);case">":return i(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw TypeError("Invalid operator: "+t);}};}),rU("8YrRN",function(e,t){var r=rF("8wL3J"),n=rF("dJ3EL"),i=rF("a4A3m"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let r;let n=t.includePrerelease?o[s.COERCERTLFULL]:o[s.COERCERTL];for(;(r=n.exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1;}else i=e.match(t.includePrerelease?o[s.COERCEFULL]:o[s.COERCE]);if(null===i)return null;let a=i[2],l=i[3]||"0",c=i[4]||"0",u=t.includePrerelease&&i[5]?"-"+i[5]:"",p=t.includePrerelease&&i[6]?"+"+i[6]:"";return n(`${a}.${l}.${c}${u}${p}`,t);};}),rU("fNiVh",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options);}catch(e){return!1;}return l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rF("5bRb1"),o=rF("a4A3m"),s=o.safeRe,a=o.t,l=rF("5kn9j"),c=rF("cg13c"),u=rF("8wL3J"),p=rF("gTfXP");}),rU("gTfXP",function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t);}if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(/\s+/g," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break;}}}this.formatted=void 0;}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim();}}return this.formatted;}format(){return this.range;}toString(){return this.range;}parseRange(e){let t=((this.options.includePrerelease&&m)|(this.options.loose&&v))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,a=i?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];s("hyphen replace",e=e.replace(a,N(this.options.includePrerelease))),s("comparator trim",e=e.replace(c[u.COMPARATORTRIM],p)),s("tilde trim",e=e.replace(c[u.TILDETRIM],f)),s("caret trim",e=e.replace(c[u.CARETTRIM],d));let l=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>P(e,this.options));i&&(l=l.filter(e=>(s("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE])))),s("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(g(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let y=[...h.values()];return n.set(t,y),y;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>E(r,t)&&e.set.some(e=>E(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;t"<0.0.0-0"===e.value,y=e=>""===e.value,E=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},w=(e,t)=>(s("comp",e,t),s("caret",e=O(e,t)),s("tildes",e=b(e,t)),s("xrange",e=R(e,t)),s("stars",e=T(e,t)),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(" "),x=(e,t)=>{let r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),_(r)?a="":_(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:_(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a;});},O=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{s("caret",e,t);let r=t.loose?c[u.CARETLOOSE]:c[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let l;return s("caret",e,t,r,i,o,a),_(r)?l="":_(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:_(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(s("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),s("caret return",l),l;});},R=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>I(e,t)).join(" ")),I=(e,t)=>{e=e.trim();let r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,(r,n,i,o,a,l)=>{s("xRange",e,r,n,i,o,a,l);let c=_(i),u=c||_(o),p=u||_(a);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${a}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),s("xRange return",r),r;});},T=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),P=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),N=e=>(t,r,n,i,o,s,a,l,c,u,p,f)=>(r=_(n)?"":_(i)?`>=${n}.0.0${e?"-0":""}`:_(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`,l=_(c)?"":_(u)?`<${+c+1}.0.0-0`:_(p)?`<${c}.${+u+1}.0-0`:f?`<=${c}.${u}.${p}-${f}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),A=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rU("3rMGs",function(e,t){e.exports=class{constructor(){this.max=1e3,this.map=new Map();}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t;}delete(e){return this.map.delete(e);}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e);}this.map.set(e,t);}return this;}};}),rU("kPBDZ",function(e,t){var r=rF("gTfXP");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rU("cVl8o",function(e,t){var r=rF("gTfXP");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rU("j0UMd",function(e,t){var r=rF("8wL3J"),n=rF("gTfXP");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rU("kgJyO",function(e,t){var r=rF("8wL3J"),n=rF("gTfXP");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rU("k8woQ",function(e,t){var r=rF("8wL3J"),n=rF("gTfXP"),i=rF("ccAMb");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rU("cQA7W",function(e,t){var r=rF("gTfXP");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rU("j3dZX",function(e,t){var r=rF("8wL3J"),n=rF("fNiVh");let{ANY:i}=n;var o=rF("gTfXP"),s=rF("kPBDZ"),a=rF("ccAMb"),l=rF("4qy3a"),c=rF("aTQrN"),u=rF("3cxkY");e.exports=(e,t,p,f)=>{let d,h,m,v,g;switch(e=new r(e,f),t=new o(t,f),p){case">":d=a,h=c,m=l,v=">",g=">=";break;case"<":d=l,h=u,m=a,v="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,f))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,d(e.semver,s.semver,f)?s=e:m(e.semver,a.semver,f)&&(a=e);}),s.operator===v||s.operator===g||(!a.operator||a.operator===v)&&h(e,a.semver)||a.operator===g&&m(e,a.semver))return!1;}return!0;};}),rU("bENPT",function(e,t){var r=rF("j3dZX");e.exports=(e,t,n)=>r(e,t,">",n);}),rU("iehU8",function(e,t){var r=rF("j3dZX");e.exports=(e,t,n)=>r(e,t,"<",n);}),rU("5NOPx",function(e,t){var r=rF("gTfXP");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rU("fdN0I",function(e,t){var r=rF("kPBDZ"),n=rF("fYuCK");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);let c=[];for(let[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");let u=c.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return u.length=0.0.0-0")],l=[new n(">=0.0.0")],c=(e,t,r)=>{let n,c,f,d,h,m,v;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let g=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?c=p(c,t,r):g.add(t.semver);if(g.size>1||n&&c&&((f=s(n.semver,c.semver,r))>0||0===f&&(">="!==n.operator||"<="!==c.operator)))return null;for(let e of g){if(n&&!o(e,n+"",r)||c&&!o(e,c+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let y=!!c&&!r.includePrerelease&&!!c.semver.prerelease.length&&c.semver,E=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(y&&1===y.prerelease.length&&"<"===c.operator&&0===y.prerelease[0]&&(y=!1),t)){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if((d=u(n,e,r))===e&&d!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(c){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=p(c,e,r))===e&&h!==c)return!1;}else if("<="===c.operator&&!o(c.semver,e+"",r))return!1;}if(!e.operator&&(c||n)&&0!==f)return!1;}return(!n||!m||!!c||0===f)&&(!c||!v||!!n||0===f)&&!E&&!y;},u=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===t.operator&&"<="===e.operator?t:e;};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rU("drEX5",function(e,t){var r,n,i,o,s,a,u,p,f,d,h,m,v;function g(e,t){return Object.keys(t).forEach(r=>{"default"===r||"__esModule"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get:()=>t[r]});}),e;}function y(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function E(e,t=!0){return t?(0,iY.basename)(e):(0,iY.basename)(e,(0,iY.extname)(e));}function w(e){return(0,iY.normalize)(e).replace(RegExp((0,r.default)(iY.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iY.extname)(e),n=`${t}${(0,iY.basename)(e,r)}${r}`;return(0,iY.join)((0,iY.dirname)(e),n);}function x(e,t){let r=(0,iY.extname)(e),n=`${(0,iY.basename)(e,r)}${t}${r}`;return(0,iY.join)((0,iY.dirname)(e),n);}function O(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function S(e){return"win32"===process.platform?e:"./"+e;}function R(e){let t=(0,iY.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iY.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iY.sep)||r===(0,iY.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>O),l(e.exports,"addShRelativePrefix",()=>S),l(e.exports,"dirname",()=>iY.dirname),l(e.exports,"join",()=>iY.join),r=rF("1ondq"),n=rF("7BfUa"),i={},y(o={},"name",()=>E),y(s={},"normalizeTrim",()=>w),y(a={},"addExeExt",()=>_),y(u={},"addNamePrefix",()=>b),y(p={},"addNameSuffix",()=>x),y(f={},"addShExt",()=>O),y(d={},"addShRelativePrefix",()=>S),y(h={},"removeExt",()=>R),y(m={},"replaceExt",()=>I),y(v={},"isPathInside",()=>T),g(i,o),g(i,s),g(i,a),g(i,u),g(i,p),g(i,f),g(i,d),g(i,h),g(i,m),g(i,v);}),rU("1ondq",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rU("7BfUa",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iY.basename(e,iY.extname(e))+t,i=iY.join(iY.dirname(e),n);return(r=e.slice(0,2))==="."+iY.sep||"./"===r?"."+iY.sep+i:i;};}),rU("g9WSN",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){rg.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(u.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(u.join(i,e),t);r&&n.push(r);}return n;});}function c(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;let u=i(iY),p=i(rF("2qpn6"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force;return{force:t,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let f=l&&l.isDirectory()&&s?u.join(t,u.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);if((yield p.stat(e)).isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(!(n>=255)){for(let o of(n++,yield a(r),yield p.readdir(t))){let s=`${t}/${o}`,a=`${r}/${o}`;(yield p.lstat(s)).isDirectory()?yield e(s,a,n,i):yield c(s,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,f,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===u.relative(e,f))throw Error(`'${f}' and '${e}' are the same file`);yield c(e,f,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(u.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rU("2qpn6",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(iJ),c=i(iY);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(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){let e=c.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,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{let r=c.dirname(t),n=c.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=c.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rU("6kHxT",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rF("a5mzA"));s=rF("k1l4q"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iW.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(c=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${u}`);let r=t.arch===i&&t.platform===u;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&c&&((o=Object.assign({},l)).files=[c]),o;});},e.exports._getOsVersion=function(){let t=iW.platform(),r="";if("darwin"===t)r=rw.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;},e.exports._readLinuxVersionFile=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return iJ.existsSync(e)?r=iJ.readFileSync(e).toString():iJ.existsSync(t)&&(r=iJ.readFileSync(t).toString()),r;};}),rU("a5mzA",function(e,t){function r(e){P[e]=N++;}function n(e){for(var t=0;t<$.length;t++){var r=$[t][0],n=$[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}");}return e;}function i(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o)return e;if("string"!=typeof e||e.length>x||!(t.loose?I[P.LOOSE]:I[P.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>x)throw TypeError("version is longer than "+x+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?I[P.LOOSE]:I[P.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>O||this.major<0)throw TypeError("Invalid major version");if(this.minor>O||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>O||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function c(e,t,r){return 0>a(e,t,r);}function u(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function f(e,t,r){return a(e,t,r)>=0;}function d(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return u(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return f(e,r,n);case"<":return c(e,r,n);case"<=":return d(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),b("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===k?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function v(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof v)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new v(e.raw,t);if(e instanceof m)return new v(e.value,t);if(!(this instanceof v))return new v(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function g(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function y(e){return!e||"x"===e.toLowerCase()||"*"===e;}function E(e,t,r,n,i,o,s,a,l,c,u,p,f){return((t=y(r)?"":y(n)?">="+r+".0.0":y(i)?">="+r+"."+n+".0":">="+t)+" "+(a=y(l)?"":y(c)?"<"+(+l+1)+".0.0":y(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new v(t,r);}catch(e){return!1;}return t.test(e);}function _(e,t,r,n){switch(e=new o(e,n),t=new v(t,n),r){case">":i=l,s=d,a=c,u=">",p=">=";break;case"<":i=c,s=f,a=l,u="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,u,p,h=0;h=0.0.0")),y=y||e,E=E||e,i(e.semver,y.semver,n)?y=e:a(e.semver,E.semver,n)&&(E=e);}),y.operator===u||y.operator===p||(!E.operator||E.operator===u)&&s(e,E.semver)||E.operator===p&&a(e,E.semver))return!1;}return!0;}t=e.exports=o,"object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?b=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:b=function(){},t.SEMVER_SPEC_VERSION="2.0.0",x=256,O=Number.MAX_SAFE_INTEGER||9007199254740991,S=x-6,R=t.re=[],I=t.safeRe=[],T=t.src=[],P=t.tokens={},N=0,$=[["\\s",1],["\\d",x],[A="[a-zA-Z0-9-]",S]],r("NUMERICIDENTIFIER"),T[P.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),T[P.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),T[P.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+A+"*",r("MAINVERSION"),T[P.MAINVERSION]="("+T[P.NUMERICIDENTIFIER]+")\\.("+T[P.NUMERICIDENTIFIER]+")\\.("+T[P.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),T[P.MAINVERSIONLOOSE]="("+T[P.NUMERICIDENTIFIERLOOSE]+")\\.("+T[P.NUMERICIDENTIFIERLOOSE]+")\\.("+T[P.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),T[P.PRERELEASEIDENTIFIER]="(?:"+T[P.NUMERICIDENTIFIER]+"|"+T[P.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),T[P.PRERELEASEIDENTIFIERLOOSE]="(?:"+T[P.NUMERICIDENTIFIERLOOSE]+"|"+T[P.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),T[P.PRERELEASE]="(?:-("+T[P.PRERELEASEIDENTIFIER]+"(?:\\."+T[P.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),T[P.PRERELEASELOOSE]="(?:-?("+T[P.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+T[P.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),T[P.BUILDIDENTIFIER]=A+"+",r("BUILD"),T[P.BUILD]="(?:\\+("+T[P.BUILDIDENTIFIER]+"(?:\\."+T[P.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),T[P.FULLPLAIN]="v?"+T[P.MAINVERSION]+T[P.PRERELEASE]+"?"+T[P.BUILD]+"?",T[P.FULL]="^"+T[P.FULLPLAIN]+"$",r("LOOSEPLAIN"),T[P.LOOSEPLAIN]="[v=\\s]*"+T[P.MAINVERSIONLOOSE]+T[P.PRERELEASELOOSE]+"?"+T[P.BUILD]+"?",r("LOOSE"),T[P.LOOSE]="^"+T[P.LOOSEPLAIN]+"$",r("GTLT"),T[P.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),T[P.XRANGEIDENTIFIERLOOSE]=T[P.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),T[P.XRANGEIDENTIFIER]=T[P.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),T[P.XRANGEPLAIN]="[v=\\s]*("+T[P.XRANGEIDENTIFIER]+")(?:\\.("+T[P.XRANGEIDENTIFIER]+")(?:\\.("+T[P.XRANGEIDENTIFIER]+")(?:"+T[P.PRERELEASE]+")?"+T[P.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),T[P.XRANGEPLAINLOOSE]="[v=\\s]*("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:"+T[P.PRERELEASELOOSE]+")?"+T[P.BUILD]+"?)?)?",r("XRANGE"),T[P.XRANGE]="^"+T[P.GTLT]+"\\s*"+T[P.XRANGEPLAIN]+"$",r("XRANGELOOSE"),T[P.XRANGELOOSE]="^"+T[P.GTLT]+"\\s*"+T[P.XRANGEPLAINLOOSE]+"$",r("COERCE"),T[P.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),R[P.COERCERTL]=RegExp(T[P.COERCE],"g"),I[P.COERCERTL]=RegExp(n(T[P.COERCE]),"g"),r("LONETILDE"),T[P.LONETILDE]="(?:~>?)",r("TILDETRIM"),T[P.TILDETRIM]="(\\s*)"+T[P.LONETILDE]+"\\s+",R[P.TILDETRIM]=RegExp(T[P.TILDETRIM],"g"),I[P.TILDETRIM]=RegExp(n(T[P.TILDETRIM]),"g"),r("TILDE"),T[P.TILDE]="^"+T[P.LONETILDE]+T[P.XRANGEPLAIN]+"$",r("TILDELOOSE"),T[P.TILDELOOSE]="^"+T[P.LONETILDE]+T[P.XRANGEPLAINLOOSE]+"$",r("LONECARET"),T[P.LONECARET]="(?:\\^)",r("CARETTRIM"),T[P.CARETTRIM]="(\\s*)"+T[P.LONECARET]+"\\s+",R[P.CARETTRIM]=RegExp(T[P.CARETTRIM],"g"),I[P.CARETTRIM]=RegExp(n(T[P.CARETTRIM]),"g"),r("CARET"),T[P.CARET]="^"+T[P.LONECARET]+T[P.XRANGEPLAIN]+"$",r("CARETLOOSE"),T[P.CARETLOOSE]="^"+T[P.LONECARET]+T[P.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),T[P.COMPARATORLOOSE]="^"+T[P.GTLT]+"\\s*("+T[P.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),T[P.COMPARATOR]="^"+T[P.GTLT]+"\\s*("+T[P.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),T[P.COMPARATORTRIM]="(\\s*)"+T[P.GTLT]+"\\s*("+T[P.LOOSEPLAIN]+"|"+T[P.XRANGEPLAIN]+")",R[P.COMPARATORTRIM]=RegExp(T[P.COMPARATORTRIM],"g"),I[P.COMPARATORTRIM]=RegExp(n(T[P.COMPARATORTRIM]),"g"),C="$1$2$3",r("HYPHENRANGE"),T[P.HYPHENRANGE]="^\\s*("+T[P.XRANGEPLAIN]+")\\s+-\\s+("+T[P.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),T[P.HYPHENRANGELOOSE]="^\\s*("+T[P.XRANGEPLAINLOOSE]+")\\s+-\\s+("+T[P.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),T[P.STAR]="(<|>)?=?\\s*\\*";for(var b,x,O,S,R,I,T,P,N,A,$,C,L,k,D=0;D=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(u(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,L=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=c,t.eq=u,t.neq=p,t.gte=f,t.lte=d,t.cmp=h,t.Comparator=m,k={},m.prototype.parse=function(e){var t=this.options.loose?I[P.COMPARATORLOOSE]:I[P.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=k;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===k||e===k)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new v(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new v(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=v,v.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},v.prototype.toString=function(){return this.range;},v.prototype.parseRange=function(e){var t=this.options.loose,r=t?I[P.HYPHENRANGELOOSE]:I[P.HYPHENRANGE];e=e.replace(r,E),b("hyphen replace",e),e=e.replace(I[P.COMPARATORTRIM],C),b("comparator trim",e,I[P.COMPARATORTRIM]),e=(e=(e=e.replace(I[P.TILDETRIM],"$1~")).replace(I[P.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?I[P.COMPARATORLOOSE]:I[P.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,c;return t=e,r=this.options,b("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?I[P.CARETLOOSE]:I[P.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),y(r)?s="":y(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":y(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "),b("caret",t),o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?I[P.TILDELOOSE]:I[P.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),y(r)?s="":y(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":y(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "),b("tildes",t),b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?I[P.XRANGELOOSE]:I[P.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=y(i),c=l||y(o),u=c||y(s);return"="===n&&u&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):c?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:u&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "),b("xrange",t),b("replaceStars",c=t,r),t=c.trim().replace(I[P.STAR],""),b("stars",t),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},v.prototype.intersects=function(e,t){if(!(e instanceof v))throw TypeError("a Range is required");return this.set.some(function(r){return g(r,t)&&e.set.some(function(e){return g(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new v(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},v.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new v(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new v(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return _(e,t,"<",r);},t.gtr=function(e,t,r){return _(e,t,">",r);},t.outside=_,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new v(e,r),t=new v(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=I[P.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),I[P.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;I[P.COERCERTL].lastIndex=-1;}else n=e.match(I[P.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rU("iFKS7",function(e,t){var r=rF("joDHm"),n=rF("inTPA");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rU("joDHm",function(e,t){e.exports=function(){return iK.randomBytes(16);};}),rU("inTPA",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("");};}),rU("ca0ts",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(i,t,r).exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rF("e0fPv"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new r_.StringDecoder("utf8"),c=new r_.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,f=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),u&&u(e);},stderr(e){a+=c.write(e),p&&p(e);}}),d=yield s(e,t,Object.assign(Object.assign({},r),{listeners:f}));return o+=l.end(),a+=c.end(),{exitCode:d,stdout:o,stderr:a};});};}),rU("e0fPv",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(iW),a=i(rv),l=i(rw),c=i(iY),u=i(rF("g9WSN")),p=i(rF("2qpn6")),f="win32"===process.platform;class d 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(f){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return f&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(f&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return(t+='"').split("").reverse().join("");}_cloneExecOptions(e){let 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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||f&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.stdout.on("data",e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e);});});let c="";if(o.stderr&&o.stderr.on("data",e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.on("close",e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete();}),n.on("done",(r,n)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=d,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.trim()),r;};class h extends a.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay);}CheckComplete(){!this.done&&(this.processClosed?this._setResult():this.processExited&&(this.timeout=rb.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rU("eYDSL",function(e,t){e.exports=Promise.resolve(require("./actions_python.895b8a50.js")).then(()=>rF("apy8x"));}),rU("bCzkE",function(e,t){e.exports=Promise.resolve(require("./hdi.619de66c.js")).then(()=>rF("9IkUc"));}),rM=rF("dKklS"),rG=rF("pcnv8"),rB=rF("k1l4q"),rM=rF("dKklS"),rG=rF("pcnv8"),rH={},rq={},rz={},rV={};const i0="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,i1=i0?";":":";rX={},"win32"===process.platform||rk.TESTING_WINDOWS?rW=rF("ftrAD"):rW=rF("9yF3I"),rX=u,u.sync=function(e,t){try{return rW.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const i2=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i3=(e,t)=>{let r=t.colon||i1,n=e.match(/\//)||i0&&e.match(/\\/)?[""]:[...(i0?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=i0?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=i0?i.split(r):[""];return i0&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i4=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i3(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(i2(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iY.join(c,e);i(l(!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u,r,0));}),l=(e,r,n)=>new Promise((c,u)=>{if(n===i.length)return c(a(r+1));let p=i[n];rX(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return c(e+p);s.push(e+p);}return c(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rV=i4,i4.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i3(e,t=t||{}),o=[];for(let s=0;s{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rY=i6).default=i6,rz=function(e){return p(e)||p(e,!0);};rJ=function(e){return e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1");},rK=function(e,t){return e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1"),e=(e=`"${e}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),t&&(e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),e;},rZ={},rQ={},r0={},r0=/^#!(.*)/,rQ=(e="")=>{let t=e.match(r0);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rZ=function(e){let t;let r=Buffer.alloc(150);try{t=iJ.openSync(e,"r"),iJ.readSync(t,r,0,150,0),iJ.closeSync(t);}catch(e){}return rQ(r.toString());};const i8="win32"===process.platform;rq=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);let n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!i8)return e;let t=function(e){e.file=rz(e);let t=e.file&&rZ(e.file);return t?(e.args.unshift(e.file),e.command=t,rz(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=iY.normalize(e.command),e.command=rJ(e.command),e.args=e.args.map(e=>rK(e,r));let n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},r1={};const i5="win32"===process.platform;r1={hookChildProcess:function(e,t){if(!i5)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=d(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:d,verifyENOENTSync:function(e,t){return i5&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rH=h).spawn=h,rH.sync=function(e,t,r){let n=rq(e,t,r),i=rw.spawnSync(n.command,n.args,n.options);return i.error=i.error||r1.verifyENOENTSync(i.status,n),i;},rH._parse=rq,rH._enoent=r1;const i7=({cwd:e=c(rR).cwd(),path:t=c(rR).env[m()],preferLocal:r=!0,execPath:n=c(rR).execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?(0,rI.fileURLToPath)(e):e,s=c(rO).resolve(o),a=[];return r&&i9(a,s),i&&oe(a,n,s),[...a,t].join(c(rO).delimiter);},i9=(e,t)=>{let r;for(;r!==t;)e.push(c(rO).join(t,"node_modules/.bin")),r=t,t=c(rO).resolve(t,"..");},oe=(e,t,r)=>{let n=t instanceof URL?(0,rI.fileURLToPath)(t):t;e.push(c(rO).resolve(r,n,".."));},ot=({env:e=c(rR).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i7(t),e;},or=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(on(i,o)||!n)&&Object.defineProperty(e,r,o);},on=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},oi=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},oo=(e,t)=>`/* Wrapped ${e}*/ + Error Message: ${e.message}`);})).result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rU("8mOIr",function(e,t){var r,n,i,o,s,a,c;function u(e){let t=r.getProxyUrl(new URL(e));return t?t.href:"";}function p(e){return"https:"===new URL(e).protocol;}l(e.exports,"HttpCodes",()=>i),l(e.exports,"Headers",()=>o),l(e.exports,"MediaTypes",()=>s),l(e.exports,"getProxyUrl",()=>u),l(e.exports,"HttpClientError",()=>m),l(e.exports,"HttpClientResponse",()=>v),l(e.exports,"isHttps",()=>p),l(e.exports,"HttpClient",()=>g),r=rF("4u31b"),n=rF("bbp3j"),(a=i||(i={}))[a.OK=200]="OK",a[a.MultipleChoices=300]="MultipleChoices",a[a.MovedPermanently=301]="MovedPermanently",a[a.ResourceMoved=302]="ResourceMoved",a[a.SeeOther=303]="SeeOther",a[a.NotModified=304]="NotModified",a[a.UseProxy=305]="UseProxy",a[a.SwitchProxy=306]="SwitchProxy",a[a.TemporaryRedirect=307]="TemporaryRedirect",a[a.PermanentRedirect=308]="PermanentRedirect",a[a.BadRequest=400]="BadRequest",a[a.Unauthorized=401]="Unauthorized",a[a.PaymentRequired=402]="PaymentRequired",a[a.Forbidden=403]="Forbidden",a[a.NotFound=404]="NotFound",a[a.MethodNotAllowed=405]="MethodNotAllowed",a[a.NotAcceptable=406]="NotAcceptable",a[a.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",a[a.RequestTimeout=408]="RequestTimeout",a[a.Conflict=409]="Conflict",a[a.Gone=410]="Gone",a[a.TooManyRequests=429]="TooManyRequests",a[a.InternalServerError=500]="InternalServerError",a[a.NotImplemented=501]="NotImplemented",a[a.BadGateway=502]="BadGateway",a[a.ServiceUnavailable=503]="ServiceUnavailable",a[a.GatewayTimeout=504]="GatewayTimeout",(c=o||(o={})).Accept="accept",c.ContentType="content-type",(s||(s={})).ApplicationJson="application/json";let f=[i.MovedPermanently,i.ResourceMoved,i.SeeOther,i.TemporaryRedirect,i.PermanentRedirect],d=[i.BadGateway,i.ServiceUnavailable,i.GatewayTimeout],h=["OPTIONS","GET","DELETE","HEAD"];class m extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,m.prototype);}statusCode;result;}class v{constructor(e){this.message=e;}message;async readBody(){return new Promise(async e=>{let t=Buffer.alloc(0);this.message.on("data",e=>{t=Buffer.concat([t,e]);}),this.message.on("end",()=>{e(t.toString());});});}async readBodyBuffer(){return new Promise(async e=>{let t=[];this.message.on("data",e=>{t.push(e);}),this.message.on("end",()=>{e(Buffer.concat(t));});});}}class g{userAgent;handlers;requestOptions;_ignoreSslError=!1;_socketTimeout;_allowRedirects=!0;_allowRedirectDowngrade=!1;_maxRedirects=50;_allowRetries=!1;_maxRetries=1;_agent;_proxyAgent;_proxyAgentDispatcher;_keepAlive=!1;_disposed=!1;constructor(e,t,r){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));}async options(e,t){return this.request("OPTIONS",e,null,t||{});}async get(e,t){return this.request("GET",e,null,t||{});}async del(e,t){return this.request("DELETE",e,null,t||{});}async post(e,t,r){return this.request("POST",e,t,r||{});}async patch(e,t,r){return this.request("PATCH",e,t,r||{});}async put(e,t,r){return this.request("PUT",e,t,r||{});}async head(e,t){return this.request("HEAD",e,null,t||{});}async sendStream(e,t,r,n){return this.request(e,t,r,n);}async getJson(e,t={}){t[o.Accept]=this._getExistingOrDefaultHeader(t,o.Accept,s.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions);}async postJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[o.Accept]=this._getExistingOrDefaultHeader(r,o.Accept,s.ApplicationJson),r[o.ContentType]=this._getExistingOrDefaultHeader(r,o.ContentType,s.ApplicationJson);let i=await this.post(e,n,r);return this._processResponse(i,this.requestOptions);}async putJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[o.Accept]=this._getExistingOrDefaultHeader(r,o.Accept,s.ApplicationJson),r[o.ContentType]=this._getExistingOrDefaultHeader(r,o.ContentType,s.ApplicationJson);let i=await this.put(e,n,r);return this._processResponse(i,this.requestOptions);}async patchJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[o.Accept]=this._getExistingOrDefaultHeader(r,o.Accept,s.ApplicationJson),r[o.ContentType]=this._getExistingOrDefaultHeader(r,o.ContentType,s.ApplicationJson);let i=await this.patch(e,n,r);return this._processResponse(i,this.requestOptions);}async request(e,t,r,n){let o;if(this._disposed)throw Error("Client has already been disposed.");let s=new URL(t),a=this._prepareRequest(e,s,n),l=this._allowRetries&&h.includes(e)?this._maxRetries+1:1,c=0;do{if((o=await this.requestRaw(a,r))&&o.message&&o.message.statusCode===i.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(o)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;o.message.statusCode&&f.includes(o.message.statusCode)&&this._allowRedirects&&t>0;){let i=o.message.headers.location;if(!i)break;let l=new URL(i);if("https:"===s.protocol&&s.protocol!==l.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(await o.readBody(),l.hostname!==s.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),o=await this.requestRaw(a,r),t--;}if(!o.message.statusCode||!d.includes(o.message.statusCode))break;(c+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});}requestRawWithCallback(e,t,r){let n;function i(e,t){o||(o=!0,r(e,t));}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1,s=e.httpModule.request(e.options,e=>{i(void 0,new v(e));});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}async getAgentDispatcher(e){let t=new URL(e),n=r.getProxyUrl(t);if(n&&n.hostname)return await this._getProxyAgentDispatcher(t,n);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?iQ:iZ,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},y(this.requestOptions.headers),y(e||{})):y(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=y(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let i=r.getProxyUrl(e),o=i&&i.hostname;if(this._keepAlive&&o&&(t=this._proxyAgent),o||(t=this._agent),t)return t;let s="https:"===e.protocol,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||iZ.globalAgent.maxSockets),i&&i.hostname){let e;let r={maxSockets:a,keepAlive:this._keepAlive,proxy:{...((i.username||i.password)&&{proxyAuth:`${i.username}:${i.password}`}),host:i.hostname,port:i.port}},o="https:"===i.protocol;t=(s?o?n.httpsOverHttps:n.httpsOverHttp:o?n.httpOverHttps:n.httpOverHttp)(r),this._proxyAgent=t;}if(!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=s?new iQ.Agent(e):new iZ.Agent(e),this._agent=t;}return s&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}async _getProxyAgentDispatcher(e,t){let r;if(this._keepAlive&&(r=this._proxyAgentDispatcher),r)return r;let n="https:"===e.protocol;return r=new(await rF("akYED"))({uri:t.href,pipelining:this._keepAlive?1:0,...((t.username||t.password)&&{token:"Basic "+Buffer.from(`${t.username}:${t.password}`).toString("base64")})}),this._proxyAgentDispatcher=r,n&&this._ignoreSslError&&(r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:!1})),r;}async _performExponentialBackoff(e){let t=5*Math.pow(2,e=Math.min(10,e));return new Promise(e=>setTimeout(()=>e(),t));}async _processResponse(e,t){return new Promise(async(r,n)=>{let o,s;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===i.NotFound&&r(l);try{(s=await e.readBody())&&s.length>0&&(o=t&&t.deserializeDates?JSON.parse(s,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(s),l.result=o),l.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new m(o&&o.message?o.message:s&&s.length>0?s:`Failed request: (${a})`,a);t.result=l.result,n(t);}else r(l);});}}let y=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rU("4u31b",function(e,t){function r(e){let t="https:"===e.protocol;if(function(e){let t;if(!e.hostname)return!1;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(e.hostname))return!0;let 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 n=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&n.push(`${n[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||n.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}(e))return;let r=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new n(r);}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new n("http://"+r);}}l(e.exports,"getProxyUrl",()=>r);class n extends URL{_decodedUsername;_decodedPassword;constructor(e,t){super(e,t),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password);}get username(){return this._decodedUsername;}get password(){return this._decodedPassword;}}}),rU("bbp3j",function(e,t){e.exports=rF("fNJ5J");}),rU("fNJ5J",function(e,t){var r,n,i,o,s,a;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||iZ.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=f({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=rm.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function f(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new c(e);return t.request=iZ.request,t;},n=function(e){var t=new c(e);return t.request=iZ.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iQ.request,t;},o=function(e){var t=new c(e);return t.request=iQ.request,t.createSocket=u,t.defaultPort=443,t;},ry.inherits(c,rv.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=f({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n);}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t);});},c.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var c=Error("tunneling socket could not be established, statusCode="+r.statusCode);c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var c=Error("got illegal response body from proxy");c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=f({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),o.removeSocket(s);}),i.end();},c.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,function(e){r.request.onSocket(e);});}},process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?a=function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:a=function(){},s=a;}),rU("akYED",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.5536f8bd.js")).then(()=>rF("5IibL"));}),rU("xKNr1",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token;}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}};}),rU("1mzjm",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;let{access:n,appendFile:i,writeFile:o}=iK.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,iK.constants.R_OK|iK.constants.W_OK);}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`);}return this._filePath=t,this._filePath;});}wrap(e,t,r={}){let n=Object.entries(r).map(([e,t])=>` ${e}="${t}"`).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`;}write(e){return r(this,void 0,void 0,function*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer();});}clear(){return r(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0});});}stringify(){return this._buffer;}isEmptyBuffer(){return 0===this._buffer.length;}emptyBuffer(){return this._buffer="",this;}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this;}addEOL(){return this.addRaw(iW.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rU("31rWp",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(iY);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rU("ftrAD",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;ni),l(e.exports,"lstat",()=>p),l(e.exports,"mkdir",()=>f),l(e.exports,"open",()=>h),l(e.exports,"readdir",()=>m),l(e.exports,"readFile",()=>v),l(e.exports,"readlink",()=>g),l(e.exports,"stat",()=>_),l(e.exports,"symlink",()=>b),l(e.exports,"utimes",()=>S),l(e.exports,"writeFile",()=>R),l(e.exports,"rm",()=>I),iK.promises;let{access:r,appendFile:n,chmod:i,chown:o,copyFile:s,lchmod:a,lchown:c,link:u,lstat:p,mkdir:f,mkdtemp:d,open:h,readdir:m,readFile:v,readlink:g,realpath:y,rename:E,rmdir:w,stat:_,symlink:b,truncate:x,unlink:O,utimes:S,writeFile:R}=iK.promises,I="rm"in iK.promises?iK.promises.rm:(0,ry.promisify)(iK.unlink);}),rU("h5DII",function(e,t){e.exports=function(){};}),rU("3PDBf",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rU("01ud6",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rU("iGjce",function(e,t){var r=rF("czzoJ"),n=rF("gm8vF"),i=Function.prototype.bind,o=Function.prototype.call,s=Object.keys,a=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(l,c){var u,p=arguments[2],f=arguments[3];return l=Object(n(l)),r(c),u=s(l),f&&u.sort("function"==typeof f?i.call(f,l):void 0),"function"!=typeof e&&(e=u[e]),o.call(e,u,function(e,r){return a.call(l,e)?o.call(c,p,l[e],e,l,r):t;});};};}),rU("czzoJ",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rU("gm8vF",function(e,t){var r=rF("cJ0vr");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rU("cJ0vr",function(e,t){var r=rF("h5DII")();e.exports=function(e){return e!==r&&null!==e;};}),rU("e4Lgg",function(e,t){}),rU("jyCUJ",function(e,t){e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy");};}),rU("1dJjv",function(e,t){var r=rF("gK5RI"),n=rF("gm8vF"),i=Math.max;e.exports=function(e,t){var o,s,a,l=i(arguments.length,2);for(s=1,e=Object(n(e)),a=function(r){try{e[r]=t[r];}catch(e){o||(o=e);}};l>s;++s)t=arguments[s],r(t).forEach(a);if(void 0!==o)throw o;return e;};}),rU("gK5RI",function(e,t){e.exports=rF("jF45l")()?Object.keys:rF("4MK4A");}),rU("jF45l",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rU("4MK4A",function(e,t){var r=rF("cJ0vr"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rU("1733k",function(e,t){var r=rF("gm8vF"),n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e.exports=function(e,t){var a,l=Object(r(t));if(e=Object(r(e)),o(l).forEach(function(r){try{n(e,r,i(t,r));}catch(e){a=e;}}),"function"==typeof s&&s(l).forEach(function(r){try{n(e,r,i(t,r));}catch(e){a=e;}}),void 0!==a)throw a;return e;};}),rU("j7soM",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rU("78Sfc",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rU("9E9rT",function(e,t){var r,n,i,o,s,a,l,c=rF("9xcfl"),u=rF("czzoJ"),p=Function.prototype.apply,f=Function.prototype.call,d=Object.create,h=Object.defineProperty,m=Object.defineProperties,v=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var r;return u(t),v.call(this,"__ee__")?r=this.__ee__:(r=g.value=d(null),h(this,"__ee__",g),g.value=null),r[e]?"object"==typeof r[e]?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this;},n=function(e,t){var n,o;return u(t),o=this,r.call(this,e,n=function(){i.call(o,e,n),p.call(t,this,arguments);}),n.__eeOnceListener__=t,this;},s={on:r,once:n,off:i=function(e,t){var r,n,i,o;if(u(t),!v.call(this,"__ee__")||!(r=this.__ee__)[e])return this;if("object"==typeof(n=r[e]))for(o=0;i=n[o];++o)(i===t||i.__eeOnceListener__===t)&&(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else(n===t||n.__eeOnceListener__===t)&&delete r[e];return this;},emit:o=function(e){var t,r,n,i,o;if(v.call(this,"__ee__")&&(i=this.__ee__[e])){if("object"==typeof i){for(t=1,r=arguments.length,o=Array(r-1);r>t;++t)o[t-1]=arguments[t];for(t=0,i=i.slice();n=i[t];++t)p.call(n,this,o);}else switch(arguments.length){case 1:f.call(i,this);break;case 2:f.call(i,this,arguments[1]);break;case 3:f.call(i,this,arguments[1],arguments[2]);break;default:for(t=1,r=arguments.length,o=Array(r-1);r>t;++t)o[t-1]=arguments[t];p.call(i,this,o);}}}},l=m({},a={on:c(r),once:c(n),off:c(i),emit:c(o)}),e.exports=t=function(e){return null==e?d(l):m(Object(e),a);},t.methods=s;}),rU("9xcfl",function(e,t){var r=rF("6WFxD"),n=rF("9ruXB"),i=rF("kg6aw"),o=rF("cgM1r"),s=rF("2ynAk");(e.exports=function(e,t){var n,a,l,c,u;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],r(e)?(n=s.call(e,"c"),a=s.call(e,"e"),l=s.call(e,"w")):(n=l=!0,a=!1),u={value:t,configurable:n,enumerable:a,writable:l},c?i(o(c),u):u;}).gs=function(e,t,a){var l,c,u,p;return"string"!=typeof e?(u=a,a=t,t=e,e=null):u=arguments[3],r(t)?n(t)?r(a)?n(a)||(u=a,a=void 0):a=void 0:(u=t,t=a=void 0):t=void 0,r(e)?(l=s.call(e,"c"),c=s.call(e,"e")):(l=!0,c=!1),p={get:t,set:a,configurable:l,enumerable:c},u?i(o(u),p):p;};}),rU("6WFxD",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rU("9ruXB",function(e,t){var r=rF("ic21Z"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rU("ic21Z",function(e,t){var r=rF("jYida");e.exports=function(e){if("function"!=typeof e||!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length||"function"!=typeof e.call||"function"!=typeof e.apply)return!1;}catch(e){return!1;}return!r(e);};}),rU("jYida",function(e,t){var r=rF("29Ioz");e.exports=function(e){if(!r(e))return!1;try{if(!e.constructor)return!1;return e.constructor.prototype===e;}catch(e){return!1;}};}),rU("29Ioz",function(e,t){var r=rF("6WFxD"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rU("kg6aw",function(e,t){e.exports=rF("jyCUJ")()?Object.assign:rF("1dJjv");}),rU("cgM1r",function(e,t){var r=rF("cJ0vr"),n=Array.prototype.forEach,i=Object.create,o=function(e,t){var r;for(r in e)t[r]=e[r];};e.exports=function(e){var t=i(null);return n.call(arguments,function(e){r(e)&&o(Object(e),t);}),t;};}),rU("2ynAk",function(e,t){e.exports=rF("j7soM")()?String.prototype.contains:rF("78Sfc");}),rU("16yrb",function(e,t){e.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&!!((t=r(e=["raz","dwa"]))&&t!==e&&"dwa"===t[1]);};}),rU("76jlv",function(e,t){var r=rF("7VWWn").iterator,n=rF("aRDzb"),i=rF("dfN19"),o=rF("lFuzu"),s=rF("czzoJ"),a=rF("gm8vF"),l=rF("cJ0vr"),c=rF("96dkr"),u=Array.isArray,p=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},d=Object.defineProperty;e.exports=function(e){var t,h,m,v,g,y,E,w,_,b,x=arguments[1],O=arguments[2];if(e=Object(a(e)),l(x)&&s(x),this&&this!==Array&&i(this))t=this;else{if(!x){if(n(e))return 1!==(g=e.length)?Array.apply(null,e):((v=[,])[0]=e[0],v);if(u(e)){for(h=0,v=Array(g=e.length);g>h;++h)v[h]=e[h];return v;}}v=[];}if(!u(e)){if(void 0!==(_=e[r])){for(E=s(_).call(e),t&&(v=new t()),w=E.next(),h=0;!w.done;)b=x?p.call(x,O,w.value,h):w.value,t?(f.value=b,d(v,h,f)):v[h]=b,w=E.next(),++h;g=h;}else if(c(e)){for(g=e.length,t&&(v=new t()),h=0,m=0;g>h;++h)b=e[h],h+1=55296&&y<=56319&&(b+=e[++h]),b=x?p.call(x,O,b,m):b,t?(f.value=b,d(v,m,f)):v[m]=b,++m;g=m;}}if(void 0===g)for(g=o(e.length),t&&(v=new t(g)),h=0;g>h;++h)b=x?p.call(x,O,e[h],h):e[h],t?(f.value=b,d(v,h,f)):v[h]=b;return t&&(f.value=null,v.length=g),v;};}),rU("7VWWn",function(e,t){e.exports=rF("jVPv5")()?rF("cuWno").Symbol:rF("9Pvgk");}),rU("jVPv5",function(e,t){var r=rF("cuWno"),n={object:!0,symbol:!0};e.exports=function(){var e=r.Symbol;return"function"==typeof e&&(e("test symbol"),!!n[typeof e.iterator]&&!!n[typeof e.toPrimitive]&&!!n[typeof e.toStringTag]);};}),rU("cuWno",function(e,t){e.exports=rF("jRf15")()?globalThis:rF("0DgUa");}),rU("jRf15",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rU("0DgUa",function(e,t){var r=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw Error("Unable to resolve global `this`");};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this;},configurable:!0});}catch(e){return r();}try{if(!__global__)return r();return __global__;}finally{delete Object.prototype.__global__;}}();}),rU("9Pvgk",function(e,t){var r,n,i,o=rF("9xcfl"),s=rF("i6cH8"),a=rF("cuWno").Symbol,l=rF("cRR41"),c=rF("hIvqG"),u=rF("6Fh4Q"),p=Object.create,f=Object.defineProperties,d=Object.defineProperty;if("function"==typeof a)try{a(),i=!0;}catch(e){}else a=null;n=function(e){if(this instanceof n)throw TypeError("Symbol is not a constructor");return r(e);},e.exports=r=function e(t){if(this instanceof e)throw TypeError("Symbol is not a constructor");return i?a(t):f(p(n.prototype),{__description__:o("",t=void 0===t?"":t+""),__name__:o("",l(t))});},c(r),u(r),f(n.prototype,{constructor:o(r),toString:o("",function(){return this.__name__;})}),f(r.prototype,{toString:o(function(){return"Symbol ("+s(this).__description__+")";}),valueOf:o(function(){return s(this);})}),d(r.prototype,r.toPrimitive,o("",function(){var e=s(this);return"symbol"==typeof e?e:e.toString();})),d(r.prototype,r.toStringTag,o("c","Symbol")),d(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),d(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]));}),rU("i6cH8",function(e,t){var r=rF("jKzLn");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rU("jKzLn",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rU("cRR41",function(e,t){var r=rF("9xcfl"),n=Object.defineProperty,i=Object.prototype,o=(0,Object.create)(null);e.exports=function(e){for(var t,s,a=0;o[e+(a||"")];)++a;return o[e+=a||""]=!0,n(i,t="@@"+e,r.gs(null,function(e){s||(s=!0,n(this,t,r(e)),s=!1);})),t;};}),rU("hIvqG",function(e,t){var r=rF("9xcfl"),n=rF("cuWno").Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))});};}),rU("6Fh4Q",function(e,t){var r=rF("9xcfl"),n=rF("i6cH8"),i=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:r(function(t){return i[t]?i[t]:i[t]=e(t+"");}),keyFor:r(function(e){var t;for(t in n(e),i)if(i[t]===e)return t;})});};}),rU("aRDzb",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rU("dfN19",function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"==typeof e&&n(r.call(e));};}),rU("lFuzu",function(e,t){var r=rF("5c2FR"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rU("5c2FR",function(e,t){var r=rF("k2sGI"),n=Math.abs,i=Math.floor;e.exports=function(e){return isNaN(e)?0:0!=(e=+e)&&isFinite(e)?r(e)*i(n(e)):e;};}),rU("k2sGI",function(e,t){e.exports=rF("3PDBf")()?Math.sign:rF("01ud6");}),rU("96dkr",function(e,t){var r=Object.prototype.toString,n=r.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||r.call(e)===n)||!1;};}),rU("2aBcN",function(e,t){e.exports=function(e){var t,r,n=e.length;if(!n)return"\x02";for(t=e[r=0]+"";--n;)t+="\x01"+e[++r];return t;};}),rU("hAul9",function(e,t){e.exports=function(e){return e?function(t){for(var r=t[0]+"",n=0,i=e;--i;)r+="\x01"+t[++n];return r;}:function(){return"";};};}),rU("7BD8r",function(e,t){var r=rF("dlgZx"),n=Object.create;e.exports=function(){var e=0,t=[],i=n(null);return{get:function(e){var n,i=0,o=t,s=e.length;if(0===s)return o[s]||null;if(o=o[s]){for(;i=0?l(u):n(this.length)-l(a(u));c>t;++t)if(s.call(this,t)&&r(this[t]))return t;return-1;};}),rU("3Fikq",function(e,t){e.exports=rF("e4HH5")()?Number.isNaN:rF("d2BiD");}),rU("e4HH5",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rU("d2BiD",function(e,t){e.exports=function(e){return e!=e;};}),rU("61N6r",function(e,t){var r=rF("dlgZx");e.exports=function(){var e=0,t=[],n=[];return{get:function(e){var i=r.call(t,e[0]);return-1===i?null:n[i];},set:function(r){return t.push(r[0]),n.push(++e),e;},delete:function(e){var i=r.call(n,e);-1!==i&&(t.splice(i,1),n.splice(i,1));},clear:function(){t=[],n=[];}};};}),rU("hqtiJ",function(e,t){var r=rF("dlgZx"),n=Object.create;e.exports=function(e){var t=0,i=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,s=i;o100&&(t=t.slice(0,99)+"…"),t=t.replace(/[\n\r\u2028\u2029]/g,function(e){return JSON.stringify(e).slice(1,-1);});};}),rU("5uwxY",function(e,t){var r=rF("acEY7");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rU("3lsZz",function(e,t){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then;}e.exports=r,e.exports.default=r;}),rU("i7d4K",function(e,t){var r=rF("czzoJ"),n=rF("8KFbm"),i=rF("e4Lgg"),o=Function.prototype.apply;i.dispose=function(e,t,s){var a;if(r(e),s.async&&i.async||s.promise&&i.promise){t.on("deleteasync",a=function(t,r){o.call(e,null,r);}),t.on("clearasync",function(e){n(e,function(e,t){a(t,e);});});return;}t.on("delete",a=function(t,r){e(r);}),t.on("clear",function(e){n(e,function(e,t){a(t,e);});});};}),rU("b1mdU",function(e,t){var r=rF("lCzSe"),n=rF("8KFbm"),i=rF("aDo18"),o=rF("3lsZz"),s=rF("frVfT"),a=rF("e4Lgg"),l=Function.prototype,c=Math.max,u=Math.min,p=Object.create;a.maxAge=function(e,t,f){var d,h,m,v;(e=s(e))&&(d=p(null),h=f.async&&a.async||f.promise&&a.promise?"async":"",t.on("set"+h,function(r){d[r]=setTimeout(function(){t.delete(r);},e),"function"==typeof d[r].unref&&d[r].unref(),v&&(v[r]&&"nextTick"!==v[r]&&clearTimeout(v[r]),v[r]=setTimeout(function(){delete v[r];},m),"function"==typeof v[r].unref&&v[r].unref());}),t.on("delete"+h,function(e){clearTimeout(d[e]),delete d[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e]);}),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:c(u(+f.preFetch,1),0))&&(v={},m=(1-m)*e,t.on("get"+h,function(e,n,s){v[e]||(v[e]="nextTick",i(function(){var i;"nextTick"===v[e]&&(delete v[e],t.delete(e),f.async&&(n=r(n)).push(l),i=t.memoized.apply(s,n),f.promise&&o(i)&&("function"==typeof i.done?i.done(l,l):i.then(l,l)));}));})),t.on("clear"+h,function(){n(d,function(e){clearTimeout(e);}),d={},v&&(n(v,function(e){"nextTick"!==e&&clearTimeout(e);}),v={});}));};}),rU("frVfT",function(e,t){var r=rF("lFuzu"),n=rF("6prMa");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rU("6prMa",function(e,t){e.exports=2147483647;}),rU("dZT72",function(e,t){var r=rF("lFuzu"),n=rF("bE3O1"),i=rF("e4Lgg");i.max=function(e,t,o){var s,a,l;(e=r(e))&&(a=n(e),s=o.async&&i.async||o.promise&&i.promise?"async":"",t.on("set"+s,l=function(e){void 0!==(e=a.hit(e))&&t.delete(e);}),t.on("get"+s,l),t.on("delete"+s,a.delete),t.on("clear"+s,a.clear));};}),rU("bE3O1",function(e,t){var r=rF("lFuzu"),n=Object.create,i=Object.prototype.hasOwnProperty;e.exports=function(e){var t,o=0,s=1,a=n(null),l=n(null),c=0;return e=r(e),{hit:function(r){var n=l[r],u=++c;if(a[u]=r,l[r]=u,!n){if(++o<=e)return;return r=a[s],t(r),r;}if(delete a[n],s===n)for(;!i.call(a,++s);)continue;},delete:t=function(e){var t=l[e];if(t&&(delete a[t],delete l[e],--o,s===t)){if(!o){c=0,s=1;return;}for(;!i.call(a,++s);)continue;}},clear:function(){o=0,s=1,a=n(null),l=n(null),c=0;}};};}),rU("eA2P6",function(e,t){var r=rF("9xcfl"),n=rF("e4Lgg"),i=Object.create,o=Object.defineProperties;n.refCounter=function(e,t,s){var a,l;a=i(null),l=s.async&&n.async||s.promise&&n.promise?"async":"",t.on("set"+l,function(e,t){a[e]=t||1;}),t.on("get"+l,function(e){++a[e];}),t.on("delete"+l,function(e){delete a[e];}),t.on("clear"+l,function(){a={};}),o(t.memoized,{deleteRef:r(function(){var e=t.get(arguments);return null!==e&&a[e]?! --a[e]&&(t.delete(e),!0):null;}),getRefCount:r(function(){var e=t.get(arguments);return null!==e&&a[e]?a[e]:0;})});};}),rU("ibhuk",function(e,t){async function r(e){try{return await(0,rE.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rU("sOzdu",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rU("j5MHF",function(e,t){var r=iY.resolve(__dirname,"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rU("2KdLC",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rF("5FRs7"),i=rF("3Zbea");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(e){try{r(require(`../locales/${e}.js`));}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`);}})(e);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),c=[];for(let e of l){let[t,r]=e;if(r>0&&c.push(function(e,t,r){let i=function(e){let t=a[e.locale],r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType);let n=null;if((r=Array.from(new Set(r))).some(function(e){if(void 0!==t[e])return n=t[e],!0;}),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n;}(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t);}(t,r,s)),c.length>=s.span)break;}return c.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rU("5FRs7",function(e,t){e.exports=rF("j5MHF");}),rU("3Zbea",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rU("51NgG",function(e,t){var r=rF("a4A3m"),n=rF("gzZHc"),i=rF("8wL3J"),o=rF("9kOAd"),s=rF("dJ3EL"),a=rF("2owFL"),l=rF("kBdlj"),c=rF("bFSJ9"),u=rF("bdHiQ"),p=rF("gWZ4x"),f=rF("dLri9"),d=rF("2tsX7"),h=rF("3lzLT"),m=rF("fYuCK"),v=rF("6LnSq"),g=rF("dZkNJ"),y=rF("2Qi5H"),E=rF("fJeYC"),w=rF("j1k1X"),_=rF("ccAMb"),b=rF("4qy3a"),x=rF("3ovyF"),O=rF("laDmN"),S=rF("3cxkY"),R=rF("aTQrN"),I=rF("5kn9j"),T=rF("8YrRN"),P=rF("fNiVh"),A=rF("gTfXP"),N=rF("kPBDZ"),$=rF("cVl8o"),C=rF("j0UMd"),L=rF("kgJyO"),k=rF("k8woQ"),D=rF("cQA7W"),j=rF("j3dZX"),F=rF("bENPT"),U=rF("iehU8"),M=rF("5NOPx"),G=rF("fdN0I"),B=rF("lxNIV");e.exports={parse:s,valid:a,clean:l,inc:c,diff:u,major:p,minor:f,patch:d,prerelease:h,compare:m,rcompare:v,compareLoose:g,compareBuild:y,sort:E,rsort:w,gt:_,lt:b,eq:x,neq:O,gte:S,lte:R,cmp:I,coerce:T,Comparator:P,Range:A,satisfies:N,toComparators:$,maxSatisfying:C,minSatisfying:L,minVersion:k,validRange:D,outside:j,gtr:F,ltr:U,intersects:M,simplifyRange:G,subset:B,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers};}),rU("a4A3m",function(e,t){var r=rF("gzZHc"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rF("cg13c");let a=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],u=t.t={},p=0,f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[f,i]],h=e=>{for(let[t,r]of d)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),m("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${f}+`),m("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),m("FULL",`^${c[u.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),m("LOOSE",`^${c[u.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),m("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?`+"(?:$|[^\\d])"),m("COERCERTL",c[u.COERCE],!0),m("COERCERTLFULL",c[u.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rU("gzZHc",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rU("cg13c",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rU("8wL3J",function(e,t){var r=rF("cg13c"),n=rF("gzZHc"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rF("a4A3m"),a=s.safeRe,l=s.t,c=rF("5bRb1"),u=rF("9kOAd").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rU("5bRb1",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rU("9kOAd",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rU("dJ3EL",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rU("2owFL",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rU("kBdlj",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rU("bFSJ9",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rU("bdHiQ",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(l.prerelease.length&&!c)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let u=c?"pre":"";return n.major!==i.major?u+"major":n.minor!==i.minor?u+"minor":n.patch!==i.patch?u+"patch":"prerelease";};}),rU("gWZ4x",function(e,t){var r=rF("8wL3J");e.exports=(e,t)=>new r(e,t).major;}),rU("dLri9",function(e,t){var r=rF("8wL3J");e.exports=(e,t)=>new r(e,t).minor;}),rU("2tsX7",function(e,t){var r=rF("8wL3J");e.exports=(e,t)=>new r(e,t).patch;}),rU("3lzLT",function(e,t){var r=rF("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rU("fYuCK",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rU("6LnSq",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>r(t,e,n);}),rU("dZkNJ",function(e,t){var r=rF("fYuCK");e.exports=(e,t)=>r(e,t,!0);}),rU("2Qi5H",function(e,t){var r=rF("8wL3J");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rU("fJeYC",function(e,t){var r=rF("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rU("j1k1X",function(e,t){var r=rF("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rU("ccAMb",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>0;}),rU("4qy3a",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0>r(e,t,n);}),rU("3ovyF",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0===r(e,t,n);}),rU("laDmN",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0!==r(e,t,n);}),rU("3cxkY",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rU("aTQrN",function(e,t){var r=rF("fYuCK");e.exports=(e,t,n)=>0>=r(e,t,n);}),rU("5kn9j",function(e,t){var r=rF("3ovyF"),n=rF("laDmN"),i=rF("ccAMb"),o=rF("3cxkY"),s=rF("4qy3a"),a=rF("aTQrN");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return n(e,l,c);case">":return i(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw TypeError("Invalid operator: "+t);}};}),rU("8YrRN",function(e,t){var r=rF("8wL3J"),n=rF("dJ3EL"),i=rF("a4A3m"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let r;let n=t.includePrerelease?o[s.COERCERTLFULL]:o[s.COERCERTL];for(;(r=n.exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1;}else i=e.match(t.includePrerelease?o[s.COERCEFULL]:o[s.COERCE]);if(null===i)return null;let a=i[2],l=i[3]||"0",c=i[4]||"0",u=t.includePrerelease&&i[5]?"-"+i[5]:"",p=t.includePrerelease&&i[6]?"+"+i[6]:"";return n(`${a}.${l}.${c}${u}${p}`,t);};}),rU("fNiVh",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options);}catch(e){return!1;}return l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rF("5bRb1"),o=rF("a4A3m"),s=o.safeRe,a=o.t,l=rF("5kn9j"),c=rF("cg13c"),u=rF("8wL3J"),p=rF("gTfXP");}),rU("gTfXP",function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t);}if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(/\s+/g," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break;}}}this.formatted=void 0;}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim();}}return this.formatted;}format(){return this.range;}toString(){return this.range;}parseRange(e){let t=((this.options.includePrerelease&&m)|(this.options.loose&&v))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,a=i?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];s("hyphen replace",e=e.replace(a,A(this.options.includePrerelease))),s("comparator trim",e=e.replace(c[u.COMPARATORTRIM],p)),s("tilde trim",e=e.replace(c[u.TILDETRIM],f)),s("caret trim",e=e.replace(c[u.CARETTRIM],d));let l=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>P(e,this.options));i&&(l=l.filter(e=>(s("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE])))),s("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(g(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let y=[...h.values()];return n.set(t,y),y;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>E(r,t)&&e.set.some(e=>E(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;t"<0.0.0-0"===e.value,y=e=>""===e.value,E=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},w=(e,t)=>(s("comp",e,t),s("caret",e=O(e,t)),s("tildes",e=b(e,t)),s("xrange",e=R(e,t)),s("stars",e=T(e,t)),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(" "),x=(e,t)=>{let r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),_(r)?a="":_(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:_(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a;});},O=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{s("caret",e,t);let r=t.loose?c[u.CARETLOOSE]:c[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let l;return s("caret",e,t,r,i,o,a),_(r)?l="":_(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:_(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(s("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),s("caret return",l),l;});},R=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>I(e,t)).join(" ")),I=(e,t)=>{e=e.trim();let r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,(r,n,i,o,a,l)=>{s("xRange",e,r,n,i,o,a,l);let c=_(i),u=c||_(o),p=u||_(a);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${a}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),s("xRange return",r),r;});},T=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),P=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=e=>(t,r,n,i,o,s,a,l,c,u,p,f)=>(r=_(n)?"":_(i)?`>=${n}.0.0${e?"-0":""}`:_(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`,l=_(c)?"":_(u)?`<${+c+1}.0.0-0`:_(p)?`<${c}.${+u+1}.0-0`:f?`<=${c}.${u}.${p}-${f}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),N=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rU("3rMGs",function(e,t){e.exports=class{constructor(){this.max=1e3,this.map=new Map();}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t;}delete(e){return this.map.delete(e);}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e);}this.map.set(e,t);}return this;}};}),rU("kPBDZ",function(e,t){var r=rF("gTfXP");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rU("cVl8o",function(e,t){var r=rF("gTfXP");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rU("j0UMd",function(e,t){var r=rF("8wL3J"),n=rF("gTfXP");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rU("kgJyO",function(e,t){var r=rF("8wL3J"),n=rF("gTfXP");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rU("k8woQ",function(e,t){var r=rF("8wL3J"),n=rF("gTfXP"),i=rF("ccAMb");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rU("cQA7W",function(e,t){var r=rF("gTfXP");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rU("j3dZX",function(e,t){var r=rF("8wL3J"),n=rF("fNiVh");let{ANY:i}=n;var o=rF("gTfXP"),s=rF("kPBDZ"),a=rF("ccAMb"),l=rF("4qy3a"),c=rF("aTQrN"),u=rF("3cxkY");e.exports=(e,t,p,f)=>{let d,h,m,v,g;switch(e=new r(e,f),t=new o(t,f),p){case">":d=a,h=c,m=l,v=">",g=">=";break;case"<":d=l,h=u,m=a,v="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,f))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,d(e.semver,s.semver,f)?s=e:m(e.semver,a.semver,f)&&(a=e);}),s.operator===v||s.operator===g||(!a.operator||a.operator===v)&&h(e,a.semver)||a.operator===g&&m(e,a.semver))return!1;}return!0;};}),rU("bENPT",function(e,t){var r=rF("j3dZX");e.exports=(e,t,n)=>r(e,t,">",n);}),rU("iehU8",function(e,t){var r=rF("j3dZX");e.exports=(e,t,n)=>r(e,t,"<",n);}),rU("5NOPx",function(e,t){var r=rF("gTfXP");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rU("fdN0I",function(e,t){var r=rF("kPBDZ"),n=rF("fYuCK");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);let c=[];for(let[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");let u=c.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return u.length=0.0.0-0")],l=[new n(">=0.0.0")],c=(e,t,r)=>{let n,c,f,d,h,m,v;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let g=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?c=p(c,t,r):g.add(t.semver);if(g.size>1||n&&c&&((f=s(n.semver,c.semver,r))>0||0===f&&(">="!==n.operator||"<="!==c.operator)))return null;for(let e of g){if(n&&!o(e,n+"",r)||c&&!o(e,c+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let y=!!c&&!r.includePrerelease&&!!c.semver.prerelease.length&&c.semver,E=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(y&&1===y.prerelease.length&&"<"===c.operator&&0===y.prerelease[0]&&(y=!1),t)){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if((d=u(n,e,r))===e&&d!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(c){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=p(c,e,r))===e&&h!==c)return!1;}else if("<="===c.operator&&!o(c.semver,e+"",r))return!1;}if(!e.operator&&(c||n)&&0!==f)return!1;}return(!n||!m||!!c||0===f)&&(!c||!v||!!n||0===f)&&!E&&!y;},u=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===t.operator&&"<="===e.operator?t:e;};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rU("drEX5",function(e,t){var r,n,i,o,s,a,u,p,f,d,h,m,v;function g(e,t){return Object.keys(t).forEach(r=>{"default"===r||"__esModule"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get:()=>t[r]});}),e;}function y(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function E(e,t=!0){return t?(0,iY.basename)(e):(0,iY.basename)(e,(0,iY.extname)(e));}function w(e){return(0,iY.normalize)(e).replace(RegExp((0,r.default)(iY.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iY.extname)(e),n=`${t}${(0,iY.basename)(e,r)}${r}`;return(0,iY.join)((0,iY.dirname)(e),n);}function x(e,t){let r=(0,iY.extname)(e),n=`${(0,iY.basename)(e,r)}${t}${r}`;return(0,iY.join)((0,iY.dirname)(e),n);}function O(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function S(e){return"win32"===process.platform?e:"./"+e;}function R(e){let t=(0,iY.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iY.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iY.sep)||r===(0,iY.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>O),l(e.exports,"addShRelativePrefix",()=>S),l(e.exports,"dirname",()=>iY.dirname),l(e.exports,"join",()=>iY.join),r=rF("1ondq"),n=rF("7BfUa"),i={},y(o={},"name",()=>E),y(s={},"normalizeTrim",()=>w),y(a={},"addExeExt",()=>_),y(u={},"addNamePrefix",()=>b),y(p={},"addNameSuffix",()=>x),y(f={},"addShExt",()=>O),y(d={},"addShRelativePrefix",()=>S),y(h={},"removeExt",()=>R),y(m={},"replaceExt",()=>I),y(v={},"isPathInside",()=>T),g(i,o),g(i,s),g(i,a),g(i,u),g(i,p),g(i,f),g(i,d),g(i,h),g(i,m),g(i,v);}),rU("1ondq",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rU("7BfUa",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iY.basename(e,iY.extname(e))+t,i=iY.join(iY.dirname(e),n);return(r=e.slice(0,2))==="."+iY.sep||"./"===r?"."+iY.sep+i:i;};}),rU("g9WSN",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){rg.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(u.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(u.join(i,e),t);r&&n.push(r);}return n;});}function c(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;let u=i(iY),p=i(rF("2qpn6"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force;return{force:t,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let f=l&&l.isDirectory()&&s?u.join(t,u.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);if((yield p.stat(e)).isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(!(n>=255)){for(let o of(n++,yield a(r),yield p.readdir(t))){let s=`${t}/${o}`,a=`${r}/${o}`;(yield p.lstat(s)).isDirectory()?yield e(s,a,n,i):yield c(s,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,f,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===u.relative(e,f))throw Error(`'${f}' and '${e}' are the same file`);yield c(e,f,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(u.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rU("2qpn6",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(iK),c=i(iY);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(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){let e=c.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,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{let r=c.dirname(t),n=c.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=c.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rU("6kHxT",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rF("a5mzA"));s=rF("k1l4q"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iW.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(c=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${u}`);let r=t.arch===i&&t.platform===u;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&c&&((o=Object.assign({},l)).files=[c]),o;});},e.exports._getOsVersion=function(){let t=iW.platform(),r="";if("darwin"===t)r=rw.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;},e.exports._readLinuxVersionFile=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return iK.existsSync(e)?r=iK.readFileSync(e).toString():iK.existsSync(t)&&(r=iK.readFileSync(t).toString()),r;};}),rU("a5mzA",function(e,t){function r(e){P[e]=A++;}function n(e){for(var t=0;t<$.length;t++){var r=$[t][0],n=$[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}");}return e;}function i(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o)return e;if("string"!=typeof e||e.length>x||!(t.loose?I[P.LOOSE]:I[P.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>x)throw TypeError("version is longer than "+x+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?I[P.LOOSE]:I[P.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>O||this.major<0)throw TypeError("Invalid major version");if(this.minor>O||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>O||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function c(e,t,r){return 0>a(e,t,r);}function u(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function f(e,t,r){return a(e,t,r)>=0;}function d(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return u(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return f(e,r,n);case"<":return c(e,r,n);case"<=":return d(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),b("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===k?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function v(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof v)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new v(e.raw,t);if(e instanceof m)return new v(e.value,t);if(!(this instanceof v))return new v(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function g(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function y(e){return!e||"x"===e.toLowerCase()||"*"===e;}function E(e,t,r,n,i,o,s,a,l,c,u,p,f){return((t=y(r)?"":y(n)?">="+r+".0.0":y(i)?">="+r+"."+n+".0":">="+t)+" "+(a=y(l)?"":y(c)?"<"+(+l+1)+".0.0":y(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new v(t,r);}catch(e){return!1;}return t.test(e);}function _(e,t,r,n){switch(e=new o(e,n),t=new v(t,n),r){case">":i=l,s=d,a=c,u=">",p=">=";break;case"<":i=c,s=f,a=l,u="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,u,p,h=0;h=0.0.0")),y=y||e,E=E||e,i(e.semver,y.semver,n)?y=e:a(e.semver,E.semver,n)&&(E=e);}),y.operator===u||y.operator===p||(!E.operator||E.operator===u)&&s(e,E.semver)||E.operator===p&&a(e,E.semver))return!1;}return!0;}t=e.exports=o,"object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?b=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:b=function(){},t.SEMVER_SPEC_VERSION="2.0.0",x=256,O=Number.MAX_SAFE_INTEGER||9007199254740991,S=x-6,R=t.re=[],I=t.safeRe=[],T=t.src=[],P=t.tokens={},A=0,$=[["\\s",1],["\\d",x],[N="[a-zA-Z0-9-]",S]],r("NUMERICIDENTIFIER"),T[P.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),T[P.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),T[P.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+N+"*",r("MAINVERSION"),T[P.MAINVERSION]="("+T[P.NUMERICIDENTIFIER]+")\\.("+T[P.NUMERICIDENTIFIER]+")\\.("+T[P.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),T[P.MAINVERSIONLOOSE]="("+T[P.NUMERICIDENTIFIERLOOSE]+")\\.("+T[P.NUMERICIDENTIFIERLOOSE]+")\\.("+T[P.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),T[P.PRERELEASEIDENTIFIER]="(?:"+T[P.NUMERICIDENTIFIER]+"|"+T[P.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),T[P.PRERELEASEIDENTIFIERLOOSE]="(?:"+T[P.NUMERICIDENTIFIERLOOSE]+"|"+T[P.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),T[P.PRERELEASE]="(?:-("+T[P.PRERELEASEIDENTIFIER]+"(?:\\."+T[P.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),T[P.PRERELEASELOOSE]="(?:-?("+T[P.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+T[P.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),T[P.BUILDIDENTIFIER]=N+"+",r("BUILD"),T[P.BUILD]="(?:\\+("+T[P.BUILDIDENTIFIER]+"(?:\\."+T[P.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),T[P.FULLPLAIN]="v?"+T[P.MAINVERSION]+T[P.PRERELEASE]+"?"+T[P.BUILD]+"?",T[P.FULL]="^"+T[P.FULLPLAIN]+"$",r("LOOSEPLAIN"),T[P.LOOSEPLAIN]="[v=\\s]*"+T[P.MAINVERSIONLOOSE]+T[P.PRERELEASELOOSE]+"?"+T[P.BUILD]+"?",r("LOOSE"),T[P.LOOSE]="^"+T[P.LOOSEPLAIN]+"$",r("GTLT"),T[P.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),T[P.XRANGEIDENTIFIERLOOSE]=T[P.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),T[P.XRANGEIDENTIFIER]=T[P.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),T[P.XRANGEPLAIN]="[v=\\s]*("+T[P.XRANGEIDENTIFIER]+")(?:\\.("+T[P.XRANGEIDENTIFIER]+")(?:\\.("+T[P.XRANGEIDENTIFIER]+")(?:"+T[P.PRERELEASE]+")?"+T[P.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),T[P.XRANGEPLAINLOOSE]="[v=\\s]*("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:"+T[P.PRERELEASELOOSE]+")?"+T[P.BUILD]+"?)?)?",r("XRANGE"),T[P.XRANGE]="^"+T[P.GTLT]+"\\s*"+T[P.XRANGEPLAIN]+"$",r("XRANGELOOSE"),T[P.XRANGELOOSE]="^"+T[P.GTLT]+"\\s*"+T[P.XRANGEPLAINLOOSE]+"$",r("COERCE"),T[P.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),R[P.COERCERTL]=RegExp(T[P.COERCE],"g"),I[P.COERCERTL]=RegExp(n(T[P.COERCE]),"g"),r("LONETILDE"),T[P.LONETILDE]="(?:~>?)",r("TILDETRIM"),T[P.TILDETRIM]="(\\s*)"+T[P.LONETILDE]+"\\s+",R[P.TILDETRIM]=RegExp(T[P.TILDETRIM],"g"),I[P.TILDETRIM]=RegExp(n(T[P.TILDETRIM]),"g"),r("TILDE"),T[P.TILDE]="^"+T[P.LONETILDE]+T[P.XRANGEPLAIN]+"$",r("TILDELOOSE"),T[P.TILDELOOSE]="^"+T[P.LONETILDE]+T[P.XRANGEPLAINLOOSE]+"$",r("LONECARET"),T[P.LONECARET]="(?:\\^)",r("CARETTRIM"),T[P.CARETTRIM]="(\\s*)"+T[P.LONECARET]+"\\s+",R[P.CARETTRIM]=RegExp(T[P.CARETTRIM],"g"),I[P.CARETTRIM]=RegExp(n(T[P.CARETTRIM]),"g"),r("CARET"),T[P.CARET]="^"+T[P.LONECARET]+T[P.XRANGEPLAIN]+"$",r("CARETLOOSE"),T[P.CARETLOOSE]="^"+T[P.LONECARET]+T[P.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),T[P.COMPARATORLOOSE]="^"+T[P.GTLT]+"\\s*("+T[P.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),T[P.COMPARATOR]="^"+T[P.GTLT]+"\\s*("+T[P.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),T[P.COMPARATORTRIM]="(\\s*)"+T[P.GTLT]+"\\s*("+T[P.LOOSEPLAIN]+"|"+T[P.XRANGEPLAIN]+")",R[P.COMPARATORTRIM]=RegExp(T[P.COMPARATORTRIM],"g"),I[P.COMPARATORTRIM]=RegExp(n(T[P.COMPARATORTRIM]),"g"),C="$1$2$3",r("HYPHENRANGE"),T[P.HYPHENRANGE]="^\\s*("+T[P.XRANGEPLAIN]+")\\s+-\\s+("+T[P.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),T[P.HYPHENRANGELOOSE]="^\\s*("+T[P.XRANGEPLAINLOOSE]+")\\s+-\\s+("+T[P.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),T[P.STAR]="(<|>)?=?\\s*\\*";for(var b,x,O,S,R,I,T,P,A,N,$,C,L,k,D=0;D=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(u(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,L=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=c,t.eq=u,t.neq=p,t.gte=f,t.lte=d,t.cmp=h,t.Comparator=m,k={},m.prototype.parse=function(e){var t=this.options.loose?I[P.COMPARATORLOOSE]:I[P.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=k;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===k||e===k)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new v(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new v(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=v,v.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},v.prototype.toString=function(){return this.range;},v.prototype.parseRange=function(e){var t=this.options.loose,r=t?I[P.HYPHENRANGELOOSE]:I[P.HYPHENRANGE];e=e.replace(r,E),b("hyphen replace",e),e=e.replace(I[P.COMPARATORTRIM],C),b("comparator trim",e,I[P.COMPARATORTRIM]),e=(e=(e=e.replace(I[P.TILDETRIM],"$1~")).replace(I[P.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?I[P.COMPARATORLOOSE]:I[P.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,c;return t=e,r=this.options,b("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?I[P.CARETLOOSE]:I[P.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),y(r)?s="":y(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":y(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "),b("caret",t),o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?I[P.TILDELOOSE]:I[P.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),y(r)?s="":y(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":y(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "),b("tildes",t),b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?I[P.XRANGELOOSE]:I[P.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=y(i),c=l||y(o),u=c||y(s);return"="===n&&u&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):c?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:u&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "),b("xrange",t),b("replaceStars",c=t,r),t=c.trim().replace(I[P.STAR],""),b("stars",t),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},v.prototype.intersects=function(e,t){if(!(e instanceof v))throw TypeError("a Range is required");return this.set.some(function(r){return g(r,t)&&e.set.some(function(e){return g(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new v(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},v.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new v(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new v(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return _(e,t,"<",r);},t.gtr=function(e,t,r){return _(e,t,">",r);},t.outside=_,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new v(e,r),t=new v(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=I[P.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),I[P.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;I[P.COERCERTL].lastIndex=-1;}else n=e.match(I[P.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rU("iFKS7",function(e,t){var r=rF("joDHm"),n=rF("inTPA");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rU("joDHm",function(e,t){e.exports=function(){return iJ.randomBytes(16);};}),rU("inTPA",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("");};}),rU("ca0ts",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(i,t,r).exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rF("e0fPv"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new r_.StringDecoder("utf8"),c=new r_.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,f=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),u&&u(e);},stderr(e){a+=c.write(e),p&&p(e);}}),d=yield s(e,t,Object.assign(Object.assign({},r),{listeners:f}));return o+=l.end(),a+=c.end(),{exitCode:d,stdout:o,stderr:a};});};}),rU("e0fPv",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(iW),a=i(rv),l=i(rw),c=i(iY),u=i(rF("g9WSN")),p=i(rF("2qpn6")),f="win32"===process.platform;class d 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(f){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return f&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(f&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return(t+='"').split("").reverse().join("");}_cloneExecOptions(e){let 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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||f&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.stdout.on("data",e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e);});});let c="";if(o.stderr&&o.stderr.on("data",e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.on("close",e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete();}),n.on("done",(r,n)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=d,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.trim()),r;};class h extends a.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay);}CheckComplete(){!this.done&&(this.processClosed?this._setResult():this.processExited&&(this.timeout=rb.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rU("3LAPQ",function(e,t){e.exports=Promise.resolve(require("./actions_python.0b2a8a9a.js")).then(()=>rF("apy8x"));}),rU("byH4M",function(e,t){e.exports=Promise.resolve(require("./hdi.619de66c.js")).then(()=>rF("9IkUc"));}),rM=rF("dKklS"),rG=rF("pcnv8"),rB=rF("k1l4q"),rM=rF("dKklS"),rG=rF("pcnv8"),rq={},rH={},rz={},rV={};const i0="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,i1=i0?";":":";rX={},"win32"===process.platform||rk.TESTING_WINDOWS?rW=rF("ftrAD"):rW=rF("9yF3I"),rX=u,u.sync=function(e,t){try{return rW.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const i2=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i3=(e,t)=>{let r=t.colon||i1,n=e.match(/\//)||i0&&e.match(/\\/)?[""]:[...(i0?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=i0?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=i0?i.split(r):[""];return i0&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i4=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i3(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(i2(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iY.join(c,e);i(l(!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u,r,0));}),l=(e,r,n)=>new Promise((c,u)=>{if(n===i.length)return c(a(r+1));let p=i[n];rX(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return c(e+p);s.push(e+p);}return c(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rV=i4,i4.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i3(e,t=t||{}),o=[];for(let s=0;s{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rY=i6).default=i6,rz=function(e){return p(e)||p(e,!0);};rK=function(e){return e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1");},rJ=function(e,t){return e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1"),e=(e=`"${e}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),t&&(e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),e;},rZ={},rQ={},r0={},r0=/^#!(.*)/,rQ=(e="")=>{let t=e.match(r0);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rZ=function(e){let t;let r=Buffer.alloc(150);try{t=iK.openSync(e,"r"),iK.readSync(t,r,0,150,0),iK.closeSync(t);}catch(e){}return rQ(r.toString());};const i8="win32"===process.platform;rH=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);let n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!i8)return e;let t=function(e){e.file=rz(e);let t=e.file&&rZ(e.file);return t?(e.args.unshift(e.file),e.command=t,rz(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=iY.normalize(e.command),e.command=rK(e.command),e.args=e.args.map(e=>rJ(e,r));let n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},r1={};const i5="win32"===process.platform;r1={hookChildProcess:function(e,t){if(!i5)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=d(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:d,verifyENOENTSync:function(e,t){return i5&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rq=h).spawn=h,rq.sync=function(e,t,r){let n=rH(e,t,r),i=rw.spawnSync(n.command,n.args,n.options);return i.error=i.error||r1.verifyENOENTSync(i.status,n),i;},rq._parse=rH,rq._enoent=r1;const i7=({cwd:e=c(rR).cwd(),path:t=c(rR).env[m()],preferLocal:r=!0,execPath:n=c(rR).execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?(0,rI.fileURLToPath)(e):e,s=c(rO).resolve(o),a=[];return r&&i9(a,s),i&&oe(a,n,s),[...a,t].join(c(rO).delimiter);},i9=(e,t)=>{let r;for(;r!==t;)e.push(c(rO).join(t,"node_modules/.bin")),r=t,t=c(rO).resolve(t,"..");},oe=(e,t,r)=>{let n=t instanceof URL?(0,rI.fileURLToPath)(t):t;e.push(c(rO).resolve(r,n,".."));},ot=({env:e=c(rR).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i7(t),e;},or=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(on(i,o)||!n)&&Object.defineProperty(e,r,o);},on=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},oi=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},oo=(e,t)=>`/* Wrapped ${e}*/ ${t}`,os=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oa=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),ol=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=oo.bind(null,n,t.toString());Object.defineProperty(i,"name",oa),Object.defineProperty(e,"toString",{...os,value:i});},oc=new WeakMap(),ou=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(oc.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))or(e,t,n,r);oi(e,t),ol(e,t,n);}(o,e),oc.set(o,n),o;};ou.callCount=e=>{if(!oc.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return oc.get(e);},r2=ou;const op=()=>Array.from({length:oh-od+1},of),of=(e,t)=>({name:"SIGRT"+(t+1),number:od+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),od=34,oh=64,om=[{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"}],ov=()=>[...om,...op()].map(og),og=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rT.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},oy=Object.fromEntries(ov().map(({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}])),oE=(e,t)=>{let r=ow(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},ow=(e,t)=>{let r=t.find(({name:t})=>rT.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=ov();return Object.assign({},...Array.from({length:oh+1},(t,r)=>oE(r,e)));})();const o_=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",ob=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:p,parsed:{options:{timeout:f,cwd:d=c(rR).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:oy[i].description,m=o_({timedOut:l,timeout:f,errorCode:n&&n.code,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),v=`Command ${m}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),y=g?`${v} -${n.message}`:v,E=[y,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=d,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=p&&!l,n;},ox=["stdin","stdout","stderr"],oO=e=>ox.some(t=>void 0!==e[t]),oS=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return ox.map(t=>e[t]);if(oO(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ox.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,ox.length)},(e,r)=>t[r]);};r3={};const oR=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;};if(oR(r4=rk.process)){var oI,oT=rg,oP=rF("bJALw"),oN=/^win/i.test(r4.platform),oA=rv;"function"!=typeof oA&&(oA=oA.EventEmitter),r4.__signal_exit_emitter__?oI=r4.__signal_exit_emitter__:((oI=r4.__signal_exit_emitter__=new oA()).count=0,oI.emitted={}),oI.infinite||(oI.setMaxListeners(1/0),oI.infinite=!0);var o$=function(){ok&&oR(rk.process)&&(ok=!1,oP.forEach(function(e){try{r4.removeListener(e,oL[e]);}catch(e){}}),r4.emit=oU,r4.reallyExit=oj,oI.count-=1);};(r3=function(e,t){if(!oR(rk.process))return function(){};oT.equal(typeof e,"function","a callback must be provided for exit handler"),!1===ok&&oD();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oI.on(r,e),function(){oI.removeListener(r,e),0===oI.listeners("exit").length&&0===oI.listeners("afterexit").length&&o$();};}).unload=o$;var oC=function(e,t,r){oI.emitted[e]||(oI.emitted[e]=!0,oI.emit(e,t,r));},oL={};oP.forEach(function(e){oL[e]=function(){oR(rk.process)&&r4.listeners(e).length===oI.count&&(o$(),oC("exit",null,e),oC("afterexit",null,e),oN&&"SIGHUP"===e&&(e="SIGINT"),r4.kill(r4.pid,e));};}),r3.signals=function(){return oP;};var ok=!1,oD=function(){!ok&&oR(rk.process)&&(ok=!0,oI.count+=1,oP=oP.filter(function(e){try{return r4.on(e,oL[e]),!0;}catch(e){return!1;}}),r4.emit=oM,r4.reallyExit=oF);};r3.load=oD;var oj=r4.reallyExit,oF=function(e){oR(rk.process)&&(r4.exitCode=e||0,oC("exit",r4.exitCode,null),oC("afterexit",r4.exitCode,null),oj.call(r4,r4.exitCode));},oU=r4.emit,oM=function(e,t){if(!("exit"===e&&oR(rk.process)))return oU.apply(this,arguments);void 0!==t&&(r4.exitCode=t);var r=oU.apply(this,arguments);return oC("exit",r4.exitCode,null),oC("afterexit",r4.exitCode,null),r;};}else r3=function(){return function(){};};const oG=(e,t="SIGTERM",r={})=>{let n=e(t);return oB(e,t,r,n),n;},oB=(e,t,r,n)=>{if(!oH(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oz(r));i.unref&&i.unref();},oH=(e,{forceKillAfterTimeout:t},r)=>oq(e)&&!1!==t&&r,oq=e=>e===c(rT).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oz=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},oV=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oX=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oW=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oX(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oY=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oJ=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r3)(()=>{e.kill();});return n.finally(()=>{i();});},oK=e=>e instanceof rS.ChildProcess&&"function"==typeof e.then,oZ=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rE.createWriteStream)(r)),e;if(g(r))return e[t].pipe(r),e;if(!oK(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!g(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oQ=e=>{null!==e.stdout&&(e.pipeStdout=oZ.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oZ.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oZ.bind(void 0,e,"all"));};r6={},r8=rP.constants,r5=ry.promisify,r7={},r9=rN.PassThrough,r7=e=>{let{array:t}=e={...e},{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new r9({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const o0=r5(rN.pipeline);class o1 extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r6=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r6.array=(e,t)=>y(e,{...t,array:!0}),r6.MaxBufferError=o1,ne={},nt=rN.PassThrough,ne=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new nt({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const o2=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o3=({input:e,inputFile:t})=>"string"!=typeof t?e:(o2(e),(0,rE.readFileSync)(t)),o4=e=>{let t=o3(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o6=({input:e,inputFile:t})=>"string"!=typeof t?e:(o2(e),(0,rE.createReadStream)(t)),o8=(e,t)=>{let r=o6(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o5=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(ne)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o7=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o9=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r6)(e,{encoding:t,maxBuffer:n}):c(r6).buffer(e,{maxBuffer:n});},se=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o9(e,{encoding:n,buffer:i,maxBuffer:o}),l=o9(t,{encoding:n,buffer:i,maxBuffer:o}),c=o9(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},o7(e,a),o7(t,l),o7(r,c)]);}},st=(async()=>{})().constructor.prototype,sr=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(st,e)]),sn=(e,t)=>{for(let[r,n]of sr){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},si=e=>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);});}),so=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],ss=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,sa=(e,t)=>so(e,t).join(" "),sl=(e,t)=>so(e,t).map(e=>ss(e)).join(" "),sc=e=>{let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;},su=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rS.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rx.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sp=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sf=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=sp(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sp(s,Array.isArray(a)?a.map(e=>su(e)):[su(a)],o.endsWith(" "));},sd=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sf({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sh=(0,rA.debuglog)("execa").enabled,sm=(e,t)=>(e+"").padStart(t,"0"),sv=()=>{let e=new Date();return`${sm(e.getHours(),2)}:${sm(e.getMinutes(),2)}:${sm(e.getSeconds(),2)}.${sm(e.getMilliseconds(),3)}`;},sg=(e,{verbose:t})=>{t&&c(rR).stderr.write(`[${sv()}] ${e} -`);},sy=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rR).env,...e}:e;return r?ot({env:o,cwd:n,execPath:i}):o;},sE=(e,t,r={})=>{let n=c(rH)._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||c(rR).cwd(),execPath:c(rR).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sh,...r}).env=sy(r),r.stdio=oS(r),"win32"===c(rR).platform&&"cmd"===c(rO).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sw=(e,t,r)=>"string"==typeof t||(0,rx.Buffer).isBuffer(t)?e.stripFinalNewline?function(e){let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e;}(t):t:void 0===r?void 0:"",s_=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sb=(e={})=>({preferLocal:!0,...s_(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sd(n,i);return E(o,s,sb(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sd(e,r);return w(n,i,sb(t));},r;}(),nr={},l(nn={},"isexe",()=>sx),l(nn,"sync",()=>sO),ni=rF("6vN83");const sx=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sS(await(0,ni.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sO=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sS((0,iJ.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sS=(e,t)=>e.isFile()&&sR(e,t),sR=(e,t)=>{var r,n,i,o,s,a,l,c,u,p,f;let d=null!==(l=t.uid)&&void 0!==l?l:null===(r=(n=process).getuid)||void 0===r?void 0:r.call(n),h=null!==(u=null!==(c=t.groups)&&void 0!==c?c:null===(i=(o=process).getgroups)||void 0===i?void 0:i.call(o))&&void 0!==u?u:[],m=null!==(f=null!==(p=t.gid)&&void 0!==p?p:null===(s=(a=process).getgid)||void 0===s?void 0:s.call(a))&&void 0!==f?f:h[0];if(void 0===d||void 0===m)throw Error("cannot get uid or gid");let v=new Set([m,...h]),g=e.mode,y=e.uid,E=e.gid,w=parseInt("100",8),_=parseInt("010",8);return!!(g&parseInt("001",8)||g&_&&v.has(E)||g&w&&y===d||g&(w|_)&&0===d);};l(no={},"isexe",()=>sI),l(no,"sync",()=>sT),ni=rF("6vN83");const sI=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sN(await(0,ni.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sT=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sN((0,iJ.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sP=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sP(t,r),sA="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?no:nn,s$=sA.isexe,sC=sA.sync;ns=iY.join,na=iY.delimiter,nl=iY.sep,nc=iY.posix;const sL="win32"===process.platform,sk=new RegExp(`[${nc.sep}${nl===nc.sep?"":nl}]`.replace(/(\\)/g,"\\$1")),sD=RegExp("^\\."+sk.source),sj=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sF=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=na})=>{let i=e.match(sk)?[""]:[...(sL?[process.cwd()]:[]),...(t||"").split(n)];if(sL){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},sU=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sD.test(t)?t.slice(0,2):"")+ns(r,t);},sM=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sF(e,t),o=[];for(let s of r){let r=sU(s,e);for(let e of n){let n=r+e;if(await s$(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw sj(e);};nr=sM,sM.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sF(e,t),o=[];for(let s of r){let r=sU(s,e);for(let e of n){let n=r+e;if(sC(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw sj(e);};const sG={stdio:"inherit",shell:!0};rG=rF("pcnv8"),nu={},np=rF("cgM1r"),nf={},nd=rF("lFuzu"),nf=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&nd(e);},nh={},nm=rF("czzoJ"),nv=rF("8KFbm"),ng=rF("e4Lgg"),ny={},nE={},nw=rF("kg6aw"),n_={},nb=rF("cJ0vr"),nx={function:!0,object:!0},n_=function(e){return nb(e)&&nx[typeof e]||!1;},nb=rF("cJ0vr"),nO=Error.captureStackTrace,nE=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nb(n)&&n_(r)&&(n=r,r=null),nb(n)&&nw(t,n),nb(r)&&(t.code=r),nO&&nO(t,nE),t;},nS=rF("2c0jI"),nR=rF("9xcfl"),nI=rF("9E9rT").methods,nT={},nP={},nN=rF("lCzSe"),nA=Array.isArray,nP=function(e){return nA(e)?e:nN(e);},nb=rF("cJ0vr"),nm=rF("czzoJ"),n$=Array.prototype.slice,nC=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(n$.call(e,this.length));},nT=function(e){return(e=nP(e)).forEach(function(e){nb(e)&&nm(e);}),nC.bind(e);},nL={},nm=rF("czzoJ"),nL=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nm(e.get)},void 0!==e.set)?(t.set=nm(e.set),e.delete&&(t.delete=nm(e.delete)),e.clear&&(t.clear=nm(e.clear))):t.set=t.get,t);},nk=Function.prototype.apply,nD=Function.prototype.call,nj=Object.create,nF=Object.defineProperties,nU=nI.on,nM=nI.emit,ny=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nj(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=nL(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nT(r.resolvers)),v=o?nS(function(t){var r,i,a=arguments;if(g&&(a=g(a)),null!==(r=o(a))&&hasOwnProperty.call(y,r))return d&&n.emit("get",r,a,this),y[r];if(i=1===a.length?nD.call(e,this,a[0]):nk.call(e,this,a),null===r){if(null!==(r=o(a)))throw nE("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y[r]=i,h&&n.emit("set",r,null,i),i;},i):0===t?function(){var t;if(hasOwnProperty.call(y,"data"))return d&&n.emit("get","data",arguments,this),y.data;if(t=arguments.length?nk.call(e,this,arguments):nD.call(e,this),hasOwnProperty.call(y,"data"))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y.data=t,h&&n.emit("set","data",null,t),t;}:function(t){var r,i,o=arguments;if(g&&(o=g(arguments)),i=o[0]+"",hasOwnProperty.call(y,i))return d&&n.emit("get",i,o,this),y[i];if(r=1===o.length?nD.call(e,this,o[0]):nk.call(e,this,o),hasOwnProperty.call(y,i))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y[i]=r,h&&n.emit("set",i,null,r),r;},n={original:e,memoized:v,profileName:r.profileName,get:function(e){return(g&&(e=g(e)),o)?o(e):e[0]+"";},has:function(e){return hasOwnProperty.call(y,e);},delete:function(e){var t;hasOwnProperty.call(y,e)&&(a&&a(e),t=y[e],delete y[e],m&&n.emit("delete",e,t));},clear:function(){var e=y;l&&l(),y=nj(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nU.call(this,e,t);},emit:nM,updateEnv:function(){e=n.original;}},c=o?nS(function(e){var t,r=arguments;g&&(r=g(r)),null!==(t=o(r))&&n.delete(t);},i):0===t?function(){return n.delete("data");}:function(e){return g&&(e=g(arguments)[0]),n.delete(e);},u=nS(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nS(function(){var e,r=arguments;return 0===t?n.has("data"):(g&&(r=g(r)),null!==(e=o?o(r):r[0]+"")&&n.has(e));}),nF(v,{__memoized__:nR(!0),delete:nR(c),clear:nR(n.clear),_get:nR(u),_has:nR(p)}),n;},nh=function e(t){var r,n,i;if(nm(t),r=Object(arguments[1]),r.async&&r.promise)throw Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!r.force?t:(n=nf(r.length,t.length,r.async&&ng.async),i=ny(t,n,r),nv(ng,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},nu=function(e){var t,r=np(arguments[1]);return!r.normalizer&&0!==(t=r.length=nf(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rF("2aBcN"):t>1&&(r.normalizer=rF("hAul9")(t)):!1===t?r.normalizer=rF("7BD8r")():1===t?r.normalizer=rF("61N6r")():r.normalizer=rF("hqtiJ")(t)),r.async&&rF("a24EK"),r.promise&&rF("kIZkh"),r.dispose&&rF("i7d4K"),r.maxAge&&rF("b1mdU"),r.max&&rF("dZT72"),r.refCounter&&rF("eA2P6"),nh(e,r);},nG=rF("ibhuk");const sB=/^~(?=$|\/|\\)/,{appendFile:sH,readFile:sq,writeFile:sz}=iJ.promises,sV=T("~/.bashrc"),sX=c(nu)(P,{promise:!0});nB={};const sW="win32"!==iW.platform(),sY=iW.release(),sJ=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nB=function(e){return sW?e.replace(/(\s+)/g,"\\$1"):sJ(.../(\d+\.\d+)\.(\d+)/.exec(sY).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rF("sOzdu"),t=function(e){return e.split("").reverse().join("");},nH=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(nH={});const{appendFile:sK}=iJ.promises;rB=rF("k1l4q"),rM=rF("dKklS"),rG=rF("pcnv8");const{appendFile:sZ}=iJ.promises,sQ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nq=rF("5FRs7"),function(){rF("j5MHF").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(nz={}),nV={},nV=rF("2KdLC"),nX={},nX={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}},rG=rF("pcnv8"),nW={},nY=rF("51NgG"),nJ=r$.env.npm_package_json,nZ=!!((nK=r$.env.npm_config_user_agent)&&nK.startsWith("npm")),nQ=!!(nJ&&nJ.endsWith("package.json")),n0=nZ||nQ,n1=!!(nK&&nK.startsWith("yarn")),n2=n0||n1,n3=iW.homedir(),n4=process.env.XDG_CONFIG_HOME||iY.join(n3,".config","simple-update-notifier"),n6=function(e){return iY.join(n4,"".concat(e.replace("@","").replace("/","__"),".json"));},n8=function(){iJ.existsSync(n4)||iJ.mkdirSync(n4,{recursive:!0});},n5=function(e){var t=n6(e);try{if(!iJ.existsSync(t))return;return JSON.parse(iJ.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n7=function(e){var t=n6(e);iJ.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n9=function(e,t){return j(void 0,void 0,void 0,function(){var r;return F(this,function(n){return r="https://registry.npmjs.org/-/package/".concat(e,"/dist-tags"),[2,new Promise(function(e,n){iQ.get(r,function(r){var i="";r.on("data",function(e){return i+=e;}),r.on("end",function(){try{var r=JSON.parse(i)[t];r||n(Error("Error getting version")),e(r);}catch(e){n(Error("Could not parse version response"));}});}).on("error",function(e){return n(e);});})];});});},ie=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return j(void 0,void 0,void 0,function(){var e,r;return F(this,function(i){switch(i.label){case 0:if(n8(),e=n5(t.name),!(s||!e||ethis.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=t||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url);}},{key:"getOptions",value:function(){return this.__opts;}},{key:"getMetadata",value:function(){return this.__opts.metadata;}},{key:"getStats",value:function(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes};}},{key:"getTotalSize",value:function(){var e=this;return new Promise(function(t,r){var n=function(t){e.__initProtocol(t);var r=Object.assign({},e.__headers);r.hasOwnProperty("range")&&delete r.range;var n=e.__getReqOptions("HEAD",t,r);return Object.assign({},e.__reqOptions,n);},i=function(o,s){var a=e.__protocol.request(s,function(s){if(e.__isRequireRedirect(s)){var a=/^https?:\/\//.test(s.headers.location)?s.headers.location:new rC.URL(s.headers.location,o).href;return e.emit("redirected",a,o),i(a,n(a));}return 200===s.statusCode?void t({name:e.__getFileNameFromHeaders(s.headers,s),total:parseInt(s.headers["content-length"])||null}):r(Error("Response status was "+s.statusCode));});a.on("error",function(e){return r(e);}),a.on("timeout",function(){return r(Error("timeout"));}),a.on("uncaughtException",function(e){return r(e);}),a.end();};i(e.url,n(e.url));});}},{key:"getResumeState",value:function(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total};}},{key:"resumeFromFile",value:function(e){var t=this,r=1=a))return this.emit("skip",{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:s}),this.__setState(this.__states.SKIPPED),t(!0);}this.__fileStream=ia.createWriteStream(this.__filePath,{});}this.emit("download",{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date(),this.__statsEstimate.throttleTime=new Date(),i.on("data",function(e){return n.__calculateStats(e.length);}),this.__pipes.forEach(function(e){i.pipe(e.stream,e.options),i=e.stream;}),i.pipe(this.__fileStream),i.on("error",this.__onError(t,r)),this.__fileStream.on("finish",this.__onFinished(t,r)),this.__fileStream.on("error",this.__onError(t,r));}},{key:"__hasFinished",value:function(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state);}},{key:"__isRequireRedirect",value:function(e){return 300e.statusCode&&e.headers.hasOwnProperty("location")&&e.headers.location;}},{key:"__onFinished",value:function(e,t){var r=this;return function(){r.__fileStream.close(function(n){if(n)return t(n);if(r.__hasFinished()){var i=!!r.__total&&r.__downloaded!==r.__total;if(i&&r.__isResumable&&r.__opts.resumeOnIncomplete&&r.__resumeRetryCount<=r.__opts.resumeOnIncompleteMaxRetry)return r.__resumeRetryCount++,r.emit("warning",Error("uncomplete download, retrying")),r.resume();r.__setState(r.__states.FINISHED),r.__pipes=[],r.emit("end",{fileName:r.__fileName,filePath:r.__filePath,totalSize:r.__total,incomplete:i,onDiskSize:r.__getFilesizeInBytes(r.__filePath),downloadedSize:r.__downloaded});}return e(r.__downloaded===r.__total);});};}},{key:"__closeFileStream",value:function(){var e=this;return this.__fileStream?new Promise(function(t,r){e.__fileStream.close(function(e){return e?r(e):t(!0);});}):Promise.resolve(!0);}},{key:"__onError",value:function(e,t){var r=this,n=!!(2=(void 0===o?999:o)?Promise.reject(t||Error("reached the maximum retries")):(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit("retry",this.__retryCount,this.__opts.retry,t),this.__response&&(this.__response.unpipe(),this.__pipes.forEach(function(e){return e.stream.unpipe();})),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then(function(){return new Promise(function(t){return e.__retryTimeout=setTimeout(function(){return t(0this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=t,this.emit("progress.throttled",this.getStats())),this.emit("progress",this.getStats()));}},{key:"__setState",value:function(e){this.state=e,this.emit("stateChanged",this.state);}},{key:"__getReqOptions",value:function(e,t){var r=2this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return iN(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class am extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}iy.HTTPError=am;const av="win32"===process.platform,ag="darwin"===process.platform;iy.downloadTool=function(e,t,r,n){return ix(this,void 0,void 0,function*(){t=t||al.join(eN(),ad.default()),yield ai.mkdirP(al.dirname(t)),an.debug("Downloading "+e),an.debug("Destination "+t);let i=eA("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eA("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new iR.RetryHelper(3,i,o);return yield s.execute(()=>ix(this,void 0,void 0,function*(){return yield function(e,t,r,n){return ix(this,void 0,void 0,function*(){if(ao.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new ac.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(an.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new am(o.message.statusCode);throw an.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=af.promisify(ap.pipeline),a=eA("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,ao.createWriteStream(t)),an.debug("download complete"),l=!0,t;}finally{if(!l){an.debug("download failed");try{yield ai.rmRF(t);}catch(e){an.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof am)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},iy.extract7z=function(e,t,r){return ix(this,void 0,void 0,function*(){rg.ok(av,"extract7z() not supported on current OS"),rg.ok(e,'parameter "file" is required'),t=yield eO(t);let n=process.cwd();if(process.chdir(t),r)try{let t=an.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield iS.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=al.join(iE,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield ai.which("powershell",!0);yield iS.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},iy.extractTar=function(e,t,r="xz"){return ix(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eO(t),an.debug("Checking tar --version");let i="";yield iS.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),an.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],an.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return av&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield iS.exec("tar",n),t;});},iy.extractXar=function(e,t,r=[]){return ix(this,void 0,void 0,function*(){let n;rg.ok(ag,"extractXar() not supported on current OS"),rg.ok(e,'parameter "file" is required'),t=yield eO(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),an.isDebug()&&n.push("-v");let i=yield ai.which("xar",!0);return yield iS.exec(`"${i}"`,Array.from(new Set(n))),t;});},iy.extractZip=function(e,t){return ix(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eO(t),av?yield function(e,t){return ix(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ai.which("pwsh",!1);if(i){let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`;an.debug("Using pwsh at path: "+i),yield iS.exec(`"${i}"`,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}else{let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,t=yield ai.which("powershell",!0);an.debug("Using powershell at path: "+t),yield iS.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return ix(this,void 0,void 0,function*(){let r=yield ai.which("unzip",!0),n=[e];an.isDebug()||n.unshift("-q"),n.unshift("-o"),yield iS.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},iy.cacheDir=function(e,t,r,n){return ix(this,void 0,void 0,function*(){if(r=au.clean(r)||r,n=n||aa.arch(),an.debug(`Caching tool ${t} ${r} ${n}`),an.debug("source dir: "+e),!ao.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eS(t,r,n);for(let t of ao.readdirSync(e)){let r=al.join(e,t);yield ai.cp(r,i,{recursive:!0});}return eR(t,r,n),i;});},iy.cacheFile=function(e,t,r,n,i){return ix(this,void 0,void 0,function*(){if(n=au.clean(n)||n,i=i||aa.arch(),an.debug(`Caching tool ${r} ${n} ${i}`),an.debug("source file: "+e),!ao.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eS(r,n,i),s=al.join(o,t);return an.debug("destination file "+s),yield ai.cp(e,s),eR(r,n,i),o;});},iy.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||aa.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=au.clean(t)||"";let i=al.join(eP(),e,t,r);an.debug("checking cache: "+i),ao.existsSync(i)&&ao.existsSync(`${i}.complete`)?(an.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):an.debug("not found");}return n;},iy.findAllVersions=ex,iy.getManifestFromRepo=function(e,t,r,n="master"){return ix(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new ac.HttpClient("tool-cache"),a={};r&&(an.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let c="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u);}catch(e){an.debug("Invalid json");}}return i;});},iy.findFromManifest=function(e,t,r,n=aa.arch()){return ix(this,void 0,void 0,function*(){return yield as._findMatch(e,t,r,n);});},iy.isExplicitVersion=eI,iy.evaluateVersions=eT,rM=rF("dKklS"),rG=rF("pcnv8"),ni=rF("6vN83"),nG=rF("ibhuk"),im=rF("drEX5"),Object.defineProperty(iA={},"__esModule",{value:!0}),iA.retryAsPromised=iA.TimeoutError=void 0;class ay extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iA.TimeoutError=ay,iA.retryAsPromised=e$,iA.default=e$,i$=rF("g9WSN"),rG=rF("pcnv8"),(rd=iC||(iC={}))[rd.Tar=0]="Tar",rd[rd.TarGz=1]="TarGz",rd[rd.TarXz=2]="TarXz",rd[rd.Zip=3]="Zip",rd[rd.SevenZip=4]="SevenZip",rB=rF("k1l4q");const aE=e=>{if(e){if("object"==typeof e)e={mode:511,...e};else if("number"==typeof e)e={mode:e};else if("string"==typeof e)e={mode:parseInt(e,8)};else throw TypeError("invalid options argument");}else e={mode:511};let t=e,r=e.fs||{};return e.mkdir=e.mkdir||r.mkdir||iJ.mkdir,e.mkdirAsync=e.mkdirAsync?e.mkdirAsync:async(e,r)=>new Promise((n,i)=>t.mkdir(e,r,(e,t)=>e?i(e):n(t))),e.stat=e.stat||r.stat||iJ.stat,e.statAsync=e.statAsync?e.statAsync:async e=>new Promise((r,n)=>t.stat(e,(e,t)=>e?n(e):r(t))),e.statSync=e.statSync||r.statSync||iJ.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iJ.mkdirSync,t;},aw=(e,t,r)=>{let n=(0,iY.dirname)(e),i={...aE(t),recursive:!1};if(n===e)try{return i.mkdirSync(e,i);}catch(e){if(e&&"EISDIR"!==e.code)throw e;return;}try{return i.mkdirSync(e,i),r||e;}catch(t){if(t&&"ENOENT"===t.code)return aw(e,i,aw(n,i,r));if(t&&"EEXIST"!==t.code&&t&&"EROFS"!==t.code)throw t;try{if(!i.statSync(e).isDirectory())throw t;}catch(e){throw t;}}},a_=Object.assign(async(e,t,r)=>{let n=aE(t);n.recursive=!1;let i=(0,iY.dirname)(e);return i===e?n.mkdirAsync(e,n).catch(e=>{if(e&&"EISDIR"!==e.code)throw e;}):n.mkdirAsync(e,n).then(()=>r||e,async t=>{if(t&&"ENOENT"===t.code)return a_(i,n).then(t=>a_(e,n,t));if(t&&"EEXIST"!==t.code&&"EROFS"!==t.code)throw t;return n.statAsync(e).then(e=>{if(e.isDirectory())return r;throw t;},()=>{throw t;});});},{sync:aw}),ab=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?ab(e,(0,iY.dirname)(t),t):void 0);},ax=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?ax(e,(0,iY.dirname)(t),t):void 0;}},aO=(e,t)=>{let r=aE(t);if(r.recursive=!0,(0,iY.dirname)(e)===e)return r.mkdirSync(e,r);let n=ax(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return aw(e,r);throw t;}},aS=Object.assign(async(e,t)=>{let r={...aE(t),recursive:!0};return(0,iY.dirname)(e)===e?await r.mkdirAsync(e,r):ab(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return a_(e,r);throw t;}));},{sync:aO}),aR=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aI=e=>{if(/\0/.test(e))throw Object.assign(TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=(0,iY.resolve)(e),"win32"===aR){let{root:t}=(0,iY.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aT=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aP=+aT[0]>10||10==+aT[0]&&+aT[1]>=12,aN=aP?e=>aE(e).mkdirSync===iJ.mkdirSync:()=>!1,aA=Object.assign(aP?e=>aE(e).mkdir===iJ.mkdir:()=>!1,{sync:aN}),a$=(e,t)=>{e=aI(e);let r=aE(t);return aN(r)?aO(e,r):aw(e,r);},aC=Object.assign(async(e,t)=>{e=aI(e);let r=aE(t);return aA(r)?aS(e,r):a_(e,r);},{mkdirpSync:a$,mkdirpNative:aS,mkdirpNativeSync:aO,mkdirpManual:a_,mkdirpManualSync:aw,sync:a$,native:aS,nativeSync:aO,manual:a_,manualSync:aw,useNative:aA,useNativeSync:aN});nG=rF("ibhuk"),im=rF("drEX5"),iS=rF("ca0ts"),rM=rF("dKklS"),rG=rF("pcnv8"),ni=rF("6vN83"),nG=rF("ibhuk"),im=rF("drEX5"),iS=rF("ca0ts"),rG=rF("pcnv8"),iL=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rC.URL(t),!0;}catch{return!1;}},ik=async e=>{if(!iL(e))return!1;let t=await eX(e,"HEAD");return!!t||!!(t=await eX(e,"GET"));},iv=rF("8YrRN"),iD=rF("fYuCK"),ij=rF("2owFL");const aL=/v?(\d\S*)/,ak={llvm:eZ(),clangtidy:eZ(),clangformat:eZ(),ninja:"1.12.1",cmake:"3.30.2",gcovr:"5.2",conan:"1.64.1",meson:"1.5.1",kcov:"42",task:"3.38.0",doxygen:eh()?"1.11.0-4":"1.11.0",gcc:"win32"===process.platform?"14.2.0posix-18.1.8-12.0.0-ucrt-r1":"",powershell:"7.4.5"},aD={pip:"22.2.0",python:"3.7.9"},aj={mingw:{24:"8.0.0-1",22:"8.0.0-1",20:"7.0.0-2"},llvm:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{24:"6.0",22:"6.0",20:"6.0",18:"5.0"},meson:{24:"1.0.0",22:"1.0.0",20:"1.0.0",18:"0.61.4"},nala:{24:"",22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{24:"42-binary",22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"},doxygen:{24:"1.11.0",22:"1.11.0",20:"1.10.0",18:"1.10.0"}},aF=c(nu)(tt,{promise:!0});rG=rF("pcnv8"),Object.defineProperty(iF={},"__esModule",{value:!0}),iF.getUbuntuVersion=void 0,iF.getUbuntuVersion=ti;const aU=c(nu)(to,{promise:!0}),aM=c(nu)(tu,{promise:!0}),aG=c(nu)(tp,{promise:!0}),aB=c(nu)(tf,{promise:!0});rG=rF("pcnv8"),im=rF("drEX5"),nG=rF("ibhuk");const aH=new Map([[24,["Sequoia","15"]],[23,["Sonoma","14"]],[22,["Ventura","13"]],[21,["Monterey","12"]],[20,["Big Sur","11"]],[19,["Catalina","10.15"]],[18,["Mojave","10.14"]],[17,["High Sierra","10.13"]],[16,["Sierra","10.12"]],[15,["El Capitan","10.11"]],[14,["Yosemite","10.10"]],[13,["Mavericks","10.9"]],[12,["Mountain Lion","10.8"]],[11,["Lion","10.7"]],[10,["Snow Leopard","10.6"]],[9,["Leopard","10.5"]],[8,["Tiger","10.4"]],[7,["Panther","10.3"]],[6,["Jaguar","10.2"]],[5,["Puma","10.1"]]]),aq=c(nu)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rT).release()).split(".")[0];let[t,r]=aH.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rM=rF("dKklS"),rG=rF("pcnv8"),ni=rF("6vN83"),nG=rF("ibhuk"),im=rF("drEX5"),iv=rF("8YrRN"),iU=rF("gWZ4x"),iS=rF("ca0ts"),rG=rF("pcnv8"),ni=rF("6vN83"),iM=iY.resolve(__dirname,"../../src/gcc"),iU=rF("gWZ4x"),ij=rF("2owFL"),rG=rF("pcnv8"),im=rF("drEX5"),im=rF("drEX5"),iG=iY.resolve(__dirname,"../../src/kcov"),rM=rF("dKklS"),rG=rF("pcnv8"),nG=rF("ibhuk"),im=rF("drEX5"),ni=rF("6vN83"),rB=rF("k1l4q"),rG=rF("pcnv8");class az extends Error{constructor(e){super(e),this.name="TimeoutError";}}class aV extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aX=e=>void 0===globalThis.DOMException?new aV(e):new DOMException(e),aW=e=>{let t=void 0===e.reason?aX("This operation was aborted."):e.reason;return t instanceof Error?t:aX(t);};im=rF("drEX5"),rG=rF("pcnv8"),rB=rF("k1l4q");const aY=r$.env["ProgramFiles(x86)"],aJ=[r$.env["ProgramFiles(x86)"],r$.env.ProgramFiles],aK=["Enterprise","Professional","Community","BuildTools"],aZ=["2022","2019","2017"],aQ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iB=tM;const a0=`${aY}\\Microsoft Visual Studio\\Installer`;iH=tG,iq=function(e,t,r,n,i,o){if("win32"!=r$.platform){rB.info("This is not a Windows virtual environment, bye!");return;}r$.env.PATH+=iY.delimiter+a0;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];n&&!0===JSON.parse(n)&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),i&&!0===JSON.parse(i)&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tG(o)}" ${a.join(" ")}`;rB.debug("vcvars command-line: "+l);let c=rw.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),u=c[0].split("\r\n"),p=c[1].split("\r\n"),f=c[2].split("\r\n"),d=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(d.length>0)throw Error("invalid parameters\r\n"+d.join("\r\n"));let h={};for(let e of u){let[t,r]=e.split("=");h[t]=r;}for(let e of(rB.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rB.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),rB.exportVariable(t,r));}rB.endGroup(),rB.info("Configured Developer Command Prompt");},nG=rF("ibhuk");const a1=12e5;(rh=iz||(iz={}))[rh.All=0]="All",rh[rh.ClangFormat=1]="ClangFormat",rh[rh.Core=2]="Core",rG=rF("pcnv8"),im=rF("drEX5"),ig=rF("aTQrN");const a2=function(e){let t=new Set(e);for(let r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t;}(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),a3=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),a4=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),a6=new Map(),a8={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04","17.0.6":"-ubuntu-22.04","18.1.4":"-ubuntu-18.04","18.1.7":"-ubuntu-18.04","18.1.8":"-ubuntu-18.04"},a5="18.1.8";iV=iY.resolve(__dirname,"../../src/llvm");const a7=c(nu)(t0,{promise:!0}),a9=c(nu)(t2,{promise:!0}),le=c(nu)(t3,{promise:!0});rM=rF("dKklS"),im=rF("drEX5"),rG=rF("pcnv8"),nG=rF("ibhuk"),iX=iY.resolve(__dirname,"../../src/msvc"),rG=rF("pcnv8"),ni=rF("6vN83"),im=rF("drEX5"),rG=rF("pcnv8"),im=rF("drEX5"),im=rF("drEX5"),rG=rF("pcnv8"),nG=rF("ibhuk"),im=rF("drEX5");let lt=!1;const lr={nala:t9,cmake:eV,ninja:tL,python:eQ,vcpkg:ra,bazel:ew,conan:function(e,t,r){return ta("conan",e);},meson:function(e,t,r){return ta("meson",e);},gcovr:function(e,t,r){return ta("gcovr",e);},opencppcoverage:rt,llvm:tQ,gcc:tI,choco:ev,brew:eu,powershell:ri,ccache:function(e,t,r){switch(process.platform){case"win32":return eg("ccache",e);case"darwin":return ef("ccache",e);case"linux":if(eh())return e_("ccache",e);if(ed())return ey([{name:"ccache",version:e}]);if(em())return en([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return eg("sccache",e);case"linux":case"darwin":return ef("sccache",e);default:throw Error("Unsupported platform");}},doxygen:tb,graphviz:ty,cppcheck:tv,clangtidy:function(e,t,r){return t1(e,t,r);},clangformat:function(e,t,r){return t1(e,t,r,iz.ClangFormat);},msvc:t5,vcvarsall:tB,kcov:tU,make:t8,task:function(e,t,r){return eG("task",e,rs,t,r);},sevenzip:eC},ln=Object.keys(lr),li=["compiler","architecture","timeout",...ln],lo={rcPath:T("~/.cpprc"),guard:"cpp"};rB=rF("k1l4q"),rG=rF("pcnv8"),ij=rF("2owFL"),rp(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rG.error)("main() panicked!"),(0,rG.error)(e),process.exitCode=1;}); +${n.message}`:v,E=[y,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=d,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=p&&!l,n;},ox=["stdin","stdout","stderr"],oO=e=>ox.some(t=>void 0!==e[t]),oS=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return ox.map(t=>e[t]);if(oO(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ox.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,ox.length)},(e,r)=>t[r]);};r3={};const oR=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;};if(oR(r4=rk.process)){var oI,oT=rg,oP=rF("bJALw"),oA=/^win/i.test(r4.platform),oN=rv;"function"!=typeof oN&&(oN=oN.EventEmitter),r4.__signal_exit_emitter__?oI=r4.__signal_exit_emitter__:((oI=r4.__signal_exit_emitter__=new oN()).count=0,oI.emitted={}),oI.infinite||(oI.setMaxListeners(1/0),oI.infinite=!0);var o$=function(){ok&&oR(rk.process)&&(ok=!1,oP.forEach(function(e){try{r4.removeListener(e,oL[e]);}catch(e){}}),r4.emit=oU,r4.reallyExit=oj,oI.count-=1);};(r3=function(e,t){if(!oR(rk.process))return function(){};oT.equal(typeof e,"function","a callback must be provided for exit handler"),!1===ok&&oD();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oI.on(r,e),function(){oI.removeListener(r,e),0===oI.listeners("exit").length&&0===oI.listeners("afterexit").length&&o$();};}).unload=o$;var oC=function(e,t,r){oI.emitted[e]||(oI.emitted[e]=!0,oI.emit(e,t,r));},oL={};oP.forEach(function(e){oL[e]=function(){oR(rk.process)&&r4.listeners(e).length===oI.count&&(o$(),oC("exit",null,e),oC("afterexit",null,e),oA&&"SIGHUP"===e&&(e="SIGINT"),r4.kill(r4.pid,e));};}),r3.signals=function(){return oP;};var ok=!1,oD=function(){!ok&&oR(rk.process)&&(ok=!0,oI.count+=1,oP=oP.filter(function(e){try{return r4.on(e,oL[e]),!0;}catch(e){return!1;}}),r4.emit=oM,r4.reallyExit=oF);};r3.load=oD;var oj=r4.reallyExit,oF=function(e){oR(rk.process)&&(r4.exitCode=e||0,oC("exit",r4.exitCode,null),oC("afterexit",r4.exitCode,null),oj.call(r4,r4.exitCode));},oU=r4.emit,oM=function(e,t){if(!("exit"===e&&oR(rk.process)))return oU.apply(this,arguments);void 0!==t&&(r4.exitCode=t);var r=oU.apply(this,arguments);return oC("exit",r4.exitCode,null),oC("afterexit",r4.exitCode,null),r;};}else r3=function(){return function(){};};const oG=(e,t="SIGTERM",r={})=>{let n=e(t);return oB(e,t,r,n),n;},oB=(e,t,r,n)=>{if(!oq(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oz(r));i.unref&&i.unref();},oq=(e,{forceKillAfterTimeout:t},r)=>oH(e)&&!1!==t&&r,oH=e=>e===c(rT).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oz=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},oV=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oX=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oW=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oX(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oY=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oK=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r3)(()=>{e.kill();});return n.finally(()=>{i();});},oJ=e=>e instanceof rS.ChildProcess&&"function"==typeof e.then,oZ=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rE.createWriteStream)(r)),e;if(g(r))return e[t].pipe(r),e;if(!oJ(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!g(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oQ=e=>{null!==e.stdout&&(e.pipeStdout=oZ.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oZ.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oZ.bind(void 0,e,"all"));};r6={},r8=rP.constants,r5=ry.promisify,r7={},r9=rA.PassThrough,r7=e=>{let{array:t}=e={...e},{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new r9({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const o0=r5(rA.pipeline);class o1 extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r6=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r6.array=(e,t)=>y(e,{...t,array:!0}),r6.MaxBufferError=o1,ne={},nt=rA.PassThrough,ne=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new nt({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const o2=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o3=({input:e,inputFile:t})=>"string"!=typeof t?e:(o2(e),(0,rE.readFileSync)(t)),o4=e=>{let t=o3(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o6=({input:e,inputFile:t})=>"string"!=typeof t?e:(o2(e),(0,rE.createReadStream)(t)),o8=(e,t)=>{let r=o6(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o5=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(ne)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o7=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o9=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r6)(e,{encoding:t,maxBuffer:n}):c(r6).buffer(e,{maxBuffer:n});},se=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o9(e,{encoding:n,buffer:i,maxBuffer:o}),l=o9(t,{encoding:n,buffer:i,maxBuffer:o}),c=o9(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},o7(e,a),o7(t,l),o7(r,c)]);}},st=(async()=>{})().constructor.prototype,sr=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(st,e)]),sn=(e,t)=>{for(let[r,n]of sr){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},si=e=>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);});}),so=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],ss=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,sa=(e,t)=>so(e,t).join(" "),sl=(e,t)=>so(e,t).map(e=>ss(e)).join(" "),sc=e=>{let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;},su=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rS.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rx.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sp=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sf=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=sp(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sp(s,Array.isArray(a)?a.map(e=>su(e)):[su(a)],o.endsWith(" "));},sd=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sf({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sh=(0,rN.debuglog)("execa").enabled,sm=(e,t)=>(e+"").padStart(t,"0"),sv=()=>{let e=new Date();return`${sm(e.getHours(),2)}:${sm(e.getMinutes(),2)}:${sm(e.getSeconds(),2)}.${sm(e.getMilliseconds(),3)}`;},sg=(e,{verbose:t})=>{t&&c(rR).stderr.write(`[${sv()}] ${e} +`);},sy=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rR).env,...e}:e;return r?ot({env:o,cwd:n,execPath:i}):o;},sE=(e,t,r={})=>{let n=c(rq)._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||c(rR).cwd(),execPath:c(rR).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sh,...r}).env=sy(r),r.stdio=oS(r),"win32"===c(rR).platform&&"cmd"===c(rO).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sw=(e,t,r)=>"string"==typeof t||(0,rx.Buffer).isBuffer(t)?e.stripFinalNewline?function(e){let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e;}(t):t:void 0===r?void 0:"",s_=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sb=(e={})=>({preferLocal:!0,...s_(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sd(n,i);return E(o,s,sb(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sd(e,r);return w(n,i,sb(t));},r;}(),nr={},l(nn={},"isexe",()=>sx),l(nn,"sync",()=>sO),ni=rF("6vN83");const sx=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sS(await(0,ni.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sO=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sS((0,iK.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sS=(e,t)=>e.isFile()&&sR(e,t),sR=(e,t)=>{var r,n,i,o,s,a,l,c,u,p,f;let d=null!==(l=t.uid)&&void 0!==l?l:null===(r=(n=process).getuid)||void 0===r?void 0:r.call(n),h=null!==(u=null!==(c=t.groups)&&void 0!==c?c:null===(i=(o=process).getgroups)||void 0===i?void 0:i.call(o))&&void 0!==u?u:[],m=null!==(f=null!==(p=t.gid)&&void 0!==p?p:null===(s=(a=process).getgid)||void 0===s?void 0:s.call(a))&&void 0!==f?f:h[0];if(void 0===d||void 0===m)throw Error("cannot get uid or gid");let v=new Set([m,...h]),g=e.mode,y=e.uid,E=e.gid,w=parseInt("100",8),_=parseInt("010",8);return!!(g&parseInt("001",8)||g&_&&v.has(E)||g&w&&y===d||g&(w|_)&&0===d);};l(no={},"isexe",()=>sI),l(no,"sync",()=>sT),ni=rF("6vN83");const sI=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sA(await(0,ni.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sT=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sA((0,iK.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sP=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sP(t,r),sN="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?no:nn,s$=sN.isexe,sC=sN.sync;ns=iY.join,na=iY.delimiter,nl=iY.sep,nc=iY.posix;const sL="win32"===process.platform,sk=new RegExp(`[${nc.sep}${nl===nc.sep?"":nl}]`.replace(/(\\)/g,"\\$1")),sD=RegExp("^\\."+sk.source),sj=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sF=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=na})=>{let i=e.match(sk)?[""]:[...(sL?[process.cwd()]:[]),...(t||"").split(n)];if(sL){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},sU=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sD.test(t)?t.slice(0,2):"")+ns(r,t);},sM=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sF(e,t),o=[];for(let s of r){let r=sU(s,e);for(let e of n){let n=r+e;if(await s$(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw sj(e);};nr=sM,sM.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sF(e,t),o=[];for(let s of r){let r=sU(s,e);for(let e of n){let n=r+e;if(sC(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw sj(e);};const sG={stdio:"inherit",shell:!0};rG=rF("pcnv8"),nu={},np=rF("cgM1r"),nf={},nd=rF("lFuzu"),nf=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&nd(e);},nh={},nm=rF("czzoJ"),nv=rF("8KFbm"),ng=rF("e4Lgg"),ny={},nE={},nw=rF("kg6aw"),n_={},nb=rF("cJ0vr"),nx={function:!0,object:!0},n_=function(e){return nb(e)&&nx[typeof e]||!1;},nb=rF("cJ0vr"),nO=Error.captureStackTrace,nE=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nb(n)&&n_(r)&&(n=r,r=null),nb(n)&&nw(t,n),nb(r)&&(t.code=r),nO&&nO(t,nE),t;},nS=rF("2c0jI"),nR=rF("9xcfl"),nI=rF("9E9rT").methods,nT={},nP={},nA=rF("lCzSe"),nN=Array.isArray,nP=function(e){return nN(e)?e:nA(e);},nb=rF("cJ0vr"),nm=rF("czzoJ"),n$=Array.prototype.slice,nC=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(n$.call(e,this.length));},nT=function(e){return(e=nP(e)).forEach(function(e){nb(e)&&nm(e);}),nC.bind(e);},nL={},nm=rF("czzoJ"),nL=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nm(e.get)},void 0!==e.set)?(t.set=nm(e.set),e.delete&&(t.delete=nm(e.delete)),e.clear&&(t.clear=nm(e.clear))):t.set=t.get,t);},nk=Function.prototype.apply,nD=Function.prototype.call,nj=Object.create,nF=Object.defineProperties,nU=nI.on,nM=nI.emit,ny=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nj(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=nL(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nT(r.resolvers)),v=o?nS(function(t){var r,i,a=arguments;if(g&&(a=g(a)),null!==(r=o(a))&&hasOwnProperty.call(y,r))return d&&n.emit("get",r,a,this),y[r];if(i=1===a.length?nD.call(e,this,a[0]):nk.call(e,this,a),null===r){if(null!==(r=o(a)))throw nE("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y[r]=i,h&&n.emit("set",r,null,i),i;},i):0===t?function(){var t;if(hasOwnProperty.call(y,"data"))return d&&n.emit("get","data",arguments,this),y.data;if(t=arguments.length?nk.call(e,this,arguments):nD.call(e,this),hasOwnProperty.call(y,"data"))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y.data=t,h&&n.emit("set","data",null,t),t;}:function(t){var r,i,o=arguments;if(g&&(o=g(arguments)),i=o[0]+"",hasOwnProperty.call(y,i))return d&&n.emit("get",i,o,this),y[i];if(r=1===o.length?nD.call(e,this,o[0]):nk.call(e,this,o),hasOwnProperty.call(y,i))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y[i]=r,h&&n.emit("set",i,null,r),r;},n={original:e,memoized:v,profileName:r.profileName,get:function(e){return(g&&(e=g(e)),o)?o(e):e[0]+"";},has:function(e){return hasOwnProperty.call(y,e);},delete:function(e){var t;hasOwnProperty.call(y,e)&&(a&&a(e),t=y[e],delete y[e],m&&n.emit("delete",e,t));},clear:function(){var e=y;l&&l(),y=nj(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nU.call(this,e,t);},emit:nM,updateEnv:function(){e=n.original;}},c=o?nS(function(e){var t,r=arguments;g&&(r=g(r)),null!==(t=o(r))&&n.delete(t);},i):0===t?function(){return n.delete("data");}:function(e){return g&&(e=g(arguments)[0]),n.delete(e);},u=nS(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nS(function(){var e,r=arguments;return 0===t?n.has("data"):(g&&(r=g(r)),null!==(e=o?o(r):r[0]+"")&&n.has(e));}),nF(v,{__memoized__:nR(!0),delete:nR(c),clear:nR(n.clear),_get:nR(u),_has:nR(p)}),n;},nh=function e(t){var r,n,i;if(nm(t),r=Object(arguments[1]),r.async&&r.promise)throw Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!r.force?t:(n=nf(r.length,t.length,r.async&&ng.async),i=ny(t,n,r),nv(ng,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},nu=function(e){var t,r=np(arguments[1]);return!r.normalizer&&0!==(t=r.length=nf(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rF("2aBcN"):t>1&&(r.normalizer=rF("hAul9")(t)):!1===t?r.normalizer=rF("7BD8r")():1===t?r.normalizer=rF("61N6r")():r.normalizer=rF("hqtiJ")(t)),r.async&&rF("a24EK"),r.promise&&rF("kIZkh"),r.dispose&&rF("i7d4K"),r.maxAge&&rF("b1mdU"),r.max&&rF("dZT72"),r.refCounter&&rF("eA2P6"),nh(e,r);},nG=rF("ibhuk");const sB=/^~(?=$|\/|\\)/,{appendFile:sq,readFile:sH,writeFile:sz}=iK.promises,sV=T("~/.bashrc"),sX=c(nu)(P,{promise:!0});nB={};const sW="win32"!==iW.platform(),sY=iW.release(),sK=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nB=function(e){return sW?e.replace(/(\s+)/g,"\\$1"):sK(.../(\d+\.\d+)\.(\d+)/.exec(sY).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rF("sOzdu"),t=function(e){return e.split("").reverse().join("");},nq=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(nq={});const{appendFile:sJ}=iK.promises;rB=rF("k1l4q"),rM=rF("dKklS"),rG=rF("pcnv8");const{appendFile:sZ}=iK.promises,sQ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nH=rF("5FRs7"),function(){rF("j5MHF").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(nz={}),nV={},nV=rF("2KdLC"),nX={},nX={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}},rG=rF("pcnv8"),nW={},nY=rF("51NgG"),nK=r$.env.npm_package_json,nZ=!!((nJ=r$.env.npm_config_user_agent)&&nJ.startsWith("npm")),nQ=!!(nK&&nK.endsWith("package.json")),n0=nZ||nQ,n1=!!(nJ&&nJ.startsWith("yarn")),n2=n0||n1,n3=iW.homedir(),n4=process.env.XDG_CONFIG_HOME||iY.join(n3,".config","simple-update-notifier"),n6=function(e){return iY.join(n4,"".concat(e.replace("@","").replace("/","__"),".json"));},n8=function(){iK.existsSync(n4)||iK.mkdirSync(n4,{recursive:!0});},n5=function(e){var t=n6(e);try{if(!iK.existsSync(t))return;return JSON.parse(iK.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n7=function(e){var t=n6(e);iK.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n9=function(e,t){return j(void 0,void 0,void 0,function(){var r;return F(this,function(n){return r="https://registry.npmjs.org/-/package/".concat(e,"/dist-tags"),[2,new Promise(function(e,n){iQ.get(r,function(r){var i="";r.on("data",function(e){return i+=e;}),r.on("end",function(){try{var r=JSON.parse(i)[t];r||n(Error("Error getting version")),e(r);}catch(e){n(Error("Could not parse version response"));}});}).on("error",function(e){return n(e);});})];});});},ie=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return j(void 0,void 0,void 0,function(){var e,r;return F(this,function(i){switch(i.label){case 0:if(n8(),e=n5(t.name),!(s||!e||ethis.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=t||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url);}},{key:"getOptions",value:function(){return this.__opts;}},{key:"getMetadata",value:function(){return this.__opts.metadata;}},{key:"getStats",value:function(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes};}},{key:"getTotalSize",value:function(){var e=this;return new Promise(function(t,r){var n=function(t){e.__initProtocol(t);var r=Object.assign({},e.__headers);r.hasOwnProperty("range")&&delete r.range;var n=e.__getReqOptions("HEAD",t,r);return Object.assign({},e.__reqOptions,n);},i=function(o,s){var a=e.__protocol.request(s,function(s){if(e.__isRequireRedirect(s)){var a=/^https?:\/\//.test(s.headers.location)?s.headers.location:new rC.URL(s.headers.location,o).href;return e.emit("redirected",a,o),i(a,n(a));}return 200===s.statusCode?void t({name:e.__getFileNameFromHeaders(s.headers,s),total:parseInt(s.headers["content-length"])||null}):r(Error("Response status was "+s.statusCode));});a.on("error",function(e){return r(e);}),a.on("timeout",function(){return r(Error("timeout"));}),a.on("uncaughtException",function(e){return r(e);}),a.end();};i(e.url,n(e.url));});}},{key:"getResumeState",value:function(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total};}},{key:"resumeFromFile",value:function(e){var t=this,r=1=a))return this.emit("skip",{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:s}),this.__setState(this.__states.SKIPPED),t(!0);}this.__fileStream=ia.createWriteStream(this.__filePath,{});}this.emit("download",{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date(),this.__statsEstimate.throttleTime=new Date(),i.on("data",function(e){return n.__calculateStats(e.length);}),this.__pipes.forEach(function(e){i.pipe(e.stream,e.options),i=e.stream;}),i.pipe(this.__fileStream),i.on("error",this.__onError(t,r)),this.__fileStream.on("finish",this.__onFinished(t,r)),this.__fileStream.on("error",this.__onError(t,r));}},{key:"__hasFinished",value:function(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state);}},{key:"__isRequireRedirect",value:function(e){return 300e.statusCode&&e.headers.hasOwnProperty("location")&&e.headers.location;}},{key:"__onFinished",value:function(e,t){var r=this;return function(){r.__fileStream.close(function(n){if(n)return t(n);if(r.__hasFinished()){var i=!!r.__total&&r.__downloaded!==r.__total;if(i&&r.__isResumable&&r.__opts.resumeOnIncomplete&&r.__resumeRetryCount<=r.__opts.resumeOnIncompleteMaxRetry)return r.__resumeRetryCount++,r.emit("warning",Error("uncomplete download, retrying")),r.resume();r.__setState(r.__states.FINISHED),r.__pipes=[],r.emit("end",{fileName:r.__fileName,filePath:r.__filePath,totalSize:r.__total,incomplete:i,onDiskSize:r.__getFilesizeInBytes(r.__filePath),downloadedSize:r.__downloaded});}return e(r.__downloaded===r.__total);});};}},{key:"__closeFileStream",value:function(){var e=this;return this.__fileStream?new Promise(function(t,r){e.__fileStream.close(function(e){return e?r(e):t(!0);});}):Promise.resolve(!0);}},{key:"__onError",value:function(e,t){var r=this,n=!!(2=(void 0===o?999:o)?Promise.reject(t||Error("reached the maximum retries")):(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit("retry",this.__retryCount,this.__opts.retry,t),this.__response&&(this.__response.unpipe(),this.__pipes.forEach(function(e){return e.stream.unpipe();})),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then(function(){return new Promise(function(t){return e.__retryTimeout=setTimeout(function(){return t(0this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=t,this.emit("progress.throttled",this.getStats())),this.emit("progress",this.getStats()));}},{key:"__setState",value:function(e){this.state=e,this.emit("stateChanged",this.state);}},{key:"__getReqOptions",value:function(e,t){var r=2this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return iA(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class am extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}iy.HTTPError=am;const av="win32"===process.platform,ag="darwin"===process.platform;iy.downloadTool=function(e,t,r,n){return ix(this,void 0,void 0,function*(){t=t||al.join(eA(),ad.default()),yield ai.mkdirP(al.dirname(t)),an.debug("Downloading "+e),an.debug("Destination "+t);let i=eN("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eN("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new iR.RetryHelper(3,i,o);return yield s.execute(()=>ix(this,void 0,void 0,function*(){return yield function(e,t,r,n){return ix(this,void 0,void 0,function*(){if(ao.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new ac.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(an.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new am(o.message.statusCode);throw an.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=af.promisify(ap.pipeline),a=eN("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,ao.createWriteStream(t)),an.debug("download complete"),l=!0,t;}finally{if(!l){an.debug("download failed");try{yield ai.rmRF(t);}catch(e){an.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof am)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},iy.extract7z=function(e,t,r){return ix(this,void 0,void 0,function*(){rg.ok(av,"extract7z() not supported on current OS"),rg.ok(e,'parameter "file" is required'),t=yield eO(t);let n=process.cwd();if(process.chdir(t),r)try{let t=an.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield iS.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=al.join(iE,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield ai.which("powershell",!0);yield iS.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},iy.extractTar=function(e,t,r="xz"){return ix(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eO(t),an.debug("Checking tar --version");let i="";yield iS.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),an.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],an.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return av&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield iS.exec("tar",n),t;});},iy.extractXar=function(e,t,r=[]){return ix(this,void 0,void 0,function*(){let n;rg.ok(ag,"extractXar() not supported on current OS"),rg.ok(e,'parameter "file" is required'),t=yield eO(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),an.isDebug()&&n.push("-v");let i=yield ai.which("xar",!0);return yield iS.exec(`"${i}"`,Array.from(new Set(n))),t;});},iy.extractZip=function(e,t){return ix(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eO(t),av?yield function(e,t){return ix(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ai.which("pwsh",!1);if(i){let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`;an.debug("Using pwsh at path: "+i),yield iS.exec(`"${i}"`,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}else{let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,t=yield ai.which("powershell",!0);an.debug("Using powershell at path: "+t),yield iS.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return ix(this,void 0,void 0,function*(){let r=yield ai.which("unzip",!0),n=[e];an.isDebug()||n.unshift("-q"),n.unshift("-o"),yield iS.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},iy.cacheDir=function(e,t,r,n){return ix(this,void 0,void 0,function*(){if(r=au.clean(r)||r,n=n||aa.arch(),an.debug(`Caching tool ${t} ${r} ${n}`),an.debug("source dir: "+e),!ao.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eS(t,r,n);for(let t of ao.readdirSync(e)){let r=al.join(e,t);yield ai.cp(r,i,{recursive:!0});}return eR(t,r,n),i;});},iy.cacheFile=function(e,t,r,n,i){return ix(this,void 0,void 0,function*(){if(n=au.clean(n)||n,i=i||aa.arch(),an.debug(`Caching tool ${r} ${n} ${i}`),an.debug("source file: "+e),!ao.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eS(r,n,i),s=al.join(o,t);return an.debug("destination file "+s),yield ai.cp(e,s),eR(r,n,i),o;});},iy.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||aa.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=au.clean(t)||"";let i=al.join(eP(),e,t,r);an.debug("checking cache: "+i),ao.existsSync(i)&&ao.existsSync(`${i}.complete`)?(an.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):an.debug("not found");}return n;},iy.findAllVersions=ex,iy.getManifestFromRepo=function(e,t,r,n="master"){return ix(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new ac.HttpClient("tool-cache"),a={};r&&(an.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let c="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u);}catch(e){an.debug("Invalid json");}}return i;});},iy.findFromManifest=function(e,t,r,n=aa.arch()){return ix(this,void 0,void 0,function*(){return yield as._findMatch(e,t,r,n);});},iy.isExplicitVersion=eI,iy.evaluateVersions=eT,rM=rF("dKklS"),rG=rF("pcnv8"),ni=rF("6vN83"),nG=rF("ibhuk"),im=rF("drEX5"),Object.defineProperty(iN={},"__esModule",{value:!0}),iN.retryAsPromised=iN.TimeoutError=void 0;class ay extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iN.TimeoutError=ay,iN.retryAsPromised=e$,iN.default=e$,i$=rF("g9WSN"),rG=rF("pcnv8"),(rd=iC||(iC={}))[rd.Tar=0]="Tar",rd[rd.TarGz=1]="TarGz",rd[rd.TarXz=2]="TarXz",rd[rd.Zip=3]="Zip",rd[rd.SevenZip=4]="SevenZip",rB=rF("k1l4q");const aE=e=>{if(e){if("object"==typeof e)e={mode:511,...e};else if("number"==typeof e)e={mode:e};else if("string"==typeof e)e={mode:parseInt(e,8)};else throw TypeError("invalid options argument");}else e={mode:511};let t=e,r=e.fs||{};return e.mkdir=e.mkdir||r.mkdir||iK.mkdir,e.mkdirAsync=e.mkdirAsync?e.mkdirAsync:async(e,r)=>new Promise((n,i)=>t.mkdir(e,r,(e,t)=>e?i(e):n(t))),e.stat=e.stat||r.stat||iK.stat,e.statAsync=e.statAsync?e.statAsync:async e=>new Promise((r,n)=>t.stat(e,(e,t)=>e?n(e):r(t))),e.statSync=e.statSync||r.statSync||iK.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iK.mkdirSync,t;},aw=(e,t,r)=>{let n=(0,iY.dirname)(e),i={...aE(t),recursive:!1};if(n===e)try{return i.mkdirSync(e,i);}catch(e){if(e&&"EISDIR"!==e.code)throw e;return;}try{return i.mkdirSync(e,i),r||e;}catch(t){if(t&&"ENOENT"===t.code)return aw(e,i,aw(n,i,r));if(t&&"EEXIST"!==t.code&&t&&"EROFS"!==t.code)throw t;try{if(!i.statSync(e).isDirectory())throw t;}catch(e){throw t;}}},a_=Object.assign(async(e,t,r)=>{let n=aE(t);n.recursive=!1;let i=(0,iY.dirname)(e);return i===e?n.mkdirAsync(e,n).catch(e=>{if(e&&"EISDIR"!==e.code)throw e;}):n.mkdirAsync(e,n).then(()=>r||e,async t=>{if(t&&"ENOENT"===t.code)return a_(i,n).then(t=>a_(e,n,t));if(t&&"EEXIST"!==t.code&&"EROFS"!==t.code)throw t;return n.statAsync(e).then(e=>{if(e.isDirectory())return r;throw t;},()=>{throw t;});});},{sync:aw}),ab=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?ab(e,(0,iY.dirname)(t),t):void 0);},ax=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?ax(e,(0,iY.dirname)(t),t):void 0;}},aO=(e,t)=>{let r=aE(t);if(r.recursive=!0,(0,iY.dirname)(e)===e)return r.mkdirSync(e,r);let n=ax(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return aw(e,r);throw t;}},aS=Object.assign(async(e,t)=>{let r={...aE(t),recursive:!0};return(0,iY.dirname)(e)===e?await r.mkdirAsync(e,r):ab(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return a_(e,r);throw t;}));},{sync:aO}),aR=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aI=e=>{if(/\0/.test(e))throw Object.assign(TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=(0,iY.resolve)(e),"win32"===aR){let{root:t}=(0,iY.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aT=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aP=+aT[0]>10||10==+aT[0]&&+aT[1]>=12,aA=aP?e=>aE(e).mkdirSync===iK.mkdirSync:()=>!1,aN=Object.assign(aP?e=>aE(e).mkdir===iK.mkdir:()=>!1,{sync:aA}),a$=(e,t)=>{e=aI(e);let r=aE(t);return aA(r)?aO(e,r):aw(e,r);},aC=Object.assign(async(e,t)=>{e=aI(e);let r=aE(t);return aN(r)?aS(e,r):a_(e,r);},{mkdirpSync:a$,mkdirpNative:aS,mkdirpNativeSync:aO,mkdirpManual:a_,mkdirpManualSync:aw,sync:a$,native:aS,nativeSync:aO,manual:a_,manualSync:aw,useNative:aN,useNativeSync:aA});nG=rF("ibhuk"),im=rF("drEX5"),iS=rF("ca0ts"),rM=rF("dKklS"),rG=rF("pcnv8"),ni=rF("6vN83"),nG=rF("ibhuk"),im=rF("drEX5"),iS=rF("ca0ts"),rG=rF("pcnv8"),iL=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rC.URL(t),!0;}catch{return!1;}},ik=async e=>{if(!iL(e))return!1;let t=await eX(e,"HEAD");return!!t||!!(t=await eX(e,"GET"));},iv=rF("8YrRN"),iD=rF("fYuCK"),ij=rF("2owFL");const aL=/v?(\d\S*)/,ak={llvm:eZ(),clangtidy:eZ(),clangformat:eZ(),ninja:"1.12.1",cmake:"3.30.2",gcovr:"5.2",conan:"1.64.1",meson:"1.5.1",kcov:"42",task:"3.38.0",doxygen:eh()?"1.11.0-4":"1.11.0",gcc:"win32"===process.platform?"14.2.0posix-18.1.8-12.0.0-ucrt-r1":"",powershell:"7.4.5"},aD={pip:"22.2.0",python:"3.7.9"},aj={mingw:{24:"8.0.0-1",22:"8.0.0-1",20:"7.0.0-2"},llvm:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{24:"6.0",22:"6.0",20:"6.0",18:"5.0"},meson:{24:"1.0.0",22:"1.0.0",20:"1.0.0",18:"0.61.4"},nala:{24:"",22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{24:"42-binary",22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"},doxygen:{24:"1.11.0",22:"1.11.0",20:"1.10.0",18:"1.10.0"}},aF=c(nu)(tt,{promise:!0});rG=rF("pcnv8"),Object.defineProperty(iF={},"__esModule",{value:!0}),iF.getUbuntuVersion=void 0,iF.getUbuntuVersion=ti;const aU=c(nu)(to,{promise:!0}),aM=c(nu)(tu,{promise:!0}),aG=c(nu)(tp,{promise:!0}),aB=c(nu)(tf,{promise:!0});rG=rF("pcnv8"),im=rF("drEX5"),nG=rF("ibhuk");const aq=new Map([[24,["Sequoia","15"]],[23,["Sonoma","14"]],[22,["Ventura","13"]],[21,["Monterey","12"]],[20,["Big Sur","11"]],[19,["Catalina","10.15"]],[18,["Mojave","10.14"]],[17,["High Sierra","10.13"]],[16,["Sierra","10.12"]],[15,["El Capitan","10.11"]],[14,["Yosemite","10.10"]],[13,["Mavericks","10.9"]],[12,["Mountain Lion","10.8"]],[11,["Lion","10.7"]],[10,["Snow Leopard","10.6"]],[9,["Leopard","10.5"]],[8,["Tiger","10.4"]],[7,["Panther","10.3"]],[6,["Jaguar","10.2"]],[5,["Puma","10.1"]]]),aH=c(nu)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rT).release()).split(".")[0];let[t,r]=aq.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rM=rF("dKklS"),rG=rF("pcnv8"),ni=rF("6vN83"),nG=rF("ibhuk"),im=rF("drEX5"),iv=rF("8YrRN"),iU=rF("gWZ4x"),iS=rF("ca0ts"),rG=rF("pcnv8"),ni=rF("6vN83");const az="string"==typeof(iM=iY.resolve(__dirname,"../../src/gcc"))?iM:c(iY).dirname((0,rC.fileURLToPath)("file:///src/gcc/gcc.ts"));iU=rF("gWZ4x"),ij=rF("2owFL"),rG=rF("pcnv8"),im=rF("drEX5"),im=rF("drEX5");const aV="string"==typeof(iG=iY.resolve(__dirname,"../../src/kcov"))?iG:c(iY).dirname((0,rC.fileURLToPath)("file:///src/kcov/kcov.ts"));rM=rF("dKklS"),rG=rF("pcnv8"),nG=rF("ibhuk"),im=rF("drEX5"),ni=rF("6vN83"),rB=rF("k1l4q"),rG=rF("pcnv8");class aX extends Error{constructor(e){super(e),this.name="TimeoutError";}}class aW extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aY=e=>void 0===globalThis.DOMException?new aW(e):new DOMException(e),aK=e=>{let t=void 0===e.reason?aY("This operation was aborted."):e.reason;return t instanceof Error?t:aY(t);};im=rF("drEX5"),rG=rF("pcnv8"),rB=rF("k1l4q");const aJ=r$.env["ProgramFiles(x86)"],aZ=[r$.env["ProgramFiles(x86)"],r$.env.ProgramFiles],aQ=["Enterprise","Professional","Community","BuildTools"],a0=["2022","2019","2017"],a1={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iB=tM;const a2=`${aJ}\\Microsoft Visual Studio\\Installer`;iq=tG,iH=function(e,t,r,n,i,o){if("win32"!=r$.platform){rB.info("This is not a Windows virtual environment, bye!");return;}r$.env.PATH+=iY.delimiter+a2;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];n&&!0===JSON.parse(n)&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),i&&!0===JSON.parse(i)&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tG(o)}" ${a.join(" ")}`;rB.debug("vcvars command-line: "+l);let c=rw.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),u=c[0].split("\r\n"),p=c[1].split("\r\n"),f=c[2].split("\r\n"),d=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(d.length>0)throw Error("invalid parameters\r\n"+d.join("\r\n"));let h={};for(let e of u){let[t,r]=e.split("=");h[t]=r;}for(let e of(rB.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rB.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),rB.exportVariable(t,r));}rB.endGroup(),rB.info("Configured Developer Command Prompt");},nG=rF("ibhuk");const a3=12e5;(rh=iz||(iz={}))[rh.All=0]="All",rh[rh.ClangFormat=1]="ClangFormat",rh[rh.Core=2]="Core",rG=rF("pcnv8"),im=rF("drEX5"),ig=rF("aTQrN");const a4=function(e){let t=new Set(e);for(let r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t;}(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),a6=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),a8=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),a5=new Map(),a7={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04","17.0.6":"-ubuntu-22.04","18.1.4":"-ubuntu-18.04","18.1.7":"-ubuntu-18.04","18.1.8":"-ubuntu-18.04"},a9="18.1.8",le="string"==typeof(iV=iY.resolve(__dirname,"../../src/llvm"))?iV:c(iY).dirname((0,rC.fileURLToPath)("file:///src/llvm/llvm.ts")),lt=c(nu)(t0,{promise:!0}),lr=c(nu)(t2,{promise:!0}),ln=c(nu)(t3,{promise:!0});rM=rF("dKklS"),rG=rF("pcnv8"),nG=rF("ibhuk"),im=rF("drEX5");const li="string"==typeof(iX=iY.resolve(__dirname,"../../src/msvc"))?iX:c(iY).dirname((0,rC.fileURLToPath)("file:///src/msvc/msvc.ts"));rG=rF("pcnv8"),ni=rF("6vN83"),im=rF("drEX5"),rG=rF("pcnv8"),im=rF("drEX5"),im=rF("drEX5"),rG=rF("pcnv8"),nG=rF("ibhuk"),im=rF("drEX5");let lo=!1;const ls={nala:t9,cmake:eV,ninja:tL,python:eQ,vcpkg:ra,bazel:ew,conan:function(e,t,r){return ta("conan",e);},meson:function(e,t,r){return ta("meson",e);},gcovr:function(e,t,r){return ta("gcovr",e);},opencppcoverage:rt,llvm:tQ,gcc:tI,choco:ev,brew:eu,powershell:ri,ccache:function(e,t,r){switch(process.platform){case"win32":return eg("ccache",e);case"darwin":return ef("ccache",e);case"linux":if(eh())return e_("ccache",e);if(ed())return ey([{name:"ccache",version:e}]);if(em())return en([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return eg("sccache",e);case"linux":case"darwin":return ef("sccache",e);default:throw Error("Unsupported platform");}},doxygen:tb,graphviz:ty,cppcheck:tv,clangtidy:function(e,t,r){return t1(e,t,r);},clangformat:function(e,t,r){return t1(e,t,r,iz.ClangFormat);},msvc:t5,vcvarsall:tB,kcov:tU,make:t8,task:function(e,t,r){return eG("task",e,rs,t,r);},sevenzip:eC},la=Object.keys(ls),ll=["compiler","architecture","timeout",...la],lc={rcPath:T("~/.cpprc"),guard:"cpp"};rB=rF("k1l4q"),rG=rF("pcnv8"),ij=rF("2owFL"),rp(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rG.error)("main() panicked!"),(0,rG.error)(e),process.exitCode=1;}); //# sourceMappingURL=setup-cpp.js.map \ No newline at end of file diff --git a/dist/legacy/setup-cpp.js.map b/dist/legacy/setup-cpp.js.map index 7da9743e..c784b63e 100644 --- a/dist/legacy/setup-cpp.js.map +++ b/dist/legacy/setup-cpp.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rW","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rV","sync","command","path","rY","pathExt","iY","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i5","file","original","h","rq","rw","spawn","r1","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r7","getBufferedLength","r8","MAX_LENGTH","bufferedData","getBufferedValue","o0","on","o1","E","sE","sa","sl","sg","oY","c","rS","ChildProcess","sn","reject","ob","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","si","l","oW","oJ","kill","oG","bind","cancel","oV","r2","exitCode","signal","se","sw","aborted","failed","o8","o5","oQ","w","o4","spawnSync","input","status","_","stdio","nr","nothrow","b","getuid","call","CI","x","sG","sc","S","R","O","join","map","I","SUDO_USER","iJ","statSync","isDirectory","T","iW","homedir","replace","sB","P","guard","rcPath","N","A","rG","warning","nG","pathExists","sq","includes","sH","info","$","Set","split","sz","C","escapeSpace","overwrite","sV","nB","nH","rM","GITHUB_ACTIONS","rB","exportVariable","L","sX","sK","k","sQ","some","test","PATH","addPath","D","sZ","j","next","throw","done","value","then","apply","F","return","label","ops","pop","trys","length","push","sent","Symbol","iterator","U","nW","pkg","ir","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","s0","z","DEBIAN_FRONTEND","LANG","LC_ALL","V","X","W","startsWith","Y","J","K","filter","Q","name","version","Z","id","trim","s2","s3","ee","s1","et","s4","er","clear","en","ei","binDir","eo","s6","flatMap","repository","key","ea","es","keyServer","s5","fileName","keyStorePath","ec","el","keyUrl","s8","tmpdir","ii","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s7","ed","eh","em","ev","im","SystemRoot","ALLUSERSPROFILE","lo","ChocolateyInstall","eg","s9","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","ae","at","eb","matchAll","ar","ex","aa","al","eP","ao","existsSync","readdirSync","eI","eO","eN","ad","ai","mkdirP","eS","au","clean","an","debug","rmRF","eR","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rg","ok","RUNNER_TEMP","eA","rk","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","ay","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eF","eU","eM","i$","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","iy","installDir","eB","eq","eH","ni","chmod","iA","now","basename","downloadTool","rl","CACHE_TOOLS","cacheDir","ez","iv","ig","addExeExt","eV","eX","iQ","request","method","statusCode","end","eW","from","iD","localeCompare","eY","ik","has","JSON","stringify","eJ","aL","iS","getExecOutput","console","eK","eZ","eQ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e4","setupActionsPython","rF","e3","e6","parse","root","readdir","aD","python","e5","e9","e7","pip","te","tt","tr","tn","aj","Number","parseInt","ak","ti","execFile","encoding","shell","to","ts","iF","getUbuntuVersion","ta","aB","user","td","PIPX_HOME","aM","PIPX_BIN_DIR","aG","aF","th","tu","aC","tp","tf","aU","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aq","notice","tO","tS","readFile","tR","filterTag","filterName","tag","iM","tI","tP","tN","tT","tA","iU","t$","compare","tC","tL","tk","tD","tj","tF","iG","tU","tM","values","aQ","tG","execSync","entries","aZ","aJ","aK","aY","tB","iq","tH","a1","startGroup","milliseconds","fallback","customTimers","sign","aW","addEventListener","POSITIVE_INFINITY","az","finally","tq","endGroup","lr","rc","tz","tV","NODE_DEBUG","tX","writeFile","rL","tW","tY","tJ","a3","tK","a4","a6","get","a2","a8","a5","tZ","tQ","a7","t4","t0","t1","t6","le","iz","All","ij","a9","t2","t3","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iV","t8","t5","iB","iH","t7","iX","t9","re","rt","rr","rn","arm64","arm","arm32","aarch64","x64","ri","ro","rs","ra","lt","addShExt","addShRelativePrefix","getInput","toLowerCase","ru","compiler","rp","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","li","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nV","create","autoloadLocales","addLocale","nX","nq","nz","cppcheck","gcovr","ln","isCI","parseFloat","format","success","rf","rd","rh","rJ","rK","r4","r5","r9","nt","ns","na","nl","nc","nx","nO","nI","nA","n$","nC","nk","nD","nj","nF","nU","nM","nJ","nK","nZ","nQ","n0","n1","n2","n3","n4","n6","n8","n5","n7","n9","ie","it","io","is","ia","il","ic","iu","ip","iL","any","every","defineProperty","exports","constant","isPR","forEach","pr","ne","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","setFailed","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","String","title","line","startLine","endLine","col","startColumn","endColumn","appendFileSync","random","rng","iK","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","iZ","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","URL","href","setPrototypeOf","HttpClientError","readBody","Buffer","alloc","readBodyBuffer","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","getAgentDispatcher","_getProxyAgentDispatcher","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","_proxyAgentDispatcher","uri","pipelining","token","requestTls","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","_decodedUsername","decodeURIComponent","_decodedPassword","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","rm","connect","localAddress","arguments","defaultPort","ry","inherits","rv","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rU","Authorization","PersonalAccessTokenCredentialHandler","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","appendFile","chown","copyFile","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","readlink","realpath","rename","rmdir","symlink","truncate","unlink","utimes","promisify","Function","propertyIsEnumerable","foo","bar","trzy","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","contains","defineProperties","configurable","__ee__","__eeOnceListener__","off","methods","gs","set","undefined","toPrimitive","toStringTag","globalThis","self","window","__global__","__description__","__name__","hasInstance","isConcatSpreadable","species","unscopables","for","keyFor","floor","isFinite","delete","abs","NaN","async","memoized","context","cb","document","createTextNode","observe","characterData","queueMicrotask","MutationObserver","WebKitMutationObserver","setImmediate","promise","maxAge","unref","preFetch","hit","refCounter","deleteRef","getRefCount","rE","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","rcompare","compareLoose","compareBuild","rsort","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","COERCE","COERCEFULL","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTLFULL","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","formatted","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","add","extname","normalize","relative","force","recursive","retryDelay","IS_WINDOWS","isRooted","tryGetExecutablePath","exists","cp","copySourceDirectory","mv","which","findInPath","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","readFileSync","randomBytes","ToolRunner","r_","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argStringToArray","charAt","_setResult","rb","HandleTimeout","OSTYPE","i1","i0","rX","TESTING_WINDOWS","i2","i3","colon","pathEnv","pathExtExe","i4","i6","rz","rZ","rQ","r0","openSync","readSync","closeSync","i8","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rH","_parse","_enoent","i7","rR","preferLocal","execPath","addExecPath","rI","fileURLToPath","rO","i9","oe","ot","or","oi","getPrototypeOf","oo","os","oa","ol","oc","WeakMap","ou","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","op","oh","od","of","number","action","description","standard","om","forced","ov","og","signals","rT","supported","oy","oE","ow","o_","errorCode","signalDescription","Boolean","originalMessage","shortMessage","ox","oO","oS","oR","reallyExit","pid","oI","oT","oP","oN","oA","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","o$","oL","oU","oj","r3","equal","oD","alwaysLast","unload","oC","oM","oF","load","oB","oH","oz","forceKillAfterTimeout","oq","SIGTERM","oX","killSignal","race","cleanup","detached","oK","oZ","createWriteStream","pipeStdout","pipeStderr","pipeAll","rP","rN","PassThrough","array","objectMode","setEncoding","pipeline","r6","buffer","MaxBufferError","readable","isEmpty","o2","o3","inputFile","o6","createReadStream","o7","o9","st","sr","so","ss","su","rx","isBuffer","sp","sf","templates","expressions","template","sd","sh","rA","debuglog","enabled","sm","padStart","sv","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sy","localDir","stripFinalNewline","windowsHide","s_","sb","sx","sS","sO","sR","groups","getgroups","sI","sN","sT","sP","sA","_ISEXE_TEST_PLATFORM_","no","nn","s$","isexe","sC","posix","sL","sk","sD","source","sj","sF","sU","sM","nf","nd","function","object","n_","nb","captureStackTrace","nE","nw","nP","nN","nT","nm","nL","ny","normalizer","resolvers","nS","profileName","updateEnv","__memoized__","nR","_get","_has","nh","ng","nv","__profiler__","nu","np","primitive","sW","sY","release","sJ","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","r$","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nY","padEnd","isTTY","shouldNotifyInNpmScript","DH_STATES","IDLE","SKIPPED","STARTED","DOWNLOADING","RETRY","PAUSED","RESUMED","STOPPED","FINISHED","FAILED","__proto__","captureRejections","__validate","requestURL","state","__defaultOpts","body","retry","metadata","override","forceResume","removeOnStop","removeOnFail","progressThrottle","httpRequestOptions","httpsRequestOptions","resumeOnIncomplete","resumeIfFileExists","resumeOnIncompleteMaxRetry","__opts","__pipes","__total","__downloaded","__progress","__retryCount","__retryTimeout","__resumeRetryCount","__states","__promise","__request","__response","__isAborted","__isResumed","__isResumable","__isRedirected","__destFolder","__statsEstimate","time","bytes","prevBytes","throttleTime","__fileName","__filePath","updateOptions","__start","getTotalSize","total","__getFilePath","__getFilesizeInBytes","resumeFromFile","unpipe","stream","__fileStream","__requestAbort","__closeFileStream","__setState","__reqOptions","__emitStop","__headers","__getReqOptions","__initProtocol","downloaded","progress","speed","__protocol","__isRequireRedirect","rC","__getFileNameFromHeaders","destroyed","__downloadRequest","__onError","__onTimeout","__resetStats","__startDownload","flags","skip","skipSmaller","totalSize","downloadedSize","isResumed","__calculateStats","__onFinished","close","__hasFinished","resume","incomplete","onDiskSize","__retry","__removeFile","__getFileNameFromOpts","__uniqFileNameSync","prevPath","prevFileName","ext","getStats","throwIfNoEntry","accessSync","F_OK","abort","__resolvePending","ih","ib","as","ac","ap","af","iO","ah","iP","iR","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","am","httpStatusCode","new","target","HTTPError","av","ag","ix","authorization","statusMessage","extract7z","iE","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iC","aE","fs","mkdirAsync","statAsync","aw","a_","ab","ax","aO","aS","aR","__TESTING_MKDIRP_PLATFORM__","aI","aT","__TESTING_MKDIRP_NODE_VERSION__","aP","aN","aA","a$","mkdirpSync","mkdirpNative","mkdirpNativeSync","mkdirpManual","mkdirpManualSync","native","nativeSync","manual","manualSync","useNative","useNativeSync","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","powershell","mingw","nala","aH","aV","aX","DOMException","reason","ProgramFiles","a0","win32","win64","x86_64","vcpkg","bazel","opencppcoverage","choco","brew","ccache","sccache","graphviz","ClangFormat","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/.pnpm/ci-info@4.0.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/ci-info@4.0.0/node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/file-command.ts","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/lib/index.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/src/index.ts","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/lib/proxy.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/src/proxy.ts","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13__@swc+helpers@0.5.13/node_modules/@parcel/runtime-js/lib/runtime-d19c8d06d73cb87c.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/lib/auth.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/src/auth.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","../../src/utils/compat/fs/promises.ts","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/noop.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/_iterate.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-callable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-value.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/registered-extensions.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/mixin.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/shim.js","../../node_modules/.pnpm/event-emitter@0.3.5/node_modules/event-emitter/index.js","../../node_modules/.pnpm/d@1.0.2/node_modules/d/index.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/value/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/plain-function/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/function/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/prototype/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/object/is.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/normalize-options.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/shim.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/index.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-implemented.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/index.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/is-implemented.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/implementation.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/polyfill.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/validate-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/generate-name.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/standard-symbols.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/symbol-registry.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-arguments.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-function.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-pos-integer.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-integer.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/is-string.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/primitive.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-primitive-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/#/e-index-of.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/shim.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-1.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/async.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/map.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/for-each.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/_define-length.js","../../node_modules/.pnpm/next-tick@1.1.0/node_modules/next-tick/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/promise.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/primitive-set.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-callable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/to-short-string-representation.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/safe-to-string.js","../../node_modules/.pnpm/is-promise@2.2.2/node_modules/is-promise/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/dispose.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max-age.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/valid-timeout.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/max-timeout.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max.js","../../node_modules/.pnpm/lru-queue@0.1.0/node_modules/lru-queue/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/ref-counter.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","../../node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/name.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/normalize-trim.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-exe-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-suffix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/remove-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/replace-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/is-path-inside.ts","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io-util.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/exec.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13__@swc+helpers@0.5.13/node_modules/@parcel/runtime-js/lib/runtime-41eb4c509496b9db.js","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13__@swc+helpers@0.5.13/node_modules/@parcel/runtime-js/lib/runtime-b320c84e2258181e.js","../../src/main.ts","../../packages/envosman/src/index.ts","../../packages/envosman/src/add-env.ts","../../packages/exec-powershell/src/index.ts","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.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/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.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/enoent.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@5.3.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-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@7.2.0/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/index.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/index.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/posix.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/posix.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/win32.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/win32.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/options.ts","../../packages/envosman/src/rc-file.ts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/index.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/root.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/root.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/admin.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/admin.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/is-admin.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/is-admin.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/user-access.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/user-access.mts","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-length.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/plain.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/configure-map.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/error/custom.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-object.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-resolve.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/to-array.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-normalize.js","../../packages/untildify-user/src/index.ts","../../packages/envosman/src/utils.ts","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../packages/envosman/src/add-path.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","../../src/check-updates.ts","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../src/tool.ts","../../packages/setup-brew/src/index.ts","../../packages/setup-brew/src/install-pack.ts","../../packages/setup-brew/src/install.ts","../../node_modules/.pnpm/node-downloader-helper@2.1.9/node_modules/node-downloader-helper/dist/index.js","../../packages/setup-apt/src/index.ts","../../packages/setup-apt/src/alternatives.ts","../../packages/setup-apt/src/apt-key.ts","../../packages/setup-apt/src/install.ts","../../packages/setup-apt/src/apt-env.ts","../../packages/setup-apt/src/apt-repository.ts","../../packages/setup-apt/src/apt-timeout.ts","../../packages/setup-apt/src/get-apt.ts","../../packages/setup-apt/src/init-apt.ts","../../packages/setup-apt/src/qualify-install.ts","../../packages/setup-apt/src/is-installed.ts","../../packages/setup-apt/src/update.ts","../../src/bazel/bazel.ts","../../src/utils/env/hasDnf.ts","../../src/utils/env/isArch.ts","../../src/utils/env/isUbuntu.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/setup/setupDnfPack.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../src/utils/setup/setupBin.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/index.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/index.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-manual.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/mkdirp-manual.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/opts-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/opts-arg.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/mkdirp-native.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/find-made.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/find-made.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/path-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/path-arg.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/use-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/use-native.ts","../../src/python/python.ts","../../src/utils/setup/version.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/utils/env/macos_version.ts","../../node_modules/.pnpm/macos-release@3.3.0/node_modules/macos-release/index.js","../../src/utils/setup/setupDmg.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/utils/github/load-assets.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../node_modules/.pnpm/p-timeout@6.1.2/node_modules/p-timeout/index.js","../../src/vcvarsall/vcvarsall.ts","../../node_modules/.pnpm/msvc-dev-cmd@https+++codeload.github.com+aminya+msvc-dev-cmd+tar.gz+c01f519bd995460228ed3dec4df51df92dc290fd/node_modules/msvc-dev-cmd/lib.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $hh2Bt$os = require(\"os\");\nvar $hh2Bt$path = require(\"path\");\nvar $hh2Bt$fs = require(\"fs\");\nvar $hh2Bt$crypto = require(\"crypto\");\nvar $hh2Bt$http = require(\"http\");\nvar $hh2Bt$https = require(\"https\");\nrequire(\"net\");\nvar $hh2Bt$tls = require(\"tls\");\nvar $hh2Bt$events = require(\"events\");\nvar $hh2Bt$assert = require(\"assert\");\nvar $hh2Bt$util = require(\"util\");\nvar $hh2Bt$nodefs = require(\"node:fs\");\nvar $hh2Bt$child_process = require(\"child_process\");\nvar $hh2Bt$string_decoder = require(\"string_decoder\");\nvar $hh2Bt$timers = require(\"timers\");\nvar $hh2Bt$nodebuffer = require(\"node:buffer\");\nvar $hh2Bt$nodepath = require(\"node:path\");\nvar $hh2Bt$nodechild_process = require(\"node:child_process\");\nvar $hh2Bt$nodeprocess = require(\"node:process\");\nvar $hh2Bt$nodeurl = require(\"node:url\");\nvar $hh2Bt$nodeos = require(\"node:os\");\nvar $hh2Bt$buffer = require(\"buffer\");\nvar $hh2Bt$stream = require(\"stream\");\nvar $hh2Bt$nodeutil = require(\"node:util\");\nvar $hh2Bt$process = require(\"process\");\nvar $hh2Bt$url = require(\"url\");\nvar $hh2Bt$console = require(\"console\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"dKklS\", function(module, exports) {\n\"use strict\";\n\nvar $ksAXT = parcelRequire(\"ksAXT\");\nconst $a01f5bb1004482a1$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $ksAXT.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$ksAXT.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $a01f5bb1004482a1$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$a01f5bb1004482a1$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $a01f5bb1004482a1$var$env && $a01f5bb1004482a1$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$a01f5bb1004482a1$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $a01f5bb1004482a1$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($a01f5bb1004482a1$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($a01f5bb1004482a1$var$env.BUILD_ID || // Jenkins, Cloudbees\n$a01f5bb1004482a1$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$a01f5bb1004482a1$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$a01f5bb1004482a1$var$env.CI_APP_ID || // Appflow\n$a01f5bb1004482a1$var$env.CI_BUILD_ID || // Appflow\n$a01f5bb1004482a1$var$env.CI_BUILD_NUMBER || // Appflow\n$a01f5bb1004482a1$var$env.CI_NAME || // Codeship and others\n$a01f5bb1004482a1$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$a01f5bb1004482a1$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $a01f5bb1004482a1$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$a01f5bb1004482a1$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $a01f5bb1004482a1$var$env[obj.env] && $a01f5bb1004482a1$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$a01f5bb1004482a1$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $a01f5bb1004482a1$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRegister(\"ksAXT\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Agola CI\",\"constant\":\"AGOLA\",\"env\":\"AGOLA_GIT_REF\",\"pr\":\"AGOLA_PULL_REQUEST_ID\"},{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"TF_BUILD\",\"pr\":{\"BUILD_REASON\":\"PullRequest\"}},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Earthly\",\"constant\":\"EARTHLY\",\"env\":\"EARTHLY_CI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"Gitea Actions\",\"constant\":\"GITEA_ACTIONS\",\"env\":\"GITEA_ACTIONS\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Prow\",\"constant\":\"PROW\",\"env\":\"PROW_JOB_ID\"},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vela\",\"constant\":\"VELA\",\"env\":\"VELA\",\"pr\":{\"VELA_PULL_REQUEST\":\"1\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]},\"pr\":\"VERCEL_GIT_PULL_REQUEST_ID\"},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRegister(\"pcnv8\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $dfbf2d9bb1250e23$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $dfbf2d9bb1250e23$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $dfbf2d9bb1250e23$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $dfbf2d9bb1250e23$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $dfbf2d9bb1250e23$export$a80b3bd66acc52ff);\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\nfunction $dfbf2d9bb1250e23$export$a3bc9b8ed74fc(err) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$491112666e282270(msg) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$b31f6ae88848cf15(msg) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$a80b3bd66acc52ff(msg) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.info(msg) : console.log(msg);\n}\n\n});\nparcelRegister(\"k1l4q\", function(module, exports) {\n\"use strict\";\nvar $e9343ec77e6efb9d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $e9343ec77e6efb9d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $e9343ec77e6efb9d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $e9343ec77e6efb9d$var$__createBinding(result, mod, k);\n }\n $e9343ec77e6efb9d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e9343ec77e6efb9d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $ekchs = parcelRequire(\"ekchs\");\n\nvar $lyZGK = parcelRequire(\"lyZGK\");\n\nvar $iYcPV = parcelRequire(\"iYcPV\");\n\nconst $e9343ec77e6efb9d$var$os = $e9343ec77e6efb9d$var$__importStar($hh2Bt$os);\n\nconst $e9343ec77e6efb9d$var$path = $e9343ec77e6efb9d$var$__importStar($hh2Bt$path);\n\nvar $dqF37 = parcelRequire(\"dqF37\");\n/**\n * The code to exit an action\n */ var $e9343ec77e6efb9d$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($e9343ec77e6efb9d$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $e9343ec77e6efb9d$var$exportVariable(name, val) {\n const convertedVal = $iYcPV.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $lyZGK.issueFileCommand(\"ENV\", $lyZGK.prepareKeyValueMessage(name, val));\n $ekchs.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $e9343ec77e6efb9d$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $e9343ec77e6efb9d$var$setSecret(secret) {\n $ekchs.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $e9343ec77e6efb9d$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $e9343ec77e6efb9d$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $lyZGK.issueFileCommand(\"PATH\", inputPath);\n else $ekchs.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$e9343ec77e6efb9d$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $e9343ec77e6efb9d$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $e9343ec77e6efb9d$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $e9343ec77e6efb9d$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $e9343ec77e6efb9d$var$getMultilineInput(name, options) {\n const inputs = $e9343ec77e6efb9d$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $e9343ec77e6efb9d$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $e9343ec77e6efb9d$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $e9343ec77e6efb9d$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $e9343ec77e6efb9d$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $e9343ec77e6efb9d$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $lyZGK.issueFileCommand(\"OUTPUT\", $lyZGK.prepareKeyValueMessage(name, value));\n process.stdout.write($e9343ec77e6efb9d$var$os.EOL);\n $ekchs.issueCommand(\"set-output\", {\n name: name\n }, $iYcPV.toCommandValue(value));\n}\nmodule.exports.setOutput = $e9343ec77e6efb9d$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $e9343ec77e6efb9d$var$setCommandEcho(enabled) {\n $ekchs.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $e9343ec77e6efb9d$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $e9343ec77e6efb9d$var$setFailed(message) {\n process.exitCode = $e9343ec77e6efb9d$var$ExitCode.Failure;\n $e9343ec77e6efb9d$var$error(message);\n}\nmodule.exports.setFailed = $e9343ec77e6efb9d$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $e9343ec77e6efb9d$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $e9343ec77e6efb9d$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $e9343ec77e6efb9d$var$debug(message) {\n $ekchs.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $e9343ec77e6efb9d$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $e9343ec77e6efb9d$var$error(message, properties = {}) {\n $ekchs.issueCommand(\"error\", $iYcPV.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $e9343ec77e6efb9d$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $e9343ec77e6efb9d$var$warning(message, properties = {}) {\n $ekchs.issueCommand(\"warning\", $iYcPV.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $e9343ec77e6efb9d$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $e9343ec77e6efb9d$var$notice(message, properties = {}) {\n $ekchs.issueCommand(\"notice\", $iYcPV.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $e9343ec77e6efb9d$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $e9343ec77e6efb9d$var$info(message) {\n process.stdout.write(message + $e9343ec77e6efb9d$var$os.EOL);\n}\nmodule.exports.info = $e9343ec77e6efb9d$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $e9343ec77e6efb9d$var$startGroup(name) {\n $ekchs.issue(\"group\", name);\n}\nmodule.exports.startGroup = $e9343ec77e6efb9d$var$startGroup;\n/**\n * End an output group.\n */ function $e9343ec77e6efb9d$var$endGroup() {\n $ekchs.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $e9343ec77e6efb9d$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $e9343ec77e6efb9d$var$group(name, fn) {\n return $e9343ec77e6efb9d$var$__awaiter(this, void 0, void 0, function*() {\n $e9343ec77e6efb9d$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $e9343ec77e6efb9d$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $e9343ec77e6efb9d$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $e9343ec77e6efb9d$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $lyZGK.issueFileCommand(\"STATE\", $lyZGK.prepareKeyValueMessage(name, value));\n $ekchs.issueCommand(\"save-state\", {\n name: name\n }, $iYcPV.toCommandValue(value));\n}\nmodule.exports.saveState = $e9343ec77e6efb9d$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $e9343ec77e6efb9d$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $e9343ec77e6efb9d$var$getState;\nfunction $e9343ec77e6efb9d$var$getIDToken(aud) {\n return $e9343ec77e6efb9d$var$__awaiter(this, void 0, void 0, function*() {\n return yield $dqF37.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $e9343ec77e6efb9d$var$getIDToken;\n\nvar $1mzjm = parcelRequire(\"1mzjm\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $1mzjm.summary;\n }\n});\n\nvar $1mzjm = parcelRequire(\"1mzjm\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $1mzjm.markdownSummary;\n }\n});\n\nvar $31rWp = parcelRequire(\"31rWp\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $31rWp.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $31rWp.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $31rWp.toPlatformPath;\n }\n});\n\n});\nparcelRegister(\"ekchs\", function(module, exports) {\n\"use strict\";\nvar $a6dc759deb801b79$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a6dc759deb801b79$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a6dc759deb801b79$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a6dc759deb801b79$var$__createBinding(result, mod, k);\n }\n $a6dc759deb801b79$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $a6dc759deb801b79$var$os = $a6dc759deb801b79$var$__importStar($hh2Bt$os);\n\nvar $iYcPV = parcelRequire(\"iYcPV\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $a6dc759deb801b79$var$issueCommand(command, properties, message) {\n const cmd = new $a6dc759deb801b79$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $a6dc759deb801b79$var$os.EOL);\n}\nmodule.exports.issueCommand = $a6dc759deb801b79$var$issueCommand;\nfunction $a6dc759deb801b79$var$issue(name, message = \"\") {\n $a6dc759deb801b79$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $a6dc759deb801b79$var$issue;\nconst $a6dc759deb801b79$var$CMD_STRING = \"::\";\nclass $a6dc759deb801b79$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $a6dc759deb801b79$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$a6dc759deb801b79$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$a6dc759deb801b79$var$CMD_STRING}${$a6dc759deb801b79$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $a6dc759deb801b79$var$escapeData(s) {\n return $iYcPV.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $a6dc759deb801b79$var$escapeProperty(s) {\n return $iYcPV.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRegister(\"iYcPV\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $dcf7c9a9e0ec5858$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $dcf7c9a9e0ec5858$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $dcf7c9a9e0ec5858$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $dcf7c9a9e0ec5858$var$toCommandProperties;\n\n});\n\n\nparcelRegister(\"lyZGK\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $fb2ca0006d56f842$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $fb2ca0006d56f842$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $fb2ca0006d56f842$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $fb2ca0006d56f842$var$__createBinding(result, mod, k);\n }\n $fb2ca0006d56f842$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $fb2ca0006d56f842$var$fs = $fb2ca0006d56f842$var$__importStar($hh2Bt$fs);\n\nconst $fb2ca0006d56f842$var$os = $fb2ca0006d56f842$var$__importStar($hh2Bt$os);\n\nvar $bTj1Z = parcelRequire(\"bTj1Z\");\n\nvar $iYcPV = parcelRequire(\"iYcPV\");\nfunction $fb2ca0006d56f842$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$fb2ca0006d56f842$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $fb2ca0006d56f842$var$fs.appendFileSync(filePath, `${$iYcPV.toCommandValue(message)}${$fb2ca0006d56f842$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $fb2ca0006d56f842$var$issueFileCommand;\nfunction $fb2ca0006d56f842$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$bTj1Z.default()}`;\n const convertedValue = $iYcPV.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$fb2ca0006d56f842$var$os.EOL}${convertedValue}${$fb2ca0006d56f842$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $fb2ca0006d56f842$var$prepareKeyValueMessage;\n\n});\nparcelRegister(\"bTj1Z\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $8a8397ee6cc823a0$export$2e2bcd8739ae039);\n\nvar $5x7Ba = parcelRequire(\"5x7Ba\");\n\nvar $FUqvx = parcelRequire(\"FUqvx\");\nfunction $8a8397ee6cc823a0$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $5x7Ba.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $FUqvx.default)(rnds);\n}\nvar $8a8397ee6cc823a0$export$2e2bcd8739ae039 = $8a8397ee6cc823a0$var$v4;\n\n});\nparcelRegister(\"5x7Ba\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $4075edb944572faa$export$2e2bcd8739ae039);\n\nconst $4075edb944572faa$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $4075edb944572faa$var$poolPtr = $4075edb944572faa$var$rnds8Pool.length;\nfunction $4075edb944572faa$export$2e2bcd8739ae039() {\n if ($4075edb944572faa$var$poolPtr > $4075edb944572faa$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($hh2Bt$crypto))).randomFillSync($4075edb944572faa$var$rnds8Pool);\n $4075edb944572faa$var$poolPtr = 0;\n }\n return $4075edb944572faa$var$rnds8Pool.slice($4075edb944572faa$var$poolPtr, $4075edb944572faa$var$poolPtr += 16);\n}\n\n});\n\nparcelRegister(\"FUqvx\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $07df999606202400$export$2e2bcd8739ae039);\n\nvar $kYWmF = parcelRequire(\"kYWmF\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $07df999606202400$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$07df999606202400$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $07df999606202400$var$stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = ($07df999606202400$var$byteToHex[arr[offset + 0]] + $07df999606202400$var$byteToHex[arr[offset + 1]] + $07df999606202400$var$byteToHex[arr[offset + 2]] + $07df999606202400$var$byteToHex[arr[offset + 3]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 4]] + $07df999606202400$var$byteToHex[arr[offset + 5]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 6]] + $07df999606202400$var$byteToHex[arr[offset + 7]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 8]] + $07df999606202400$var$byteToHex[arr[offset + 9]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 10]] + $07df999606202400$var$byteToHex[arr[offset + 11]] + $07df999606202400$var$byteToHex[arr[offset + 12]] + $07df999606202400$var$byteToHex[arr[offset + 13]] + $07df999606202400$var$byteToHex[arr[offset + 14]] + $07df999606202400$var$byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!(0, $kYWmF.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $07df999606202400$export$2e2bcd8739ae039 = $07df999606202400$var$stringify;\n\n});\nparcelRegister(\"kYWmF\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $f466af365406a0ad$export$2e2bcd8739ae039);\n\nvar $1J9r9 = parcelRequire(\"1J9r9\");\nfunction $f466af365406a0ad$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $1J9r9.default).test(uuid);\n}\nvar $f466af365406a0ad$export$2e2bcd8739ae039 = $f466af365406a0ad$var$validate;\n\n});\nparcelRegister(\"1J9r9\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $1421506621ec4ca3$export$2e2bcd8739ae039);\nvar $1421506621ec4ca3$export$2e2bcd8739ae039 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\n\n});\n\n\n\n\n\nparcelRegister(\"dqF37\", function(module, exports) {\n\"use strict\";\nvar $9c6d8ba028e609ce$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $3bZps = parcelRequire(\"3bZps\");\n\nvar $f85aw = parcelRequire(\"f85aw\");\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\nclass $9c6d8ba028e609ce$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $3bZps.HttpClient(\"actions/oidc-client\", [\n new $f85aw.BearerCredentialHandler($9c6d8ba028e609ce$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $9c6d8ba028e609ce$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $9c6d8ba028e609ce$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $9c6d8ba028e609ce$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $9c6d8ba028e609ce$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $k1l4q.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $9c6d8ba028e609ce$var$OidcClient.getCall(id_token_url);\n $k1l4q.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $9c6d8ba028e609ce$var$OidcClient;\n\n});\nparcelRegister(\"3bZps\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $253208d8f42f08a2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {\n enumerable: true,\n get: function() {\n return m[k];\n }\n };\n Object.defineProperty(o, k2, desc);\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $253208d8f42f08a2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $253208d8f42f08a2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) $253208d8f42f08a2$var$__createBinding(result, mod, k);\n }\n $253208d8f42f08a2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $253208d8f42f08a2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $253208d8f42f08a2$var$http = $253208d8f42f08a2$var$__importStar($hh2Bt$http);\n\nconst $253208d8f42f08a2$var$https = $253208d8f42f08a2$var$__importStar($hh2Bt$https);\n\nconst $253208d8f42f08a2$var$pm = $253208d8f42f08a2$var$__importStar((parcelRequire(\"iZzl4\")));\n\nconst $253208d8f42f08a2$var$tunnel = $253208d8f42f08a2$var$__importStar((parcelRequire(\"bbp3j\")));\nvar $253208d8f42f08a2$var$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})($253208d8f42f08a2$var$HttpCodes || (module.exports.HttpCodes = $253208d8f42f08a2$var$HttpCodes = {}));\nvar $253208d8f42f08a2$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($253208d8f42f08a2$var$Headers || (module.exports.Headers = $253208d8f42f08a2$var$Headers = {}));\nvar $253208d8f42f08a2$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($253208d8f42f08a2$var$MediaTypes || (module.exports.MediaTypes = $253208d8f42f08a2$var$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 */ function $253208d8f42f08a2$var$getProxyUrl(serverUrl) {\n const proxyUrl = $253208d8f42f08a2$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $253208d8f42f08a2$var$getProxyUrl;\nconst $253208d8f42f08a2$var$HttpRedirectCodes = [\n $253208d8f42f08a2$var$HttpCodes.MovedPermanently,\n $253208d8f42f08a2$var$HttpCodes.ResourceMoved,\n $253208d8f42f08a2$var$HttpCodes.SeeOther,\n $253208d8f42f08a2$var$HttpCodes.TemporaryRedirect,\n $253208d8f42f08a2$var$HttpCodes.PermanentRedirect\n];\nconst $253208d8f42f08a2$var$HttpResponseRetryCodes = [\n $253208d8f42f08a2$var$HttpCodes.BadGateway,\n $253208d8f42f08a2$var$HttpCodes.ServiceUnavailable,\n $253208d8f42f08a2$var$HttpCodes.GatewayTimeout\n];\nconst $253208d8f42f08a2$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $253208d8f42f08a2$var$ExponentialBackoffCeiling = 10;\nconst $253208d8f42f08a2$var$ExponentialBackoffTimeSlice = 5;\nclass $253208d8f42f08a2$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $253208d8f42f08a2$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $253208d8f42f08a2$var$HttpClientError;\nclass $253208d8f42f08a2$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n readBodyBuffer() {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n const chunks = [];\n this.message.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n });\n this.message.on(\"end\", ()=>{\n resolve(Buffer.concat(chunks));\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $253208d8f42f08a2$var$HttpClientResponse;\nfunction $253208d8f42f08a2$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $253208d8f42f08a2$var$isHttps;\n\nclass $253208d8f42f08a2$var$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) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\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 */ getJson(requestUrl, additionalHeaders = {}) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$253208d8f42f08a2$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $253208d8f42f08a2$var$Headers.Accept, $253208d8f42f08a2$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$253208d8f42f08a2$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $253208d8f42f08a2$var$Headers.Accept, $253208d8f42f08a2$var$MediaTypes.ApplicationJson);\n additionalHeaders[$253208d8f42f08a2$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $253208d8f42f08a2$var$Headers.ContentType, $253208d8f42f08a2$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$253208d8f42f08a2$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $253208d8f42f08a2$var$Headers.Accept, $253208d8f42f08a2$var$MediaTypes.ApplicationJson);\n additionalHeaders[$253208d8f42f08a2$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $253208d8f42f08a2$var$Headers.ContentType, $253208d8f42f08a2$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$253208d8f42f08a2$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $253208d8f42f08a2$var$Headers.Accept, $253208d8f42f08a2$var$MediaTypes.ApplicationJson);\n additionalHeaders[$253208d8f42f08a2$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $253208d8f42f08a2$var$Headers.ContentType, $253208d8f42f08a2$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\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 */ request(verb, requestUrl, data, headers) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const 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 const maxTries = this._allowRetries && $253208d8f42f08a2$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $253208d8f42f08a2$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // 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 let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $253208d8f42f08a2$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) 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 // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$253208d8f42f08a2$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $253208d8f42f08a2$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\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 || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\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 */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n getAgentDispatcher(serverUrl) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n const parsedUrl = new URL(serverUrl);\n const proxyUrl = $253208d8f42f08a2$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (!useProxy) return undefined;\n return yield this._getProxyAgentDispatcher(parsedUrl, proxyUrl);\n });\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $253208d8f42f08a2$var$https : $253208d8f42f08a2$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $253208d8f42f08a2$var$lowercaseKeys(this.requestOptions.headers), $253208d8f42f08a2$var$lowercaseKeys(headers || {}));\n return $253208d8f42f08a2$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $253208d8f42f08a2$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $253208d8f42f08a2$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (!useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $253208d8f42f08a2$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (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) tunnelAgent = overHttps ? $253208d8f42f08a2$var$tunnel.httpsOverHttps : $253208d8f42f08a2$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $253208d8f42f08a2$var$tunnel.httpOverHttps : $253208d8f42f08a2$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if tunneling agent isn't assigned create a new agent\n if (!agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $253208d8f42f08a2$var$https.Agent(options) : new $253208d8f42f08a2$var$http.Agent(options);\n this._agent = agent;\n }\n if (usingSsl && this._ignoreSslError) // 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 return agent;\n }\n _getProxyAgentDispatcher(parsedUrl, proxyUrl) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n let proxyAgent;\n if (this._keepAlive) proxyAgent = this._proxyAgentDispatcher;\n // if agent is already assigned use that agent.\n if (proxyAgent) return proxyAgent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n // Lazy load ProxyAgent to avoid bundling all the undici\n const ProxyAgent = yield Promise.resolve().then(function() {\n return (parcelRequire(\"4vDZ9\"));\n }).then((res)=>$253208d8f42f08a2$var$__importStar(res));\n proxyAgent = new ProxyAgent(Object.assign({\n uri: proxyUrl.href,\n pipelining: !this._keepAlive ? 0 : 1\n }, (proxyUrl.username || proxyUrl.password) && {\n token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString(\"base64\")}`\n }));\n this._proxyAgentDispatcher = proxyAgent;\n if (usingSsl && this._ignoreSslError) // 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 proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, {\n rejectUnauthorized: false\n });\n return proxyAgent;\n });\n }\n _performExponentialBackoff(retryNumber) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($253208d8f42f08a2$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $253208d8f42f08a2$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$253208d8f42f08a2$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $253208d8f42f08a2$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\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) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $253208d8f42f08a2$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $253208d8f42f08a2$var$HttpClient;\nconst $253208d8f42f08a2$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRegister(\"iZzl4\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $dd39560aef8b6340$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($dd39560aef8b6340$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) try {\n return new $dd39560aef8b6340$var$DecodedURL(proxyVar);\n } catch (_a) {\n if (!proxyVar.startsWith(\"http://\") && !proxyVar.startsWith(\"https://\")) return new $dd39560aef8b6340$var$DecodedURL(`http://${proxyVar}`);\n }\n else return undefined;\n}\nmodule.exports.getProxyUrl = $dd39560aef8b6340$var$getProxyUrl;\nfunction $dd39560aef8b6340$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($dd39560aef8b6340$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $dd39560aef8b6340$var$checkBypass;\nfunction $dd39560aef8b6340$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\nclass $dd39560aef8b6340$var$DecodedURL extends URL {\n constructor(url, base){\n super(url, base);\n this._decodedUsername = decodeURIComponent(super.username);\n this._decodedPassword = decodeURIComponent(super.password);\n }\n get username() {\n return this._decodedUsername;\n }\n get password() {\n return this._decodedPassword;\n }\n}\n\n});\n\nparcelRegister(\"bbp3j\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"fNJ5J\"));\n\n});\nparcelRegister(\"fNJ5J\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $b80e68d5f6e6478f$export$25cbd437c61a3835, (v) => $b80e68d5f6e6478f$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $b80e68d5f6e6478f$export$c06e3df7111bae43, (v) => $b80e68d5f6e6478f$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $b80e68d5f6e6478f$export$5d50e36ef656139f, (v) => $b80e68d5f6e6478f$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $b80e68d5f6e6478f$export$212d6605025321cc, (v) => $b80e68d5f6e6478f$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $b80e68d5f6e6478f$export$1c9f709888824e05, (v) => $b80e68d5f6e6478f$export$1c9f709888824e05 = v);\nvar $b80e68d5f6e6478f$export$25cbd437c61a3835;\nvar $b80e68d5f6e6478f$export$c06e3df7111bae43;\nvar $b80e68d5f6e6478f$export$5d50e36ef656139f;\nvar $b80e68d5f6e6478f$export$212d6605025321cc;\nvar $b80e68d5f6e6478f$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$b80e68d5f6e6478f$export$25cbd437c61a3835 = $b80e68d5f6e6478f$var$httpOverHttp;\n$b80e68d5f6e6478f$export$c06e3df7111bae43 = $b80e68d5f6e6478f$var$httpsOverHttp;\n$b80e68d5f6e6478f$export$5d50e36ef656139f = $b80e68d5f6e6478f$var$httpOverHttps;\n$b80e68d5f6e6478f$export$212d6605025321cc = $b80e68d5f6e6478f$var$httpsOverHttps;\nfunction $b80e68d5f6e6478f$var$httpOverHttp(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $hh2Bt$http.request;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$httpsOverHttp(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $hh2Bt$http.request;\n agent.createSocket = $b80e68d5f6e6478f$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$httpOverHttps(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $hh2Bt$https.request;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$httpsOverHttps(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $hh2Bt$https.request;\n agent.createSocket = $b80e68d5f6e6478f$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $hh2Bt$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $b80e68d5f6e6478f$var$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}\n$hh2Bt$util.inherits($b80e68d5f6e6478f$var$TunnelingAgent, $hh2Bt$events.EventEmitter);\n$b80e68d5f6e6478f$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $b80e68d5f6e6478f$var$mergeOptions({\n request: req\n }, self.options, $b80e68d5f6e6478f$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$b80e68d5f6e6478f$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $b80e68d5f6e6478f$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $b80e68d5f6e6478f$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $b80e68d5f6e6478f$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $b80e68d5f6e6478f$var$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 $b80e68d5f6e6478f$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $b80e68d5f6e6478f$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$b80e68d5f6e6478f$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $b80e68d5f6e6478f$var$createSecureSocket(options, cb) {\n var self = this;\n $b80e68d5f6e6478f$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $b80e68d5f6e6478f$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $hh2Bt$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $b80e68d5f6e6478f$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $b80e68d5f6e6478f$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $b80e68d5f6e6478f$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $b80e68d5f6e6478f$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $b80e68d5f6e6478f$var$debug = function() {};\n$b80e68d5f6e6478f$export$1c9f709888824e05 = $b80e68d5f6e6478f$var$debug; // for test\n\n});\n\n\nparcelRegister(\"4vDZ9\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./proxy-agent.5536f8bd.js\")).then(()=>parcelRequire(\"5IibL\"));\n\n});\n\n\nparcelRegister(\"f85aw\", function(module, exports) {\n\"use strict\";\nvar $b03b9cbf17d8495d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $b03b9cbf17d8495d$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $b03b9cbf17d8495d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $b03b9cbf17d8495d$var$BasicCredentialHandler;\nclass $b03b9cbf17d8495d$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $b03b9cbf17d8495d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $b03b9cbf17d8495d$var$BearerCredentialHandler;\nclass $b03b9cbf17d8495d$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $b03b9cbf17d8495d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $b03b9cbf17d8495d$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRegister(\"1mzjm\", function(module, exports) {\n\"use strict\";\nvar $0fe33c9fab33b83c$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $0fe33c9fab33b83c$var$access, appendFile: $0fe33c9fab33b83c$var$appendFile, writeFile: $0fe33c9fab33b83c$var$writeFile } = $hh2Bt$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $0fe33c9fab33b83c$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $0fe33c9fab33b83c$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $0fe33c9fab33b83c$var$access(pathFromEnv, $hh2Bt$fs.constants.R_OK | $hh2Bt$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $0fe33c9fab33b83c$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $0fe33c9fab33b83c$var$writeFile : $0fe33c9fab33b83c$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $0fe33c9fab33b83c$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($hh2Bt$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $0fe33c9fab33b83c$var$_summary = new $0fe33c9fab33b83c$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $0fe33c9fab33b83c$var$_summary;\nmodule.exports.summary = $0fe33c9fab33b83c$var$_summary;\n\n});\n\nparcelRegister(\"31rWp\", function(module, exports) {\n\"use strict\";\nvar $2337239708560dcc$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $2337239708560dcc$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $2337239708560dcc$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $2337239708560dcc$var$__createBinding(result, mod, k);\n }\n $2337239708560dcc$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $2337239708560dcc$var$path = $2337239708560dcc$var$__importStar($hh2Bt$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $2337239708560dcc$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $2337239708560dcc$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $2337239708560dcc$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $2337239708560dcc$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $2337239708560dcc$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $2337239708560dcc$var$path.sep);\n}\nmodule.exports.toPlatformPath = $2337239708560dcc$var$toPlatformPath;\n\n});\n\n\n\nparcelRegister(\"ftrAD\", function(module, exports) {\nmodule.exports = $b43ef73900290537$var$isexe;\n$b43ef73900290537$var$isexe.sync = $b43ef73900290537$var$sync;\n\nfunction $b43ef73900290537$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $b43ef73900290537$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $b43ef73900290537$var$checkPathExt(path, options);\n}\nfunction $b43ef73900290537$var$isexe(path, options, cb) {\n $hh2Bt$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $b43ef73900290537$var$checkStat(stat, path, options));\n });\n}\nfunction $b43ef73900290537$var$sync(path, options) {\n return $b43ef73900290537$var$checkStat($hh2Bt$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRegister(\"9yF3I\", function(module, exports) {\nmodule.exports = $6f57237f32b1c8cb$var$isexe;\n$6f57237f32b1c8cb$var$isexe.sync = $6f57237f32b1c8cb$var$sync;\n\nfunction $6f57237f32b1c8cb$var$isexe(path, options, cb) {\n $hh2Bt$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $6f57237f32b1c8cb$var$checkStat(stat, options));\n });\n}\nfunction $6f57237f32b1c8cb$var$sync(path, options) {\n return $6f57237f32b1c8cb$var$checkStat($hh2Bt$fs.statSync(path), options);\n}\nfunction $6f57237f32b1c8cb$var$checkStat(stat, options) {\n return stat.isFile() && $6f57237f32b1c8cb$var$checkMode(stat, options);\n}\nfunction $6f57237f32b1c8cb$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRegister(\"bJALw\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRegister(\"6vN83\", function(module, exports) {\n\n$parcel$export(module.exports, \"chmod\", () => $eb066d933f605160$export$fe07cae62e774a05);\n$parcel$export(module.exports, \"lstat\", () => $eb066d933f605160$export$c29f07eab13966a4);\n$parcel$export(module.exports, \"mkdir\", () => $eb066d933f605160$export$d9fa9670717a639d);\n$parcel$export(module.exports, \"open\", () => $eb066d933f605160$export$3ce6949f20cea765);\n$parcel$export(module.exports, \"readdir\", () => $eb066d933f605160$export$b1e07c405f785337);\n$parcel$export(module.exports, \"readFile\", () => $eb066d933f605160$export$72c04af63de9061a);\n$parcel$export(module.exports, \"readlink\", () => $eb066d933f605160$export$3d3ca76659ee9f39);\n$parcel$export(module.exports, \"stat\", () => $eb066d933f605160$export$f82f04a91eb6144a);\n$parcel$export(module.exports, \"symlink\", () => $eb066d933f605160$export$ed42c6f39f07f97);\n$parcel$export(module.exports, \"utimes\", () => $eb066d933f605160$export$d85d919a687a608f);\n$parcel$export(module.exports, \"writeFile\", () => $eb066d933f605160$export$552bfb764b5cd2b4);\n$parcel$export(module.exports, \"rm\", () => $eb066d933f605160$export$a1f77f18af3aebd5);\n\n\nvar $eb066d933f605160$export$2e2bcd8739ae039 = $hh2Bt$fs.promises;\nconst { access: $eb066d933f605160$export$9bb0e144ba4929ca, appendFile: $eb066d933f605160$export$31f54b44f813a103, chmod: $eb066d933f605160$export$fe07cae62e774a05, chown: $eb066d933f605160$export$86560bc0b866a003, copyFile: $eb066d933f605160$export$c763efb2c06e223f, lchmod: $eb066d933f605160$export$4d4374c7ea08c49f, lchown: $eb066d933f605160$export$b34a65c440b523a2, link: $eb066d933f605160$export$9c30223ca0a664fb, lstat: $eb066d933f605160$export$c29f07eab13966a4, mkdir: $eb066d933f605160$export$d9fa9670717a639d, mkdtemp: $eb066d933f605160$export$bb440dc863a3b46a, open: $eb066d933f605160$export$3ce6949f20cea765, readdir: $eb066d933f605160$export$b1e07c405f785337, readFile: $eb066d933f605160$export$72c04af63de9061a, readlink: $eb066d933f605160$export$3d3ca76659ee9f39, realpath: $eb066d933f605160$export$9f2c45015a422c45, rename: $eb066d933f605160$export$7ac989ec0c9c279, rmdir: $eb066d933f605160$export$3f660f6332b9a01d, stat: $eb066d933f605160$export$f82f04a91eb6144a, symlink: $eb066d933f605160$export$ed42c6f39f07f97, truncate: $eb066d933f605160$export$6a506b36fdea397d, unlink: $eb066d933f605160$export$5e0808041271ce04, utimes: $eb066d933f605160$export$d85d919a687a608f, writeFile: $eb066d933f605160$export$552bfb764b5cd2b4 } = $hh2Bt$fs.promises;\nconst $eb066d933f605160$export$a1f77f18af3aebd5 = \"rm\" in $hh2Bt$fs.promises ? $hh2Bt$fs.promises.rm : (0, $hh2Bt$util.promisify)($hh2Bt$fs.unlink);\n\n});\n\nparcelRegister(\"h5DII\", function(module, exports) {\n\"use strict\";\n// eslint-disable-next-line no-empty-function\nmodule.exports = function() {};\n\n});\n\nparcelRegister(\"3PDBf\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var sign = Math.sign;\n if (typeof sign !== \"function\") return false;\n return sign(10) === 1 && sign(-20) === -1;\n};\n\n});\n\nparcelRegister(\"01ud6\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n value = Number(value);\n if (isNaN(value) || value === 0) return value;\n return value > 0 ? 1 : -1;\n};\n\n});\n\nparcelRegister(\"iGjce\", function(module, exports) {\n// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $d99b0a3944779ce7$var$bind = Function.prototype.bind, $d99b0a3944779ce7$var$call = Function.prototype.call, $d99b0a3944779ce7$var$keys = Object.keys, $d99b0a3944779ce7$var$objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;\nmodule.exports = function(method, defVal) {\n return function(obj, cb /*, thisArg, compareFn*/ ) {\n var list, thisArg = arguments[2], compareFn = arguments[3];\n obj = Object($gm8vF(obj));\n $czzoJ(cb);\n list = $d99b0a3944779ce7$var$keys(obj);\n if (compareFn) list.sort(typeof compareFn === \"function\" ? $d99b0a3944779ce7$var$bind.call(compareFn, obj) : undefined);\n if (typeof method !== \"function\") method = list[method];\n return $d99b0a3944779ce7$var$call.call(method, list, function(key, index) {\n if (!$d99b0a3944779ce7$var$objPropertyIsEnumerable.call(obj, key)) return defVal;\n return $d99b0a3944779ce7$var$call.call(cb, thisArg, obj[key], key, obj, index);\n });\n };\n};\n\n});\nparcelRegister(\"czzoJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(fn) {\n if (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n return fn;\n};\n\n});\n\nparcelRegister(\"gm8vF\", function(module, exports) {\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nmodule.exports = function(value) {\n if (!$cJ0vr(value)) throw new TypeError(\"Cannot use null or undefined\");\n return value;\n};\n\n});\nparcelRegister(\"cJ0vr\", function(module, exports) {\n\"use strict\";\n\nvar $943a147ddb4c2074$var$_undefined = (parcelRequire(\"h5DII\"))(); // Support ES3 engines\nmodule.exports = function(val) {\n return val !== $943a147ddb4c2074$var$_undefined && val !== null;\n};\n\n});\n\n\n\nparcelRegister(\"e4Lgg\", function(module, exports) {\n\"use strict\";\n\n});\n\nparcelRegister(\"jyCUJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var assign = Object.assign, obj;\n if (typeof assign !== \"function\") return false;\n obj = {\n foo: \"raz\"\n };\n assign(obj, {\n bar: \"dwa\"\n }, {\n trzy: \"trzy\"\n });\n return obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};\n\n});\n\nparcelRegister(\"1dJjv\", function(module, exports) {\n\"use strict\";\n\nvar $gK5RI = parcelRequire(\"gK5RI\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $0e3a27ad7160f8f4$var$max = Math.max;\nmodule.exports = function(dest, src /*, …srcn*/ ) {\n var error, i, length = $0e3a27ad7160f8f4$var$max(arguments.length, 2), assign;\n dest = Object($gm8vF(dest));\n assign = function(key) {\n try {\n dest[key] = src[key];\n } catch (e) {\n if (!error) error = e;\n }\n };\n for(i = 1; i < length; ++i){\n src = arguments[i];\n $gK5RI(src).forEach(assign);\n }\n if (error !== undefined) throw error;\n return dest;\n};\n\n});\nparcelRegister(\"gK5RI\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"jF45l\"))() ? Object.keys : (parcelRequire(\"4MK4A\"));\n\n});\nparcelRegister(\"jF45l\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n try {\n Object.keys(\"primitive\");\n return true;\n } catch (e) {\n return false;\n }\n};\n\n});\n\nparcelRegister(\"4MK4A\", function(module, exports) {\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $37bf6245ab0b7d00$var$keys = Object.keys;\nmodule.exports = function(object) {\n return $37bf6245ab0b7d00$var$keys($cJ0vr(object) ? Object(object) : object);\n};\n\n});\n\n\n\nparcelRegister(\"1733k\", function(module, exports) {\n\"use strict\";\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $0cf8d01d41e154fd$var$defineProperty = Object.defineProperty, $0cf8d01d41e154fd$var$getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, $0cf8d01d41e154fd$var$getOwnPropertyNames = Object.getOwnPropertyNames, $0cf8d01d41e154fd$var$getOwnPropertySymbols = Object.getOwnPropertySymbols;\nmodule.exports = function(target, source) {\n var error, sourceObject = Object($gm8vF(source));\n target = Object($gm8vF(target));\n $0cf8d01d41e154fd$var$getOwnPropertyNames(sourceObject).forEach(function(name) {\n try {\n $0cf8d01d41e154fd$var$defineProperty(target, name, $0cf8d01d41e154fd$var$getOwnPropertyDescriptor(source, name));\n } catch (e) {\n error = e;\n }\n });\n if (typeof $0cf8d01d41e154fd$var$getOwnPropertySymbols === \"function\") $0cf8d01d41e154fd$var$getOwnPropertySymbols(sourceObject).forEach(function(symbol) {\n try {\n $0cf8d01d41e154fd$var$defineProperty(target, symbol, $0cf8d01d41e154fd$var$getOwnPropertyDescriptor(source, symbol));\n } catch (e) {\n error = e;\n }\n });\n if (error !== undefined) throw error;\n return target;\n};\n\n});\n\nparcelRegister(\"j7soM\", function(module, exports) {\n\"use strict\";\nvar $deb4b3227f00775b$var$str = \"razdwatrzy\";\nmodule.exports = function() {\n if (typeof $deb4b3227f00775b$var$str.contains !== \"function\") return false;\n return $deb4b3227f00775b$var$str.contains(\"dwa\") === true && $deb4b3227f00775b$var$str.contains(\"foo\") === false;\n};\n\n});\n\nparcelRegister(\"78Sfc\", function(module, exports) {\n\"use strict\";\nvar $53335b832e6c44fb$var$indexOf = String.prototype.indexOf;\nmodule.exports = function(searchString /*, position*/ ) {\n return $53335b832e6c44fb$var$indexOf.call(this, searchString, arguments[1]) > -1;\n};\n\n});\n\nparcelRegister(\"9E9rT\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\nvar apply = Function.prototype.apply, call = Function.prototype.call, create = Object.create, defineProperty = Object.defineProperty, defineProperties = Object.defineProperties, hasOwnProperty = Object.prototype.hasOwnProperty, descriptor = {\n configurable: true,\n enumerable: false,\n writable: true\n}, on, once, off, emit, methods, descriptors, base;\non = function(type, listener) {\n var data;\n $czzoJ(listener);\n if (!hasOwnProperty.call(this, \"__ee__\")) {\n data = descriptor.value = create(null);\n defineProperty(this, \"__ee__\", descriptor);\n descriptor.value = null;\n } else data = this.__ee__;\n if (!data[type]) data[type] = listener;\n else if (typeof data[type] === \"object\") data[type].push(listener);\n else data[type] = [\n data[type],\n listener\n ];\n return this;\n};\nonce = function(type, listener) {\n var once, self;\n $czzoJ(listener);\n self = this;\n on.call(this, type, once = function() {\n off.call(self, type, once);\n apply.call(listener, this, arguments);\n });\n once.__eeOnceListener__ = listener;\n return this;\n};\noff = function(type, listener) {\n var data, listeners, candidate, i;\n $czzoJ(listener);\n if (!hasOwnProperty.call(this, \"__ee__\")) return this;\n data = this.__ee__;\n if (!data[type]) return this;\n listeners = data[type];\n if (typeof listeners === \"object\") {\n for(i = 0; candidate = listeners[i]; ++i)if (candidate === listener || candidate.__eeOnceListener__ === listener) {\n if (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n else listeners.splice(i, 1);\n }\n } else if (listeners === listener || listeners.__eeOnceListener__ === listener) delete data[type];\n return this;\n};\nemit = function(type) {\n var i, l, listener, listeners, args;\n if (!hasOwnProperty.call(this, \"__ee__\")) return;\n listeners = this.__ee__[type];\n if (!listeners) return;\n if (typeof listeners === \"object\") {\n l = arguments.length;\n args = new Array(l - 1);\n for(i = 1; i < l; ++i)args[i - 1] = arguments[i];\n listeners = listeners.slice();\n for(i = 0; listener = listeners[i]; ++i)apply.call(listener, this, args);\n } else switch(arguments.length){\n case 1:\n call.call(listeners, this);\n break;\n case 2:\n call.call(listeners, this, arguments[1]);\n break;\n case 3:\n call.call(listeners, this, arguments[1], arguments[2]);\n break;\n default:\n l = arguments.length;\n args = new Array(l - 1);\n for(i = 1; i < l; ++i)args[i - 1] = arguments[i];\n apply.call(listeners, this, args);\n }\n};\nmethods = {\n on: on,\n once: once,\n off: off,\n emit: emit\n};\ndescriptors = {\n on: $9xcfl(on),\n once: $9xcfl(once),\n off: $9xcfl(off),\n emit: $9xcfl(emit)\n};\nbase = defineProperties({}, descriptors);\nmodule.exports = exports = function(o) {\n return o == null ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n\n});\nparcelRegister(\"9xcfl\", function(module, exports) {\n\"use strict\";\n\nvar $6WFxD = parcelRequire(\"6WFxD\");\n\nvar $9ruXB = parcelRequire(\"9ruXB\");\n\nvar $kg6aw = parcelRequire(\"kg6aw\");\n\nvar $cgM1r = parcelRequire(\"cgM1r\");\n\nvar $2ynAk = parcelRequire(\"2ynAk\");\nvar $6f10b207cca0a5ef$var$d = module.exports = function(dscr, value /*, options*/ ) {\n var c, e, w, options, desc;\n if (arguments.length < 2 || typeof dscr !== \"string\") {\n options = value;\n value = dscr;\n dscr = null;\n } else options = arguments[2];\n if ($6WFxD(dscr)) {\n c = $2ynAk.call(dscr, \"c\");\n e = $2ynAk.call(dscr, \"e\");\n w = $2ynAk.call(dscr, \"w\");\n } else {\n c = w = true;\n e = false;\n }\n desc = {\n value: value,\n configurable: c,\n enumerable: e,\n writable: w\n };\n return !options ? desc : $kg6aw($cgM1r(options), desc);\n};\n$6f10b207cca0a5ef$var$d.gs = function(dscr, get, set /*, options*/ ) {\n var c, e, options, desc;\n if (typeof dscr !== \"string\") {\n options = set;\n set = get;\n get = dscr;\n dscr = null;\n } else options = arguments[3];\n if (!$6WFxD(get)) get = undefined;\n else if (!$9ruXB(get)) {\n options = get;\n get = set = undefined;\n } else if (!$6WFxD(set)) set = undefined;\n else if (!$9ruXB(set)) {\n options = set;\n set = undefined;\n }\n if ($6WFxD(dscr)) {\n c = $2ynAk.call(dscr, \"c\");\n e = $2ynAk.call(dscr, \"e\");\n } else {\n c = true;\n e = false;\n }\n desc = {\n get: get,\n set: set,\n configurable: c,\n enumerable: e\n };\n return !options ? desc : $kg6aw($cgM1r(options), desc);\n};\n\n});\nparcelRegister(\"6WFxD\", function(module, exports) {\n\"use strict\";\n// ES3 safe\nvar $50e862242dbb1bc5$var$_undefined = void 0;\nmodule.exports = function(value) {\n return value !== $50e862242dbb1bc5$var$_undefined && value !== null;\n};\n\n});\n\nparcelRegister(\"9ruXB\", function(module, exports) {\n\"use strict\";\n\nvar $ic21Z = parcelRequire(\"ic21Z\");\nvar $6dfea6c35d7604af$var$classRe = /^\\s*class[\\s{/}]/, $6dfea6c35d7604af$var$functionToString = Function.prototype.toString;\nmodule.exports = function(value) {\n if (!$ic21Z(value)) return false;\n if ($6dfea6c35d7604af$var$classRe.test($6dfea6c35d7604af$var$functionToString.call(value))) return false;\n return true;\n};\n\n});\nparcelRegister(\"ic21Z\", function(module, exports) {\n\"use strict\";\n\nvar $jYida = parcelRequire(\"jYida\");\nmodule.exports = function(value) {\n if (typeof value !== \"function\") return false;\n if (!hasOwnProperty.call(value, \"length\")) return false;\n try {\n if (typeof value.length !== \"number\") return false;\n if (typeof value.call !== \"function\") return false;\n if (typeof value.apply !== \"function\") return false;\n } catch (error) {\n return false;\n }\n return !$jYida(value);\n};\n\n});\nparcelRegister(\"jYida\", function(module, exports) {\n\"use strict\";\n\nvar $29Ioz = parcelRequire(\"29Ioz\");\nmodule.exports = function(value) {\n if (!$29Ioz(value)) return false;\n try {\n if (!value.constructor) return false;\n return value.constructor.prototype === value;\n } catch (error) {\n return false;\n }\n};\n\n});\nparcelRegister(\"29Ioz\", function(module, exports) {\n\"use strict\";\n\nvar $6WFxD = parcelRequire(\"6WFxD\");\n// prettier-ignore\nvar $191edbfd968e249f$var$possibleTypes = {\n \"object\": true,\n \"function\": true,\n \"undefined\": true\n};\nmodule.exports = function(value) {\n if (!$6WFxD(value)) return false;\n return hasOwnProperty.call($191edbfd968e249f$var$possibleTypes, typeof value);\n};\n\n});\n\n\n\n\nparcelRegister(\"kg6aw\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"jyCUJ\"))() ? Object.assign : (parcelRequire(\"1dJjv\"));\n\n});\n\nparcelRegister(\"cgM1r\", function(module, exports) {\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $8eec3ae510814b8a$var$forEach = Array.prototype.forEach, $8eec3ae510814b8a$var$create = Object.create;\nvar $8eec3ae510814b8a$var$process = function(src, obj) {\n var key;\n for(key in src)obj[key] = src[key];\n};\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function(opts1 /*, …options*/ ) {\n var result = $8eec3ae510814b8a$var$create(null);\n $8eec3ae510814b8a$var$forEach.call(arguments, function(options) {\n if (!$cJ0vr(options)) return;\n $8eec3ae510814b8a$var$process(Object(options), result);\n });\n return result;\n};\n\n});\n\nparcelRegister(\"2ynAk\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"j7soM\"))() ? String.prototype.contains : (parcelRequire(\"78Sfc\"));\n\n});\n\n\n\nparcelRegister(\"16yrb\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var from = Array.from, arr, result;\n if (typeof from !== \"function\") return false;\n arr = [\n \"raz\",\n \"dwa\"\n ];\n result = from(arr);\n return Boolean(result && result !== arr && result[1] === \"dwa\");\n};\n\n});\n\nparcelRegister(\"76jlv\", function(module, exports) {\n\"use strict\";\n\nvar $7VWWn = parcelRequire(\"7VWWn\");\nvar $52b8199fda83e8fc$require$iteratorSymbol = $7VWWn.iterator;\n\nvar $aRDzb = parcelRequire(\"aRDzb\");\n\nvar $dfN19 = parcelRequire(\"dfN19\");\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\n\nvar $96dkr = parcelRequire(\"96dkr\");\nvar $52b8199fda83e8fc$var$isArray = Array.isArray, $52b8199fda83e8fc$var$call = Function.prototype.call, $52b8199fda83e8fc$var$desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: null\n}, $52b8199fda83e8fc$var$defineProperty = Object.defineProperty;\n// eslint-disable-next-line complexity, max-lines-per-function\nmodule.exports = function(arrayLike /*, mapFn, thisArg*/ ) {\n var mapFn = arguments[1], thisArg = arguments[2], Context, i, j, arr, length, code, iterator, result, getIterator, value;\n arrayLike = Object($gm8vF(arrayLike));\n if ($cJ0vr(mapFn)) $czzoJ(mapFn);\n if (!this || this === Array || !$dfN19(this)) {\n // Result: Plain array\n if (!mapFn) {\n if ($aRDzb(arrayLike)) {\n // Source: Arguments\n length = arrayLike.length;\n if (length !== 1) return Array.apply(null, arrayLike);\n arr = new Array(1);\n arr[0] = arrayLike[0];\n return arr;\n }\n if ($52b8199fda83e8fc$var$isArray(arrayLike)) {\n // Source: Array\n arr = new Array(length = arrayLike.length);\n for(i = 0; i < length; ++i)arr[i] = arrayLike[i];\n return arr;\n }\n }\n arr = [];\n } else // Result: Non plain array\n Context = this;\n if (!$52b8199fda83e8fc$var$isArray(arrayLike)) {\n if ((getIterator = arrayLike[$52b8199fda83e8fc$require$iteratorSymbol]) !== undefined) {\n // Source: Iterator\n iterator = $czzoJ(getIterator).call(arrayLike);\n if (Context) arr = new Context();\n result = iterator.next();\n i = 0;\n while(!result.done){\n value = mapFn ? $52b8199fda83e8fc$var$call.call(mapFn, thisArg, result.value, i) : result.value;\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = value;\n $52b8199fda83e8fc$var$defineProperty(arr, i, $52b8199fda83e8fc$var$desc);\n } else arr[i] = value;\n result = iterator.next();\n ++i;\n }\n length = i;\n } else if ($96dkr(arrayLike)) {\n // Source: String\n length = arrayLike.length;\n if (Context) arr = new Context();\n for(i = 0, j = 0; i < length; ++i){\n value = arrayLike[i];\n if (i + 1 < length) {\n code = value.charCodeAt(0);\n // eslint-disable-next-line max-depth\n if (code >= 0xd800 && code <= 0xdbff) value += arrayLike[++i];\n }\n value = mapFn ? $52b8199fda83e8fc$var$call.call(mapFn, thisArg, value, j) : value;\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = value;\n $52b8199fda83e8fc$var$defineProperty(arr, j, $52b8199fda83e8fc$var$desc);\n } else arr[j] = value;\n ++j;\n }\n length = j;\n }\n }\n if (length === undefined) {\n // Source: array or array-like\n length = $lFuzu(arrayLike.length);\n if (Context) arr = new Context(length);\n for(i = 0; i < length; ++i){\n value = mapFn ? $52b8199fda83e8fc$var$call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = value;\n $52b8199fda83e8fc$var$defineProperty(arr, i, $52b8199fda83e8fc$var$desc);\n } else arr[i] = value;\n }\n }\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = null;\n arr.length = length;\n }\n return arr;\n};\n\n});\nparcelRegister(\"7VWWn\", function(module, exports) {\n\"use strict\";\n\n\n\nmodule.exports = (parcelRequire(\"jVPv5\"))() ? (parcelRequire(\"cuWno\")).Symbol : (parcelRequire(\"9Pvgk\"));\n\n});\nparcelRegister(\"jVPv5\", function(module, exports) {\n\"use strict\";\n\nvar $cuWno = parcelRequire(\"cuWno\");\nvar $e82b4a1f90a382ca$var$validTypes = {\n object: true,\n symbol: true\n};\nmodule.exports = function() {\n var Symbol = $cuWno.Symbol;\n var symbol;\n if (typeof Symbol !== \"function\") return false;\n symbol = Symbol(\"test symbol\");\n try {\n String(symbol);\n } catch (e) {\n return false;\n }\n // Return 'true' also for polyfills\n if (!$e82b4a1f90a382ca$var$validTypes[typeof Symbol.iterator]) return false;\n if (!$e82b4a1f90a382ca$var$validTypes[typeof Symbol.toPrimitive]) return false;\n if (!$e82b4a1f90a382ca$var$validTypes[typeof Symbol.toStringTag]) return false;\n return true;\n};\n\n});\nparcelRegister(\"cuWno\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"jRf15\"))() ? globalThis : (parcelRequire(\"0DgUa\"));\n\n});\nparcelRegister(\"jRf15\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n if (typeof globalThis !== \"object\") return false;\n if (!globalThis) return false;\n return globalThis.Array === Array;\n};\n\n});\n\nparcelRegister(\"0DgUa\", function(module, exports) {\nvar $001e76bc54e98c25$var$naiveFallback = function() {\n if (typeof self === \"object\" && self) return self;\n if (typeof window === \"object\" && window) return window;\n throw new Error(\"Unable to resolve global `this`\");\n};\nmodule.exports = function() {\n if (this) return this;\n // Unexpected strict mode (may happen if e.g. bundled into ESM module)\n // Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n // In all ES5+ engines global object inherits from Object.prototype\n // (if you approached one that doesn't please report)\n try {\n Object.defineProperty(Object.prototype, \"__global__\", {\n get: function() {\n return this;\n },\n configurable: true\n });\n } catch (error) {\n // Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n return $001e76bc54e98c25$var$naiveFallback();\n }\n try {\n // Safari case (window.__global__ is resolved with global context, but __global__ does not)\n if (!__global__) return $001e76bc54e98c25$var$naiveFallback();\n return __global__;\n } finally{\n delete Object.prototype.__global__;\n }\n}();\n\n});\n\n\n\nparcelRegister(\"9Pvgk\", function(module, exports) {\n// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $i6cH8 = parcelRequire(\"i6cH8\");\n\nvar $cuWno = parcelRequire(\"cuWno\");\nvar $7281208e0e46264a$require$NativeSymbol = $cuWno.Symbol;\n\nvar $cRR41 = parcelRequire(\"cRR41\");\n\nvar $hIvqG = parcelRequire(\"hIvqG\");\n\nvar $6Fh4Q = parcelRequire(\"6Fh4Q\");\nvar $7281208e0e46264a$var$create = Object.create, $7281208e0e46264a$var$defineProperties = Object.defineProperties, $7281208e0e46264a$var$defineProperty = Object.defineProperty;\nvar $7281208e0e46264a$var$SymbolPolyfill, $7281208e0e46264a$var$HiddenSymbol, $7281208e0e46264a$var$isNativeSafe;\nif (typeof $7281208e0e46264a$require$NativeSymbol === \"function\") try {\n String($7281208e0e46264a$require$NativeSymbol());\n $7281208e0e46264a$var$isNativeSafe = true;\n} catch (ignore) {}\nelse $7281208e0e46264a$require$NativeSymbol = null;\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\n$7281208e0e46264a$var$HiddenSymbol = function Symbol(description) {\n if (this instanceof $7281208e0e46264a$var$HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n return $7281208e0e46264a$var$SymbolPolyfill(description);\n};\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = $7281208e0e46264a$var$SymbolPolyfill = function Symbol(description) {\n var symbol;\n if (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n if ($7281208e0e46264a$var$isNativeSafe) return $7281208e0e46264a$require$NativeSymbol(description);\n symbol = $7281208e0e46264a$var$create($7281208e0e46264a$var$HiddenSymbol.prototype);\n description = description === undefined ? \"\" : String(description);\n return $7281208e0e46264a$var$defineProperties(symbol, {\n __description__: $9xcfl(\"\", description),\n __name__: $9xcfl(\"\", $cRR41(description))\n });\n};\n$hIvqG($7281208e0e46264a$var$SymbolPolyfill);\n$6Fh4Q($7281208e0e46264a$var$SymbolPolyfill);\n// Internal tweaks for real symbol producer\n$7281208e0e46264a$var$defineProperties($7281208e0e46264a$var$HiddenSymbol.prototype, {\n constructor: $9xcfl($7281208e0e46264a$var$SymbolPolyfill),\n toString: $9xcfl(\"\", function() {\n return this.__name__;\n })\n});\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\n$7281208e0e46264a$var$defineProperties($7281208e0e46264a$var$SymbolPolyfill.prototype, {\n toString: $9xcfl(function() {\n return \"Symbol (\" + $i6cH8(this).__description__ + \")\";\n }),\n valueOf: $9xcfl(function() {\n return $i6cH8(this);\n })\n});\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$SymbolPolyfill.prototype, $7281208e0e46264a$var$SymbolPolyfill.toPrimitive, $9xcfl(\"\", function() {\n var symbol = $i6cH8(this);\n if (typeof symbol === \"symbol\") return symbol;\n return symbol.toString();\n}));\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$SymbolPolyfill.prototype, $7281208e0e46264a$var$SymbolPolyfill.toStringTag, $9xcfl(\"c\", \"Symbol\"));\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$HiddenSymbol.prototype, $7281208e0e46264a$var$SymbolPolyfill.toStringTag, $9xcfl(\"c\", $7281208e0e46264a$var$SymbolPolyfill.prototype[$7281208e0e46264a$var$SymbolPolyfill.toStringTag]));\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$HiddenSymbol.prototype, $7281208e0e46264a$var$SymbolPolyfill.toPrimitive, $9xcfl(\"c\", $7281208e0e46264a$var$SymbolPolyfill.prototype[$7281208e0e46264a$var$SymbolPolyfill.toPrimitive]));\n\n});\nparcelRegister(\"i6cH8\", function(module, exports) {\n\"use strict\";\n\nvar $jKzLn = parcelRequire(\"jKzLn\");\nmodule.exports = function(value) {\n if (!$jKzLn(value)) throw new TypeError(value + \" is not a symbol\");\n return value;\n};\n\n});\nparcelRegister(\"jKzLn\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n if (!value) return false;\n if (typeof value === \"symbol\") return true;\n if (!value.constructor) return false;\n if (value.constructor.name !== \"Symbol\") return false;\n return value[value.constructor.toStringTag] === \"Symbol\";\n};\n\n});\n\n\nparcelRegister(\"cRR41\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\nvar $95e398a356a19cc3$var$create = Object.create, $95e398a356a19cc3$var$defineProperty = Object.defineProperty, $95e398a356a19cc3$var$objPrototype = Object.prototype;\nvar $95e398a356a19cc3$var$created = $95e398a356a19cc3$var$create(null);\nmodule.exports = function(desc) {\n var postfix = 0, name, ie11BugWorkaround;\n while($95e398a356a19cc3$var$created[desc + (postfix || \"\")])++postfix;\n desc += postfix || \"\";\n $95e398a356a19cc3$var$created[desc] = true;\n name = \"@@\" + desc;\n $95e398a356a19cc3$var$defineProperty($95e398a356a19cc3$var$objPrototype, name, $9xcfl.gs(null, function(value) {\n // For IE11 issue see:\n // https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n // ie11-broken-getters-on-dom-objects\n // https://github.com/medikoo/es6-symbol/issues/12\n if (ie11BugWorkaround) return;\n ie11BugWorkaround = true;\n $95e398a356a19cc3$var$defineProperty(this, name, $9xcfl(value));\n ie11BugWorkaround = false;\n }));\n return name;\n};\n\n});\n\nparcelRegister(\"hIvqG\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $cuWno = parcelRequire(\"cuWno\");\nvar $ce5eecf05dede3e2$require$NativeSymbol = $cuWno.Symbol;\nmodule.exports = function(SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n // To ensure proper interoperability with other native functions (e.g. Array.from)\n // fallback to eventual native implementation of given symbol\n hasInstance: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.hasInstance || SymbolPolyfill(\"hasInstance\")),\n isConcatSpreadable: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.isConcatSpreadable || SymbolPolyfill(\"isConcatSpreadable\")),\n iterator: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.iterator || SymbolPolyfill(\"iterator\")),\n match: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.match || SymbolPolyfill(\"match\")),\n replace: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.replace || SymbolPolyfill(\"replace\")),\n search: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.search || SymbolPolyfill(\"search\")),\n species: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.species || SymbolPolyfill(\"species\")),\n split: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.split || SymbolPolyfill(\"split\")),\n toPrimitive: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.toPrimitive || SymbolPolyfill(\"toPrimitive\")),\n toStringTag: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.toStringTag || SymbolPolyfill(\"toStringTag\")),\n unscopables: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.unscopables || SymbolPolyfill(\"unscopables\"))\n });\n};\n\n});\n\nparcelRegister(\"6Fh4Q\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $i6cH8 = parcelRequire(\"i6cH8\");\nvar $4da3d192d1a33203$var$registry = Object.create(null);\nmodule.exports = function(SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n for: $9xcfl(function(key) {\n if ($4da3d192d1a33203$var$registry[key]) return $4da3d192d1a33203$var$registry[key];\n return $4da3d192d1a33203$var$registry[key] = SymbolPolyfill(String(key));\n }),\n keyFor: $9xcfl(function(symbol) {\n var key;\n $i6cH8(symbol);\n for(key in $4da3d192d1a33203$var$registry){\n if ($4da3d192d1a33203$var$registry[key] === symbol) return key;\n }\n return undefined;\n })\n });\n};\n\n});\n\n\n\nparcelRegister(\"aRDzb\", function(module, exports) {\n\"use strict\";\nvar $7e8d8bae0edd28fb$var$objToString = Object.prototype.toString, $7e8d8bae0edd28fb$var$id = $7e8d8bae0edd28fb$var$objToString.call(function() {\n return arguments;\n}());\nmodule.exports = function(value) {\n return $7e8d8bae0edd28fb$var$objToString.call(value) === $7e8d8bae0edd28fb$var$id;\n};\n\n});\n\nparcelRegister(\"dfN19\", function(module, exports) {\n\"use strict\";\nvar $9a62b2f50273b006$var$objToString = Object.prototype.toString, $9a62b2f50273b006$var$isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);\nmodule.exports = function(value) {\n return typeof value === \"function\" && $9a62b2f50273b006$var$isFunctionStringTag($9a62b2f50273b006$var$objToString.call(value));\n};\n\n});\n\nparcelRegister(\"lFuzu\", function(module, exports) {\n\"use strict\";\n\nvar $5c2FR = parcelRequire(\"5c2FR\");\nvar $fc6524276037fd96$var$max = Math.max;\nmodule.exports = function(value) {\n return $fc6524276037fd96$var$max(0, $5c2FR(value));\n};\n\n});\nparcelRegister(\"5c2FR\", function(module, exports) {\n\"use strict\";\n\nvar $k2sGI = parcelRequire(\"k2sGI\");\nvar $3c8025c3af25ffef$var$abs = Math.abs, $3c8025c3af25ffef$var$floor = Math.floor;\nmodule.exports = function(value) {\n if (isNaN(value)) return 0;\n value = Number(value);\n if (value === 0 || !isFinite(value)) return value;\n return $k2sGI(value) * $3c8025c3af25ffef$var$floor($3c8025c3af25ffef$var$abs(value));\n};\n\n});\nparcelRegister(\"k2sGI\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"3PDBf\"))() ? Math.sign : (parcelRequire(\"01ud6\"));\n\n});\n\n\n\nparcelRegister(\"96dkr\", function(module, exports) {\n\"use strict\";\nvar $69ff0362d4afad31$var$objToString = Object.prototype.toString, $69ff0362d4afad31$var$id = $69ff0362d4afad31$var$objToString.call(\"\");\nmodule.exports = function(value) {\n return typeof value === \"string\" || value && typeof value === \"object\" && (value instanceof String || $69ff0362d4afad31$var$objToString.call(value) === $69ff0362d4afad31$var$id) || false;\n};\n\n});\n\n\nparcelRegister(\"2aBcN\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(args) {\n var id, i, length = args.length;\n if (!length) return \"\\x02\";\n id = String(args[i = 0]);\n while(--length)id += \"\\x01\" + args[++i];\n return id;\n};\n\n});\n\nparcelRegister(\"hAul9\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(length) {\n if (!length) return function() {\n return \"\";\n };\n return function(args) {\n var id = String(args[0]), i = 0, currentLength = length;\n while(--currentLength)id += \"\\x01\" + args[++i];\n return id;\n };\n};\n\n});\n\nparcelRegister(\"7BD8r\", function(module, exports) {\n/* eslint max-statements: 0 */ \"use strict\";\n\nvar $dlgZx = parcelRequire(\"dlgZx\");\nvar $589a58844417ebf7$var$create = Object.create;\nmodule.exports = function() {\n var lastId = 0, map = [], cache = $589a58844417ebf7$var$create(null);\n return {\n get: function(args) {\n var index = 0, set = map, i, length = args.length;\n if (length === 0) return set[length] || null;\n if (set = set[length]) {\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n return set[1][i] || null;\n }\n return null;\n },\n set: function(args) {\n var index = 0, set = map, i, length = args.length;\n if (length === 0) set[length] = ++lastId;\n else {\n if (!set[length]) set[length] = [\n [],\n []\n ];\n set = set[length];\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) {\n i = set[0].push(args[index]) - 1;\n set[1].push([\n [],\n []\n ]);\n }\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) i = set[0].push(args[index]) - 1;\n set[1][i] = ++lastId;\n }\n cache[lastId] = args;\n return lastId;\n },\n delete: function(id) {\n var index = 0, set = map, i, args = cache[id], length = args.length, path = [];\n if (length === 0) delete set[length];\n else if (set = set[length]) {\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n path.push(set, i);\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n id = set[1][i];\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n while(!set[0].length && path.length){\n i = path.pop();\n set = path.pop();\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n }\n }\n delete cache[id];\n },\n clear: function() {\n map = [];\n cache = $589a58844417ebf7$var$create(null);\n }\n };\n};\n\n});\nparcelRegister(\"dlgZx\", function(module, exports) {\n\"use strict\";\n\nvar $3Fikq = parcelRequire(\"3Fikq\");\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $9b6a6ab75478356d$var$indexOf = Array.prototype.indexOf, $9b6a6ab75478356d$var$objHasOwnProperty = Object.prototype.hasOwnProperty, $9b6a6ab75478356d$var$abs = Math.abs, $9b6a6ab75478356d$var$floor = Math.floor;\nmodule.exports = function(searchElement /*, fromIndex*/ ) {\n var i, length, fromIndex, val;\n if (!$3Fikq(searchElement)) return $9b6a6ab75478356d$var$indexOf.apply(this, arguments);\n length = $lFuzu($gm8vF(this).length);\n fromIndex = arguments[1];\n if (isNaN(fromIndex)) fromIndex = 0;\n else if (fromIndex >= 0) fromIndex = $9b6a6ab75478356d$var$floor(fromIndex);\n else fromIndex = $lFuzu(this.length) - $9b6a6ab75478356d$var$floor($9b6a6ab75478356d$var$abs(fromIndex));\n for(i = fromIndex; i < length; ++i)if ($9b6a6ab75478356d$var$objHasOwnProperty.call(this, i)) {\n val = this[i];\n if ($3Fikq(val)) return i; // Jslint: ignore\n }\n return -1;\n};\n\n});\nparcelRegister(\"3Fikq\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"e4HH5\"))() ? Number.isNaN : (parcelRequire(\"d2BiD\"));\n\n});\nparcelRegister(\"e4HH5\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var numberIsNaN = Number.isNaN;\n if (typeof numberIsNaN !== \"function\") return false;\n return !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);\n};\n\n});\n\nparcelRegister(\"d2BiD\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n // eslint-disable-next-line no-self-compare\n return value !== value;\n};\n\n});\n\n\n\n\nparcelRegister(\"61N6r\", function(module, exports) {\n\"use strict\";\n\nvar $dlgZx = parcelRequire(\"dlgZx\");\nmodule.exports = function() {\n var lastId = 0, argsMap = [], cache = [];\n return {\n get: function(args) {\n var index = $dlgZx.call(argsMap, args[0]);\n return index === -1 ? null : cache[index];\n },\n set: function(args) {\n argsMap.push(args[0]);\n cache.push(++lastId);\n return lastId;\n },\n delete: function(id) {\n var index = $dlgZx.call(cache, id);\n if (index !== -1) {\n argsMap.splice(index, 1);\n cache.splice(index, 1);\n }\n },\n clear: function() {\n argsMap = [];\n cache = [];\n }\n };\n};\n\n});\n\nparcelRegister(\"hqtiJ\", function(module, exports) {\n\"use strict\";\n\nvar $dlgZx = parcelRequire(\"dlgZx\");\nvar $cafb97f94e00f4c5$var$create = Object.create;\nmodule.exports = function(length) {\n var lastId = 0, map = [\n [],\n []\n ], cache = $cafb97f94e00f4c5$var$create(null);\n return {\n get: function(args) {\n var index = 0, set = map, i;\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n return set[1][i] || null;\n },\n set: function(args) {\n var index = 0, set = map, i;\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) {\n i = set[0].push(args[index]) - 1;\n set[1].push([\n [],\n []\n ]);\n }\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) i = set[0].push(args[index]) - 1;\n set[1][i] = ++lastId;\n cache[lastId] = args;\n return lastId;\n },\n delete: function(id) {\n var index = 0, set = map, i, path = [], args = cache[id];\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n path.push(set, i);\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n id = set[1][i];\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n while(!set[0].length && path.length){\n i = path.pop();\n set = path.pop();\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n }\n delete cache[id];\n },\n clear: function() {\n map = [\n [],\n []\n ];\n cache = $cafb97f94e00f4c5$var$create(null);\n }\n };\n};\n\n});\n\nparcelRegister(\"a24EK\", function(module, exports) {\n/* eslint consistent-this: 0, no-shadow:0, no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */ // Support for asynchronous functions\n\"use strict\";\n\nvar $lCzSe = parcelRequire(\"lCzSe\");\n\nvar $5LmI7 = parcelRequire(\"5LmI7\");\n\nvar $1733k = parcelRequire(\"1733k\");\n\nvar $2c0jI = parcelRequire(\"2c0jI\");\n\nvar $aDo18 = parcelRequire(\"aDo18\");\nvar $74ddb3eaa27c1eb8$var$slice = Array.prototype.slice, $74ddb3eaa27c1eb8$var$apply = Function.prototype.apply, $74ddb3eaa27c1eb8$var$create = Object.create;\n\n(parcelRequire(\"e4Lgg\")).async = function(tbi, conf) {\n var waiting = $74ddb3eaa27c1eb8$var$create(null), cache = $74ddb3eaa27c1eb8$var$create(null), base = conf.memoized, original = conf.original, currentCallback, currentContext, currentArgs;\n // Initial\n conf.memoized = $2c0jI(function(arg) {\n var args = arguments, last = args[args.length - 1];\n if (typeof last === \"function\") {\n currentCallback = last;\n args = $74ddb3eaa27c1eb8$var$slice.call(args, 0, -1);\n }\n return base.apply(currentContext = this, currentArgs = args);\n }, base);\n try {\n $1733k(conf.memoized, base);\n } catch (ignore) {}\n // From cache (sync)\n conf.on(\"get\", function(id) {\n var cb, context, args;\n if (!currentCallback) return;\n // Unresolved\n if (waiting[id]) {\n if (typeof waiting[id] === \"function\") waiting[id] = [\n waiting[id],\n currentCallback\n ];\n else waiting[id].push(currentCallback);\n currentCallback = null;\n return;\n }\n // Resolved, assure next tick invocation\n cb = currentCallback;\n context = currentContext;\n args = currentArgs;\n currentCallback = currentContext = currentArgs = null;\n $aDo18(function() {\n var data;\n if (hasOwnProperty.call(cache, id)) {\n data = cache[id];\n conf.emit(\"getasync\", id, args, context);\n $74ddb3eaa27c1eb8$var$apply.call(cb, data.context, data.args);\n } else {\n // Purged in a meantime, we shouldn't rely on cached value, recall\n currentCallback = cb;\n currentContext = context;\n currentArgs = args;\n base.apply(context, args);\n }\n });\n });\n // Not from cache\n conf.original = function() {\n var args, cb, origCb, result;\n if (!currentCallback) return $74ddb3eaa27c1eb8$var$apply.call(original, this, arguments);\n args = $lCzSe(arguments);\n cb = function self(err) {\n var cb, args, id = self.id;\n if (id == null) {\n // Shouldn't happen, means async callback was called sync way\n $aDo18($74ddb3eaa27c1eb8$var$apply.bind(self, this, arguments));\n return undefined;\n }\n delete self.id;\n cb = waiting[id];\n delete waiting[id];\n if (!cb) // Already processed,\n // outcome of race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n return undefined;\n args = $lCzSe(arguments);\n if (conf.has(id)) {\n if (err) conf.delete(id);\n else {\n cache[id] = {\n context: this,\n args: args\n };\n conf.emit(\"setasync\", id, typeof cb === \"function\" ? 1 : cb.length);\n }\n }\n if (typeof cb === \"function\") result = $74ddb3eaa27c1eb8$var$apply.call(cb, this, args);\n else cb.forEach(function(cb) {\n result = $74ddb3eaa27c1eb8$var$apply.call(cb, this, args);\n }, this);\n return result;\n };\n origCb = currentCallback;\n currentCallback = currentContext = currentArgs = null;\n args.push(cb);\n result = $74ddb3eaa27c1eb8$var$apply.call(original, this, args);\n cb.cb = origCb;\n currentCallback = cb;\n return result;\n };\n // After not from cache call\n conf.on(\"set\", function(id) {\n if (!currentCallback) {\n conf.delete(id);\n return;\n }\n if (waiting[id]) {\n // Race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n if (typeof waiting[id] === \"function\") waiting[id] = [\n waiting[id],\n currentCallback.cb\n ];\n else waiting[id].push(currentCallback.cb);\n } else waiting[id] = currentCallback.cb;\n delete currentCallback.cb;\n currentCallback.id = id;\n currentCallback = null;\n });\n // On delete\n conf.on(\"delete\", function(id) {\n var result;\n // If false, we don't have value yet, so we assume that intention is not\n // to memoize this call. After value is obtained we don't cache it but\n // gracefully pass to callback\n if (hasOwnProperty.call(waiting, id)) return;\n if (!cache[id]) return;\n result = cache[id];\n delete cache[id];\n conf.emit(\"deleteasync\", id, $74ddb3eaa27c1eb8$var$slice.call(result.args, 1));\n });\n // On clear\n conf.on(\"clear\", function() {\n var oldCache = cache;\n cache = $74ddb3eaa27c1eb8$var$create(null);\n conf.emit(\"clearasync\", $5LmI7(oldCache, function(data) {\n return $74ddb3eaa27c1eb8$var$slice.call(data.args, 1);\n }));\n });\n};\n\n});\nparcelRegister(\"lCzSe\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"16yrb\"))() ? Array.from : (parcelRequire(\"76jlv\"));\n\n});\n\nparcelRegister(\"5LmI7\", function(module, exports) {\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\nvar $4322f56461ca3671$var$call = Function.prototype.call;\nmodule.exports = function(obj, cb /*, thisArg*/ ) {\n var result = {}, thisArg = arguments[2];\n $czzoJ(cb);\n $8KFbm(obj, function(value, key, targetObj, index) {\n result[key] = $4322f56461ca3671$var$call.call(cb, thisArg, value, key, targetObj, index);\n });\n return result;\n};\n\n});\nparcelRegister(\"8KFbm\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"iGjce\"))(\"forEach\");\n\n});\n\n\nparcelRegister(\"2c0jI\", function(module, exports) {\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\nvar $198cf2b2acd3bca6$var$test = function(arg1, arg2) {\n return arg2;\n};\nvar $198cf2b2acd3bca6$var$desc, $198cf2b2acd3bca6$var$defineProperty, $198cf2b2acd3bca6$var$generate, $198cf2b2acd3bca6$var$mixin;\ntry {\n Object.defineProperty($198cf2b2acd3bca6$var$test, \"length\", {\n configurable: true,\n writable: false,\n enumerable: false,\n value: 1\n });\n} catch (ignore) {}\n\nif ($198cf2b2acd3bca6$var$test.length === 1) {\n // ES6\n $198cf2b2acd3bca6$var$desc = {\n configurable: true,\n writable: false,\n enumerable: false\n };\n $198cf2b2acd3bca6$var$defineProperty = Object.defineProperty;\n module.exports = function(fn, length) {\n length = $lFuzu(length);\n if (fn.length === length) return fn;\n $198cf2b2acd3bca6$var$desc.value = length;\n return $198cf2b2acd3bca6$var$defineProperty(fn, \"length\", $198cf2b2acd3bca6$var$desc);\n };\n} else {\n $198cf2b2acd3bca6$var$mixin = (parcelRequire(\"1733k\"));\n $198cf2b2acd3bca6$var$generate = function() {\n var cache = [];\n return function(length) {\n var args, i = 0;\n if (cache[length]) return cache[length];\n args = [];\n while(length--)args.push(\"a\" + (++i).toString(36));\n // eslint-disable-next-line no-new-func\n return new Function(\"fn\", \"return function (\" + args.join(\", \") + \") { return fn.apply(this, arguments); };\");\n };\n }();\n module.exports = function(src, length) {\n var target;\n length = $lFuzu(length);\n if (src.length === length) return src;\n target = $198cf2b2acd3bca6$var$generate(length)(src);\n try {\n $198cf2b2acd3bca6$var$mixin(target, src);\n } catch (ignore) {}\n return target;\n };\n}\n\n});\n\nparcelRegister(\"aDo18\", function(module, exports) {\n\"use strict\";\nvar $7be02d3ac8a37e49$var$ensureCallable = function(fn) {\n if (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n return fn;\n};\nvar $7be02d3ac8a37e49$var$byObserver = function(Observer) {\n var node = document.createTextNode(\"\"), queue, currentQueue, i = 0;\n new Observer(function() {\n var callback;\n if (!queue) {\n if (!currentQueue) return;\n queue = currentQueue;\n } else if (currentQueue) queue = currentQueue.concat(queue);\n currentQueue = queue;\n queue = null;\n if (typeof currentQueue === \"function\") {\n callback = currentQueue;\n currentQueue = null;\n callback();\n return;\n }\n node.data = i = ++i % 2; // Invoke other batch, to handle leftover callbacks in case of crash\n while(currentQueue){\n callback = currentQueue.shift();\n if (!currentQueue.length) currentQueue = null;\n callback();\n }\n }).observe(node, {\n characterData: true\n });\n return function(fn) {\n $7be02d3ac8a37e49$var$ensureCallable(fn);\n if (queue) {\n if (typeof queue === \"function\") queue = [\n queue,\n fn\n ];\n else queue.push(fn);\n return;\n }\n queue = fn;\n node.data = i = ++i % 2;\n };\n};\nmodule.exports = function() {\n // Node.js\n if (typeof process === \"object\" && process && typeof process.nextTick === \"function\") return process.nextTick;\n // queueMicrotask\n if (typeof queueMicrotask === \"function\") return function(cb) {\n queueMicrotask($7be02d3ac8a37e49$var$ensureCallable(cb));\n };\n // MutationObserver\n if (typeof document === \"object\" && document) {\n if (typeof MutationObserver === \"function\") return $7be02d3ac8a37e49$var$byObserver(MutationObserver);\n if (typeof WebKitMutationObserver === \"function\") return $7be02d3ac8a37e49$var$byObserver(WebKitMutationObserver);\n }\n // W3C Draft\n // http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n if (typeof setImmediate === \"function\") return function(cb) {\n setImmediate($7be02d3ac8a37e49$var$ensureCallable(cb));\n };\n // Wide available standard\n if (typeof setTimeout === \"function\" || typeof setTimeout === \"object\") return function(cb) {\n setTimeout($7be02d3ac8a37e49$var$ensureCallable(cb), 0);\n };\n return null;\n}();\n\n});\n\n\nparcelRegister(\"kIZkh\", function(module, exports) {\n/* eslint max-statements: 0 */ // Support for functions returning promise\n\"use strict\";\n\nvar $5LmI7 = parcelRequire(\"5LmI7\");\n\nvar $gJDnt = parcelRequire(\"gJDnt\");\n\nvar $8pWpw = parcelRequire(\"8pWpw\");\n\nvar $4kVNP = parcelRequire(\"4kVNP\");\n\nvar $3lsZz = parcelRequire(\"3lsZz\");\n\nvar $aDo18 = parcelRequire(\"aDo18\");\nvar $f1677cc856c6da88$var$create = Object.create, $f1677cc856c6da88$var$supportedModes = $gJDnt(\"then\", \"then:finally\", \"done\", \"done:finally\");\n\n(parcelRequire(\"e4Lgg\")).promise = function(mode, conf) {\n var waiting = $f1677cc856c6da88$var$create(null), cache = $f1677cc856c6da88$var$create(null), promises = $f1677cc856c6da88$var$create(null);\n if (mode === true) mode = null;\n else {\n mode = $8pWpw(mode);\n if (!$f1677cc856c6da88$var$supportedModes[mode]) throw new TypeError(\"'\" + $4kVNP(mode) + \"' is not valid promise mode\");\n }\n // After not from cache call\n conf.on(\"set\", function(id, ignore, promise) {\n var isFailed = false;\n if (!$3lsZz(promise)) {\n // Non promise result\n cache[id] = promise;\n conf.emit(\"setasync\", id, 1);\n return;\n }\n waiting[id] = 1;\n promises[id] = promise;\n var onSuccess = function(result) {\n var count = waiting[id];\n if (isFailed) throw new Error(\"Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\\nConsider to rely on 'then' or 'done' mode instead.\");\n if (!count) return; // Deleted from cache before resolved\n delete waiting[id];\n cache[id] = result;\n conf.emit(\"setasync\", id, count);\n };\n var onFailure = function() {\n isFailed = true;\n if (!waiting[id]) return; // Deleted from cache (or succeed in case of finally)\n delete waiting[id];\n delete promises[id];\n conf.delete(id);\n };\n var resolvedMode = mode;\n if (!resolvedMode) resolvedMode = \"then\";\n if (resolvedMode === \"then\") {\n var nextTickFailure = function() {\n $aDo18(onFailure);\n };\n // Eventual finally needs to be attached to non rejected promise\n // (so we not force propagation of unhandled rejection)\n promise = promise.then(function(result) {\n $aDo18(onSuccess.bind(this, result));\n }, nextTickFailure);\n // If `finally` is a function we attach to it to remove cancelled promises.\n if (typeof promise.finally === \"function\") promise.finally(nextTickFailure);\n } else if (resolvedMode === \"done\") {\n // Not recommended, as it may mute any eventual \"Unhandled error\" events\n if (typeof promise.done !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'done' in 'done' mode\");\n promise.done(onSuccess, onFailure);\n } else if (resolvedMode === \"done:finally\") {\n // The only mode with no side effects assuming library does not throw unconditionally\n // for rejected promises.\n if (typeof promise.done !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode\");\n if (typeof promise.finally !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode\");\n promise.done(onSuccess);\n promise.finally(onFailure);\n }\n });\n // From cache (sync)\n conf.on(\"get\", function(id, args, context) {\n var promise;\n if (waiting[id]) {\n ++waiting[id]; // Still waiting\n return;\n }\n promise = promises[id];\n var emit = function() {\n conf.emit(\"getasync\", id, args, context);\n };\n if ($3lsZz(promise)) {\n if (typeof promise.done === \"function\") promise.done(emit);\n else promise.then(function() {\n $aDo18(emit);\n });\n } else emit();\n });\n // On delete\n conf.on(\"delete\", function(id) {\n delete promises[id];\n if (waiting[id]) {\n delete waiting[id];\n return; // Not yet resolved\n }\n if (!hasOwnProperty.call(cache, id)) return;\n var result = cache[id];\n delete cache[id];\n conf.emit(\"deleteasync\", id, [\n result\n ]);\n });\n // On clear\n conf.on(\"clear\", function() {\n var oldCache = cache;\n cache = $f1677cc856c6da88$var$create(null);\n waiting = $f1677cc856c6da88$var$create(null);\n promises = $f1677cc856c6da88$var$create(null);\n conf.emit(\"clearasync\", $5LmI7(oldCache, function(data) {\n return [\n data\n ];\n }));\n });\n};\n\n});\nparcelRegister(\"gJDnt\", function(module, exports) {\n\"use strict\";\nvar $c2ef64dba275f68e$var$forEach = Array.prototype.forEach, $c2ef64dba275f68e$var$create = Object.create;\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function(arg /*, …args*/ ) {\n var set = $c2ef64dba275f68e$var$create(null);\n $c2ef64dba275f68e$var$forEach.call(arguments, function(name) {\n set[name] = true;\n });\n return set;\n};\n\n});\n\nparcelRegister(\"8pWpw\", function(module, exports) {\n\"use strict\";\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\n\nvar $kAQEJ = parcelRequire(\"kAQEJ\");\nmodule.exports = function(value) {\n return $kAQEJ($gm8vF(value));\n};\n\n});\nparcelRegister(\"kAQEJ\", function(module, exports) {\n\"use strict\";\n\nvar $acEY7 = parcelRequire(\"acEY7\");\nmodule.exports = function(stringifiable) {\n try {\n if (stringifiable && $acEY7(stringifiable.toString)) return stringifiable.toString();\n return String(stringifiable);\n } catch (e) {\n throw new TypeError(\"Passed argument cannot be stringifed\");\n }\n};\n\n});\nparcelRegister(\"acEY7\", function(module, exports) {\n// Deprecated\n\"use strict\";\nmodule.exports = function(obj) {\n return typeof obj === \"function\";\n};\n\n});\n\n\n\nparcelRegister(\"4kVNP\", function(module, exports) {\n\"use strict\";\n\nvar $5uwxY = parcelRequire(\"5uwxY\");\nvar $3285de17b8ab45a0$var$reNewLine = /[\\n\\r\\u2028\\u2029]/g;\nmodule.exports = function(value) {\n var string = $5uwxY(value);\n // Trim if too long\n if (string.length > 100) string = string.slice(0, 99) + \"\\u2026\";\n // Replace eventual new lines\n string = string.replace($3285de17b8ab45a0$var$reNewLine, function(char) {\n return JSON.stringify(char).slice(1, -1);\n });\n return string;\n};\n\n});\nparcelRegister(\"5uwxY\", function(module, exports) {\n\"use strict\";\n\nvar $acEY7 = parcelRequire(\"acEY7\");\nmodule.exports = function(value) {\n try {\n if (value && $acEY7(value.toString)) return value.toString();\n return String(value);\n } catch (e) {\n return \"\";\n }\n};\n\n});\n\n\nparcelRegister(\"3lsZz\", function(module, exports) {\nmodule.exports = $26f9d27e99b30690$var$isPromise;\nmodule.exports.default = $26f9d27e99b30690$var$isPromise;\nfunction $26f9d27e99b30690$var$isPromise(obj) {\n return !!obj && (typeof obj === \"object\" || typeof obj === \"function\") && typeof obj.then === \"function\";\n}\n\n});\n\n\nparcelRegister(\"i7d4K\", function(module, exports) {\n// Call dispose callback on each cache purge\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $d30305fc94c265e7$var$apply = Function.prototype.apply;\n$e4Lgg.dispose = function(dispose, conf, options) {\n var del;\n $czzoJ(dispose);\n if (options.async && $e4Lgg.async || options.promise && $e4Lgg.promise) {\n conf.on(\"deleteasync\", del = function(id, resultArray) {\n $d30305fc94c265e7$var$apply.call(dispose, null, resultArray);\n });\n conf.on(\"clearasync\", function(cache) {\n $8KFbm(cache, function(result, id) {\n del(id, result);\n });\n });\n return;\n }\n conf.on(\"delete\", del = function(id, result) {\n dispose(result);\n });\n conf.on(\"clear\", function(cache) {\n $8KFbm(cache, function(result, id) {\n del(id, result);\n });\n });\n};\n\n});\n\nparcelRegister(\"b1mdU\", function(module, exports) {\n/* eslint consistent-this: 0 */ // Timeout cached values\n\"use strict\";\n\nvar $lCzSe = parcelRequire(\"lCzSe\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\n\nvar $aDo18 = parcelRequire(\"aDo18\");\n\nvar $3lsZz = parcelRequire(\"3lsZz\");\n\nvar $frVfT = parcelRequire(\"frVfT\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $806106c66cef2aa9$var$noop = Function.prototype, $806106c66cef2aa9$var$max = Math.max, $806106c66cef2aa9$var$min = Math.min, $806106c66cef2aa9$var$create = Object.create;\n$e4Lgg.maxAge = function(maxAge, conf, options) {\n var timeouts, postfix, preFetchAge, preFetchTimeouts;\n maxAge = $frVfT(maxAge);\n if (!maxAge) return;\n timeouts = $806106c66cef2aa9$var$create(null);\n postfix = options.async && $e4Lgg.async || options.promise && $e4Lgg.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, function(id) {\n timeouts[id] = setTimeout(function() {\n conf.delete(id);\n }, maxAge);\n if (typeof timeouts[id].unref === \"function\") timeouts[id].unref();\n if (!preFetchTimeouts) return;\n if (preFetchTimeouts[id]) {\n if (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n }\n preFetchTimeouts[id] = setTimeout(function() {\n delete preFetchTimeouts[id];\n }, preFetchAge);\n if (typeof preFetchTimeouts[id].unref === \"function\") preFetchTimeouts[id].unref();\n });\n conf.on(\"delete\" + postfix, function(id) {\n clearTimeout(timeouts[id]);\n delete timeouts[id];\n if (!preFetchTimeouts) return;\n if (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n delete preFetchTimeouts[id];\n });\n if (options.preFetch) {\n if (options.preFetch === true || isNaN(options.preFetch)) preFetchAge = 0.333;\n else preFetchAge = $806106c66cef2aa9$var$max($806106c66cef2aa9$var$min(Number(options.preFetch), 1), 0);\n if (preFetchAge) {\n preFetchTimeouts = {};\n preFetchAge = (1 - preFetchAge) * maxAge;\n conf.on(\"get\" + postfix, function(id, args, context) {\n if (!preFetchTimeouts[id]) {\n preFetchTimeouts[id] = \"nextTick\";\n $aDo18(function() {\n var result;\n if (preFetchTimeouts[id] !== \"nextTick\") return;\n delete preFetchTimeouts[id];\n conf.delete(id);\n if (options.async) {\n args = $lCzSe(args);\n args.push($806106c66cef2aa9$var$noop);\n }\n result = conf.memoized.apply(context, args);\n if (options.promise) // Supress eventual error warnings\n {\n if ($3lsZz(result)) {\n if (typeof result.done === \"function\") result.done($806106c66cef2aa9$var$noop, $806106c66cef2aa9$var$noop);\n else result.then($806106c66cef2aa9$var$noop, $806106c66cef2aa9$var$noop);\n }\n }\n });\n }\n });\n }\n }\n conf.on(\"clear\" + postfix, function() {\n $8KFbm(timeouts, function(id) {\n clearTimeout(id);\n });\n timeouts = {};\n if (preFetchTimeouts) {\n $8KFbm(preFetchTimeouts, function(id) {\n if (id !== \"nextTick\") clearTimeout(id);\n });\n preFetchTimeouts = {};\n }\n });\n};\n\n});\nparcelRegister(\"frVfT\", function(module, exports) {\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $6prMa = parcelRequire(\"6prMa\");\nmodule.exports = function(value) {\n value = $lFuzu(value);\n if (value > $6prMa) throw new TypeError(value + \" exceeds maximum possible timeout\");\n return value;\n};\n\n});\nparcelRegister(\"6prMa\", function(module, exports) {\n\"use strict\";\nmodule.exports = 2147483647;\n\n});\n\n\n\nparcelRegister(\"dZT72\", function(module, exports) {\n// Limit cache size, LRU (least recently used) algorithm.\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $bE3O1 = parcelRequire(\"bE3O1\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\n$e4Lgg.max = function(max, conf, options) {\n var postfix, queue, hit;\n max = $lFuzu(max);\n if (!max) return;\n queue = $bE3O1(max);\n postfix = options.async && $e4Lgg.async || options.promise && $e4Lgg.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, hit = function(id) {\n id = queue.hit(id);\n if (id === undefined) return;\n conf.delete(id);\n });\n conf.on(\"get\" + postfix, hit);\n conf.on(\"delete\" + postfix, queue.delete);\n conf.on(\"clear\" + postfix, queue.clear);\n};\n\n});\nparcelRegister(\"bE3O1\", function(module, exports) {\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\nvar $87a661e44eb2e65c$var$create = Object.create, $87a661e44eb2e65c$var$hasOwnProperty = Object.prototype.hasOwnProperty;\nmodule.exports = function(limit) {\n var size = 0, base = 1, queue = $87a661e44eb2e65c$var$create(null), map = $87a661e44eb2e65c$var$create(null), index = 0, del;\n limit = $lFuzu(limit);\n return {\n hit: function(id) {\n var oldIndex = map[id], nuIndex = ++index;\n queue[nuIndex] = id;\n map[id] = nuIndex;\n if (!oldIndex) {\n ++size;\n if (size <= limit) return;\n id = queue[base];\n del(id);\n return id;\n }\n delete queue[oldIndex];\n if (base !== oldIndex) return;\n while(!$87a661e44eb2e65c$var$hasOwnProperty.call(queue, ++base))continue; //jslint: skip\n },\n delete: del = function(id) {\n var oldIndex = map[id];\n if (!oldIndex) return;\n delete queue[oldIndex];\n delete map[id];\n --size;\n if (base !== oldIndex) return;\n if (!size) {\n index = 0;\n base = 1;\n return;\n }\n while(!$87a661e44eb2e65c$var$hasOwnProperty.call(queue, ++base))continue; //jslint: skip\n },\n clear: function() {\n size = 0;\n base = 1;\n queue = $87a661e44eb2e65c$var$create(null);\n map = $87a661e44eb2e65c$var$create(null);\n index = 0;\n }\n };\n};\n\n});\n\n\nparcelRegister(\"eA2P6\", function(module, exports) {\n// Reference counter, useful for garbage collector like functionality\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $a9d69e201316e5bc$var$create = Object.create, $a9d69e201316e5bc$var$defineProperties = Object.defineProperties;\n$e4Lgg.refCounter = function(ignore, conf, options) {\n var cache, postfix;\n cache = $a9d69e201316e5bc$var$create(null);\n postfix = options.async && $e4Lgg.async || options.promise && $e4Lgg.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, function(id, length) {\n cache[id] = length || 1;\n });\n conf.on(\"get\" + postfix, function(id) {\n ++cache[id];\n });\n conf.on(\"delete\" + postfix, function(id) {\n delete cache[id];\n });\n conf.on(\"clear\" + postfix, function() {\n cache = {};\n });\n $a9d69e201316e5bc$var$defineProperties(conf.memoized, {\n deleteRef: $9xcfl(function() {\n var id = conf.get(arguments);\n if (id === null) return null;\n if (!cache[id]) return null;\n if (!--cache[id]) {\n conf.delete(id);\n return true;\n }\n return false;\n }),\n getRefCount: $9xcfl(function() {\n var id = conf.get(arguments);\n if (id === null) return 0;\n if (!cache[id]) return 0;\n return cache[id];\n })\n });\n};\n\n});\n\nparcelRegister(\"ibhuk\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $d3c6d1e177331bae$export$f8b9fb4db095815b);\n\nasync function $d3c6d1e177331bae$export$f8b9fb4db095815b(path) {\n try {\n await (0, $hh2Bt$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $d3c6d1e177331bae$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($hh2Bt$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRegister(\"sOzdu\", function(module, exports) {\n\"use strict\";\nvar $0569d731d689048c$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($0569d731d689048c$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRegister(\"j5MHF\", function(module, exports) {\n\nvar $de644365a4a5582b$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */ function addLocale(locale, callable) {\n locales[locale] = callable;\n }\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($de644365a4a5582b$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRegister(\"2KdLC\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $5FRs7 = parcelRequire(\"5FRs7\");\n\nvar $3Zbea = parcelRequire(\"3Zbea\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $1ffa8e84445f5119$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $1ffa8e84445f5119$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $1ffa8e84445f5119$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $1ffa8e84445f5119$var$timeDeltaFactory,\n addLocale: $1ffa8e84445f5119$var$addLocale,\n defaultConfig: $1ffa8e84445f5119$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $1ffa8e84445f5119$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $1ffa8e84445f5119$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $1ffa8e84445f5119$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $1ffa8e84445f5119$var$defaultConfig, config || {});\n return {\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $1ffa8e84445f5119$var$format(firstDate, secondDate, options);\n }\n };\n}\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */ function $1ffa8e84445f5119$var$format(firstDate, secondDate, config) {\n $1ffa8e84445f5119$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $1ffa8e84445f5119$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($1ffa8e84445f5119$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\n}\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */ function $1ffa8e84445f5119$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($1ffa8e84445f5119$var$hasLocale(locale)) return;\n if ($3Zbea && autoload) $1ffa8e84445f5119$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $1ffa8e84445f5119$var$hasLocale(localeId) {\n return Boolean($1ffa8e84445f5119$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $1ffa8e84445f5119$var$requireLocale(localeId) {\n try {\n $1ffa8e84445f5119$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`);\n }\n}\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $1ffa8e84445f5119$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $1ffa8e84445f5119$var$timeUnits.some(function(unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\n}\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */ function $1ffa8e84445f5119$var$pluralize(unit, value, config) {\n const unitTypeData = $1ffa8e84445f5119$var$getLocaleDataForUnitType(config);\n const unitString = $5FRs7.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $1ffa8e84445f5119$var$getLocaleDataForUnitType(config) {\n const localeData = $1ffa8e84445f5119$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $1ffa8e84445f5119$var$arrayUnique(lookupOrder);\n let unitTypeData = null;\n lookupOrder.some(function(unitType) {\n if (\"undefined\" !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $1ffa8e84445f5119$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRegister(\"5FRs7\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"j5MHF\"));\n\n});\n\nparcelRegister(\"3Zbea\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRegister(\"51NgG\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $9kOAd = parcelRequire(\"9kOAd\");\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\n\nvar $2owFL = parcelRequire(\"2owFL\");\n\nvar $kBdlj = parcelRequire(\"kBdlj\");\n\nvar $bFSJ9 = parcelRequire(\"bFSJ9\");\n\nvar $bdHiQ = parcelRequire(\"bdHiQ\");\n\nvar $gWZ4x = parcelRequire(\"gWZ4x\");\n\nvar $dLri9 = parcelRequire(\"dLri9\");\n\nvar $2tsX7 = parcelRequire(\"2tsX7\");\n\nvar $3lzLT = parcelRequire(\"3lzLT\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\n\nvar $6LnSq = parcelRequire(\"6LnSq\");\n\nvar $dZkNJ = parcelRequire(\"dZkNJ\");\n\nvar $2Qi5H = parcelRequire(\"2Qi5H\");\n\nvar $fJeYC = parcelRequire(\"fJeYC\");\n\nvar $j1k1X = parcelRequire(\"j1k1X\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\n\nvar $4qy3a = parcelRequire(\"4qy3a\");\n\nvar $3ovyF = parcelRequire(\"3ovyF\");\n\nvar $laDmN = parcelRequire(\"laDmN\");\n\nvar $3cxkY = parcelRequire(\"3cxkY\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\nvar $5kn9j = parcelRequire(\"5kn9j\");\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $cVl8o = parcelRequire(\"cVl8o\");\n\nvar $j0UMd = parcelRequire(\"j0UMd\");\n\nvar $kgJyO = parcelRequire(\"kgJyO\");\n\nvar $k8woQ = parcelRequire(\"k8woQ\");\n\nvar $cQA7W = parcelRequire(\"cQA7W\");\n\nvar $j3dZX = parcelRequire(\"j3dZX\");\n\nvar $bENPT = parcelRequire(\"bENPT\");\n\nvar $iehU8 = parcelRequire(\"iehU8\");\n\nvar $5NOPx = parcelRequire(\"5NOPx\");\n\nvar $fdN0I = parcelRequire(\"fdN0I\");\n\nvar $lxNIV = parcelRequire(\"lxNIV\");\nmodule.exports = {\n parse: $dJ3EL,\n valid: $2owFL,\n clean: $kBdlj,\n inc: $bFSJ9,\n diff: $bdHiQ,\n major: $gWZ4x,\n minor: $dLri9,\n patch: $2tsX7,\n prerelease: $3lzLT,\n compare: $fYuCK,\n rcompare: $6LnSq,\n compareLoose: $dZkNJ,\n compareBuild: $2Qi5H,\n sort: $fJeYC,\n rsort: $j1k1X,\n gt: $ccAMb,\n lt: $4qy3a,\n eq: $3ovyF,\n neq: $laDmN,\n gte: $3cxkY,\n lte: $aTQrN,\n cmp: $5kn9j,\n coerce: $8YrRN,\n Comparator: $fNiVh,\n Range: $gTfXP,\n satisfies: $kPBDZ,\n toComparators: $cVl8o,\n maxSatisfying: $j0UMd,\n minSatisfying: $kgJyO,\n minVersion: $k8woQ,\n validRange: $cQA7W,\n outside: $j3dZX,\n gtr: $bENPT,\n ltr: $iehU8,\n intersects: $5NOPx,\n simplifyRange: $fdN0I,\n subset: $lxNIV,\n SemVer: $8wL3J,\n re: $a4A3m.re,\n src: $a4A3m.src,\n tokens: $a4A3m.t,\n SEMVER_SPEC_VERSION: $gzZHc.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $gzZHc.RELEASE_TYPES,\n compareIdentifiers: $9kOAd.compareIdentifiers,\n rcompareIdentifiers: $9kOAd.rcompareIdentifiers\n};\n\n});\nparcelRegister(\"a4A3m\", function(module, exports) {\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\nvar $75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH = $gzZHc.MAX_SAFE_COMPONENT_LENGTH;\nvar $75563e87d8c66ed8$require$MAX_SAFE_BUILD_LENGTH = $gzZHc.MAX_SAFE_BUILD_LENGTH;\nvar $75563e87d8c66ed8$require$MAX_LENGTH = $gzZHc.MAX_LENGTH;\n\nvar $cg13c = parcelRequire(\"cg13c\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $75563e87d8c66ed8$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $75563e87d8c66ed8$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $cg13c(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCEPLAIN\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH}}))?`);\ncreateToken(\"COERCE\", `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`);\ncreateToken(\"COERCEFULL\", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\ncreateToken(\"COERCERTLFULL\", src[t.COERCEFULL], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRegister(\"gzZHc\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $c11fc5b4bf6aefd3$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $c11fc5b4bf6aefd3$var$MAX_LENGTH = 256;\nconst $c11fc5b4bf6aefd3$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $c11fc5b4bf6aefd3$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $c11fc5b4bf6aefd3$var$MAX_SAFE_BUILD_LENGTH = $c11fc5b4bf6aefd3$var$MAX_LENGTH - 6;\nconst $c11fc5b4bf6aefd3$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $c11fc5b4bf6aefd3$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $c11fc5b4bf6aefd3$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $c11fc5b4bf6aefd3$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $c11fc5b4bf6aefd3$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $c11fc5b4bf6aefd3$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $c11fc5b4bf6aefd3$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRegister(\"cg13c\", function(module, exports) {\nconst $8ec7cb438760e754$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $8ec7cb438760e754$var$debug;\n\n});\n\n\nparcelRegister(\"8wL3J\", function(module, exports) {\n\nvar $cg13c = parcelRequire(\"cg13c\");\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\nvar $6355d0de76fd7611$require$MAX_LENGTH = $gzZHc.MAX_LENGTH;\nvar $6355d0de76fd7611$require$MAX_SAFE_INTEGER = $gzZHc.MAX_SAFE_INTEGER;\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $6355d0de76fd7611$require$re = $a4A3m.safeRe;\nvar $6355d0de76fd7611$require$t = $a4A3m.t;\n\nvar $5bRb1 = parcelRequire(\"5bRb1\");\n\nvar $9kOAd = parcelRequire(\"9kOAd\");\nvar $6355d0de76fd7611$require$compareIdentifiers = $9kOAd.compareIdentifiers;\nclass $6355d0de76fd7611$var$SemVer {\n constructor(version, options){\n options = $5bRb1(options);\n if (version instanceof $6355d0de76fd7611$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $6355d0de76fd7611$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$6355d0de76fd7611$require$MAX_LENGTH} characters`);\n $cg13c(\"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 const m = version.trim().match(options.loose ? $6355d0de76fd7611$require$re[$6355d0de76fd7611$require$t.LOOSE] : $6355d0de76fd7611$require$re[$6355d0de76fd7611$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $6355d0de76fd7611$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $6355d0de76fd7611$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $6355d0de76fd7611$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $6355d0de76fd7611$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $cg13c(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n return $6355d0de76fd7611$require$compareIdentifiers(this.major, other.major) || $6355d0de76fd7611$require$compareIdentifiers(this.minor, other.minor) || $6355d0de76fd7611$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $cg13c(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $6355d0de76fd7611$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $cg13c(\"build compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $6355d0de76fd7611$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($6355d0de76fd7611$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $6355d0de76fd7611$var$SemVer;\n\n});\nparcelRegister(\"5bRb1\", function(module, exports) {\n// parse out just the options we care about\nconst $3c773aa6fc3e101d$var$looseOption = Object.freeze({\n loose: true\n});\nconst $3c773aa6fc3e101d$var$emptyOpts = Object.freeze({});\nconst $3c773aa6fc3e101d$var$parseOptions = (options)=>{\n if (!options) return $3c773aa6fc3e101d$var$emptyOpts;\n if (typeof options !== \"object\") return $3c773aa6fc3e101d$var$looseOption;\n return options;\n};\nmodule.exports = $3c773aa6fc3e101d$var$parseOptions;\n\n});\n\nparcelRegister(\"9kOAd\", function(module, exports) {\nconst $6cbd3815b2d4c829$var$numeric = /^[0-9]+$/;\nconst $6cbd3815b2d4c829$var$compareIdentifiers = (a, b)=>{\n const anum = $6cbd3815b2d4c829$var$numeric.test(a);\n const bnum = $6cbd3815b2d4c829$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $6cbd3815b2d4c829$var$rcompareIdentifiers = (a, b)=>$6cbd3815b2d4c829$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $6cbd3815b2d4c829$var$compareIdentifiers,\n rcompareIdentifiers: $6cbd3815b2d4c829$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRegister(\"dJ3EL\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $9fe2506f40e35154$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $8wL3J) return version;\n try {\n return new $8wL3J(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $9fe2506f40e35154$var$parse;\n\n});\n\nparcelRegister(\"2owFL\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $1be72ac7f3821a7e$var$valid = (version, options)=>{\n const v = $dJ3EL(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $1be72ac7f3821a7e$var$valid;\n\n});\n\nparcelRegister(\"kBdlj\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $eff19ceb1b8cb19c$var$clean = (version, options)=>{\n const s = $dJ3EL(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $eff19ceb1b8cb19c$var$clean;\n\n});\n\nparcelRegister(\"bFSJ9\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $87fdf9bc427562b7$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $8wL3J(version instanceof $8wL3J ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $87fdf9bc427562b7$var$inc;\n\n});\n\nparcelRegister(\"bdHiQ\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $82b27fa8fcdc25b8$var$diff = (version1, version2)=>{\n const v1 = $dJ3EL(version1, null, true);\n const v2 = $dJ3EL(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $82b27fa8fcdc25b8$var$diff;\n\n});\n\nparcelRegister(\"gWZ4x\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $c5716fc379c9f9a6$var$major = (a, loose)=>new $8wL3J(a, loose).major;\nmodule.exports = $c5716fc379c9f9a6$var$major;\n\n});\n\nparcelRegister(\"dLri9\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $a054d5ba97ecb75d$var$minor = (a, loose)=>new $8wL3J(a, loose).minor;\nmodule.exports = $a054d5ba97ecb75d$var$minor;\n\n});\n\nparcelRegister(\"2tsX7\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $1cd4bf8c4ede37e4$var$patch = (a, loose)=>new $8wL3J(a, loose).patch;\nmodule.exports = $1cd4bf8c4ede37e4$var$patch;\n\n});\n\nparcelRegister(\"3lzLT\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $26ff14ba69cda392$var$prerelease = (version, options)=>{\n const parsed = $dJ3EL(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $26ff14ba69cda392$var$prerelease;\n\n});\n\nparcelRegister(\"fYuCK\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $ba1436e59b1ac392$var$compare = (a, b, loose)=>new $8wL3J(a, loose).compare(new $8wL3J(b, loose));\nmodule.exports = $ba1436e59b1ac392$var$compare;\n\n});\n\nparcelRegister(\"6LnSq\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $4ec9a74bbfac3b2c$var$rcompare = (a, b, loose)=>$fYuCK(b, a, loose);\nmodule.exports = $4ec9a74bbfac3b2c$var$rcompare;\n\n});\n\nparcelRegister(\"dZkNJ\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $a2f11b871a52a3c7$var$compareLoose = (a, b)=>$fYuCK(a, b, true);\nmodule.exports = $a2f11b871a52a3c7$var$compareLoose;\n\n});\n\nparcelRegister(\"2Qi5H\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $211e789051d184a0$var$compareBuild = (a, b, loose)=>{\n const versionA = new $8wL3J(a, loose);\n const versionB = new $8wL3J(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $211e789051d184a0$var$compareBuild;\n\n});\n\nparcelRegister(\"fJeYC\", function(module, exports) {\n\nvar $2Qi5H = parcelRequire(\"2Qi5H\");\nconst $b736ad0fa07ff628$var$sort = (list, loose)=>list.sort((a, b)=>$2Qi5H(a, b, loose));\nmodule.exports = $b736ad0fa07ff628$var$sort;\n\n});\n\nparcelRegister(\"j1k1X\", function(module, exports) {\n\nvar $2Qi5H = parcelRequire(\"2Qi5H\");\nconst $dd8da5f67a7b5b89$var$rsort = (list, loose)=>list.sort((a, b)=>$2Qi5H(b, a, loose));\nmodule.exports = $dd8da5f67a7b5b89$var$rsort;\n\n});\n\nparcelRegister(\"ccAMb\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $8e2321fcfdd63890$var$gt = (a, b, loose)=>$fYuCK(a, b, loose) > 0;\nmodule.exports = $8e2321fcfdd63890$var$gt;\n\n});\n\nparcelRegister(\"4qy3a\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $339400ca7780fbdf$var$lt = (a, b, loose)=>$fYuCK(a, b, loose) < 0;\nmodule.exports = $339400ca7780fbdf$var$lt;\n\n});\n\nparcelRegister(\"3ovyF\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $278c17c140a7a6a8$var$eq = (a, b, loose)=>$fYuCK(a, b, loose) === 0;\nmodule.exports = $278c17c140a7a6a8$var$eq;\n\n});\n\nparcelRegister(\"laDmN\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $f699118f713c649a$var$neq = (a, b, loose)=>$fYuCK(a, b, loose) !== 0;\nmodule.exports = $f699118f713c649a$var$neq;\n\n});\n\nparcelRegister(\"3cxkY\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $254c5a28e960c58d$var$gte = (a, b, loose)=>$fYuCK(a, b, loose) >= 0;\nmodule.exports = $254c5a28e960c58d$var$gte;\n\n});\n\nparcelRegister(\"aTQrN\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $7ef7b95c63a51762$var$lte = (a, b, loose)=>$fYuCK(a, b, loose) <= 0;\nmodule.exports = $7ef7b95c63a51762$var$lte;\n\n});\n\nparcelRegister(\"5kn9j\", function(module, exports) {\n\nvar $3ovyF = parcelRequire(\"3ovyF\");\n\nvar $laDmN = parcelRequire(\"laDmN\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\n\nvar $3cxkY = parcelRequire(\"3cxkY\");\n\nvar $4qy3a = parcelRequire(\"4qy3a\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\nconst $3e10c6eececc59ef$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $3ovyF(a, b, loose);\n case \"!=\":\n return $laDmN(a, b, loose);\n case \">\":\n return $ccAMb(a, b, loose);\n case \">=\":\n return $3cxkY(a, b, loose);\n case \"<\":\n return $4qy3a(a, b, loose);\n case \"<=\":\n return $aTQrN(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $3e10c6eececc59ef$var$cmp;\n\n});\n\nparcelRegister(\"8YrRN\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $68898b14e990c184$require$re = $a4A3m.safeRe;\nvar $68898b14e990c184$require$t = $a4A3m.t;\nconst $68898b14e990c184$var$coerce = (version, options)=>{\n if (version instanceof $8wL3J) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match(options.includePrerelease ? $68898b14e990c184$require$re[$68898b14e990c184$require$t.COERCEFULL] : $68898b14e990c184$require$re[$68898b14e990c184$require$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 // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.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 const coerceRtlRegex = options.includePrerelease ? $68898b14e990c184$require$re[$68898b14e990c184$require$t.COERCERTLFULL] : $68898b14e990c184$require$re[$68898b14e990c184$require$t.COERCERTL];\n let next;\n while((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1;\n }\n if (match === null) return null;\n const major = match[2];\n const minor = match[3] || \"0\";\n const patch = match[4] || \"0\";\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : \"\";\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : \"\";\n return $dJ3EL(`${major}.${minor}.${patch}${prerelease}${build}`, options);\n};\nmodule.exports = $68898b14e990c184$var$coerce;\n\n});\n\nparcelRegister(\"fNiVh\", function(module, exports) {\nconst $b7fa1c527a9b604a$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $b7fa1c527a9b604a$var$Comparator {\n static get ANY() {\n return $b7fa1c527a9b604a$var$ANY;\n }\n constructor(comp, options){\n options = $5bRb1(options);\n if (comp instanceof $b7fa1c527a9b604a$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $cg13c(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $b7fa1c527a9b604a$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $cg13c(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $b7fa1c527a9b604a$require$re[$b7fa1c527a9b604a$require$t.COMPARATORLOOSE] : $b7fa1c527a9b604a$require$re[$b7fa1c527a9b604a$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $b7fa1c527a9b604a$var$ANY;\n else this.semver = new $8wL3J(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $cg13c(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $b7fa1c527a9b604a$var$ANY || version === $b7fa1c527a9b604a$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $8wL3J(version, this.options);\n } catch (er) {\n return false;\n }\n return $5kn9j(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $b7fa1c527a9b604a$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $gTfXP(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $gTfXP(this.value, options).test(comp.semver);\n }\n options = $5bRb1(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($5kn9j(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($5kn9j(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $b7fa1c527a9b604a$var$Comparator;\n\nvar $5bRb1 = parcelRequire(\"5bRb1\");\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $b7fa1c527a9b604a$require$re = $a4A3m.safeRe;\nvar $b7fa1c527a9b604a$require$t = $a4A3m.t;\n\nvar $5kn9j = parcelRequire(\"5kn9j\");\n\nvar $cg13c = parcelRequire(\"cg13c\");\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\n});\nparcelRegister(\"gTfXP\", function(module, exports) {\nconst $c4be2a81fa8848e8$var$SPACE_CHARACTERS = /\\s+/g;\n// hoisted class for cyclic dependency\nclass $c4be2a81fa8848e8$var$Range {\n constructor(range, options){\n options = $5bRb1(options);\n if (range instanceof $c4be2a81fa8848e8$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $c4be2a81fa8848e8$var$Range(range.raw, options);\n }\n if (range instanceof $fNiVh) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.formatted = undefined;\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace($c4be2a81fa8848e8$var$SPACE_CHARACTERS, \" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$c4be2a81fa8848e8$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $c4be2a81fa8848e8$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.formatted = undefined;\n }\n get range() {\n if (this.formatted === undefined) {\n this.formatted = \"\";\n for(let i = 0; i < this.set.length; i++){\n if (i > 0) this.formatted += \"||\";\n const comps = this.set[i];\n for(let k = 0; k < comps.length; k++){\n if (k > 0) this.formatted += \" \";\n this.formatted += comps[k].toString().trim();\n }\n }\n }\n return this.formatted;\n }\n format() {\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $c4be2a81fa8848e8$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $c4be2a81fa8848e8$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $c4be2a81fa8848e8$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.HYPHENRANGELOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.HYPHENRANGE];\n range = range.replace(hr, $c4be2a81fa8848e8$var$hyphenReplace(this.options.includePrerelease));\n $cg13c(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.COMPARATORTRIM], $c4be2a81fa8848e8$require$comparatorTrimReplace);\n $cg13c(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.TILDETRIM], $c4be2a81fa8848e8$require$tildeTrimReplace);\n $cg13c(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.CARETTRIM], $c4be2a81fa8848e8$require$caretTrimReplace);\n $cg13c(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$c4be2a81fa8848e8$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$c4be2a81fa8848e8$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $cg13c(\"loose invalid filter\", comp, this.options);\n return !!comp.match($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.COMPARATORLOOSE]);\n });\n $cg13c(\"range list\", rangeList);\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map();\n const comparators = rangeList.map((comp)=>new $fNiVh(comp, this.options));\n for (const comp of comparators){\n if ($c4be2a81fa8848e8$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $c4be2a81fa8848e8$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $c4be2a81fa8848e8$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $c4be2a81fa8848e8$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $c4be2a81fa8848e8$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $8wL3J(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($c4be2a81fa8848e8$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $c4be2a81fa8848e8$var$Range;\n\nvar $3rMGs = parcelRequire(\"3rMGs\");\nconst $c4be2a81fa8848e8$var$cache = new $3rMGs();\n\nvar $5bRb1 = parcelRequire(\"5bRb1\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\n\nvar $cg13c = parcelRequire(\"cg13c\");\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $c4be2a81fa8848e8$require$re = $a4A3m.safeRe;\nvar $c4be2a81fa8848e8$require$t = $a4A3m.t;\nvar $c4be2a81fa8848e8$require$comparatorTrimReplace = $a4A3m.comparatorTrimReplace;\nvar $c4be2a81fa8848e8$require$tildeTrimReplace = $a4A3m.tildeTrimReplace;\nvar $c4be2a81fa8848e8$require$caretTrimReplace = $a4A3m.caretTrimReplace;\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\nvar $c4be2a81fa8848e8$require$FLAG_INCLUDE_PRERELEASE = $gzZHc.FLAG_INCLUDE_PRERELEASE;\nvar $c4be2a81fa8848e8$require$FLAG_LOOSE = $gzZHc.FLAG_LOOSE;\nconst $c4be2a81fa8848e8$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $c4be2a81fa8848e8$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $c4be2a81fa8848e8$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $c4be2a81fa8848e8$var$parseComparator = (comp, options)=>{\n $cg13c(\"comp\", comp, options);\n comp = $c4be2a81fa8848e8$var$replaceCarets(comp, options);\n $cg13c(\"caret\", comp);\n comp = $c4be2a81fa8848e8$var$replaceTildes(comp, options);\n $cg13c(\"tildes\", comp);\n comp = $c4be2a81fa8848e8$var$replaceXRanges(comp, options);\n $cg13c(\"xrange\", comp);\n comp = $c4be2a81fa8848e8$var$replaceStars(comp, options);\n $cg13c(\"stars\", comp);\n return comp;\n};\nconst $c4be2a81fa8848e8$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $c4be2a81fa8848e8$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$c4be2a81fa8848e8$var$replaceTilde(c, options)).join(\" \");\n};\nconst $c4be2a81fa8848e8$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.TILDELOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $cg13c(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($c4be2a81fa8848e8$var$isX(M)) ret = \"\";\n else if ($c4be2a81fa8848e8$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($c4be2a81fa8848e8$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $cg13c(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $cg13c(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $c4be2a81fa8848e8$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$c4be2a81fa8848e8$var$replaceCaret(c, options)).join(\" \");\n};\nconst $c4be2a81fa8848e8$var$replaceCaret = (comp, options)=>{\n $cg13c(\"caret\", comp, options);\n const r = options.loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.CARETLOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $cg13c(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($c4be2a81fa8848e8$var$isX(M)) ret = \"\";\n else if ($c4be2a81fa8848e8$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($c4be2a81fa8848e8$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $cg13c(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $cg13c(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $cg13c(\"caret return\", ret);\n return ret;\n });\n};\nconst $c4be2a81fa8848e8$var$replaceXRanges = (comp, options)=>{\n $cg13c(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$c4be2a81fa8848e8$var$replaceXRange(c, options)).join(\" \");\n};\nconst $c4be2a81fa8848e8$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.XRANGELOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $cg13c(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $c4be2a81fa8848e8$var$isX(M);\n const xm = xM || $c4be2a81fa8848e8$var$isX(m);\n const xp = xm || $c4be2a81fa8848e8$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $cg13c(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $c4be2a81fa8848e8$var$replaceStars = (comp, options)=>{\n $cg13c(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.STAR], \"\");\n};\nconst $c4be2a81fa8848e8$var$replaceGTE0 = (comp, options)=>{\n $cg13c(\"replaceGTE0\", comp, options);\n return comp.trim().replace($c4be2a81fa8848e8$require$re[options.includePrerelease ? $c4be2a81fa8848e8$require$t.GTE0PRE : $c4be2a81fa8848e8$require$t.GTE0], \"\");\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\n// TODO build?\nconst $c4be2a81fa8848e8$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr)=>{\n if ($c4be2a81fa8848e8$var$isX(fM)) from = \"\";\n else if ($c4be2a81fa8848e8$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($c4be2a81fa8848e8$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($c4be2a81fa8848e8$var$isX(tM)) to = \"\";\n else if ($c4be2a81fa8848e8$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($c4be2a81fa8848e8$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $c4be2a81fa8848e8$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $cg13c(set[i].semver);\n if (set[i].semver === $fNiVh.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRegister(\"3rMGs\", function(module, exports) {\nclass $2829a84ab551ac13$var$LRUCache {\n constructor(){\n this.max = 1000;\n this.map = new Map();\n }\n get(key) {\n const value = this.map.get(key);\n if (value === undefined) return undefined;\n else {\n // Remove the key from the map and add it to the end\n this.map.delete(key);\n this.map.set(key, value);\n return value;\n }\n }\n delete(key) {\n return this.map.delete(key);\n }\n set(key, value) {\n const deleted = this.delete(key);\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value;\n this.delete(firstKey);\n }\n this.map.set(key, value);\n }\n return this;\n }\n}\nmodule.exports = $2829a84ab551ac13$var$LRUCache;\n\n});\n\n\n\nparcelRegister(\"kPBDZ\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $03e9e647babae013$var$satisfies = (version, range, options)=>{\n try {\n range = new $gTfXP(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $03e9e647babae013$var$satisfies;\n\n});\n\nparcelRegister(\"cVl8o\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n// Mostly just for testing and legacy API reasons\nconst $968b33bf6070fc17$var$toComparators = (range, options)=>new $gTfXP(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $968b33bf6070fc17$var$toComparators;\n\n});\n\nparcelRegister(\"j0UMd\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $03927c1d4847ca80$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $gTfXP(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $8wL3J(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $03927c1d4847ca80$var$maxSatisfying;\n\n});\n\nparcelRegister(\"kgJyO\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $ec18a49eba12856b$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $gTfXP(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $8wL3J(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $ec18a49eba12856b$var$minSatisfying;\n\n});\n\nparcelRegister(\"k8woQ\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\nconst $ea8dafec24a8c81d$var$minVersion = (range, loose)=>{\n range = new $gTfXP(range, loose);\n let minver = new $8wL3J(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $8wL3J(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $8wL3J(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $ccAMb(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $ccAMb(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $ea8dafec24a8c81d$var$minVersion;\n\n});\n\nparcelRegister(\"cQA7W\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $95a65d6d0b42b5d4$var$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 $gTfXP(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $95a65d6d0b42b5d4$var$validRange;\n\n});\n\nparcelRegister(\"j3dZX\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\nconst { ANY: $dde927ec7f58ac9c$var$ANY } = $fNiVh;\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\n\nvar $4qy3a = parcelRequire(\"4qy3a\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\nvar $3cxkY = parcelRequire(\"3cxkY\");\nconst $dde927ec7f58ac9c$var$outside = (version, range, hilo, options)=>{\n version = new $8wL3J(version, options);\n range = new $gTfXP(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $ccAMb;\n ltefn = $aTQrN;\n ltfn = $4qy3a;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $4qy3a;\n ltefn = $3cxkY;\n ltfn = $ccAMb;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($kPBDZ(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $dde927ec7f58ac9c$var$ANY) comparator = new $fNiVh(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $dde927ec7f58ac9c$var$outside;\n\n});\n\nparcelRegister(\"bENPT\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $j3dZX = parcelRequire(\"j3dZX\");\nconst $87ca168b9dc66ab0$var$gtr = (version, range, options)=>$j3dZX(version, range, \">\", options);\nmodule.exports = $87ca168b9dc66ab0$var$gtr;\n\n});\n\nparcelRegister(\"iehU8\", function(module, exports) {\n\nvar $j3dZX = parcelRequire(\"j3dZX\");\n// Determine if version is less than all the versions possible in the range\nconst $d4576c3e866aa68e$var$ltr = (version, range, options)=>$j3dZX(version, range, \"<\", options);\nmodule.exports = $d4576c3e866aa68e$var$ltr;\n\n});\n\nparcelRegister(\"5NOPx\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $4398f52ade6f2f94$var$intersects = (r1, r2, options)=>{\n r1 = new $gTfXP(r1, options);\n r2 = new $gTfXP(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $4398f52ade6f2f94$var$intersects;\n\n});\n\nparcelRegister(\"fdN0I\", function(module, exports) {\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.\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$fYuCK(a, b, options));\n for (const version of v){\n const included = $kPBDZ(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else 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\n});\n\nparcelRegister(\"lxNIV\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\nconst { ANY: $faf340188c33b5b4$var$ANY } = $fNiVh;\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\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\nconst $faf340188c33b5b4$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $gTfXP(sub, options);\n dom = new $gTfXP(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $faf340188c33b5b4$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) 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) return false;\n }\n return true;\n};\nconst $faf340188c33b5b4$var$minimumVersionWithPreRelease = [\n new $fNiVh(\">=0.0.0-0\")\n];\nconst $faf340188c33b5b4$var$minimumVersion = [\n new $fNiVh(\">=0.0.0\")\n];\nconst $faf340188c33b5b4$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $faf340188c33b5b4$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $faf340188c33b5b4$var$ANY) return true;\n else if (options.includePrerelease) sub = $faf340188c33b5b4$var$minimumVersionWithPreRelease;\n else sub = $faf340188c33b5b4$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $faf340188c33b5b4$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $faf340188c33b5b4$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $faf340188c33b5b4$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $faf340188c33b5b4$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $fYuCK(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$kPBDZ(eq, String(gt), options)) return null;\n if (lt && !$kPBDZ(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$kPBDZ(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $faf340188c33b5b4$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$kPBDZ(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $faf340188c33b5b4$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$kPBDZ(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $faf340188c33b5b4$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $fYuCK(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $faf340188c33b5b4$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $fYuCK(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $faf340188c33b5b4$var$subset;\n\n});\n\n\nparcelRegister(\"drEX5\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $9bce005bcda5fd4c$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $9bce005bcda5fd4c$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $9bce005bcda5fd4c$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $hh2Bt$path.dirname);\n$parcel$export(module.exports, \"join\", () => $hh2Bt$path.join);\n\n\nvar $1ondq = parcelRequire(\"1ondq\");\n\nvar $7BfUa = parcelRequire(\"7BfUa\");\nfunction $9bce005bcda5fd4c$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $9bce005bcda5fd4c$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $9bce005bcda5fd4c$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $hh2Bt$path.basename)(e) : (0, $hh2Bt$path.basename)(e, (0, $hh2Bt$path.extname)(e));\n}\nfunction $9bce005bcda5fd4c$export$873fead74fe2f1ff(e) {\n return (0, $hh2Bt$path.normalize)(e).replace(RegExp((0, $1ondq.default)((0, $hh2Bt$path.sep)) + \"$\"), \"\");\n}\nfunction $9bce005bcda5fd4c$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $9bce005bcda5fd4c$export$3e333f8cb13439c(e, a) {\n const r = (0, $hh2Bt$path.extname)(e), s = `${a}${(0, $hh2Bt$path.basename)(e, r)}${r}`;\n return (0, $hh2Bt$path.join)((0, $hh2Bt$path.dirname)(e), s);\n}\nfunction $9bce005bcda5fd4c$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $hh2Bt$path.extname)(e), s = `${(0, $hh2Bt$path.basename)(e, r)}${a}${r}`;\n return (0, $hh2Bt$path.join)((0, $hh2Bt$path.dirname)(e), s);\n}\nfunction $9bce005bcda5fd4c$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $9bce005bcda5fd4c$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $9bce005bcda5fd4c$export$19c5468f88f6e968(e) {\n const a = (0, $hh2Bt$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $9bce005bcda5fd4c$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($7BfUa)))(e, a);\n}\nfunction $9bce005bcda5fd4c$export$7d0573375890d05c(e, a) {\n const r = (0, $hh2Bt$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $hh2Bt$path.sep)) || r === (0, $hh2Bt$path.resolve)(e));\n}\nvar $9bce005bcda5fd4c$var$O = {}, $9bce005bcda5fd4c$var$R = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$R, \"name\", ()=>$9bce005bcda5fd4c$export$a8ff84c12d48cfa6);\nvar $9bce005bcda5fd4c$var$A = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$A, \"normalizeTrim\", ()=>$9bce005bcda5fd4c$export$873fead74fe2f1ff);\nvar $9bce005bcda5fd4c$var$I = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$I, \"addExeExt\", ()=>$9bce005bcda5fd4c$export$2d20c564cade3c93);\nvar $9bce005bcda5fd4c$var$T = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$T, \"addNamePrefix\", ()=>$9bce005bcda5fd4c$export$3e333f8cb13439c);\nvar $9bce005bcda5fd4c$var$_ = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$_, \"addNameSuffix\", ()=>$9bce005bcda5fd4c$export$3b60a3e9bd1aef9d);\nvar $9bce005bcda5fd4c$var$k = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$k, \"addShExt\", ()=>$9bce005bcda5fd4c$export$609be29b80b555e1);\nvar $9bce005bcda5fd4c$var$M = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$M, \"addShRelativePrefix\", ()=>$9bce005bcda5fd4c$export$e1f23f8d3e53fe6);\nvar $9bce005bcda5fd4c$var$W = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$W, \"removeExt\", ()=>$9bce005bcda5fd4c$export$19c5468f88f6e968);\nvar $9bce005bcda5fd4c$var$q = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$q, \"replaceExt\", ()=>$9bce005bcda5fd4c$export$e9c34737ac8e53d2);\nvar $9bce005bcda5fd4c$var$B = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$B, \"isPathInside\", ()=>$9bce005bcda5fd4c$export$7d0573375890d05c), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$R), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$A), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$I), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$T), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$_), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$k), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$M), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$W), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$q), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$B);\n\n});\nparcelRegister(\"1ondq\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $103a0a72d440efd8$export$2e2bcd8739ae039);\nfunction $103a0a72d440efd8$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRegister(\"7BfUa\", function(module, exports) {\n\"use strict\";\n\nfunction $5888537ee25d980f$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $hh2Bt$path.basename(npath, $hh2Bt$path.extname(npath)) + ext;\n var nFilepath = $hh2Bt$path.join($hh2Bt$path.dirname(npath), nFileName);\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if ($5888537ee25d980f$var$startsWithSingleDot(npath)) return \".\" + $hh2Bt$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $5888537ee25d980f$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $hh2Bt$path.sep || first2chars === \"./\";\n}\nmodule.exports = $5888537ee25d980f$var$replaceExt;\n\n});\n\n\nparcelRegister(\"g9WSN\", function(module, exports) {\n\"use strict\";\nvar $bc3b298123aa10f7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $bc3b298123aa10f7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $bc3b298123aa10f7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $bc3b298123aa10f7$var$__createBinding(result, mod, k);\n }\n $bc3b298123aa10f7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $bc3b298123aa10f7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $bc3b298123aa10f7$var$path = $bc3b298123aa10f7$var$__importStar($hh2Bt$path);\n\nconst $bc3b298123aa10f7$var$ioUtil = $bc3b298123aa10f7$var$__importStar((parcelRequire(\"2qpn6\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $bc3b298123aa10f7$var$cp(source, dest, options = {}) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $bc3b298123aa10f7$var$readCopyOptions(options);\n const destStat = (yield $bc3b298123aa10f7$var$ioUtil.exists(dest)) ? yield $bc3b298123aa10f7$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $bc3b298123aa10f7$var$path.join(dest, $bc3b298123aa10f7$var$path.basename(source)) : dest;\n if (!(yield $bc3b298123aa10f7$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $bc3b298123aa10f7$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $bc3b298123aa10f7$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($bc3b298123aa10f7$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $bc3b298123aa10f7$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $bc3b298123aa10f7$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $bc3b298123aa10f7$var$mv(source, dest, options = {}) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $bc3b298123aa10f7$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $bc3b298123aa10f7$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $bc3b298123aa10f7$var$path.join(dest, $bc3b298123aa10f7$var$path.basename(source));\n destExists = yield $bc3b298123aa10f7$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $bc3b298123aa10f7$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $bc3b298123aa10f7$var$mkdirP($bc3b298123aa10f7$var$path.dirname(dest));\n yield $bc3b298123aa10f7$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $bc3b298123aa10f7$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $bc3b298123aa10f7$var$rmRF(inputPath) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if ($bc3b298123aa10f7$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $bc3b298123aa10f7$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $bc3b298123aa10f7$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $bc3b298123aa10f7$var$mkdirP(fsPath) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n $hh2Bt$assert.ok(fsPath, \"a path argument must be provided\");\n yield $bc3b298123aa10f7$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $bc3b298123aa10f7$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $bc3b298123aa10f7$var$which(tool, check) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $bc3b298123aa10f7$var$which(tool, false);\n if (!result) {\n if ($bc3b298123aa10f7$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $bc3b298123aa10f7$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $bc3b298123aa10f7$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $bc3b298123aa10f7$var$findInPath(tool) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($bc3b298123aa10f7$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($bc3b298123aa10f7$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($bc3b298123aa10f7$var$ioUtil.isRooted(tool)) {\n const filePath = yield $bc3b298123aa10f7$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($bc3b298123aa10f7$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($bc3b298123aa10f7$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $bc3b298123aa10f7$var$ioUtil.tryGetExecutablePath($bc3b298123aa10f7$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $bc3b298123aa10f7$var$findInPath;\nfunction $bc3b298123aa10f7$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $bc3b298123aa10f7$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $bc3b298123aa10f7$var$mkdirP(destDir);\n const files = yield $bc3b298123aa10f7$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $bc3b298123aa10f7$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $bc3b298123aa10f7$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $bc3b298123aa10f7$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $bc3b298123aa10f7$var$ioUtil.chmod(destDir, (yield $bc3b298123aa10f7$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $bc3b298123aa10f7$var$copyFile(srcFile, destFile, force) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $bc3b298123aa10f7$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $bc3b298123aa10f7$var$ioUtil.lstat(destFile);\n yield $bc3b298123aa10f7$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $bc3b298123aa10f7$var$ioUtil.chmod(destFile, \"0666\");\n yield $bc3b298123aa10f7$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $bc3b298123aa10f7$var$ioUtil.readlink(srcFile);\n yield $bc3b298123aa10f7$var$ioUtil.symlink(symlinkFull, destFile, $bc3b298123aa10f7$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $bc3b298123aa10f7$var$ioUtil.exists(destFile)) || force) yield $bc3b298123aa10f7$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRegister(\"2qpn6\", function(module, exports) {\n\"use strict\";\nvar $1c41b0bc42127c11$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $1c41b0bc42127c11$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $1c41b0bc42127c11$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $1c41b0bc42127c11$var$__createBinding(result, mod, k);\n }\n $1c41b0bc42127c11$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $1c41b0bc42127c11$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $1c41b0bc42127c11$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $1c41b0bc42127c11$var$fs = $1c41b0bc42127c11$var$__importStar($hh2Bt$fs);\n\nconst $1c41b0bc42127c11$var$path = $1c41b0bc42127c11$var$__importStar($hh2Bt$path);\n$1c41b0bc42127c11$var$_a = $1c41b0bc42127c11$var$fs.promises, module.exports.chmod = $1c41b0bc42127c11$var$_a.chmod, module.exports.copyFile = $1c41b0bc42127c11$var$_a.copyFile, module.exports.lstat = $1c41b0bc42127c11$var$_a.lstat, module.exports.mkdir = $1c41b0bc42127c11$var$_a.mkdir, module.exports.open = $1c41b0bc42127c11$var$_a.open, module.exports.readdir = $1c41b0bc42127c11$var$_a.readdir, module.exports.readlink = $1c41b0bc42127c11$var$_a.readlink, module.exports.rename = $1c41b0bc42127c11$var$_a.rename, module.exports.rm = $1c41b0bc42127c11$var$_a.rm, module.exports.rmdir = $1c41b0bc42127c11$var$_a.rmdir, module.exports.stat = $1c41b0bc42127c11$var$_a.stat, module.exports.symlink = $1c41b0bc42127c11$var$_a.symlink, module.exports.unlink = $1c41b0bc42127c11$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $1c41b0bc42127c11$var$fs.constants.O_RDONLY;\nfunction $1c41b0bc42127c11$var$exists(fsPath) {\n return $1c41b0bc42127c11$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $1c41b0bc42127c11$var$exists;\nfunction $1c41b0bc42127c11$var$isDirectory(fsPath, useStat = false) {\n return $1c41b0bc42127c11$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $1c41b0bc42127c11$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $1c41b0bc42127c11$var$isRooted(p) {\n p = $1c41b0bc42127c11$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $1c41b0bc42127c11$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $1c41b0bc42127c11$var$tryGetExecutablePath(filePath, extensions) {\n return $1c41b0bc42127c11$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $1c41b0bc42127c11$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($1c41b0bc42127c11$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $1c41b0bc42127c11$var$path.dirname(filePath);\n const upperName = $1c41b0bc42127c11$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $1c41b0bc42127c11$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($1c41b0bc42127c11$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $1c41b0bc42127c11$var$tryGetExecutablePath;\nfunction $1c41b0bc42127c11$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $1c41b0bc42127c11$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $1c41b0bc42127c11$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $1c41b0bc42127c11$var$getCmdPath;\n\n});\n\n\nparcelRegister(\"6kHxT\", function(module, exports) {\n\"use strict\";\nvar $49c6639221a3e217$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $49c6639221a3e217$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $49c6639221a3e217$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $49c6639221a3e217$var$__createBinding(result, mod, k);\n }\n $49c6639221a3e217$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $49c6639221a3e217$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $49c6639221a3e217$var$semver = $49c6639221a3e217$var$__importStar((parcelRequire(\"a5mzA\")));\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\nfunction $49c6639221a3e217$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $49c6639221a3e217$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $hh2Bt$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $k1l4q.debug(`check ${version} satisfies ${versionSpec}`);\n if ($49c6639221a3e217$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $k1l4q.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $49c6639221a3e217$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $k1l4q.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $49c6639221a3e217$var$_findMatch;\nfunction $49c6639221a3e217$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $hh2Bt$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $hh2Bt$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $49c6639221a3e217$var$_getOsVersion;\nfunction $49c6639221a3e217$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($hh2Bt$fs.existsSync(lsbReleaseFile)) contents = $hh2Bt$fs.readFileSync(lsbReleaseFile).toString();\n else if ($hh2Bt$fs.existsSync(osReleaseFile)) contents = $hh2Bt$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $49c6639221a3e217$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"a5mzA\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"iFKS7\", function(module, exports) {\n\nvar $joDHm = parcelRequire(\"joDHm\");\n\nvar $inTPA = parcelRequire(\"inTPA\");\nfunction $d9806a16a407278e$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $joDHm)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $inTPA(rnds);\n}\nmodule.exports = $d9806a16a407278e$var$v4;\n\n});\nparcelRegister(\"joDHm\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $hh2Bt$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"inTPA\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $d625aee022f0dd91$var$byteToHex = [];\nfor(var $d625aee022f0dd91$var$i = 0; $d625aee022f0dd91$var$i < 256; ++$d625aee022f0dd91$var$i)$d625aee022f0dd91$var$byteToHex[$d625aee022f0dd91$var$i] = ($d625aee022f0dd91$var$i + 0x100).toString(16).substr(1);\nfunction $d625aee022f0dd91$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $d625aee022f0dd91$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $d625aee022f0dd91$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"ca0ts\", function(module, exports) {\n\"use strict\";\nvar $8da6c9556ccdcf3f$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $8da6c9556ccdcf3f$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $8da6c9556ccdcf3f$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $8da6c9556ccdcf3f$var$__createBinding(result, mod, k);\n }\n $8da6c9556ccdcf3f$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $8da6c9556ccdcf3f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $8da6c9556ccdcf3f$var$tr = $8da6c9556ccdcf3f$var$__importStar((parcelRequire(\"e0fPv\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $8da6c9556ccdcf3f$var$exec(commandLine, args, options) {\n return $8da6c9556ccdcf3f$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $8da6c9556ccdcf3f$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $8da6c9556ccdcf3f$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $8da6c9556ccdcf3f$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $8da6c9556ccdcf3f$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $8da6c9556ccdcf3f$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $hh2Bt$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $hh2Bt$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $8da6c9556ccdcf3f$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $8da6c9556ccdcf3f$var$getExecOutput;\n\n});\nparcelRegister(\"e0fPv\", function(module, exports) {\n\"use strict\";\nvar $a31d583cb10858c8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a31d583cb10858c8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a31d583cb10858c8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a31d583cb10858c8$var$__createBinding(result, mod, k);\n }\n $a31d583cb10858c8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $a31d583cb10858c8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $a31d583cb10858c8$var$os = $a31d583cb10858c8$var$__importStar($hh2Bt$os);\n\nconst $a31d583cb10858c8$var$events = $a31d583cb10858c8$var$__importStar($hh2Bt$events);\n\nconst $a31d583cb10858c8$var$child = $a31d583cb10858c8$var$__importStar($hh2Bt$child_process);\n\nconst $a31d583cb10858c8$var$path = $a31d583cb10858c8$var$__importStar($hh2Bt$path);\n\nconst $a31d583cb10858c8$var$io = $a31d583cb10858c8$var$__importStar((parcelRequire(\"g9WSN\")));\n\nconst $a31d583cb10858c8$var$ioUtil = $a31d583cb10858c8$var$__importStar((parcelRequire(\"2qpn6\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $a31d583cb10858c8$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $a31d583cb10858c8$var$ToolRunner extends $a31d583cb10858c8$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($a31d583cb10858c8$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($a31d583cb10858c8$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $a31d583cb10858c8$var$os.EOL.length);\n n = s.indexOf($a31d583cb10858c8$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($a31d583cb10858c8$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($a31d583cb10858c8$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $a31d583cb10858c8$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$a31d583cb10858c8$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $a31d583cb10858c8$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $a31d583cb10858c8$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $a31d583cb10858c8$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$a31d583cb10858c8$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $a31d583cb10858c8$var$os.EOL);\n const state = new $a31d583cb10858c8$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $a31d583cb10858c8$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $a31d583cb10858c8$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $a31d583cb10858c8$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $a31d583cb10858c8$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $a31d583cb10858c8$var$argStringToArray;\nclass $a31d583cb10858c8$var$ExecState extends $a31d583cb10858c8$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $hh2Bt$timers.setTimeout($a31d583cb10858c8$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRegister(\"eYDSL\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.895b8a50.js\")).then(()=>parcelRequire(\"apy8x\"));\n\n});\n\nparcelRegister(\"bCzkE\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./hdi.619de66c.js\")).then(()=>parcelRequire(\"9IkUc\"));\n\n});\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\nvar $338cd3297632d74f$exports = {};\n\"use strict\";\n\nvar $9cf15e4f01e764e1$exports = {};\n\"use strict\";\n\nvar $51d58653c6048ffd$exports = {};\n\"use strict\";\n\nvar $4ca03dc05bbe4be0$exports = {};\nconst $4ca03dc05bbe4be0$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $4ca03dc05bbe4be0$var$COLON = $4ca03dc05bbe4be0$var$isWindows ? \";\" : \":\";\nvar $1d8d028d9c47b73d$exports = {};\n\nvar $1d8d028d9c47b73d$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $1d8d028d9c47b73d$var$core = (parcelRequire(\"ftrAD\"));\nelse $1d8d028d9c47b73d$var$core = (parcelRequire(\"9yF3I\"));\n$1d8d028d9c47b73d$exports = $1d8d028d9c47b73d$var$isexe;\n$1d8d028d9c47b73d$var$isexe.sync = $1d8d028d9c47b73d$var$sync;\nfunction $1d8d028d9c47b73d$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $1d8d028d9c47b73d$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $1d8d028d9c47b73d$var$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}\nfunction $1d8d028d9c47b73d$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $1d8d028d9c47b73d$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $4ca03dc05bbe4be0$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $4ca03dc05bbe4be0$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $4ca03dc05bbe4be0$var$COLON;\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(/\\//) || $4ca03dc05bbe4be0$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$4ca03dc05bbe4be0$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $4ca03dc05bbe4be0$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $4ca03dc05bbe4be0$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($4ca03dc05bbe4be0$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $4ca03dc05bbe4be0$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $4ca03dc05bbe4be0$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($4ca03dc05bbe4be0$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $hh2Bt$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $1d8d028d9c47b73d$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $4ca03dc05bbe4be0$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $4ca03dc05bbe4be0$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $hh2Bt$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $1d8d028d9c47b73d$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $4ca03dc05bbe4be0$var$getNotFoundError(cmd);\n};\n$4ca03dc05bbe4be0$exports = $4ca03dc05bbe4be0$var$which;\n$4ca03dc05bbe4be0$var$which.sync = $4ca03dc05bbe4be0$var$whichSync;\n\n\nvar $e9929770d50e0ca3$exports = {};\n\"use strict\";\nconst $e9929770d50e0ca3$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$e9929770d50e0ca3$exports = $e9929770d50e0ca3$var$pathKey;\n// TODO: Remove this for the next major release\n$e9929770d50e0ca3$exports.default = $e9929770d50e0ca3$var$pathKey;\n\n\nfunction $51d58653c6048ffd$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $4ca03dc05bbe4be0$exports.sync(parsed.command, {\n path: env[$e9929770d50e0ca3$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $hh2Bt$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $hh2Bt$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $51d58653c6048ffd$var$resolveCommand(parsed) {\n return $51d58653c6048ffd$var$resolveCommandAttempt(parsed) || $51d58653c6048ffd$var$resolveCommandAttempt(parsed, true);\n}\n$51d58653c6048ffd$exports = $51d58653c6048ffd$var$resolveCommand;\n\n\nvar $14642610717c66e2$export$ae50443ffc990749;\nvar $14642610717c66e2$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $14642610717c66e2$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $14642610717c66e2$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($14642610717c66e2$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $14642610717c66e2$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($14642610717c66e2$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($14642610717c66e2$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$14642610717c66e2$export$ae50443ffc990749 = $14642610717c66e2$var$escapeCommand;\n$14642610717c66e2$export$6ea29ee575e3f5ff = $14642610717c66e2$var$escapeArgument;\n\n\nvar $572e9b86f5fc3342$exports = {};\n\"use strict\";\n\nvar $58ccbcc4db2ecd48$exports = {};\n\"use strict\";\nvar $70842f99e7c30891$exports = {};\n\"use strict\";\n$70842f99e7c30891$exports = /^#!(.*)/;\n\n\n$58ccbcc4db2ecd48$exports = (string = \"\")=>{\n const match = string.match($70842f99e7c30891$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $572e9b86f5fc3342$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $hh2Bt$fs.openSync(command, \"r\");\n $hh2Bt$fs.readSync(fd, buffer, 0, size, 0);\n $hh2Bt$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $58ccbcc4db2ecd48$exports(buffer.toString());\n}\n$572e9b86f5fc3342$exports = $572e9b86f5fc3342$var$readShebang;\n\n\nconst $9cf15e4f01e764e1$var$isWin = process.platform === \"win32\";\nconst $9cf15e4f01e764e1$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $9cf15e4f01e764e1$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $9cf15e4f01e764e1$var$detectShebang(parsed) {\n parsed.file = $51d58653c6048ffd$exports(parsed);\n const shebang = parsed.file && $572e9b86f5fc3342$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $51d58653c6048ffd$exports(parsed);\n }\n return parsed.file;\n}\nfunction $9cf15e4f01e764e1$var$parseNonShell(parsed) {\n if (!$9cf15e4f01e764e1$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $9cf15e4f01e764e1$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$9cf15e4f01e764e1$var$isExecutableRegExp.test(commandFile);\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 = $9cf15e4f01e764e1$var$isCmdShimRegExp.test(commandFile);\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 = $hh2Bt$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $14642610717c66e2$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$14642610717c66e2$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $9cf15e4f01e764e1$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $9cf15e4f01e764e1$var$parseNonShell(parsed);\n}\n$9cf15e4f01e764e1$exports = $9cf15e4f01e764e1$var$parse;\n\n\nvar $cee8c79eb01cd876$exports = {};\n\"use strict\";\nconst $cee8c79eb01cd876$var$isWin = process.platform === \"win32\";\nfunction $cee8c79eb01cd876$var$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}\nfunction $cee8c79eb01cd876$var$hookChildProcess(cp, parsed) {\n if (!$cee8c79eb01cd876$var$isWin) return;\n const originalEmit = cp.emit;\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 = $cee8c79eb01cd876$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $cee8c79eb01cd876$var$verifyENOENT(status, parsed) {\n if ($cee8c79eb01cd876$var$isWin && status === 1 && !parsed.file) return $cee8c79eb01cd876$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $cee8c79eb01cd876$var$verifyENOENTSync(status, parsed) {\n if ($cee8c79eb01cd876$var$isWin && status === 1 && !parsed.file) return $cee8c79eb01cd876$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$cee8c79eb01cd876$exports = {\n hookChildProcess: $cee8c79eb01cd876$var$hookChildProcess,\n verifyENOENT: $cee8c79eb01cd876$var$verifyENOENT,\n verifyENOENTSync: $cee8c79eb01cd876$var$verifyENOENTSync,\n notFoundError: $cee8c79eb01cd876$var$notFoundError\n};\n\n\nfunction $338cd3297632d74f$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $9cf15e4f01e764e1$exports(command, args, options);\n // Spawn the child process\n const spawned = $hh2Bt$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $cee8c79eb01cd876$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $338cd3297632d74f$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $9cf15e4f01e764e1$exports(command, args, options);\n // Spawn the child process\n const result = $hh2Bt$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $cee8c79eb01cd876$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$338cd3297632d74f$exports = $338cd3297632d74f$var$spawn;\n$338cd3297632d74f$exports.spawn = $338cd3297632d74f$var$spawn;\n$338cd3297632d74f$exports.sync = $338cd3297632d74f$var$spawnSync;\n$338cd3297632d74f$exports._parse = $9cf15e4f01e764e1$exports;\n$338cd3297632d74f$exports._enoent = $cee8c79eb01cd876$exports;\n\n\nfunction $ee7a5bcd6c625a3d$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $24a6dd14ab43103a$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nconst $9d3675cb147a637c$export$62a298cbef08d65c = ({ cwd: cwd = (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).cwd(), path: pathOption = (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).env[(0, $24a6dd14ab43103a$export$2e2bcd8739ae039)()], preferLocal: preferLocal = true, execPath: execPath = (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).execPath, addExecPath: addExecPath = true } = {})=>{\n const cwdString = cwd instanceof URL ? (0, $hh2Bt$nodeurl.fileURLToPath)(cwd) : cwd;\n const cwdPath = (0, ($parcel$interopDefault($hh2Bt$nodepath))).resolve(cwdString);\n const result = [];\n if (preferLocal) $9d3675cb147a637c$var$applyPreferLocal(result, cwdPath);\n if (addExecPath) $9d3675cb147a637c$var$applyExecPath(result, execPath, cwdPath);\n return [\n ...result,\n pathOption\n ].join((0, ($parcel$interopDefault($hh2Bt$nodepath))).delimiter);\n};\nconst $9d3675cb147a637c$var$applyPreferLocal = (result, cwdPath)=>{\n let previous;\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($hh2Bt$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($hh2Bt$nodepath))).resolve(cwdPath, \"..\");\n }\n};\n// Ensure the running `node` binary is used\nconst $9d3675cb147a637c$var$applyExecPath = (result, execPath, cwdPath)=>{\n const execPathString = execPath instanceof URL ? (0, $hh2Bt$nodeurl.fileURLToPath)(execPath) : execPath;\n result.push((0, ($parcel$interopDefault($hh2Bt$nodepath))).resolve(cwdPath, execPathString, \"..\"));\n};\nconst $9d3675cb147a637c$export$340e1fbaac04248b = ({ env: env = (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).env, ...options } = {})=>{\n env = {\n ...env\n };\n const pathName = (0, $24a6dd14ab43103a$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[pathName];\n env[pathName] = $9d3675cb147a637c$export$62a298cbef08d65c(options);\n return env;\n};\n\n\nconst $9b3fe0562d17e106$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$9b3fe0562d17e106$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $9b3fe0562d17e106$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $9b3fe0562d17e106$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $9b3fe0562d17e106$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $9b3fe0562d17e106$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $9b3fe0562d17e106$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $9b3fe0562d17e106$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $9b3fe0562d17e106$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $9b3fe0562d17e106$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$9b3fe0562d17e106$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $9b3fe0562d17e106$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$9b3fe0562d17e106$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $9b3fe0562d17e106$var$changePrototype(to, from);\n $9b3fe0562d17e106$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $c984d454db4cce26$var$calledFunctions = new WeakMap();\nconst $c984d454db4cce26$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $c984d454db4cce26$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $9b3fe0562d17e106$export$2e2bcd8739ae039)(onetime, function_);\n $c984d454db4cce26$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$c984d454db4cce26$var$onetime.callCount = (function_)=>{\n if (!$c984d454db4cce26$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $c984d454db4cce26$var$calledFunctions.get(function_);\n};\nvar $c984d454db4cce26$export$2e2bcd8739ae039 = $c984d454db4cce26$var$onetime;\n\n\n\n\nconst $7af4a19d4aafa4ec$export$e221a98f4fd84d36 = ()=>{\n const length = $7af4a19d4aafa4ec$export$dc8812f2f8882ff4 - $7af4a19d4aafa4ec$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $7af4a19d4aafa4ec$var$getRealtimeSignal);\n};\nconst $7af4a19d4aafa4ec$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $7af4a19d4aafa4ec$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $7af4a19d4aafa4ec$var$SIGRTMIN = 34;\nconst $7af4a19d4aafa4ec$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $70775642a267d3c9$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $cd6bff0b4eba0f9d$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $7af4a19d4aafa4ec$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $70775642a267d3c9$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($cd6bff0b4eba0f9d$var$normalizeSignal);\n return signals;\n};\nconst $cd6bff0b4eba0f9d$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $hh2Bt$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $be7531ef10340828$var$getSignalsByName = ()=>{\n const signals = (0, $cd6bff0b4eba0f9d$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($be7531ef10340828$var$getSignalByName));\n};\nconst $be7531ef10340828$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $be7531ef10340828$export$c3fcb39d6848c78d = $be7531ef10340828$var$getSignalsByName();\nconst $be7531ef10340828$var$getSignalsByNumber = ()=>{\n const signals = (0, $cd6bff0b4eba0f9d$export$c50078d4faa171f0)();\n const length = (0, $7af4a19d4aafa4ec$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$be7531ef10340828$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $be7531ef10340828$var$getSignalByNumber = (number, signals)=>{\n const signal = $be7531ef10340828$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $be7531ef10340828$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $hh2Bt$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $be7531ef10340828$export$12f57f97a08d2468 = $be7531ef10340828$var$getSignalsByNumber();\n\n\nconst $8c592378123445eb$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $8c592378123445eb$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $be7531ef10340828$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $8c592378123445eb$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $b69cfd947fb0b8d1$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $b69cfd947fb0b8d1$var$hasAlias = (options)=>$b69cfd947fb0b8d1$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $b69cfd947fb0b8d1$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $b69cfd947fb0b8d1$var$aliases.map((alias)=>options[alias]);\n if ($b69cfd947fb0b8d1$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$b69cfd947fb0b8d1$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $b69cfd947fb0b8d1$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $b69cfd947fb0b8d1$export$889423b478ae2ba = (options)=>{\n const stdio = $b69cfd947fb0b8d1$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\nvar $6a176bc6f7b604f3$exports = {};\n// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar $6a176bc6f7b604f3$var$process = $parcel$global.process;\nconst $6a176bc6f7b604f3$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($6a176bc6f7b604f3$var$process)) $6a176bc6f7b604f3$exports = function() {\n return function() {};\n};\nelse {\n var $6a176bc6f7b604f3$var$assert = $hh2Bt$assert;\n var $6a176bc6f7b604f3$var$signals = (parcelRequire(\"bJALw\"));\n var $6a176bc6f7b604f3$var$isWin = /^win/i.test($6a176bc6f7b604f3$var$process.platform);\n var $6a176bc6f7b604f3$var$EE = $hh2Bt$events;\n /* istanbul ignore if */ if (typeof $6a176bc6f7b604f3$var$EE !== \"function\") $6a176bc6f7b604f3$var$EE = $6a176bc6f7b604f3$var$EE.EventEmitter;\n var $6a176bc6f7b604f3$var$emitter;\n if ($6a176bc6f7b604f3$var$process.__signal_exit_emitter__) $6a176bc6f7b604f3$var$emitter = $6a176bc6f7b604f3$var$process.__signal_exit_emitter__;\n else {\n $6a176bc6f7b604f3$var$emitter = $6a176bc6f7b604f3$var$process.__signal_exit_emitter__ = new $6a176bc6f7b604f3$var$EE();\n $6a176bc6f7b604f3$var$emitter.count = 0;\n $6a176bc6f7b604f3$var$emitter.emitted = {};\n }\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!$6a176bc6f7b604f3$var$emitter.infinite) {\n $6a176bc6f7b604f3$var$emitter.setMaxListeners(Infinity);\n $6a176bc6f7b604f3$var$emitter.infinite = true;\n }\n $6a176bc6f7b604f3$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return function() {};\n $6a176bc6f7b604f3$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($6a176bc6f7b604f3$var$loaded === false) $6a176bc6f7b604f3$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $6a176bc6f7b604f3$var$emitter.removeListener(ev, cb);\n if ($6a176bc6f7b604f3$var$emitter.listeners(\"exit\").length === 0 && $6a176bc6f7b604f3$var$emitter.listeners(\"afterexit\").length === 0) $6a176bc6f7b604f3$var$unload();\n };\n $6a176bc6f7b604f3$var$emitter.on(ev, cb);\n return remove;\n };\n var $6a176bc6f7b604f3$var$unload = function unload() {\n if (!$6a176bc6f7b604f3$var$loaded || !$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\n $6a176bc6f7b604f3$var$loaded = false;\n $6a176bc6f7b604f3$var$signals.forEach(function(sig) {\n try {\n $6a176bc6f7b604f3$var$process.removeListener(sig, $6a176bc6f7b604f3$var$sigListeners[sig]);\n } catch (er) {}\n });\n $6a176bc6f7b604f3$var$process.emit = $6a176bc6f7b604f3$var$originalProcessEmit;\n $6a176bc6f7b604f3$var$process.reallyExit = $6a176bc6f7b604f3$var$originalProcessReallyExit;\n $6a176bc6f7b604f3$var$emitter.count -= 1;\n };\n $6a176bc6f7b604f3$exports.unload = $6a176bc6f7b604f3$var$unload;\n var $6a176bc6f7b604f3$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($6a176bc6f7b604f3$var$emitter.emitted[event]) return;\n $6a176bc6f7b604f3$var$emitter.emitted[event] = true;\n $6a176bc6f7b604f3$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $6a176bc6f7b604f3$var$sigListeners = {};\n $6a176bc6f7b604f3$var$signals.forEach(function(sig) {\n $6a176bc6f7b604f3$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\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 = $6a176bc6f7b604f3$var$process.listeners(sig);\n if (listeners.length === $6a176bc6f7b604f3$var$emitter.count) {\n $6a176bc6f7b604f3$var$unload();\n $6a176bc6f7b604f3$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($6a176bc6f7b604f3$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$process.kill($6a176bc6f7b604f3$var$process.pid, sig);\n }\n };\n });\n $6a176bc6f7b604f3$exports.signals = function() {\n return $6a176bc6f7b604f3$var$signals;\n };\n var $6a176bc6f7b604f3$var$loaded = false;\n var $6a176bc6f7b604f3$var$load = function load() {\n if ($6a176bc6f7b604f3$var$loaded || !$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\n $6a176bc6f7b604f3$var$loaded = true;\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 $6a176bc6f7b604f3$var$emitter.count += 1;\n $6a176bc6f7b604f3$var$signals = $6a176bc6f7b604f3$var$signals.filter(function(sig) {\n try {\n $6a176bc6f7b604f3$var$process.on(sig, $6a176bc6f7b604f3$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $6a176bc6f7b604f3$var$process.emit = $6a176bc6f7b604f3$var$processEmit;\n $6a176bc6f7b604f3$var$process.reallyExit = $6a176bc6f7b604f3$var$processReallyExit;\n };\n $6a176bc6f7b604f3$exports.load = $6a176bc6f7b604f3$var$load;\n var $6a176bc6f7b604f3$var$originalProcessReallyExit = $6a176bc6f7b604f3$var$process.reallyExit;\n var $6a176bc6f7b604f3$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\n $6a176bc6f7b604f3$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $6a176bc6f7b604f3$var$emit(\"exit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"afterexit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$originalProcessReallyExit.call($6a176bc6f7b604f3$var$process, $6a176bc6f7b604f3$var$process.exitCode);\n };\n var $6a176bc6f7b604f3$var$originalProcessEmit = $6a176bc6f7b604f3$var$process.emit;\n var $6a176bc6f7b604f3$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $6a176bc6f7b604f3$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $6a176bc6f7b604f3$var$process.exitCode = arg;\n var ret = $6a176bc6f7b604f3$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"exit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"afterexit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $6a176bc6f7b604f3$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $18727f3f5cea80c3$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $18727f3f5cea80c3$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $18727f3f5cea80c3$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $18727f3f5cea80c3$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$18727f3f5cea80c3$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $18727f3f5cea80c3$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $18727f3f5cea80c3$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$18727f3f5cea80c3$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $18727f3f5cea80c3$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($hh2Bt$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $18727f3f5cea80c3$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $18727f3f5cea80c3$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $18727f3f5cea80c3$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $18727f3f5cea80c3$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $18727f3f5cea80c3$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $18727f3f5cea80c3$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $18727f3f5cea80c3$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $18727f3f5cea80c3$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($6a176bc6f7b604f3$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $f2f7667534589a53$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $f2f7667534589a53$export$b58a61c52edb4f66(stream) {\n return $f2f7667534589a53$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $f2f7667534589a53$export$ac613ff475b69d05(stream) {\n return $f2f7667534589a53$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $f2f7667534589a53$export$f92d8ccfaec172d4(stream) {\n return $f2f7667534589a53$export$b58a61c52edb4f66(stream) && $f2f7667534589a53$export$ac613ff475b69d05(stream);\n}\nfunction $f2f7667534589a53$export$3053cdc6f2e088fd(stream) {\n return $f2f7667534589a53$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $82b93146a5d3dcf5$var$isExecaChildProcess = (target)=>target instanceof (0, $hh2Bt$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $82b93146a5d3dcf5$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $hh2Bt$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $f2f7667534589a53$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$82b93146a5d3dcf5$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $f2f7667534589a53$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $82b93146a5d3dcf5$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $82b93146a5d3dcf5$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $82b93146a5d3dcf5$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $82b93146a5d3dcf5$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\nvar $3f8980e86d9447d4$exports = {};\n\"use strict\";\n\nvar $3f8980e86d9447d4$require$BufferConstants = $hh2Bt$buffer.constants;\n\n\nvar $3f8980e86d9447d4$require$promisify = $hh2Bt$util.promisify;\nvar $2791e057b208c733$exports = {};\n\"use strict\";\n\nvar $2791e057b208c733$require$PassThroughStream = $hh2Bt$stream.PassThrough;\n$2791e057b208c733$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $2791e057b208c733$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $3f8980e86d9447d4$var$streamPipelinePromisified = $3f8980e86d9447d4$require$promisify($hh2Bt$stream.pipeline);\nclass $3f8980e86d9447d4$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $3f8980e86d9447d4$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $2791e057b208c733$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $3f8980e86d9447d4$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $3f8980e86d9447d4$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $3f8980e86d9447d4$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$3f8980e86d9447d4$exports = $3f8980e86d9447d4$var$getStream;\n$3f8980e86d9447d4$exports.buffer = (stream, options)=>$3f8980e86d9447d4$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$3f8980e86d9447d4$exports.array = (stream, options)=>$3f8980e86d9447d4$var$getStream(stream, {\n ...options,\n array: true\n });\n$3f8980e86d9447d4$exports.MaxBufferError = $3f8980e86d9447d4$var$MaxBufferError;\n\n\nvar $093c506afc3bd46a$exports = {};\n\"use strict\";\n\nvar $093c506afc3bd46a$require$PassThrough = $hh2Bt$stream.PassThrough;\n$093c506afc3bd46a$exports = function() {\n var sources = [];\n var output = new $093c506afc3bd46a$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\nconst $76c1688a524531aa$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $76c1688a524531aa$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $76c1688a524531aa$var$validateInputOptions(input);\n return (0, $hh2Bt$nodefs.readFileSync)(inputFile);\n};\nconst $76c1688a524531aa$export$7f2f9b6457412b41 = (options)=>{\n const input = $76c1688a524531aa$var$getInputSync(options);\n if ((0, $f2f7667534589a53$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $76c1688a524531aa$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $76c1688a524531aa$var$validateInputOptions(input);\n return (0, $hh2Bt$nodefs.createReadStream)(inputFile);\n};\nconst $76c1688a524531aa$export$412508d679148d5c = (spawned, options)=>{\n const input = $76c1688a524531aa$var$getInput(options);\n if (input === undefined) return;\n if ((0, $f2f7667534589a53$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $76c1688a524531aa$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($093c506afc3bd46a$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $76c1688a524531aa$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $76c1688a524531aa$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($3f8980e86d9447d4$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($3f8980e86d9447d4$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $76c1688a524531aa$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $76c1688a524531aa$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $76c1688a524531aa$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $76c1688a524531aa$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $76c1688a524531aa$var$getBufferedData(stdout, stdoutPromise),\n $76c1688a524531aa$var$getBufferedData(stderr, stderrPromise),\n $76c1688a524531aa$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $2576d303eec689e3$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $2576d303eec689e3$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($2576d303eec689e3$var$nativePromisePrototype, property)\n ]);\nconst $2576d303eec689e3$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $2576d303eec689e3$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $2576d303eec689e3$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $e6a747eb964f6e69$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $e6a747eb964f6e69$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $e6a747eb964f6e69$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $e6a747eb964f6e69$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $e6a747eb964f6e69$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($e6a747eb964f6e69$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $e6a747eb964f6e69$export$ab3db8fe5ebf3a1 = (file, args)=>$e6a747eb964f6e69$var$normalizeArgs(file, args).join(\" \");\nconst $e6a747eb964f6e69$export$9d3099014bd914f8 = (file, args)=>$e6a747eb964f6e69$var$normalizeArgs(file, args).map((arg)=>$e6a747eb964f6e69$var$escapeArg(arg)).join(\" \");\nconst $e6a747eb964f6e69$var$SPACES_REGEXP = / +/g;\nconst $e6a747eb964f6e69$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($e6a747eb964f6e69$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $e6a747eb964f6e69$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $hh2Bt$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $hh2Bt$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $e6a747eb964f6e69$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $e6a747eb964f6e69$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($e6a747eb964f6e69$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $e6a747eb964f6e69$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$e6a747eb964f6e69$var$parseExpression(expression)) : [\n $e6a747eb964f6e69$var$parseExpression(expression)\n ];\n return $e6a747eb964f6e69$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $e6a747eb964f6e69$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $e6a747eb964f6e69$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $8eebaaa7bb15f5cd$export$38bb3c1fbaa0bdcf = (0, $hh2Bt$nodeutil.debuglog)(\"execa\").enabled;\nconst $8eebaaa7bb15f5cd$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $8eebaaa7bb15f5cd$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$8eebaaa7bb15f5cd$var$padField(date.getHours(), 2)}:${$8eebaaa7bb15f5cd$var$padField(date.getMinutes(), 2)}:${$8eebaaa7bb15f5cd$var$padField(date.getSeconds(), 2)}.${$8eebaaa7bb15f5cd$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $8eebaaa7bb15f5cd$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).stderr.write(`[${$8eebaaa7bb15f5cd$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $f4ee3a29e1d521be$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $f4ee3a29e1d521be$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($hh2Bt$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $9d3675cb147a637c$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $f4ee3a29e1d521be$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($338cd3297632d74f$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $f4ee3a29e1d521be$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $8eebaaa7bb15f5cd$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $f4ee3a29e1d521be$var$getEnv(options);\n options.stdio = (0, $b69cfd947fb0b8d1$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($hh2Bt$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($hh2Bt$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $f4ee3a29e1d521be$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $hh2Bt$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $ee7a5bcd6c625a3d$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $f4ee3a29e1d521be$export$db6b1668e3758717(file, args, options) {\n const parsed = $f4ee3a29e1d521be$var$handleArguments(file, args, options);\n const command = (0, $e6a747eb964f6e69$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $e6a747eb964f6e69$export$9d3099014bd914f8)(file, args);\n (0, $8eebaaa7bb15f5cd$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $18727f3f5cea80c3$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($hh2Bt$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($hh2Bt$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $2576d303eec689e3$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $2576d303eec689e3$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $18727f3f5cea80c3$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $18727f3f5cea80c3$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $18727f3f5cea80c3$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $18727f3f5cea80c3$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $76c1688a524531aa$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $f4ee3a29e1d521be$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $f4ee3a29e1d521be$var$handleOutput(parsed.options, stderrResult);\n const all = $f4ee3a29e1d521be$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $c984d454db4cce26$export$2e2bcd8739ae039)(handlePromise);\n (0, $76c1688a524531aa$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $76c1688a524531aa$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $82b93146a5d3dcf5$export$14becf8d91886424)(spawned);\n (0, $2576d303eec689e3$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $f4ee3a29e1d521be$export$28823a701bb5a12d(file, args, options) {\n const parsed = $f4ee3a29e1d521be$var$handleArguments(file, args, options);\n const command = (0, $e6a747eb964f6e69$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $e6a747eb964f6e69$export$9d3099014bd914f8)(file, args);\n (0, $8eebaaa7bb15f5cd$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $76c1688a524531aa$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($hh2Bt$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $f4ee3a29e1d521be$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $f4ee3a29e1d521be$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $f4ee3a29e1d521be$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $f4ee3a29e1d521be$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$f4ee3a29e1d521be$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $f4ee3a29e1d521be$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $f4ee3a29e1d521be$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $e6a747eb964f6e69$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $f4ee3a29e1d521be$export$db6b1668e3758717(file, args, $f4ee3a29e1d521be$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $e6a747eb964f6e69$export$4a6ee54de9b0f25d)(templates, expressions);\n return $f4ee3a29e1d521be$export$28823a701bb5a12d(file, args, $f4ee3a29e1d521be$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $f4ee3a29e1d521be$export$3d8c2f653ac9d0b9 = $f4ee3a29e1d521be$var$create$();\nfunction $f4ee3a29e1d521be$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $e6a747eb964f6e69$export$78bcee23e0849f6a)(command);\n return $f4ee3a29e1d521be$export$db6b1668e3758717(file, args, options);\n}\nfunction $f4ee3a29e1d521be$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $e6a747eb964f6e69$export$78bcee23e0849f6a)(command);\n return $f4ee3a29e1d521be$export$28823a701bb5a12d(file, args, options);\n}\nfunction $f4ee3a29e1d521be$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $b69cfd947fb0b8d1$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($hh2Bt$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $f4ee3a29e1d521be$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\nvar $e354e8ac503df91c$exports = {};\nvar $0d005acc9f1cecf2$exports = {};\n\n$parcel$export($0d005acc9f1cecf2$exports, \"isexe\", () => $0d005acc9f1cecf2$export$35888d6059c232d4);\n$parcel$export($0d005acc9f1cecf2$exports, \"sync\", () => $0d005acc9f1cecf2$export$92d6409d68f0739a);\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */ \n\nvar $6vN83 = parcelRequire(\"6vN83\");\nconst $0d005acc9f1cecf2$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $0d005acc9f1cecf2$var$checkStat(await (0, $6vN83.stat)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $0d005acc9f1cecf2$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $0d005acc9f1cecf2$var$checkStat((0, $hh2Bt$fs.statSync)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $0d005acc9f1cecf2$var$checkStat = (stat, options)=>stat.isFile() && $0d005acc9f1cecf2$var$checkMode(stat, options);\nconst $0d005acc9f1cecf2$var$checkMode = (stat, options)=>{\n var _process_getuid, _process, _process_getgroups, _process1, _process_getgid, _process2;\n var _options_uid;\n const myUid = (_options_uid = options.uid) !== null && _options_uid !== void 0 ? _options_uid : (_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process);\n var _options_groups, _ref;\n const myGroups = (_ref = (_options_groups = options.groups) !== null && _options_groups !== void 0 ? _options_groups : (_process_getgroups = (_process1 = process).getgroups) === null || _process_getgroups === void 0 ? void 0 : _process_getgroups.call(_process1)) !== null && _ref !== void 0 ? _ref : [];\n var _options_gid, _ref1;\n const myGid = (_ref1 = (_options_gid = options.gid) !== null && _options_gid !== void 0 ? _options_gid : (_process_getgid = (_process2 = process).getgid) === null || _process_getgid === void 0 ? void 0 : _process_getgid.call(_process2)) !== null && _ref1 !== void 0 ? _ref1 : myGroups[0];\n if (myUid === undefined || myGid === undefined) throw new Error(\"cannot get uid or gid\");\n const groups = new Set([\n myGid,\n ...myGroups\n ]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt(\"100\", 8);\n const g = parseInt(\"010\", 8);\n const o = parseInt(\"001\", 8);\n const ug = u | g;\n return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);\n};\n\n\nvar $03c16384f532a838$exports = {};\n\n$parcel$export($03c16384f532a838$exports, \"isexe\", () => $03c16384f532a838$export$35888d6059c232d4);\n$parcel$export($03c16384f532a838$exports, \"sync\", () => $03c16384f532a838$export$92d6409d68f0739a);\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */ \n\nvar $6vN83 = parcelRequire(\"6vN83\");\nconst $03c16384f532a838$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $03c16384f532a838$var$checkStat(await (0, $6vN83.stat)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $03c16384f532a838$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $03c16384f532a838$var$checkStat((0, $hh2Bt$fs.statSync)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $03c16384f532a838$var$checkPathExt = (path, options)=>{\n const { pathExt: pathExt = process.env.PATHEXT || \"\" } = options;\n const peSplit = pathExt.split(\";\");\n if (peSplit.indexOf(\"\") !== -1) return true;\n for(let i = 0; i < peSplit.length; i++){\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) return true;\n }\n return false;\n};\nconst $03c16384f532a838$var$checkStat = (stat, path, options)=>stat.isFile() && $03c16384f532a838$var$checkPathExt(path, options);\n\n\n\n\nconst $8135b918ae2698c2$var$platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst $8135b918ae2698c2$var$impl = $8135b918ae2698c2$var$platform === \"win32\" ? $03c16384f532a838$exports : $0d005acc9f1cecf2$exports;\nconst $8135b918ae2698c2$export$35888d6059c232d4 = $8135b918ae2698c2$var$impl.isexe;\nconst $8135b918ae2698c2$export$92d6409d68f0739a = $8135b918ae2698c2$var$impl.sync;\n\n\nvar $e354e8ac503df91c$require$isexe = $8135b918ae2698c2$export$35888d6059c232d4;\nvar $e354e8ac503df91c$require$isexeSync = $8135b918ae2698c2$export$92d6409d68f0739a;\n\nvar $e354e8ac503df91c$require$join = $hh2Bt$path.join;\nvar $e354e8ac503df91c$require$delimiter = $hh2Bt$path.delimiter;\nvar $e354e8ac503df91c$require$sep = $hh2Bt$path.sep;\nvar $e354e8ac503df91c$require$posix = $hh2Bt$path.posix;\nconst $e354e8ac503df91c$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $e354e8ac503df91c$var$rSlash = new RegExp(`[${$e354e8ac503df91c$require$posix.sep}${$e354e8ac503df91c$require$sep === $e354e8ac503df91c$require$posix.sep ? \"\" : $e354e8ac503df91c$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $e354e8ac503df91c$var$rRel = new RegExp(`^\\\\.${$e354e8ac503df91c$var$rSlash.source}`);\nconst $e354e8ac503df91c$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $e354e8ac503df91c$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $e354e8ac503df91c$require$delimiter })=>{\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($e354e8ac503df91c$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$e354e8ac503df91c$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($e354e8ac503df91c$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item)=>[\n item,\n item.toLowerCase()\n ]);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $e354e8ac503df91c$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $e354e8ac503df91c$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $e354e8ac503df91c$require$join(pathPart, cmd);\n};\nconst $e354e8ac503df91c$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $e354e8ac503df91c$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $e354e8ac503df91c$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $e354e8ac503df91c$require$isexe(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $e354e8ac503df91c$var$getNotFoundError(cmd);\n};\nconst $e354e8ac503df91c$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $e354e8ac503df91c$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $e354e8ac503df91c$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $e354e8ac503df91c$require$isexeSync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $e354e8ac503df91c$var$getNotFoundError(cmd);\n};\n$e354e8ac503df91c$exports = $e354e8ac503df91c$var$which;\n$e354e8ac503df91c$var$which.sync = $e354e8ac503df91c$var$whichSync;\n\n\n/** The cached powershell path */ let $6e1462338680af59$var$powershell;\nfunction $6e1462338680af59$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $f4ee3a29e1d521be$export$db6b1668e3758717($6e1462338680af59$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $6e1462338680af59$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $f4ee3a29e1d521be$export$28823a701bb5a12d($6e1462338680af59$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $6e1462338680af59$export$4dfdd3964d242d20() {\n if ($6e1462338680af59$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $6e1462338680af59$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $6e1462338680af59$var$powershell = maybePowerShell;\n }\n if ($6e1462338680af59$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $6e1462338680af59$var$powershell;\n}\n\n\n\n\n\nfunction $286498bcaea3fca1$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $286498bcaea3fca1$export$e3140dc7d0c35e48() {\n var _process_getuid, _process;\n // TODO not all CI systems are root\n return ((_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process)) === 0 || Boolean(process.env.CI);\n}\nfunction $286498bcaea3fca1$export$316200228f28b8ce() {\n return $286498bcaea3fca1$export$e3140dc7d0c35e48() && $286498bcaea3fca1$export$7683bf1311d8252();\n}\nfunction $286498bcaea3fca1$export$d976d47922ae9667(command) {\n if ($286498bcaea3fca1$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $286498bcaea3fca1$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $286498bcaea3fca1$export$58f152936f209932(program, args = [], execOptions = $286498bcaea3fca1$export$151aeb0ade3989e1) {\n if ($286498bcaea3fca1$export$316200228f28b8ce()) {\n const command = $286498bcaea3fca1$var$getSudoCommand(program, args);\n return (0, $f4ee3a29e1d521be$export$5c60dbe76a54db4)(command, execOptions);\n } else return (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(program, $286498bcaea3fca1$var$quote(args), execOptions);\n}\nfunction $286498bcaea3fca1$export$351270479e2eef26(program, args = [], execOptions = $286498bcaea3fca1$export$151aeb0ade3989e1) {\n if ($286498bcaea3fca1$export$316200228f28b8ce()) {\n const command = $286498bcaea3fca1$var$getSudoCommand(program, args);\n return (0, $f4ee3a29e1d521be$export$eb9ed1222071f2f6)(command, execOptions);\n } else return (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(program, $286498bcaea3fca1$var$quote(args), execOptions);\n}\nfunction $286498bcaea3fca1$var$getSudoCommand(program, args) {\n return `sudo ${$286498bcaea3fca1$var$quote([\n program,\n ...args\n ]).join(\" \")}`;\n}\nfunction $286498bcaea3fca1$var$quote(strings) {\n return strings.map((str)=>`'${str}'`);\n}\n\n\n// From `is-admin`: updated execa\n\n// https://stackoverflow.com/a/28268802\nasync function $df4760215311d0ae$var$testFltmc() {\n try {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $df4760215311d0ae$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n var _process_env_systemdrive;\n // https://stackoverflow.com/a/21295806/1641422\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"fsutil\", [\n \"dirty\",\n \"query\",\n (_process_env_systemdrive = process.env.systemdrive) !== null && _process_env_systemdrive !== void 0 ? _process_env_systemdrive : \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $df4760215311d0ae$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $a94bc52cd89bc3f2$export$36ad181701cee597 = (0, $df4760215311d0ae$export$2e2bcd8739ae039);\nconst $a94bc52cd89bc3f2$export$2ebf12717e6b5bb8 = (0, $286498bcaea3fca1$export$e3140dc7d0c35e48);\nfunction $a94bc52cd89bc3f2$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $a94bc52cd89bc3f2$export$36ad181701cee597();\n else return (0, $286498bcaea3fca1$export$e3140dc7d0c35e48)();\n}\n\n\n\n\nasync function $410f384959a3ffde$export$4718e061a205eab(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $286498bcaea3fca1$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, ($parcel$interopDefault($hh2Bt$fs))).statSync(path).isDirectory();\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], (0, $286498bcaea3fca1$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nvar $d414f495e7962b80$exports = {};\n\"use strict\";\n\nvar $cgM1r = parcelRequire(\"cgM1r\");\nvar $4003dee082a039c0$exports = {};\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n$4003dee082a039c0$exports = function(optsLength, fnLength, isAsync) {\n var length;\n if (isNaN(optsLength)) {\n length = fnLength;\n if (!(length >= 0)) return 1;\n if (isAsync && length) return length - 1;\n return length;\n }\n if (optsLength === false) return false;\n return $lFuzu(optsLength);\n};\n\n\nvar $da706bbdf7a8ed40$exports = {};\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $750f9aad602213b1$exports = {};\n/* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */ \"use strict\";\nvar $3dabb4ee4cfefd0f$exports = {};\n\"use strict\";\n\nvar $kg6aw = parcelRequire(\"kg6aw\");\nvar $479dcc84a609c479$exports = {};\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $479dcc84a609c479$var$map = {\n function: true,\n object: true\n};\n$479dcc84a609c479$exports = function(value) {\n return $cJ0vr(value) && $479dcc84a609c479$var$map[typeof value] || false;\n};\n\n\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $3dabb4ee4cfefd0f$var$captureStackTrace = Error.captureStackTrace;\n$3dabb4ee4cfefd0f$exports = function(message /*, code, ext*/ ) {\n var err = new Error(message), code = arguments[1], ext = arguments[2];\n if (!$cJ0vr(ext)) {\n if ($479dcc84a609c479$exports(code)) {\n ext = code;\n code = null;\n }\n }\n if ($cJ0vr(ext)) $kg6aw(err, ext);\n if ($cJ0vr(code)) err.code = code;\n if ($3dabb4ee4cfefd0f$var$captureStackTrace) $3dabb4ee4cfefd0f$var$captureStackTrace(err, $3dabb4ee4cfefd0f$exports);\n return err;\n};\n\n\n\nvar $2c0jI = parcelRequire(\"2c0jI\");\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $9E9rT = parcelRequire(\"9E9rT\");\nvar $750f9aad602213b1$require$ee = $9E9rT.methods;\nvar $c1e4f01ed72ae6c6$exports = {};\n\"use strict\";\nvar $68370433a1f392cd$exports = {};\n\"use strict\";\n\nvar $lCzSe = parcelRequire(\"lCzSe\");\nvar $68370433a1f392cd$var$isArray = Array.isArray;\n$68370433a1f392cd$exports = function(arrayLike) {\n return $68370433a1f392cd$var$isArray(arrayLike) ? arrayLike : $lCzSe(arrayLike);\n};\n\n\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\nvar $c1e4f01ed72ae6c6$var$slice = Array.prototype.slice, $c1e4f01ed72ae6c6$var$resolveArgs;\n$c1e4f01ed72ae6c6$var$resolveArgs = function(args) {\n return this.map(function(resolve, i) {\n return resolve ? resolve(args[i]) : args[i];\n }).concat($c1e4f01ed72ae6c6$var$slice.call(args, this.length));\n};\n$c1e4f01ed72ae6c6$exports = function(resolvers) {\n resolvers = $68370433a1f392cd$exports(resolvers);\n resolvers.forEach(function(resolve) {\n if ($cJ0vr(resolve)) $czzoJ(resolve);\n });\n return $c1e4f01ed72ae6c6$var$resolveArgs.bind(resolvers);\n};\n\n\nvar $69ccd84652ac2a4d$exports = {};\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n$69ccd84652ac2a4d$exports = function(userNormalizer) {\n var normalizer;\n if (typeof userNormalizer === \"function\") return {\n set: userNormalizer,\n get: userNormalizer\n };\n normalizer = {\n get: $czzoJ(userNormalizer.get)\n };\n if (userNormalizer.set !== undefined) {\n normalizer.set = $czzoJ(userNormalizer.set);\n if (userNormalizer.delete) normalizer.delete = $czzoJ(userNormalizer.delete);\n if (userNormalizer.clear) normalizer.clear = $czzoJ(userNormalizer.clear);\n return normalizer;\n }\n normalizer.set = normalizer.get;\n return normalizer;\n};\n\n\nvar $750f9aad602213b1$var$apply = Function.prototype.apply, $750f9aad602213b1$var$call = Function.prototype.call, $750f9aad602213b1$var$create = Object.create, $750f9aad602213b1$var$defineProperties = Object.defineProperties, $750f9aad602213b1$var$on = $750f9aad602213b1$require$ee.on, $750f9aad602213b1$var$emit = $750f9aad602213b1$require$ee.emit;\n$750f9aad602213b1$exports = function(original, length, options) {\n var cache = $750f9aad602213b1$var$create(null), conf, memLength, get, set, del, clear, extDel, extGet, extHas, normalizer, getListeners, setListeners, deleteListeners, memoized, resolve;\n if (length !== false) memLength = length;\n else if (isNaN(original.length)) memLength = 1;\n else memLength = original.length;\n if (options.normalizer) {\n normalizer = $69ccd84652ac2a4d$exports(options.normalizer);\n get = normalizer.get;\n set = normalizer.set;\n del = normalizer.delete;\n clear = normalizer.clear;\n }\n if (options.resolvers != null) resolve = $c1e4f01ed72ae6c6$exports(options.resolvers);\n if (get) memoized = $2c0jI(function(arg) {\n var id, result, args = arguments;\n if (resolve) args = resolve(args);\n id = get(args);\n if (id !== null) {\n if (hasOwnProperty.call(cache, id)) {\n if (getListeners) conf.emit(\"get\", id, args, this);\n return cache[id];\n }\n }\n if (args.length === 1) result = $750f9aad602213b1$var$call.call(original, this, args[0]);\n else result = $750f9aad602213b1$var$apply.call(original, this, args);\n if (id === null) {\n id = get(args);\n if (id !== null) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n id = set(args);\n } else if (hasOwnProperty.call(cache, id)) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache[id] = result;\n if (setListeners) conf.emit(\"set\", id, null, result);\n return result;\n }, memLength);\n else if (length === 0) memoized = function() {\n var result;\n if (hasOwnProperty.call(cache, \"data\")) {\n if (getListeners) conf.emit(\"get\", \"data\", arguments, this);\n return cache.data;\n }\n if (arguments.length) result = $750f9aad602213b1$var$apply.call(original, this, arguments);\n else result = $750f9aad602213b1$var$call.call(original, this);\n if (hasOwnProperty.call(cache, \"data\")) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache.data = result;\n if (setListeners) conf.emit(\"set\", \"data\", null, result);\n return result;\n };\n else memoized = function(arg) {\n var result, args = arguments, id;\n if (resolve) args = resolve(arguments);\n id = String(args[0]);\n if (hasOwnProperty.call(cache, id)) {\n if (getListeners) conf.emit(\"get\", id, args, this);\n return cache[id];\n }\n if (args.length === 1) result = $750f9aad602213b1$var$call.call(original, this, args[0]);\n else result = $750f9aad602213b1$var$apply.call(original, this, args);\n if (hasOwnProperty.call(cache, id)) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache[id] = result;\n if (setListeners) conf.emit(\"set\", id, null, result);\n return result;\n };\n conf = {\n original: original,\n memoized: memoized,\n profileName: options.profileName,\n get: function(args) {\n if (resolve) args = resolve(args);\n if (get) return get(args);\n return String(args[0]);\n },\n has: function(id) {\n return hasOwnProperty.call(cache, id);\n },\n delete: function(id) {\n var result;\n if (!hasOwnProperty.call(cache, id)) return;\n if (del) del(id);\n result = cache[id];\n delete cache[id];\n if (deleteListeners) conf.emit(\"delete\", id, result);\n },\n clear: function() {\n var oldCache = cache;\n if (clear) clear();\n cache = $750f9aad602213b1$var$create(null);\n conf.emit(\"clear\", oldCache);\n },\n on: function(type, listener) {\n if (type === \"get\") getListeners = true;\n else if (type === \"set\") setListeners = true;\n else if (type === \"delete\") deleteListeners = true;\n return $750f9aad602213b1$var$on.call(this, type, listener);\n },\n emit: $750f9aad602213b1$var$emit,\n updateEnv: function() {\n original = conf.original;\n }\n };\n if (get) extDel = $2c0jI(function(arg) {\n var id, args = arguments;\n if (resolve) args = resolve(args);\n id = get(args);\n if (id === null) return;\n conf.delete(id);\n }, memLength);\n else if (length === 0) extDel = function() {\n return conf.delete(\"data\");\n };\n else extDel = function(arg) {\n if (resolve) arg = resolve(arguments)[0];\n return conf.delete(arg);\n };\n extGet = $2c0jI(function() {\n var id, args = arguments;\n if (length === 0) return cache.data;\n if (resolve) args = resolve(args);\n if (get) id = get(args);\n else id = String(args[0]);\n return cache[id];\n });\n extHas = $2c0jI(function() {\n var id, args = arguments;\n if (length === 0) return conf.has(\"data\");\n if (resolve) args = resolve(args);\n if (get) id = get(args);\n else id = String(args[0]);\n if (id === null) return false;\n return conf.has(id);\n });\n $750f9aad602213b1$var$defineProperties(memoized, {\n __memoized__: $9xcfl(true),\n delete: $9xcfl(extDel),\n clear: $9xcfl(conf.clear),\n _get: $9xcfl(extGet),\n _has: $9xcfl(extHas)\n });\n return conf;\n};\n\n\n\n$da706bbdf7a8ed40$exports = function self(fn /*, options */ ) {\n var options, length, conf;\n $czzoJ(fn);\n options = Object(arguments[1]);\n if (options.async && options.promise) throw new Error(\"Options 'async' and 'promise' cannot be used together\");\n // Do not memoize already memoized function\n if (hasOwnProperty.call(fn, \"__memoized__\") && !options.force) return fn;\n // Resolve length;\n length = $4003dee082a039c0$exports(options.length, fn.length, options.async && $e4Lgg.async);\n // Configure cache map\n conf = $750f9aad602213b1$exports(fn, length, options);\n // Bind eventual extensions\n $8KFbm($e4Lgg, function(extFn, name) {\n if (options[name]) extFn(options[name], conf, options);\n });\n if (self.__profiler__) self.__profiler__(conf);\n conf.updateEnv();\n return conf.memoized;\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\n$d414f495e7962b80$exports = function(fn /*, options*/ ) {\n var options = $cgM1r(arguments[1]), length;\n if (!options.normalizer) {\n length = options.length = $4003dee082a039c0$exports(options.length, fn.length, options.async);\n if (length !== 0) {\n if (options.primitive) {\n if (length === false) options.normalizer = (parcelRequire(\"2aBcN\"));\n else if (length > 1) options.normalizer = (parcelRequire(\"hAul9\"))(length);\n } else if (length === false) options.normalizer = (parcelRequire(\"7BD8r\"))();\n else if (length === 1) options.normalizer = (parcelRequire(\"61N6r\"))();\n else options.normalizer = (parcelRequire(\"hqtiJ\"))(length);\n }\n }\n // Assure extensions\n if (options.async) (parcelRequire(\"a24EK\"));\n if (options.promise) (parcelRequire(\"kIZkh\"));\n if (options.dispose) (parcelRequire(\"i7d4K\"));\n if (options.maxAge) (parcelRequire(\"b1mdU\"));\n if (options.max) (parcelRequire(\"dZT72\"));\n if (options.refCounter) (parcelRequire(\"eA2P6\"));\n return $da706bbdf7a8ed40$exports(fn, options);\n};\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\n\n\nfunction $3f4c9366e55e0917$export$3ce714bda98f65f0() {\n if ((0, $286498bcaea3fca1$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $hh2Bt$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $hh2Bt$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $hh2Bt$os.homedir)();\n if (maybeHomeDir === \"\") return undefined;\n return maybeHomeDir;\n }\n}\nconst $3f4c9366e55e0917$var$tildeRegex = /^~(?=$|\\/|\\\\)/;\nfunction $3f4c9366e55e0917$export$8312d9eeba321950(path) {\n const maybeHomeDir = $3f4c9366e55e0917$export$3ce714bda98f65f0();\n if (maybeHomeDir === undefined) return path;\n return path.replace($3f4c9366e55e0917$var$tildeRegex, maybeHomeDir);\n}\n\n\nconst { appendFile: $0781cd81f58c9935$var$appendFile, readFile: $0781cd81f58c9935$var$readFile, writeFile: $0781cd81f58c9935$var$writeFile } = (0, $hh2Bt$fs.promises);\nconst $0781cd81f58c9935$export$74e1d742a60734ba = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.bashrc\");\nasync function $0781cd81f58c9935$var$sourceRCInRc_(options) {\n const sourceRcString = options.guard === undefined ? `\\nsource \"${options.rcPath}\"\\n` : `\\n# ${options.guard}\\nif [[ \"$SOURCE_${options.guard.toUpperCase()}RC\" != 0 && -f \"${options.rcPath}\" ]]; then source \"${options.rcPath}\"; fi\\n`;\n try {\n await Promise.all([\n $0781cd81f58c9935$var$addRCHeader(options),\n $0781cd81f58c9935$var$addSourceToTargetRc(sourceRcString, (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.bashrc\")),\n $0781cd81f58c9935$var$addSourceToTargetRc(sourceRcString, (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.profile\"))\n ]);\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to add ${sourceRcString} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n}\nconst $0781cd81f58c9935$export$1ff783a3949c8b15 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($0781cd81f58c9935$var$sourceRCInRc_, {\n promise: true\n});\nasync function $0781cd81f58c9935$var$addRCHeader(options) {\n // a variable that prevents source rc from being called from .bashrc and .profile\n const rcHeader = options.guard === undefined ? \"\\n# Automatically Generated by envosman\\n\" : `\\n# Automatically Generated by envosman ${options.guard}\\nexport SOURCE_${options.guard.toUpperCase()}RC=0\\n`;\n if (await (0, $ibhuk.pathExists)(options.rcPath)) {\n const rcContent = await $0781cd81f58c9935$var$readFile(options.rcPath, \"utf8\");\n if (!rcContent.includes(rcHeader)) {\n // already executed setupCppInProfile\n await $0781cd81f58c9935$var$appendFile(options.rcPath, `\\n${rcHeader}\\n`);\n (0, $pcnv8.info)(`Added ${rcHeader} to ${options.rcPath}`);\n }\n }\n}\nasync function $0781cd81f58c9935$var$addSourceToTargetRc(sourceRcString, targetRcPath) {\n if (await (0, $ibhuk.pathExists)(targetRcPath)) {\n const bashrcContent = await $0781cd81f58c9935$var$readFile(targetRcPath, \"utf-8\");\n if (!bashrcContent.includes(sourceRcString)) {\n await $0781cd81f58c9935$var$appendFile(targetRcPath, sourceRcString);\n (0, $pcnv8.info)(`${sourceRcString} was added to ${targetRcPath}`);\n }\n }\n}\nasync function $0781cd81f58c9935$export$943913be1ba4f7ff(rcOptions) {\n if (await (0, $ibhuk.pathExists)(rcOptions.rcPath)) {\n const entries = (await $0781cd81f58c9935$var$readFile(rcOptions.rcPath, \"utf-8\")).split(\"\\n\");\n const uniqueEntries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n await $0781cd81f58c9935$var$writeFile(rcOptions.rcPath, uniqueEntries.join(\"\\n\"));\n await (0, $410f384959a3ffde$export$4718e061a205eab)(rcOptions.rcPath);\n }\n}\n\n\nvar $1a72fb4894e55601$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $1a72fb4894e55601$var$is_posix_os = $hh2Bt$os.platform() !== \"win32\";\nconst $1a72fb4894e55601$var$version = $hh2Bt$os.release();\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst $1a72fb4894e55601$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $1a72fb4894e55601$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$1a72fb4894e55601$exports = function(given_path) {\n return $1a72fb4894e55601$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $1a72fb4894e55601$var$should_not_escape(...$1a72fb4894e55601$var$windows_version_regex.exec($1a72fb4894e55601$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\nvar $2eb087131530c385$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"sOzdu\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $2eb087131530c385$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($2eb087131530c385$exports);\n\n\nfunction $d2308b29dddfbf83$export$4148cf4a40af9f34(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($1a72fb4894e55601$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($2eb087131530c385$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\n\n\nconst { appendFile: $c88c57c2002da789$var$appendFile } = (0, $hh2Bt$fs.promises);\nasync function $c88c57c2002da789$export$f63d3080ce25e0fd(name, valGiven, givenOptions = {}) {\n const options = {\n escapeSpace: false,\n overwrite: true,\n rcPath: (0, $0781cd81f58c9935$export$74e1d742a60734ba),\n ...givenOptions\n };\n const val = (0, $d2308b29dddfbf83$export$4148cf4a40af9f34)(valGiven !== null && valGiven !== void 0 ? valGiven : \"\", options.escapeSpace);\n try {\n if (0, $dKklS.GITHUB_ACTIONS) try {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n (0, $pcnv8.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $k1l4q.exportVariable)(name, val);\n } catch (err) {\n (0, $pcnv8.error)(err);\n await $c88c57c2002da789$var$addEnvSystem(name, val, options);\n }\n else await $c88c57c2002da789$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $pcnv8.error)(`${err}\\nFailed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nasync function $c88c57c2002da789$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven !== null && valGiven !== void 0 ? valGiven : \"\";\n switch(process.platform){\n case \"win32\":\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n (0, $pcnv8.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $6e1462338680af59$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $pcnv8.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await (0, $0781cd81f58c9935$export$1ff783a3949c8b15)(options);\n if (!options.overwrite) {\n await $c88c57c2002da789$var$appendFile(options.rcPath, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $pcnv8.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${options.rcPath}`);\n } else {\n await $c88c57c2002da789$var$appendFile(options.rcPath, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $pcnv8.info)(`${name}=\"${val}\" was added to \"${options.rcPath}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\n\n\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nconst { appendFile: $87723acb40accf13$var$appendFile } = (0, $hh2Bt$fs.promises);\nasync function $87723acb40accf13$export$4c25481b843feb0b(path, givenOptions = {}) {\n const options = {\n rcPath: (0, $0781cd81f58c9935$export$74e1d742a60734ba),\n ...givenOptions\n };\n if ($87723acb40accf13$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $hh2Bt$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $dKklS.GITHUB_ACTIONS) try {\n (0, $k1l4q.addPath)(path);\n } catch (err) {\n (0, $pcnv8.error)(err);\n await $87723acb40accf13$var$addPathSystem(path, options);\n }\n else await $87723acb40accf13$var$addPathSystem(path, options);\n } catch (err) {\n (0, $pcnv8.error)(`${err}\\nFailed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nasync function $87723acb40accf13$var$addPathSystem(path, options) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $6e1462338680af59$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $pcnv8.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await (0, $0781cd81f58c9935$export$1ff783a3949c8b15)(options);\n await $87723acb40accf13$var$appendFile(options.rcPath, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $pcnv8.info)(`\"${path}\" was added to \"${options.rcPath}\"`);\n return;\n default:\n return;\n }\n}\nconst $87723acb40accf13$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $87723acb40accf13$var$isIgnoredPath(path) {\n if ($87723acb40accf13$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n var _process_env_PATH;\n var _process_env_PATH_split;\n const paths = (_process_env_PATH_split = (_process_env_PATH = process.env.PATH) === null || _process_env_PATH === void 0 ? void 0 : _process_env_PATH.split((0, $hh2Bt$path.delimiter))) !== null && _process_env_PATH_split !== void 0 ? _process_env_PATH_split : [];\n return paths.includes(path);\n }\n return false;\n}\n\n\n\n\n\n\nvar $5FRs7 = parcelRequire(\"5FRs7\");\nvar $6dfec0551895c67b$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"j5MHF\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\";\n });\n}).call($6dfec0551895c67b$exports);\n\n\nvar $0f6edb4b6090460a$exports = {};\n\n$0f6edb4b6090460a$exports = (parcelRequire(\"2KdLC\"));\n\n\nvar $53983d8fa829acea$exports = {};\n$53983d8fa829acea$exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nvar $aa0efa59c677b595$exports = {};\n\"use strict\";\n\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $aa0efa59c677b595$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $aa0efa59c677b595$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $aa0efa59c677b595$var$packageJson = $hh2Bt$process.env.npm_package_json;\nvar $aa0efa59c677b595$var$userAgent = $hh2Bt$process.env.npm_config_user_agent;\nvar $aa0efa59c677b595$var$isNpm6 = Boolean($aa0efa59c677b595$var$userAgent && $aa0efa59c677b595$var$userAgent.startsWith(\"npm\"));\nvar $aa0efa59c677b595$var$isNpm7 = Boolean($aa0efa59c677b595$var$packageJson && $aa0efa59c677b595$var$packageJson.endsWith(\"package.json\"));\nvar $aa0efa59c677b595$var$isNpm = $aa0efa59c677b595$var$isNpm6 || $aa0efa59c677b595$var$isNpm7;\nvar $aa0efa59c677b595$var$isYarn = Boolean($aa0efa59c677b595$var$userAgent && $aa0efa59c677b595$var$userAgent.startsWith(\"yarn\"));\nvar $aa0efa59c677b595$var$isNpmOrYarn = $aa0efa59c677b595$var$isNpm || $aa0efa59c677b595$var$isYarn;\nvar $aa0efa59c677b595$var$homeDirectory = $hh2Bt$os.homedir();\nvar $aa0efa59c677b595$var$configDir = process.env.XDG_CONFIG_HOME || $hh2Bt$path.join($aa0efa59c677b595$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $aa0efa59c677b595$var$getConfigFile = function(packageName) {\n return $hh2Bt$path.join($aa0efa59c677b595$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $aa0efa59c677b595$var$createConfigDir = function() {\n if (!$hh2Bt$fs.existsSync($aa0efa59c677b595$var$configDir)) $hh2Bt$fs.mkdirSync($aa0efa59c677b595$var$configDir, {\n recursive: true\n });\n};\nvar $aa0efa59c677b595$var$getLastUpdate = function(packageName) {\n var configFile = $aa0efa59c677b595$var$getConfigFile(packageName);\n try {\n if (!$hh2Bt$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($hh2Bt$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $aa0efa59c677b595$var$saveLastUpdate = function(packageName) {\n var configFile = $aa0efa59c677b595$var$getConfigFile(packageName);\n $hh2Bt$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $aa0efa59c677b595$var$getDistVersion = function(packageName, distTag) {\n return $aa0efa59c677b595$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $aa0efa59c677b595$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $hh2Bt$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $aa0efa59c677b595$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $aa0efa59c677b595$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $aa0efa59c677b595$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $aa0efa59c677b595$var$createConfigDir();\n lastUpdateCheck = $aa0efa59c677b595$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $aa0efa59c677b595$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $aa0efa59c677b595$var$saveLastUpdate(pkg.name);\n if ($51NgG.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $aa0efa59c677b595$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"\\u250C\".concat(\"\\u2500\".repeat(width + 2), \"\\u2510\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat(\"\\u2500\".repeat(width + 2), \"\\u2518\"));\n return res.join(\"\\n\");\n};\nvar $aa0efa59c677b595$var$simpleUpdateNotifier = function(args) {\n return $aa0efa59c677b595$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $aa0efa59c677b595$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $aa0efa59c677b595$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $aa0efa59c677b595$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($aa0efa59c677b595$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$aa0efa59c677b595$exports = $aa0efa59c677b595$var$simpleUpdateNotifier;\n\n\nvar $b15ecade5dec004a$exports = {};\n$b15ecade5dec004a$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.39.0\"}');\n\n\nasync function $db6b30dbc1ea7b12$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($aa0efa59c677b595$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($b15ecade5dec004a$exports)))\n });\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nfunction $4012ecb407fc2f3d$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $4012ecb407fc2f3d$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $4012ecb407fc2f3d$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $4012ecb407fc2f3d$var$toArr(opts.string);\n opts.boolean = $4012ecb407fc2f3d$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $4012ecb407fc2f3d$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $4012ecb407fc2f3d$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\n\n\nvar $62686e7378463a66$exports = {};\n\"use strict\";\nObject.defineProperty($62686e7378463a66$exports, \"__esModule\", {\n value: !0\n}), $62686e7378463a66$exports.DownloaderHelper = $62686e7378463a66$exports.DH_STATES = void 0;\nvar $62686e7378463a66$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(a) {\n return typeof a;\n} : function(a) {\n return a && \"function\" == typeof Symbol && a.constructor === Symbol && a !== Symbol.prototype ? \"symbol\" : typeof a;\n}, $62686e7378463a66$var$_createClass = function() {\n function a(a, b) {\n for(var c, d = 0; d < b.length; d++)c = b[d], c.enumerable = c.enumerable || !1, c.configurable = !0, \"value\" in c && (c.writable = !0), Object.defineProperty(a, c.key, c);\n }\n return function(b, c, d) {\n return c && a(b.prototype, c), d && a(b, d), b;\n };\n}();\n\nvar $62686e7378463a66$var$fs = $62686e7378463a66$var$_interopRequireWildcard($hh2Bt$fs);\n\n\nvar $62686e7378463a66$var$path = $62686e7378463a66$var$_interopRequireWildcard($hh2Bt$path);\n\nvar $62686e7378463a66$var$http = $62686e7378463a66$var$_interopRequireWildcard($hh2Bt$http);\n\nvar $62686e7378463a66$var$https = $62686e7378463a66$var$_interopRequireWildcard($hh2Bt$https);\n\nfunction $62686e7378463a66$var$_interopRequireWildcard(a) {\n if (a && a.__esModule) return a;\n var b = {};\n if (null != a) for(var c in a)Object.prototype.hasOwnProperty.call(a, c) && (b[c] = a[c]);\n return b.default = a, b;\n}\nfunction $62686e7378463a66$var$_classCallCheck(a, b) {\n if (!(a instanceof b)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $62686e7378463a66$var$_possibleConstructorReturn(a, b) {\n if (!a) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return b && (\"object\" == typeof b || \"function\" == typeof b) ? b : a;\n}\nfunction $62686e7378463a66$var$_inherits(a, b) {\n if (\"function\" != typeof b && null !== b) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof b);\n a.prototype = Object.create(b && b.prototype, {\n constructor: {\n value: a,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), b && (Object.setPrototypeOf ? Object.setPrototypeOf(a, b) : a.__proto__ = b);\n}\nvar $62686e7378463a66$var$DH_STATES = $62686e7378463a66$exports.DH_STATES = {\n IDLE: \"IDLE\",\n SKIPPED: \"SKIPPED\",\n STARTED: \"STARTED\",\n DOWNLOADING: \"DOWNLOADING\",\n RETRY: \"RETRY\",\n PAUSED: \"PAUSED\",\n RESUMED: \"RESUMED\",\n STOPPED: \"STOPPED\",\n FINISHED: \"FINISHED\",\n FAILED: \"FAILED\"\n}, $62686e7378463a66$var$DownloaderHelper = $62686e7378463a66$exports.DownloaderHelper = function(a) {\n function b(a, c) {\n var d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {};\n $62686e7378463a66$var$_classCallCheck(this, b);\n var e = $62686e7378463a66$var$_possibleConstructorReturn(this, (b.__proto__ || Object.getPrototypeOf(b)).call(this, {\n captureRejections: !0\n }));\n return e.__validate(a, c) ? (e.url = e.requestURL = a.trim(), e.state = $62686e7378463a66$var$DH_STATES.IDLE, e.__defaultOpts = {\n body: null,\n retry: !1,\n method: \"GET\",\n headers: {},\n fileName: \"\",\n timeout: -1,\n metadata: null,\n override: !1,\n forceResume: !1,\n removeOnStop: !0,\n removeOnFail: !0,\n progressThrottle: 1e3,\n httpRequestOptions: {},\n httpsRequestOptions: {},\n resumeOnIncomplete: !0,\n resumeIfFileExists: !1,\n resumeOnIncompleteMaxRetry: 5\n }, e.__opts = Object.assign({}, e.__defaultOpts), e.__pipes = [], e.__total = 0, e.__downloaded = 0, e.__progress = 0, e.__retryCount = 0, e.__retryTimeout = null, e.__resumeRetryCount = 0, e.__states = $62686e7378463a66$var$DH_STATES, e.__promise = null, e.__request = null, e.__response = null, e.__isAborted = !1, e.__isResumed = !1, e.__isResumable = !1, e.__isRedirected = !1, e.__destFolder = c, e.__statsEstimate = {\n time: 0,\n bytes: 0,\n prevBytes: 0,\n throttleTime: 0\n }, e.__fileName = \"\", e.__filePath = \"\", e.updateOptions(d), e) : $62686e7378463a66$var$_possibleConstructorReturn(e);\n }\n return $62686e7378463a66$var$_inherits(b, a), $62686e7378463a66$var$_createClass(b, [\n {\n key: \"start\",\n value: function c() {\n var a = this, b = function() {\n return new Promise(function(b, c) {\n a.__promise = {\n resolve: b,\n reject: c\n }, a.__start();\n });\n };\n return this.__opts.resumeIfFileExists && this.state !== this.__states.RESUMED ? this.getTotalSize().then(function(c) {\n var d = c.name, e = c.total, f = a.__opts.override;\n if (a.__opts.override = !0, a.__filePath = a.__getFilePath(d), a.__opts.override = f, a.__filePath && $62686e7378463a66$var$fs.existsSync(a.__filePath)) {\n var g = a.__getFilesizeInBytes(a.__filePath);\n return g === e ? b() : a.resumeFromFile(a.__filePath, {\n total: e,\n fileName: d\n });\n }\n return b();\n }) : b();\n }\n },\n {\n key: \"pause\",\n value: function b() {\n var a = this;\n return this.state === this.__states.STOPPED ? Promise.resolve(!0) : (this.__response && (this.__response.unpipe(), this.__pipes.forEach(function(a) {\n return a.stream.unpipe();\n })), this.__fileStream && this.__fileStream.removeAllListeners(), this.__requestAbort(), this.__closeFileStream().then(function() {\n return a.__setState(a.__states.PAUSED), a.emit(\"pause\"), !0;\n }));\n }\n },\n {\n key: \"resume\",\n value: function a() {\n return this.__promise ? this.state === this.__states.STOPPED ? Promise.resolve(!1) : (this.__setState(this.__states.RESUMED), this.__isResumable && (this.__isResumed = !0, this.__reqOptions.headers.range = \"bytes=\" + this.__downloaded + \"-\"), this.emit(\"resume\", this.__isResumed), this.__start()) : this.start();\n }\n },\n {\n key: \"stop\",\n value: function c() {\n var a = this;\n if (this.state === this.__states.STOPPED) return Promise.resolve(!0);\n var b = function() {\n return new Promise(function(b, c) {\n $62686e7378463a66$var$fs.access(a.__filePath, function(d) {\n return d ? (a.__emitStop(), b(!0)) : void $62686e7378463a66$var$fs.unlink(a.__filePath, function(d) {\n return d ? (a.__setState(a.__states.FAILED), a.emit(\"error\", d), c(d)) : void (a.__emitStop(), b(!0));\n });\n });\n });\n };\n return this.__requestAbort(), this.__closeFileStream().then(function() {\n return a.__opts.removeOnStop ? b() : (a.__emitStop(), Promise.resolve(!0));\n });\n }\n },\n {\n key: \"pipe\",\n value: function c(a) {\n var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null;\n return this.__pipes.push({\n stream: a,\n options: b\n }), a;\n }\n },\n {\n key: \"unpipe\",\n value: function d() {\n var a = this, b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null, c = function(b) {\n return a.__response ? a.__response.unpipe(b) : b.unpipe();\n };\n if (b) {\n var e = this.__pipes.find(function(a) {\n return a.stream === b;\n });\n return void (e && (c(b), this.__pipes = this.__pipes.filter(function(a) {\n return a.stream !== b;\n })));\n }\n this.__pipes.forEach(function(a) {\n return c(a.stream);\n }), this.__pipes = [];\n }\n },\n {\n key: \"getDownloadPath\",\n value: function a() {\n return this.__filePath;\n }\n },\n {\n key: \"isResumable\",\n value: function a() {\n return this.__isResumable;\n }\n },\n {\n key: \"updateOptions\",\n value: function c(a) {\n var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : \"\";\n this.__opts = Object.assign({}, this.__opts, a), this.__headers = this.__opts.headers, -1 < this.__opts.timeout && (this.__opts.httpRequestOptions.timeout = this.__opts.timeout, this.__opts.httpsRequestOptions.timeout = this.__opts.timeout), (\"number\" != typeof this.__opts.progressThrottle || 0 > this.__opts.progressThrottle) && (this.__opts.progressThrottle = this.__defaultOpts.progressThrottle), this.url = b || this.url, this.__reqOptions = this.__getReqOptions(this.__opts.method, this.url, this.__opts.headers), this.__initProtocol(this.url);\n }\n },\n {\n key: \"getOptions\",\n value: function a() {\n return this.__opts;\n }\n },\n {\n key: \"getMetadata\",\n value: function a() {\n return this.__opts.metadata;\n }\n },\n {\n key: \"getStats\",\n value: function a() {\n return {\n total: this.__total,\n name: this.__fileName,\n downloaded: this.__downloaded,\n progress: this.__progress,\n speed: this.__statsEstimate.bytes\n };\n }\n },\n {\n key: \"getTotalSize\",\n value: function b() {\n var a = this;\n return new Promise(function(b, c) {\n var d = function(b) {\n a.__initProtocol(b);\n var c = Object.assign({}, a.__headers);\n c.hasOwnProperty(\"range\") && delete c.range;\n var d = a.__getReqOptions(\"HEAD\", b, c);\n return Object.assign({}, a.__reqOptions, d);\n }, e = function(f, g) {\n var h = a.__protocol.request(g, function(g) {\n if (a.__isRequireRedirect(g)) {\n var h = /^https?:\\/\\//.test(g.headers.location) ? g.headers.location : new $hh2Bt$url.URL(g.headers.location, f).href;\n return a.emit(\"redirected\", h, f), e(h, d(h));\n }\n return 200 === g.statusCode ? void b({\n name: a.__getFileNameFromHeaders(g.headers, g),\n total: parseInt(g.headers[\"content-length\"]) || null\n }) : c(new Error(\"Response status was \" + g.statusCode));\n });\n h.on(\"error\", function(a) {\n return c(a);\n }), h.on(\"timeout\", function() {\n return c(new Error(\"timeout\"));\n }), h.on(\"uncaughtException\", function(a) {\n return c(a);\n }), h.end();\n };\n e(a.url, d(a.url));\n });\n }\n },\n {\n key: \"getResumeState\",\n value: function a() {\n return {\n downloaded: this.__downloaded,\n filePath: this.__filePath,\n fileName: this.__fileName,\n total: this.__total\n };\n }\n },\n {\n key: \"resumeFromFile\",\n value: function d(a) {\n var b = this, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {};\n return this.__opts.override = !0, this.__filePath = a, (c.total && c.fileName ? Promise.resolve({\n name: c.fileName,\n total: c.total\n }) : this.getTotalSize()).then(function(a) {\n var d = a.name, e = a.total;\n return b.__total = c.total || e, b.__fileName = c.fileName || d, b.__downloaded = c.downloaded || b.__getFilesizeInBytes(b.__filePath), b.__reqOptions.headers.range = \"bytes=\" + b.__downloaded + \"-\", b.__isResumed = !0, b.__isResumable = !0, b.__setState(b.__states.RESUMED), b.emit(\"resume\", b.__isResumed), new Promise(function(a, c) {\n b.__promise = {\n resolve: a,\n reject: c\n }, b.__start();\n });\n });\n }\n },\n {\n key: \"__start\",\n value: function a() {\n this.__isRedirected || this.state === this.__states.RESUMED || (this.emit(\"start\"), this.__setState(this.__states.STARTED), this.__initProtocol(this.url)), this.__response = null, this.__isAborted = !1, this.__request && !this.__request.destroyed && this.__request.destroy(), this.__retryTimeout && (clearTimeout(this.__retryTimeout), this.__retryTimeout = null), this.__request = this.__downloadRequest(this.__promise.resolve, this.__promise.reject), this.__request.on(\"error\", this.__onError(this.__promise.resolve, this.__promise.reject)), this.__request.on(\"timeout\", this.__onTimeout(this.__promise.resolve, this.__promise.reject)), this.__request.on(\"uncaughtException\", this.__onError(this.__promise.resolve, this.__promise.reject, !0)), this.__opts.body && this.__request.write(this.__opts.body), this.__request.end();\n }\n },\n {\n key: \"__resolvePending\",\n value: function b() {\n if (this.__promise) {\n var a = this.__promise.resolve;\n return this.__promise = null, a(!0);\n }\n }\n },\n {\n key: \"__downloadRequest\",\n value: function d(a, b) {\n var c = this;\n return this.__protocol.request(this.__reqOptions, function(d) {\n if (c.__response = d, c.__isResumed || (c.__total = parseInt(d.headers[\"content-length\"]) || null, c.__resetStats()), c.__isRequireRedirect(d)) {\n var e = /^https?:\\/\\//.test(d.headers.location) ? d.headers.location : new $hh2Bt$url.URL(d.headers.location, c.url).href;\n return c.__isRedirected = !0, c.__initProtocol(e), c.emit(\"redirected\", e, c.url), c.__start();\n }\n if (200 !== d.statusCode && 206 !== d.statusCode) {\n var f = new Error(\"Response status was \" + d.statusCode);\n return f.status = d.statusCode || 0, f.body = d.body || \"\", c.__setState(c.__states.FAILED), c.emit(\"error\", f), b(f);\n }\n c.__opts.forceResume ? c.__isResumable = !0 : d.headers.hasOwnProperty(\"accept-ranges\") && \"none\" !== d.headers[\"accept-ranges\"] && (c.__isResumable = !0), c.__startDownload(d, a, b);\n });\n }\n },\n {\n key: \"__startDownload\",\n value: function h(a, b, c) {\n var d = this, e = a;\n if (!this.__isResumed) {\n var i = this.__getFileNameFromHeaders(a.headers);\n if (this.__filePath = this.__getFilePath(i), this.__fileName = this.__filePath.split($62686e7378463a66$var$path.sep).pop(), $62686e7378463a66$var$fs.existsSync(this.__filePath)) {\n var f = this.__getFilesizeInBytes(this.__filePath), g = this.__total ? this.__total : 0;\n if (\"object\" === $62686e7378463a66$var$_typeof(this.__opts.override) && this.__opts.override.skip && (this.__opts.override.skipSmaller || f >= g)) return this.emit(\"skip\", {\n totalSize: this.__total,\n fileName: this.__fileName,\n filePath: this.__filePath,\n downloadedSize: f\n }), this.__setState(this.__states.SKIPPED), b(!0);\n }\n this.__fileStream = $62686e7378463a66$var$fs.createWriteStream(this.__filePath, {});\n } else this.__fileStream = $62686e7378463a66$var$fs.createWriteStream(this.__filePath, {\n flags: \"a\"\n });\n this.emit(\"download\", {\n fileName: this.__fileName,\n filePath: this.__filePath,\n totalSize: this.__total,\n isResumed: this.__isResumed,\n downloadedSize: this.__downloaded\n }), this.__retryCount = 0, this.__isResumed = !1, this.__isRedirected = !1, this.__setState(this.__states.DOWNLOADING), this.__statsEstimate.time = new Date, this.__statsEstimate.throttleTime = new Date, e.on(\"data\", function(a) {\n return d.__calculateStats(a.length);\n }), this.__pipes.forEach(function(a) {\n e.pipe(a.stream, a.options), e = a.stream;\n }), e.pipe(this.__fileStream), e.on(\"error\", this.__onError(b, c)), this.__fileStream.on(\"finish\", this.__onFinished(b, c)), this.__fileStream.on(\"error\", this.__onError(b, c));\n }\n },\n {\n key: \"__hasFinished\",\n value: function a() {\n return !this.__isAborted && -1 === [\n this.__states.PAUSED,\n this.__states.STOPPED,\n this.__states.RETRY,\n this.__states.FAILED,\n this.__states.RESUMED\n ].indexOf(this.state);\n }\n },\n {\n key: \"__isRequireRedirect\",\n value: function b(a) {\n return 300 < a.statusCode && 400 > a.statusCode && a.headers.hasOwnProperty(\"location\") && a.headers.location;\n }\n },\n {\n key: \"__onFinished\",\n value: function d(a, b) {\n var c = this;\n return function() {\n c.__fileStream.close(function(d) {\n if (d) return b(d);\n if (c.__hasFinished()) {\n var e = !!c.__total && c.__downloaded !== c.__total;\n if (e && c.__isResumable && c.__opts.resumeOnIncomplete && c.__resumeRetryCount <= c.__opts.resumeOnIncompleteMaxRetry) return c.__resumeRetryCount++, c.emit(\"warning\", new Error(\"uncomplete download, retrying\")), c.resume();\n c.__setState(c.__states.FINISHED), c.__pipes = [], c.emit(\"end\", {\n fileName: c.__fileName,\n filePath: c.__filePath,\n totalSize: c.__total,\n incomplete: e,\n onDiskSize: c.__getFilesizeInBytes(c.__filePath),\n downloadedSize: c.__downloaded\n });\n }\n return a(c.__downloaded === c.__total);\n });\n };\n }\n },\n {\n key: \"__closeFileStream\",\n value: function b() {\n var a = this;\n return this.__fileStream ? new Promise(function(b, c) {\n a.__fileStream.close(function(a) {\n return a ? c(a) : b(!0);\n });\n }) : Promise.resolve(!0);\n }\n },\n {\n key: \"__onError\",\n value: function e(a, b) {\n var c = this, d = !!(2 < arguments.length && void 0 !== arguments[2]) && arguments[2];\n return function(a) {\n return c.__pipes = [], d && c.__requestAbort(), c.state === c.__states.STOPPED || c.state === c.__states.FAILED ? void 0 : c.__opts.retry ? c.__retry(a).catch(function(d) {\n c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"error\", d ? d : a), b(d ? d : a);\n });\n }) : c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"error\", a), b(a);\n });\n };\n }\n },\n {\n key: \"__retry\",\n value: function h() {\n var a = this, b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null;\n if (!this.__opts.retry || \"object\" !== $62686e7378463a66$var$_typeof(this.__opts.retry)) return Promise.reject(b || new Error(\"wrong retry options\"));\n var c = this.__opts.retry, d = c.delay, e = void 0 === d ? 0 : d, f = c.maxRetries, g = void 0 === f ? 999 : f;\n return this.__retryCount >= g ? Promise.reject(b || new Error(\"reached the maximum retries\")) : (this.__retryCount++, this.__setState(this.__states.RETRY), this.emit(\"retry\", this.__retryCount, this.__opts.retry, b), this.__response && (this.__response.unpipe(), this.__pipes.forEach(function(a) {\n return a.stream.unpipe();\n })), this.__fileStream && this.__fileStream.removeAllListeners(), this.__requestAbort(), this.__closeFileStream().then(function() {\n return new Promise(function(b) {\n return a.__retryTimeout = setTimeout(function() {\n return b(0 < a.__downloaded ? a.resume() : a.__start());\n }, e);\n });\n }));\n }\n },\n {\n key: \"__onTimeout\",\n value: function d(a, b) {\n var c = this;\n return function() {\n return c.__requestAbort(), c.__opts.retry ? c.__retry(new Error(\"timeout\")).catch(function(a) {\n c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), a ? b(a) : (c.emit(\"timeout\"), b(new Error(\"timeout\")));\n });\n }) : c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"timeout\"), b(new Error(\"timeout\"));\n });\n };\n }\n },\n {\n key: \"__resetStats\",\n value: function a() {\n this.__retryCount = 0, this.__downloaded = 0, this.__progress = 0, this.__resumeRetryCount = 0, this.__statsEstimate = {\n time: 0,\n bytes: 0,\n prevBytes: 0,\n throttleTime: 0\n };\n }\n },\n {\n key: \"__getFileNameFromHeaders\",\n value: function k(a, b) {\n var c = \"\", d = /.*filename\\*=.*?'.*?'([^\"].+?[^\"])(?:(?:;)|$)/i, e = /.*filename=\"(.*?)\";?/i, f = /.*filename=([^\"].+?[^\"])(?:(?:;)|$)/i, g = a.hasOwnProperty(\"content-disposition\"), h = g ? a[\"content-disposition\"].match(d) : null, i = !g || h ? null : a[\"content-disposition\"].match(e), j = !g || h || i ? null : a[\"content-disposition\"].match(f);\n return g && (h || i || j) ? (c = a[\"content-disposition\"], c = c.trim(), h ? c = h[1] : i ? c = i[1] : j && (c = j[1]), c = c.replace(/[/\\\\]/g, \"\")) : 0 < $62686e7378463a66$var$path.basename(new $hh2Bt$url.URL(this.requestURL).pathname).length ? c = $62686e7378463a66$var$path.basename(new $hh2Bt$url.URL(this.requestURL).pathname) : c = new $hh2Bt$url.URL(this.requestURL).hostname + \".html\", this.__opts.fileName ? this.__getFileNameFromOpts(c, b) : c.replace(/\\.*$/, \"\");\n }\n },\n {\n key: \"__getFilePath\",\n value: function d(a) {\n var b = $62686e7378463a66$var$path.join(this.__destFolder, a), c = b;\n return this.__opts.override || this.state === this.__states.RESUMED || (c = this.__uniqFileNameSync(c), b !== c && this.emit(\"renamed\", {\n path: c,\n fileName: c.split($62686e7378463a66$var$path.sep).pop(),\n prevPath: b,\n prevFileName: b.split($62686e7378463a66$var$path.sep).pop()\n })), c;\n }\n },\n {\n key: \"__getFileNameFromOpts\",\n value: function g(a, b) {\n if (!this.__opts.fileName) return a;\n if (\"string\" == typeof this.__opts.fileName) return this.__opts.fileName;\n if (\"function\" == typeof this.__opts.fileName) {\n var h = $62686e7378463a66$var$path.join(this.__destFolder, a);\n return b && b.headers || this.__response && this.__response.headers ? this.__opts.fileName(a, h, (b ? b : this.__response).headers[\"content-type\"]) : this.__opts.fileName(a, h);\n }\n if (\"object\" === $62686e7378463a66$var$_typeof(this.__opts.fileName)) {\n var c = this.__opts.fileName, d = c.name, e = !!c.hasOwnProperty(\"ext\") && c.ext;\n if (\"string\" == typeof e) return d + \".\" + e;\n if (\"boolean\" == typeof e) {\n if (e) return d;\n var f = a.includes(\".\") ? a.split(\".\").pop() : \"\";\n return \"\" === f ? d : d + \".\" + f;\n }\n }\n return a;\n }\n },\n {\n key: \"__calculateStats\",\n value: function f(a) {\n var b = new Date, c = b - this.__statsEstimate.time, d = b - this.__statsEstimate.throttleTime, e = this.__total || 0;\n a && (this.__downloaded += a, this.__progress = 0 === e ? 0 : 100 * (this.__downloaded / e), (this.__downloaded === e || 1e3 < c) && (this.__statsEstimate.time = b, this.__statsEstimate.bytes = this.__downloaded - this.__statsEstimate.prevBytes, this.__statsEstimate.prevBytes = this.__downloaded), (this.__downloaded === e || d > this.__opts.progressThrottle) && (this.__statsEstimate.throttleTime = b, this.emit(\"progress.throttled\", this.getStats())), this.emit(\"progress\", this.getStats()));\n }\n },\n {\n key: \"__setState\",\n value: function b(a) {\n this.state = a, this.emit(\"stateChanged\", this.state);\n }\n },\n {\n key: \"__getReqOptions\",\n value: function f(a, b) {\n var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}, d = new $hh2Bt$url.URL(b), e = {\n protocol: d.protocol,\n host: d.hostname,\n port: d.port,\n path: d.pathname + d.search,\n method: a\n };\n return c && (e.headers = c), e;\n }\n },\n {\n key: \"__getFilesizeInBytes\",\n value: function d(a) {\n try {\n var b = $62686e7378463a66$var$fs.statSync(a, {\n throwIfNoEntry: !1\n }), c = b.size || 0;\n return c;\n } catch (a) {\n this.emit(\"warning\", a);\n }\n return 0;\n }\n },\n {\n key: \"__validate\",\n value: function d(a, b) {\n if (\"string\" != typeof a) throw new Error(\"URL should be an string\");\n if (\"\" === a.trim()) throw new Error(\"URL couldn't be empty\");\n if (\"string\" != typeof b) throw new Error(\"Destination Folder should be an string\");\n if (\"\" === b.trim()) throw new Error(\"Destination Folder couldn't be empty\");\n if (!$62686e7378463a66$var$fs.existsSync(b)) throw new Error(\"Destination Folder must exist\");\n var c = $62686e7378463a66$var$fs.statSync(b);\n if (!c.isDirectory()) throw new Error(\"Destination Folder must be a directory\");\n try {\n $62686e7378463a66$var$fs.accessSync(b, $62686e7378463a66$var$fs.constants.W_OK);\n } catch (a) {\n throw new Error(\"Destination Folder must be writable\");\n }\n return !0;\n }\n },\n {\n key: \"__initProtocol\",\n value: function c(a) {\n var b = this.__getReqOptions(this.__opts.method, a, this.__headers);\n this.requestURL = a, -1 < a.indexOf(\"https://\") ? (this.__protocol = $62686e7378463a66$var$https, b.agent = new $62686e7378463a66$var$https.Agent({\n keepAlive: !1\n }), this.__reqOptions = Object.assign({}, b, this.__opts.httpsRequestOptions)) : (this.__protocol = $62686e7378463a66$var$http, b.agent = new $62686e7378463a66$var$http.Agent({\n keepAlive: !1\n }), this.__reqOptions = Object.assign({}, b, this.__opts.httpRequestOptions));\n }\n },\n {\n key: \"__uniqFileNameSync\",\n value: function f(a) {\n if (\"string\" != typeof a || \"\" === a) return a;\n try {\n $62686e7378463a66$var$fs.accessSync(a, $62686e7378463a66$var$fs.F_OK);\n var b = a.match(/(.*)(\\([0-9]+\\))(\\..*)$/), c = b ? b[1].trim() : a, d = b ? parseInt(b[2].replace(/\\(|\\)/, \"\")) : 0, e = a.split(\".\").pop();\n return e !== a && 0 < e.length ? (e = \".\" + e, c = c.replace(e, \"\")) : e = \"\", this.__uniqFileNameSync(c + \" (\" + ++d + \")\" + e);\n } catch (b) {\n return a;\n }\n }\n },\n {\n key: \"__removeFile\",\n value: function b() {\n var a = this;\n return new Promise(function(b) {\n return a.__fileStream ? void a.__fileStream.close(function(c) {\n return c && a.emit(\"warning\", c), a.__opts.removeOnFail ? $62686e7378463a66$var$fs.access(a.__filePath, function(d) {\n return d ? b() : void $62686e7378463a66$var$fs.unlink(a.__filePath, function(d) {\n d && a.emit(\"warning\", c), b();\n });\n }) : void b();\n }) : b();\n });\n }\n },\n {\n key: \"__requestAbort\",\n value: function a() {\n this.__isAborted = !0, this.__retryTimeout && (clearTimeout(this.__retryTimeout), this.__retryTimeout = null), this.__response && this.__response.destroy(), this.__request && (this.__request.destroy ? this.__request.destroy() : this.__request.abort());\n }\n },\n {\n key: \"__emitStop\",\n value: function a() {\n this.__resolvePending(), this.__setState(this.__states.STOPPED), this.emit(\"stop\");\n }\n }\n ]), b;\n}($hh2Bt$events.EventEmitter);\n\n\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nconst { appendFile: $415f99280e0a2cf7$var$appendFile } = (0, $hh2Bt$fs.promises);\nasync function $415f99280e0a2cf7$export$6fe6436bd9f53d02(name, path, priority = 40) {\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n priority.toString()\n ]);\n}\nasync function $415f99280e0a2cf7$export$d04a90794d7fd3eb(name, path, rcOptions, priority = 40) {\n if (0, $dKklS.GITHUB_ACTIONS) await $415f99280e0a2cf7$export$6fe6436bd9f53d02(name, path, priority);\n else {\n await (0, $0781cd81f58c9935$export$1ff783a3949c8b15)(rcOptions);\n await $415f99280e0a2cf7$var$appendFile(rcOptions.rcPath, `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n/**\n * Get the environment variables to use for the apt command\n * @param apt The apt command to use\n * @private Used internally\n */ function $164560ecd546eba0$export$a5e1e68142f7a16c(apt) {\n const env = {\n ...process.env,\n DEBIAN_FRONTEND: \"noninteractive\"\n };\n if (apt === \"nala\") {\n // if LANG/LC_ALL is not set, enable utf8 otherwise nala fails because of ASCII encoding\n if (env.LANG === undefined) env.LANG = \"C.UTF-8\";\n if (env.LC_ALL === undefined) env.LC_ALL = \"C.UTF-8\";\n }\n return env;\n}\n\n\n\n\n\n/**\n * The timeout to use for apt commands\n * Wait up to 300 seconds if the apt-get lock is held\n * @private Used internally\n */ const $8420ec82b8e83bd1$export$63332523ab2676dd = \"Dpkg::Lock::Timeout=300\";\n\n\n\nfunction $f7155b738edcc70e$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0() {\n let apt;\n if ($f7155b738edcc70e$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\n\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $1ondq = parcelRequire(\"1ondq\");\n\n\n\n\n\nasync function $0bcf8d198161b767$export$e8ed7ca5b57b702e(pack) {\n try {\n // check if a package is installed\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dpkg\", [\n \"-s\",\n pack\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(\"apt-get\"),\n stdio: \"pipe\"\n });\n if (typeof stdout !== \"string\") return false;\n const lines = stdout.split(\"\\n\");\n // check if the output contains a line that starts with \"Status: install ok installed\"\n return lines.some((line)=>line.startsWith(\"Status: install ok installed\"));\n } catch {\n return false;\n }\n}\nasync function $0bcf8d198161b767$export$aaa4b6507c96b5db(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(\"apt-get\"),\n stdio: \"pipe\"\n });\n if (typeof stdout !== \"string\") return false;\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n\n\n\n\n\nlet $0ff1f178b6757f9c$export$81eb835454e204ce = false // eslint-disable-line import/no-mutable-exports\n;\nfunction $0ff1f178b6757f9c$export$a4e956e5b5ed6e4f(apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd)\n ] : [\n \"update\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd)\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n $0ff1f178b6757f9c$export$81eb835454e204ce = true;\n}\nconst $0ff1f178b6757f9c$export$5f8013d121f67421 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($0ff1f178b6757f9c$export$a4e956e5b5ed6e4f);\n\n\nvar $26e91d84b93347fe$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($26e91d84b93347fe$export$e6e2160a140a491e || ($26e91d84b93347fe$export$e6e2160a140a491e = {}));\nasync function $26e91d84b93347fe$export$94780099199674f4(packages, apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n return (await Promise.all(packages.map((pack)=>$26e91d84b93347fe$export$80158881e1e46aed(pack, apt)))).filter((pack)=>pack !== undefined);\n}\nasync function $26e91d84b93347fe$export$80158881e1e46aed(pack, apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n // Qualify the package into full package name/version\n const qualified = await $26e91d84b93347fe$var$getAptArg(apt, pack.name, pack.version);\n // filter out the package that are already installed\n return await (0, $0bcf8d198161b767$export$e8ed7ca5b57b702e)(qualified) ? undefined : qualified;\n}\nasync function $26e91d84b93347fe$var$aptPackageType(apt, name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $1ondq.default)(name)}-${(0, $1ondq.default)(version)}$`\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt),\n stdio: \"pipe\"\n });\n if (stdout.trim() !== \"\") return 0;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n if (stdout.trim() === \"\") return 1;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt),\n stdio: \"pipe\"\n });\n if (showStdout.trim() !== \"\") return 2;\n } catch {\n // ignore\n }\n // If apt-cache fails, update the repos and try again\n if (!(0, $0ff1f178b6757f9c$export$81eb835454e204ce)) {\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n return $26e91d84b93347fe$var$aptPackageType(apt, name, version);\n }\n return 3;\n}\nasync function $26e91d84b93347fe$var$getAptArg(apt, name, version) {\n const package_type = await $26e91d84b93347fe$var$aptPackageType(apt, name, version);\n switch(package_type){\n case 0:\n return `${name}-${version}`;\n case 1:\n return `${name}=${version}`;\n case 2:\n if (version !== undefined && version !== \"\") (0, $pcnv8.warning)(`Could not find package ${name} with version ${version}. Installing the latest version.`);\n return name;\n default:\n throw new Error(`Could not find package ${name} ${version !== null && version !== void 0 ? version : \"\"}`);\n }\n}\n\n\n\nasync function $01ab74a851c6f728$export$d54f1fb36f75bb7f(apt) {\n // Update the repos\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n const toInstall = await (0, $26e91d84b93347fe$export$94780099199674f4)([\n {\n name: \"ca-certificates\"\n },\n {\n name: \"gnupg\"\n },\n {\n name: \"apt-utils\"\n }\n ], apt);\n if (toInstall.length !== 0) (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"-y\",\n \"--fix-broken\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd),\n ...toInstall\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n}\nconst $01ab74a851c6f728$export$70771269792f1560 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($01ab74a851c6f728$export$d54f1fb36f75bb7f, {\n promise: true\n});\n\n\n\n\nasync function $97347013d7514988$export$226ded8785806269(repo, apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n await (0, $01ab74a851c6f728$export$70771269792f1560)(apt);\n await $97347013d7514988$export$72acbc95491a2e38(apt);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n \"--no-update\",\n repo\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n // Update the repos\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421).clear() // ensure update is called\n ;\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n}\nasync function $97347013d7514988$export$72acbc95491a2e38(apt) {\n if (await (0, $0bcf8d198161b767$export$e8ed7ca5b57b702e)(\"software-properties-common\")) return;\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"-y\",\n \"--fix-broken\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd),\n \"software-properties-common\"\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n}\n\n\n\n\n\n\n\nconst $a6b2da83048355c8$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $a6b2da83048355c8$export$87fb71929453bd8f(packages, update = false) {\n const apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)();\n for (const { name: name, version: version } of packages)(0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${apt}`);\n // Update the repos if needed\n if (update) (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n // Add the repos if needed\n await $a6b2da83048355c8$var$addRepositories(apt, packages);\n const needToInstall = await (0, $26e91d84b93347fe$export$94780099199674f4)(packages, apt);\n if (needToInstall.length === 0) {\n (0, $pcnv8.info)(\"All packages are already installed\");\n return {\n binDir: \"/usr/bin/\"\n };\n }\n // Initialize apt if needed\n await (0, $01ab74a851c6f728$export$70771269792f1560)(apt);\n try {\n // Add the keys if needed\n await $a6b2da83048355c8$var$addAptKeys(packages);\n // Install\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...needToInstall\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n } catch (err) {\n if ($a6b2da83048355c8$var$isExecaError(err)) {\n if ($a6b2da83048355c8$var$retryErrors.some((error)=>err.stderr.includes(error))) {\n (0, $pcnv8.warning)(`Failed to install packages ${needToInstall}. Retrying...`);\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd),\n ...needToInstall\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $a6b2da83048355c8$var$addRepositories(apt, packages) {\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>{\n var _pack_repository;\n return (_pack_repository = pack.repository) !== null && _pack_repository !== void 0 ? _pack_repository : [];\n }))\n ];\n await Promise.all(allRepositories.map((repo)=>(0, $97347013d7514988$export$226ded8785806269)(repo, apt)));\n}\nasync function $a6b2da83048355c8$var$addAptKeys(packages) {\n await Promise.all(packages.map(async (pack)=>{\n if (pack.key !== undefined) await (0, $c8be1cdf4517af1c$export$5a01c6fa4f60a79f)(pack.key);\n }));\n}\nfunction $a6b2da83048355c8$var$isExecaError(err) {\n return typeof err.stderr === \"string\";\n}\n\n\nfunction $c8be1cdf4517af1c$export$5a01c6fa4f60a79f(options) {\n if (\"keyUrl\" in options) return $c8be1cdf4517af1c$export$118a136d06dbf4dc(options);\n else return $c8be1cdf4517af1c$export$11aa10c05ada0934(options);\n}\nconst $c8be1cdf4517af1c$export$8b9fa96f1a5cad63 = \"/etc/apt/trusted.gpg.d\";\nconst $c8be1cdf4517af1c$export$5c7b28dbb1dc8fdf = \"keyserver.ubuntu.com\";\nasync function $c8be1cdf4517af1c$export$11aa10c05ada0934({ key: key, keyServer: keyServer = $c8be1cdf4517af1c$export$5c7b28dbb1dc8fdf, fileName: fileName, keyStorePath: keyStorePath = $c8be1cdf4517af1c$export$5c7b28dbb1dc8fdf }) {\n try {\n $c8be1cdf4517af1c$var$assertGpgFileName(fileName);\n const filePath = (0, $hh2Bt$path.join)(keyStorePath, fileName);\n if (!await (0, $ibhuk.pathExists)(filePath)) {\n $c8be1cdf4517af1c$var$initGpg();\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--keyserver\",\n keyServer,\n \"--recv-keys\",\n key\n ]);\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n filePath\n ]);\n }\n return filePath;\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to add apt key via server ${keyServer}: ${err}`);\n return undefined;\n }\n}\nasync function $c8be1cdf4517af1c$export$118a136d06dbf4dc({ keyUrl: keyUrl, fileName: fileName, keyStorePath: keyStorePath = $c8be1cdf4517af1c$export$8b9fa96f1a5cad63 }) {\n try {\n $c8be1cdf4517af1c$var$assertGpgFileName(fileName);\n const filePath = (0, $hh2Bt$path.join)(keyStorePath, fileName);\n if (!await (0, $ibhuk.pathExists)(filePath)) {\n $c8be1cdf4517af1c$var$initGpg();\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dlPath = (0, $hh2Bt$path.join)((0, $hh2Bt$os.tmpdir)(), fileName);\n const dl = new (0, $62686e7378463a66$exports.DownloaderHelper)(keyUrl, (0, $hh2Bt$os.tmpdir)(), {\n fileName: fileName\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download ${keyUrl}: ${err}`);\n });\n await dl.start();\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--import\",\n dlPath\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"chmod\", [\n \"644\",\n filePath\n ]);\n }\n return filePath;\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to add apt key via download ${keyUrl}: ${err}`);\n return undefined;\n }\n}\nfunction $c8be1cdf4517af1c$var$initGpg() {\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nfunction $c8be1cdf4517af1c$var$assertGpgFileName(fileName) {\n if (!fileName.endsWith(\".gpg\")) throw new Error(`Key file name must end with .gpg: ${fileName}`);\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* eslint-disable require-atomic-updates */ let $57f166e9ea32e0a9$var$binDir;\nasync function $57f166e9ea32e0a9$export$c5eeb9c87a610a0e(options = {}) {\n // brew is only available on darwin and linux\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n // check if the function has already been called\n if (typeof $57f166e9ea32e0a9$var$binDir === \"string\") return {\n binDir: $57f166e9ea32e0a9$var$binDir\n };\n // check if brew is already installed\n const maybeBinDir = await (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports)))(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $57f166e9ea32e0a9$var$binDir = (0, $hh2Bt$path.dirname)(maybeBinDir);\n return {\n binDir: $57f166e9ea32e0a9$var$binDir\n };\n }\n // download the installation script\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dl = new (0, $62686e7378463a66$exports.DownloaderHelper)(\"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\", (0, $hh2Bt$os.tmpdir)(), {\n fileName: \"install-brew.sh\"\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download the brew installer script: ${err}`);\n });\n await dl.start();\n // brew installation is not thread-safe\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"/bin/bash\", [\n dl.getDownloadPath()\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n // add the bin directory to the PATH\n $57f166e9ea32e0a9$var$binDir = $57f166e9ea32e0a9$export$2b05267713308cc();\n await (0, $87723acb40accf13$export$4c25481b843feb0b)($57f166e9ea32e0a9$var$binDir, options.rcOptions);\n return {\n binDir: $57f166e9ea32e0a9$var$binDir\n };\n}\nfunction $57f166e9ea32e0a9$export$2b05267713308cc() {\n if (process.platform === \"darwin\") {\n if (process.arch === \"arm64\") return \"/opt/homebrew/bin/\";\n else return \"/usr/local/bin/\";\n }\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n throw new Error(\"Unsupported platform for brew\");\n}\n\n\n/* eslint-disable require-atomic-updates */ let $d6240ef05c57ce77$var$hasBrew = false;\nasync function $d6240ef05c57ce77$export$72d03060ad30aa7f(name, version, givenOptions = {}) {\n const options = {\n overwrite: true,\n cask: false,\n args: [],\n ...givenOptions\n };\n (0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via brew`);\n if (!$d6240ef05c57ce77$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $57f166e9ea32e0a9$export$c5eeb9c87a610a0e)();\n $d6240ef05c57ce77$var$hasBrew = true;\n }\n const binDir = (0, $57f166e9ea32e0a9$export$2b05267713308cc)();\n const brewPath = (0, $hh2Bt$path.join)(binDir, \"brew\");\n // Args\n const args = [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name\n ];\n if (options.overwrite) args.push(\"--overwrite\");\n if (options.cask) args.push(\"--cask\");\n // brew is not thread-safe\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(brewPath, args, {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n\n\n\n\n\n\n\nlet $cbc3e193f1217bd7$var$hasDnfCache = undefined;\nfunction $cbc3e193f1217bd7$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($cbc3e193f1217bd7$var$hasDnfCache === undefined) $cbc3e193f1217bd7$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $cbc3e193f1217bd7$var$hasDnfCache;\n}\n\n\n\nlet $c4b56061e0dbde5f$var$isArchCache = undefined;\nfunction $c4b56061e0dbde5f$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($c4b56061e0dbde5f$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $c4b56061e0dbde5f$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $c4b56061e0dbde5f$var$isArchCache;\n}\n\n\n\nlet $0f4e7dc450142f89$var$isUbuntuCache = undefined;\nfunction $0f4e7dc450142f89$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($0f4e7dc450142f89$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $0f4e7dc450142f89$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $0f4e7dc450142f89$var$isUbuntuCache;\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n/* eslint-disable require-atomic-updates */ let $8937fb0e5906a8f2$var$binDir;\nasync function $8937fb0e5906a8f2$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $8937fb0e5906a8f2$var$binDir === \"string\") return {\n binDir: $8937fb0e5906a8f2$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $8937fb0e5906a8f2$var$binDir = (0, $drEX5.dirname)(maybeBinDir);\n return {\n binDir: $8937fb0e5906a8f2$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(powershell, [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\"\n ], {\n stdio: \"inherit\"\n });\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(chocoPath, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"choco\", {\n nothrow: true\n });\n var _process_env_ChocolateyInstall;\n if (maybeChoco !== null) $8937fb0e5906a8f2$var$binDir = (0, $drEX5.dirname)(maybeChoco);\n else $8937fb0e5906a8f2$var$binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $ibhuk.pathExists)($8937fb0e5906a8f2$var$binDir)) return {\n binDir: $8937fb0e5906a8f2$var$binDir\n };\n return undefined;\n}\n\n\n\nlet $a1d9f9e35ead513b$var$hasChoco = false;\nasync function $a1d9f9e35ead513b$export$9f6912bc890040b2(name, version, args = []) {\n (0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via chocolatey`);\n if (!$a1d9f9e35ead513b$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $8937fb0e5906a8f2$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $a1d9f9e35ead513b$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n env.TMP = undefined;\n env.TEMP = undefined;\n env.Path = undefined;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $pcnv8.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n var _process_env_ChocolateyInstall;\n const binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n}\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nasync function $d6741ec1214892d9$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$d6741ec1214892d9$var$getDnfArg(pack.name, pack.version)));\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $d6741ec1214892d9$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $pcnv8.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\nasync function $20c231c8127800bc$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $c8be1cdf4517af1c$export$118a136d06dbf4dc)({\n fileName: \"bazel-archive-keyring.gpg\",\n keyUrl: \"https://bazel.build/bazel-release.pub.gpg\"\n });\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`\n ]);\n return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n/* eslint-disable require-atomic-updates */ let $debaf44f90dd37c4$var$didUpdate = false;\nlet $debaf44f90dd37c4$var$didInit = false;\nasync function $debaf44f90dd37c4$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$debaf44f90dd37c4$var$didUpdate && aur !== \"yay\") {\n (0, $286498bcaea3fca1$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $debaf44f90dd37c4$var$didUpdate = true;\n }\n // install base-devel\n if (!$debaf44f90dd37c4$var$didInit && aur !== \"yay\") {\n (0, $286498bcaea3fca1$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $debaf44f90dd37c4$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $286498bcaea3fca1$export$58f152936f209932)(aur !== null && aur !== void 0 ? aur : pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $debaf44f90dd37c4$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $pcnv8.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $debaf44f90dd37c4$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $debaf44f90dd37c4$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($debaf44f90dd37c4$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\nfunction $8885272da446ac43$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"ccache\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\n\nvar $2032c186687979ea$exports = {};\n\nvar $2032c186687979ea$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $2032c186687979ea$var$__createBinding = $2032c186687979ea$exports && $2032c186687979ea$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $2032c186687979ea$var$__setModuleDefault = $2032c186687979ea$exports && $2032c186687979ea$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $2032c186687979ea$var$__importStar = $2032c186687979ea$exports && $2032c186687979ea$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $2032c186687979ea$var$__createBinding(result, mod, k);\n }\n $2032c186687979ea$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $2032c186687979ea$var$__awaiter = $2032c186687979ea$exports && $2032c186687979ea$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $2032c186687979ea$var$__importDefault = $2032c186687979ea$exports && $2032c186687979ea$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($2032c186687979ea$exports, \"__esModule\", {\n value: true\n});\n$2032c186687979ea$exports.evaluateVersions = $2032c186687979ea$exports.isExplicitVersion = $2032c186687979ea$exports.findFromManifest = $2032c186687979ea$exports.getManifestFromRepo = $2032c186687979ea$exports.findAllVersions = $2032c186687979ea$exports.find = $2032c186687979ea$exports.cacheFile = $2032c186687979ea$exports.cacheDir = $2032c186687979ea$exports.extractZip = $2032c186687979ea$exports.extractXar = $2032c186687979ea$exports.extractTar = $2032c186687979ea$exports.extract7z = $2032c186687979ea$exports.downloadTool = $2032c186687979ea$exports.HTTPError = void 0;\n\nconst $2032c186687979ea$var$core = $2032c186687979ea$var$__importStar((parcelRequire(\"k1l4q\")));\n\nconst $2032c186687979ea$var$io = $2032c186687979ea$var$__importStar((parcelRequire(\"g9WSN\")));\n\nconst $2032c186687979ea$var$fs = $2032c186687979ea$var$__importStar($hh2Bt$fs);\n\nconst $2032c186687979ea$var$mm = $2032c186687979ea$var$__importStar((parcelRequire(\"6kHxT\")));\n\nconst $2032c186687979ea$var$os = $2032c186687979ea$var$__importStar($hh2Bt$os);\n\nconst $2032c186687979ea$var$path = $2032c186687979ea$var$__importStar($hh2Bt$path);\n\nconst $2032c186687979ea$var$httpm = $2032c186687979ea$var$__importStar((parcelRequire(\"3bZps\")));\n\nconst $2032c186687979ea$var$semver = $2032c186687979ea$var$__importStar((parcelRequire(\"a5mzA\")));\n\nconst $2032c186687979ea$var$stream = $2032c186687979ea$var$__importStar($hh2Bt$stream);\n\nconst $2032c186687979ea$var$util = $2032c186687979ea$var$__importStar($hh2Bt$util);\n\n\nconst $2032c186687979ea$var$v4_1 = $2032c186687979ea$var$__importDefault((parcelRequire(\"iFKS7\")));\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\nvar $a3103f5469ee5040$exports = {};\n\"use strict\";\nvar $a3103f5469ee5040$var$__createBinding = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a3103f5469ee5040$var$__setModuleDefault = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a3103f5469ee5040$var$__importStar = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a3103f5469ee5040$var$__createBinding(result, mod, k);\n }\n $a3103f5469ee5040$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $a3103f5469ee5040$var$__awaiter = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($a3103f5469ee5040$exports, \"__esModule\", {\n value: true\n});\n$a3103f5469ee5040$exports.RetryHelper = void 0;\n\nconst $a3103f5469ee5040$var$core = $a3103f5469ee5040$var$__importStar((parcelRequire(\"k1l4q\")));\n/**\n * Internal class for retries\n */ class $a3103f5469ee5040$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $a3103f5469ee5040$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $a3103f5469ee5040$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $a3103f5469ee5040$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $a3103f5469ee5040$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$a3103f5469ee5040$exports.RetryHelper = $a3103f5469ee5040$var$RetryHelper;\n\n\nclass $2032c186687979ea$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$2032c186687979ea$exports.HTTPError = $2032c186687979ea$var$HTTPError;\nconst $2032c186687979ea$var$IS_WINDOWS = process.platform === \"win32\";\nconst $2032c186687979ea$var$IS_MAC = process.platform === \"darwin\";\nconst $2032c186687979ea$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $2032c186687979ea$var$downloadTool(url, dest, auth, headers) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $2032c186687979ea$var$path.join($2032c186687979ea$var$_getTempDirectory(), $2032c186687979ea$var$v4_1.default());\n yield $2032c186687979ea$var$io.mkdirP($2032c186687979ea$var$path.dirname(dest));\n $2032c186687979ea$var$core.debug(`Downloading ${url}`);\n $2032c186687979ea$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $2032c186687979ea$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $2032c186687979ea$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $a3103f5469ee5040$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n return yield $2032c186687979ea$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $2032c186687979ea$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$2032c186687979ea$exports.downloadTool = $2032c186687979ea$var$downloadTool;\nfunction $2032c186687979ea$var$downloadToolAttempt(url, dest, auth, headers) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if ($2032c186687979ea$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $2032c186687979ea$var$httpm.HttpClient($2032c186687979ea$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $2032c186687979ea$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $2032c186687979ea$var$HTTPError(response.message.statusCode);\n $2032c186687979ea$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $2032c186687979ea$var$util.promisify($2032c186687979ea$var$stream.pipeline);\n const responseMessageFactory = $2032c186687979ea$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $2032c186687979ea$var$fs.createWriteStream(dest));\n $2032c186687979ea$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $2032c186687979ea$var$core.debug(\"download failed\");\n try {\n yield $2032c186687979ea$var$io.rmRF(dest);\n } catch (err) {\n $2032c186687979ea$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extract7z(file, dest, _7zPath) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n $hh2Bt$assert.ok($2032c186687979ea$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $hh2Bt$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $2032c186687979ea$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $ca0ts.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $2032c186687979ea$var$path.join($2032c186687979ea$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $2032c186687979ea$var$io.which(\"powershell\", true);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$2032c186687979ea$exports.extract7z = $2032c186687979ea$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extractTar(file, dest, flags = \"xz\") {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $2032c186687979ea$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $ca0ts.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $2032c186687979ea$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($2032c186687979ea$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($2032c186687979ea$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $ca0ts.exec(`tar`, args);\n return dest;\n });\n}\n$2032c186687979ea$exports.extractTar = $2032c186687979ea$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extractXar(file, dest, flags = []) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n $hh2Bt$assert.ok($2032c186687979ea$var$IS_MAC, \"extractXar() not supported on current OS\");\n $hh2Bt$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($2032c186687979ea$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $2032c186687979ea$var$io.which(\"xar\", true);\n yield $ca0ts.exec(`\"${xarPath}\"`, $2032c186687979ea$var$_unique(args));\n return dest;\n });\n}\n$2032c186687979ea$exports.extractXar = $2032c186687979ea$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extractZip(file, dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n if ($2032c186687979ea$var$IS_WINDOWS) yield $2032c186687979ea$var$extractZipWin(file, dest);\n else yield $2032c186687979ea$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$2032c186687979ea$exports.extractZip = $2032c186687979ea$var$extractZip;\nfunction $2032c186687979ea$var$extractZipWin(file, dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $2032c186687979ea$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $2032c186687979ea$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $ca0ts.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $2032c186687979ea$var$io.which(\"powershell\", true);\n $2032c186687979ea$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $2032c186687979ea$var$extractZipNix(file, dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $2032c186687979ea$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$2032c186687979ea$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $ca0ts.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $2032c186687979ea$var$cacheDir(sourceDir, tool, version, arch) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n version = $2032c186687979ea$var$semver.clean(version) || version;\n arch = arch || $2032c186687979ea$var$os.arch();\n $2032c186687979ea$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $2032c186687979ea$var$core.debug(`source dir: ${sourceDir}`);\n if (!$2032c186687979ea$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $2032c186687979ea$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $2032c186687979ea$var$fs.readdirSync(sourceDir)){\n const s = $2032c186687979ea$var$path.join(sourceDir, itemName);\n yield $2032c186687979ea$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $2032c186687979ea$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$2032c186687979ea$exports.cacheDir = $2032c186687979ea$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $2032c186687979ea$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n version = $2032c186687979ea$var$semver.clean(version) || version;\n arch = arch || $2032c186687979ea$var$os.arch();\n $2032c186687979ea$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $2032c186687979ea$var$core.debug(`source file: ${sourceFile}`);\n if (!$2032c186687979ea$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $2032c186687979ea$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $2032c186687979ea$var$path.join(destFolder, targetFile);\n $2032c186687979ea$var$core.debug(`destination file ${destPath}`);\n yield $2032c186687979ea$var$io.cp(sourceFile, destPath);\n // write .complete\n $2032c186687979ea$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$2032c186687979ea$exports.cacheFile = $2032c186687979ea$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $2032c186687979ea$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $2032c186687979ea$var$os.arch();\n // attempt to resolve an explicit version\n if (!$2032c186687979ea$var$isExplicitVersion(versionSpec)) {\n const localVersions = $2032c186687979ea$var$findAllVersions(toolName, arch);\n const match = $2032c186687979ea$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $2032c186687979ea$var$semver.clean(versionSpec) || \"\";\n const cachePath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $2032c186687979ea$var$core.debug(`checking cache: ${cachePath}`);\n if ($2032c186687979ea$var$fs.existsSync(cachePath) && $2032c186687979ea$var$fs.existsSync(`${cachePath}.complete`)) {\n $2032c186687979ea$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $2032c186687979ea$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$2032c186687979ea$exports.find = $2032c186687979ea$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $2032c186687979ea$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $2032c186687979ea$var$os.arch();\n const toolPath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), toolName);\n if ($2032c186687979ea$var$fs.existsSync(toolPath)) {\n const children = $2032c186687979ea$var$fs.readdirSync(toolPath);\n for (const child of children)if ($2032c186687979ea$var$isExplicitVersion(child)) {\n const fullPath = $2032c186687979ea$var$path.join(toolPath, child, arch || \"\");\n if ($2032c186687979ea$var$fs.existsSync(fullPath) && $2032c186687979ea$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$2032c186687979ea$exports.findAllVersions = $2032c186687979ea$var$findAllVersions;\nfunction $2032c186687979ea$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $2032c186687979ea$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $2032c186687979ea$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $2032c186687979ea$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$2032c186687979ea$exports.getManifestFromRepo = $2032c186687979ea$var$getManifestFromRepo;\nfunction $2032c186687979ea$var$findFromManifest(versionSpec, stable, manifest, archFilter = $2032c186687979ea$var$os.arch()) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $2032c186687979ea$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$2032c186687979ea$exports.findFromManifest = $2032c186687979ea$var$findFromManifest;\nfunction $2032c186687979ea$var$_createExtractFolder(dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getTempDirectory(), $2032c186687979ea$var$v4_1.default());\n yield $2032c186687979ea$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $2032c186687979ea$var$_createToolPath(tool, version, arch) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), tool, $2032c186687979ea$var$semver.clean(version) || version, arch || \"\");\n $2032c186687979ea$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $2032c186687979ea$var$io.rmRF(folderPath);\n yield $2032c186687979ea$var$io.rmRF(markerPath);\n yield $2032c186687979ea$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $2032c186687979ea$var$_completeToolPath(tool, version, arch) {\n const folderPath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), tool, $2032c186687979ea$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $2032c186687979ea$var$fs.writeFileSync(markerPath, \"\");\n $2032c186687979ea$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $2032c186687979ea$var$isExplicitVersion(versionSpec) {\n const c = $2032c186687979ea$var$semver.clean(versionSpec) || \"\";\n $2032c186687979ea$var$core.debug(`isExplicit: ${c}`);\n const valid = $2032c186687979ea$var$semver.valid(c) != null;\n $2032c186687979ea$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$2032c186687979ea$exports.isExplicitVersion = $2032c186687979ea$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $2032c186687979ea$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $2032c186687979ea$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($2032c186687979ea$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $2032c186687979ea$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $2032c186687979ea$var$core.debug(`matched: ${version}`);\n else $2032c186687979ea$var$core.debug(\"match not found\");\n return version;\n}\n$2032c186687979ea$exports.evaluateVersions = $2032c186687979ea$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $2032c186687979ea$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $hh2Bt$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $2032c186687979ea$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $hh2Bt$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $2032c186687979ea$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $2032c186687979ea$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\nvar $9ad30fc3d2fcf0f6$exports = {};\n\"use strict\";\nObject.defineProperty($9ad30fc3d2fcf0f6$exports, \"__esModule\", {\n value: true\n});\n$9ad30fc3d2fcf0f6$exports.retryAsPromised = $9ad30fc3d2fcf0f6$exports.TimeoutError = void 0;\nclass $9ad30fc3d2fcf0f6$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$9ad30fc3d2fcf0f6$exports.TimeoutError = $9ad30fc3d2fcf0f6$var$TimeoutError;\nfunction $9ad30fc3d2fcf0f6$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $9ad30fc3d2fcf0f6$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $9ad30fc3d2fcf0f6$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $9ad30fc3d2fcf0f6$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $9ad30fc3d2fcf0f6$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $9ad30fc3d2fcf0f6$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$9ad30fc3d2fcf0f6$exports.retryAsPromised = $9ad30fc3d2fcf0f6$var$retryAsPromised;\n$9ad30fc3d2fcf0f6$exports.default = $9ad30fc3d2fcf0f6$var$retryAsPromised;\n\n\n\n\nvar $g9WSN = parcelRequire(\"g9WSN\");\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\n\n\n\n\n\n\n\nfunction $fb82248e8974c296$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"p7zip\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\n\nvar $d07bf20a0d39a78b$export$9b5fafdc242c3687;\n(function(ArchiveType) {\n ArchiveType[ArchiveType[\"Tar\"] = 0] = \"Tar\";\n ArchiveType[ArchiveType[\"TarGz\"] = 1] = \"TarGz\";\n ArchiveType[ArchiveType[\"TarXz\"] = 2] = \"TarXz\";\n ArchiveType[ArchiveType[\"Zip\"] = 3] = \"Zip\";\n ArchiveType[ArchiveType[\"SevenZip\"] = 4] = \"SevenZip\";\n})($d07bf20a0d39a78b$export$9b5fafdc242c3687 || ($d07bf20a0d39a78b$export$9b5fafdc242c3687 = {}));\nfunction $d07bf20a0d39a78b$export$3628f1147c560166(file) {\n const ext = file.split(\".\").pop();\n if (ext === \"tar\") return 0;\n if (ext === \"gz\" || ext === \"tgz\") return 1;\n if (ext === \"xz\" || ext === \"txz\") return 2;\n if (ext === \"zip\") return 3;\n if (ext === \"7z\" || ext === \"exe\") return 4;\n // default to 7z\n (0, $pcnv8.warning)(`Unknown archive type: ${ext}. Defaulting to 7z`);\n return 4;\n}\nfunction $d07bf20a0d39a78b$export$d2992a902ce784d7(archiveType) {\n switch(archiveType){\n case 0:\n case 1:\n return $d07bf20a0d39a78b$export$2ab07ac150064014;\n case 2:\n return $d07bf20a0d39a78b$export$2ab07ac150064014;\n case 3:\n return $d07bf20a0d39a78b$export$6411c5cbab21135b;\n default:\n return $d07bf20a0d39a78b$export$eecfe186811d4a20;\n }\n}\nlet $d07bf20a0d39a78b$var$sevenZip;\nasync function $d07bf20a0d39a78b$export$eecfe186811d4a20(file, dest) {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(await $d07bf20a0d39a78b$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $410f384959a3ffde$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $d07bf20a0d39a78b$var$getSevenZip() {\n if ($d07bf20a0d39a78b$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $fb82248e8974c296$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $d07bf20a0d39a78b$var$sevenZip = \"7z\";\n }\n return $d07bf20a0d39a78b$var$sevenZip;\n}\nfunction $d07bf20a0d39a78b$export$7949938b2681a4f0(file, dest) {\n return $d07bf20a0d39a78b$export$eecfe186811d4a20(file, dest);\n}\nasync function $d07bf20a0d39a78b$export$6411c5cbab21135b(file, dest) {\n // if unzip is available use it\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"unzip\", {\n nothrow: true\n }) !== null) {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"unzip\", [\n file,\n \"-d\",\n dest\n ], {\n stdio: \"inherit\"\n });\n await (0, $410f384959a3ffde$export$4718e061a205eab)(dest);\n return dest;\n }\n return $d07bf20a0d39a78b$export$eecfe186811d4a20(file, dest);\n}\nasync function $d07bf20a0d39a78b$export$2ab07ac150064014(file, dest, stripComponents = 0, flags = []) {\n await $d07bf20a0d39a78b$var$installTarDependencies($d07bf20a0d39a78b$export$3628f1147c560166(file));\n try {\n await (0, $g9WSN.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n `--strip-components=${stripComponents}`,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $pcnv8.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n await (0, $410f384959a3ffde$export$4718e061a205eab)(dest);\n return dest;\n}\nasync function $d07bf20a0d39a78b$var$installTarDependencies(archiveType) {\n (0, $pcnv8.info)(\"Installing tar extraction dependencies\");\n switch(archiveType){\n case 1:\n if (process.platform === \"linux\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) {\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gzip\");\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"tar\");\n } else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"gzip\"\n },\n {\n name: \"tar\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gzip\"\n },\n {\n name: \"tar\"\n }\n ]);\n }\n break;\n case 2:\n if (process.platform === \"linux\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) {\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"xz\");\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"tar\");\n } else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"xz\"\n },\n {\n name: \"tar\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"xz-utils\"\n },\n {\n name: \"tar\"\n }\n ]);\n }\n break;\n default:\n throw new Error(`Unsupported archive type: ${archiveType} for tar extraction`);\n }\n}\n\n\nasync function $5378b225b5c95af5$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $pcnv8.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n var _process_env_RUNNER_TEMP;\n process.env.RUNNER_TEMP = (_process_env_RUNNER_TEMP = process.env.RUNNER_TEMP) !== null && _process_env_RUNNER_TEMP !== void 0 ? _process_env_RUNNER_TEMP : (0, $hh2Bt$os.tmpdir)();\n var _process_env_RUNNER_TOOL_CACHE;\n process.env.RUNNER_TOOL_CACHE = (_process_env_RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE) !== null && _process_env_RUNNER_TOOL_CACHE !== void 0 ? _process_env_RUNNER_TOOL_CACHE : (0, $drEX5.join)((0, $hh2Bt$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $dKklS.GITHUB_ACTIONS) try {\n const dir = (0, $2032c186687979ea$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $drEX5.join)(dir, extractedFolderName);\n const binDir = (0, $drEX5.join)(installDir, binRelativeDir);\n if (await (0, $ibhuk.pathExists)((0, $drEX5.join)(binDir, binFileName))) {\n (0, $pcnv8.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $drEX5.join)(setupDir, extractedFolderName);\n const binDir = (0, $drEX5.join)(installDir, binRelativeDir);\n const binFile = (0, $drEX5.join)(binDir, binFileName);\n await $5378b225b5c95af5$var$downloadExtractInstall(binDir, binFile, name, version, url, setupDir, extractFunction, arch);\n await $5378b225b5c95af5$var$cacheInstallation(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\nasync function $5378b225b5c95af5$var$downloadExtractInstall(binDir, binFile, name, version, url, setupDir, givenExtractFunction, arch) {\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $ibhuk.pathExists)(binDir),\n (0, $ibhuk.pathExists)(binFile)\n ])).includes(false)) try {\n const downloaded = await $5378b225b5c95af5$var$tryDownload(name, version, url);\n (0, $pcnv8.info)(`Extracting ${downloaded} to ${setupDir}`);\n const extractFunction = givenExtractFunction !== null && givenExtractFunction !== void 0 ? givenExtractFunction : (0, $d07bf20a0d39a78b$export$d2992a902ce784d7)((0, $d07bf20a0d39a78b$export$3628f1147c560166)(url));\n await extractFunction(downloaded, setupDir);\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`);\n }\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $pcnv8.info)(`Add ${binDir} to PATH`);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n // Check if the binary exists after extraction\n if (!await (0, $ibhuk.pathExists)(binFile)) throw new Error(`Failed to find the binary ${binFile} after extracting ${name} ${version} ${arch}`);\n // make the binary executable on non-windows platforms\n if (process.platform !== \"win32\") try {\n await (0, $6vN83.chmod)(binFile, \"755\");\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to make ${binFile} executable: ${err}`);\n }\n}\nasync function $5378b225b5c95af5$var$tryDownload(name, version, url) {\n (0, $pcnv8.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($9ad30fc3d2fcf0f6$exports)))(()=>{\n var _process_env_RUNNER_TEMP;\n const downloadedFilePath = (0, $drEX5.join)((_process_env_RUNNER_TEMP = process.env.RUNNER_TEMP) !== null && _process_env_RUNNER_TEMP !== void 0 ? _process_env_RUNNER_TEMP : (0, $hh2Bt$os.tmpdir)(), `${Date.now()}-${(0, $hh2Bt$path.basename)(url)}`);\n return (0, $2032c186687979ea$exports.downloadTool)(url, downloadedFilePath);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $pcnv8.info)(err)\n });\n return downloaded;\n}\nasync function $5378b225b5c95af5$var$cacheInstallation(setupDir, name, version) {\n // check if inside Github Actions. If so, cache the installation\n if ((0, $dKklS.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n if ((0, $2a317fef4818a0d7$export$fc4ce4d885cb1082)(\"cache-tools\") === \"true\" || process.env.CACHE_TOOLS === \"true\") await (0, $2032c186687979ea$exports.cacheDir)(setupDir, name, version);\n }\n}\n\n\n/** Get the platform data for cmake */ function $775e54fd09f86a26$var$getCmakePackageInfo(version, platform, arch) {\n var _semverCoerce;\n const semVersion = (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(semVersion, \"v3.19.1\");\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nfunction $775e54fd09f86a26$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"cmake\", version, $775e54fd09f86a26$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\n\n\nconst $fe011e029754d49c$export$edfda2f049ea6cd1 = (opts)=>{\n if (!opts) opts = {\n mode: 511\n };\n else if (typeof opts === \"object\") opts = {\n mode: 511,\n ...opts\n };\n else if (typeof opts === \"number\") opts = {\n mode: opts\n };\n else if (typeof opts === \"string\") opts = {\n mode: parseInt(opts, 8)\n };\n else throw new TypeError(\"invalid options argument\");\n const resolved = opts;\n const optsFs = opts.fs || {};\n opts.mkdir = opts.mkdir || optsFs.mkdir || (0, $hh2Bt$fs.mkdir);\n opts.mkdirAsync = opts.mkdirAsync ? opts.mkdirAsync : async (path, options)=>{\n return new Promise((res, rej)=>resolved.mkdir(path, options, (er, made)=>er ? rej(er) : res(made)));\n };\n opts.stat = opts.stat || optsFs.stat || (0, $hh2Bt$fs.stat);\n opts.statAsync = opts.statAsync ? opts.statAsync : async (path)=>new Promise((res, rej)=>resolved.stat(path, (err, stats)=>err ? rej(err) : res(stats)));\n opts.statSync = opts.statSync || optsFs.statSync || (0, $hh2Bt$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $hh2Bt$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $4cab7f00ed99eaa0$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $hh2Bt$path.dirname)(path);\n const opts = {\n ...(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options),\n recursive: false\n };\n if (parent === path) try {\n return opts.mkdirSync(path, opts);\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n return;\n }\n try {\n opts.mkdirSync(path, opts);\n return made || path;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $4cab7f00ed99eaa0$export$fa6f1b792dc805a5(path, opts, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5(parent, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer && fer.code !== \"EROFS\") throw er;\n try {\n if (!opts.statSync(path).isDirectory()) throw er;\n } catch (_) {\n throw er;\n }\n }\n};\nconst $4cab7f00ed99eaa0$export$96a3a6083628c9d8 = Object.assign(async (path, options, made)=>{\n const opts = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options);\n opts.recursive = false;\n const parent = (0, $hh2Bt$path.dirname)(path);\n if (parent === path) return opts.mkdirAsync(path, opts).catch((er)=>{\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n });\n return opts.mkdirAsync(path, opts).then(()=>made || path, async (er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $4cab7f00ed99eaa0$export$96a3a6083628c9d8(parent, opts).then((made)=>$4cab7f00ed99eaa0$export$96a3a6083628c9d8(path, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer.code !== \"EROFS\") throw er;\n return opts.statAsync(path).then((st)=>{\n if (st.isDirectory()) return made;\n else throw er;\n }, ()=>{\n throw er;\n });\n });\n}, {\n sync: $4cab7f00ed99eaa0$export$fa6f1b792dc805a5\n});\n\n\n\n\nconst $37be04b93e3fbc05$export$f0fc1d32fc1d7461 = async (opts, parent, path)=>{\n // we never want the 'made' return value to be a root directory\n if (path === parent) return;\n return opts.statAsync(parent).then((st)=>st.isDirectory() ? path : undefined, // will fail later\n (er)=>{\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $37be04b93e3fbc05$export$f0fc1d32fc1d7461(opts, (0, $hh2Bt$path.dirname)(parent), parent) : undefined;\n });\n};\nconst $37be04b93e3fbc05$export$5bbea51519185a10 = (opts, parent, path)=>{\n if (path === parent) return undefined;\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined;\n } catch (er) {\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $37be04b93e3fbc05$export$5bbea51519185a10(opts, (0, $hh2Bt$path.dirname)(parent), parent) : undefined;\n }\n};\n\n\n\n\nconst $94c5837ac9718ea5$export$abcdbcf229aec40d = (path, options)=>{\n const opts = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options);\n opts.recursive = true;\n const parent = (0, $hh2Bt$path.dirname)(path);\n if (parent === path) return opts.mkdirSync(path, opts);\n const made = (0, $37be04b93e3fbc05$export$5bbea51519185a10)(opts, path);\n try {\n opts.mkdirSync(path, opts);\n return made;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5)(path, opts);\n else throw er;\n }\n};\nconst $94c5837ac9718ea5$export$efd8fb7a8c453d34 = Object.assign(async (path, options)=>{\n const opts = {\n ...(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options),\n recursive: true\n };\n const parent = (0, $hh2Bt$path.dirname)(path);\n if (parent === path) return await opts.mkdirAsync(path, opts);\n return (0, $37be04b93e3fbc05$export$f0fc1d32fc1d7461)(opts, path).then((made)=>opts.mkdirAsync(path, opts).then((m)=>made || m).catch((er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8)(path, opts);\n else throw er;\n }));\n}, {\n sync: $94c5837ac9718ea5$export$abcdbcf229aec40d\n});\n\n\n\n\nconst $2cf7d964e5cc0fd3$var$platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;\nconst $2cf7d964e5cc0fd3$export$84f52eb1a6059876 = (path)=>{\n if (/\\0/.test(path)) // simulate same failure that node raises\n throw Object.assign(new TypeError(\"path must be a string without null bytes\"), {\n path: path,\n code: \"ERR_INVALID_ARG_VALUE\"\n });\n path = (0, $hh2Bt$path.resolve)(path);\n if ($2cf7d964e5cc0fd3$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $hh2Bt$path.parse)(path);\n if (badWinChars.test(path.substring(root.length))) throw Object.assign(new Error(\"Illegal characters in path.\"), {\n path: path,\n code: \"EINVAL\"\n });\n }\n return path;\n};\n\n\n\n\nconst $4f2a5ee0ce6c9fe4$var$version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version;\nconst $4f2a5ee0ce6c9fe4$var$versArr = $4f2a5ee0ce6c9fe4$var$version.replace(/^v/, \"\").split(\".\");\nconst $4f2a5ee0ce6c9fe4$var$hasNative = +$4f2a5ee0ce6c9fe4$var$versArr[0] > 10 || +$4f2a5ee0ce6c9fe4$var$versArr[0] === 10 && +$4f2a5ee0ce6c9fe4$var$versArr[1] >= 12;\nconst $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a = !$4f2a5ee0ce6c9fe4$var$hasNative ? ()=>false : (opts)=>(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts).mkdirSync === (0, $hh2Bt$fs.mkdirSync);\nconst $4f2a5ee0ce6c9fe4$export$875f149e5ea533c1 = Object.assign(!$4f2a5ee0ce6c9fe4$var$hasNative ? ()=>false : (opts)=>(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts).mkdir === (0, $hh2Bt$fs.mkdir), {\n sync: $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a\n});\n\n\nconst $70093e4bae962030$export$f5e50515bfceb13b = (path, opts)=>{\n path = (0, $2cf7d964e5cc0fd3$export$84f52eb1a6059876)(path);\n const resolved = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts);\n return (0, $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a)(resolved) ? (0, $94c5837ac9718ea5$export$abcdbcf229aec40d)(path, resolved) : (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5)(path, resolved);\n};\nconst $70093e4bae962030$export$92d6409d68f0739a = $70093e4bae962030$export$f5e50515bfceb13b;\nconst $70093e4bae962030$export$d5db38ffe1f43b01 = (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8);\nconst $70093e4bae962030$export$36e1c11973ff5d6a = (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5);\nconst $70093e4bae962030$export$e199e4a0c0335c4f = (0, $94c5837ac9718ea5$export$efd8fb7a8c453d34);\nconst $70093e4bae962030$export$dd70f1af61563969 = (0, $94c5837ac9718ea5$export$abcdbcf229aec40d);\nconst $70093e4bae962030$export$fd6858aa0f578dc7 = Object.assign(async (path, opts)=>{\n path = (0, $2cf7d964e5cc0fd3$export$84f52eb1a6059876)(path);\n const resolved = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts);\n return (0, $4f2a5ee0ce6c9fe4$export$875f149e5ea533c1)(resolved) ? (0, $94c5837ac9718ea5$export$efd8fb7a8c453d34)(path, resolved) : (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8)(path, resolved);\n}, {\n mkdirpSync: $70093e4bae962030$export$f5e50515bfceb13b,\n mkdirpNative: $94c5837ac9718ea5$export$efd8fb7a8c453d34,\n mkdirpNativeSync: $94c5837ac9718ea5$export$abcdbcf229aec40d,\n mkdirpManual: $4cab7f00ed99eaa0$export$96a3a6083628c9d8,\n mkdirpManualSync: $4cab7f00ed99eaa0$export$fa6f1b792dc805a5,\n sync: $70093e4bae962030$export$f5e50515bfceb13b,\n native: (0, $94c5837ac9718ea5$export$efd8fb7a8c453d34),\n nativeSync: (0, $94c5837ac9718ea5$export$abcdbcf229aec40d),\n manual: (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8),\n manualSync: (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5),\n useNative: $4f2a5ee0ce6c9fe4$export$875f149e5ea533c1,\n useNativeSync: $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a\n});\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n// src/modules/https-utils.ts\n\n\nfunction $916a385c4d46b771$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $916a385c4d46b771$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $hh2Bt$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($916a385c4d46b771$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $916a385c4d46b771$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $hh2Bt$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $916a385c4d46b771$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $916a385c4d46b771$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $916a385c4d46b771$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $916a385c4d46b771$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $916a385c4d46b771$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\n\nvar $2owFL = parcelRequire(\"2owFL\");\nfunction $788ba5c4da878b74$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($fYuCK)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $788ba5c4da878b74$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $788ba5c4da878b74$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version);\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && await (0, $916a385c4d46b771$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $788ba5c4da878b74$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $916a385c4d46b771$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $788ba5c4da878b74$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $788ba5c4da878b74$export$5b54ecc7386538f(file, versionRegex = $788ba5c4da878b74$export$d7ab5e2d33b06cd5) {\n try {\n var _version_output_trim_match;\n const execout = await (0, $ca0ts.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = (_version_output_trim_match = version_output.trim().match(versionRegex)) === null || _version_output_trim_match === void 0 ? void 0 : _version_output_trim_match[1];\n var _semverCoerce;\n return (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $788ba5c4da878b74$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $788ba5c4da878b74$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $788ba5c4da878b74$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($fYuCK)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $788ba5c4da878b74$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2owFL)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version);\n if (coercedVersion !== null) {\n (0, $pcnv8.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $788ba5c4da878b74$export$b19007c0050a2fcc(version) {\n return Number.parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $788ba5c4da878b74$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\nfunction $788ba5c4da878b74$export$c5628088f192d2ef(tag1, tag2) {\n const v1 = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(tag1);\n const v2 = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(tag2);\n if (v1 !== null && v2 !== null) // put the latest version first\n return v2.compare(v1);\n // if the tags are not semver, compare them as strings, putting the latest tag first\n return tag2.localeCompare(tag1);\n}\n\n\nfunction $5e906f9774b6fdb4$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\nfunction $7a48c913c58c34bf$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.6\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n // the suffixes relate to the suffix in the llvm releases\n return \"17.0.6-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.6\";\n }\n}\nconst $7a48c913c58c34bf$export$5fb1985a02d8f66f = {\n llvm: $7a48c913c58c34bf$var$getLLVMDefault(),\n clangtidy: $7a48c913c58c34bf$var$getLLVMDefault(),\n clangformat: $7a48c913c58c34bf$var$getLLVMDefault(),\n ninja: \"1.12.1\",\n cmake: \"3.30.2\",\n gcovr: \"5.2\",\n conan: \"1.64.1\",\n meson: \"1.5.1\",\n kcov: \"42\",\n task: \"3.38.0\",\n doxygen: (0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() ? \"1.11.0-4\" : \"1.11.0\",\n gcc: process.platform === \"win32\" ? \"14.2.0posix-18.1.8-12.0.0-ucrt-r1\" : \"\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n powershell: \"7.4.5\"\n};\nconst $7a48c913c58c34bf$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $7a48c913c58c34bf$export$1bb63c984aa6e760 = {\n // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64\n mingw: {\n 24: \"8.0.0-1\",\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n // the suffixes relate to the suffix in the llvm releases\n llvm: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 24: \"6.0\",\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 24: \"1.0.0\",\n 22: \"1.0.0\",\n 20: \"1.0.0\",\n 18: \"0.61.4\"\n },\n nala: {\n 24: \"\",\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\"\n },\n kcov: {\n 24: \"42-binary\",\n 22: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n },\n doxygen: {\n 24: \"1.11.0\",\n 22: \"1.11.0\",\n 20: \"1.10.0\",\n 18: \"1.10.0\"\n }\n};\n\n\nasync function $644ae3dba93653dd$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $644ae3dba93653dd$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($hh2Bt$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $644ae3dba93653dd$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $644ae3dba93653dd$var$setupPipx(foundPython);\n await $644ae3dba93653dd$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $644ae3dba93653dd$var$setupPipx(foundPython) {\n try {\n if (!await (0, $725285b1d6baf678$export$ffe24b8e86dbc863)(foundPython)) try {\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n } catch (err) {\n if ((0, $725285b1d6baf678$export$6de3fef38027e326)(\"pipx\", false) === null) throw new Error(`pipx was not installed correctly ${err}`);\n }\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $644ae3dba93653dd$var$setupWheel(foundPython) {\n try {\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $644ae3dba93653dd$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $644ae3dba93653dd$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $drEX5.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $dKklS.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $pcnv8.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"eYDSL\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $644ae3dba93653dd$var$findPython(setupDir);\n if (foundPython === undefined) throw new Error(\"Python binary could not be found\");\n const binDir = (0, $drEX5.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $pcnv8.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $644ae3dba93653dd$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $644ae3dba93653dd$var$findPython(setupDir);\n if (foundPython === undefined) throw new Error(\"Python binary could not be found\");\n installInfo = {\n bin: foundPython,\n installDir: (0, $drEX5.dirname)(foundPython),\n binDir: (0, $drEX5.dirname)(foundPython)\n };\n }\n return installInfo;\n}\nasync function $644ae3dba93653dd$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $644ae3dba93653dd$var$findPython(setupDir);\n if (bin === undefined) throw new Error(\"Python binary could not be found\");\n const binDir = (0, $drEX5.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $drEX5.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(brewPythonBin, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n break;\n }\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) installInfo = await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) installInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $644ae3dba93653dd$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $644ae3dba93653dd$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n // On Windows, search in C:\\PythonXX\n if (process.platform === \"win32\") {\n const rootDir = (0, $hh2Bt$path.parse)((0, $hh2Bt$os.homedir)()).root;\n // find all directories in rootDir using readdir\n const pythonDirs = (await (0, $6vN83.readdir)(rootDir)).filter((dir)=>dir.startsWith(\"Python\"));\n for (const pythonDir of pythonDirs)for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $644ae3dba93653dd$var$isPythonUpToDate(pythonBin, (0, $drEX5.join)(rootDir, pythonDir));\n if (foundPython !== undefined) return foundPython;\n }\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $drEX5.join)(binDir, (0, $drEX5.addExeExt)(candidate));\n if (await (0, $ibhuk.pathExists)(pythonBinPath)) {\n if (await (0, $788ba5c4da878b74$export$d1f0d32b896ba08)(pythonBinPath, (0, $7a48c913c58c34bf$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n var _ref;\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pythonBinPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports)))(candidate, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $788ba5c4da878b74$export$d1f0d32b896ba08)(pythonBinPath, (0, $7a48c913c58c34bf$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$findOrSetupPip(foundPython) {\n const maybePip = await $644ae3dba93653dd$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $pcnv8.info)(\"pip was not found. Installing pip\");\n await $644ae3dba93653dd$var$setupPip(foundPython);\n return $644ae3dba93653dd$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $644ae3dba93653dd$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $644ae3dba93653dd$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$isPipUptoDate(pip) {\n try {\n var _ref;\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pipPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports)))(pip, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $788ba5c4da878b74$export$d1f0d32b896ba08)(pipPath, (0, $7a48c913c58c34bf$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$setupPip(foundPython) {\n const upgraded = await $644ae3dba93653dd$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $725285b1d6baf678$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $644ae3dba93653dd$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $644ae3dba93653dd$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $pcnv8.info)(err1.toString());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $pcnv8.info)(err2.toString());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $644ae3dba93653dd$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $ca0ts.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $drEX5.join)(base_exec_prefix, \"Scripts\"), (0, $drEX5.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $drEX5.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $5e906f9774b6fdb4$export$7a5d5c156e7dc406)(dirs);\n}\nconst $644ae3dba93653dd$export$4bf645347c3b7001 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($644ae3dba93653dd$var$addPythonBaseExecPrefix_raw, {\n promise: true\n});\n\n\n\nfunction $55351d2b97ee8aa4$export$c506eb22e615ba4a(name, version, osVersion = null) {\n var _DefaultVersions_name;\n if ($55351d2b97ee8aa4$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $7a48c913c58c34bf$export$1bb63c984aa6e760)) return $55351d2b97ee8aa4$var$getDefaultLinuxVersion(osVersion, (0, $7a48c913c58c34bf$export$1bb63c984aa6e760)[name]);\n else if ($55351d2b97ee8aa4$var$isVersionDefault(version) && name in (0, $7a48c913c58c34bf$export$5fb1985a02d8f66f)) return (_DefaultVersions_name = (0, $7a48c913c58c34bf$export$5fb1985a02d8f66f)[name]) !== null && _DefaultVersions_name !== void 0 ? _DefaultVersions_name : \"\";\n else if (version === \"true\") return \"\";\n return version !== null && version !== void 0 ? version : \"\";\n}\nfunction $55351d2b97ee8aa4$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $55351d2b97ee8aa4$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>Number.parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $55351d2b97ee8aa4$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$55351d2b97ee8aa4$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n for (const tool of toolsInUse)opts[tool] = targetVersion;\n return true;\n}\n\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $f095436a84b3b121$exports = {};\n\"use strict\";\nObject.defineProperty($f095436a84b3b121$exports, \"__esModule\", {\n value: true\n});\n$f095436a84b3b121$exports.getUbuntuVersion = void 0;\n\nfunction $f095436a84b3b121$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $f095436a84b3b121$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $hh2Bt$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($f095436a84b3b121$var$isSystemError(error) && error.code === \"ENOENT\") {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(\" \")}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function $f095436a84b3b121$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $f095436a84b3b121$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split(\"\\n\")){\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== \"Ubuntu\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$f095436a84b3b121$exports.getUbuntuVersion = $f095436a84b3b121$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\nasync function $f8e04f7ec4392c59$var$ubuntuVersion_raw() {\n try {\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $f8e04f7ec4392c59$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $f095436a84b3b121$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $f8e04f7ec4392c59$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $pcnv8.warning)(err.toString());\n return null;\n }\n}\nconst $f8e04f7ec4392c59$export$49c9cf1111dfa0ee = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($f8e04f7ec4392c59$var$ubuntuVersion_raw, {\n promise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $f8e04f7ec4392c59$var$detectUsingOsVersion() {\n if (!(\"version\" in (0, ($parcel$interopDefault($hh2Bt$os))) && typeof (0, ($parcel$interopDefault($hh2Bt$os))).version === \"function\")) return null;\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($hh2Bt$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = Number.parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = Number.parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = Number.parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\nasync function $725285b1d6baf678$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $725285b1d6baf678$export$7c60aea099ad1c1d(await $725285b1d6baf678$var$getPython(), name, version, options);\n}\nasync function $725285b1d6baf678$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $725285b1d6baf678$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $725285b1d6baf678$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $k1l4q.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n const env = process.env;\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await $725285b1d6baf678$var$getPipxHome();\n env.PIPX_BIN_DIR = await $725285b1d6baf678$var$getPipxBinDir();\n }\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\",\n env: env\n });\n } catch (err) {\n (0, $k1l4q.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $725285b1d6baf678$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $725285b1d6baf678$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $644ae3dba93653dd$export$4bf645347c3b7001)(givenPython);\n const binDir = await $725285b1d6baf678$var$findBinDir(execPaths, name);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n}\nasync function $725285b1d6baf678$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $725285b1d6baf678$var$getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME;\n if (pipxHome !== undefined) return pipxHome;\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.local/pipx\");\n if (await (0, $ibhuk.pathExists)(compatHome)) return compatHome;\n switch(process.platform){\n case \"win32\":\n pipxHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/AppData/Local/pipx\");\n break;\n case \"darwin\":\n pipxHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/Library/Application Support/pipx\");\n break;\n default:\n pipxHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.local/share/pipx\");\n break;\n }\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)(pipxHome);\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)((0, $drEX5.join)(pipxHome, \"trash\"));\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)((0, $drEX5.join)(pipxHome, \"shared\"));\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)((0, $drEX5.join)(pipxHome, \"venv\"));\n return pipxHome;\n}\nconst $725285b1d6baf678$var$getPipxHome = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($725285b1d6baf678$var$getPipxHome_raw, {\n promise: true\n});\nasync function $725285b1d6baf678$var$getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) return process.env.PIPX_BIN_DIR;\n const pipxBinDir = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.local/bin\");\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(pipxBinDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)(pipxBinDir);\n return pipxBinDir;\n}\nconst $725285b1d6baf678$var$getPipxBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($725285b1d6baf678$var$getPipxBinDir_raw, {\n promise: true\n});\nasync function $725285b1d6baf678$var$getPython_raw() {\n const pythonBin = (await (0, $644ae3dba93653dd$export$2b0b68e9df3d4a02)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $725285b1d6baf678$var$getPython = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($725285b1d6baf678$var$getPython_raw, {\n promise: true\n});\nasync function $725285b1d6baf678$var$pipHasPackage(python, name) {\n const result = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $725285b1d6baf678$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $ibhuk.pathExists)((0, $drEX5.join)(dir, (0, $drEX5.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync((0, $drEX5.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $drEX5.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $725285b1d6baf678$export$6de3fef38027e326(name, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n (0, $k1l4q.info)(`Installing ${name} via the system package manager`);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(addPythonPrefix ? `python-${name}` : name);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n }\n return null;\n}\n\n\nfunction $5decc72fe15dcad3$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $725285b1d6baf678$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $3b5b7f21aafe5be9$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $3b5b7f21aafe5be9$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $3b5b7f21aafe5be9$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return binDir;\n}\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $b19dce7371463457$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"graphviz\", version);\n return $b19dce7371463457$var$activateGraphviz();\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"graphviz\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $b19dce7371463457$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\n\n\n\n\n\nconst $4f8d278226295307$var$nameMap = new Map([\n [\n 24,\n [\n \"Sequoia\",\n \"15\"\n ]\n ],\n [\n 23,\n [\n \"Sonoma\",\n \"14\"\n ]\n ],\n [\n 22,\n [\n \"Ventura\",\n \"13\"\n ]\n ],\n [\n 21,\n [\n \"Monterey\",\n \"12\"\n ]\n ],\n [\n 20,\n [\n \"Big Sur\",\n \"11\"\n ]\n ],\n [\n 19,\n [\n \"Catalina\",\n \"10.15\"\n ]\n ],\n [\n 18,\n [\n \"Mojave\",\n \"10.14\"\n ]\n ],\n [\n 17,\n [\n \"High Sierra\",\n \"10.13\"\n ]\n ],\n [\n 16,\n [\n \"Sierra\",\n \"10.12\"\n ]\n ],\n [\n 15,\n [\n \"El Capitan\",\n \"10.11\"\n ]\n ],\n [\n 14,\n [\n \"Yosemite\",\n \"10.10\"\n ]\n ],\n [\n 13,\n [\n \"Mavericks\",\n \"10.9\"\n ]\n ],\n [\n 12,\n [\n \"Mountain Lion\",\n \"10.8\"\n ]\n ],\n [\n 11,\n [\n \"Lion\",\n \"10.7\"\n ]\n ],\n [\n 10,\n [\n \"Snow Leopard\",\n \"10.6\"\n ]\n ],\n [\n 9,\n [\n \"Leopard\",\n \"10.5\"\n ]\n ],\n [\n 8,\n [\n \"Tiger\",\n \"10.4\"\n ]\n ],\n [\n 7,\n [\n \"Panther\",\n \"10.3\"\n ]\n ],\n [\n 6,\n [\n \"Jaguar\",\n \"10.2\"\n ]\n ],\n [\n 5,\n [\n \"Puma\",\n \"10.1\"\n ]\n ]\n]);\nfunction $4f8d278226295307$export$2e2bcd8739ae039(release) {\n release = Number((release || (0, ($parcel$interopDefault($hh2Bt$nodeos))).release()).split(\".\")[0]);\n const [name, version] = $4f8d278226295307$var$nameMap.get(release) || [\n \"Unknown\",\n \"\"\n ];\n return {\n name: name,\n version: version\n };\n}\n\n\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */ function $e63f4488391fc1a4$var$macosVersion_raw() {\n if (process.platform !== \"darwin\") return [];\n const { version: version } = (0, $4f8d278226295307$export$2e2bcd8739ae039)();\n return version.split(\".\").map((v)=>Number.parseInt(v, 10));\n}\nconst $e63f4488391fc1a4$export$b16fc932ee62ae86 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($e63f4488391fc1a4$var$macosVersion_raw);\n\n\n\n\n\nasync function $2391f6cb56e590fd$export$9beb52a1d6d0b068(path, destDir) {\n const { ArchiveHdi: ArchiveHdi } = await (parcelRequire(\"bCzkE\"));\n const dmg = new ArchiveHdi(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $hh2Bt$path.join)(destDir, entry.path));\n });\n}\n\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $9f276bb1312a9d71$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`\n };\n }\n case \"darwin\":\n {\n const folderName = `Doxygen-${version}`;\n return {\n binRelativeDir: \"Doxygen/Doxygen.app/Contents/Resources/\",\n binFileName: (0, $drEX5.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $2391f6cb56e590fd$export$9beb52a1d6d0b068),\n url: `https://doxygen.nl/files/${folderName}.dmg`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $9f276bb1312a9d71$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($9ad30fc3d2fcf0f6$exports)))(()=>{\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $pcnv8.info)(err)\n });\n const binDir = await $9f276bb1312a9d71$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $b19dce7371463457$export$b885bd977caaafb9)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n // let installationInfo: InstallationInfo\n // try {\n // installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n // } catch {\n const installationInfo = await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"doxygen\", undefined);\n // }\n // only install graphviz if the macOS version is greater than 11\n if ((0, $e63f4488391fc1a4$export$b16fc932ee62ae86)()[0] > 11) await (0, $b19dce7371463457$export$b885bd977caaafb9)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() || (0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n } else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"doxygen\", version, $9f276bb1312a9d71$var$getDoxygenPackageInfo, setupDir, arch);\n try {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $pcnv8.info)(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`);\n }\n } catch (err) {\n (0, $pcnv8.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(\"Unsupported linux distributions\");\n await (0, $b19dce7371463457$export$b885bd977caaafb9)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $9f276bb1312a9d71$var$activateWinDoxygen() {\n switch(process.platform){\n case \"win32\":\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\"\n ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $ibhuk.pathExists)((0, $drEX5.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $gWZ4x = parcelRequire(\"gWZ4x\");\n\n\n\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nasync function $89d2131bb8f4aa1b$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $ca0ts.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim(), (0, $2a317fef4818a0d7$export$9460b536668416ce));\n else (0, $pcnv8.error)(\"SDKROOT not set\");\n } catch (e) {\n (0, $pcnv8.error)(e);\n }\n}\n\n\n\n\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\nasync function $c5f9dbd7d987d635$export$a5b751e9bb8ea3c6(path) {\n const data = await (0, $6vN83.readFile)(path, \"utf-8\");\n return JSON.parse(data);\n}\nfunction $c5f9dbd7d987d635$export$bf1aed226e28cc62(assets, opts) {\n // get the list of versions\n let tags = Object.keys(assets);\n // filter the versions\n if (opts.filterTag !== undefined) tags = tags.filter(opts.filterTag);\n if (tags.length === 0) throw new Error(`no tag found for version ${opts.version}`);\n // find the first tag that starts with the version\n // loop over the versions starting with the latest\n let tag;\n for (const mingwVersion of tags)if (mingwVersion.startsWith(opts.version)) {\n tag = mingwVersion;\n break;\n }\n if (tag === undefined) throw new Error(`version ${opts.version} is not supported`);\n // get the list of assets\n let matchedNames = assets[tag];\n // filter the assets\n if (opts.filterName !== undefined) matchedNames = matchedNames.filter(opts.filterName);\n if (matchedNames.length === 0) throw new Error(`no asset found for version ${opts.version} and arch ${opts.arch}`);\n // use the first asset if the arch is not specified\n if (opts.arch === undefined) return {\n tag: tag,\n name: matchedNames[0]\n };\n // find the asset that matches the arch\n for (const name of matchedNames){\n // search each asset name for the arch\n if (name.includes(opts.arch)) return {\n tag: tag,\n name: name\n };\n }\n throw new Error(`arch ${opts.arch} could not be found among ${JSON.stringify(matchedNames)}`);\n}\n\n\n\n\n\n\n\n\n\nvar $9c01b612305c09a3$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../src/gcc\");\nasync function $9c01b612305c09a3$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwAssets = await (0, $c5f9dbd7d987d635$export$a5b751e9bb8ea3c6)((0, $drEX5.join)($9c01b612305c09a3$var$$parcel$__dirname, \"github_brechtsanders_winlibs_mingw.json\"));\n const asset = (0, $c5f9dbd7d987d635$export$bf1aed226e28cc62)(mingwAssets, {\n version: version,\n arch: arch === \"x64\" ? \"x86_64\" : arch === \"ia32\" ? \"i386\" : arch,\n filterName: (name)=>name.endsWith(\".7z\")\n });\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $d07bf20a0d39a78b$export$eecfe186811d4a20),\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${asset.tag}/${asset.name}`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $9c01b612305c09a3$export$405fab3de79b77b(version, setupDir, arch, priority = 40) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"g++\", version, $9c01b612305c09a3$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $pcnv8.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $9c01b612305c09a3$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n if (version === \"\") // the default version\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc\"\n },\n {\n name: \"g++\"\n }\n ]);\n else // add the PPA for access to more versions\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n },\n {\n name: \"g++\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n }\n } else {\n (0, $pcnv8.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n if (version === \"\") // the default version\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc-multilib\"\n }\n ]);\n else // add the PPA for access to more versions\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc-multilib\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n }\n }\n break;\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return installAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) {\n await $9c01b612305c09a3$var$activateGcc(version, installationInfo.binDir, priority);\n return installationInfo;\n }\n return undefined;\n}\nasync function $9c01b612305c09a3$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $9c01b612305c09a3$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"mingw-w64\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n // Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n // Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n // await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $9c01b612305c09a3$var$setupChocoMingw(version, arch) {\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n var _process_env_ChocolateyInstall, _process_env_ChocolateyInstall1;\n if (arch === \"x64\" && await (0, $ibhuk.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n } else if (arch === \"ia32\" && await (0, $ibhuk.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n } else if (await (0, $ibhuk.pathExists)(`${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${(_process_env_ChocolateyInstall1 = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall1 !== void 0 ? _process_env_ChocolateyInstall1 : \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $9c01b612305c09a3$var$activateGcc(givenVersion, binDir, priority = 40) {\n const promises = [];\n // Setup gcc as the compiler\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`, rcOptions),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`, rcOptions),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`, rcOptions),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`, rcOptions),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`, rcOptions),\n // )\n if (process.platform === \"win32\") promises.push((0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", (0, $drEX5.addExeExt)(`${binDir}/gcc`), (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", (0, $drEX5.addExeExt)(`${binDir}/g++`), (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n else {\n // if version is empty, get the version from the gcc command\n let version = givenVersion;\n if (givenVersion === \"\") {\n version = await $9c01b612305c09a3$var$getGccCmdVersion(binDir, version);\n (0, $pcnv8.info)(`Using gcc version ${version}`);\n }\n var _semverCoerce;\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($gWZ4x)))((_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version);\n if (majorVersion >= 5) {\n promises.push((0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) promises.push((0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cc\", `${binDir}/gcc-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cxx\", `${binDir}/g++-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"gcc\", `${binDir}/gcc-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"g++\", `${binDir}/g++-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority));\n } else {\n promises.push((0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) promises.push((0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cc\", `${binDir}/gcc-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cxx\", `${binDir}/g++-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"gcc\", `${binDir}/gcc-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"g++\", `${binDir}/g++-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority));\n }\n }\n promises.push((0, $89d2131bb8f4aa1b$export$28f5fd35e3005b7a)());\n if (0, $dKklS.GITHUB_ACTIONS) await $9c01b612305c09a3$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $9c01b612305c09a3$var$getGccCmdVersion(binDir, givenVersion) {\n // TODO get the version from the package manager\n try {\n let gccExe = \"gcc\";\n if (await (0, $ibhuk.pathExists)(`${binDir}/gcc`)) gccExe = `${binDir}/gcc`;\n else {\n // try to find the gcc exe in the bin dir\n const files = (await (0, $6vN83.readdir)(binDir)).sort((exe1, exe2)=>{\n var _exe1_match, _exe2_match;\n const version1 = ((_exe1_match = exe1.match(/^gcc-?(.*)(\\.exe)?$/)) === null || _exe1_match === void 0 ? void 0 : _exe1_match[1]) || \"\";\n const version2 = ((_exe2_match = exe2.match(/^gcc-?(.*)(\\.exe)?$/)) === null || _exe2_match === void 0 ? void 0 : _exe2_match[1]) || \"\";\n return (0, $788ba5c4da878b74$export$c5628088f192d2ef)(version1, version2);\n });\n for (const file of files)if (file.startsWith(\"gcc\")) {\n gccExe = `${binDir}/${file}`;\n break;\n }\n }\n const { stdout: versionStdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(gccExe, [\n \"--version\"\n ], {\n stdio: \"pipe\"\n });\n // gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\n // gcc-12 (Homebrew GCC 12.4.0) 12.4.0\n // gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0\n const versionMatch = versionStdout.match(/gcc.* \\(.*\\) ([\\d.]+)/);\n if (versionMatch !== null) return versionMatch[1];\n (0, $pcnv8.warning)(`Failed to parse gcc version from: ${versionStdout}`);\n return givenVersion;\n } catch (err) {\n (0, $pcnv8.error)(`Failed to get gcc version: ${err}`);\n return givenVersion;\n }\n}\nasync function $9c01b612305c09a3$var$addGccLoggingMatcher() {\n const matcherPath = (0, $drEX5.join)($9c01b612305c09a3$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\nvar $gWZ4x = parcelRequire(\"gWZ4x\");\n\nvar $2owFL = parcelRequire(\"2owFL\");\n\n\nfunction $7adff6c2a35eb11d$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $725285b1d6baf678$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $7adff6c2a35eb11d$export$2a0488baf2a20c0f() {\n return (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n}\nfunction $7adff6c2a35eb11d$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($2owFL)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($gWZ4x)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"GCOV\", gcov, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n}\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n/** Get the platform name Ninja uses in their download links */ function $9bc35ceb5b751351$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $9bc35ceb5b751351$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $9bc35ceb5b751351$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $9bc35ceb5b751351$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"ninja\", version, $9bc35ceb5b751351$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $227396c887da582e$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../src/kcov\");\nfunction $227396c887da582e$var$getDownloadKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: (0, $drEX5.addExeExt)(\"kcov\")\n };\n}\nfunction $227396c887da582e$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $drEX5.addExeExt)(\"kcov\"),\n extractFunction: $227396c887da582e$var$buildKcov\n };\n}\nasync function $227396c887da582e$var$buildKcov(file, dest) {\n const out = await (0, $d07bf20a0d39a78b$export$2ab07ac150064014)(file, dest, 1);\n // build after extraction using CMake\n const cmake = await $227396c887da582e$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $drEX5.join)($227396c887da582e$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $pcnv8.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $drEX5.join)(out, \"build\");\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $227396c887da582e$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $775e54fd09f86a26$export$c28663a621f418ce)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), (0, $drEX5.join)((0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~\"), \"cmake\"), \"\");\n cmake = (0, $drEX5.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $9bc35ceb5b751351$export$e6190f4bfe2ef71)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), (0, $drEX5.join)((0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $227396c887da582e$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $pcnv8.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $788ba5c4da878b74$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $788ba5c4da878b74$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"kcov\", version, $227396c887da582e$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"kcov\", version, $227396c887da582e$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nclass $354440e40b8eb904$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $354440e40b8eb904$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $354440e40b8eb904$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $354440e40b8eb904$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $354440e40b8eb904$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $354440e40b8eb904$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $354440e40b8eb904$var$getDOMException(reason);\n};\nfunction $354440e40b8eb904$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($354440e40b8eb904$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($354440e40b8eb904$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $354440e40b8eb904$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message !== null && message !== void 0 ? message : `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $0ef47881a1b17d1b$export$3c7cae5a162b1458;\nvar $0ef47881a1b17d1b$export$704f0be24425353b;\nvar $0ef47881a1b17d1b$export$f49c12d2898d28cb;\nvar $0ef47881a1b17d1b$export$a6a3bfb882356813;\nvar $0ef47881a1b17d1b$export$443b8bb890f5027e;\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\n\nconst $0ef47881a1b17d1b$var$PROGRAM_FILES_X86 = $hh2Bt$process.env[\"ProgramFiles(x86)\"];\nconst $0ef47881a1b17d1b$var$PROGRAM_FILES = [\n $hh2Bt$process.env[\"ProgramFiles(x86)\"],\n $hh2Bt$process.env[\"ProgramFiles\"]\n];\nconst $0ef47881a1b17d1b$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $0ef47881a1b17d1b$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $0ef47881a1b17d1b$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\n/**\n * Convert the vs version (e.g. 2022) or year (e.g. 17.0) to the version number (e.g. 17.0)\n * @param {string | undefined} vsversion the year (e.g. 2022) or version number (e.g. 17.0)\n * @returns {string | undefined} the version number (e.g. 17.0)\n */ function $0ef47881a1b17d1b$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($0ef47881a1b17d1b$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $0ef47881a1b17d1b$var$VsYearVersion) return $0ef47881a1b17d1b$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$0ef47881a1b17d1b$export$3c7cae5a162b1458 = $0ef47881a1b17d1b$var$vsversion_to_versionnumber;\n/**\n * Convert the vs version (e.g. 17.0) or year (e.g. 2022) to the year (e.g. 2022)\n * @param {string} vsversion the version number (e.g. 17.0) or year (e.g. 2022)\n * @returns {string} the year (e.g. 2022)\n */ function $0ef47881a1b17d1b$var$vsversion_to_year(vsversion) {\n if (Object.keys($0ef47881a1b17d1b$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($0ef47881a1b17d1b$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$0ef47881a1b17d1b$export$704f0be24425353b = $0ef47881a1b17d1b$var$vsversion_to_year;\nconst $0ef47881a1b17d1b$var$VSWHERE_PATH = `${$0ef47881a1b17d1b$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\n/**\n * Find MSVC tools with vswhere\n * @param {string} pattern the pattern to search for\n * @param {string} version_pattern the version pattern to search for\n * @returns {string | null} the path to the found MSVC tools\n */ function $0ef47881a1b17d1b$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $hh2Bt$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $k1l4q.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$0ef47881a1b17d1b$export$f49c12d2898d28cb = $0ef47881a1b17d1b$var$findWithVswhere;\n/**\n * Find the vcvarsall.bat file for the given Visual Studio version\n * @param {string | undefined} vsversion the version of Visual Studio to find (year or version number)\n * @returns {string} the path to the vcvarsall.bat file\n */ function $0ef47881a1b17d1b$var$findVcvarsall(vsversion) {\n const vsversion_number = $0ef47881a1b17d1b$var$vsversion_to_versionnumber(vsversion);\n let version_pattern;\n if (vsversion_number) {\n const upper_bound = vsversion_number.split(\".\")[0] + \".9\";\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`;\n } else version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $0ef47881a1b17d1b$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $hh2Bt$fs.existsSync(path)) {\n $k1l4q.info(`Found with vswhere: ${path}`);\n return path;\n }\n $k1l4q.info(\"Not found with vswhere\");\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [\n $0ef47881a1b17d1b$var$vsversion_to_year(vsversion)\n ] : $0ef47881a1b17d1b$var$YEARS;\n for (const prog_files of $0ef47881a1b17d1b$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $0ef47881a1b17d1b$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $k1l4q.info(`Trying standard location: ${path}`);\n if ($hh2Bt$fs.existsSync(path)) {\n $k1l4q.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $k1l4q.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$0ef47881a1b17d1b$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($hh2Bt$fs.existsSync(path)) {\n $k1l4q.info(`Found VS 2015: ${path}`);\n return path;\n }\n $k1l4q.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$0ef47881a1b17d1b$export$a6a3bfb882356813 = $0ef47881a1b17d1b$var$findVcvarsall;\nfunction $0ef47881a1b17d1b$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $0ef47881a1b17d1b$var$filterPathValue(path) {\n let paths = path.split(\";\");\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index;\n }\n return paths.filter(unique).join(\";\");\n}\n/**\n * Setup MSVC Developer Command Prompt\n * @param {string} arch - Target architecture\n * @param {string | undefined} sdk - Windows SDK number to build for\n * @param {string | undefined} toolset - VC++ compiler toolset version\n * @param {boolean | 'true' | 'false' | undefined} uwp - Build for Universal Windows Platform\n * @param {boolean | 'true' | 'false' | undefined} spectre - Enable Spectre mitigations\n * @param {string | undefined} vsversion - The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. \"2019\").\n */ function $0ef47881a1b17d1b$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($hh2Bt$process.platform != \"win32\") {\n $k1l4q.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $hh2Bt$process.env.PATH += $hh2Bt$path.delimiter + $0ef47881a1b17d1b$var$VSWHERE_PATH;\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\"\n };\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) arch = arch_aliases[arch.toLowerCase()];\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n var args = [\n arch\n ];\n if (uwp && JSON.parse(uwp) === true) args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre && JSON.parse(spectre) === true) args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$0ef47881a1b17d1b$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $k1l4q.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $hh2Bt$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\n const old_environment = cmd_output_parts[0].split(\"\\r\\n\");\n const vcvars_output = cmd_output_parts[1].split(\"\\r\\n\");\n const new_environment = cmd_output_parts[2].split(\"\\r\\n\");\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line)=>{\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\n\"));\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {};\n for (let string of old_environment){\n const [name, value] = string.split(\"=\");\n old_env_vars[name] = value;\n }\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n $k1l4q.startGroup(\"Environment variables\");\n for (let string of new_environment){\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes(\"=\")) continue;\n let [name, new_value] = string.split(\"=\");\n let old_value = old_env_vars[name];\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n $k1l4q.info(`Setting ${name}`);\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if ($0ef47881a1b17d1b$var$isPathVariable(name)) new_value = $0ef47881a1b17d1b$var$filterPathValue(new_value);\n $k1l4q.exportVariable(name, new_value);\n }\n }\n $k1l4q.endGroup();\n $k1l4q.info(`Configured Developer Command Prompt`);\n}\n$0ef47881a1b17d1b$export$443b8bb890f5027e = $0ef47881a1b17d1b$var$setupMSVCDevCmd;\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nfunction $28a0179cccdfc4cc$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $28a0179cccdfc4cc$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $ibhuk.pathExists)(VCTargetsPath)) {\n (0, $pcnv8.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n }\n await (0, $0ef47881a1b17d1b$export$443b8bb890f5027e)($28a0179cccdfc4cc$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nconst $b7011f27d06f0e7a$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $b7011f27d06f0e7a$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $b7011f27d06f0e7a$export$7bd623b29ec8e1eb) {\n (0, $k1l4q.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $354440e40b8eb904$export$2e2bcd8739ae039)($b7011f27d06f0e7a$var$installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $pcnv8.error)(e);\n if (e instanceof Error && e.stack !== undefined) (0, $pcnv8.error)(e.stack);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $k1l4q.endGroup)();\n return hasLLVM;\n}\nasync function $b7011f27d06f0e7a$var$installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages) {\n // eslint-disable-next-line no-param-reassign\n const hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $28a0179cccdfc4cc$export$5dcf571c91fc8369)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else if (tool === \"brew\") // eslint-disable no-await-in-loop\n installationInfo = await (0, $57f166e9ea32e0a9$export$c5eeb9c87a610a0e)({\n rcOptions: $2a317fef4818a0d7$export$9460b536668416ce\n });\n else {\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $drEX5.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n const setupVersion = (0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(tool, version, osVersion);\n // get the setup function\n const setupFunction = (0, $a47edfa4119b064f$export$18a3521ac7306af4)[tool];\n // eslint-disable no-await-in-loop\n installationInfo = await setupFunction(setupVersion, setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nvar $613cb9b1bfc34d2e$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($613cb9b1bfc34d2e$export$35fa309210df3df6 || ($613cb9b1bfc34d2e$export$35fa309210df3df6 = {}));\nasync function $613cb9b1bfc34d2e$export$a86791c88ded7e54(majorVersion, packages = 0) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n // download the installation script\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dl = new (0, $62686e7378463a66$exports.DownloaderHelper)(\"https://apt.llvm.org/llvm.sh\", (0, $hh2Bt$os.tmpdir)(), {\n fileName: \"llvm.sh\"\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download the LLVM installer script: ${err}`);\n });\n await dl.start();\n const installerScript = await (0, $6vN83.readFile)(dl.getDownloadPath(), \"utf-8\");\n const installerPath = (0, $hh2Bt$path.join)((0, $hh2Bt$os.tmpdir)(), \"llvm-setup-cpp.sh\");\n const neededPackages = await $613cb9b1bfc34d2e$var$patchAptLLVMScript(installerScript, installerPath, majorVersion, packages);\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)(neededPackages);\n await (0, $6vN83.chmod)(installerPath, \"755\");\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"bash\", [\n installerPath,\n `${majorVersion}`,\n ...packages === 0 ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $b7011f27d06f0e7a$export$7bd623b29ec8e1eb)\n });\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(`${installationFolder}/bin`, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $613cb9b1bfc34d2e$var$patchAptLLVMScript(givenScript, target_path, majorVersion, packages) {\n let script = $613cb9b1bfc34d2e$var$debugScript(givenScript);\n script = $613cb9b1bfc34d2e$var$nonInteractiveScript(script);\n script = $613cb9b1bfc34d2e$var$choosePackages(packages, script, majorVersion);\n script = await $613cb9b1bfc34d2e$var$removeConflictingPackages(script);\n script = $613cb9b1bfc34d2e$var$useNalaScript(script);\n await (0, $6vN83.writeFile)(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $613cb9b1bfc34d2e$var$debugScript(script) {\n if (process.env.NODE_DEBUG !== \"1\" && process.env.NODE_DEBUG !== \"true\") return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $613cb9b1bfc34d2e$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, `add-apt-repository -y -n \"\\${REPO_NAME}\"\napt-get update -o ${(0, $8420ec82b8e83bd1$export$63332523ab2676dd)} -y`);\n}\nasync function $613cb9b1bfc34d2e$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, `apt-get install -o Dpkg::Options::=\"--force-overwrite\" -o ${(0, $8420ec82b8e83bd1$export$63332523ab2676dd)} -y --fix-broken`);\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $0bcf8d198161b767$export$aaa4b6507c96b5db)(installingPack)) {\n (0, $hh2Bt$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $613cb9b1bfc34d2e$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $f7155b738edcc70e$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $613cb9b1bfc34d2e$var$choosePackages(packages, script, majorVersion) {\n if (packages === 1) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\n\nconst $89532e587c61f07b$export$aa5307f1aca77413 = (0, $788ba5c4da878b74$export$cbd9528a83fbffa1)([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $89532e587c61f07b$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $89532e587c61f07b$var$DARWIN_X64_MISSING = 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 \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\"\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 */ const $89532e587c61f07b$var$UBUNTU_RC = new Map();\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */ // TODO change based on ubuntu version\nconst $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n \"18.1.4\": \"-ubuntu-18.04\",\n \"18.1.7\": \"-ubuntu-18.04\",\n \"18.1.8\": \"-ubuntu-18.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $89532e587c61f07b$var$MAX_UBUNTU = \"18.1.8\";\n// ================================================\n// URL\n// ================================================\n/** Gets a LLVM download URL for GitHub. */ function $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $89532e587c61f07b$var$getDarwinUrl(version) {\n if ($89532e587c61f07b$var$DARWIN_X64_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"9.0.1\")) return $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix);\n else return $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $89532e587c61f07b$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $89532e587c61f07b$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$89532e587c61f07b$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $788ba5c4da878b74$export$deb1064c8260c54c)($89532e587c61f07b$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP) linuxVersion = $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP[$89532e587c61f07b$var$MAX_UBUNTU];\n (0, $pcnv8.warning)(`Falling back to LLVM version ${$89532e587c61f07b$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"9.0.1\")) return $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix);\n else return $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $89532e587c61f07b$var$getWin32Url(version) {\n if ($89532e587c61f07b$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $916a385c4d46b771$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $89532e587c61f07b$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $89532e587c61f07b$var$getDarwinUrl(version);\n case \"linux\":\n return $89532e587c61f07b$export$ae24f9682a44836b(version);\n case \"win32\":\n return $89532e587c61f07b$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $89532e587c61f07b$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $788ba5c4da878b74$export$4e4d3581f69a6d71)($89532e587c61f07b$export$aa5307f1aca77413, platform, version, $89532e587c61f07b$export$94df0e59ebebf4a7);\n (0, $pcnv8.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $drEX5.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $d07bf20a0d39a78b$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $d07bf20a0d39a78b$export$2ab07ac150064014)(file, dest, 1);\n }\n };\n}\n\n\n\nvar $2cacaea738b8f1ae$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../src/llvm\");\nasync function $2cacaea738b8f1ae$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $2cacaea738b8f1ae$var$setupLLVMWithoutActivation(version, setupDir, arch);\n var _installationInfo_installDir;\n await $2cacaea738b8f1ae$export$6238b5ebfd6640e7((_installationInfo_installDir = installationInfo.installDir) !== null && _installationInfo_installDir !== void 0 ? _installationInfo_installDir : setupDir);\n return installationInfo;\n}\nasync function $2cacaea738b8f1ae$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM\n const [installationInfo, _1] = await Promise.all([\n $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch),\n $2cacaea738b8f1ae$var$addLLVMLoggingMatcher()\n ]);\n // install LLVM dependencies\n await $2cacaea738b8f1ae$var$setupLLVMDeps(arch);\n return installationInfo;\n}\nconst $2cacaea738b8f1ae$var$setupLLVMWithoutActivation = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($2cacaea738b8f1ae$var$setupLLVMWithoutActivation_raw, {\n promise: true\n});\nfunction $2cacaea738b8f1ae$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch, (0, $613cb9b1bfc34d2e$export$35fa309210df3df6).ClangFormat);\n}\nfunction $2cacaea738b8f1ae$export$814ccfc953503728(version, setupDir, arch) {\n return $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $613cb9b1bfc34d2e$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $788ba5c4da878b74$export$afd7401db249098f)(version);\n const majorVersion = Number.parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return await (0, $613cb9b1bfc34d2e$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $pcnv8.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"llvm\", version, (0, $89532e587c61f07b$export$f203993d12226a27), setupDir, arch);\n await $2cacaea738b8f1ae$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $2cacaea738b8f1ae$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $2cacaea738b8f1ae$var$llvmBinaryDeps = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($2cacaea738b8f1ae$var$llvmBinaryDeps_raw, {\n promise: true\n});\nasync function $2cacaea738b8f1ae$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await (0, $9c01b612305c09a3$export$405fab3de79b77b)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), \"\", arch, 40);\n}\nconst $2cacaea738b8f1ae$var$setupLLVMDeps = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($2cacaea738b8f1ae$var$setupLLVMDeps_raw, {\n promise: true\n});\nasync function $2cacaea738b8f1ae$export$6238b5ebfd6640e7(directory) {\n var _process_env_LD_LIBRARY_PATH;\n const ld = (_process_env_LD_LIBRARY_PATH = process.env.LD_LIBRARY_PATH) !== null && _process_env_LD_LIBRARY_PATH !== void 0 ? _process_env_LD_LIBRARY_PATH : \"\";\n var _process_env_DYLD_LIBRARY_PATH;\n const dyld = (_process_env_DYLD_LIBRARY_PATH = process.env.DYLD_LIBRARY_PATH) !== null && _process_env_DYLD_LIBRARY_PATH !== void 0 ? _process_env_DYLD_LIBRARY_PATH : \"\";\n const actPromises = [\n // the output of this action\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // Setup LLVM as the compiler\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $hh2Bt$path.delimiter)}${ld}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $hh2Bt$path.delimiter)}${dyld}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // compiler flags\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // compiler paths\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", (0, $drEX5.addExeExt)(`${directory}/bin/clang`), (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", (0, $drEX5.addExeExt)(`${directory}/bin/clang++`), (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // os sdks\n (0, $89d2131bb8f4aa1b$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`, rcOptions))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`, rcOptions))\n // }\n // }\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n const priority = 60;\n actPromises.push((0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cc\", `${directory}/bin/clang`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cxx\", `${directory}/bin/clang++`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"clang\", `${directory}/bin/clang`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"clang++\", `${directory}/bin/clang++`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"lld\", `${directory}/bin/lld`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"ld.lld\", `${directory}/bin/ld.lld`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"llvm-ar\", `${directory}/bin/llvm-ar`, (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n }\n await Promise.all(actPromises);\n}\nasync function $2cacaea738b8f1ae$var$addLLVMLoggingMatcher() {\n if (0, $dKklS.GITHUB_ACTIONS) {\n const matcherPath = (0, $drEX5.join)($2cacaea738b8f1ae$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $a7ab36245312f072$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"make\", version);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\nfunction $016802dfc7b0dd25$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $725285b1d6baf678$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $da99583472da45a4$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../src/msvc\");\nasync function $da99583472da45a4$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $0ef47881a1b17d1b$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $pcnv8.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $0ef47881a1b17d1b$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $pcnv8.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualstudio2017buildtools\", \"15.9.41.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualstudio2019buildtools\", \"16.11.7.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\";\n } else if (version === \"17.0\") {\n toolset = undefined;\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $pcnv8.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $pcnv8.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $28a0179cccdfc4cc$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $dKklS.GITHUB_ACTIONS) await $da99583472da45a4$var$addMSVCLoggingMatcher();\n}\nasync function $da99583472da45a4$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $drEX5.join)($da99583472da45a4$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\nlet $af664557d133c197$var$binDir;\nasync function $af664557d133c197$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $af664557d133c197$var$binDir === \"string\") return {\n binDir: $af664557d133c197$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $af664557d133c197$var$binDir = (0, $drEX5.dirname)(maybeBinDir);\n return {\n binDir: $af664557d133c197$var$binDir\n };\n }\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"python3-apt\"\n }\n ]);\n $af664557d133c197$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n // If nala is available in the default repositories, install it\n try {\n const nalaPack = await (0, $26e91d84b93347fe$export$80158881e1e46aed)({\n name: \"nala\",\n version: version\n });\n if (nalaPack !== undefined) {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: nalaPack\n }\n ]);\n return {\n binDir: $af664557d133c197$var$binDir\n };\n }\n } catch (err) {\n // ignore\n (0, $pcnv8.info)(`Failed to install nala: ${err}`);\n }\n // Nala is not available in the default repositories\n // Check if the legacy version is available\n try {\n const nalaLegacyPack = await (0, $26e91d84b93347fe$export$80158881e1e46aed)({\n name: \"nala-legacy\"\n });\n if (nalaLegacyPack !== undefined) {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: nalaLegacyPack\n }\n ], true);\n return {\n binDir: $af664557d133c197$var$binDir\n };\n }\n } catch (err) {\n // ignore\n (0, $pcnv8.info)(`Failed to install nala-legacy: ${err}`);\n }\n // Install via the installer script\n await $af664557d133c197$var$setupNalaViaInstaller();\n return {\n binDir: $af664557d133c197$var$binDir\n };\n}\nasync function $af664557d133c197$var$setupNalaViaInstaller() {\n const installer = new (0, $62686e7378463a66$exports.DownloaderHelper)(\"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh\", (0, $hh2Bt$os.tmpdir)(), {\n fileName: \"install-nala.sh\"\n });\n installer.on(\"error\", (err)=>{\n throw new Error(`Failed to download install-nala.sh: ${err}`);\n });\n await installer.start();\n const installerPath = (0, $drEX5.join)((0, $hh2Bt$os.tmpdir)(), \"install-nala.sh\");\n // Patch the installer script to not use sudo explicitly\n const script = await (0, $6vN83.readFile)(installerPath, \"utf8\");\n await (0, $6vN83.writeFile)(installerPath, script.replace(/sudo/g, \"\"));\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"wget\"\n }\n ]);\n try {\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"bash\", [\n installerPath\n ]);\n } catch (err) {\n (0, $pcnv8.error)(`Failed to install nala via installer: ${err}`);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"apt\", [\n \"install\",\n \"-y\",\n \"-t\",\n \"nala\",\n \"nala\"\n ]);\n }\n}\nfunction $af664557d133c197$export$2747aa8ef20f818d(script) {\n if ((0, $f7155b738edcc70e$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\n\nasync function $e72e2baab3c48b0e$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e72e2baab3c48b0e$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e72e2baab3c48b0e$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return binDir;\n}\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n/** Get the platform data for cmake */ function $e0c57fde885e9322$var$getPowerShellPackageInfo(version, platform, arch) {\n return {\n url: $e0c57fde885e9322$var$getPowershellUrl(platform, arch, version),\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"pwsh\"),\n extractedFolderName: \"\"\n };\n}\nfunction $e0c57fde885e9322$var$getPowershellUrl(platform, arch, version) {\n switch(platform){\n case \"win32\":\n {\n const osArchStr = [\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch) ? \"win-x86\" : \"win-x64\";\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/PowerShell-${version}-${osArchStr}.zip`;\n }\n case \"darwin\":\n {\n const osArchStr = [\n \"arm\",\n \"arm64\"\n ].includes(arch) ? \"osx-arm64\" : \"osx-x64\";\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`;\n }\n case \"linux\":\n {\n const archMap = {\n arm64: \"linux-arm64\",\n arm: \"linux-arm64\",\n arm32: \"linux-arm32\",\n aarch64: \"linux-arm64\",\n x64: \"linux-x64\"\n };\n var _archMap_arch;\n const osArchStr = (_archMap_arch = archMap[arch]) !== null && _archMap_arch !== void 0 ? _archMap_arch : \"linux-x64\";\n // TODO support musl\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`;\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $e0c57fde885e9322$export$1ff6ad96ee130aba(version, setupDir, arch) {\n try {\n return await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"pwsh\", version, $e0c57fde885e9322$var$getPowerShellPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $pcnv8.error)(`Failed to setup pwsh via download: ${err}. Trying package managers...`);\n return $e0c57fde885e9322$export$f145d39203ef47a0(version, setupDir, arch);\n }\n}\nasync function $e0c57fde885e9322$export$f145d39203ef47a0(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"powershell\", version, {\n cask: true,\n overwrite: false\n });\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) {\n await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n \"curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo\"\n ]);\n return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"packages-microsoft-prod.deb\"\n ]);\n // TODO Debian\n // const keyFileName = await addAptKeyViaURL(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\nfunction $927a24f3dd902b28$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"sccache\", version);\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n/** Get the platform name task uses in their download links */ function $fee36361a2bad308$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $fee36361a2bad308$var$getTaskArch(arch) {\n switch(arch){\n case \"x64\":\n return \"amd64\";\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\";\n default:\n return arch;\n }\n}\n/** Get the platform data for task */ function $fee36361a2bad308$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $fee36361a2bad308$var$getTaskPlatform(platform);\n const taskArch = $fee36361a2bad308$var$getTaskArch(arch);\n const extension = platform === \"win32\" ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $fee36361a2bad308$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"task\", version, $fee36361a2bad308$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\nlet $2c1dbb6d966096c4$var$hasVCPKG = false;\nasync function $2c1dbb6d966096c4$export$490bdba4ef3e3f82(version, setupDir, _arch) {\n if (!$2c1dbb6d966096c4$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n // clone if not already exists\n if (!await (0, $ibhuk.pathExists)((0, $drEX5.join)(setupDir, (0, $drEX5.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $drEX5.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $pcnv8.notice)(`Vcpkg folder already exists at ${setupDir}. Skipping the clone`);\n // if version specified, checkout the version\n if (version !== \"\" && version !== \"true\") {\n (0, $pcnv8.info)(`Checking out vcpkg version ${version}`);\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"git\", [\n \"checkout\",\n version\n ], {\n cwd: setupDir,\n stdio: \"inherit\"\n });\n }\n // bootstrap vcpkg\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)((0, $drEX5.addShExt)((0, $drEX5.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $410f384959a3ffde$export$4718e061a205eab)(setupDir);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(setupDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n // eslint-disable-next-line require-atomic-updates\n $2c1dbb6d966096c4$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $drEX5.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $a47edfa4119b064f$export$18a3521ac7306af4 = {\n nala: (0, $af664557d133c197$export$d73cbe8caeff03c5),\n cmake: (0, $775e54fd09f86a26$export$c28663a621f418ce),\n ninja: (0, $9bc35ceb5b751351$export$e6190f4bfe2ef71),\n python: (0, $644ae3dba93653dd$export$2b0b68e9df3d4a02),\n vcpkg: (0, $2c1dbb6d966096c4$export$490bdba4ef3e3f82),\n bazel: (0, $20c231c8127800bc$export$a66bc93580b0a849),\n conan: (0, $5decc72fe15dcad3$export$249d0c7d779d362f),\n meson: (0, $016802dfc7b0dd25$export$f73905553f087748),\n gcovr: (0, $7adff6c2a35eb11d$export$b98d69f362caf61f),\n opencppcoverage: (0, $e72e2baab3c48b0e$export$6aa28a97600a8ae3),\n llvm: (0, $2cacaea738b8f1ae$export$3016de7ae9d14988),\n gcc: (0, $9c01b612305c09a3$export$405fab3de79b77b),\n choco: (0, $8937fb0e5906a8f2$export$b804d731cdad7ef9),\n brew: (0, $57f166e9ea32e0a9$export$c5eeb9c87a610a0e),\n powershell: (0, $e0c57fde885e9322$export$1ff6ad96ee130aba),\n ccache: (0, $8885272da446ac43$export$111263621bbb0768),\n sccache: (0, $927a24f3dd902b28$export$b963b67cda80fdc),\n doxygen: (0, $9f276bb1312a9d71$export$b6e6613a954051ee),\n graphviz: (0, $b19dce7371463457$export$b885bd977caaafb9),\n cppcheck: (0, $3b5b7f21aafe5be9$export$13d77464c548b5d3),\n clangtidy: (0, $2cacaea738b8f1ae$export$814ccfc953503728),\n clangformat: (0, $2cacaea738b8f1ae$export$1cf2d186cecf1f54),\n msvc: (0, $da99583472da45a4$export$a91ef0362c1a7298),\n vcvarsall: (0, $28a0179cccdfc4cc$export$5dcf571c91fc8369),\n kcov: (0, $227396c887da582e$export$abb7c2ff987b1f6b),\n make: (0, $a7ab36245312f072$export$b0a9411329e2916),\n task: (0, $fee36361a2bad308$export$4456b3a3d3540077),\n sevenzip: (0, $fb82248e8974c296$export$5fc39629e14c8173)\n};\nconst $a47edfa4119b064f$export$904054328df186b = Object.keys($a47edfa4119b064f$export$18a3521ac7306af4);\nconst $a47edfa4119b064f$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$a47edfa4119b064f$export$904054328df186b\n];\n\n\nfunction $2a317fef4818a0d7$export$7300a92932ee17a3(args) {\n return (0, $4012ecb407fc2f3d$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $a47edfa4119b064f$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $a47edfa4119b064f$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $2a317fef4818a0d7$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $2a317fef4818a0d7$export$f57ebcae4da846e4() {\n (0, $pcnv8.info)(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`);\n console.table({\n \"compiler and analyzer\": {\n tools: \"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat\"\n },\n \"build system\": {\n tools: \"--cmake, --ninja, --meson, --make, --task, --bazel\"\n },\n \"package manager\": {\n tools: \"--vcpkg, --conan, --choco, --brew, --nala\"\n },\n cache: {\n tools: \"--ccache, --sccache\"\n },\n documentation: {\n tools: \"--doxygen, --graphviz\"\n },\n coverage: {\n tools: \"--gcovr, --opencppcoverage, --kcov\"\n },\n other: {\n tools: \"--python, --powershell, --sevenzip\"\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $2a317fef4818a0d7$export$fc4ce4d885cb1082(key) {\n const value = (0, $k1l4q.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $2a317fef4818a0d7$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `\\u{2705} ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\nconst $2a317fef4818a0d7$export$9460b536668416ce = {\n rcPath: (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.cpprc\"),\n guard: \"cpp\"\n};\n\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $2owFL = parcelRequire(\"2owFL\");\n\n\n\n\n\n\nfunction $aaeebf9f0b5de875$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2owFL)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $pcnv8.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $aaeebf9f0b5de875$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $aaeebf9f0b5de875$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $k1l4q.startGroup)(`Installing ${compiler} ${version !== null && version !== void 0 ? version : \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $2cacaea738b8f1ae$export$3016de7ae9d14988)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $hh2Bt$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $7adff6c2a35eb11d$export$2a0488baf2a20c0f)();\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $9c01b612305c09a3$export$f115c01d224b9e9a)(gccVersion, (0, $hh2Bt$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $9c01b612305c09a3$export$405fab3de79b77b)(gccVersion, (0, $hh2Bt$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n await (0, $7adff6c2a35eb11d$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"gcc\", installationInfo));\n break;\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\":\n {\n const installationInfo = await (0, $da99583472da45a4$export$a91ef0362c1a7298)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $hh2Bt$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $k1l4q.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", \"clang\", (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\", (0, $2a317fef4818a0d7$export$9460b536668416ce))\n ]);\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $pcnv8.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $k1l4q.endGroup)();\n}\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $ff26fdfb9b4deeb1$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $dKklS.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $db6b30dbc1ea7b12$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $2a317fef4818a0d7$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $2a317fef4818a0d7$export$f57ebcae4da846e4)();\n var _opts_architecture;\n // cpu architecture\n const arch = (_opts_architecture = opts.architecture) !== null && _opts_architecture !== void 0 ? _opts_architecture : process.arch;\n var _process_env_SETUP_CPP_DIR;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = (_process_env_SETUP_CPP_DIR = process.env.SETUP_CPP_DIR) !== null && _process_env_SETUP_CPP_DIR !== void 0 ? _process_env_SETUP_CPP_DIR : (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $0f6edb4b6090460a$exports.create({\n autoloadLocales: true\n });\n $0f6edb4b6090460a$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($53983d8fa829acea$exports))));\n $5FRs7.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($6dfec0551895c67b$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $55351d2b97ee8aa4$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $pcnv8.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $pcnv8.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $a47edfa4119b064f$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $dKklS.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n var _opts_timeout;\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $b7011f27d06f0e7a$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, Number.parseFloat((_opts_timeout = opts.timeout) !== null && _opts_timeout !== void 0 ? _opts_timeout : \"20\") * 60000);\n time2 = Date.now();\n (0, $pcnv8.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $aaeebf9f0b5de875$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $pcnv8.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $0781cd81f58c9935$export$943913be1ba4f7ff)((0, $2a317fef4818a0d7$export$9460b536668416ce));\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $pcnv8.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n for (const tool of successMessages)(0, $pcnv8.success)(tool);\n for (const tool of errorMessages)(0, $pcnv8.error)(tool);\n (0, $pcnv8.info)(\"setup-cpp finished\");\n if (!(0, $dKklS.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $pcnv8.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $pcnv8.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$ff26fdfb9b4deeb1$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $pcnv8.error)(\"main() panicked!\");\n (0, $pcnv8.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Agola CI\",\n \"constant\": \"AGOLA\",\n \"env\": \"AGOLA_GIT_REF\",\n \"pr\": \"AGOLA_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"TF_BUILD\",\n \"pr\": {\n \"BUILD_REASON\": \"PullRequest\"\n }\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Earthly\",\n \"constant\": \"EARTHLY\",\n \"env\": \"EARTHLY_CI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"Gitea Actions\",\n \"constant\": \"GITEA_ACTIONS\",\n \"env\": \"GITEA_ACTIONS\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Prow\",\n \"constant\": \"PROW\",\n \"env\": \"PROW_JOB_ID\"\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vela\",\n \"constant\": \"VELA\",\n \"env\": \"VELA\",\n \"pr\": {\n \"VELA_PULL_REQUEST\": \"1\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n },\n \"pr\": \"VERCEL_GIT_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return GITHUB_ACTIONS ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,null,null,null,null,"import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;",null,null,null,null,null,null,"module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"proxy-agent.5536f8bd.js\"))).then(() => parcelRequire('5IibL'));",null,null,null,null,null,null,"module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","// 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","import * as fs from \"fs\"\nexport default fs.promises\n\nexport const {\n access,\n appendFile,\n chmod,\n chown,\n copyFile,\n lchmod,\n lchown,\n link,\n lstat,\n mkdir,\n mkdtemp,\n open,\n readdir,\n readFile,\n readlink,\n realpath,\n rename,\n rmdir,\n stat,\n symlink,\n truncate,\n unlink,\n utimes,\n writeFile,\n} = fs.promises\n\nimport { promisify } from \"util\"\nexport const rm = \"rm\" in fs.promises\n ? (\n fs.promises as typeof fs.promises & {\n rm: (path: string, options?: fs.RmDirOptions) => Promise\n }\n ).rm\n : promisify(fs.unlink)\n","\"use strict\";\n\n// eslint-disable-next-line no-empty-function\nmodule.exports = function () {};\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar sign = Math.sign;\n\tif (typeof sign !== \"function\") return false;\n\treturn sign(10) === 1 && sign(-20) === -1;\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tvalue = Number(value);\n\tif (isNaN(value) || value === 0) return value;\n\treturn value > 0 ? 1 : -1;\n};\n","// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\n\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , value = require(\"./valid-value\")\n , bind = Function.prototype.bind\n , call = Function.prototype.call\n , keys = Object.keys\n , objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nmodule.exports = function (method, defVal) {\n\treturn function (obj, cb /*, thisArg, compareFn*/) {\n\t\tvar list, thisArg = arguments[2], compareFn = arguments[3];\n\t\tobj = Object(value(obj));\n\t\tcallable(cb);\n\n\t\tlist = keys(obj);\n\t\tif (compareFn) {\n\t\t\tlist.sort(typeof compareFn === \"function\" ? bind.call(compareFn, obj) : undefined);\n\t\t}\n\t\tif (typeof method !== \"function\") method = list[method];\n\t\treturn call.call(method, list, function (key, index) {\n\t\t\tif (!objPropertyIsEnumerable.call(obj, key)) return defVal;\n\t\t\treturn call.call(cb, thisArg, obj[key], key, obj, index);\n\t\t});\n\t};\n};\n","\"use strict\";\n\nmodule.exports = function (fn) {\n\tif (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) throw new TypeError(\"Cannot use null or undefined\");\n\treturn value;\n};\n","\"use strict\";\n\nvar _undefined = require(\"../function/noop\")(); // Support ES3 engines\n\nmodule.exports = function (val) { return val !== _undefined && val !== null; };\n","\"use strict\";\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar assign = Object.assign, obj;\n\tif (typeof assign !== \"function\") return false;\n\tobj = { foo: \"raz\" };\n\tassign(obj, { bar: \"dwa\" }, { trzy: \"trzy\" });\n\treturn obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};\n","\"use strict\";\n\nvar keys = require(\"../keys\")\n , value = require(\"../valid-value\")\n , max = Math.max;\n\nmodule.exports = function (dest, src /*, …srcn*/) {\n\tvar error, i, length = max(arguments.length, 2), assign;\n\tdest = Object(value(dest));\n\tassign = function (key) {\n\t\ttry {\n\t\t\tdest[key] = src[key];\n\t\t} catch (e) {\n\t\t\tif (!error) error = e;\n\t\t}\n\t};\n\tfor (i = 1; i < length; ++i) {\n\t\tsrc = arguments[i];\n\t\tkeys(src).forEach(assign);\n\t}\n\tif (error !== undefined) throw error;\n\treturn dest;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.keys : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\ttry {\n\t\tObject.keys(\"primitive\");\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isValue = require(\"../is-value\");\n\nvar keys = Object.keys;\n\nmodule.exports = function (object) { return keys(isValue(object) ? Object(object) : object); };\n","\"use strict\";\n\nvar value = require(\"./valid-value\")\n , defineProperty = Object.defineProperty\n , getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor\n , getOwnPropertyNames = Object.getOwnPropertyNames\n , getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\nmodule.exports = function (target, source) {\n\tvar error, sourceObject = Object(value(source));\n\ttarget = Object(value(target));\n\tgetOwnPropertyNames(sourceObject).forEach(function (name) {\n\t\ttry {\n\t\t\tdefineProperty(target, name, getOwnPropertyDescriptor(source, name));\n\t\t} catch (e) { error = e; }\n\t});\n\tif (typeof getOwnPropertySymbols === \"function\") {\n\t\tgetOwnPropertySymbols(sourceObject).forEach(function (symbol) {\n\t\t\ttry {\n\t\t\t\tdefineProperty(target, symbol, getOwnPropertyDescriptor(source, symbol));\n\t\t\t} catch (e) { error = e; }\n\t\t});\n\t}\n\tif (error !== undefined) throw error;\n\treturn target;\n};\n","\"use strict\";\n\nvar str = \"razdwatrzy\";\n\nmodule.exports = function () {\n\tif (typeof str.contains !== \"function\") return false;\n\treturn str.contains(\"dwa\") === true && str.contains(\"foo\") === false;\n};\n","\"use strict\";\n\nvar indexOf = String.prototype.indexOf;\n\nmodule.exports = function (searchString /*, position*/) {\n\treturn indexOf.call(this, searchString, arguments[1]) > -1;\n};\n","'use strict';\n\nvar d = require('d')\n , callable = require('es5-ext/object/valid-callable')\n\n , apply = Function.prototype.apply, call = Function.prototype.call\n , create = Object.create, defineProperty = Object.defineProperty\n , defineProperties = Object.defineProperties\n , hasOwnProperty = Object.prototype.hasOwnProperty\n , descriptor = { configurable: true, enumerable: false, writable: true }\n\n , on, once, off, emit, methods, descriptors, base;\n\non = function (type, listener) {\n\tvar data;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) {\n\t\tdata = descriptor.value = create(null);\n\t\tdefineProperty(this, '__ee__', descriptor);\n\t\tdescriptor.value = null;\n\t} else {\n\t\tdata = this.__ee__;\n\t}\n\tif (!data[type]) data[type] = listener;\n\telse if (typeof data[type] === 'object') data[type].push(listener);\n\telse data[type] = [data[type], listener];\n\n\treturn this;\n};\n\nonce = function (type, listener) {\n\tvar once, self;\n\n\tcallable(listener);\n\tself = this;\n\ton.call(this, type, once = function () {\n\t\toff.call(self, type, once);\n\t\tapply.call(listener, this, arguments);\n\t});\n\n\tonce.__eeOnceListener__ = listener;\n\treturn this;\n};\n\noff = function (type, listener) {\n\tvar data, listeners, candidate, i;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return this;\n\tdata = this.__ee__;\n\tif (!data[type]) return this;\n\tlisteners = data[type];\n\n\tif (typeof listeners === 'object') {\n\t\tfor (i = 0; (candidate = listeners[i]); ++i) {\n\t\t\tif ((candidate === listener) ||\n\t\t\t\t\t(candidate.__eeOnceListener__ === listener)) {\n\t\t\t\tif (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n\t\t\t\telse listeners.splice(i, 1);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif ((listeners === listener) ||\n\t\t\t\t(listeners.__eeOnceListener__ === listener)) {\n\t\t\tdelete data[type];\n\t\t}\n\t}\n\n\treturn this;\n};\n\nemit = function (type) {\n\tvar i, l, listener, listeners, args;\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return;\n\tlisteners = this.__ee__[type];\n\tif (!listeners) return;\n\n\tif (typeof listeners === 'object') {\n\t\tl = arguments.length;\n\t\targs = new Array(l - 1);\n\t\tfor (i = 1; i < l; ++i) args[i - 1] = arguments[i];\n\n\t\tlisteners = listeners.slice();\n\t\tfor (i = 0; (listener = listeners[i]); ++i) {\n\t\t\tapply.call(listener, this, args);\n\t\t}\n\t} else {\n\t\tswitch (arguments.length) {\n\t\tcase 1:\n\t\t\tcall.call(listeners, this);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tcall.call(listeners, this, arguments[1]);\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tcall.call(listeners, this, arguments[1], arguments[2]);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tl = arguments.length;\n\t\t\targs = new Array(l - 1);\n\t\t\tfor (i = 1; i < l; ++i) {\n\t\t\t\targs[i - 1] = arguments[i];\n\t\t\t}\n\t\t\tapply.call(listeners, this, args);\n\t\t}\n\t}\n};\n\nmethods = {\n\ton: on,\n\tonce: once,\n\toff: off,\n\temit: emit\n};\n\ndescriptors = {\n\ton: d(on),\n\tonce: d(once),\n\toff: d(off),\n\temit: d(emit)\n};\n\nbase = defineProperties({}, descriptors);\n\nmodule.exports = exports = function (o) {\n\treturn (o == null) ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n","\"use strict\";\n\nvar isValue = require(\"type/value/is\")\n , isPlainFunction = require(\"type/plain-function/is\")\n , assign = require(\"es5-ext/object/assign\")\n , normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , contains = require(\"es5-ext/string/#/contains\");\n\nvar d = (module.exports = function (dscr, value/*, options*/) {\n\tvar c, e, w, options, desc;\n\tif (arguments.length < 2 || typeof dscr !== \"string\") {\n\t\toptions = value;\n\t\tvalue = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[2];\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t\tw = contains.call(dscr, \"w\");\n\t} else {\n\t\tc = w = true;\n\t\te = false;\n\t}\n\n\tdesc = { value: value, configurable: c, enumerable: e, writable: w };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n});\n\nd.gs = function (dscr, get, set/*, options*/) {\n\tvar c, e, options, desc;\n\tif (typeof dscr !== \"string\") {\n\t\toptions = set;\n\t\tset = get;\n\t\tget = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[3];\n\t}\n\tif (!isValue(get)) {\n\t\tget = undefined;\n\t} else if (!isPlainFunction(get)) {\n\t\toptions = get;\n\t\tget = set = undefined;\n\t} else if (!isValue(set)) {\n\t\tset = undefined;\n\t} else if (!isPlainFunction(set)) {\n\t\toptions = set;\n\t\tset = undefined;\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t} else {\n\t\tc = true;\n\t\te = false;\n\t}\n\n\tdesc = { get: get, set: set, configurable: c, enumerable: e };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n};\n","\"use strict\";\n\n// ES3 safe\nvar _undefined = void 0;\n\nmodule.exports = function (value) { return value !== _undefined && value !== null; };\n","\"use strict\";\n\nvar isFunction = require(\"../function/is\");\n\nvar classRe = /^\\s*class[\\s{/}]/, functionToString = Function.prototype.toString;\n\nmodule.exports = function (value) {\n\tif (!isFunction(value)) return false;\n\tif (classRe.test(functionToString.call(value))) return false;\n\treturn true;\n};\n","\"use strict\";\n\nvar isPrototype = require(\"../prototype/is\");\n\nmodule.exports = function (value) {\n\tif (typeof value !== \"function\") return false;\n\n\tif (!hasOwnProperty.call(value, \"length\")) return false;\n\n\ttry {\n\t\tif (typeof value.length !== \"number\") return false;\n\t\tif (typeof value.call !== \"function\") return false;\n\t\tif (typeof value.apply !== \"function\") return false;\n\t} catch (error) {\n\t\treturn false;\n\t}\n\n\treturn !isPrototype(value);\n};\n","\"use strict\";\n\nvar isObject = require(\"../object/is\");\n\nmodule.exports = function (value) {\n\tif (!isObject(value)) return false;\n\ttry {\n\t\tif (!value.constructor) return false;\n\t\treturn value.constructor.prototype === value;\n\t} catch (error) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isValue = require(\"../value/is\");\n\n// prettier-ignore\nvar possibleTypes = { \"object\": true, \"function\": true, \"undefined\": true /* document.all */ };\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) return false;\n\treturn hasOwnProperty.call(possibleTypes, typeof value);\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.assign : require(\"./shim\");\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\nvar process = function (src, obj) {\n\tvar key;\n\tfor (key in src) obj[key] = src[key];\n};\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (opts1 /*, …options*/) {\n\tvar result = create(null);\n\tforEach.call(arguments, function (options) {\n\t\tif (!isValue(options)) return;\n\t\tprocess(Object(options), result);\n\t});\n\treturn result;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? String.prototype.contains : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar from = Array.from, arr, result;\n\tif (typeof from !== \"function\") return false;\n\tarr = [\"raz\", \"dwa\"];\n\tresult = from(arr);\n\treturn Boolean(result && result !== arr && result[1] === \"dwa\");\n};\n","\"use strict\";\n\nvar iteratorSymbol = require(\"es6-symbol\").iterator\n , isArguments = require(\"../../function/is-arguments\")\n , isFunction = require(\"../../function/is-function\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , callable = require(\"../../object/valid-callable\")\n , validValue = require(\"../../object/valid-value\")\n , isValue = require(\"../../object/is-value\")\n , isString = require(\"../../string/is-string\")\n , isArray = Array.isArray\n , call = Function.prototype.call\n , desc = { configurable: true, enumerable: true, writable: true, value: null }\n , defineProperty = Object.defineProperty;\n\n// eslint-disable-next-line complexity, max-lines-per-function\nmodule.exports = function (arrayLike /*, mapFn, thisArg*/) {\n\tvar mapFn = arguments[1]\n\t , thisArg = arguments[2]\n\t , Context\n\t , i\n\t , j\n\t , arr\n\t , length\n\t , code\n\t , iterator\n\t , result\n\t , getIterator\n\t , value;\n\n\tarrayLike = Object(validValue(arrayLike));\n\n\tif (isValue(mapFn)) callable(mapFn);\n\tif (!this || this === Array || !isFunction(this)) {\n\t\t// Result: Plain array\n\t\tif (!mapFn) {\n\t\t\tif (isArguments(arrayLike)) {\n\t\t\t\t// Source: Arguments\n\t\t\t\tlength = arrayLike.length;\n\t\t\t\tif (length !== 1) return Array.apply(null, arrayLike);\n\t\t\t\tarr = new Array(1);\n\t\t\t\tarr[0] = arrayLike[0];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t\tif (isArray(arrayLike)) {\n\t\t\t\t// Source: Array\n\t\t\t\tarr = new Array((length = arrayLike.length));\n\t\t\t\tfor (i = 0; i < length; ++i) arr[i] = arrayLike[i];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t}\n\t\tarr = [];\n\t} else {\n\t\t// Result: Non plain array\n\t\tContext = this;\n\t}\n\n\tif (!isArray(arrayLike)) {\n\t\tif ((getIterator = arrayLike[iteratorSymbol]) !== undefined) {\n\t\t\t// Source: Iterator\n\t\t\titerator = callable(getIterator).call(arrayLike);\n\t\t\tif (Context) arr = new Context();\n\t\t\tresult = iterator.next();\n\t\t\ti = 0;\n\t\t\twhile (!result.done) {\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, result.value, i) : result.value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[i] = value;\n\t\t\t\t}\n\t\t\t\tresult = iterator.next();\n\t\t\t\t++i;\n\t\t\t}\n\t\t\tlength = i;\n\t\t} else if (isString(arrayLike)) {\n\t\t\t// Source: String\n\t\t\tlength = arrayLike.length;\n\t\t\tif (Context) arr = new Context();\n\t\t\tfor (i = 0, j = 0; i < length; ++i) {\n\t\t\t\tvalue = arrayLike[i];\n\t\t\t\tif (i + 1 < length) {\n\t\t\t\t\tcode = value.charCodeAt(0);\n\t\t\t\t\t// eslint-disable-next-line max-depth\n\t\t\t\t\tif (code >= 0xd800 && code <= 0xdbff) value += arrayLike[++i];\n\t\t\t\t}\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, value, j) : value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, j, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[j] = value;\n\t\t\t\t}\n\t\t\t\t++j;\n\t\t\t}\n\t\t\tlength = j;\n\t\t}\n\t}\n\tif (length === undefined) {\n\t\t// Source: array or array-like\n\t\tlength = toPosInt(arrayLike.length);\n\t\tif (Context) arr = new Context(length);\n\t\tfor (i = 0; i < length; ++i) {\n\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];\n\t\t\tif (Context) {\n\t\t\t\tdesc.value = value;\n\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t} else {\n\t\t\t\tarr[i] = value;\n\t\t\t}\n\t\t}\n\t}\n\tif (Context) {\n\t\tdesc.value = null;\n\t\tarr.length = length;\n\t}\n\treturn arr;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")()\n\t? require(\"ext/global-this\").Symbol\n\t: require(\"./polyfill\");\n","\"use strict\";\n\nvar global = require(\"ext/global-this\")\n , validTypes = { object: true, symbol: true };\n\nmodule.exports = function () {\n\tvar Symbol = global.Symbol;\n\tvar symbol;\n\tif (typeof Symbol !== \"function\") return false;\n\tsymbol = Symbol(\"test symbol\");\n\ttry { String(symbol); }\n\tcatch (e) { return false; }\n\n\t// Return 'true' also for polyfills\n\tif (!validTypes[typeof Symbol.iterator]) return false;\n\tif (!validTypes[typeof Symbol.toPrimitive]) return false;\n\tif (!validTypes[typeof Symbol.toStringTag]) return false;\n\n\treturn true;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? globalThis : require(\"./implementation\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tif (typeof globalThis !== \"object\") return false;\n\tif (!globalThis) return false;\n\treturn globalThis.Array === Array;\n};\n","var naiveFallback = function () {\n\tif (typeof self === \"object\" && self) return self;\n\tif (typeof window === \"object\" && window) return window;\n\tthrow new Error(\"Unable to resolve global `this`\");\n};\n\nmodule.exports = (function () {\n\tif (this) return this;\n\n\t// Unexpected strict mode (may happen if e.g. bundled into ESM module)\n\n\t// Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n\t// In all ES5+ engines global object inherits from Object.prototype\n\t// (if you approached one that doesn't please report)\n\ttry {\n\t\tObject.defineProperty(Object.prototype, \"__global__\", {\n\t\t\tget: function () { return this; },\n\t\t\tconfigurable: true\n\t\t});\n\t} catch (error) {\n\t\t// Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n\t\treturn naiveFallback();\n\t}\n\ttry {\n\t\t// Safari case (window.__global__ is resolved with global context, but __global__ does not)\n\t\tif (!__global__) return naiveFallback();\n\t\treturn __global__;\n\t} finally {\n\t\tdelete Object.prototype.__global__;\n\t}\n})();\n","// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\n\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"./validate-symbol\")\n , NativeSymbol = require(\"ext/global-this\").Symbol\n , generateName = require(\"./lib/private/generate-name\")\n , setupStandardSymbols = require(\"./lib/private/setup/standard-symbols\")\n , setupSymbolRegistry = require(\"./lib/private/setup/symbol-registry\");\n\nvar create = Object.create\n , defineProperties = Object.defineProperties\n , defineProperty = Object.defineProperty;\n\nvar SymbolPolyfill, HiddenSymbol, isNativeSafe;\n\nif (typeof NativeSymbol === \"function\") {\n\ttry {\n\t\tString(NativeSymbol());\n\t\tisNativeSafe = true;\n\t} catch (ignore) {}\n} else {\n\tNativeSymbol = null;\n}\n\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\nHiddenSymbol = function Symbol(description) {\n\tif (this instanceof HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n\treturn SymbolPolyfill(description);\n};\n\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = SymbolPolyfill = function Symbol(description) {\n\tvar symbol;\n\tif (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n\tif (isNativeSafe) return NativeSymbol(description);\n\tsymbol = create(HiddenSymbol.prototype);\n\tdescription = description === undefined ? \"\" : String(description);\n\treturn defineProperties(symbol, {\n\t\t__description__: d(\"\", description),\n\t\t__name__: d(\"\", generateName(description))\n\t});\n};\n\nsetupStandardSymbols(SymbolPolyfill);\nsetupSymbolRegistry(SymbolPolyfill);\n\n// Internal tweaks for real symbol producer\ndefineProperties(HiddenSymbol.prototype, {\n\tconstructor: d(SymbolPolyfill),\n\ttoString: d(\"\", function () { return this.__name__; })\n});\n\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\ndefineProperties(SymbolPolyfill.prototype, {\n\ttoString: d(function () { return \"Symbol (\" + validateSymbol(this).__description__ + \")\"; }),\n\tvalueOf: d(function () { return validateSymbol(this); })\n});\ndefineProperty(\n\tSymbolPolyfill.prototype, SymbolPolyfill.toPrimitive,\n\td(\"\", function () {\n\t\tvar symbol = validateSymbol(this);\n\t\tif (typeof symbol === \"symbol\") return symbol;\n\t\treturn symbol.toString();\n\t})\n);\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d(\"c\", \"Symbol\"));\n\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toStringTag,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])\n);\n\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toPrimitive,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive])\n);\n","\"use strict\";\n\nvar isSymbol = require(\"./is-symbol\");\n\nmodule.exports = function (value) {\n\tif (!isSymbol(value)) throw new TypeError(value + \" is not a symbol\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tif (!value) return false;\n\tif (typeof value === \"symbol\") return true;\n\tif (!value.constructor) return false;\n\tif (value.constructor.name !== \"Symbol\") return false;\n\treturn value[value.constructor.toStringTag] === \"Symbol\";\n};\n","\"use strict\";\n\nvar d = require(\"d\");\n\nvar create = Object.create, defineProperty = Object.defineProperty, objPrototype = Object.prototype;\n\nvar created = create(null);\nmodule.exports = function (desc) {\n\tvar postfix = 0, name, ie11BugWorkaround;\n\twhile (created[desc + (postfix || \"\")]) ++postfix;\n\tdesc += postfix || \"\";\n\tcreated[desc] = true;\n\tname = \"@@\" + desc;\n\tdefineProperty(\n\t\tobjPrototype, name,\n\t\td.gs(null, function (value) {\n\t\t\t// For IE11 issue see:\n\t\t\t// https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n\t\t\t// ie11-broken-getters-on-dom-objects\n\t\t\t// https://github.com/medikoo/es6-symbol/issues/12\n\t\t\tif (ie11BugWorkaround) return;\n\t\t\tie11BugWorkaround = true;\n\t\t\tdefineProperty(this, name, d(value));\n\t\t\tie11BugWorkaround = false;\n\t\t})\n\t);\n\treturn name;\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , NativeSymbol = require(\"ext/global-this\").Symbol;\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\t// To ensure proper interoperability with other native functions (e.g. Array.from)\n\t\t// fallback to eventual native implementation of given symbol\n\t\thasInstance: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.hasInstance) || SymbolPolyfill(\"hasInstance\")\n\t\t),\n\t\tisConcatSpreadable: d(\n\t\t\t\"\",\n\t\t\t(NativeSymbol && NativeSymbol.isConcatSpreadable) ||\n\t\t\t\tSymbolPolyfill(\"isConcatSpreadable\")\n\t\t),\n\t\titerator: d(\"\", (NativeSymbol && NativeSymbol.iterator) || SymbolPolyfill(\"iterator\")),\n\t\tmatch: d(\"\", (NativeSymbol && NativeSymbol.match) || SymbolPolyfill(\"match\")),\n\t\treplace: d(\"\", (NativeSymbol && NativeSymbol.replace) || SymbolPolyfill(\"replace\")),\n\t\tsearch: d(\"\", (NativeSymbol && NativeSymbol.search) || SymbolPolyfill(\"search\")),\n\t\tspecies: d(\"\", (NativeSymbol && NativeSymbol.species) || SymbolPolyfill(\"species\")),\n\t\tsplit: d(\"\", (NativeSymbol && NativeSymbol.split) || SymbolPolyfill(\"split\")),\n\t\ttoPrimitive: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toPrimitive) || SymbolPolyfill(\"toPrimitive\")\n\t\t),\n\t\ttoStringTag: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toStringTag) || SymbolPolyfill(\"toStringTag\")\n\t\t),\n\t\tunscopables: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.unscopables) || SymbolPolyfill(\"unscopables\")\n\t\t)\n\t});\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"../../../validate-symbol\");\n\nvar registry = Object.create(null);\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\tfor: d(function (key) {\n\t\t\tif (registry[key]) return registry[key];\n\t\t\treturn (registry[key] = SymbolPolyfill(String(key)));\n\t\t}),\n\t\tkeyFor: d(function (symbol) {\n\t\t\tvar key;\n\t\t\tvalidateSymbol(symbol);\n\t\t\tfor (key in registry) {\n\t\t\t\tif (registry[key] === symbol) return key;\n\t\t\t}\n\t\t\treturn undefined;\n\t\t})\n\t});\n};\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , id = objToString.call((function () { return arguments; })());\n\nmodule.exports = function (value) { return objToString.call(value) === id; };\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);\n\nmodule.exports = function (value) {\n\treturn typeof value === \"function\" && isFunctionStringTag(objToString.call(value));\n};\n","\"use strict\";\n\nvar toInteger = require(\"./to-integer\")\n , max = Math.max;\n\nmodule.exports = function (value) { return max(0, toInteger(value)); };\n","\"use strict\";\n\nvar sign = require(\"../math/sign\")\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (value) {\n\tif (isNaN(value)) return 0;\n\tvalue = Number(value);\n\tif (value === 0 || !isFinite(value)) return value;\n\treturn sign(value) * floor(abs(value));\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Math.sign : require(\"./shim\");\n","\"use strict\";\n\nvar objToString = Object.prototype.toString, id = objToString.call(\"\");\n\nmodule.exports = function (value) {\n\treturn (\n\t\ttypeof value === \"string\" ||\n\t\t(value &&\n\t\t\ttypeof value === \"object\" &&\n\t\t\t(value instanceof String || objToString.call(value) === id)) ||\n\t\tfalse\n\t);\n};\n","\"use strict\";\n\nmodule.exports = function (args) {\n\tvar id, i, length = args.length;\n\tif (!length) return \"\\u0002\";\n\tid = String(args[(i = 0)]);\n\twhile (--length) id += \"\\u0001\" + args[++i];\n\treturn id;\n};\n","\"use strict\";\n\nmodule.exports = function (length) {\n\tif (!length) {\n\t\treturn function () { return \"\"; };\n\t}\n\treturn function (args) {\n\t\tvar id = String(args[0]), i = 0, currentLength = length;\n\t\twhile (--currentLength) {\n\t\t\tid += \"\\u0001\" + args[++i];\n\t\t}\n\t\treturn id;\n\t};\n};\n","/* eslint max-statements: 0 */\n\n\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nvar create = Object.create;\n\nmodule.exports = function () {\n\tvar lastId = 0, map = [], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) return set[length] || null;\n\t\t\tif ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) return null;\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\treturn set[1][i] || null;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) {\n\t\t\t\tset[length] = ++lastId;\n\t\t\t} else {\n\t\t\t\tif (!set[length]) {\n\t\t\t\t\tset[length] = [[], []];\n\t\t\t\t}\n\t\t\t\tset = set[length];\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t\t}\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t}\n\t\t\t\tset[1][i] = ++lastId;\n\t\t\t}\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, args = cache[id], length = args.length, path = [];\n\t\t\tif (length === 0) {\n\t\t\t\tdelete set[length];\n\t\t\t} else if ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tpath.push(set, i);\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tid = set[1][i];\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\t\ti = path.pop();\n\t\t\t\t\tset = path.pop();\n\t\t\t\t\tset[0].splice(i, 1);\n\t\t\t\t\tset[1].splice(i, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar numberIsNaN = require(\"../../number/is-nan\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , value = require(\"../../object/valid-value\")\n , indexOf = Array.prototype.indexOf\n , objHasOwnProperty = Object.prototype.hasOwnProperty\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (searchElement /*, fromIndex*/) {\n\tvar i, length, fromIndex, val;\n\tif (!numberIsNaN(searchElement)) return indexOf.apply(this, arguments);\n\n\tlength = toPosInt(value(this).length);\n\tfromIndex = arguments[1];\n\tif (isNaN(fromIndex)) fromIndex = 0;\n\telse if (fromIndex >= 0) fromIndex = floor(fromIndex);\n\telse fromIndex = toPosInt(this.length) - floor(abs(fromIndex));\n\n\tfor (i = fromIndex; i < length; ++i) {\n\t\tif (objHasOwnProperty.call(this, i)) {\n\t\t\tval = this[i];\n\t\t\tif (numberIsNaN(val)) return i; // Jslint: ignore\n\t\t}\n\t}\n\treturn -1;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Number.isNaN : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar numberIsNaN = Number.isNaN;\n\tif (typeof numberIsNaN !== \"function\") return false;\n\treturn !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\t// eslint-disable-next-line no-self-compare\n\treturn value !== value;\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nmodule.exports = function () {\n\tvar lastId = 0, argsMap = [], cache = [];\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = indexOf.call(argsMap, args[0]);\n\t\t\treturn index === -1 ? null : cache[index];\n\t\t},\n\t\tset: function (args) {\n\t\t\targsMap.push(args[0]);\n\t\t\tcache.push(++lastId);\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = indexOf.call(cache, id);\n\t\t\tif (index !== -1) {\n\t\t\t\targsMap.splice(index, 1);\n\t\t\t\tcache.splice(index, 1);\n\t\t\t}\n\t\t},\n\t\tclear: function () {\n\t\t\targsMap = [];\n\t\t\tcache = [];\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\")\n , create = Object.create;\n\nmodule.exports = function (length) {\n\tvar lastId = 0, map = [[], []], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) return null;\n\t\t\treturn set[1][i] || null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t}\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t}\n\t\t\tset[1][i] = ++lastId;\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, path = [], args = cache[id];\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tpath.push(set, i);\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tid = set[1][i];\n\t\t\tset[0].splice(i, 1);\n\t\t\tset[1].splice(i, 1);\n\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\ti = path.pop();\n\t\t\t\tset = path.pop();\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [[], []];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","/* eslint consistent-this: 0, no-shadow:0, no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n// Support for asynchronous functions\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , objectMap = require(\"es5-ext/object/map\")\n , mixin = require(\"es5-ext/object/mixin\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , nextTick = require(\"next-tick\");\n\nvar slice = Array.prototype.slice, apply = Function.prototype.apply, create = Object.create;\n\nrequire(\"../lib/registered-extensions\").async = function (tbi, conf) {\n\tvar waiting = create(null)\n\t , cache = create(null)\n\t , base = conf.memoized\n\t , original = conf.original\n\t , currentCallback\n\t , currentContext\n\t , currentArgs;\n\n\t// Initial\n\tconf.memoized = defineLength(function (arg) {\n\t\tvar args = arguments, last = args[args.length - 1];\n\t\tif (typeof last === \"function\") {\n\t\t\tcurrentCallback = last;\n\t\t\targs = slice.call(args, 0, -1);\n\t\t}\n\t\treturn base.apply((currentContext = this), (currentArgs = args));\n\t}, base);\n\ttry { mixin(conf.memoized, base); }\n\tcatch (ignore) {}\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id) {\n\t\tvar cb, context, args;\n\t\tif (!currentCallback) return;\n\n\t\t// Unresolved\n\t\tif (waiting[id]) {\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback];\n\t\t\telse waiting[id].push(currentCallback);\n\t\t\tcurrentCallback = null;\n\t\t\treturn;\n\t\t}\n\n\t\t// Resolved, assure next tick invocation\n\t\tcb = currentCallback;\n\t\tcontext = currentContext;\n\t\targs = currentArgs;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\tnextTick(function () {\n\t\t\tvar data;\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tdata = cache[id];\n\t\t\t\tconf.emit(\"getasync\", id, args, context);\n\t\t\t\tapply.call(cb, data.context, data.args);\n\t\t\t} else {\n\t\t\t\t// Purged in a meantime, we shouldn't rely on cached value, recall\n\t\t\t\tcurrentCallback = cb;\n\t\t\t\tcurrentContext = context;\n\t\t\t\tcurrentArgs = args;\n\t\t\t\tbase.apply(context, args);\n\t\t\t}\n\t\t});\n\t});\n\n\t// Not from cache\n\tconf.original = function () {\n\t\tvar args, cb, origCb, result;\n\t\tif (!currentCallback) return apply.call(original, this, arguments);\n\t\targs = aFrom(arguments);\n\t\tcb = function self(err) {\n\t\t\tvar cb, args, id = self.id;\n\t\t\tif (id == null) {\n\t\t\t\t// Shouldn't happen, means async callback was called sync way\n\t\t\t\tnextTick(apply.bind(self, this, arguments));\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tdelete self.id;\n\t\t\tcb = waiting[id];\n\t\t\tdelete waiting[id];\n\t\t\tif (!cb) {\n\t\t\t\t// Already processed,\n\t\t\t\t// outcome of race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\targs = aFrom(arguments);\n\t\t\tif (conf.has(id)) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconf.delete(id);\n\t\t\t\t} else {\n\t\t\t\t\tcache[id] = { context: this, args: args };\n\t\t\t\t\tconf.emit(\"setasync\", id, typeof cb === \"function\" ? 1 : cb.length);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (typeof cb === \"function\") {\n\t\t\t\tresult = apply.call(cb, this, args);\n\t\t\t} else {\n\t\t\t\tcb.forEach(function (cb) { result = apply.call(cb, this, args); }, this);\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\t\torigCb = currentCallback;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\targs.push(cb);\n\t\tresult = apply.call(original, this, args);\n\t\tcb.cb = origCb;\n\t\tcurrentCallback = cb;\n\t\treturn result;\n\t};\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id) {\n\t\tif (!currentCallback) {\n\t\t\tconf.delete(id);\n\t\t\treturn;\n\t\t}\n\t\tif (waiting[id]) {\n\t\t\t// Race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback.cb];\n\t\t\telse waiting[id].push(currentCallback.cb);\n\t\t} else {\n\t\t\twaiting[id] = currentCallback.cb;\n\t\t}\n\t\tdelete currentCallback.cb;\n\t\tcurrentCallback.id = id;\n\t\tcurrentCallback = null;\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tvar result;\n\t\t// If false, we don't have value yet, so we assume that intention is not\n\t\t// to memoize this call. After value is obtained we don't cache it but\n\t\t// gracefully pass to callback\n\t\tif (hasOwnProperty.call(waiting, id)) return;\n\t\tif (!cache[id]) return;\n\t\tresult = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, slice.call(result.args, 1));\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\tconf.emit(\n\t\t\t\"clearasync\", objectMap(oldCache, function (data) { return slice.call(data.args, 1); })\n\t\t);\n\t});\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Array.from : require(\"./shim\");\n","\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , forEach = require(\"./for-each\")\n , call = Function.prototype.call;\n\nmodule.exports = function (obj, cb /*, thisArg*/) {\n\tvar result = {}, thisArg = arguments[2];\n\tcallable(cb);\n\tforEach(obj, function (value, key, targetObj, index) {\n\t\tresult[key] = call.call(cb, thisArg, value, key, targetObj, index);\n\t});\n\treturn result;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./_iterate\")(\"forEach\");\n","\"use strict\";\n\nvar toPosInt = require(\"../number/to-pos-integer\");\n\nvar test = function (arg1, arg2) { return arg2; };\n\nvar desc, defineProperty, generate, mixin;\n\ntry {\n\tObject.defineProperty(test, \"length\", {\n\t\tconfigurable: true,\n\t\twritable: false,\n\t\tenumerable: false,\n\t\tvalue: 1\n\t});\n}\ncatch (ignore) {}\n\nif (test.length === 1) {\n\t// ES6\n\tdesc = { configurable: true, writable: false, enumerable: false };\n\tdefineProperty = Object.defineProperty;\n\tmodule.exports = function (fn, length) {\n\t\tlength = toPosInt(length);\n\t\tif (fn.length === length) return fn;\n\t\tdesc.value = length;\n\t\treturn defineProperty(fn, \"length\", desc);\n\t};\n} else {\n\tmixin = require(\"../object/mixin\");\n\tgenerate = (function () {\n\t\tvar cache = [];\n\t\treturn function (length) {\n\t\t\tvar args, i = 0;\n\t\t\tif (cache[length]) return cache[length];\n\t\t\targs = [];\n\t\t\twhile (length--) args.push(\"a\" + (++i).toString(36));\n\t\t\t// eslint-disable-next-line no-new-func\n\t\t\treturn new Function(\n\t\t\t\t\"fn\",\n\t\t\t\t\"return function (\" + args.join(\", \") + \") { return fn.apply(this, arguments); };\"\n\t\t\t);\n\t\t};\n\t})();\n\tmodule.exports = function (src, length) {\n\t\tvar target;\n\t\tlength = toPosInt(length);\n\t\tif (src.length === length) return src;\n\t\ttarget = generate(length)(src);\n\t\ttry { mixin(target, src); }\n\t\tcatch (ignore) {}\n\t\treturn target;\n\t};\n}\n","'use strict';\n\nvar ensureCallable = function (fn) {\n\tif (typeof fn !== 'function') throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n\nvar byObserver = function (Observer) {\n\tvar node = document.createTextNode(''), queue, currentQueue, i = 0;\n\tnew Observer(function () {\n\t\tvar callback;\n\t\tif (!queue) {\n\t\t\tif (!currentQueue) return;\n\t\t\tqueue = currentQueue;\n\t\t} else if (currentQueue) {\n\t\t\tqueue = currentQueue.concat(queue);\n\t\t}\n\t\tcurrentQueue = queue;\n\t\tqueue = null;\n\t\tif (typeof currentQueue === 'function') {\n\t\t\tcallback = currentQueue;\n\t\t\tcurrentQueue = null;\n\t\t\tcallback();\n\t\t\treturn;\n\t\t}\n\t\tnode.data = (i = ++i % 2); // Invoke other batch, to handle leftover callbacks in case of crash\n\t\twhile (currentQueue) {\n\t\t\tcallback = currentQueue.shift();\n\t\t\tif (!currentQueue.length) currentQueue = null;\n\t\t\tcallback();\n\t\t}\n\t}).observe(node, { characterData: true });\n\treturn function (fn) {\n\t\tensureCallable(fn);\n\t\tif (queue) {\n\t\t\tif (typeof queue === 'function') queue = [queue, fn];\n\t\t\telse queue.push(fn);\n\t\t\treturn;\n\t\t}\n\t\tqueue = fn;\n\t\tnode.data = (i = ++i % 2);\n\t};\n};\n\nmodule.exports = (function () {\n\t// Node.js\n\tif ((typeof process === 'object') && process && (typeof process.nextTick === 'function')) {\n\t\treturn process.nextTick;\n\t}\n\n\t// queueMicrotask\n\tif (typeof queueMicrotask === \"function\") {\n\t\treturn function (cb) { queueMicrotask(ensureCallable(cb)); };\n\t}\n\n\t// MutationObserver\n\tif ((typeof document === 'object') && document) {\n\t\tif (typeof MutationObserver === 'function') return byObserver(MutationObserver);\n\t\tif (typeof WebKitMutationObserver === 'function') return byObserver(WebKitMutationObserver);\n\t}\n\n\t// W3C Draft\n\t// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n\tif (typeof setImmediate === 'function') {\n\t\treturn function (cb) { setImmediate(ensureCallable(cb)); };\n\t}\n\n\t// Wide available standard\n\tif ((typeof setTimeout === 'function') || (typeof setTimeout === 'object')) {\n\t\treturn function (cb) { setTimeout(ensureCallable(cb), 0); };\n\t}\n\n\treturn null;\n}());\n","/* eslint max-statements: 0 */\n\n// Support for functions returning promise\n\n\"use strict\";\n\nvar objectMap = require(\"es5-ext/object/map\")\n , primitiveSet = require(\"es5-ext/object/primitive-set\")\n , ensureString = require(\"es5-ext/object/validate-stringifiable-value\")\n , toShortString = require(\"es5-ext/to-short-string-representation\")\n , isPromise = require(\"is-promise\")\n , nextTick = require(\"next-tick\");\n\nvar create = Object.create\n , supportedModes = primitiveSet(\"then\", \"then:finally\", \"done\", \"done:finally\");\n\nrequire(\"../lib/registered-extensions\").promise = function (mode, conf) {\n\tvar waiting = create(null), cache = create(null), promises = create(null);\n\n\tif (mode === true) {\n\t\tmode = null;\n\t} else {\n\t\tmode = ensureString(mode);\n\t\tif (!supportedModes[mode]) {\n\t\t\tthrow new TypeError(\"'\" + toShortString(mode) + \"' is not valid promise mode\");\n\t\t}\n\t}\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id, ignore, promise) {\n\t\tvar isFailed = false;\n\n\t\tif (!isPromise(promise)) {\n\t\t\t// Non promise result\n\t\t\tcache[id] = promise;\n\t\t\tconf.emit(\"setasync\", id, 1);\n\t\t\treturn;\n\t\t}\n\t\twaiting[id] = 1;\n\t\tpromises[id] = promise;\n\t\tvar onSuccess = function (result) {\n\t\t\tvar count = waiting[id];\n\t\t\tif (isFailed) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Detected unordered then|done & finally resolution, which \" +\n\t\t\t\t\t\t\"in turn makes proper detection of success/failure impossible (when in \" +\n\t\t\t\t\t\t\"'done:finally' mode)\\n\" +\n\t\t\t\t\t\t\"Consider to rely on 'then' or 'done' mode instead.\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (!count) return; // Deleted from cache before resolved\n\t\t\tdelete waiting[id];\n\t\t\tcache[id] = result;\n\t\t\tconf.emit(\"setasync\", id, count);\n\t\t};\n\t\tvar onFailure = function () {\n\t\t\tisFailed = true;\n\t\t\tif (!waiting[id]) return; // Deleted from cache (or succeed in case of finally)\n\t\t\tdelete waiting[id];\n\t\t\tdelete promises[id];\n\t\t\tconf.delete(id);\n\t\t};\n\n\t\tvar resolvedMode = mode;\n\t\tif (!resolvedMode) resolvedMode = \"then\";\n\n\t\tif (resolvedMode === \"then\") {\n\t\t\tvar nextTickFailure = function () { nextTick(onFailure); };\n\t\t\t// Eventual finally needs to be attached to non rejected promise\n\t\t\t// (so we not force propagation of unhandled rejection)\n\t\t\tpromise = promise.then(function (result) {\n\t\t\t\tnextTick(onSuccess.bind(this, result));\n\t\t\t}, nextTickFailure);\n\t\t\t// If `finally` is a function we attach to it to remove cancelled promises.\n\t\t\tif (typeof promise.finally === \"function\") {\n\t\t\t\tpromise.finally(nextTickFailure);\n\t\t\t}\n\t\t} else if (resolvedMode === \"done\") {\n\t\t\t// Not recommended, as it may mute any eventual \"Unhandled error\" events\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess, onFailure);\n\t\t} else if (resolvedMode === \"done:finally\") {\n\t\t\t// The only mode with no side effects assuming library does not throw unconditionally\n\t\t\t// for rejected promises.\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (typeof promise.finally !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'finally' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess);\n\t\t\tpromise.finally(onFailure);\n\t\t}\n\t});\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id, args, context) {\n\t\tvar promise;\n\t\tif (waiting[id]) {\n\t\t\t++waiting[id]; // Still waiting\n\t\t\treturn;\n\t\t}\n\t\tpromise = promises[id];\n\t\tvar emit = function () { conf.emit(\"getasync\", id, args, context); };\n\t\tif (isPromise(promise)) {\n\t\t\tif (typeof promise.done === \"function\") promise.done(emit);\n\t\t\telse {\n\t\t\t\tpromise.then(function () { nextTick(emit); });\n\t\t\t}\n\t\t} else {\n\t\t\temit();\n\t\t}\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tdelete promises[id];\n\t\tif (waiting[id]) {\n\t\t\tdelete waiting[id];\n\t\t\treturn; // Not yet resolved\n\t\t}\n\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\tvar result = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, [result]);\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\twaiting = create(null);\n\t\tpromises = create(null);\n\t\tconf.emit(\"clearasync\", objectMap(oldCache, function (data) { return [data]; }));\n\t});\n};\n","\"use strict\";\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (arg /*, …args*/) {\n\tvar set = create(null);\n\tforEach.call(arguments, function (name) { set[name] = true; });\n\treturn set;\n};\n","\"use strict\";\n\nvar ensureValue = require(\"./valid-value\")\n , stringifiable = require(\"./validate-stringifiable\");\n\nmodule.exports = function (value) { return stringifiable(ensureValue(value)); };\n","\"use strict\";\n\nvar isCallable = require(\"./is-callable\");\n\nmodule.exports = function (stringifiable) {\n\ttry {\n\t\tif (stringifiable && isCallable(stringifiable.toString)) return stringifiable.toString();\n\t\treturn String(stringifiable);\n\t} catch (e) {\n\t\tthrow new TypeError(\"Passed argument cannot be stringifed\");\n\t}\n};\n","// Deprecated\n\n\"use strict\";\n\nmodule.exports = function (obj) { return typeof obj === \"function\"; };\n","\"use strict\";\n\nvar safeToString = require(\"./safe-to-string\");\n\nvar reNewLine = /[\\n\\r\\u2028\\u2029]/g;\n\nmodule.exports = function (value) {\n\tvar string = safeToString(value);\n\t// Trim if too long\n\tif (string.length > 100) string = string.slice(0, 99) + \"…\";\n\t// Replace eventual new lines\n\tstring = string.replace(reNewLine, function (char) {\n\t\treturn JSON.stringify(char).slice(1, -1);\n\t});\n\treturn string;\n};\n","\"use strict\";\n\nvar isCallable = require(\"./object/is-callable\");\n\nmodule.exports = function (value) {\n\ttry {\n\t\tif (value && isCallable(value.toString)) return value.toString();\n\t\treturn String(value);\n\t} catch (e) {\n\t\treturn \"\";\n\t}\n};\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","// Call dispose callback on each cache purge\n\n\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"../lib/registered-extensions\")\n , apply = Function.prototype.apply;\n\nextensions.dispose = function (dispose, conf, options) {\n\tvar del;\n\tcallable(dispose);\n\tif ((options.async && extensions.async) || (options.promise && extensions.promise)) {\n\t\tconf.on(\n\t\t\t\"deleteasync\",\n\t\t\t(del = function (id, resultArray) { apply.call(dispose, null, resultArray); })\n\t\t);\n\t\tconf.on(\"clearasync\", function (cache) {\n\t\t\tforEach(cache, function (result, id) { del(id, result); });\n\t\t});\n\t\treturn;\n\t}\n\tconf.on(\"delete\", (del = function (id, result) { dispose(result); }));\n\tconf.on(\"clear\", function (cache) {\n\t\tforEach(cache, function (result, id) { del(id, result); });\n\t});\n};\n","/* eslint consistent-this: 0 */\n\n// Timeout cached values\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , forEach = require(\"es5-ext/object/for-each\")\n , nextTick = require(\"next-tick\")\n , isPromise = require(\"is-promise\")\n , timeout = require(\"timers-ext/valid-timeout\")\n , extensions = require(\"../lib/registered-extensions\");\n\nvar noop = Function.prototype, max = Math.max, min = Math.min, create = Object.create;\n\nextensions.maxAge = function (maxAge, conf, options) {\n\tvar timeouts, postfix, preFetchAge, preFetchTimeouts;\n\n\tmaxAge = timeout(maxAge);\n\tif (!maxAge) return;\n\n\ttimeouts = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\tconf.on(\"set\" + postfix, function (id) {\n\t\ttimeouts[id] = setTimeout(function () { conf.delete(id); }, maxAge);\n\t\tif (typeof timeouts[id].unref === \"function\") timeouts[id].unref();\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id]) {\n\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\t}\n\t\tpreFetchTimeouts[id] = setTimeout(function () {\n\t\t\tdelete preFetchTimeouts[id];\n\t\t}, preFetchAge);\n\t\tif (typeof preFetchTimeouts[id].unref === \"function\") preFetchTimeouts[id].unref();\n\t});\n\tconf.on(\"delete\" + postfix, function (id) {\n\t\tclearTimeout(timeouts[id]);\n\t\tdelete timeouts[id];\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\tdelete preFetchTimeouts[id];\n\t});\n\n\tif (options.preFetch) {\n\t\tif (options.preFetch === true || isNaN(options.preFetch)) {\n\t\t\tpreFetchAge = 0.333;\n\t\t} else {\n\t\t\tpreFetchAge = max(min(Number(options.preFetch), 1), 0);\n\t\t}\n\t\tif (preFetchAge) {\n\t\t\tpreFetchTimeouts = {};\n\t\t\tpreFetchAge = (1 - preFetchAge) * maxAge;\n\t\t\tconf.on(\"get\" + postfix, function (id, args, context) {\n\t\t\t\tif (!preFetchTimeouts[id]) {\n\t\t\t\t\tpreFetchTimeouts[id] = \"nextTick\";\n\t\t\t\t\tnextTick(function () {\n\t\t\t\t\t\tvar result;\n\t\t\t\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") return;\n\t\t\t\t\t\tdelete preFetchTimeouts[id];\n\t\t\t\t\t\tconf.delete(id);\n\t\t\t\t\t\tif (options.async) {\n\t\t\t\t\t\t\targs = aFrom(args);\n\t\t\t\t\t\t\targs.push(noop);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresult = conf.memoized.apply(context, args);\n\t\t\t\t\t\tif (options.promise) {\n\t\t\t\t\t\t\t// Supress eventual error warnings\n\t\t\t\t\t\t\tif (isPromise(result)) {\n\t\t\t\t\t\t\t\tif (typeof result.done === \"function\") result.done(noop, noop);\n\t\t\t\t\t\t\t\telse result.then(noop, noop);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tconf.on(\"clear\" + postfix, function () {\n\t\tforEach(timeouts, function (id) { clearTimeout(id); });\n\t\ttimeouts = {};\n\t\tif (preFetchTimeouts) {\n\t\t\tforEach(preFetchTimeouts, function (id) { if (id !== \"nextTick\") clearTimeout(id); });\n\t\t\tpreFetchTimeouts = {};\n\t\t}\n\t});\n};\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\")\n , maxTimeout = require(\"./max-timeout\");\n\nmodule.exports = function (value) {\n\tvalue = toPosInt(value);\n\tif (value > maxTimeout) throw new TypeError(value + \" exceeds maximum possible timeout\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = 2147483647;\n","// Limit cache size, LRU (least recently used) algorithm.\n\n\"use strict\";\n\nvar toPosInteger = require(\"es5-ext/number/to-pos-integer\")\n , lruQueue = require(\"lru-queue\")\n , extensions = require(\"../lib/registered-extensions\");\n\nextensions.max = function (max, conf, options) {\n\tvar postfix, queue, hit;\n\n\tmax = toPosInteger(max);\n\tif (!max) return;\n\n\tqueue = lruQueue(max);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\n\t\t\"set\" + postfix,\n\t\t(hit = function (id) {\n\t\t\tid = queue.hit(id);\n\t\t\tif (id === undefined) return;\n\t\t\tconf.delete(id);\n\t\t})\n\t);\n\tconf.on(\"get\" + postfix, hit);\n\tconf.on(\"delete\" + postfix, queue.delete);\n\tconf.on(\"clear\" + postfix, queue.clear);\n};\n","'use strict';\n\nvar toPosInt = require('es5-ext/number/to-pos-integer')\n\n , create = Object.create, hasOwnProperty = Object.prototype.hasOwnProperty;\n\nmodule.exports = function (limit) {\n\tvar size = 0, base = 1, queue = create(null), map = create(null), index = 0, del;\n\tlimit = toPosInt(limit);\n\treturn {\n\t\thit: function (id) {\n\t\t\tvar oldIndex = map[id], nuIndex = ++index;\n\t\t\tqueue[nuIndex] = id;\n\t\t\tmap[id] = nuIndex;\n\t\t\tif (!oldIndex) {\n\t\t\t\t++size;\n\t\t\t\tif (size <= limit) return;\n\t\t\t\tid = queue[base];\n\t\t\t\tdel(id);\n\t\t\t\treturn id;\n\t\t\t}\n\t\t\tdelete queue[oldIndex];\n\t\t\tif (base !== oldIndex) return;\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tdelete: del = function (id) {\n\t\t\tvar oldIndex = map[id];\n\t\t\tif (!oldIndex) return;\n\t\t\tdelete queue[oldIndex];\n\t\t\tdelete map[id];\n\t\t\t--size;\n\t\t\tif (base !== oldIndex) return;\n\t\t\tif (!size) {\n\t\t\t\tindex = 0;\n\t\t\t\tbase = 1;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tclear: function () {\n\t\t\tsize = 0;\n\t\t\tbase = 1;\n\t\t\tqueue = create(null);\n\t\t\tmap = create(null);\n\t\t\tindex = 0;\n\t\t}\n\t};\n};\n","// Reference counter, useful for garbage collector like functionality\n\n\"use strict\";\n\nvar d = require(\"d\")\n , extensions = require(\"../lib/registered-extensions\")\n , create = Object.create\n , defineProperties = Object.defineProperties;\n\nextensions.refCounter = function (ignore, conf, options) {\n\tvar cache, postfix;\n\n\tcache = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\"set\" + postfix, function (id, length) { cache[id] = length || 1; });\n\tconf.on(\"get\" + postfix, function (id) { ++cache[id]; });\n\tconf.on(\"delete\" + postfix, function (id) { delete cache[id]; });\n\tconf.on(\"clear\" + postfix, function () { cache = {}; });\n\n\tdefineProperties(conf.memoized, {\n\t\tdeleteRef: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return null;\n\t\t\tif (!cache[id]) return null;\n\t\t\tif (!--cache[id]) {\n\t\t\t\tconf.delete(id);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}),\n\t\tgetRefCount: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return 0;\n\t\t\tif (!cache[id]) return 0;\n\t\t\treturn cache[id];\n\t\t}),\n\t});\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], 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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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('build 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: 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(options.includePrerelease ? re[t.COERCEFULL] : 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 // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.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 const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]\n let next\n while ((next = coerceRtlRegex.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 coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n const major = match[2]\n const minor = match[3] || '0'\n const patch = match[4] || '0'\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''\n\n return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","const SPACE_CHARACTERS = /\\s+/g\n\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.formatted = undefined\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\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.formatted = undefined\n }\n\n get range () {\n if (this.formatted === undefined) {\n this.formatted = ''\n for (let i = 0; i < this.set.length; i++) {\n if (i > 0) {\n this.formatted += '||'\n }\n const comps = this.set[i]\n for (let k = 0; k < comps.length; k++) {\n if (k > 0) {\n this.formatted += ' '\n }\n this.formatted += comps[k].toString().trim()\n }\n }\n }\n return this.formatted\n }\n\n format () {\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('../internal/lrucache')\nconst cache = new LRU()\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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\n// TODO build?\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr) => {\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","class LRUCache {\n constructor () {\n this.max = 1000\n this.map = new Map()\n }\n\n get (key) {\n const value = this.map.get(key)\n if (value === undefined) {\n return undefined\n } else {\n // Remove the key from the map and add it to the end\n this.map.delete(key)\n this.map.set(key, value)\n return value\n }\n }\n\n delete (key) {\n return this.map.delete(key)\n }\n\n set (key, value) {\n const deleted = this.delete(key)\n\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value\n this.delete(firstKey)\n }\n\n this.map.set(key, value)\n }\n\n return this\n }\n}\n\nmodule.exports = LRUCache\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n",null,"import { basename, extname } from \"path\"\n\n/**\n * Get the name of the given file path.\n *\n * By default the file extension is included in the returned name. To remove the extension, set the second parameter to `false`.\n *\n * @example\n *\n * ```js\n * import { name } from \"patha\"\n *\n * name(\"path/to/file.md\") // gives \"file.md\"\n *\n * name(\"path/to/file.md\", false) // gives \"file\"\n * ```\n *\n * @param path The given file path\n * @param includeExtension If the name should include the file extension as well\n * @returns The base name without the extension\n */\nexport function name(path: string, includeExtension: boolean = true) {\n if (includeExtension) {\n return basename(path)\n } else {\n return basename(path, extname(path))\n }\n}\n","import { normalize, sep } from \"path\"\nimport escapeRegexp from \"escape-string-regexp\"\n\n/**\n * Normalizes the path and removes the trailing slashes.\n *\n * @example\n *\n * ```js\n * import { normalize, normalizeTrim } from \"patha\"\n *\n * normalizeTrim(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf\"\n *\n * normalize(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf/\"\n * ```\n *\n * @param path The given file path\n * @returns The normalized and trimmed file path\n */\nexport function normalizeTrim(path: string) {\n return normalize(path).replace(new RegExp(`${escapeRegexp(sep)}$`), \"\")\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @example\n *\n * ```js\n * import { addExeExt } from \"patha\"\n *\n * addExeExt(\"path/to/file-name\") // gives \"path/to/file-name.exe\" on Windows and \"path/to/file-name\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext Defaults to `.exe` on Windows\n * @param other_ext Defaults to `\"\"` On other platforms.\n */\nexport function addExeExt(name: string, win_ext = \".exe\", other_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a prefix to the start of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNamePrefix } from \"patha\"\n *\n * addNamePrefix(\"path/to/file-name.ext\", \"new-\") // gives \"path/to/new-file-name.ext\"\n * ```\n *\n * @param path The given file path\n * @param prefix The prefix to add to the start of the file name\n * @returns The path with a prefix added to its file name\n */\nexport function addNamePrefix(path: string, prefix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name prefix\n const NameWithPrefix = `${prefix}${nameWithoutExt}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithPrefix)\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a suffix to the end of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNameSuffix } from \"patha\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \"-old\") // gives \"path/to/file-name-old.ext\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \".test\") // gives \"path/to/file-name.test.ext\"\n * ```\n *\n * @param path The given file path\n * @param suffix The suffix to add to the end of the file name\n * @returns The path with a suffix added to its file name\n */\nexport function addNameSuffix(path: string, suffix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name suffix\n const NameWithSuffix = `${nameWithoutExt}${suffix}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithSuffix)\n}\n","/**\n * Add a native shell extension to the given name.\n *\n * @example\n *\n * ```js\n * import { addShExt } from \"patha\"\n *\n * addShExt(\"path/to/file-name\") // gives \"path/to/file-name.cmd\" on Windows and \"path/to/file-name.sh\" on others\n *\n * addShExt(\"path/to/file-name\", \".bat\") // gives \"path/to/file-name.bat\" on Windows and \"path/to/file-name.sh\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.cmd` on Windows\n * @param other_ext `.sh` On others.\n * @returns The file path with the shell extension added\n */\nexport function addShExt(name: string, win_ext = \".cmd\", other_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","/**\n * Prefix a `./` for unix shell and nothing for `cmd`.\n *\n * @example\n *\n * ```js\n * import { addShRelativePrefix } from \"patha\"\n *\n * addShRelativePrefix(\"some/file-name\") // gives \"some/file-name\" on Windows and \"./some/file-name\" on others.\n * ```\n *\n * @param path The given path\n * @returns The path with `./` added on Unix\n */\nexport function addShRelativePrefix(path: string) {\n if (process.platform === \"win32\") {\n return path\n }\n return `./${path}`\n}\n","import { extname } from \"path\"\n\n/**\n * Remove a path's extension.\n *\n * @example\n *\n * ```js\n * import { removeExt } from \"patha\"\n *\n * removeExt(\"some/dir/file.ext\") // gives \"some/dir/file\"\n * ```\n *\n * @param path The given path\n * @returns The path without its file extension\n */\nexport function removeExt(path: string) {\n const extensionLength = extname(path).length\n return path.slice(0, -extensionLength)\n}\n","import replaceExtOrig from \"replace-ext\"\n\n/**\n * Replaces the extension from path with extension and returns the updated path string.\n *\n * Does not replace the extension if path is not a string or is empty.\n *\n * @example\n *\n * ```js\n * import { replaceExt } from \"patha\"\n *\n * replaceExt(\"path/to/file.md\", \".html\") // gives \"path/to/file.html\"\n * ```\n *\n * @param path The given path\n * @param extension The extension to replace\n */\nexport function replaceExt(path: string, extension: string) {\n // TODO replaceExt should not change `/` to `\\\\` on Windows\n return replaceExtOrig(path, extension)\n}\n","import { relative, resolve, sep } from \"path\"\n\n/**\n * Check if a path is inside another path.\n *\n * Note that relative paths are resolved against `process.cwd()` to make them absolute.\n *\n * This function does not check if the paths exist and it only works with strings.\n *\n * @example\n *\n * ```js\n * import { isPathInside } from \"patha\"\n *\n * isPathInside(\"a/b/c\", \"a/b\")\n * //=> true\n *\n * isPathInside(\"a/b/c\", \"x/y\")\n * //=> false\n *\n * isPathInside(\"a/b/c\", \"a/b/c\")\n * //=> false\n *\n * isPathInside(\"/Users/some/dev/aa\", \"/Users/some\")\n * //=> true\n * ```\n */\nexport function isPathInside(childPath: string, parentPath: string): boolean {\n // copied from is-path-inside because the package uses node:path that can't be bundled for the browser\n\n const relation = relative(parentPath, childPath)\n\n return Boolean(relation && relation !== \"..\" && !relation.startsWith(`..${sep}`) && relation !== resolve(childPath))\n}\n","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n var nFilepath = path.join(path.dirname(npath), nFileName);\n\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if (startsWithSingleDot(npath)) {\n return '.' + path.sep + nFilepath;\n }\n\n return nFilepath;\n}\n\nfunction startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === '.' + path.sep || first2chars === './';\n}\n\nmodule.exports = replaceExt;\n",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction 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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.895b8a50.js\"))).then(() => parcelRequire('apy8x'));","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"hdi.619de66c.js\"))).then(() => parcelRequire('9IkUc'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport { finalizeRC } from \"envosman\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates.js\"\nimport { parseArgs, printHelp, rcOptions } from \"./cli-options.js\"\nimport { installCompiler } from \"./compilers.js\"\nimport { installTool } from \"./installTool.js\"\nimport { tools } from \"./tool.js\"\nimport { isArch } from \"./utils/env/isArch.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version.js\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack.js\"\nimport { syncVersions } from \"./versions/versions.js\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"~\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n Number.parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeRC(rcOptions)\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup-cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n for (const tool of successMessages) {\n success(tool)\n }\n for (const tool of errorMessages) {\n error(tool)\n }\n\n info(\"setup-cpp finished\")\n\n if (!GITHUB_ACTIONS) {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","export { addEnv, AddEnvOptions } from \"./add-env.js\"\nexport { addPath, AddPathOptions } from \"./add-path.js\"\nexport { finalizeRC, sourceRCInRc as sourceRC } from \"./rc-file.js\"\n","import { promises } from \"fs\"\nimport { exportVariable as ghExportVariable } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\"\nimport { escapeString } from \"./utils.js\"\nconst { appendFile } = promises\n\n/**\n * The options for adding an environment variable\n */\nexport type AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n escapeSpace: boolean\n /** If false, the variable will be only added if it is not already defined (Default to true) */\n overwrite: boolean\n /**\n * The path to the RC file that the env variables should be added to.\n */\n rcPath: string\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\n\nexport async function addEnv(\n name: string,\n valGiven: string | undefined,\n givenOptions: Partial = {},\n) {\n const options = {\n escapeSpace: false,\n overwrite: true,\n rcPath: defaultRcPath,\n ...givenOptions,\n }\n\n const val = escapeString(valGiven ?? \"\", options.escapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n ghExportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\n }\n } catch (err) {\n error(`${err}\\nFailed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\nasync function addEnvSystem(name: string, valGiven: string | undefined, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options)\n if (!options.overwrite) {\n await appendFile(options.rcPath, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${options.rcPath}`)\n } else {\n await appendFile(options.rcPath, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${options.rcPath}`)\n }\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n","import * as execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" },\n): execa.ExecaChildProcess {\n return execa.execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" },\n): execa.ExecaSyncReturnValue {\n return execa.execaSync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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 cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\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\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","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","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","'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';\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';\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 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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport pathKey from 'path-key';\n\nexport const npmRunPath = ({\n\tcwd = process.cwd(),\n\tpath: pathOption = process.env[pathKey()],\n\tpreferLocal = true,\n\texecPath = process.execPath,\n\taddExecPath = true,\n} = {}) => {\n\tconst cwdString = cwd instanceof URL ? fileURLToPath(cwd) : cwd;\n\tconst cwdPath = path.resolve(cwdString);\n\tconst result = [];\n\n\tif (preferLocal) {\n\t\tapplyPreferLocal(result, cwdPath);\n\t}\n\n\tif (addExecPath) {\n\t\tapplyExecPath(result, execPath, cwdPath);\n\t}\n\n\treturn [...result, pathOption].join(path.delimiter);\n};\n\nconst applyPreferLocal = (result, cwdPath) => {\n\tlet previous;\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\n// Ensure the running `node` binary is used\nconst applyExecPath = (result, execPath, cwdPath) => {\n\tconst execPathString = execPath instanceof URL ? fileURLToPath(execPath) : execPath;\n\tresult.push(path.resolve(cwdPath, execPathString, '..'));\n};\n\nexport const npmRunPathEnv = ({env = process.env, ...options} = {}) => {\n\tenv = {...env};\n\n\tconst pathName = pathKey({env});\n\toptions.path = env[pathName];\n\tenv[pathName] = npmRunPath(options);\n\n\treturn env;\n};\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","'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","'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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n",null,"import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n",null,"/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkStat = (stat: Stats, options: IsexeOptions) =>\n stat.isFile() && checkMode(stat, options)\n\nconst checkMode = (stat: Stats, options: IsexeOptions) => {\n const myUid = options.uid ?? process.getuid?.()\n const myGroups = options.groups ?? process.getgroups?.() ?? []\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0]\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid')\n }\n\n const groups = new Set([myGid, ...myGroups])\n\n const mod = stat.mode\n const uid = stat.uid\n const gid = stat.gid\n\n const u = parseInt('100', 8)\n const g = parseInt('010', 8)\n const o = parseInt('001', 8)\n const ug = u | g\n\n return !!(\n mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0)\n )\n}\n",null,"/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkPathExt = (path: string, options: IsexeOptions) => {\n const { pathExt = process.env.PATHEXT || '' } = options\n const peSplit = pathExt.split(';')\n if (peSplit.indexOf('') !== -1) {\n return true\n }\n\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase()\n const ext = path.substring(path.length - p.length).toLowerCase()\n\n if (p && ext === p) {\n return true\n }\n }\n return false\n}\n\nconst checkStat = (stat: Stats, path: string, options: IsexeOptions) =>\n stat.isFile() && checkPathExt(path, options)\n","export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n","import { promises } from \"fs\"\nimport { grantUserWriteAccess } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { untildifyUser } from \"untildify-user\"\nconst { appendFile, readFile, writeFile } = promises\n\nexport const defaultRcPath = untildifyUser(\"~/.bashrc\")\n\n/**\n * Options for adding an rc file\n */\nexport type RcOptions = {\n /** The path to the RC file that the env variables should be added to. */\n rcPath: string\n\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n\nasync function sourceRCInRc_(options: RcOptions) {\n const sourceRcString = options.guard === undefined\n ? `\\nsource \"${options.rcPath}\"\\n`\n : `\\n# ${options.guard}\\nif [[ \"$SOURCE_${options.guard.toUpperCase()}RC\" != 0 && -f \"${options.rcPath}\" ]]; then source \"${options.rcPath}\"; fi\\n`\n\n try {\n await Promise.all([\n addRCHeader(options),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.bashrc\")),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.profile\")),\n ])\n } catch (err) {\n warning(`Failed to add ${sourceRcString} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n}\n\n/**\n * handles adding conditions to source rc file from .bashrc and .profile\n */\nexport const sourceRCInRc = memoize(sourceRCInRc_, { promise: true })\n\nasync function addRCHeader(options: RcOptions) {\n // a variable that prevents source rc from being called from .bashrc and .profile\n const rcHeader = options.guard === undefined\n ? \"\\n# Automatically Generated by envosman\\n\"\n : `\\n# Automatically Generated by envosman ${options.guard}\\nexport SOURCE_${options.guard.toUpperCase()}RC=0\\n`\n\n if (await pathExists(options.rcPath)) {\n const rcContent = await readFile(options.rcPath, \"utf8\")\n if (!rcContent.includes(rcHeader)) {\n // already executed setupCppInProfile\n await appendFile(options.rcPath, `\\n${rcHeader}\\n`)\n info(`Added ${rcHeader} to ${options.rcPath}`)\n }\n }\n}\n\nasync function addSourceToTargetRc(sourceRcString: string, targetRcPath: string) {\n if (await pathExists(targetRcPath)) {\n const bashrcContent = await readFile(targetRcPath, \"utf-8\")\n if (!bashrcContent.includes(sourceRcString)) {\n await appendFile(targetRcPath, sourceRcString)\n info(`${sourceRcString} was added to ${targetRcPath}`)\n }\n }\n}\n\nexport async function finalizeRC(rcOptions: RcOptions) {\n if (await pathExists(rcOptions.rcPath)) {\n const entries = (await readFile(rcOptions.rcPath, \"utf-8\")).split(\"\\n\")\n\n const uniqueEntries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n await writeFile(rcOptions.rcPath, uniqueEntries.join(\"\\n\"))\n\n await grantUserWriteAccess(rcOptions.rcPath)\n }\n}\n","export * from \"./root.mjs\"\nexport * from \"./admin.mjs\"\nexport * from \"./user-access.mjs\"\n",null,"import which from \"which\"\nimport {\n execa,\n execaCommand,\n execaCommandSync,\n execaSync,\n SyncOptions as ExecaSyncOptions,\n ExecaSyncReturnValue,\n Options as ExecaOptions,\n ExecaChildProcess,\n} from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: ExecaSyncOptions = { stdio: \"inherit\", shell: true }\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: ExecaSyncOptions = defaultExecOptions,\n): ExecaSyncReturnValue {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommandSync(command, execOptions)\n } else {\n return execaSync(program, quote(args), execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: ExecaOptions = defaultExecOptions,\n): ExecaChildProcess {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommand(command, execOptions)\n } else {\n return execa(program, quote(args), execOptions)\n }\n}\n\nfunction getSudoCommand(program: string, args: string[]) {\n return `sudo ${quote([program, ...args]).join(\" \")}`\n}\n\nfunction quote(strings: string[]) {\n return strings.map((str) => `'${str}'`)\n}\n",null,"import { default as isAdminWindowsOrig } from \"./is-admin.mjs\"\nimport { isRoot } from \"./root.mjs\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: updated execa\n\nimport { execa } from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root.mjs\"\nimport fs from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = fs.statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","\"use strict\";\n\nvar normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , resolveLength = require(\"./lib/resolve-length\")\n , plain = require(\"./plain\");\n\nmodule.exports = function (fn/*, options*/) {\n\tvar options = normalizeOpts(arguments[1]), length;\n\n\tif (!options.normalizer) {\n\t\tlength = options.length = resolveLength(options.length, fn.length, options.async);\n\t\tif (length !== 0) {\n\t\t\tif (options.primitive) {\n\t\t\t\tif (length === false) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/primitive\");\n\t\t\t\t} else if (length > 1) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/get-primitive-fixed\")(length);\n\t\t\t\t}\n\t\t\t} else if (length === false) options.normalizer = require(\"./normalizers/get\")();\n\t\t\telse if (length === 1) options.normalizer = require(\"./normalizers/get-1\")();\n\t\t\telse options.normalizer = require(\"./normalizers/get-fixed\")(length);\n\t\t}\n\t}\n\n\t// Assure extensions\n\tif (options.async) require(\"./ext/async\");\n\tif (options.promise) require(\"./ext/promise\");\n\tif (options.dispose) require(\"./ext/dispose\");\n\tif (options.maxAge) require(\"./ext/max-age\");\n\tif (options.max) require(\"./ext/max\");\n\tif (options.refCounter) require(\"./ext/ref-counter\");\n\n\treturn plain(fn, options);\n};\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\");\n\nmodule.exports = function (optsLength, fnLength, isAsync) {\n\tvar length;\n\tif (isNaN(optsLength)) {\n\t\tlength = fnLength;\n\t\tif (!(length >= 0)) return 1;\n\t\tif (isAsync && length) return length - 1;\n\t\treturn length;\n\t}\n\tif (optsLength === false) return false;\n\treturn toPosInt(optsLength);\n};\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"./lib/registered-extensions\")\n , configure = require(\"./lib/configure-map\")\n , resolveLength = require(\"./lib/resolve-length\");\n\nmodule.exports = function self(fn/*, options */) {\n\tvar options, length, conf;\n\n\tcallable(fn);\n\toptions = Object(arguments[1]);\n\n\tif (options.async && options.promise) {\n\t\tthrow new Error(\"Options 'async' and 'promise' cannot be used together\");\n\t}\n\n\t// Do not memoize already memoized function\n\tif (hasOwnProperty.call(fn, \"__memoized__\") && !options.force) return fn;\n\n\t// Resolve length;\n\tlength = resolveLength(options.length, fn.length, options.async && extensions.async);\n\n\t// Configure cache map\n\tconf = configure(fn, length, options);\n\n\t// Bind eventual extensions\n\tforEach(extensions, function (extFn, name) {\n\t\tif (options[name]) extFn(options[name], conf, options);\n\t});\n\n\tif (self.__profiler__) self.__profiler__(conf);\n\n\tconf.updateEnv();\n\treturn conf.memoized;\n};\n","/* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n\"use strict\";\n\nvar customError = require(\"es5-ext/error/custom\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , d = require(\"d\")\n , ee = require(\"event-emitter\").methods\n , resolveResolve = require(\"./resolve-resolve\")\n , resolveNormalize = require(\"./resolve-normalize\");\n\nvar apply = Function.prototype.apply\n , call = Function.prototype.call\n , create = Object.create\n , defineProperties = Object.defineProperties\n , on = ee.on\n , emit = ee.emit;\n\nmodule.exports = function (original, length, options) {\n\tvar cache = create(null)\n\t , conf\n\t , memLength\n\t , get\n\t , set\n\t , del\n\t , clear\n\t , extDel\n\t , extGet\n\t , extHas\n\t , normalizer\n\t , getListeners\n\t , setListeners\n\t , deleteListeners\n\t , memoized\n\t , resolve;\n\tif (length !== false) memLength = length;\n\telse if (isNaN(original.length)) memLength = 1;\n\telse memLength = original.length;\n\n\tif (options.normalizer) {\n\t\tnormalizer = resolveNormalize(options.normalizer);\n\t\tget = normalizer.get;\n\t\tset = normalizer.set;\n\t\tdel = normalizer.delete;\n\t\tclear = normalizer.clear;\n\t}\n\tif (options.resolvers != null) resolve = resolveResolve(options.resolvers);\n\n\tif (get) {\n\t\tmemoized = defineLength(function (arg) {\n\t\t\tvar id, result, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id !== null) {\n\t\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\t\treturn cache[id];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (id === null) {\n\t\t\t\tid = get(args);\n\t\t\t\tif (id !== null) throw customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t\tid = set(args);\n\t\t\t} else if (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\tmemoized = function () {\n\t\t\tvar result;\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", \"data\", arguments, this);\n\t\t\t\treturn cache.data;\n\t\t\t}\n\t\t\tif (arguments.length) result = apply.call(original, this, arguments);\n\t\t\telse result = call.call(original, this);\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache.data = result;\n\t\t\tif (setListeners) conf.emit(\"set\", \"data\", null, result);\n\t\t\treturn result;\n\t\t};\n\t} else {\n\t\tmemoized = function (arg) {\n\t\t\tvar result, args = arguments, id;\n\t\t\tif (resolve) args = resolve(arguments);\n\t\t\tid = String(args[0]);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\treturn cache[id];\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t};\n\t}\n\tconf = {\n\t\toriginal: original,\n\t\tmemoized: memoized,\n\t\tprofileName: options.profileName,\n\t\tget: function (args) {\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tif (get) return get(args);\n\t\t\treturn String(args[0]);\n\t\t},\n\t\thas: function (id) { return hasOwnProperty.call(cache, id); },\n\t\tdelete: function (id) {\n\t\t\tvar result;\n\t\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\t\tif (del) del(id);\n\t\t\tresult = cache[id];\n\t\t\tdelete cache[id];\n\t\t\tif (deleteListeners) conf.emit(\"delete\", id, result);\n\t\t},\n\t\tclear: function () {\n\t\t\tvar oldCache = cache;\n\t\t\tif (clear) clear();\n\t\t\tcache = create(null);\n\t\t\tconf.emit(\"clear\", oldCache);\n\t\t},\n\t\ton: function (type, listener) {\n\t\t\tif (type === \"get\") getListeners = true;\n\t\t\telse if (type === \"set\") setListeners = true;\n\t\t\telse if (type === \"delete\") deleteListeners = true;\n\t\t\treturn on.call(this, type, listener);\n\t\t},\n\t\temit: emit,\n\t\tupdateEnv: function () { original = conf.original; },\n\t};\n\tif (get) {\n\t\textDel = defineLength(function (arg) {\n\t\t\tvar id, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id === null) return;\n\t\t\tconf.delete(id);\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\textDel = function () { return conf.delete(\"data\"); };\n\t} else {\n\t\textDel = function (arg) {\n\t\t\tif (resolve) arg = resolve(arguments)[0];\n\t\t\treturn conf.delete(arg);\n\t\t};\n\t}\n\textGet = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return cache.data;\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\treturn cache[id];\n\t});\n\textHas = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return conf.has(\"data\");\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\tif (id === null) return false;\n\t\treturn conf.has(id);\n\t});\n\tdefineProperties(memoized, {\n\t\t__memoized__: d(true),\n\t\tdelete: d(extDel),\n\t\tclear: d(conf.clear),\n\t\t_get: d(extGet),\n\t\t_has: d(extHas),\n\t});\n\treturn conf;\n};\n","\"use strict\";\n\nvar assign = require(\"../object/assign\")\n , isObject = require(\"../object/is-object\")\n , isValue = require(\"../object/is-value\")\n , captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (message /*, code, ext*/) {\n\tvar err = new Error(message), code = arguments[1], ext = arguments[2];\n\tif (!isValue(ext)) {\n\t\tif (isObject(code)) {\n\t\t\text = code;\n\t\t\tcode = null;\n\t\t}\n\t}\n\tif (isValue(ext)) assign(err, ext);\n\tif (isValue(code)) err.code = code;\n\tif (captureStackTrace) captureStackTrace(err, module.exports);\n\treturn err;\n};\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar map = { function: true, object: true };\n\nmodule.exports = function (value) { return (isValue(value) && map[typeof value]) || false; };\n","\"use strict\";\n\nvar toArray = require(\"es5-ext/array/to-array\")\n , isValue = require(\"es5-ext/object/is-value\")\n , callable = require(\"es5-ext/object/valid-callable\");\n\nvar slice = Array.prototype.slice, resolveArgs;\n\nresolveArgs = function (args) {\n\treturn this.map(function (resolve, i) { return resolve ? resolve(args[i]) : args[i]; }).concat(\n\t\tslice.call(args, this.length)\n\t);\n};\n\nmodule.exports = function (resolvers) {\n\tresolvers = toArray(resolvers);\n\tresolvers.forEach(function (resolve) { if (isValue(resolve)) callable(resolve); });\n\treturn resolveArgs.bind(resolvers);\n};\n","\"use strict\";\n\nvar from = require(\"./from\")\n , isArray = Array.isArray;\n\nmodule.exports = function (arrayLike) { return isArray(arrayLike) ? arrayLike : from(arrayLike); };\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\");\n\nmodule.exports = function (userNormalizer) {\n\tvar normalizer;\n\tif (typeof userNormalizer === \"function\") return { set: userNormalizer, get: userNormalizer };\n\tnormalizer = { get: callable(userNormalizer.get) };\n\tif (userNormalizer.set !== undefined) {\n\t\tnormalizer.set = callable(userNormalizer.set);\n\t\tif (userNormalizer.delete) normalizer.delete = callable(userNormalizer.delete);\n\t\tif (userNormalizer.clear) normalizer.clear = callable(userNormalizer.clear);\n\t\treturn normalizer;\n\t}\n\tnormalizer.set = normalizer.get;\n\treturn normalizer;\n};\n","import { homedir } from \"os\"\nimport { join } from \"path\"\nimport { isSudo } from \"admina\"\n\nexport function userHomeDir() {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER)\n } else {\n return join(\"/home/\", process.env.SUDO_USER)\n }\n } else {\n const maybeHomeDir = homedir()\n if (maybeHomeDir === \"\") {\n return undefined\n }\n return maybeHomeDir\n }\n}\n\nconst tildeRegex = /^~(?=$|\\/|\\\\)/\n\n/**\n * Replaces a tilde with the user's home directory\n *\n * @example UntildifyUser(\"~/foo\") // /home/user/foo\n *\n * @param path The path to untildify\n * @returns The untildified path\n */\nexport function untildifyUser(path: string) {\n const maybeHomeDir = userHomeDir()\n if (maybeHomeDir === undefined) {\n return path\n }\n\n return path.replace(tildeRegex, maybeHomeDir)\n}\n","import escapeSpace from \"escape-path-with-spaces\"\nimport escapeQuote from \"escape-quotes\"\n\n/**\n * Escape a string for use in a shell command\n * @param valGiven The string to escape\n * @param shouldEscapeSpace Whether to escape spaces in the string\n *\n * @private\n */\nexport function escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, \"\\\"\", \"\\\\\")\n}\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","import { promises } from \"fs\"\nimport { delimiter } from \"path\"\nimport { addPath as ghAddPath } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\"\nconst { appendFile } = promises\n\n/**\n * The options for adding a PATH variable\n */\nexport type AddPathOptions = {\n /**\n * The path to the RC file that the PATH variables should be added to.\n */\n rcPath: string\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\n\nexport async function addPath(path: string, givenOptions: Partial = {}) {\n const options = { rcPath: defaultRcPath, ...givenOptions }\n\n if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (GITHUB_ACTIONS) {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path, options)\n }\n } else {\n await addPathSystem(path, options)\n }\n } catch (err) {\n error(`${err}\\nFailed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nasync function addPathSystem(path: string, options: AddPathOptions) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options)\n await appendFile(options.rcPath, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${options.rcPath}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\n}\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.39.0\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { untildifyUser } from \"untildify-user\"\nimport { type Inputs, inputs } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function printHelp() {\n info(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: \"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat\" },\n \"build system\": { tools: \"--cmake, --ninja, --meson, --make, --task, --bazel\" },\n \"package manager\": { tools: \"--vcpkg, --conan, --choco, --brew, --nala\" },\n cache: { tools: \"--ccache, --sccache\" },\n documentation: { tools: \"--doxygen, --graphviz\" },\n coverage: { tools: \"--gcovr, --opencppcoverage, --kcov\" },\n other: { tools: \"--python, --powershell, --sevenzip\" },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n\nexport const rcOptions = {\n rcPath: untildifyUser(\"~/.cpprc\"),\n guard: \"cpp\",\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { setupBrew } from \"setup-brew\"\nimport { setupBazel } from \"./bazel/bazel.js\"\nimport { setupCcache } from \"./ccache/ccache.js\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey.js\"\nimport { setupCmake } from \"./cmake/cmake.js\"\nimport { setupConan } from \"./conan/conan.js\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck.js\"\nimport { setupDoxygen } from \"./doxygen/doxygen.js\"\nimport { setupGcc } from \"./gcc/gcc.js\"\nimport { setupGcovr } from \"./gcovr/gcovr.js\"\nimport { setupGraphviz } from \"./graphviz/graphviz.js\"\nimport { setupKcov } from \"./kcov/kcov.js\"\nimport { setupClangFormat, setupClangTools, setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMake } from \"./make/make.js\"\nimport { setupMeson } from \"./meson/meson.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { setupNala } from \"./nala/nala.js\"\nimport { setupNinja } from \"./ninja/ninja.js\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage.js\"\nimport { setupPowershell } from \"./powershell/powershell.js\"\nimport { setupPython } from \"./python/python.js\"\nimport { setupSccache } from \"./sccache/sccache.js\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip.js\"\nimport { setupTask } from \"./task/task.js\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\n\n/** The setup functions */\nexport const setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** An array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\n","export * from \"./install-pack.js\"\nexport * from \"./install.js\"\n","import { join } from \"path\"\nimport { info } from \"ci-log\"\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\n/* eslint-disable require-atomic-updates */\nlet hasBrew = false\n\nexport type BrewPackOptions = {\n /** Whether to overwrite the package if it already exists */\n overwrite?: boolean\n /** Whether to install the package as a cask */\n cask?: boolean\n /** Extra args */\n args?: string[]\n}\n\n/** A function that installs a package using brew\n *\n * @param name The name of the package\n * @param version The version of the package (optional)\n * @param options The options for installing the package\n *\n * @returns The installation information\n */\nexport async function installBrewPack(\n name: string,\n version?: string,\n givenOptions: BrewPackOptions = {},\n): Promise {\n const options = {\n overwrite: true,\n cask: false,\n args: [],\n ...givenOptions,\n }\n\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew()\n hasBrew = true\n }\n\n const binDir = getBrewBinDir()\n const brewPath = join(binDir, \"brew\")\n\n // Args\n const args = [\n \"install\",\n (version !== undefined && version !== \"\") ? `${name}@${version}` : name,\n ]\n if (options.overwrite) {\n args.push(\"--overwrite\")\n }\n if (options.cask) {\n args.push(\"--cask\")\n }\n\n // brew is not thread-safe\n execaSync(brewPath, args, { stdio: \"inherit\" })\n\n return { binDir }\n}\n","import { tmpdir } from \"os\"\nimport { dirname } from \"path\"\nimport { type AddPathOptions, addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\nexport type SetupBrewOptions = {\n /** Options for adding the brew path to the rc file */\n rcOptions?: AddPathOptions\n /** (Unsupported option) The version of brew to install */\n version?: never\n /** (Unsupported option) The directory where brew should be installed */\n setupDir?: never\n /** (Unsupported option) The architecture of the system */\n arch?: never\n}\n\nexport async function setupBrew(options: SetupBrewOptions = {}): Promise {\n // brew is only available on darwin and linux\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n\n // check if the function has already been called\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n // check if brew is already installed\n const maybeBinDir = await which(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }])\n const dl = new DownloaderHelper(\"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\", tmpdir(), {\n fileName: \"install-brew.sh\",\n })\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the brew installer script: ${err}`)\n })\n await dl.start()\n\n // brew installation is not thread-safe\n execaSync(\"/bin/bash\", [dl.getDownloadPath()], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n // add the bin directory to the PATH\n binDir = getBrewBinDir()\n await addPath(binDir, options.rcOptions)\n\n return { binDir }\n}\n\n/**\n * Get the path where brew is installed\n * @returns {string} The path where brew is installed\n *\n * Based on the installation script from https://brew.sh\n */\nexport function getBrewBinDir() {\n if (process.platform === \"darwin\") {\n if (process.arch === \"arm64\") {\n return \"/opt/homebrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\n }\n\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n }\n\n throw new Error(\"Unsupported platform for brew\")\n}\n","'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.DownloaderHelper=exports.DH_STATES=void 0;var _typeof='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&'function'==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?'symbol':typeof a},_createClass=function(){function a(a,b){for(var c,d=0;dthis.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=b||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url)}},{key:'getOptions',value:function a(){return this.__opts}},{key:'getMetadata',value:function a(){return this.__opts.metadata}},{key:'getStats',value:function a(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes}}},{key:'getTotalSize',value:function b(){var a=this;return new Promise(function(b,c){var d=function(b){a.__initProtocol(b);var c=Object.assign({},a.__headers);c.hasOwnProperty('range')&&delete c.range;var d=a.__getReqOptions('HEAD',b,c);return Object.assign({},a.__reqOptions,d)},e=function(f,g){var h=a.__protocol.request(g,function(g){if(a.__isRequireRedirect(g)){var h=/^https?:\\/\\//.test(g.headers.location)?g.headers.location:new _url.URL(g.headers.location,f).href;return a.emit('redirected',h,f),e(h,d(h))}return 200===g.statusCode?void b({name:a.__getFileNameFromHeaders(g.headers,g),total:parseInt(g.headers['content-length'])||null}):c(new Error('Response status was '+g.statusCode))});h.on('error',function(a){return c(a)}),h.on('timeout',function(){return c(new Error('timeout'))}),h.on('uncaughtException',function(a){return c(a)}),h.end()};e(a.url,d(a.url))})}},{key:'getResumeState',value:function a(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total}}},{key:'resumeFromFile',value:function d(a){var b=this,c=1=g))return this.emit('skip',{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:f}),this.__setState(this.__states.SKIPPED),b(!0)}this.__fileStream=fs.createWriteStream(this.__filePath,{})}else this.__fileStream=fs.createWriteStream(this.__filePath,{flags:'a'});this.emit('download',{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date,this.__statsEstimate.throttleTime=new Date,e.on('data',function(a){return d.__calculateStats(a.length)}),this.__pipes.forEach(function(a){e.pipe(a.stream,a.options),e=a.stream}),e.pipe(this.__fileStream),e.on('error',this.__onError(b,c)),this.__fileStream.on('finish',this.__onFinished(b,c)),this.__fileStream.on('error',this.__onError(b,c))}},{key:'__hasFinished',value:function a(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state)}},{key:'__isRequireRedirect',value:function b(a){return 300a.statusCode&&a.headers.hasOwnProperty('location')&&a.headers.location}},{key:'__onFinished',value:function d(a,b){var c=this;return function(){c.__fileStream.close(function(d){if(d)return b(d);if(c.__hasFinished()){var e=!!c.__total&&c.__downloaded!==c.__total;if(e&&c.__isResumable&&c.__opts.resumeOnIncomplete&&c.__resumeRetryCount<=c.__opts.resumeOnIncompleteMaxRetry)return c.__resumeRetryCount++,c.emit('warning',new Error('uncomplete download, retrying')),c.resume();c.__setState(c.__states.FINISHED),c.__pipes=[],c.emit('end',{fileName:c.__fileName,filePath:c.__filePath,totalSize:c.__total,incomplete:e,onDiskSize:c.__getFilesizeInBytes(c.__filePath),downloadedSize:c.__downloaded})}return a(c.__downloaded===c.__total)})}}},{key:'__closeFileStream',value:function b(){var a=this;return this.__fileStream?new Promise(function(b,c){a.__fileStream.close(function(a){return a?c(a):b(!0)})}):Promise.resolve(!0)}},{key:'__onError',value:function e(a,b){var c=this,d=!!(2=g?Promise.reject(b||new Error('reached the maximum retries')):(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit('retry',this.__retryCount,this.__opts.retry,b),this.__response&&(this.__response.unpipe(),this.__pipes.forEach(function(a){return a.stream.unpipe()})),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then(function(){return new Promise(function(b){return a.__retryTimeout=setTimeout(function(){return b(0this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=b,this.emit('progress.throttled',this.getStats())),this.emit('progress',this.getStats()))}},{key:'__setState',value:function b(a){this.state=a,this.emit('stateChanged',this.state)}},{key:'__getReqOptions',value:function f(a,b){var c=2 {\n throw new Error(`Failed to download ${keyUrl}: ${err}`)\n })\n await dl.start()\n\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--import\",\n dlPath,\n ])\n execRootSync(\"chmod\", [\"644\", filePath])\n }\n return filePath\n } catch (err) {\n warning(`Failed to add apt key via download ${keyUrl}: ${err}`)\n return undefined\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nfunction assertGpgFileName(fileName: string) {\n if (!fileName.endsWith(\".gpg\")) {\n throw new Error(`Key file name must end with .gpg: ${fileName}`)\n }\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport type { ExecaError } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { type AddAptKeyOptions, addAptKey } from \"./apt-key.js\"\nimport { addAptRepository } from \"./apt-repository.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\nimport { initAptMemoized } from \"./init-apt.js\"\nimport { filterAndQualifyAptPackages } from \"./qualify-install.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\n/**\n * The information about an installation result\n */\nexport type InstallationInfo = {\n /** The install dir of the package (Defaults to `undefined`) */\n installDir?: string\n /** The bin dir of the package (Defaults to `/usr/bin`) */\n binDir: string\n /** The bin path of the package (Defaults to `undefined`) */\n bin?: string\n}\n\n/**\n * The information about an apt package\n */\nexport type AptPackage = {\n /** The name of the package */\n name: string\n /** The version of the package (optional) */\n version?: string\n /** The repository to add before installing the package (optional) */\n repository?: string\n /** The key to add before installing the package (optional) */\n key?: AddAptKeyOptions\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/**\n * Install a package using apt\n *\n * @param packages The packages to install (name, and optional info like version and repositories)\n * @param update Whether to update the package list before installing (Defaults to `false`)\n *\n * @returns The installation information\n *\n * @example\n * ```ts\n * await installAptPack([{ name: \"ca-certificates\" }, { name: \"gnupg\" }])\n * ```\n *\n * @example\n * ```ts\n await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n * ```\n */\nexport async function installAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\n\n // Update the repos if needed\n if (update) {\n updateAptReposMemoized(apt)\n }\n\n // Add the repos if needed\n await addRepositories(apt, packages)\n\n const needToInstall = await filterAndQualifyAptPackages(packages, apt)\n\n if (needToInstall.length === 0) {\n info(\"All packages are already installed\")\n return { binDir: \"/usr/bin/\" }\n }\n\n // Initialize apt if needed\n await initAptMemoized(apt)\n\n try {\n // Add the keys if needed\n await addAptKeys(packages)\n\n // Install\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...needToInstall], {\n ...defaultExecOptions,\n env: getAptEnv(apt),\n })\n } catch (err) {\n if (isExecaError(err)) {\n if (retryErrors.some((error) => err.stderr.includes(error))) {\n warning(`Failed to install packages ${needToInstall}. Retrying...`)\n execRootSync(\n apt,\n [\"install\", \"--fix-broken\", \"-y\", \"-o\", aptTimeout, ...needToInstall],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function addRepositories(apt: string, packages: AptPackage[]) {\n const allRepositories = [...new Set(packages.flatMap((pack) => pack.repository ?? []))]\n await Promise.all(allRepositories.map((repo) => addAptRepository(repo, apt)))\n}\n\nasync function addAptKeys(packages: AptPackage[]) {\n await Promise.all(packages.map(async (pack) => {\n if (pack.key !== undefined) {\n await addAptKey(pack.key)\n }\n }))\n}\n\nfunction isExecaError(err: unknown): err is ExecaError {\n return typeof (err as ExecaError).stderr === \"string\"\n}\n","/**\n * Get the environment variables to use for the apt command\n * @param apt The apt command to use\n * @private Used internally\n */\n\nexport function getAptEnv(apt: string) {\n const env: NodeJS.ProcessEnv = { ...process.env, DEBIAN_FRONTEND: \"noninteractive\" }\n\n if (apt === \"nala\") {\n // if LANG/LC_ALL is not set, enable utf8 otherwise nala fails because of ASCII encoding\n if (env.LANG === undefined) {\n env.LANG = \"C.UTF-8\"\n }\n if (env.LC_ALL === undefined) {\n env.LC_ALL = \"C.UTF-8\"\n }\n }\n\n return env\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\nimport { initAptMemoized } from \"./init-apt.js\"\nimport { isAptPackInstalled } from \"./is-installed.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\nexport async function addAptRepository(repo: string, apt = getApt()) {\n await initAptMemoized(apt)\n await installAddAptRepo(apt)\n execRootSync(\"add-apt-repository\", [\"-y\", \"--no-update\", repo], { ...defaultExecOptions, env: getAptEnv(apt) })\n\n // Update the repos\n updateAptReposMemoized.clear() // ensure update is called\n updateAptReposMemoized(apt)\n}\n\nexport async function installAddAptRepo(apt: string) {\n if (await isAptPackInstalled(\"software-properties-common\")) {\n return\n }\n execRootSync(\n apt,\n [\"install\", \"-y\", \"--fix-broken\", \"-o\", aptTimeout, \"software-properties-common\"],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n}\n","/**\n * The timeout to use for apt commands\n * Wait up to 300 seconds if the apt-get lock is held\n * @private Used internally\n */\n\nexport const aptTimeout = \"Dpkg::Lock::Timeout=300\"\n","import which from \"which\"\n\n/**\n * Check if nala is installed\n */\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\n/**\n * Get the apt command to use\n * If nala is installed, use that, otherwise use apt-get\n */\nexport function getApt() {\n let apt: string\n if (hasNala()) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport memoize from \"memoizee\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { filterAndQualifyAptPackages } from \"./qualify-install.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\n/** Install gnupg and certificates (usually missing from docker containers) */\nexport async function initApt(apt: string) {\n // Update the repos\n updateAptReposMemoized(apt)\n\n const toInstall = await filterAndQualifyAptPackages([\n { name: \"ca-certificates\" },\n { name: \"gnupg\" },\n { name: \"apt-utils\" },\n ], apt)\n\n if (toInstall.length !== 0) {\n execRootSync(apt, [\"install\", \"-y\", \"--fix-broken\", \"-o\", aptTimeout, ...toInstall], {\n ...defaultExecOptions,\n env: getAptEnv(apt),\n })\n }\n}\n\n/** Install gnupg and certificates (usually missing from docker containers) (memoized) */\nexport const initAptMemoized = memoize(initApt, { promise: true })\n","import { warning } from \"ci-log\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { execa } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { getApt } from \"./get-apt.js\"\nimport type { AptPackage } from \"./install.js\"\nimport { isAptPackInstalled } from \"./is-installed.js\"\nimport { updateAptReposMemoized, updatedRepos } from \"./update.js\"\n\n/**\n * The type of apt package to install\n */\nexport enum AptPackageType {\n NameDashVersion = 0,\n NameEqualsVersion = 1,\n Name = 2,\n None = 3,\n}\n\n/**\n * Filter out the packages that are already installed and qualify the packages into a full package name/version\n */\nexport async function filterAndQualifyAptPackages(packages: AptPackage[], apt: string = getApt()) {\n return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(pack, apt))))\n .filter((pack) => pack !== undefined)\n}\n\n/**\n * Qualify the package into full package name/version.\n * If the package is not installed, return the full package name/version.\n * If the package is already installed, return undefined\n */\nexport async function qualifiedNeededAptPackage(pack: AptPackage, apt: string = getApt()) {\n // Qualify the package into full package name/version\n const qualified = await getAptArg(apt, pack.name, pack.version)\n // filter out the package that are already installed\n return (await isAptPackInstalled(qualified)) ? undefined : qualified\n}\n\nasync function aptPackageType(apt: string, name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ], { env: getAptEnv(apt), stdio: \"pipe\" })\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`], { env: getAptEnv(apt) })\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name], { env: getAptEnv(apt), stdio: \"pipe\" })\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n // If apt-cache fails, update the repos and try again\n if (!updatedRepos) {\n updateAptReposMemoized(apt)\n return aptPackageType(apt, name, version)\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(apt: string, name: string, version: string | undefined) {\n const package_type = await aptPackageType(apt, name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n if (version !== undefined && version !== \"\") {\n warning(`Could not find package ${name} with version ${version}. Installing the latest version.`)\n }\n return name\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n","import { execa } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\n\n/**\n * Check if a package is installed\n * @param pack The package to check\n * @returns `true` if the package is installed, `false` otherwise\n */\nexport async function isAptPackInstalled(pack: string) {\n try {\n // check if a package is installed\n const { stdout } = await execa(\"dpkg\", [\"-s\", pack], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" })\n if (typeof stdout !== \"string\") {\n return false\n }\n const lines = stdout.split(\"\\n\")\n // check if the output contains a line that starts with \"Status: install ok installed\"\n return lines.some((line) => line.startsWith(\"Status: install ok installed\"))\n } catch {\n return false\n }\n}\n\n/**\n * Check if a package matching a regexp is installed\n * @param regexp The regexp to check\n * @returns `true` if a package is installed, `false` otherwise\n */\nexport async function isAptPackRegexInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" })\n if (typeof stdout !== \"string\") {\n return false\n }\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport memoize from \"memoizee\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\n\nexport let updatedRepos = false // eslint-disable-line import/no-mutable-exports\n\n/**\n * Update the apt repositories\n * @param apt The apt command to use (optional)\n */\nexport function updateAptRepos(apt: string = getApt()) {\n execRootSync(\n apt,\n apt !== \"nala\" ? [\"update\", \"-y\", \"-o\", aptTimeout] : [\"update\", \"-o\", aptTimeout],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n\n updatedRepos = true\n}\n\n/**\n * Update the apt repositories (memoized)\n * @param apt The apt command to use (optional)\n */\nexport const updateAptReposMemoized = memoize(updateAptRepos)\n","import { execRootSync } from \"admina\"\nimport { addAptKeyViaURL, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return installBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaURL({\n fileName: \"bazel-archive-keyring.gpg\",\n keyUrl: \"https://bazel.build/bazel-release.pub.gpg\",\n })\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return installAptPack([{ name: \"bazel\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey.js\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n env.TMP = undefined\n env.TEMP = undefined\n env.Path = undefined\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n info(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n","import { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execaSync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" },\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath, rcOptions)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\n}\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\n}\n","import { addExeExt } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverLte from \"semver/functions/lte\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { tmpdir } from \"os\"\nimport { basename } from \"path\"\nimport { cacheDir, downloadTool, find } from \"@actions/tool-cache\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { chmod } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport retry from \"retry-as-promised\"\nimport { maybeGetInput, rcOptions } from \"../../cli-options.js\"\nimport { getArchiveType, getExtractFunction } from \"./extract.js\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: (file: string, dest: string) => Promise\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n bin?: string\n}\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string,\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch,\n )\n\n // Restore from cache (if found).\n if (GITHUB_ACTIONS) {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (await pathExists(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir, rcOptions)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n await downloadExtractInstall(binDir, binFile, name, version, url, setupDir, extractFunction, arch)\n\n await cacheInstallation(setupDir, name, version)\n\n return { installDir, binDir }\n}\n\nasync function downloadExtractInstall(\n binDir: string,\n binFile: string,\n name: string,\n version: string,\n url: string,\n setupDir: string,\n givenExtractFunction: PackageInfo[\"extractFunction\"],\n arch: string,\n) {\n // download ane extract the package into the installation directory.\n if ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n const downloaded = await tryDownload(name, version, url)\n\n info(`Extracting ${downloaded} to ${setupDir}`)\n\n const extractFunction = givenExtractFunction ?? getExtractFunction(getArchiveType(url))\n await extractFunction(downloaded, setupDir)\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir, rcOptions)\n\n // Check if the binary exists after extraction\n if (!(await pathExists(binFile))) {\n throw new Error(`Failed to find the binary ${binFile} after extracting ${name} ${version} ${arch}`)\n }\n\n // make the binary executable on non-windows platforms\n if (process.platform !== \"win32\") {\n try {\n await chmod(binFile, \"755\")\n } catch (err) {\n warning(`Failed to make ${binFile} executable: ${err}`)\n }\n }\n}\n\nasync function tryDownload(name: string, version: string, url: string) {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n const downloadedFilePath = join(process.env.RUNNER_TEMP ?? tmpdir(), `${Date.now()}-${basename(url)}`)\n\n return downloadTool(url, downloadedFilePath)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n return downloaded\n}\n\nasync function cacheInstallation(setupDir: string, name: string, version: string) {\n // check if inside Github Actions. If so, cache the installation\n if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n if (maybeGetInput(\"cache-tools\") === \"true\" || process.env.CACHE_TOOLS === \"true\") {\n await cacheDir(setupDir, name, version)\n }\n }\n}\n",null,null,null,null,"'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { mkdirP } from \"@actions/io\"\nimport { grantUserWriteAccess } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nexport enum ArchiveType {\n Tar = 0,\n TarGz = 1,\n TarXz = 2,\n Zip = 3,\n SevenZip = 4,\n}\n\nexport function getArchiveType(file: string): ArchiveType {\n const ext = file.split(\".\").pop()\n\n if (ext === \"tar\") {\n return ArchiveType.Tar\n }\n\n if (ext === \"gz\" || ext === \"tgz\") {\n return ArchiveType.TarGz\n }\n\n if (ext === \"xz\" || ext === \"txz\") {\n return ArchiveType.TarXz\n }\n\n if (ext === \"zip\") {\n return ArchiveType.Zip\n }\n\n if (ext === \"7z\" || ext === \"exe\") {\n return ArchiveType.SevenZip\n }\n\n // default to 7z\n warning(`Unknown archive type: ${ext}. Defaulting to 7z`)\n return ArchiveType.SevenZip\n}\n\nexport function getExtractFunction(archiveType: ArchiveType) {\n switch (archiveType) {\n case ArchiveType.Tar:\n case ArchiveType.TarGz:\n return extractTarByExe\n case ArchiveType.TarXz:\n return extractTarByExe\n case ArchiveType.Zip:\n return extractZip\n default:\n return extract7Zip\n }\n}\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using unzip or 7z\nexport async function extractZip(file: string, dest: string) {\n // if unzip is available use it\n if (which.sync(\"unzip\", { nothrow: true }) !== null) {\n await execa(\"unzip\", [file, \"-d\", dest], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n }\n\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, stripComponents: number = 0, flags: string[] = []) {\n await installTarDependencies(getArchiveType(file))\n\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, `--strip-components=${stripComponents}`, ...flags], {\n stdio: \"inherit\",\n })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n await grantUserWriteAccess(dest)\n return dest\n}\n\nasync function installTarDependencies(archiveType: ArchiveType) {\n info(\"Installing tar extraction dependencies\")\n\n switch (archiveType) {\n case ArchiveType.TarGz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"gzip\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"gzip\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"gzip\" }, { name: \"tar\" }])\n }\n }\n break\n }\n case ArchiveType.TarXz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"xz\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"xz\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"xz-utils\" }, { name: \"tar\" }])\n }\n }\n break\n }\n default:\n throw new Error(`Unsupported archive type: ${archiveType} for tar extraction`)\n }\n}\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"p7zip-full\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { addPath } from \"envosman\"\nimport { execa, execaSync } from \"execa\"\nimport memoize from \"memoizee\"\nimport { mkdirp } from \"mkdirp\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python.js\"\nimport { getVersion } from \"../../versions/versions.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../env/ubuntu_version.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n const env = process.env\n\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await getPipxHome()\n env.PIPX_BIN_DIR = await getPipxBinDir()\n }\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n env,\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME\n if (pipxHome !== undefined) {\n return pipxHome\n }\n\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = untildifyUser(\"~/.local/pipx\")\n if (await pathExists(compatHome)) {\n return compatHome\n }\n\n switch (process.platform) {\n case \"win32\": {\n pipxHome = untildifyUser(\"~/AppData/Local/pipx\")\n break\n }\n case \"darwin\": {\n pipxHome = untildifyUser(\"~/Library/Application Support/pipx\")\n break\n }\n default: {\n pipxHome = untildifyUser(\"~/.local/share/pipx\")\n break\n }\n }\n\n await mkdirp(pipxHome)\n await mkdirp(join(pipxHome, \"trash\"))\n await mkdirp(join(pipxHome, \"shared\"))\n await mkdirp(join(pipxHome, \"venv\"))\n return pipxHome\n}\nconst getPipxHome = memoize(getPipxHome_raw, { promise: true })\n\nasync function getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) {\n return process.env.PIPX_BIN_DIR\n }\n\n const pipxBinDir = untildifyUser(\"~/.local/bin\")\n await addPath(pipxBinDir, rcOptions)\n await mkdirp(pipxBinDir)\n return pipxBinDir\n}\nconst getPipxBinDir = memoize(getPipxBinDir_raw, { promise: true })\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { promise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(addPythonPrefix ? `python-${name}` : name)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n }\n }\n return null\n}\n",null,"import { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\nimport { pathArg } from './path-arg.js'\nimport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore start */\nexport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nexport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nexport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore stop */\n\nexport const mkdirpSync = (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNativeSync(resolved)\n ? mkdirpNativeSync(path, resolved)\n : mkdirpManualSync(path, resolved)\n}\n\nexport const sync = mkdirpSync\nexport const manual = mkdirpManual\nexport const manualSync = mkdirpManualSync\nexport const native = mkdirpNative\nexport const nativeSync = mkdirpNativeSync\nexport const mkdirp = Object.assign(\n async (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNative(resolved)\n ? mkdirpNative(path, resolved)\n : mkdirpManual(path, resolved)\n },\n {\n mkdirpSync,\n mkdirpNative,\n mkdirpNativeSync,\n mkdirpManual,\n mkdirpManualSync,\n\n sync: mkdirpSync,\n native: mkdirpNative,\n nativeSync: mkdirpNativeSync,\n manual: mkdirpManual,\n manualSync: mkdirpManualSync,\n useNative,\n useNativeSync,\n }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpManualSync = (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n): string | undefined | void => {\n const parent = dirname(path)\n const opts = { ...optsArg(options), recursive: false }\n\n if (parent === path) {\n try {\n return opts.mkdirSync(path, opts)\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n return\n }\n }\n\n try {\n opts.mkdirSync(path, opts)\n return made || path\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts, mkdirpManualSync(parent, opts, made))\n }\n if (fer && fer.code !== 'EEXIST' && fer && fer.code !== 'EROFS') {\n throw er\n }\n try {\n if (!opts.statSync(path).isDirectory()) throw er\n } catch (_) {\n throw er\n }\n }\n}\n\nexport const mkdirpManual = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n ): Promise => {\n const opts = optsArg(options)\n opts.recursive = false\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirAsync(path, opts).catch(er => {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n })\n }\n\n return opts.mkdirAsync(path, opts).then(\n () => made || path,\n async er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(parent, opts).then(\n (made?: string | undefined | void) => mkdirpManual(path, opts, made)\n )\n }\n if (fer && fer.code !== 'EEXIST' && fer.code !== 'EROFS') {\n throw er\n }\n return opts.statAsync(path).then(\n st => {\n if (st.isDirectory()) {\n return made\n } else {\n throw er\n }\n },\n () => {\n throw er\n }\n )\n }\n )\n },\n { sync: mkdirpManualSync }\n)\n",null,"import {\n MakeDirectoryOptions,\n mkdir,\n mkdirSync,\n stat,\n Stats,\n statSync,\n} from 'fs'\n\nexport interface FsProvider {\n stat?: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync?: (path: string) => Stats\n mkdirSync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n}\n\ninterface Options extends FsProvider {\n mode?: number | string\n fs?: FsProvider\n mkdirAsync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise\n statAsync?: (path: string) => Promise\n}\n\nexport type MkdirpOptions = Options | number | string\n\nexport interface MkdirpOptionsResolved {\n mode: number\n fs: FsProvider\n mkdirAsync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise\n statAsync: (path: string) => Promise\n stat: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync: (path: string) => Stats\n mkdirSync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n recursive?: boolean\n}\n\nexport const optsArg = (opts?: MkdirpOptions): MkdirpOptionsResolved => {\n if (!opts) {\n opts = { mode: 0o777 }\n } else if (typeof opts === 'object') {\n opts = { mode: 0o777, ...opts }\n } else if (typeof opts === 'number') {\n opts = { mode: opts }\n } else if (typeof opts === 'string') {\n opts = { mode: parseInt(opts, 8) }\n } else {\n throw new TypeError('invalid options argument')\n }\n\n const resolved = opts as MkdirpOptionsResolved\n const optsFs = opts.fs || {}\n\n opts.mkdir = opts.mkdir || optsFs.mkdir || mkdir\n\n opts.mkdirAsync = opts.mkdirAsync\n ? opts.mkdirAsync\n : async (\n path: string,\n options: MakeDirectoryOptions & { recursive?: boolean }\n ): Promise => {\n return new Promise((res, rej) =>\n resolved.mkdir(path, options, (er, made) =>\n er ? rej(er) : res(made)\n )\n )\n }\n\n opts.stat = opts.stat || optsFs.stat || stat\n opts.statAsync = opts.statAsync\n ? opts.statAsync\n : async (path: string) =>\n new Promise((res, rej) =>\n resolved.stat(path, (err, stats) => (err ? rej(err) : res(stats)))\n )\n\n opts.statSync = opts.statSync || optsFs.statSync || statSync\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || mkdirSync\n\n return resolved\n}\n",null,"import { dirname } from 'path'\nimport { findMade, findMadeSync } from './find-made.js'\nimport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpNativeSync = (\n path: string,\n options?: MkdirpOptions\n): string | void | undefined => {\n const opts = optsArg(options)\n opts.recursive = true\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirSync(path, opts)\n }\n\n const made = findMadeSync(opts, path)\n try {\n opts.mkdirSync(path, opts)\n return made\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts)\n } else {\n throw er\n }\n }\n}\n\nexport const mkdirpNative = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions\n ): Promise => {\n const opts = { ...optsArg(options), recursive: true }\n const parent = dirname(path)\n if (parent === path) {\n return await opts.mkdirAsync(path, opts)\n }\n\n return findMade(opts, path).then((made?: string | undefined) =>\n opts\n .mkdirAsync(path, opts)\n .then(m => made || m)\n .catch(er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(path, opts)\n } else {\n throw er\n }\n })\n )\n },\n { sync: mkdirpNativeSync }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptionsResolved } from './opts-arg.js'\n\nexport const findMade = async (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): Promise => {\n // we never want the 'made' return value to be a root directory\n if (path === parent) {\n return\n }\n\n return opts.statAsync(parent).then(\n st => (st.isDirectory() ? path : undefined), // will fail later\n er => {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMade(opts, dirname(parent), parent)\n : undefined\n }\n )\n}\n\nexport const findMadeSync = (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): undefined | string => {\n if (path === parent) {\n return undefined\n }\n\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMadeSync(opts, dirname(parent), parent)\n : undefined\n }\n}\n",null,"const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform\nimport { parse, resolve } from 'path'\nexport const pathArg = (path: string) => {\n if (/\\0/.test(path)) {\n // simulate same failure that node raises\n throw Object.assign(\n new TypeError('path must be a string without null bytes'),\n {\n path,\n code: 'ERR_INVALID_ARG_VALUE',\n }\n )\n }\n\n path = resolve(path)\n if (platform === 'win32') {\n const badWinChars = /[*|\"<>?:]/\n const { root } = parse(path)\n if (badWinChars.test(path.substring(root.length))) {\n throw Object.assign(new Error('Illegal characters in path.'), {\n path,\n code: 'EINVAL',\n })\n }\n }\n\n return path\n}\n",null,"import { mkdir, mkdirSync } from 'fs'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nconst version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version\nconst versArr = version.replace(/^v/, '').split('.')\nconst hasNative = +versArr[0] > 10 || (+versArr[0] === 10 && +versArr[1] >= 12)\n\nexport const useNativeSync = !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdirSync === mkdirSync\n\nexport const useNative = Object.assign(\n !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdir === mkdir,\n {\n sync: useNativeSync,\n }\n)\n","import assert from \"assert\"\nimport { homedir } from \"os\"\nimport { parse as pathParse } from \"path\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack.js\"\nimport { isBinUptoDate } from \"../utils/setup/version.js\"\nimport { unique } from \"../utils/std/index.js\"\nimport { MinVersions } from \"../versions/default_versions.js\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n try {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n } catch (err) {\n if (setupPipPackSystem(\"pipx\", false) === null) {\n throw new Error(`pipx was not installed correctly ${err}`)\n }\n }\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string): Promise {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python.js\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n installInfo = { bin: foundPython, installDir: dirname(foundPython), binDir: dirname(foundPython) }\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const bin = await findPython(setupDir)\n if (bin === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir, rcOptions)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await installBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix: {\n stdout: string\n stderr: string\n } = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin, rcOptions)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await installAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n\n // On Windows, search in C:\\PythonXX\n if (process.platform === \"win32\") {\n const rootDir = pathParse(homedir()).root\n // find all directories in rootDir using readdir\n const pythonDirs = (await readdir(rootDir)).filter((dir) => dir.startsWith(\"Python\"))\n\n for (const pythonDir of pythonDirs) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, join(rootDir, pythonDir))\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n }\n }\n\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pipPath, MinVersions.pip!)) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error).toString())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error).toString())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { promise: true })\n","import { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverValid from \"semver/functions/valid\"\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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise,\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return Number.parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n\nexport function compareVersion(tag1: string, tag2: string) {\n const v1 = semverCoerce(tag1)\n const v2 = semverCoerce(tag2)\n if (v1 !== null && v2 !== null) {\n // put the latest version first\n return v2.compare(v1)\n }\n\n // if the tags are not semver, compare them as strings, putting the latest tag first\n return tag2.localeCompare(tag1)\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { isArch } from \"../utils/env/isArch.js\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.6\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n // the suffixes relate to the suffix in the llvm releases\n return \"17.0.6-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.6\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.12.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.30.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.2\", // \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.64.1\", // 2.0.17 // https://github.com/conan-io/conan/releases\n meson: \"1.5.1\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.38.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.11.0-4\" : \"1.11.0\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: process.platform === \"win32\"\n ? \"14.2.0posix-18.1.8-12.0.0-ucrt-r1\"\n : \"\", // use the default version on Ubuntu, Fedora, Arch, macOS, etc.\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n powershell: \"7.4.5\", // https://github.com/PowerShell/PowerShell/releases/tag/v7.4.5\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64\n mingw: {\n 24: \"8.0.0-1\",\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n // the suffixes relate to the suffix in the llvm releases\n llvm: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 24: \"6.0\",\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 24: \"1.0.0\",\n 22: \"1.0.0\",\n 20: \"1.0.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 24: \"\",\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 24: \"42-binary\",\n 22: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n doxygen: {\n 24: \"1.11.0\",\n 22: \"1.11.0\",\n 20: \"1.10.0\",\n 18: \"1.10.0\",\n },\n}\n","import type { Opts } from \"../cli-options.js\"\nimport type { Inputs } from \"../tool.js\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions.js\"\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n if (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name] ?? \"\"\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => Number.parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n for (const tool of toolsInUse) {\n opts[tool] = targetVersion\n }\n\n return true\n}\n","import os from \"os\"\nimport { warning } from \"ci-log\"\nimport memoize from \"memoizee\"\nimport { installAptPack } from \"setup-apt\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { isUbuntu } from \"./isUbuntu.js\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await installAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { promise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n if (!(\"version\" in os && typeof os.version === \"function\")) {\n return null\n }\n\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion: string = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = Number.parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = Number.parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = Number.parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"cppcheck\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { setupGraphviz } from \"../graphviz/graphviz.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { macosVersion } from \"../utils/env/macos_version.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { setupDmg } from \"../utils/setup/setupDmg.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n case \"darwin\": {\n const folderName = `Doxygen-${version}`\n return {\n binRelativeDir: \"Doxygen/Doxygen.app/Contents/Resources/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: setupDmg,\n url: `https://doxygen.nl/files/${folderName}.dmg`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n // let installationInfo: InstallationInfo\n // try {\n // installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n // } catch {\n const installationInfo = await installBrewPack(\"doxygen\", undefined)\n // }\n\n // only install graphviz if the macOS version is greater than 11\n if (macosVersion()[0] > 11) {\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n }\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([{ name: \"doxygen\", version }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n try {\n await installAptPack([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n info(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`)\n }\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await installAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (\n const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]\n ) {\n // eslint-disable-next-line no-await-in-loop\n if (await pathExists(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir, rcOptions)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return installBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"graphviz\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import macosRelease from \"macos-release\"\nimport memoize from \"memoizee\"\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */\nfunction macosVersion_raw() {\n if (process.platform !== \"darwin\") {\n return []\n }\n\n const { version } = macosRelease()\n return version.split(\".\").map((v) => Number.parseInt(v, 10))\n}\nexport const macosVersion = memoize(macosVersion_raw)\n","import os from 'node:os';\n\nconst nameMap = new Map([\n\t[24, ['Sequoia', '15']],\n\t[23, ['Sonoma', '14']],\n\t[22, ['Ventura', '13']],\n\t[21, ['Monterey', '12']],\n\t[20, ['Big Sur', '11']],\n\t[19, ['Catalina', '10.15']],\n\t[18, ['Mojave', '10.14']],\n\t[17, ['High Sierra', '10.13']],\n\t[16, ['Sierra', '10.12']],\n\t[15, ['El Capitan', '10.11']],\n\t[14, ['Yosemite', '10.10']],\n\t[13, ['Mavericks', '10.9']],\n\t[12, ['Mountain Lion', '10.8']],\n\t[11, ['Lion', '10.7']],\n\t[10, ['Snow Leopard', '10.6']],\n\t[9, ['Leopard', '10.5']],\n\t[8, ['Tiger', '10.4']],\n\t[7, ['Panther', '10.3']],\n\t[6, ['Jaguar', '10.2']],\n\t[5, ['Puma', '10.1']],\n]);\n\nexport default function macosRelease(release) {\n\trelease = Number((release || os.release()).split('.')[0]);\n\n\tconst [name, version] = nameMap.get(release) || ['Unknown', ''];\n\n\treturn {\n\t\tname,\n\t\tversion,\n\t};\n}\n","import { join } from \"path\"\n\nexport async function setupDmg(path: string, destDir: string) {\n const { ArchiveHdi } = await import(\"@shockpkg/archive-files/esm/archive/hdi.mjs\")\n\n const dmg = new ArchiveHdi(path)\n await dmg.read(async (entry) => {\n await entry.extract(join(destDir, entry.path))\n })\n}\n","import { addEnv, addPath } from \"envosman\"\n\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info, warning } from \"ci-log\"\nimport { type ExecaReturnValue, execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverMajor from \"semver/functions/major\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { loadGitHubAssetList, matchAsset } from \"../utils/github/load-assets.js\"\nimport { extract7Zip } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { compareVersion } from \"../utils/setup/version.js\"\n\nasync function getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): Promise {\n switch (platform) {\n case \"win32\": {\n const mingwAssets = await loadGitHubAssetList(\n join(__dirname, \"github_brechtsanders_winlibs_mingw.json\"),\n )\n const asset = matchAsset(\n mingwAssets,\n {\n version,\n arch: arch === \"x64\"\n ? \"x86_64\"\n : arch === \"ia32\"\n ? \"i386\"\n : arch,\n filterName: (name) => name.endsWith(\".7z\"),\n },\n )\n\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${asset.tag}/${asset.name}`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupGcc(version: string, setupDir: string, arch: string, priority: number = 40) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = await installBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc\" }, { name: \"g++\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n {\n name: \"g++\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc-multilib\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([{\n name: \"gcc-multilib\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n }])\n }\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return installAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([\n {\n name: \"mingw-w64\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n // Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n // Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n // await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir, rcOptions)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir, rcOptions)\n } else if (await pathExists(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(givenVersion: string, binDir: string, priority: number = 40) {\n const promises: Promise>[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`, rcOptions),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`, rcOptions),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`, rcOptions),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`, rcOptions),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`, rcOptions),\n // )\n\n if (process.platform === \"win32\") {\n promises.push(\n addEnv(\"CC\", addExeExt(`${binDir}/gcc`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${binDir}/g++`), rcOptions),\n )\n } else {\n // if version is empty, get the version from the gcc command\n let version = givenVersion\n if (givenVersion === \"\") {\n version = await getGccCmdVersion(binDir, version)\n info(`Using gcc version ${version}`)\n }\n\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n )\n }\n } else {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${version}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${version}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${version}`, rcOptions, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function getGccCmdVersion(binDir: string, givenVersion: string) {\n // TODO get the version from the package manager\n try {\n let gccExe = \"gcc\"\n if (await pathExists(`${binDir}/gcc`)) {\n gccExe = `${binDir}/gcc`\n } else {\n // try to find the gcc exe in the bin dir\n const files = (await readdir(binDir)).sort(\n (exe1, exe2) => {\n const version1 = exe1.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] || \"\"\n const version2 = exe2.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] || \"\"\n return compareVersion(version1, version2)\n },\n )\n for (const file of files) {\n if (file.startsWith(\"gcc\")) {\n gccExe = `${binDir}/${file}`\n break\n }\n }\n }\n\n const { stdout: versionStdout } = await execa(gccExe, [\"--version\"], { stdio: \"pipe\" })\n\n // gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\n // gcc-12 (Homebrew GCC 12.4.0) 12.4.0\n // gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0\n\n const versionMatch = (versionStdout as string).match(/gcc.* \\(.*\\) ([\\d.]+)/)\n\n if (versionMatch !== null) {\n return versionMatch[1]\n }\n\n warning(`Failed to parse gcc version from: ${versionStdout}`)\n return givenVersion\n } catch (err) {\n error(`Failed to get gcc version: ${err}`)\n return givenVersion\n }\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { error } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim(), rcOptions)\n } else {\n error(\"SDKROOT not set\")\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { readFile } from \"fs/promises\"\n\n/**\n * The list of assets of a GitHub release\n * @key tag The tag of the release\n * @value assets The names of the assets of the release\n */\nexport type Assets = Record\n\nexport async function loadGitHubAssetList(path: string): Promise {\n const data = await readFile(path, \"utf-8\")\n return JSON.parse(data)\n}\n\ntype MatchAssetOpts = {\n version: string\n arch?: string\n filterTag?: (version: string) => boolean\n filterName?: (asset: string) => boolean\n}\n\n/**\n * Match the asset that matches the version and arch\n */\nexport function matchAsset(\n assets: Assets,\n opts: MatchAssetOpts,\n): { tag: string; name: string } {\n // get the list of versions\n let tags = Object.keys(assets)\n\n // filter the versions\n if (opts.filterTag !== undefined) {\n tags = tags.filter(opts.filterTag)\n }\n\n if (tags.length === 0) {\n throw new Error(`no tag found for version ${opts.version}`)\n }\n\n // find the first tag that starts with the version\n // loop over the versions starting with the latest\n let tag: string | undefined\n for (const mingwVersion of tags) {\n if (mingwVersion.startsWith(opts.version)) {\n tag = mingwVersion\n break\n }\n }\n if (tag === undefined) {\n throw new Error(`version ${opts.version} is not supported`)\n }\n\n // get the list of assets\n let matchedNames = assets[tag]\n\n // filter the assets\n if (opts.filterName !== undefined) {\n matchedNames = matchedNames.filter(opts.filterName)\n }\n\n if (matchedNames.length === 0) {\n throw new Error(`no asset found for version ${opts.version} and arch ${opts.arch}`)\n }\n\n // use the first asset if the arch is not specified\n if (opts.arch === undefined) {\n return { tag, name: matchedNames[0] }\n }\n\n // find the asset that matches the arch\n for (const name of matchedNames) {\n // search each asset name for the arch\n if (name.includes(opts.arch)) {\n return { tag, name }\n }\n }\n\n throw new Error(`arch ${opts.arch} could not be found among ${JSON.stringify(matchedNames)}`)\n}\n","import { addEnv } from \"envosman\"\nimport semverMajor from \"semver/functions/major\"\nimport semverValid from \"semver/functions/valid\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\", rcOptions)\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov, rcOptions)\n}\n","import { info } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake.js\"\nimport { setupNinja } from \"../ninja/ninja.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { extractTarByExe } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, 1)\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\n }\n\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"~\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), join(untildifyUser(\"~\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","import { delimiter } from \"path\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupGcc } from \"../gcc/gcc.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type InstallationInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer.js\"\nimport { getLLVMPackageInfo } from \"./llvm_url.js\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM\n const [installationInfo, _1] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n addLLVMLoggingMatcher(),\n ])\n\n // install LLVM dependencies\n await setupLLVMDeps(arch)\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { promise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = Number.parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await installAptPack([{ name: \"libtinfo5\" }])\n } else {\n await installAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { promise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { promise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory, rcOptions),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`, rcOptions),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/lib${delimiter}${dyld}`, rcOptions),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`, rcOptions),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`, rcOptions),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`), rcOptions),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`, rcOptions),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`, rcOptions))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`, rcOptions))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n addUpdateAlternativesToRc(\"cc\", `${directory}/bin/clang`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${directory}/bin/clang++`, rcOptions, priority),\n addUpdateAlternativesToRc(\"clang\", `${directory}/bin/clang`, rcOptions),\n addUpdateAlternativesToRc(\"clang++\", `${directory}/bin/clang++`, rcOptions),\n addUpdateAlternativesToRc(\"lld\", `${directory}/bin/lld`, rcOptions),\n addUpdateAlternativesToRc(\"ld.lld\", `${directory}/bin/ld.lld`, rcOptions),\n addUpdateAlternativesToRc(\"llvm-ar\", `${directory}/bin/llvm-ar`, rcOptions),\n )\n }\n\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n }\n}\n","import { info } from \"console\"\nimport { tmpdir } from \"os\"\nimport { join } from \"path\"\nimport { execRoot } from \"admina\"\nimport { addPath } from \"envosman\"\nimport { chmod, readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { aptTimeout, hasNala, installAptPack, isAptPackRegexInstalled } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { DEFAULT_TIMEOUT } from \"../installTool.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\nexport enum LLVMPackages {\n All = 0,\n ClangFormat = 1,\n Core = 2,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }])\n const dl = new DownloaderHelper(\"https://apt.llvm.org/llvm.sh\", tmpdir(), { fileName: \"llvm.sh\" })\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the LLVM installer script: ${err}`)\n })\n await dl.start()\n const installerScript = await readFile(dl.getDownloadPath(), \"utf-8\")\n\n const installerPath = join(tmpdir(), \"llvm-setup-cpp.sh\")\n const neededPackages = await patchAptLLVMScript(\n installerScript,\n installerPath,\n majorVersion,\n packages,\n )\n await installAptPack(neededPackages)\n await chmod(installerPath, \"755\")\n await execRoot(\n \"bash\",\n [installerPath, `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`, rcOptions)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(\n givenScript: string,\n target_path: string,\n majorVersion: number,\n packages: LLVMPackages,\n) {\n let script = debugScript(givenScript)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (process.env.NODE_DEBUG !== \"1\" && process.env.NODE_DEBUG !== \"true\") {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n `add-apt-repository -y -n \"\\${REPO_NAME}\"\napt-get update -o ${aptTimeout} -y`,\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n `apt-get install -o Dpkg::Options::=\"--force-overwrite\" -o ${aptTimeout} -y --fix-broken`,\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isAptPackRegexInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport pTimeout from \"p-timeout\"\nimport { join } from \"patha\"\nimport { setupBrew } from \"setup-brew\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { type ToolName, setups } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n if (e instanceof Error && e.stack !== undefined) {\n error(e.stack)\n }\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n) {\n // eslint-disable-next-line no-param-reassign\n const hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else if (tool === \"brew\") {\n // eslint-disable no-await-in-loop\n installationInfo = await setupBrew({ rcOptions })\n } else {\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"llvm\" : tool)\n\n const setupVersion = getVersion(tool, version, osVersion)\n\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable no-await-in-loop\n installationInfo = await setupFunction(setupVersion, setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n return hasLLVM\n}\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { pathExists } from \"path-exists\"\nimport { rcOptions } from \"../cli-options.js\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (VCTargetsPath !== undefined && (await pathExists(VCTargetsPath))) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath, rcOptions)\n }\n\n await setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community', 'BuildTools']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\n/**\n * Convert the vs version (e.g. 2022) or year (e.g. 17.0) to the version number (e.g. 17.0)\n * @param {string | undefined} vsversion the year (e.g. 2022) or version number (e.g. 17.0)\n * @returns {string | undefined} the version number (e.g. 17.0)\n */\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\n/**\n * Convert the vs version (e.g. 17.0) or year (e.g. 2022) to the year (e.g. 2022)\n * @param {string} vsversion the version number (e.g. 17.0) or year (e.g. 2022)\n * @returns {string} the year (e.g. 2022)\n */\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\n/**\n * Find MSVC tools with vswhere\n * @param {string} pattern the pattern to search for\n * @param {string} version_pattern the version pattern to search for\n * @returns {string | null} the path to the found MSVC tools\n */\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\n/**\n * Find the vcvarsall.bat file for the given Visual Studio version\n * @param {string | undefined} vsversion the version of Visual Studio to find (year or version number)\n * @returns {string} the path to the vcvarsall.bat file\n */\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/**\n * Setup MSVC Developer Command Prompt\n * @param {string} arch - Target architecture\n * @param {string | undefined} sdk - Windows SDK number to build for\n * @param {string | undefined} toolset - VC++ compiler toolset version\n * @param {boolean | 'true' | 'false' | undefined} uwp - Build for Universal Windows Platform\n * @param {boolean | 'true' | 'false' | undefined} spectre - Enable Spectre mitigations\n * @param {string | undefined} vsversion - The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. \"2019\").\n */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n\n if (uwp && JSON.parse(uwp) === true) {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre && JSON.parse(spectre) === true) {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd\n","import { info, warning } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { addExeExt } from \"patha\"\nimport semverLte from \"semver/functions/lte\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract.js\"\nimport type { PackageInfo } from \"../utils/setup/setupBin.js\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version.js\"\n\n// ================================================\n// Version\n// ================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_X64_MISSING = 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 \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_X64_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n \"18.1.4\": \"-ubuntu-18.04\",\n \"18.1.7\": \"-ubuntu-18.04\",\n \"18.1.8\": \"-ubuntu-18.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"18.1.8\"\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/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_X64_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/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let linuxVersion: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_X64_SUFFIX_MAP) {\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm version: ${specificVersion}`)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction: platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, 1)\n },\n }\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n await installBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\", rcOptions)\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"make\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { findVcvarsall, vsversion_to_versionnumber } from \"msvc-dev-cmd/lib.js\"\nimport { join } from \"patha\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall.js\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { tmpdir } from \"os\"\nimport { execRootSync } from \"admina\"\nimport { error, info } from \"ci-log\"\nimport { readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { dirname, join } from \"patha\"\nimport { hasNala, installAptPack, qualifiedNeededAptPackage } from \"setup-apt\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n await installAptPack([{ name: \"python3-apt\" }])\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n // If nala is available in the default repositories, install it\n try {\n const nalaPack = await qualifiedNeededAptPackage({ name: \"nala\", version })\n if (nalaPack !== undefined) {\n await installAptPack([{ name: nalaPack }])\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala: ${err}`)\n }\n\n // Nala is not available in the default repositories\n // Check if the legacy version is available\n try {\n const nalaLegacyPack = await qualifiedNeededAptPackage({ name: \"nala-legacy\" })\n if (nalaLegacyPack !== undefined) {\n await installAptPack([{ name: nalaLegacyPack }], true)\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala-legacy: ${err}`)\n }\n\n // Install via the installer script\n await setupNalaViaInstaller()\n\n return { binDir }\n}\n\nasync function setupNalaViaInstaller() {\n const installer = new DownloaderHelper(\n \"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh\",\n tmpdir(),\n { fileName: \"install-nala.sh\" },\n )\n installer.on(\"error\", (err) => {\n throw new Error(`Failed to download install-nala.sh: ${err}`)\n })\n await installer.start()\n\n const installerPath = join(tmpdir(), \"install-nala.sh\")\n\n // Patch the installer script to not use sudo explicitly\n const script = await readFile(installerPath, \"utf8\")\n await writeFile(installerPath, script.replace(/sudo/g, \"\"))\n\n await installAptPack([{ name: \"wget\" }])\n\n try {\n execRootSync(\"bash\", [installerPath])\n } catch (err) {\n error(`Failed to install nala via installer: ${err}`)\n execRootSync(\"apt\", [\"install\", \"-y\", \"-t\", \"nala\", \"nala\"])\n }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\n}\n","import { addPath } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { execRootSync } from \"admina\"\nimport { error } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n/** Get the platform data for cmake */\nfunction getPowerShellPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n return {\n url: getPowershellUrl(platform, arch, version),\n binRelativeDir: \"\",\n binFileName: addExeExt(\"pwsh\"),\n extractedFolderName: \"\",\n }\n}\n\nfunction getPowershellUrl(\n platform: string,\n arch: string,\n version: string,\n) {\n switch (platform) {\n case \"win32\": {\n const osArchStr = ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch))\n ? \"win-x86\"\n : \"win-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/PowerShell-${version}-${osArchStr}.zip`\n }\n case \"darwin\": {\n const osArchStr = [\"arm\", \"arm64\"].includes(arch) ? \"osx-arm64\" : \"osx-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n case \"linux\": {\n const archMap = {\n arm64: \"linux-arm64\",\n arm: \"linux-arm64\",\n arm32: \"linux-arm32\",\n aarch64: \"linux-arm64\",\n x64: \"linux-x64\",\n } as Record\n const osArchStr = archMap[arch] ?? \"linux-x64\"\n // TODO support musl\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string, setupDir: string, arch: string) {\n try {\n return await setupBin(\"pwsh\", version, getPowerShellPackageInfo, setupDir, arch)\n } catch (err) {\n error(`Failed to setup pwsh via download: ${err}. Trying package managers...`)\n return setupPowershellSystem(version, setupDir, arch)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershellSystem(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"powershell\", version, { cask: true, overwrite: false })\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"curl\" }])\n execRootSync(\"/bin/bash\", [\n \"-c\",\n \"curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo\",\n ])\n return setupDnfPack([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"curl\" }])\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaURL(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return installAptPack([{ name: \"powershell\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { installBrewPack } from \"setup-brew\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return installBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const extension = platform === \"win32\" ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { grantUserWriteAccess } from \"admina\"\nimport { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await installAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n // clone if not already exists\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. Skipping the clone`)\n }\n\n // if version specified, checkout the version\n if (version !== \"\" && version !== \"true\") {\n info(`Checking out vcpkg version ${version}`)\n execaSync(\"git\", [\"checkout\", version], {\n cwd: setupDir,\n stdio: \"inherit\",\n })\n }\n\n // bootstrap vcpkg\n execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(setupDir)\n\n await addPath(setupDir, rcOptions)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { join } from \"path\"\nimport { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc.js\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr.js\"\nimport { setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch,\n )\n\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion = compiler === \"mingw\"\n ? getVersion(\"mingw\", version, osVersion)\n : getVersion(\"gcc\", version, osVersion)\n const installationInfo = compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n await activateGcovGCC(gccVersion)\n\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch,\n )\n\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\", rcOptions), addEnv(\"CXX\", \"clang++\", rcOptions)])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";GkMII,CAAAA,CAAA,C8EMAC,CAAA,CmBDAC,CAAA,CWuDAC,CAAA,CgDtDAC,CAAA,C/DRAC,CAAA,CCAAC,CAAA,CCAAC,CAAA,C,8IzFSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO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A,CAAAwW,QAAA,GAEAxW,EAAA,CAAAb,IAAA,CAAU,sCACd,G,eHlPO,KAAM,CAAAyW,EAAA,CAAkB,I,EDCnBqH,EAAA,CAAA7E,EAAA,GAAAA,EAAA,M,qHKCL,KAAM,CAAAX,EAAA,CAAwB,SzBeThiB,CAAkB,EAC5C,GAAM,CAAAC,CAAA,CAAW,GAAI,CAAA2J,GAAA,CAAI5J,CAAA,EAEzB,IAAK,GAAM,CAAAE,CAAA,GAAW,CAAAF,CAAA,CACpBC,CAAA,CAAS0oC,GAAG,CAAC,OAAO3B,IAAI,CAAC9mC,CAAA,CAAS,CAAC,EAAE,EACrCD,CAAA,CAAS0oC,GAAG,CAAC,YAAY3B,IAAI,CAAC9mC,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GyBxBiD,CAC/C,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAGK0hB,EAAA,CAA6B,GAAI,CAAA/X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7EiY,EAAA,CAAqB,GAAI,CAAAjY,GAAA,CAAI,CACjC,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAOKkY,EAAA,CAAiC,GAAI,CAAAkmB,GAAA,GAQr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ACdv/C,IAAI,CAACzL,CAAC,GACLiB,OAAA,CAAQqF,QAAQ,CAAGtG,CACrB,IACC2V,KAAK,CAAC3V,CAAC,GACN,GAAAmJ,EAAA,CAAAhE,KAAI,EAAE,oBACN,GAAAgE,EAAA,CAAAhE,KAAI,EAAEnF,CAAA,EACNiB,OAAA,CAAQqF,QAAQ,CAAG,CACrB","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rW","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rV","sync","command","path","rY","pathExt","iY","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i5","file","original","h","rH","rw","spawn","r1","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r7","getBufferedLength","r8","MAX_LENGTH","bufferedData","getBufferedValue","o0","on","o1","E","sE","sa","sl","sg","oY","c","rS","ChildProcess","sn","reject","ob","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","si","l","oW","oK","kill","oG","bind","cancel","oV","r2","exitCode","signal","se","sw","aborted","failed","o8","o5","oQ","w","o4","spawnSync","input","status","_","stdio","nr","nothrow","b","getuid","call","CI","x","sG","sc","S","R","O","join","map","I","SUDO_USER","iK","statSync","isDirectory","T","iW","homedir","replace","sB","P","guard","rcPath","A","N","rG","warning","nG","pathExists","sH","includes","sq","info","$","Set","split","sz","C","escapeSpace","overwrite","sV","nB","nq","rM","GITHUB_ACTIONS","rB","exportVariable","L","sX","sJ","k","sQ","some","test","PATH","addPath","D","sZ","j","next","throw","done","value","then","apply","F","return","label","ops","pop","trys","length","push","sent","Symbol","iterator","U","nW","pkg","ir","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","q","toString","H","s0","z","DEBIAN_FRONTEND","LANG","LC_ALL","V","X","W","startsWith","Y","K","J","filter","Q","name","version","Z","id","trim","s2","s3","ee","s1","et","s4","er","clear","en","ei","binDir","eo","s6","flatMap","repository","key","ea","es","keyServer","s5","fileName","keyStorePath","ec","el","keyUrl","s8","tmpdir","ii","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s7","ed","eh","em","ev","im","SystemRoot","ALLUSERSPROFILE","lc","ChocolateyInstall","eg","s9","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","ae","at","eb","matchAll","ar","ex","aa","al","eP","ao","existsSync","readdirSync","eI","eO","eA","ad","ai","mkdirP","eS","au","clean","an","debug","rmRF","eR","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rg","ok","RUNNER_TEMP","eN","rk","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","ay","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eF","eU","eM","i$","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","iy","installDir","eB","eH","eq","ni","chmod","iN","now","basename","downloadTool","rl","CACHE_TOOLS","cacheDir","ez","iv","ig","addExeExt","eV","eX","iQ","request","method","statusCode","end","eW","from","iD","localeCompare","eY","ik","has","JSON","stringify","eK","aL","iS","getExecOutput","console","eJ","eZ","eQ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e4","setupActionsPython","rF","e3","e6","parse","root","readdir","aD","python","e5","e9","e7","pip","te","tt","tr","tn","aj","Number","parseInt","ak","ti","execFile","encoding","shell","to","ts","iF","getUbuntuVersion","ta","aB","user","td","PIPX_HOME","aM","PIPX_BIN_DIR","aG","aF","th","tu","aC","tp","tf","aU","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aH","notice","tO","tS","readFile","tR","filterTag","filterName","tag","az","tI","tP","tA","tT","tN","iU","t$","compare","tC","tL","tk","tD","tj","tF","aV","tU","tM","values","a1","tG","execSync","entries","a0","aZ","aQ","aJ","tB","iH","tq","a3","startGroup","milliseconds","fallback","customTimers","sign","aK","addEventListener","POSITIVE_INFINITY","aX","finally","tH","endGroup","ls","rc","tz","tV","NODE_DEBUG","tX","writeFile","rL","tW","tY","tK","a6","tJ","a8","a5","get","a4","a7","a9","tZ","tQ","lt","t4","t0","t1","t6","ln","iz","All","ij","lr","t2","t3","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","le","t8","t5","iB","iq","t7","li","t9","re","rt","rr","rn","arm64","arm","arm32","aarch64","x64","ri","ro","rs","ra","lo","addShExt","addShRelativePrefix","getInput","toLowerCase","ru","compiler","rp","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","ll","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nV","create","autoloadLocales","addLocale","nX","nH","nz","cppcheck","gcovr","la","isCI","parseFloat","format","success","rf","rd","rh","rK","rJ","r4","r5","r9","nt","ns","na","nl","nc","nx","nO","nI","nN","n$","nC","nk","nD","nj","nF","nU","nM","nK","nJ","nZ","nQ","n0","n1","n2","n3","n4","n6","n8","n5","n7","n9","ie","it","io","is","ia","il","ic","iu","ip","iL","any","every","defineProperty","exports","constant","isPR","forEach","pr","ne","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","setFailed","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","String","title","line","startLine","endLine","col","startColumn","endColumn","appendFileSync","random","rng","iJ","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","getProxyUrl","URL","href","protocol","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Accept","ContentType","ApplicationJson","setPrototypeOf","readBody","Buffer","alloc","readBodyBuffer","userAgent","handlers","requestOptions","_ignoreSslError","_socketTimeout","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_agent","_proxyAgent","_proxyAgentDispatcher","_keepAlive","_disposed","ignoreSslError","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","getAgentDispatcher","_getProxyAgentDispatcher","parsedUrl","iZ","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","uri","pipelining","token","requestTls","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","_decodedUsername","_decodedPassword","decodeURIComponent","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","rm","connect","localAddress","arguments","defaultPort","ry","inherits","rv","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rU","Authorization","PersonalAccessTokenCredentialHandler","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","appendFile","chown","copyFile","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","readlink","realpath","rename","rmdir","symlink","truncate","unlink","utimes","promisify","Function","propertyIsEnumerable","foo","bar","trzy","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","contains","defineProperties","configurable","__ee__","__eeOnceListener__","off","methods","gs","set","undefined","toPrimitive","toStringTag","globalThis","self","window","__global__","__description__","__name__","hasInstance","isConcatSpreadable","species","unscopables","for","keyFor","floor","isFinite","delete","abs","NaN","async","memoized","context","cb","document","createTextNode","observe","characterData","queueMicrotask","MutationObserver","WebKitMutationObserver","setImmediate","promise","maxAge","unref","preFetch","hit","refCounter","deleteRef","getRefCount","rE","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","rcompare","compareLoose","compareBuild","rsort","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","COERCE","COERCEFULL","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTLFULL","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","formatted","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","add","extname","normalize","relative","force","recursive","retryDelay","IS_WINDOWS","isRooted","tryGetExecutablePath","exists","cp","copySourceDirectory","mv","which","findInPath","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","readFileSync","randomBytes","ToolRunner","r_","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argStringToArray","charAt","_setResult","rb","HandleTimeout","OSTYPE","i1","i0","rX","TESTING_WINDOWS","i2","i3","colon","pathEnv","pathExtExe","i4","i6","rz","rZ","rQ","r0","openSync","readSync","closeSync","i8","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rq","_parse","_enoent","i7","rR","preferLocal","execPath","addExecPath","rI","fileURLToPath","rO","i9","oe","ot","or","oi","getPrototypeOf","oo","os","oa","ol","oc","WeakMap","ou","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","op","oh","od","of","number","action","description","standard","om","forced","ov","og","signals","rT","supported","oy","oE","ow","o_","errorCode","signalDescription","Boolean","originalMessage","shortMessage","ox","oO","oS","oR","reallyExit","pid","oI","oT","oP","oA","oN","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","o$","oL","oU","oj","r3","equal","oD","alwaysLast","unload","oC","oM","oF","load","oB","oq","oz","forceKillAfterTimeout","oH","SIGTERM","oX","killSignal","race","cleanup","detached","oJ","oZ","createWriteStream","pipeStdout","pipeStderr","pipeAll","rP","rA","PassThrough","array","objectMode","setEncoding","pipeline","r6","buffer","MaxBufferError","readable","isEmpty","o2","o3","inputFile","o6","createReadStream","o7","o9","st","sr","so","ss","su","rx","isBuffer","sp","sf","templates","expressions","template","sd","sh","rN","debuglog","enabled","sm","padStart","sv","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sy","localDir","stripFinalNewline","windowsHide","s_","sb","sx","sS","sO","sR","groups","getgroups","sI","sA","sT","sP","sN","_ISEXE_TEST_PLATFORM_","no","nn","s$","isexe","sC","posix","sL","sk","sD","source","sj","sF","sU","sM","nf","nd","function","object","n_","nb","captureStackTrace","nE","nw","nP","nA","nT","nm","nL","ny","normalizer","resolvers","nS","profileName","updateEnv","__memoized__","nR","_get","_has","nh","ng","nv","__profiler__","nu","np","primitive","sW","sY","release","sK","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","r$","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nY","padEnd","isTTY","shouldNotifyInNpmScript","DH_STATES","IDLE","SKIPPED","STARTED","DOWNLOADING","RETRY","PAUSED","RESUMED","STOPPED","FINISHED","FAILED","__proto__","captureRejections","__validate","requestURL","state","__defaultOpts","body","retry","metadata","override","forceResume","removeOnStop","removeOnFail","progressThrottle","httpRequestOptions","httpsRequestOptions","resumeOnIncomplete","resumeIfFileExists","resumeOnIncompleteMaxRetry","__opts","__pipes","__total","__downloaded","__progress","__retryCount","__retryTimeout","__resumeRetryCount","__states","__promise","__request","__response","__isAborted","__isResumed","__isResumable","__isRedirected","__destFolder","__statsEstimate","time","bytes","prevBytes","throttleTime","__fileName","__filePath","updateOptions","__start","getTotalSize","total","__getFilePath","__getFilesizeInBytes","resumeFromFile","unpipe","stream","__fileStream","__requestAbort","__closeFileStream","__setState","__reqOptions","__emitStop","__headers","__getReqOptions","__initProtocol","downloaded","progress","speed","__protocol","__isRequireRedirect","rC","__getFileNameFromHeaders","destroyed","__downloadRequest","__onError","__onTimeout","__resetStats","__startDownload","flags","skip","skipSmaller","totalSize","downloadedSize","isResumed","__calculateStats","__onFinished","close","__hasFinished","resume","incomplete","onDiskSize","__retry","__removeFile","__getFileNameFromOpts","__uniqFileNameSync","prevPath","prevFileName","ext","getStats","throwIfNoEntry","accessSync","F_OK","abort","__resolvePending","ih","ib","as","ac","ap","af","iO","ah","iP","iR","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","am","httpStatusCode","new","target","HTTPError","av","ag","ix","authorization","statusMessage","extract7z","iE","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iC","aE","fs","mkdirAsync","statAsync","aw","a_","ab","ax","aO","aS","aR","__TESTING_MKDIRP_PLATFORM__","aI","aT","__TESTING_MKDIRP_NODE_VERSION__","aP","aA","aN","a$","mkdirpSync","mkdirpNative","mkdirpNativeSync","mkdirpManual","mkdirpManualSync","native","nativeSync","manual","manualSync","useNative","useNativeSync","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","powershell","mingw","nala","aq","iM","iG","aW","aY","DOMException","reason","ProgramFiles","a2","win32","win64","x86_64","iV","iX","vcpkg","bazel","opencppcoverage","choco","brew","ccache","sccache","graphviz","ClangFormat","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/.pnpm/ci-info@4.0.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/ci-info@4.0.0/node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/file-command.ts","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/lib/esnext/index.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/src/index.ts","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/lib/esnext/proxy.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/src/proxy.ts","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13_/node_modules/@parcel/runtime-js/lib/runtime-d19c8d06d73cb87c.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/lib/auth.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/src/auth.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","../../src/utils/compat/fs/promises.ts","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/noop.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/_iterate.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-callable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-value.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/registered-extensions.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/mixin.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/shim.js","../../node_modules/.pnpm/event-emitter@0.3.5/node_modules/event-emitter/index.js","../../node_modules/.pnpm/d@1.0.2/node_modules/d/index.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/value/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/plain-function/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/function/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/prototype/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/object/is.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/normalize-options.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/shim.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/index.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-implemented.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/index.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/is-implemented.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/implementation.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/polyfill.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/validate-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/generate-name.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/standard-symbols.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/symbol-registry.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-arguments.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-function.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-pos-integer.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-integer.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/is-string.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/primitive.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-primitive-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/#/e-index-of.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/shim.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-1.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/async.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/map.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/for-each.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/_define-length.js","../../node_modules/.pnpm/next-tick@1.1.0/node_modules/next-tick/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/promise.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/primitive-set.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-callable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/to-short-string-representation.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/safe-to-string.js","../../node_modules/.pnpm/is-promise@2.2.2/node_modules/is-promise/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/dispose.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max-age.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/valid-timeout.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/max-timeout.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max.js","../../node_modules/.pnpm/lru-queue@0.1.0/node_modules/lru-queue/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/ref-counter.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","../../node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/name.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/normalize-trim.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-exe-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-suffix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/remove-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/replace-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/is-path-inside.ts","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io-util.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/exec.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13_/node_modules/@parcel/runtime-js/lib/runtime-41eb4c509496b9db.js","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13_/node_modules/@parcel/runtime-js/lib/runtime-b320c84e2258181e.js","../../src/setup-cpp.ts","../../packages/envosman/src/index.ts","../../packages/envosman/src/add-env.ts","../../packages/exec-powershell/src/index.ts","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.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/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.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/enoent.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@5.3.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-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@7.2.0/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/index.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/index.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/posix.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/posix.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/win32.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/win32.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/options.ts","../../packages/envosman/src/rc-file.ts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/index.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/root.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/root.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/admin.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/admin.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/is-admin.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/is-admin.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/user-access.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/user-access.mts","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-length.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/plain.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/configure-map.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/error/custom.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-object.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-resolve.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/to-array.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-normalize.js","../../packages/untildify-user/src/index.ts","../../packages/envosman/src/utils.ts","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../packages/envosman/src/add-path.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","../../src/check-updates.ts","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../src/tool.ts","../../packages/setup-brew/src/index.ts","../../packages/setup-brew/src/install-pack.ts","../../packages/setup-brew/src/install.ts","../../node_modules/.pnpm/node-downloader-helper@2.1.9/node_modules/node-downloader-helper/dist/index.js","../../packages/setup-apt/src/index.ts","../../packages/setup-apt/src/alternatives.ts","../../packages/setup-apt/src/apt-key.ts","../../packages/setup-apt/src/install.ts","../../packages/setup-apt/src/apt-env.ts","../../packages/setup-apt/src/apt-repository.ts","../../packages/setup-apt/src/apt-timeout.ts","../../packages/setup-apt/src/get-apt.ts","../../packages/setup-apt/src/init-apt.ts","../../packages/setup-apt/src/qualify-install.ts","../../packages/setup-apt/src/is-installed.ts","../../packages/setup-apt/src/update.ts","../../src/bazel/bazel.ts","../../src/utils/env/hasDnf.ts","../../src/utils/env/isArch.ts","../../src/utils/env/isUbuntu.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/setup/setupDnfPack.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../src/utils/setup/setupBin.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/index.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/index.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-manual.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/mkdirp-manual.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/opts-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/opts-arg.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/mkdirp-native.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/find-made.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/find-made.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/path-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/path-arg.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/use-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/use-native.ts","../../src/python/python.ts","../../src/utils/setup/version.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/utils/env/macos_version.ts","../../node_modules/.pnpm/macos-release@3.3.0/node_modules/macos-release/index.js","../../src/utils/setup/setupDmg.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/utils/github/load-assets.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../node_modules/.pnpm/p-timeout@6.1.2/node_modules/p-timeout/index.js","../../src/vcvarsall/vcvarsall.ts","../../node_modules/.pnpm/msvc-dev-cmd@https+++codeload.github.com+aminya+msvc-dev-cmd+tar.gz+c01f519bd995460228ed3dec4df51df92dc290fd/node_modules/msvc-dev-cmd/lib.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $f6VCT$os = require(\"os\");\nvar $f6VCT$path = require(\"path\");\nvar $f6VCT$fs = require(\"fs\");\nvar $f6VCT$crypto = require(\"crypto\");\nvar $f6VCT$http = require(\"http\");\nvar $f6VCT$https = require(\"https\");\nrequire(\"net\");\nvar $f6VCT$tls = require(\"tls\");\nvar $f6VCT$events = require(\"events\");\nvar $f6VCT$assert = require(\"assert\");\nvar $f6VCT$util = require(\"util\");\nvar $f6VCT$nodefs = require(\"node:fs\");\nvar $f6VCT$child_process = require(\"child_process\");\nvar $f6VCT$string_decoder = require(\"string_decoder\");\nvar $f6VCT$timers = require(\"timers\");\nvar $f6VCT$nodebuffer = require(\"node:buffer\");\nvar $f6VCT$nodepath = require(\"node:path\");\nvar $f6VCT$nodechild_process = require(\"node:child_process\");\nvar $f6VCT$nodeprocess = require(\"node:process\");\nvar $f6VCT$nodeurl = require(\"node:url\");\nvar $f6VCT$nodeos = require(\"node:os\");\nvar $f6VCT$buffer = require(\"buffer\");\nvar $f6VCT$stream = require(\"stream\");\nvar $f6VCT$nodeutil = require(\"node:util\");\nvar $f6VCT$process = require(\"process\");\nvar $f6VCT$url = require(\"url\");\nvar $f6VCT$console = require(\"console\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"dKklS\", function(module, exports) {\n\"use strict\";\n\nvar $ksAXT = parcelRequire(\"ksAXT\");\nconst $a01f5bb1004482a1$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $ksAXT.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$ksAXT.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $a01f5bb1004482a1$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$a01f5bb1004482a1$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $a01f5bb1004482a1$var$env && $a01f5bb1004482a1$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$a01f5bb1004482a1$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $a01f5bb1004482a1$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($a01f5bb1004482a1$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($a01f5bb1004482a1$var$env.BUILD_ID || // Jenkins, Cloudbees\n$a01f5bb1004482a1$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$a01f5bb1004482a1$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$a01f5bb1004482a1$var$env.CI_APP_ID || // Appflow\n$a01f5bb1004482a1$var$env.CI_BUILD_ID || // Appflow\n$a01f5bb1004482a1$var$env.CI_BUILD_NUMBER || // Appflow\n$a01f5bb1004482a1$var$env.CI_NAME || // Codeship and others\n$a01f5bb1004482a1$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$a01f5bb1004482a1$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $a01f5bb1004482a1$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$a01f5bb1004482a1$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $a01f5bb1004482a1$var$env[obj.env] && $a01f5bb1004482a1$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$a01f5bb1004482a1$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $a01f5bb1004482a1$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRegister(\"ksAXT\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Agola CI\",\"constant\":\"AGOLA\",\"env\":\"AGOLA_GIT_REF\",\"pr\":\"AGOLA_PULL_REQUEST_ID\"},{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"TF_BUILD\",\"pr\":{\"BUILD_REASON\":\"PullRequest\"}},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Earthly\",\"constant\":\"EARTHLY\",\"env\":\"EARTHLY_CI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"Gitea Actions\",\"constant\":\"GITEA_ACTIONS\",\"env\":\"GITEA_ACTIONS\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Prow\",\"constant\":\"PROW\",\"env\":\"PROW_JOB_ID\"},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vela\",\"constant\":\"VELA\",\"env\":\"VELA\",\"pr\":{\"VELA_PULL_REQUEST\":\"1\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]},\"pr\":\"VERCEL_GIT_PULL_REQUEST_ID\"},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRegister(\"pcnv8\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $dfbf2d9bb1250e23$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $dfbf2d9bb1250e23$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $dfbf2d9bb1250e23$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $dfbf2d9bb1250e23$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $dfbf2d9bb1250e23$export$a80b3bd66acc52ff);\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\nfunction $dfbf2d9bb1250e23$export$a3bc9b8ed74fc(err) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$491112666e282270(msg) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$b31f6ae88848cf15(msg) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $dfbf2d9bb1250e23$export$a80b3bd66acc52ff(msg) {\n return (0, $dKklS.GITHUB_ACTIONS) ? $k1l4q.info(msg) : console.log(msg);\n}\n\n});\nparcelRegister(\"k1l4q\", function(module, exports) {\n\"use strict\";\nvar $e9343ec77e6efb9d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $e9343ec77e6efb9d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $e9343ec77e6efb9d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $e9343ec77e6efb9d$var$__createBinding(result, mod, k);\n }\n $e9343ec77e6efb9d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e9343ec77e6efb9d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $ekchs = parcelRequire(\"ekchs\");\n\nvar $lyZGK = parcelRequire(\"lyZGK\");\n\nvar $iYcPV = parcelRequire(\"iYcPV\");\n\nconst $e9343ec77e6efb9d$var$os = $e9343ec77e6efb9d$var$__importStar($f6VCT$os);\n\nconst $e9343ec77e6efb9d$var$path = $e9343ec77e6efb9d$var$__importStar($f6VCT$path);\n\nvar $dqF37 = parcelRequire(\"dqF37\");\n/**\n * The code to exit an action\n */ var $e9343ec77e6efb9d$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($e9343ec77e6efb9d$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $e9343ec77e6efb9d$var$exportVariable(name, val) {\n const convertedVal = $iYcPV.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $lyZGK.issueFileCommand(\"ENV\", $lyZGK.prepareKeyValueMessage(name, val));\n $ekchs.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $e9343ec77e6efb9d$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $e9343ec77e6efb9d$var$setSecret(secret) {\n $ekchs.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $e9343ec77e6efb9d$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $e9343ec77e6efb9d$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $lyZGK.issueFileCommand(\"PATH\", inputPath);\n else $ekchs.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$e9343ec77e6efb9d$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $e9343ec77e6efb9d$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $e9343ec77e6efb9d$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $e9343ec77e6efb9d$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $e9343ec77e6efb9d$var$getMultilineInput(name, options) {\n const inputs = $e9343ec77e6efb9d$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $e9343ec77e6efb9d$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $e9343ec77e6efb9d$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $e9343ec77e6efb9d$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $e9343ec77e6efb9d$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $e9343ec77e6efb9d$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $lyZGK.issueFileCommand(\"OUTPUT\", $lyZGK.prepareKeyValueMessage(name, value));\n process.stdout.write($e9343ec77e6efb9d$var$os.EOL);\n $ekchs.issueCommand(\"set-output\", {\n name: name\n }, $iYcPV.toCommandValue(value));\n}\nmodule.exports.setOutput = $e9343ec77e6efb9d$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $e9343ec77e6efb9d$var$setCommandEcho(enabled) {\n $ekchs.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $e9343ec77e6efb9d$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $e9343ec77e6efb9d$var$setFailed(message) {\n process.exitCode = $e9343ec77e6efb9d$var$ExitCode.Failure;\n $e9343ec77e6efb9d$var$error(message);\n}\nmodule.exports.setFailed = $e9343ec77e6efb9d$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $e9343ec77e6efb9d$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $e9343ec77e6efb9d$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $e9343ec77e6efb9d$var$debug(message) {\n $ekchs.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $e9343ec77e6efb9d$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $e9343ec77e6efb9d$var$error(message, properties = {}) {\n $ekchs.issueCommand(\"error\", $iYcPV.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $e9343ec77e6efb9d$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $e9343ec77e6efb9d$var$warning(message, properties = {}) {\n $ekchs.issueCommand(\"warning\", $iYcPV.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $e9343ec77e6efb9d$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $e9343ec77e6efb9d$var$notice(message, properties = {}) {\n $ekchs.issueCommand(\"notice\", $iYcPV.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $e9343ec77e6efb9d$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $e9343ec77e6efb9d$var$info(message) {\n process.stdout.write(message + $e9343ec77e6efb9d$var$os.EOL);\n}\nmodule.exports.info = $e9343ec77e6efb9d$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $e9343ec77e6efb9d$var$startGroup(name) {\n $ekchs.issue(\"group\", name);\n}\nmodule.exports.startGroup = $e9343ec77e6efb9d$var$startGroup;\n/**\n * End an output group.\n */ function $e9343ec77e6efb9d$var$endGroup() {\n $ekchs.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $e9343ec77e6efb9d$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $e9343ec77e6efb9d$var$group(name, fn) {\n return $e9343ec77e6efb9d$var$__awaiter(this, void 0, void 0, function*() {\n $e9343ec77e6efb9d$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $e9343ec77e6efb9d$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $e9343ec77e6efb9d$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $e9343ec77e6efb9d$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $lyZGK.issueFileCommand(\"STATE\", $lyZGK.prepareKeyValueMessage(name, value));\n $ekchs.issueCommand(\"save-state\", {\n name: name\n }, $iYcPV.toCommandValue(value));\n}\nmodule.exports.saveState = $e9343ec77e6efb9d$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $e9343ec77e6efb9d$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $e9343ec77e6efb9d$var$getState;\nfunction $e9343ec77e6efb9d$var$getIDToken(aud) {\n return $e9343ec77e6efb9d$var$__awaiter(this, void 0, void 0, function*() {\n return yield $dqF37.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $e9343ec77e6efb9d$var$getIDToken;\n\nvar $1mzjm = parcelRequire(\"1mzjm\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $1mzjm.summary;\n }\n});\n\nvar $1mzjm = parcelRequire(\"1mzjm\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $1mzjm.markdownSummary;\n }\n});\n\nvar $31rWp = parcelRequire(\"31rWp\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $31rWp.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $31rWp.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $31rWp.toPlatformPath;\n }\n});\n\n});\nparcelRegister(\"ekchs\", function(module, exports) {\n\"use strict\";\nvar $a6dc759deb801b79$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a6dc759deb801b79$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a6dc759deb801b79$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a6dc759deb801b79$var$__createBinding(result, mod, k);\n }\n $a6dc759deb801b79$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $a6dc759deb801b79$var$os = $a6dc759deb801b79$var$__importStar($f6VCT$os);\n\nvar $iYcPV = parcelRequire(\"iYcPV\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $a6dc759deb801b79$var$issueCommand(command, properties, message) {\n const cmd = new $a6dc759deb801b79$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $a6dc759deb801b79$var$os.EOL);\n}\nmodule.exports.issueCommand = $a6dc759deb801b79$var$issueCommand;\nfunction $a6dc759deb801b79$var$issue(name, message = \"\") {\n $a6dc759deb801b79$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $a6dc759deb801b79$var$issue;\nconst $a6dc759deb801b79$var$CMD_STRING = \"::\";\nclass $a6dc759deb801b79$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $a6dc759deb801b79$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$a6dc759deb801b79$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$a6dc759deb801b79$var$CMD_STRING}${$a6dc759deb801b79$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $a6dc759deb801b79$var$escapeData(s) {\n return $iYcPV.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $a6dc759deb801b79$var$escapeProperty(s) {\n return $iYcPV.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRegister(\"iYcPV\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $dcf7c9a9e0ec5858$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $dcf7c9a9e0ec5858$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $dcf7c9a9e0ec5858$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $dcf7c9a9e0ec5858$var$toCommandProperties;\n\n});\n\n\nparcelRegister(\"lyZGK\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $fb2ca0006d56f842$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $fb2ca0006d56f842$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $fb2ca0006d56f842$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $fb2ca0006d56f842$var$__createBinding(result, mod, k);\n }\n $fb2ca0006d56f842$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $fb2ca0006d56f842$var$fs = $fb2ca0006d56f842$var$__importStar($f6VCT$fs);\n\nconst $fb2ca0006d56f842$var$os = $fb2ca0006d56f842$var$__importStar($f6VCT$os);\n\nvar $bTj1Z = parcelRequire(\"bTj1Z\");\n\nvar $iYcPV = parcelRequire(\"iYcPV\");\nfunction $fb2ca0006d56f842$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$fb2ca0006d56f842$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $fb2ca0006d56f842$var$fs.appendFileSync(filePath, `${$iYcPV.toCommandValue(message)}${$fb2ca0006d56f842$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $fb2ca0006d56f842$var$issueFileCommand;\nfunction $fb2ca0006d56f842$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$bTj1Z.default()}`;\n const convertedValue = $iYcPV.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$fb2ca0006d56f842$var$os.EOL}${convertedValue}${$fb2ca0006d56f842$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $fb2ca0006d56f842$var$prepareKeyValueMessage;\n\n});\nparcelRegister(\"bTj1Z\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $8a8397ee6cc823a0$export$2e2bcd8739ae039);\n\nvar $5x7Ba = parcelRequire(\"5x7Ba\");\n\nvar $FUqvx = parcelRequire(\"FUqvx\");\nfunction $8a8397ee6cc823a0$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $5x7Ba.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $FUqvx.default)(rnds);\n}\nvar $8a8397ee6cc823a0$export$2e2bcd8739ae039 = $8a8397ee6cc823a0$var$v4;\n\n});\nparcelRegister(\"5x7Ba\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $4075edb944572faa$export$2e2bcd8739ae039);\n\nconst $4075edb944572faa$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $4075edb944572faa$var$poolPtr = $4075edb944572faa$var$rnds8Pool.length;\nfunction $4075edb944572faa$export$2e2bcd8739ae039() {\n if ($4075edb944572faa$var$poolPtr > $4075edb944572faa$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($f6VCT$crypto))).randomFillSync($4075edb944572faa$var$rnds8Pool);\n $4075edb944572faa$var$poolPtr = 0;\n }\n return $4075edb944572faa$var$rnds8Pool.slice($4075edb944572faa$var$poolPtr, $4075edb944572faa$var$poolPtr += 16);\n}\n\n});\n\nparcelRegister(\"FUqvx\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $07df999606202400$export$2e2bcd8739ae039);\n\nvar $kYWmF = parcelRequire(\"kYWmF\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $07df999606202400$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$07df999606202400$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $07df999606202400$var$stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = ($07df999606202400$var$byteToHex[arr[offset + 0]] + $07df999606202400$var$byteToHex[arr[offset + 1]] + $07df999606202400$var$byteToHex[arr[offset + 2]] + $07df999606202400$var$byteToHex[arr[offset + 3]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 4]] + $07df999606202400$var$byteToHex[arr[offset + 5]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 6]] + $07df999606202400$var$byteToHex[arr[offset + 7]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 8]] + $07df999606202400$var$byteToHex[arr[offset + 9]] + \"-\" + $07df999606202400$var$byteToHex[arr[offset + 10]] + $07df999606202400$var$byteToHex[arr[offset + 11]] + $07df999606202400$var$byteToHex[arr[offset + 12]] + $07df999606202400$var$byteToHex[arr[offset + 13]] + $07df999606202400$var$byteToHex[arr[offset + 14]] + $07df999606202400$var$byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!(0, $kYWmF.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $07df999606202400$export$2e2bcd8739ae039 = $07df999606202400$var$stringify;\n\n});\nparcelRegister(\"kYWmF\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $f466af365406a0ad$export$2e2bcd8739ae039);\n\nvar $1J9r9 = parcelRequire(\"1J9r9\");\nfunction $f466af365406a0ad$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $1J9r9.default).test(uuid);\n}\nvar $f466af365406a0ad$export$2e2bcd8739ae039 = $f466af365406a0ad$var$validate;\n\n});\nparcelRegister(\"1J9r9\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $1421506621ec4ca3$export$2e2bcd8739ae039);\nvar $1421506621ec4ca3$export$2e2bcd8739ae039 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\n\n});\n\n\n\n\n\nparcelRegister(\"dqF37\", function(module, exports) {\n\"use strict\";\nvar $9c6d8ba028e609ce$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $8mOIr = parcelRequire(\"8mOIr\");\n\nvar $xKNr1 = parcelRequire(\"xKNr1\");\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\nclass $9c6d8ba028e609ce$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $8mOIr.HttpClient(\"actions/oidc-client\", [\n new $xKNr1.BearerCredentialHandler($9c6d8ba028e609ce$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $9c6d8ba028e609ce$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $9c6d8ba028e609ce$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $9c6d8ba028e609ce$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $9c6d8ba028e609ce$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $k1l4q.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $9c6d8ba028e609ce$var$OidcClient.getCall(id_token_url);\n $k1l4q.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $9c6d8ba028e609ce$var$OidcClient;\n\n});\nparcelRegister(\"8mOIr\", function(module, exports) {\n\n$parcel$export(module.exports, \"HttpCodes\", () => $6177b7e72939c8cc$export$a5bc4a64e9e6804a);\n$parcel$export(module.exports, \"Headers\", () => $6177b7e72939c8cc$export$79b704688b15c0f4);\n$parcel$export(module.exports, \"MediaTypes\", () => $6177b7e72939c8cc$export$ff52fa65c2177453);\n$parcel$export(module.exports, \"getProxyUrl\", () => $6177b7e72939c8cc$export$5dee9601e91f0ebf);\n$parcel$export(module.exports, \"HttpClientError\", () => $6177b7e72939c8cc$export$83d862a6bd4a93c5);\n$parcel$export(module.exports, \"HttpClientResponse\", () => $6177b7e72939c8cc$export$7a420d61f4599d58);\n$parcel$export(module.exports, \"isHttps\", () => $6177b7e72939c8cc$export$2f08278b66905d33);\n$parcel$export(module.exports, \"HttpClient\", () => $6177b7e72939c8cc$export$8c6ee871e681f0f4);\n/* eslint-disable @typescript-eslint/no-explicit-any */ \n\n\nvar $4u31b = parcelRequire(\"4u31b\");\n\nvar $bbp3j = parcelRequire(\"bbp3j\");\nvar $6177b7e72939c8cc$export$a5bc4a64e9e6804a;\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})($6177b7e72939c8cc$export$a5bc4a64e9e6804a || ($6177b7e72939c8cc$export$a5bc4a64e9e6804a = {}));\nvar $6177b7e72939c8cc$export$79b704688b15c0f4;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($6177b7e72939c8cc$export$79b704688b15c0f4 || ($6177b7e72939c8cc$export$79b704688b15c0f4 = {}));\nvar $6177b7e72939c8cc$export$ff52fa65c2177453;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($6177b7e72939c8cc$export$ff52fa65c2177453 || ($6177b7e72939c8cc$export$ff52fa65c2177453 = {}));\nfunction $6177b7e72939c8cc$export$5dee9601e91f0ebf(serverUrl) {\n const proxyUrl = $4u31b.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nconst $6177b7e72939c8cc$var$HttpRedirectCodes = [\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.MovedPermanently,\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.ResourceMoved,\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.SeeOther,\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.TemporaryRedirect,\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.PermanentRedirect\n];\nconst $6177b7e72939c8cc$var$HttpResponseRetryCodes = [\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.BadGateway,\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.ServiceUnavailable,\n $6177b7e72939c8cc$export$a5bc4a64e9e6804a.GatewayTimeout\n];\nconst $6177b7e72939c8cc$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $6177b7e72939c8cc$var$ExponentialBackoffCeiling = 10;\nconst $6177b7e72939c8cc$var$ExponentialBackoffTimeSlice = 5;\nclass $6177b7e72939c8cc$export$83d862a6bd4a93c5 extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $6177b7e72939c8cc$export$83d862a6bd4a93c5.prototype);\n }\n statusCode;\n result;\n}\nclass $6177b7e72939c8cc$export$7a420d61f4599d58 {\n constructor(message){\n this.message = message;\n }\n message;\n async readBody() {\n return new Promise(async (resolve)=>{\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n });\n }\n async readBodyBuffer() {\n return new Promise(async (resolve)=>{\n const chunks = [];\n this.message.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n });\n this.message.on(\"end\", ()=>{\n resolve(Buffer.concat(chunks));\n });\n });\n }\n}\nfunction $6177b7e72939c8cc$export$2f08278b66905d33(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\n\nclass $6177b7e72939c8cc$export$8c6ee871e681f0f4 {\n userAgent;\n handlers;\n requestOptions;\n _ignoreSslError = false;\n _socketTimeout;\n _allowRedirects = true;\n _allowRedirectDowngrade = false;\n _maxRedirects = 50;\n _allowRetries = false;\n _maxRetries = 1;\n _agent;\n _proxyAgent;\n _proxyAgentDispatcher;\n _keepAlive = false;\n _disposed = false;\n constructor(userAgent, handlers, requestOptions){\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n async options(requestUrl, additionalHeaders) {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n }\n async get(requestUrl, additionalHeaders) {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n }\n async del(requestUrl, additionalHeaders) {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n }\n async post(requestUrl, data, additionalHeaders) {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n }\n async patch(requestUrl, data, additionalHeaders) {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n }\n async put(requestUrl, data, additionalHeaders) {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n }\n async head(requestUrl, additionalHeaders) {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n }\n async 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 */ async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[$6177b7e72939c8cc$export$79b704688b15c0f4.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $6177b7e72939c8cc$export$79b704688b15c0f4.Accept, $6177b7e72939c8cc$export$ff52fa65c2177453.ApplicationJson);\n const res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$6177b7e72939c8cc$export$79b704688b15c0f4.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $6177b7e72939c8cc$export$79b704688b15c0f4.Accept, $6177b7e72939c8cc$export$ff52fa65c2177453.ApplicationJson);\n additionalHeaders[$6177b7e72939c8cc$export$79b704688b15c0f4.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $6177b7e72939c8cc$export$79b704688b15c0f4.ContentType, $6177b7e72939c8cc$export$ff52fa65c2177453.ApplicationJson);\n const res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$6177b7e72939c8cc$export$79b704688b15c0f4.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $6177b7e72939c8cc$export$79b704688b15c0f4.Accept, $6177b7e72939c8cc$export$ff52fa65c2177453.ApplicationJson);\n additionalHeaders[$6177b7e72939c8cc$export$79b704688b15c0f4.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $6177b7e72939c8cc$export$79b704688b15c0f4.ContentType, $6177b7e72939c8cc$export$ff52fa65c2177453.ApplicationJson);\n const res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$6177b7e72939c8cc$export$79b704688b15c0f4.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $6177b7e72939c8cc$export$79b704688b15c0f4.Accept, $6177b7e72939c8cc$export$ff52fa65c2177453.ApplicationJson);\n additionalHeaders[$6177b7e72939c8cc$export$79b704688b15c0f4.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $6177b7e72939c8cc$export$79b704688b15c0f4.ContentType, $6177b7e72939c8cc$export$ff52fa65c2177453.ApplicationJson);\n const 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 */ async request(verb, requestUrl, data, headers) {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const 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 const maxTries = this._allowRetries && $6177b7e72939c8cc$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $6177b7e72939c8cc$export$a5bc4a64e9e6804a.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // 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 let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $6177b7e72939c8cc$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) 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 // 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(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\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 (!response.message.statusCode || !$6177b7e72939c8cc$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ async requestRaw(info, data) {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else 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 */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $6177b7e72939c8cc$export$7a420d61f4599d58(msg);\n handleResult(undefined, res);\n });\n let socket;\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 || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\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 */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n async getAgentDispatcher(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n const proxyUrl = $4u31b.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (!useProxy) return undefined;\n return await this._getProxyAgentDispatcher(parsedUrl, proxyUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $f6VCT$https : $f6VCT$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $6177b7e72939c8cc$var$lowercaseKeys(this.requestOptions.headers), $6177b7e72939c8cc$var$lowercaseKeys(headers || {}));\n return $6177b7e72939c8cc$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $6177b7e72939c8cc$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $4u31b.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (!useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $f6VCT$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\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) tunnelAgent = overHttps ? $bbp3j.httpsOverHttps : $bbp3j.httpsOverHttp;\n else tunnelAgent = overHttps ? $bbp3j.httpOverHttps : $bbp3j.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if tunneling agent isn't assigned create a new agent\n if (!agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $f6VCT$https.Agent(options) : new $f6VCT$http.Agent(options);\n this._agent = agent;\n }\n if (usingSsl && this._ignoreSslError) // 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 return agent;\n }\n async _getProxyAgentDispatcher(parsedUrl, proxyUrl) {\n let proxyAgent;\n if (this._keepAlive) proxyAgent = this._proxyAgentDispatcher;\n // if agent is already assigned use that agent.\n if (proxyAgent) return proxyAgent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n // Lazy load ProxyAgent to avoid bundling all the undici\n const ProxyAgent = await (parcelRequire(\"akYED\"));\n proxyAgent = new ProxyAgent({\n uri: proxyUrl.href,\n pipelining: !this._keepAlive ? 0 : 1,\n ...(proxyUrl.username || proxyUrl.password) && {\n token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString(\"base64\")}`\n }\n });\n this._proxyAgentDispatcher = proxyAgent;\n if (usingSsl && this._ignoreSslError) // 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 proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, {\n rejectUnauthorized: false\n });\n return proxyAgent;\n }\n async _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min($6177b7e72939c8cc$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $6177b7e72939c8cc$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject)=>{\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $6177b7e72939c8cc$export$a5bc4a64e9e6804a.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\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) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $6177b7e72939c8cc$export$83d862a6bd4a93c5(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n });\n }\n}\nconst $6177b7e72939c8cc$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRegister(\"4u31b\", function(module, exports) {\n\n$parcel$export(module.exports, \"getProxyUrl\", () => $343c4e1df8cc02ad$export$5dee9601e91f0ebf);\nfunction $343c4e1df8cc02ad$export$5dee9601e91f0ebf(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($343c4e1df8cc02ad$export$6a0eb57449d8a380(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) try {\n return new $343c4e1df8cc02ad$var$DecodedURL(proxyVar);\n } catch {\n if (!proxyVar.startsWith(\"http://\") && !proxyVar.startsWith(\"https://\")) return new $343c4e1df8cc02ad$var$DecodedURL(`http://${proxyVar}`);\n }\n else return undefined;\n}\nfunction $343c4e1df8cc02ad$export$6a0eb57449d8a380(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($343c4e1df8cc02ad$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nfunction $343c4e1df8cc02ad$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\nclass $343c4e1df8cc02ad$var$DecodedURL extends URL {\n _decodedUsername;\n _decodedPassword;\n constructor(url, base){\n super(url, base);\n this._decodedUsername = decodeURIComponent(super.username);\n this._decodedPassword = decodeURIComponent(super.password);\n }\n get username() {\n return this._decodedUsername;\n }\n get password() {\n return this._decodedPassword;\n }\n}\n\n});\n\nparcelRegister(\"bbp3j\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"fNJ5J\"));\n\n});\nparcelRegister(\"fNJ5J\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $b80e68d5f6e6478f$export$25cbd437c61a3835, (v) => $b80e68d5f6e6478f$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $b80e68d5f6e6478f$export$c06e3df7111bae43, (v) => $b80e68d5f6e6478f$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $b80e68d5f6e6478f$export$5d50e36ef656139f, (v) => $b80e68d5f6e6478f$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $b80e68d5f6e6478f$export$212d6605025321cc, (v) => $b80e68d5f6e6478f$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $b80e68d5f6e6478f$export$1c9f709888824e05, (v) => $b80e68d5f6e6478f$export$1c9f709888824e05 = v);\nvar $b80e68d5f6e6478f$export$25cbd437c61a3835;\nvar $b80e68d5f6e6478f$export$c06e3df7111bae43;\nvar $b80e68d5f6e6478f$export$5d50e36ef656139f;\nvar $b80e68d5f6e6478f$export$212d6605025321cc;\nvar $b80e68d5f6e6478f$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$b80e68d5f6e6478f$export$25cbd437c61a3835 = $b80e68d5f6e6478f$var$httpOverHttp;\n$b80e68d5f6e6478f$export$c06e3df7111bae43 = $b80e68d5f6e6478f$var$httpsOverHttp;\n$b80e68d5f6e6478f$export$5d50e36ef656139f = $b80e68d5f6e6478f$var$httpOverHttps;\n$b80e68d5f6e6478f$export$212d6605025321cc = $b80e68d5f6e6478f$var$httpsOverHttps;\nfunction $b80e68d5f6e6478f$var$httpOverHttp(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $f6VCT$http.request;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$httpsOverHttp(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $f6VCT$http.request;\n agent.createSocket = $b80e68d5f6e6478f$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$httpOverHttps(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $f6VCT$https.request;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$httpsOverHttps(options) {\n var agent = new $b80e68d5f6e6478f$var$TunnelingAgent(options);\n agent.request = $f6VCT$https.request;\n agent.createSocket = $b80e68d5f6e6478f$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $b80e68d5f6e6478f$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $f6VCT$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $b80e68d5f6e6478f$var$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}\n$f6VCT$util.inherits($b80e68d5f6e6478f$var$TunnelingAgent, $f6VCT$events.EventEmitter);\n$b80e68d5f6e6478f$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $b80e68d5f6e6478f$var$mergeOptions({\n request: req\n }, self.options, $b80e68d5f6e6478f$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$b80e68d5f6e6478f$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $b80e68d5f6e6478f$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $b80e68d5f6e6478f$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $b80e68d5f6e6478f$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $b80e68d5f6e6478f$var$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 $b80e68d5f6e6478f$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $b80e68d5f6e6478f$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$b80e68d5f6e6478f$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $b80e68d5f6e6478f$var$createSecureSocket(options, cb) {\n var self = this;\n $b80e68d5f6e6478f$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $b80e68d5f6e6478f$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $f6VCT$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $b80e68d5f6e6478f$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $b80e68d5f6e6478f$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $b80e68d5f6e6478f$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $b80e68d5f6e6478f$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $b80e68d5f6e6478f$var$debug = function() {};\n$b80e68d5f6e6478f$export$1c9f709888824e05 = $b80e68d5f6e6478f$var$debug; // for test\n\n});\n\n\nparcelRegister(\"akYED\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./proxy-agent.5536f8bd.js\")).then(()=>parcelRequire(\"5IibL\"));\n\n});\n\n\nparcelRegister(\"xKNr1\", function(module, exports) {\n\"use strict\";\nvar $065761f5a1b0746f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $065761f5a1b0746f$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $065761f5a1b0746f$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $065761f5a1b0746f$var$BasicCredentialHandler;\nclass $065761f5a1b0746f$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $065761f5a1b0746f$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $065761f5a1b0746f$var$BearerCredentialHandler;\nclass $065761f5a1b0746f$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $065761f5a1b0746f$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $065761f5a1b0746f$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRegister(\"1mzjm\", function(module, exports) {\n\"use strict\";\nvar $0fe33c9fab33b83c$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $0fe33c9fab33b83c$var$access, appendFile: $0fe33c9fab33b83c$var$appendFile, writeFile: $0fe33c9fab33b83c$var$writeFile } = $f6VCT$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $0fe33c9fab33b83c$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $0fe33c9fab33b83c$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $0fe33c9fab33b83c$var$access(pathFromEnv, $f6VCT$fs.constants.R_OK | $f6VCT$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $0fe33c9fab33b83c$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $0fe33c9fab33b83c$var$writeFile : $0fe33c9fab33b83c$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $0fe33c9fab33b83c$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($f6VCT$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $0fe33c9fab33b83c$var$_summary = new $0fe33c9fab33b83c$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $0fe33c9fab33b83c$var$_summary;\nmodule.exports.summary = $0fe33c9fab33b83c$var$_summary;\n\n});\n\nparcelRegister(\"31rWp\", function(module, exports) {\n\"use strict\";\nvar $2337239708560dcc$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $2337239708560dcc$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $2337239708560dcc$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $2337239708560dcc$var$__createBinding(result, mod, k);\n }\n $2337239708560dcc$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $2337239708560dcc$var$path = $2337239708560dcc$var$__importStar($f6VCT$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $2337239708560dcc$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $2337239708560dcc$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $2337239708560dcc$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $2337239708560dcc$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $2337239708560dcc$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $2337239708560dcc$var$path.sep);\n}\nmodule.exports.toPlatformPath = $2337239708560dcc$var$toPlatformPath;\n\n});\n\n\n\nparcelRegister(\"ftrAD\", function(module, exports) {\nmodule.exports = $b43ef73900290537$var$isexe;\n$b43ef73900290537$var$isexe.sync = $b43ef73900290537$var$sync;\n\nfunction $b43ef73900290537$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $b43ef73900290537$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $b43ef73900290537$var$checkPathExt(path, options);\n}\nfunction $b43ef73900290537$var$isexe(path, options, cb) {\n $f6VCT$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $b43ef73900290537$var$checkStat(stat, path, options));\n });\n}\nfunction $b43ef73900290537$var$sync(path, options) {\n return $b43ef73900290537$var$checkStat($f6VCT$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRegister(\"9yF3I\", function(module, exports) {\nmodule.exports = $6f57237f32b1c8cb$var$isexe;\n$6f57237f32b1c8cb$var$isexe.sync = $6f57237f32b1c8cb$var$sync;\n\nfunction $6f57237f32b1c8cb$var$isexe(path, options, cb) {\n $f6VCT$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $6f57237f32b1c8cb$var$checkStat(stat, options));\n });\n}\nfunction $6f57237f32b1c8cb$var$sync(path, options) {\n return $6f57237f32b1c8cb$var$checkStat($f6VCT$fs.statSync(path), options);\n}\nfunction $6f57237f32b1c8cb$var$checkStat(stat, options) {\n return stat.isFile() && $6f57237f32b1c8cb$var$checkMode(stat, options);\n}\nfunction $6f57237f32b1c8cb$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRegister(\"bJALw\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRegister(\"6vN83\", function(module, exports) {\n\n$parcel$export(module.exports, \"chmod\", () => $eb066d933f605160$export$fe07cae62e774a05);\n$parcel$export(module.exports, \"lstat\", () => $eb066d933f605160$export$c29f07eab13966a4);\n$parcel$export(module.exports, \"mkdir\", () => $eb066d933f605160$export$d9fa9670717a639d);\n$parcel$export(module.exports, \"open\", () => $eb066d933f605160$export$3ce6949f20cea765);\n$parcel$export(module.exports, \"readdir\", () => $eb066d933f605160$export$b1e07c405f785337);\n$parcel$export(module.exports, \"readFile\", () => $eb066d933f605160$export$72c04af63de9061a);\n$parcel$export(module.exports, \"readlink\", () => $eb066d933f605160$export$3d3ca76659ee9f39);\n$parcel$export(module.exports, \"stat\", () => $eb066d933f605160$export$f82f04a91eb6144a);\n$parcel$export(module.exports, \"symlink\", () => $eb066d933f605160$export$ed42c6f39f07f97);\n$parcel$export(module.exports, \"utimes\", () => $eb066d933f605160$export$d85d919a687a608f);\n$parcel$export(module.exports, \"writeFile\", () => $eb066d933f605160$export$552bfb764b5cd2b4);\n$parcel$export(module.exports, \"rm\", () => $eb066d933f605160$export$a1f77f18af3aebd5);\n\n\nvar $eb066d933f605160$export$2e2bcd8739ae039 = $f6VCT$fs.promises;\nconst { access: $eb066d933f605160$export$9bb0e144ba4929ca, appendFile: $eb066d933f605160$export$31f54b44f813a103, chmod: $eb066d933f605160$export$fe07cae62e774a05, chown: $eb066d933f605160$export$86560bc0b866a003, copyFile: $eb066d933f605160$export$c763efb2c06e223f, lchmod: $eb066d933f605160$export$4d4374c7ea08c49f, lchown: $eb066d933f605160$export$b34a65c440b523a2, link: $eb066d933f605160$export$9c30223ca0a664fb, lstat: $eb066d933f605160$export$c29f07eab13966a4, mkdir: $eb066d933f605160$export$d9fa9670717a639d, mkdtemp: $eb066d933f605160$export$bb440dc863a3b46a, open: $eb066d933f605160$export$3ce6949f20cea765, readdir: $eb066d933f605160$export$b1e07c405f785337, readFile: $eb066d933f605160$export$72c04af63de9061a, readlink: $eb066d933f605160$export$3d3ca76659ee9f39, realpath: $eb066d933f605160$export$9f2c45015a422c45, rename: $eb066d933f605160$export$7ac989ec0c9c279, rmdir: $eb066d933f605160$export$3f660f6332b9a01d, stat: $eb066d933f605160$export$f82f04a91eb6144a, symlink: $eb066d933f605160$export$ed42c6f39f07f97, truncate: $eb066d933f605160$export$6a506b36fdea397d, unlink: $eb066d933f605160$export$5e0808041271ce04, utimes: $eb066d933f605160$export$d85d919a687a608f, writeFile: $eb066d933f605160$export$552bfb764b5cd2b4 } = $f6VCT$fs.promises;\nconst $eb066d933f605160$export$a1f77f18af3aebd5 = \"rm\" in $f6VCT$fs.promises ? $f6VCT$fs.promises.rm : (0, $f6VCT$util.promisify)($f6VCT$fs.unlink);\n\n});\n\nparcelRegister(\"h5DII\", function(module, exports) {\n\"use strict\";\n// eslint-disable-next-line no-empty-function\nmodule.exports = function() {};\n\n});\n\nparcelRegister(\"3PDBf\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var sign = Math.sign;\n if (typeof sign !== \"function\") return false;\n return sign(10) === 1 && sign(-20) === -1;\n};\n\n});\n\nparcelRegister(\"01ud6\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n value = Number(value);\n if (isNaN(value) || value === 0) return value;\n return value > 0 ? 1 : -1;\n};\n\n});\n\nparcelRegister(\"iGjce\", function(module, exports) {\n// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $d99b0a3944779ce7$var$bind = Function.prototype.bind, $d99b0a3944779ce7$var$call = Function.prototype.call, $d99b0a3944779ce7$var$keys = Object.keys, $d99b0a3944779ce7$var$objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;\nmodule.exports = function(method, defVal) {\n return function(obj, cb /*, thisArg, compareFn*/ ) {\n var list, thisArg = arguments[2], compareFn = arguments[3];\n obj = Object($gm8vF(obj));\n $czzoJ(cb);\n list = $d99b0a3944779ce7$var$keys(obj);\n if (compareFn) list.sort(typeof compareFn === \"function\" ? $d99b0a3944779ce7$var$bind.call(compareFn, obj) : undefined);\n if (typeof method !== \"function\") method = list[method];\n return $d99b0a3944779ce7$var$call.call(method, list, function(key, index) {\n if (!$d99b0a3944779ce7$var$objPropertyIsEnumerable.call(obj, key)) return defVal;\n return $d99b0a3944779ce7$var$call.call(cb, thisArg, obj[key], key, obj, index);\n });\n };\n};\n\n});\nparcelRegister(\"czzoJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(fn) {\n if (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n return fn;\n};\n\n});\n\nparcelRegister(\"gm8vF\", function(module, exports) {\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nmodule.exports = function(value) {\n if (!$cJ0vr(value)) throw new TypeError(\"Cannot use null or undefined\");\n return value;\n};\n\n});\nparcelRegister(\"cJ0vr\", function(module, exports) {\n\"use strict\";\n\nvar $943a147ddb4c2074$var$_undefined = (parcelRequire(\"h5DII\"))(); // Support ES3 engines\nmodule.exports = function(val) {\n return val !== $943a147ddb4c2074$var$_undefined && val !== null;\n};\n\n});\n\n\n\nparcelRegister(\"e4Lgg\", function(module, exports) {\n\"use strict\";\n\n});\n\nparcelRegister(\"jyCUJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var assign = Object.assign, obj;\n if (typeof assign !== \"function\") return false;\n obj = {\n foo: \"raz\"\n };\n assign(obj, {\n bar: \"dwa\"\n }, {\n trzy: \"trzy\"\n });\n return obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};\n\n});\n\nparcelRegister(\"1dJjv\", function(module, exports) {\n\"use strict\";\n\nvar $gK5RI = parcelRequire(\"gK5RI\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $0e3a27ad7160f8f4$var$max = Math.max;\nmodule.exports = function(dest, src /*, …srcn*/ ) {\n var error, i, length = $0e3a27ad7160f8f4$var$max(arguments.length, 2), assign;\n dest = Object($gm8vF(dest));\n assign = function(key) {\n try {\n dest[key] = src[key];\n } catch (e) {\n if (!error) error = e;\n }\n };\n for(i = 1; i < length; ++i){\n src = arguments[i];\n $gK5RI(src).forEach(assign);\n }\n if (error !== undefined) throw error;\n return dest;\n};\n\n});\nparcelRegister(\"gK5RI\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"jF45l\"))() ? Object.keys : (parcelRequire(\"4MK4A\"));\n\n});\nparcelRegister(\"jF45l\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n try {\n Object.keys(\"primitive\");\n return true;\n } catch (e) {\n return false;\n }\n};\n\n});\n\nparcelRegister(\"4MK4A\", function(module, exports) {\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $37bf6245ab0b7d00$var$keys = Object.keys;\nmodule.exports = function(object) {\n return $37bf6245ab0b7d00$var$keys($cJ0vr(object) ? Object(object) : object);\n};\n\n});\n\n\n\nparcelRegister(\"1733k\", function(module, exports) {\n\"use strict\";\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $0cf8d01d41e154fd$var$defineProperty = Object.defineProperty, $0cf8d01d41e154fd$var$getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, $0cf8d01d41e154fd$var$getOwnPropertyNames = Object.getOwnPropertyNames, $0cf8d01d41e154fd$var$getOwnPropertySymbols = Object.getOwnPropertySymbols;\nmodule.exports = function(target, source) {\n var error, sourceObject = Object($gm8vF(source));\n target = Object($gm8vF(target));\n $0cf8d01d41e154fd$var$getOwnPropertyNames(sourceObject).forEach(function(name) {\n try {\n $0cf8d01d41e154fd$var$defineProperty(target, name, $0cf8d01d41e154fd$var$getOwnPropertyDescriptor(source, name));\n } catch (e) {\n error = e;\n }\n });\n if (typeof $0cf8d01d41e154fd$var$getOwnPropertySymbols === \"function\") $0cf8d01d41e154fd$var$getOwnPropertySymbols(sourceObject).forEach(function(symbol) {\n try {\n $0cf8d01d41e154fd$var$defineProperty(target, symbol, $0cf8d01d41e154fd$var$getOwnPropertyDescriptor(source, symbol));\n } catch (e) {\n error = e;\n }\n });\n if (error !== undefined) throw error;\n return target;\n};\n\n});\n\nparcelRegister(\"j7soM\", function(module, exports) {\n\"use strict\";\nvar $deb4b3227f00775b$var$str = \"razdwatrzy\";\nmodule.exports = function() {\n if (typeof $deb4b3227f00775b$var$str.contains !== \"function\") return false;\n return $deb4b3227f00775b$var$str.contains(\"dwa\") === true && $deb4b3227f00775b$var$str.contains(\"foo\") === false;\n};\n\n});\n\nparcelRegister(\"78Sfc\", function(module, exports) {\n\"use strict\";\nvar $53335b832e6c44fb$var$indexOf = String.prototype.indexOf;\nmodule.exports = function(searchString /*, position*/ ) {\n return $53335b832e6c44fb$var$indexOf.call(this, searchString, arguments[1]) > -1;\n};\n\n});\n\nparcelRegister(\"9E9rT\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\nvar apply = Function.prototype.apply, call = Function.prototype.call, create = Object.create, defineProperty = Object.defineProperty, defineProperties = Object.defineProperties, hasOwnProperty = Object.prototype.hasOwnProperty, descriptor = {\n configurable: true,\n enumerable: false,\n writable: true\n}, on, once, off, emit, methods, descriptors, base;\non = function(type, listener) {\n var data;\n $czzoJ(listener);\n if (!hasOwnProperty.call(this, \"__ee__\")) {\n data = descriptor.value = create(null);\n defineProperty(this, \"__ee__\", descriptor);\n descriptor.value = null;\n } else data = this.__ee__;\n if (!data[type]) data[type] = listener;\n else if (typeof data[type] === \"object\") data[type].push(listener);\n else data[type] = [\n data[type],\n listener\n ];\n return this;\n};\nonce = function(type, listener) {\n var once, self;\n $czzoJ(listener);\n self = this;\n on.call(this, type, once = function() {\n off.call(self, type, once);\n apply.call(listener, this, arguments);\n });\n once.__eeOnceListener__ = listener;\n return this;\n};\noff = function(type, listener) {\n var data, listeners, candidate, i;\n $czzoJ(listener);\n if (!hasOwnProperty.call(this, \"__ee__\")) return this;\n data = this.__ee__;\n if (!data[type]) return this;\n listeners = data[type];\n if (typeof listeners === \"object\") {\n for(i = 0; candidate = listeners[i]; ++i)if (candidate === listener || candidate.__eeOnceListener__ === listener) {\n if (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n else listeners.splice(i, 1);\n }\n } else if (listeners === listener || listeners.__eeOnceListener__ === listener) delete data[type];\n return this;\n};\nemit = function(type) {\n var i, l, listener, listeners, args;\n if (!hasOwnProperty.call(this, \"__ee__\")) return;\n listeners = this.__ee__[type];\n if (!listeners) return;\n if (typeof listeners === \"object\") {\n l = arguments.length;\n args = new Array(l - 1);\n for(i = 1; i < l; ++i)args[i - 1] = arguments[i];\n listeners = listeners.slice();\n for(i = 0; listener = listeners[i]; ++i)apply.call(listener, this, args);\n } else switch(arguments.length){\n case 1:\n call.call(listeners, this);\n break;\n case 2:\n call.call(listeners, this, arguments[1]);\n break;\n case 3:\n call.call(listeners, this, arguments[1], arguments[2]);\n break;\n default:\n l = arguments.length;\n args = new Array(l - 1);\n for(i = 1; i < l; ++i)args[i - 1] = arguments[i];\n apply.call(listeners, this, args);\n }\n};\nmethods = {\n on: on,\n once: once,\n off: off,\n emit: emit\n};\ndescriptors = {\n on: $9xcfl(on),\n once: $9xcfl(once),\n off: $9xcfl(off),\n emit: $9xcfl(emit)\n};\nbase = defineProperties({}, descriptors);\nmodule.exports = exports = function(o) {\n return o == null ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n\n});\nparcelRegister(\"9xcfl\", function(module, exports) {\n\"use strict\";\n\nvar $6WFxD = parcelRequire(\"6WFxD\");\n\nvar $9ruXB = parcelRequire(\"9ruXB\");\n\nvar $kg6aw = parcelRequire(\"kg6aw\");\n\nvar $cgM1r = parcelRequire(\"cgM1r\");\n\nvar $2ynAk = parcelRequire(\"2ynAk\");\nvar $6f10b207cca0a5ef$var$d = module.exports = function(dscr, value /*, options*/ ) {\n var c, e, w, options, desc;\n if (arguments.length < 2 || typeof dscr !== \"string\") {\n options = value;\n value = dscr;\n dscr = null;\n } else options = arguments[2];\n if ($6WFxD(dscr)) {\n c = $2ynAk.call(dscr, \"c\");\n e = $2ynAk.call(dscr, \"e\");\n w = $2ynAk.call(dscr, \"w\");\n } else {\n c = w = true;\n e = false;\n }\n desc = {\n value: value,\n configurable: c,\n enumerable: e,\n writable: w\n };\n return !options ? desc : $kg6aw($cgM1r(options), desc);\n};\n$6f10b207cca0a5ef$var$d.gs = function(dscr, get, set /*, options*/ ) {\n var c, e, options, desc;\n if (typeof dscr !== \"string\") {\n options = set;\n set = get;\n get = dscr;\n dscr = null;\n } else options = arguments[3];\n if (!$6WFxD(get)) get = undefined;\n else if (!$9ruXB(get)) {\n options = get;\n get = set = undefined;\n } else if (!$6WFxD(set)) set = undefined;\n else if (!$9ruXB(set)) {\n options = set;\n set = undefined;\n }\n if ($6WFxD(dscr)) {\n c = $2ynAk.call(dscr, \"c\");\n e = $2ynAk.call(dscr, \"e\");\n } else {\n c = true;\n e = false;\n }\n desc = {\n get: get,\n set: set,\n configurable: c,\n enumerable: e\n };\n return !options ? desc : $kg6aw($cgM1r(options), desc);\n};\n\n});\nparcelRegister(\"6WFxD\", function(module, exports) {\n\"use strict\";\n// ES3 safe\nvar $50e862242dbb1bc5$var$_undefined = void 0;\nmodule.exports = function(value) {\n return value !== $50e862242dbb1bc5$var$_undefined && value !== null;\n};\n\n});\n\nparcelRegister(\"9ruXB\", function(module, exports) {\n\"use strict\";\n\nvar $ic21Z = parcelRequire(\"ic21Z\");\nvar $6dfea6c35d7604af$var$classRe = /^\\s*class[\\s{/}]/, $6dfea6c35d7604af$var$functionToString = Function.prototype.toString;\nmodule.exports = function(value) {\n if (!$ic21Z(value)) return false;\n if ($6dfea6c35d7604af$var$classRe.test($6dfea6c35d7604af$var$functionToString.call(value))) return false;\n return true;\n};\n\n});\nparcelRegister(\"ic21Z\", function(module, exports) {\n\"use strict\";\n\nvar $jYida = parcelRequire(\"jYida\");\nmodule.exports = function(value) {\n if (typeof value !== \"function\") return false;\n if (!hasOwnProperty.call(value, \"length\")) return false;\n try {\n if (typeof value.length !== \"number\") return false;\n if (typeof value.call !== \"function\") return false;\n if (typeof value.apply !== \"function\") return false;\n } catch (error) {\n return false;\n }\n return !$jYida(value);\n};\n\n});\nparcelRegister(\"jYida\", function(module, exports) {\n\"use strict\";\n\nvar $29Ioz = parcelRequire(\"29Ioz\");\nmodule.exports = function(value) {\n if (!$29Ioz(value)) return false;\n try {\n if (!value.constructor) return false;\n return value.constructor.prototype === value;\n } catch (error) {\n return false;\n }\n};\n\n});\nparcelRegister(\"29Ioz\", function(module, exports) {\n\"use strict\";\n\nvar $6WFxD = parcelRequire(\"6WFxD\");\n// prettier-ignore\nvar $191edbfd968e249f$var$possibleTypes = {\n \"object\": true,\n \"function\": true,\n \"undefined\": true\n};\nmodule.exports = function(value) {\n if (!$6WFxD(value)) return false;\n return hasOwnProperty.call($191edbfd968e249f$var$possibleTypes, typeof value);\n};\n\n});\n\n\n\n\nparcelRegister(\"kg6aw\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"jyCUJ\"))() ? Object.assign : (parcelRequire(\"1dJjv\"));\n\n});\n\nparcelRegister(\"cgM1r\", function(module, exports) {\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $8eec3ae510814b8a$var$forEach = Array.prototype.forEach, $8eec3ae510814b8a$var$create = Object.create;\nvar $8eec3ae510814b8a$var$process = function(src, obj) {\n var key;\n for(key in src)obj[key] = src[key];\n};\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function(opts1 /*, …options*/ ) {\n var result = $8eec3ae510814b8a$var$create(null);\n $8eec3ae510814b8a$var$forEach.call(arguments, function(options) {\n if (!$cJ0vr(options)) return;\n $8eec3ae510814b8a$var$process(Object(options), result);\n });\n return result;\n};\n\n});\n\nparcelRegister(\"2ynAk\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"j7soM\"))() ? String.prototype.contains : (parcelRequire(\"78Sfc\"));\n\n});\n\n\n\nparcelRegister(\"16yrb\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var from = Array.from, arr, result;\n if (typeof from !== \"function\") return false;\n arr = [\n \"raz\",\n \"dwa\"\n ];\n result = from(arr);\n return Boolean(result && result !== arr && result[1] === \"dwa\");\n};\n\n});\n\nparcelRegister(\"76jlv\", function(module, exports) {\n\"use strict\";\n\nvar $7VWWn = parcelRequire(\"7VWWn\");\nvar $52b8199fda83e8fc$require$iteratorSymbol = $7VWWn.iterator;\n\nvar $aRDzb = parcelRequire(\"aRDzb\");\n\nvar $dfN19 = parcelRequire(\"dfN19\");\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\n\nvar $96dkr = parcelRequire(\"96dkr\");\nvar $52b8199fda83e8fc$var$isArray = Array.isArray, $52b8199fda83e8fc$var$call = Function.prototype.call, $52b8199fda83e8fc$var$desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: null\n}, $52b8199fda83e8fc$var$defineProperty = Object.defineProperty;\n// eslint-disable-next-line complexity, max-lines-per-function\nmodule.exports = function(arrayLike /*, mapFn, thisArg*/ ) {\n var mapFn = arguments[1], thisArg = arguments[2], Context, i, j, arr, length, code, iterator, result, getIterator, value;\n arrayLike = Object($gm8vF(arrayLike));\n if ($cJ0vr(mapFn)) $czzoJ(mapFn);\n if (!this || this === Array || !$dfN19(this)) {\n // Result: Plain array\n if (!mapFn) {\n if ($aRDzb(arrayLike)) {\n // Source: Arguments\n length = arrayLike.length;\n if (length !== 1) return Array.apply(null, arrayLike);\n arr = new Array(1);\n arr[0] = arrayLike[0];\n return arr;\n }\n if ($52b8199fda83e8fc$var$isArray(arrayLike)) {\n // Source: Array\n arr = new Array(length = arrayLike.length);\n for(i = 0; i < length; ++i)arr[i] = arrayLike[i];\n return arr;\n }\n }\n arr = [];\n } else // Result: Non plain array\n Context = this;\n if (!$52b8199fda83e8fc$var$isArray(arrayLike)) {\n if ((getIterator = arrayLike[$52b8199fda83e8fc$require$iteratorSymbol]) !== undefined) {\n // Source: Iterator\n iterator = $czzoJ(getIterator).call(arrayLike);\n if (Context) arr = new Context();\n result = iterator.next();\n i = 0;\n while(!result.done){\n value = mapFn ? $52b8199fda83e8fc$var$call.call(mapFn, thisArg, result.value, i) : result.value;\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = value;\n $52b8199fda83e8fc$var$defineProperty(arr, i, $52b8199fda83e8fc$var$desc);\n } else arr[i] = value;\n result = iterator.next();\n ++i;\n }\n length = i;\n } else if ($96dkr(arrayLike)) {\n // Source: String\n length = arrayLike.length;\n if (Context) arr = new Context();\n for(i = 0, j = 0; i < length; ++i){\n value = arrayLike[i];\n if (i + 1 < length) {\n code = value.charCodeAt(0);\n // eslint-disable-next-line max-depth\n if (code >= 0xd800 && code <= 0xdbff) value += arrayLike[++i];\n }\n value = mapFn ? $52b8199fda83e8fc$var$call.call(mapFn, thisArg, value, j) : value;\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = value;\n $52b8199fda83e8fc$var$defineProperty(arr, j, $52b8199fda83e8fc$var$desc);\n } else arr[j] = value;\n ++j;\n }\n length = j;\n }\n }\n if (length === undefined) {\n // Source: array or array-like\n length = $lFuzu(arrayLike.length);\n if (Context) arr = new Context(length);\n for(i = 0; i < length; ++i){\n value = mapFn ? $52b8199fda83e8fc$var$call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = value;\n $52b8199fda83e8fc$var$defineProperty(arr, i, $52b8199fda83e8fc$var$desc);\n } else arr[i] = value;\n }\n }\n if (Context) {\n $52b8199fda83e8fc$var$desc.value = null;\n arr.length = length;\n }\n return arr;\n};\n\n});\nparcelRegister(\"7VWWn\", function(module, exports) {\n\"use strict\";\n\n\n\nmodule.exports = (parcelRequire(\"jVPv5\"))() ? (parcelRequire(\"cuWno\")).Symbol : (parcelRequire(\"9Pvgk\"));\n\n});\nparcelRegister(\"jVPv5\", function(module, exports) {\n\"use strict\";\n\nvar $cuWno = parcelRequire(\"cuWno\");\nvar $e82b4a1f90a382ca$var$validTypes = {\n object: true,\n symbol: true\n};\nmodule.exports = function() {\n var Symbol = $cuWno.Symbol;\n var symbol;\n if (typeof Symbol !== \"function\") return false;\n symbol = Symbol(\"test symbol\");\n try {\n String(symbol);\n } catch (e) {\n return false;\n }\n // Return 'true' also for polyfills\n if (!$e82b4a1f90a382ca$var$validTypes[typeof Symbol.iterator]) return false;\n if (!$e82b4a1f90a382ca$var$validTypes[typeof Symbol.toPrimitive]) return false;\n if (!$e82b4a1f90a382ca$var$validTypes[typeof Symbol.toStringTag]) return false;\n return true;\n};\n\n});\nparcelRegister(\"cuWno\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"jRf15\"))() ? globalThis : (parcelRequire(\"0DgUa\"));\n\n});\nparcelRegister(\"jRf15\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n if (typeof globalThis !== \"object\") return false;\n if (!globalThis) return false;\n return globalThis.Array === Array;\n};\n\n});\n\nparcelRegister(\"0DgUa\", function(module, exports) {\nvar $001e76bc54e98c25$var$naiveFallback = function() {\n if (typeof self === \"object\" && self) return self;\n if (typeof window === \"object\" && window) return window;\n throw new Error(\"Unable to resolve global `this`\");\n};\nmodule.exports = function() {\n if (this) return this;\n // Unexpected strict mode (may happen if e.g. bundled into ESM module)\n // Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n // In all ES5+ engines global object inherits from Object.prototype\n // (if you approached one that doesn't please report)\n try {\n Object.defineProperty(Object.prototype, \"__global__\", {\n get: function() {\n return this;\n },\n configurable: true\n });\n } catch (error) {\n // Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n return $001e76bc54e98c25$var$naiveFallback();\n }\n try {\n // Safari case (window.__global__ is resolved with global context, but __global__ does not)\n if (!__global__) return $001e76bc54e98c25$var$naiveFallback();\n return __global__;\n } finally{\n delete Object.prototype.__global__;\n }\n}();\n\n});\n\n\n\nparcelRegister(\"9Pvgk\", function(module, exports) {\n// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $i6cH8 = parcelRequire(\"i6cH8\");\n\nvar $cuWno = parcelRequire(\"cuWno\");\nvar $7281208e0e46264a$require$NativeSymbol = $cuWno.Symbol;\n\nvar $cRR41 = parcelRequire(\"cRR41\");\n\nvar $hIvqG = parcelRequire(\"hIvqG\");\n\nvar $6Fh4Q = parcelRequire(\"6Fh4Q\");\nvar $7281208e0e46264a$var$create = Object.create, $7281208e0e46264a$var$defineProperties = Object.defineProperties, $7281208e0e46264a$var$defineProperty = Object.defineProperty;\nvar $7281208e0e46264a$var$SymbolPolyfill, $7281208e0e46264a$var$HiddenSymbol, $7281208e0e46264a$var$isNativeSafe;\nif (typeof $7281208e0e46264a$require$NativeSymbol === \"function\") try {\n String($7281208e0e46264a$require$NativeSymbol());\n $7281208e0e46264a$var$isNativeSafe = true;\n} catch (ignore) {}\nelse $7281208e0e46264a$require$NativeSymbol = null;\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\n$7281208e0e46264a$var$HiddenSymbol = function Symbol(description) {\n if (this instanceof $7281208e0e46264a$var$HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n return $7281208e0e46264a$var$SymbolPolyfill(description);\n};\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = $7281208e0e46264a$var$SymbolPolyfill = function Symbol(description) {\n var symbol;\n if (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n if ($7281208e0e46264a$var$isNativeSafe) return $7281208e0e46264a$require$NativeSymbol(description);\n symbol = $7281208e0e46264a$var$create($7281208e0e46264a$var$HiddenSymbol.prototype);\n description = description === undefined ? \"\" : String(description);\n return $7281208e0e46264a$var$defineProperties(symbol, {\n __description__: $9xcfl(\"\", description),\n __name__: $9xcfl(\"\", $cRR41(description))\n });\n};\n$hIvqG($7281208e0e46264a$var$SymbolPolyfill);\n$6Fh4Q($7281208e0e46264a$var$SymbolPolyfill);\n// Internal tweaks for real symbol producer\n$7281208e0e46264a$var$defineProperties($7281208e0e46264a$var$HiddenSymbol.prototype, {\n constructor: $9xcfl($7281208e0e46264a$var$SymbolPolyfill),\n toString: $9xcfl(\"\", function() {\n return this.__name__;\n })\n});\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\n$7281208e0e46264a$var$defineProperties($7281208e0e46264a$var$SymbolPolyfill.prototype, {\n toString: $9xcfl(function() {\n return \"Symbol (\" + $i6cH8(this).__description__ + \")\";\n }),\n valueOf: $9xcfl(function() {\n return $i6cH8(this);\n })\n});\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$SymbolPolyfill.prototype, $7281208e0e46264a$var$SymbolPolyfill.toPrimitive, $9xcfl(\"\", function() {\n var symbol = $i6cH8(this);\n if (typeof symbol === \"symbol\") return symbol;\n return symbol.toString();\n}));\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$SymbolPolyfill.prototype, $7281208e0e46264a$var$SymbolPolyfill.toStringTag, $9xcfl(\"c\", \"Symbol\"));\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$HiddenSymbol.prototype, $7281208e0e46264a$var$SymbolPolyfill.toStringTag, $9xcfl(\"c\", $7281208e0e46264a$var$SymbolPolyfill.prototype[$7281208e0e46264a$var$SymbolPolyfill.toStringTag]));\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\n$7281208e0e46264a$var$defineProperty($7281208e0e46264a$var$HiddenSymbol.prototype, $7281208e0e46264a$var$SymbolPolyfill.toPrimitive, $9xcfl(\"c\", $7281208e0e46264a$var$SymbolPolyfill.prototype[$7281208e0e46264a$var$SymbolPolyfill.toPrimitive]));\n\n});\nparcelRegister(\"i6cH8\", function(module, exports) {\n\"use strict\";\n\nvar $jKzLn = parcelRequire(\"jKzLn\");\nmodule.exports = function(value) {\n if (!$jKzLn(value)) throw new TypeError(value + \" is not a symbol\");\n return value;\n};\n\n});\nparcelRegister(\"jKzLn\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n if (!value) return false;\n if (typeof value === \"symbol\") return true;\n if (!value.constructor) return false;\n if (value.constructor.name !== \"Symbol\") return false;\n return value[value.constructor.toStringTag] === \"Symbol\";\n};\n\n});\n\n\nparcelRegister(\"cRR41\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\nvar $95e398a356a19cc3$var$create = Object.create, $95e398a356a19cc3$var$defineProperty = Object.defineProperty, $95e398a356a19cc3$var$objPrototype = Object.prototype;\nvar $95e398a356a19cc3$var$created = $95e398a356a19cc3$var$create(null);\nmodule.exports = function(desc) {\n var postfix = 0, name, ie11BugWorkaround;\n while($95e398a356a19cc3$var$created[desc + (postfix || \"\")])++postfix;\n desc += postfix || \"\";\n $95e398a356a19cc3$var$created[desc] = true;\n name = \"@@\" + desc;\n $95e398a356a19cc3$var$defineProperty($95e398a356a19cc3$var$objPrototype, name, $9xcfl.gs(null, function(value) {\n // For IE11 issue see:\n // https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n // ie11-broken-getters-on-dom-objects\n // https://github.com/medikoo/es6-symbol/issues/12\n if (ie11BugWorkaround) return;\n ie11BugWorkaround = true;\n $95e398a356a19cc3$var$defineProperty(this, name, $9xcfl(value));\n ie11BugWorkaround = false;\n }));\n return name;\n};\n\n});\n\nparcelRegister(\"hIvqG\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $cuWno = parcelRequire(\"cuWno\");\nvar $ce5eecf05dede3e2$require$NativeSymbol = $cuWno.Symbol;\nmodule.exports = function(SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n // To ensure proper interoperability with other native functions (e.g. Array.from)\n // fallback to eventual native implementation of given symbol\n hasInstance: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.hasInstance || SymbolPolyfill(\"hasInstance\")),\n isConcatSpreadable: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.isConcatSpreadable || SymbolPolyfill(\"isConcatSpreadable\")),\n iterator: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.iterator || SymbolPolyfill(\"iterator\")),\n match: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.match || SymbolPolyfill(\"match\")),\n replace: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.replace || SymbolPolyfill(\"replace\")),\n search: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.search || SymbolPolyfill(\"search\")),\n species: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.species || SymbolPolyfill(\"species\")),\n split: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.split || SymbolPolyfill(\"split\")),\n toPrimitive: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.toPrimitive || SymbolPolyfill(\"toPrimitive\")),\n toStringTag: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.toStringTag || SymbolPolyfill(\"toStringTag\")),\n unscopables: $9xcfl(\"\", $ce5eecf05dede3e2$require$NativeSymbol && $ce5eecf05dede3e2$require$NativeSymbol.unscopables || SymbolPolyfill(\"unscopables\"))\n });\n};\n\n});\n\nparcelRegister(\"6Fh4Q\", function(module, exports) {\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $i6cH8 = parcelRequire(\"i6cH8\");\nvar $4da3d192d1a33203$var$registry = Object.create(null);\nmodule.exports = function(SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n for: $9xcfl(function(key) {\n if ($4da3d192d1a33203$var$registry[key]) return $4da3d192d1a33203$var$registry[key];\n return $4da3d192d1a33203$var$registry[key] = SymbolPolyfill(String(key));\n }),\n keyFor: $9xcfl(function(symbol) {\n var key;\n $i6cH8(symbol);\n for(key in $4da3d192d1a33203$var$registry){\n if ($4da3d192d1a33203$var$registry[key] === symbol) return key;\n }\n return undefined;\n })\n });\n};\n\n});\n\n\n\nparcelRegister(\"aRDzb\", function(module, exports) {\n\"use strict\";\nvar $7e8d8bae0edd28fb$var$objToString = Object.prototype.toString, $7e8d8bae0edd28fb$var$id = $7e8d8bae0edd28fb$var$objToString.call(function() {\n return arguments;\n}());\nmodule.exports = function(value) {\n return $7e8d8bae0edd28fb$var$objToString.call(value) === $7e8d8bae0edd28fb$var$id;\n};\n\n});\n\nparcelRegister(\"dfN19\", function(module, exports) {\n\"use strict\";\nvar $9a62b2f50273b006$var$objToString = Object.prototype.toString, $9a62b2f50273b006$var$isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);\nmodule.exports = function(value) {\n return typeof value === \"function\" && $9a62b2f50273b006$var$isFunctionStringTag($9a62b2f50273b006$var$objToString.call(value));\n};\n\n});\n\nparcelRegister(\"lFuzu\", function(module, exports) {\n\"use strict\";\n\nvar $5c2FR = parcelRequire(\"5c2FR\");\nvar $fc6524276037fd96$var$max = Math.max;\nmodule.exports = function(value) {\n return $fc6524276037fd96$var$max(0, $5c2FR(value));\n};\n\n});\nparcelRegister(\"5c2FR\", function(module, exports) {\n\"use strict\";\n\nvar $k2sGI = parcelRequire(\"k2sGI\");\nvar $3c8025c3af25ffef$var$abs = Math.abs, $3c8025c3af25ffef$var$floor = Math.floor;\nmodule.exports = function(value) {\n if (isNaN(value)) return 0;\n value = Number(value);\n if (value === 0 || !isFinite(value)) return value;\n return $k2sGI(value) * $3c8025c3af25ffef$var$floor($3c8025c3af25ffef$var$abs(value));\n};\n\n});\nparcelRegister(\"k2sGI\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"3PDBf\"))() ? Math.sign : (parcelRequire(\"01ud6\"));\n\n});\n\n\n\nparcelRegister(\"96dkr\", function(module, exports) {\n\"use strict\";\nvar $69ff0362d4afad31$var$objToString = Object.prototype.toString, $69ff0362d4afad31$var$id = $69ff0362d4afad31$var$objToString.call(\"\");\nmodule.exports = function(value) {\n return typeof value === \"string\" || value && typeof value === \"object\" && (value instanceof String || $69ff0362d4afad31$var$objToString.call(value) === $69ff0362d4afad31$var$id) || false;\n};\n\n});\n\n\nparcelRegister(\"2aBcN\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(args) {\n var id, i, length = args.length;\n if (!length) return \"\\x02\";\n id = String(args[i = 0]);\n while(--length)id += \"\\x01\" + args[++i];\n return id;\n};\n\n});\n\nparcelRegister(\"hAul9\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(length) {\n if (!length) return function() {\n return \"\";\n };\n return function(args) {\n var id = String(args[0]), i = 0, currentLength = length;\n while(--currentLength)id += \"\\x01\" + args[++i];\n return id;\n };\n};\n\n});\n\nparcelRegister(\"7BD8r\", function(module, exports) {\n/* eslint max-statements: 0 */ \"use strict\";\n\nvar $dlgZx = parcelRequire(\"dlgZx\");\nvar $589a58844417ebf7$var$create = Object.create;\nmodule.exports = function() {\n var lastId = 0, map = [], cache = $589a58844417ebf7$var$create(null);\n return {\n get: function(args) {\n var index = 0, set = map, i, length = args.length;\n if (length === 0) return set[length] || null;\n if (set = set[length]) {\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n return set[1][i] || null;\n }\n return null;\n },\n set: function(args) {\n var index = 0, set = map, i, length = args.length;\n if (length === 0) set[length] = ++lastId;\n else {\n if (!set[length]) set[length] = [\n [],\n []\n ];\n set = set[length];\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) {\n i = set[0].push(args[index]) - 1;\n set[1].push([\n [],\n []\n ]);\n }\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) i = set[0].push(args[index]) - 1;\n set[1][i] = ++lastId;\n }\n cache[lastId] = args;\n return lastId;\n },\n delete: function(id) {\n var index = 0, set = map, i, args = cache[id], length = args.length, path = [];\n if (length === 0) delete set[length];\n else if (set = set[length]) {\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n path.push(set, i);\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n id = set[1][i];\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n while(!set[0].length && path.length){\n i = path.pop();\n set = path.pop();\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n }\n }\n delete cache[id];\n },\n clear: function() {\n map = [];\n cache = $589a58844417ebf7$var$create(null);\n }\n };\n};\n\n});\nparcelRegister(\"dlgZx\", function(module, exports) {\n\"use strict\";\n\nvar $3Fikq = parcelRequire(\"3Fikq\");\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\nvar $9b6a6ab75478356d$var$indexOf = Array.prototype.indexOf, $9b6a6ab75478356d$var$objHasOwnProperty = Object.prototype.hasOwnProperty, $9b6a6ab75478356d$var$abs = Math.abs, $9b6a6ab75478356d$var$floor = Math.floor;\nmodule.exports = function(searchElement /*, fromIndex*/ ) {\n var i, length, fromIndex, val;\n if (!$3Fikq(searchElement)) return $9b6a6ab75478356d$var$indexOf.apply(this, arguments);\n length = $lFuzu($gm8vF(this).length);\n fromIndex = arguments[1];\n if (isNaN(fromIndex)) fromIndex = 0;\n else if (fromIndex >= 0) fromIndex = $9b6a6ab75478356d$var$floor(fromIndex);\n else fromIndex = $lFuzu(this.length) - $9b6a6ab75478356d$var$floor($9b6a6ab75478356d$var$abs(fromIndex));\n for(i = fromIndex; i < length; ++i)if ($9b6a6ab75478356d$var$objHasOwnProperty.call(this, i)) {\n val = this[i];\n if ($3Fikq(val)) return i; // Jslint: ignore\n }\n return -1;\n};\n\n});\nparcelRegister(\"3Fikq\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"e4HH5\"))() ? Number.isNaN : (parcelRequire(\"d2BiD\"));\n\n});\nparcelRegister(\"e4HH5\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var numberIsNaN = Number.isNaN;\n if (typeof numberIsNaN !== \"function\") return false;\n return !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);\n};\n\n});\n\nparcelRegister(\"d2BiD\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n // eslint-disable-next-line no-self-compare\n return value !== value;\n};\n\n});\n\n\n\n\nparcelRegister(\"61N6r\", function(module, exports) {\n\"use strict\";\n\nvar $dlgZx = parcelRequire(\"dlgZx\");\nmodule.exports = function() {\n var lastId = 0, argsMap = [], cache = [];\n return {\n get: function(args) {\n var index = $dlgZx.call(argsMap, args[0]);\n return index === -1 ? null : cache[index];\n },\n set: function(args) {\n argsMap.push(args[0]);\n cache.push(++lastId);\n return lastId;\n },\n delete: function(id) {\n var index = $dlgZx.call(cache, id);\n if (index !== -1) {\n argsMap.splice(index, 1);\n cache.splice(index, 1);\n }\n },\n clear: function() {\n argsMap = [];\n cache = [];\n }\n };\n};\n\n});\n\nparcelRegister(\"hqtiJ\", function(module, exports) {\n\"use strict\";\n\nvar $dlgZx = parcelRequire(\"dlgZx\");\nvar $cafb97f94e00f4c5$var$create = Object.create;\nmodule.exports = function(length) {\n var lastId = 0, map = [\n [],\n []\n ], cache = $cafb97f94e00f4c5$var$create(null);\n return {\n get: function(args) {\n var index = 0, set = map, i;\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return null;\n return set[1][i] || null;\n },\n set: function(args) {\n var index = 0, set = map, i;\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) {\n i = set[0].push(args[index]) - 1;\n set[1].push([\n [],\n []\n ]);\n }\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) i = set[0].push(args[index]) - 1;\n set[1][i] = ++lastId;\n cache[lastId] = args;\n return lastId;\n },\n delete: function(id) {\n var index = 0, set = map, i, path = [], args = cache[id];\n while(index < length - 1){\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n path.push(set, i);\n set = set[1][i];\n ++index;\n }\n i = $dlgZx.call(set[0], args[index]);\n if (i === -1) return;\n id = set[1][i];\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n while(!set[0].length && path.length){\n i = path.pop();\n set = path.pop();\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n }\n delete cache[id];\n },\n clear: function() {\n map = [\n [],\n []\n ];\n cache = $cafb97f94e00f4c5$var$create(null);\n }\n };\n};\n\n});\n\nparcelRegister(\"a24EK\", function(module, exports) {\n/* eslint consistent-this: 0, no-shadow:0, no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */ // Support for asynchronous functions\n\"use strict\";\n\nvar $lCzSe = parcelRequire(\"lCzSe\");\n\nvar $5LmI7 = parcelRequire(\"5LmI7\");\n\nvar $1733k = parcelRequire(\"1733k\");\n\nvar $2c0jI = parcelRequire(\"2c0jI\");\n\nvar $aDo18 = parcelRequire(\"aDo18\");\nvar $74ddb3eaa27c1eb8$var$slice = Array.prototype.slice, $74ddb3eaa27c1eb8$var$apply = Function.prototype.apply, $74ddb3eaa27c1eb8$var$create = Object.create;\n\n(parcelRequire(\"e4Lgg\")).async = function(tbi, conf) {\n var waiting = $74ddb3eaa27c1eb8$var$create(null), cache = $74ddb3eaa27c1eb8$var$create(null), base = conf.memoized, original = conf.original, currentCallback, currentContext, currentArgs;\n // Initial\n conf.memoized = $2c0jI(function(arg) {\n var args = arguments, last = args[args.length - 1];\n if (typeof last === \"function\") {\n currentCallback = last;\n args = $74ddb3eaa27c1eb8$var$slice.call(args, 0, -1);\n }\n return base.apply(currentContext = this, currentArgs = args);\n }, base);\n try {\n $1733k(conf.memoized, base);\n } catch (ignore) {}\n // From cache (sync)\n conf.on(\"get\", function(id) {\n var cb, context, args;\n if (!currentCallback) return;\n // Unresolved\n if (waiting[id]) {\n if (typeof waiting[id] === \"function\") waiting[id] = [\n waiting[id],\n currentCallback\n ];\n else waiting[id].push(currentCallback);\n currentCallback = null;\n return;\n }\n // Resolved, assure next tick invocation\n cb = currentCallback;\n context = currentContext;\n args = currentArgs;\n currentCallback = currentContext = currentArgs = null;\n $aDo18(function() {\n var data;\n if (hasOwnProperty.call(cache, id)) {\n data = cache[id];\n conf.emit(\"getasync\", id, args, context);\n $74ddb3eaa27c1eb8$var$apply.call(cb, data.context, data.args);\n } else {\n // Purged in a meantime, we shouldn't rely on cached value, recall\n currentCallback = cb;\n currentContext = context;\n currentArgs = args;\n base.apply(context, args);\n }\n });\n });\n // Not from cache\n conf.original = function() {\n var args, cb, origCb, result;\n if (!currentCallback) return $74ddb3eaa27c1eb8$var$apply.call(original, this, arguments);\n args = $lCzSe(arguments);\n cb = function self(err) {\n var cb, args, id = self.id;\n if (id == null) {\n // Shouldn't happen, means async callback was called sync way\n $aDo18($74ddb3eaa27c1eb8$var$apply.bind(self, this, arguments));\n return undefined;\n }\n delete self.id;\n cb = waiting[id];\n delete waiting[id];\n if (!cb) // Already processed,\n // outcome of race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n return undefined;\n args = $lCzSe(arguments);\n if (conf.has(id)) {\n if (err) conf.delete(id);\n else {\n cache[id] = {\n context: this,\n args: args\n };\n conf.emit(\"setasync\", id, typeof cb === \"function\" ? 1 : cb.length);\n }\n }\n if (typeof cb === \"function\") result = $74ddb3eaa27c1eb8$var$apply.call(cb, this, args);\n else cb.forEach(function(cb) {\n result = $74ddb3eaa27c1eb8$var$apply.call(cb, this, args);\n }, this);\n return result;\n };\n origCb = currentCallback;\n currentCallback = currentContext = currentArgs = null;\n args.push(cb);\n result = $74ddb3eaa27c1eb8$var$apply.call(original, this, args);\n cb.cb = origCb;\n currentCallback = cb;\n return result;\n };\n // After not from cache call\n conf.on(\"set\", function(id) {\n if (!currentCallback) {\n conf.delete(id);\n return;\n }\n if (waiting[id]) {\n // Race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n if (typeof waiting[id] === \"function\") waiting[id] = [\n waiting[id],\n currentCallback.cb\n ];\n else waiting[id].push(currentCallback.cb);\n } else waiting[id] = currentCallback.cb;\n delete currentCallback.cb;\n currentCallback.id = id;\n currentCallback = null;\n });\n // On delete\n conf.on(\"delete\", function(id) {\n var result;\n // If false, we don't have value yet, so we assume that intention is not\n // to memoize this call. After value is obtained we don't cache it but\n // gracefully pass to callback\n if (hasOwnProperty.call(waiting, id)) return;\n if (!cache[id]) return;\n result = cache[id];\n delete cache[id];\n conf.emit(\"deleteasync\", id, $74ddb3eaa27c1eb8$var$slice.call(result.args, 1));\n });\n // On clear\n conf.on(\"clear\", function() {\n var oldCache = cache;\n cache = $74ddb3eaa27c1eb8$var$create(null);\n conf.emit(\"clearasync\", $5LmI7(oldCache, function(data) {\n return $74ddb3eaa27c1eb8$var$slice.call(data.args, 1);\n }));\n });\n};\n\n});\nparcelRegister(\"lCzSe\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"16yrb\"))() ? Array.from : (parcelRequire(\"76jlv\"));\n\n});\n\nparcelRegister(\"5LmI7\", function(module, exports) {\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\nvar $4322f56461ca3671$var$call = Function.prototype.call;\nmodule.exports = function(obj, cb /*, thisArg*/ ) {\n var result = {}, thisArg = arguments[2];\n $czzoJ(cb);\n $8KFbm(obj, function(value, key, targetObj, index) {\n result[key] = $4322f56461ca3671$var$call.call(cb, thisArg, value, key, targetObj, index);\n });\n return result;\n};\n\n});\nparcelRegister(\"8KFbm\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"iGjce\"))(\"forEach\");\n\n});\n\n\nparcelRegister(\"2c0jI\", function(module, exports) {\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\nvar $198cf2b2acd3bca6$var$test = function(arg1, arg2) {\n return arg2;\n};\nvar $198cf2b2acd3bca6$var$desc, $198cf2b2acd3bca6$var$defineProperty, $198cf2b2acd3bca6$var$generate, $198cf2b2acd3bca6$var$mixin;\ntry {\n Object.defineProperty($198cf2b2acd3bca6$var$test, \"length\", {\n configurable: true,\n writable: false,\n enumerable: false,\n value: 1\n });\n} catch (ignore) {}\n\nif ($198cf2b2acd3bca6$var$test.length === 1) {\n // ES6\n $198cf2b2acd3bca6$var$desc = {\n configurable: true,\n writable: false,\n enumerable: false\n };\n $198cf2b2acd3bca6$var$defineProperty = Object.defineProperty;\n module.exports = function(fn, length) {\n length = $lFuzu(length);\n if (fn.length === length) return fn;\n $198cf2b2acd3bca6$var$desc.value = length;\n return $198cf2b2acd3bca6$var$defineProperty(fn, \"length\", $198cf2b2acd3bca6$var$desc);\n };\n} else {\n $198cf2b2acd3bca6$var$mixin = (parcelRequire(\"1733k\"));\n $198cf2b2acd3bca6$var$generate = function() {\n var cache = [];\n return function(length) {\n var args, i = 0;\n if (cache[length]) return cache[length];\n args = [];\n while(length--)args.push(\"a\" + (++i).toString(36));\n // eslint-disable-next-line no-new-func\n return new Function(\"fn\", \"return function (\" + args.join(\", \") + \") { return fn.apply(this, arguments); };\");\n };\n }();\n module.exports = function(src, length) {\n var target;\n length = $lFuzu(length);\n if (src.length === length) return src;\n target = $198cf2b2acd3bca6$var$generate(length)(src);\n try {\n $198cf2b2acd3bca6$var$mixin(target, src);\n } catch (ignore) {}\n return target;\n };\n}\n\n});\n\nparcelRegister(\"aDo18\", function(module, exports) {\n\"use strict\";\nvar $7be02d3ac8a37e49$var$ensureCallable = function(fn) {\n if (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n return fn;\n};\nvar $7be02d3ac8a37e49$var$byObserver = function(Observer) {\n var node = document.createTextNode(\"\"), queue, currentQueue, i = 0;\n new Observer(function() {\n var callback;\n if (!queue) {\n if (!currentQueue) return;\n queue = currentQueue;\n } else if (currentQueue) queue = currentQueue.concat(queue);\n currentQueue = queue;\n queue = null;\n if (typeof currentQueue === \"function\") {\n callback = currentQueue;\n currentQueue = null;\n callback();\n return;\n }\n node.data = i = ++i % 2; // Invoke other batch, to handle leftover callbacks in case of crash\n while(currentQueue){\n callback = currentQueue.shift();\n if (!currentQueue.length) currentQueue = null;\n callback();\n }\n }).observe(node, {\n characterData: true\n });\n return function(fn) {\n $7be02d3ac8a37e49$var$ensureCallable(fn);\n if (queue) {\n if (typeof queue === \"function\") queue = [\n queue,\n fn\n ];\n else queue.push(fn);\n return;\n }\n queue = fn;\n node.data = i = ++i % 2;\n };\n};\nmodule.exports = function() {\n // Node.js\n if (typeof process === \"object\" && process && typeof process.nextTick === \"function\") return process.nextTick;\n // queueMicrotask\n if (typeof queueMicrotask === \"function\") return function(cb) {\n queueMicrotask($7be02d3ac8a37e49$var$ensureCallable(cb));\n };\n // MutationObserver\n if (typeof document === \"object\" && document) {\n if (typeof MutationObserver === \"function\") return $7be02d3ac8a37e49$var$byObserver(MutationObserver);\n if (typeof WebKitMutationObserver === \"function\") return $7be02d3ac8a37e49$var$byObserver(WebKitMutationObserver);\n }\n // W3C Draft\n // http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n if (typeof setImmediate === \"function\") return function(cb) {\n setImmediate($7be02d3ac8a37e49$var$ensureCallable(cb));\n };\n // Wide available standard\n if (typeof setTimeout === \"function\" || typeof setTimeout === \"object\") return function(cb) {\n setTimeout($7be02d3ac8a37e49$var$ensureCallable(cb), 0);\n };\n return null;\n}();\n\n});\n\n\nparcelRegister(\"kIZkh\", function(module, exports) {\n/* eslint max-statements: 0 */ // Support for functions returning promise\n\"use strict\";\n\nvar $5LmI7 = parcelRequire(\"5LmI7\");\n\nvar $gJDnt = parcelRequire(\"gJDnt\");\n\nvar $8pWpw = parcelRequire(\"8pWpw\");\n\nvar $4kVNP = parcelRequire(\"4kVNP\");\n\nvar $3lsZz = parcelRequire(\"3lsZz\");\n\nvar $aDo18 = parcelRequire(\"aDo18\");\nvar $f1677cc856c6da88$var$create = Object.create, $f1677cc856c6da88$var$supportedModes = $gJDnt(\"then\", \"then:finally\", \"done\", \"done:finally\");\n\n(parcelRequire(\"e4Lgg\")).promise = function(mode, conf) {\n var waiting = $f1677cc856c6da88$var$create(null), cache = $f1677cc856c6da88$var$create(null), promises = $f1677cc856c6da88$var$create(null);\n if (mode === true) mode = null;\n else {\n mode = $8pWpw(mode);\n if (!$f1677cc856c6da88$var$supportedModes[mode]) throw new TypeError(\"'\" + $4kVNP(mode) + \"' is not valid promise mode\");\n }\n // After not from cache call\n conf.on(\"set\", function(id, ignore, promise) {\n var isFailed = false;\n if (!$3lsZz(promise)) {\n // Non promise result\n cache[id] = promise;\n conf.emit(\"setasync\", id, 1);\n return;\n }\n waiting[id] = 1;\n promises[id] = promise;\n var onSuccess = function(result) {\n var count = waiting[id];\n if (isFailed) throw new Error(\"Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\\nConsider to rely on 'then' or 'done' mode instead.\");\n if (!count) return; // Deleted from cache before resolved\n delete waiting[id];\n cache[id] = result;\n conf.emit(\"setasync\", id, count);\n };\n var onFailure = function() {\n isFailed = true;\n if (!waiting[id]) return; // Deleted from cache (or succeed in case of finally)\n delete waiting[id];\n delete promises[id];\n conf.delete(id);\n };\n var resolvedMode = mode;\n if (!resolvedMode) resolvedMode = \"then\";\n if (resolvedMode === \"then\") {\n var nextTickFailure = function() {\n $aDo18(onFailure);\n };\n // Eventual finally needs to be attached to non rejected promise\n // (so we not force propagation of unhandled rejection)\n promise = promise.then(function(result) {\n $aDo18(onSuccess.bind(this, result));\n }, nextTickFailure);\n // If `finally` is a function we attach to it to remove cancelled promises.\n if (typeof promise.finally === \"function\") promise.finally(nextTickFailure);\n } else if (resolvedMode === \"done\") {\n // Not recommended, as it may mute any eventual \"Unhandled error\" events\n if (typeof promise.done !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'done' in 'done' mode\");\n promise.done(onSuccess, onFailure);\n } else if (resolvedMode === \"done:finally\") {\n // The only mode with no side effects assuming library does not throw unconditionally\n // for rejected promises.\n if (typeof promise.done !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode\");\n if (typeof promise.finally !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode\");\n promise.done(onSuccess);\n promise.finally(onFailure);\n }\n });\n // From cache (sync)\n conf.on(\"get\", function(id, args, context) {\n var promise;\n if (waiting[id]) {\n ++waiting[id]; // Still waiting\n return;\n }\n promise = promises[id];\n var emit = function() {\n conf.emit(\"getasync\", id, args, context);\n };\n if ($3lsZz(promise)) {\n if (typeof promise.done === \"function\") promise.done(emit);\n else promise.then(function() {\n $aDo18(emit);\n });\n } else emit();\n });\n // On delete\n conf.on(\"delete\", function(id) {\n delete promises[id];\n if (waiting[id]) {\n delete waiting[id];\n return; // Not yet resolved\n }\n if (!hasOwnProperty.call(cache, id)) return;\n var result = cache[id];\n delete cache[id];\n conf.emit(\"deleteasync\", id, [\n result\n ]);\n });\n // On clear\n conf.on(\"clear\", function() {\n var oldCache = cache;\n cache = $f1677cc856c6da88$var$create(null);\n waiting = $f1677cc856c6da88$var$create(null);\n promises = $f1677cc856c6da88$var$create(null);\n conf.emit(\"clearasync\", $5LmI7(oldCache, function(data) {\n return [\n data\n ];\n }));\n });\n};\n\n});\nparcelRegister(\"gJDnt\", function(module, exports) {\n\"use strict\";\nvar $c2ef64dba275f68e$var$forEach = Array.prototype.forEach, $c2ef64dba275f68e$var$create = Object.create;\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function(arg /*, …args*/ ) {\n var set = $c2ef64dba275f68e$var$create(null);\n $c2ef64dba275f68e$var$forEach.call(arguments, function(name) {\n set[name] = true;\n });\n return set;\n};\n\n});\n\nparcelRegister(\"8pWpw\", function(module, exports) {\n\"use strict\";\n\nvar $gm8vF = parcelRequire(\"gm8vF\");\n\nvar $kAQEJ = parcelRequire(\"kAQEJ\");\nmodule.exports = function(value) {\n return $kAQEJ($gm8vF(value));\n};\n\n});\nparcelRegister(\"kAQEJ\", function(module, exports) {\n\"use strict\";\n\nvar $acEY7 = parcelRequire(\"acEY7\");\nmodule.exports = function(stringifiable) {\n try {\n if (stringifiable && $acEY7(stringifiable.toString)) return stringifiable.toString();\n return String(stringifiable);\n } catch (e) {\n throw new TypeError(\"Passed argument cannot be stringifed\");\n }\n};\n\n});\nparcelRegister(\"acEY7\", function(module, exports) {\n// Deprecated\n\"use strict\";\nmodule.exports = function(obj) {\n return typeof obj === \"function\";\n};\n\n});\n\n\n\nparcelRegister(\"4kVNP\", function(module, exports) {\n\"use strict\";\n\nvar $5uwxY = parcelRequire(\"5uwxY\");\nvar $3285de17b8ab45a0$var$reNewLine = /[\\n\\r\\u2028\\u2029]/g;\nmodule.exports = function(value) {\n var string = $5uwxY(value);\n // Trim if too long\n if (string.length > 100) string = string.slice(0, 99) + \"\\u2026\";\n // Replace eventual new lines\n string = string.replace($3285de17b8ab45a0$var$reNewLine, function(char) {\n return JSON.stringify(char).slice(1, -1);\n });\n return string;\n};\n\n});\nparcelRegister(\"5uwxY\", function(module, exports) {\n\"use strict\";\n\nvar $acEY7 = parcelRequire(\"acEY7\");\nmodule.exports = function(value) {\n try {\n if (value && $acEY7(value.toString)) return value.toString();\n return String(value);\n } catch (e) {\n return \"\";\n }\n};\n\n});\n\n\nparcelRegister(\"3lsZz\", function(module, exports) {\nmodule.exports = $26f9d27e99b30690$var$isPromise;\nmodule.exports.default = $26f9d27e99b30690$var$isPromise;\nfunction $26f9d27e99b30690$var$isPromise(obj) {\n return !!obj && (typeof obj === \"object\" || typeof obj === \"function\") && typeof obj.then === \"function\";\n}\n\n});\n\n\nparcelRegister(\"i7d4K\", function(module, exports) {\n// Call dispose callback on each cache purge\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $d30305fc94c265e7$var$apply = Function.prototype.apply;\n$e4Lgg.dispose = function(dispose, conf, options) {\n var del;\n $czzoJ(dispose);\n if (options.async && $e4Lgg.async || options.promise && $e4Lgg.promise) {\n conf.on(\"deleteasync\", del = function(id, resultArray) {\n $d30305fc94c265e7$var$apply.call(dispose, null, resultArray);\n });\n conf.on(\"clearasync\", function(cache) {\n $8KFbm(cache, function(result, id) {\n del(id, result);\n });\n });\n return;\n }\n conf.on(\"delete\", del = function(id, result) {\n dispose(result);\n });\n conf.on(\"clear\", function(cache) {\n $8KFbm(cache, function(result, id) {\n del(id, result);\n });\n });\n};\n\n});\n\nparcelRegister(\"b1mdU\", function(module, exports) {\n/* eslint consistent-this: 0 */ // Timeout cached values\n\"use strict\";\n\nvar $lCzSe = parcelRequire(\"lCzSe\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\n\nvar $aDo18 = parcelRequire(\"aDo18\");\n\nvar $3lsZz = parcelRequire(\"3lsZz\");\n\nvar $frVfT = parcelRequire(\"frVfT\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $806106c66cef2aa9$var$noop = Function.prototype, $806106c66cef2aa9$var$max = Math.max, $806106c66cef2aa9$var$min = Math.min, $806106c66cef2aa9$var$create = Object.create;\n$e4Lgg.maxAge = function(maxAge, conf, options) {\n var timeouts, postfix, preFetchAge, preFetchTimeouts;\n maxAge = $frVfT(maxAge);\n if (!maxAge) return;\n timeouts = $806106c66cef2aa9$var$create(null);\n postfix = options.async && $e4Lgg.async || options.promise && $e4Lgg.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, function(id) {\n timeouts[id] = setTimeout(function() {\n conf.delete(id);\n }, maxAge);\n if (typeof timeouts[id].unref === \"function\") timeouts[id].unref();\n if (!preFetchTimeouts) return;\n if (preFetchTimeouts[id]) {\n if (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n }\n preFetchTimeouts[id] = setTimeout(function() {\n delete preFetchTimeouts[id];\n }, preFetchAge);\n if (typeof preFetchTimeouts[id].unref === \"function\") preFetchTimeouts[id].unref();\n });\n conf.on(\"delete\" + postfix, function(id) {\n clearTimeout(timeouts[id]);\n delete timeouts[id];\n if (!preFetchTimeouts) return;\n if (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n delete preFetchTimeouts[id];\n });\n if (options.preFetch) {\n if (options.preFetch === true || isNaN(options.preFetch)) preFetchAge = 0.333;\n else preFetchAge = $806106c66cef2aa9$var$max($806106c66cef2aa9$var$min(Number(options.preFetch), 1), 0);\n if (preFetchAge) {\n preFetchTimeouts = {};\n preFetchAge = (1 - preFetchAge) * maxAge;\n conf.on(\"get\" + postfix, function(id, args, context) {\n if (!preFetchTimeouts[id]) {\n preFetchTimeouts[id] = \"nextTick\";\n $aDo18(function() {\n var result;\n if (preFetchTimeouts[id] !== \"nextTick\") return;\n delete preFetchTimeouts[id];\n conf.delete(id);\n if (options.async) {\n args = $lCzSe(args);\n args.push($806106c66cef2aa9$var$noop);\n }\n result = conf.memoized.apply(context, args);\n if (options.promise) // Supress eventual error warnings\n {\n if ($3lsZz(result)) {\n if (typeof result.done === \"function\") result.done($806106c66cef2aa9$var$noop, $806106c66cef2aa9$var$noop);\n else result.then($806106c66cef2aa9$var$noop, $806106c66cef2aa9$var$noop);\n }\n }\n });\n }\n });\n }\n }\n conf.on(\"clear\" + postfix, function() {\n $8KFbm(timeouts, function(id) {\n clearTimeout(id);\n });\n timeouts = {};\n if (preFetchTimeouts) {\n $8KFbm(preFetchTimeouts, function(id) {\n if (id !== \"nextTick\") clearTimeout(id);\n });\n preFetchTimeouts = {};\n }\n });\n};\n\n});\nparcelRegister(\"frVfT\", function(module, exports) {\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $6prMa = parcelRequire(\"6prMa\");\nmodule.exports = function(value) {\n value = $lFuzu(value);\n if (value > $6prMa) throw new TypeError(value + \" exceeds maximum possible timeout\");\n return value;\n};\n\n});\nparcelRegister(\"6prMa\", function(module, exports) {\n\"use strict\";\nmodule.exports = 2147483647;\n\n});\n\n\n\nparcelRegister(\"dZT72\", function(module, exports) {\n// Limit cache size, LRU (least recently used) algorithm.\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n\nvar $bE3O1 = parcelRequire(\"bE3O1\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\n$e4Lgg.max = function(max, conf, options) {\n var postfix, queue, hit;\n max = $lFuzu(max);\n if (!max) return;\n queue = $bE3O1(max);\n postfix = options.async && $e4Lgg.async || options.promise && $e4Lgg.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, hit = function(id) {\n id = queue.hit(id);\n if (id === undefined) return;\n conf.delete(id);\n });\n conf.on(\"get\" + postfix, hit);\n conf.on(\"delete\" + postfix, queue.delete);\n conf.on(\"clear\" + postfix, queue.clear);\n};\n\n});\nparcelRegister(\"bE3O1\", function(module, exports) {\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\nvar $87a661e44eb2e65c$var$create = Object.create, $87a661e44eb2e65c$var$hasOwnProperty = Object.prototype.hasOwnProperty;\nmodule.exports = function(limit) {\n var size = 0, base = 1, queue = $87a661e44eb2e65c$var$create(null), map = $87a661e44eb2e65c$var$create(null), index = 0, del;\n limit = $lFuzu(limit);\n return {\n hit: function(id) {\n var oldIndex = map[id], nuIndex = ++index;\n queue[nuIndex] = id;\n map[id] = nuIndex;\n if (!oldIndex) {\n ++size;\n if (size <= limit) return;\n id = queue[base];\n del(id);\n return id;\n }\n delete queue[oldIndex];\n if (base !== oldIndex) return;\n while(!$87a661e44eb2e65c$var$hasOwnProperty.call(queue, ++base))continue; //jslint: skip\n },\n delete: del = function(id) {\n var oldIndex = map[id];\n if (!oldIndex) return;\n delete queue[oldIndex];\n delete map[id];\n --size;\n if (base !== oldIndex) return;\n if (!size) {\n index = 0;\n base = 1;\n return;\n }\n while(!$87a661e44eb2e65c$var$hasOwnProperty.call(queue, ++base))continue; //jslint: skip\n },\n clear: function() {\n size = 0;\n base = 1;\n queue = $87a661e44eb2e65c$var$create(null);\n map = $87a661e44eb2e65c$var$create(null);\n index = 0;\n }\n };\n};\n\n});\n\n\nparcelRegister(\"eA2P6\", function(module, exports) {\n// Reference counter, useful for garbage collector like functionality\n\"use strict\";\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $a9d69e201316e5bc$var$create = Object.create, $a9d69e201316e5bc$var$defineProperties = Object.defineProperties;\n$e4Lgg.refCounter = function(ignore, conf, options) {\n var cache, postfix;\n cache = $a9d69e201316e5bc$var$create(null);\n postfix = options.async && $e4Lgg.async || options.promise && $e4Lgg.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, function(id, length) {\n cache[id] = length || 1;\n });\n conf.on(\"get\" + postfix, function(id) {\n ++cache[id];\n });\n conf.on(\"delete\" + postfix, function(id) {\n delete cache[id];\n });\n conf.on(\"clear\" + postfix, function() {\n cache = {};\n });\n $a9d69e201316e5bc$var$defineProperties(conf.memoized, {\n deleteRef: $9xcfl(function() {\n var id = conf.get(arguments);\n if (id === null) return null;\n if (!cache[id]) return null;\n if (!--cache[id]) {\n conf.delete(id);\n return true;\n }\n return false;\n }),\n getRefCount: $9xcfl(function() {\n var id = conf.get(arguments);\n if (id === null) return 0;\n if (!cache[id]) return 0;\n return cache[id];\n })\n });\n};\n\n});\n\nparcelRegister(\"ibhuk\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $d3c6d1e177331bae$export$f8b9fb4db095815b);\n\nasync function $d3c6d1e177331bae$export$f8b9fb4db095815b(path) {\n try {\n await (0, $f6VCT$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $d3c6d1e177331bae$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($f6VCT$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRegister(\"sOzdu\", function(module, exports) {\n\"use strict\";\nvar $0569d731d689048c$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($0569d731d689048c$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRegister(\"j5MHF\", function(module, exports) {\n\nvar $de644365a4a5582b$var$$parcel$__dirname = $f6VCT$path.resolve(__dirname, \"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */ function addLocale(locale, callable) {\n locales[locale] = callable;\n }\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($de644365a4a5582b$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRegister(\"2KdLC\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $5FRs7 = parcelRequire(\"5FRs7\");\n\nvar $3Zbea = parcelRequire(\"3Zbea\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $1ffa8e84445f5119$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $1ffa8e84445f5119$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $1ffa8e84445f5119$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $1ffa8e84445f5119$var$timeDeltaFactory,\n addLocale: $1ffa8e84445f5119$var$addLocale,\n defaultConfig: $1ffa8e84445f5119$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $1ffa8e84445f5119$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $1ffa8e84445f5119$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $1ffa8e84445f5119$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $1ffa8e84445f5119$var$defaultConfig, config || {});\n return {\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $1ffa8e84445f5119$var$format(firstDate, secondDate, options);\n }\n };\n}\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */ function $1ffa8e84445f5119$var$format(firstDate, secondDate, config) {\n $1ffa8e84445f5119$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $1ffa8e84445f5119$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($1ffa8e84445f5119$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\n}\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */ function $1ffa8e84445f5119$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($1ffa8e84445f5119$var$hasLocale(locale)) return;\n if ($3Zbea && autoload) $1ffa8e84445f5119$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $1ffa8e84445f5119$var$hasLocale(localeId) {\n return Boolean($1ffa8e84445f5119$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $1ffa8e84445f5119$var$requireLocale(localeId) {\n try {\n $1ffa8e84445f5119$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`);\n }\n}\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $1ffa8e84445f5119$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $1ffa8e84445f5119$var$timeUnits.some(function(unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\n}\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */ function $1ffa8e84445f5119$var$pluralize(unit, value, config) {\n const unitTypeData = $1ffa8e84445f5119$var$getLocaleDataForUnitType(config);\n const unitString = $5FRs7.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $1ffa8e84445f5119$var$getLocaleDataForUnitType(config) {\n const localeData = $1ffa8e84445f5119$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $1ffa8e84445f5119$var$arrayUnique(lookupOrder);\n let unitTypeData = null;\n lookupOrder.some(function(unitType) {\n if (\"undefined\" !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $1ffa8e84445f5119$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRegister(\"5FRs7\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"j5MHF\"));\n\n});\n\nparcelRegister(\"3Zbea\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRegister(\"51NgG\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $9kOAd = parcelRequire(\"9kOAd\");\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\n\nvar $2owFL = parcelRequire(\"2owFL\");\n\nvar $kBdlj = parcelRequire(\"kBdlj\");\n\nvar $bFSJ9 = parcelRequire(\"bFSJ9\");\n\nvar $bdHiQ = parcelRequire(\"bdHiQ\");\n\nvar $gWZ4x = parcelRequire(\"gWZ4x\");\n\nvar $dLri9 = parcelRequire(\"dLri9\");\n\nvar $2tsX7 = parcelRequire(\"2tsX7\");\n\nvar $3lzLT = parcelRequire(\"3lzLT\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\n\nvar $6LnSq = parcelRequire(\"6LnSq\");\n\nvar $dZkNJ = parcelRequire(\"dZkNJ\");\n\nvar $2Qi5H = parcelRequire(\"2Qi5H\");\n\nvar $fJeYC = parcelRequire(\"fJeYC\");\n\nvar $j1k1X = parcelRequire(\"j1k1X\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\n\nvar $4qy3a = parcelRequire(\"4qy3a\");\n\nvar $3ovyF = parcelRequire(\"3ovyF\");\n\nvar $laDmN = parcelRequire(\"laDmN\");\n\nvar $3cxkY = parcelRequire(\"3cxkY\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\nvar $5kn9j = parcelRequire(\"5kn9j\");\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $cVl8o = parcelRequire(\"cVl8o\");\n\nvar $j0UMd = parcelRequire(\"j0UMd\");\n\nvar $kgJyO = parcelRequire(\"kgJyO\");\n\nvar $k8woQ = parcelRequire(\"k8woQ\");\n\nvar $cQA7W = parcelRequire(\"cQA7W\");\n\nvar $j3dZX = parcelRequire(\"j3dZX\");\n\nvar $bENPT = parcelRequire(\"bENPT\");\n\nvar $iehU8 = parcelRequire(\"iehU8\");\n\nvar $5NOPx = parcelRequire(\"5NOPx\");\n\nvar $fdN0I = parcelRequire(\"fdN0I\");\n\nvar $lxNIV = parcelRequire(\"lxNIV\");\nmodule.exports = {\n parse: $dJ3EL,\n valid: $2owFL,\n clean: $kBdlj,\n inc: $bFSJ9,\n diff: $bdHiQ,\n major: $gWZ4x,\n minor: $dLri9,\n patch: $2tsX7,\n prerelease: $3lzLT,\n compare: $fYuCK,\n rcompare: $6LnSq,\n compareLoose: $dZkNJ,\n compareBuild: $2Qi5H,\n sort: $fJeYC,\n rsort: $j1k1X,\n gt: $ccAMb,\n lt: $4qy3a,\n eq: $3ovyF,\n neq: $laDmN,\n gte: $3cxkY,\n lte: $aTQrN,\n cmp: $5kn9j,\n coerce: $8YrRN,\n Comparator: $fNiVh,\n Range: $gTfXP,\n satisfies: $kPBDZ,\n toComparators: $cVl8o,\n maxSatisfying: $j0UMd,\n minSatisfying: $kgJyO,\n minVersion: $k8woQ,\n validRange: $cQA7W,\n outside: $j3dZX,\n gtr: $bENPT,\n ltr: $iehU8,\n intersects: $5NOPx,\n simplifyRange: $fdN0I,\n subset: $lxNIV,\n SemVer: $8wL3J,\n re: $a4A3m.re,\n src: $a4A3m.src,\n tokens: $a4A3m.t,\n SEMVER_SPEC_VERSION: $gzZHc.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $gzZHc.RELEASE_TYPES,\n compareIdentifiers: $9kOAd.compareIdentifiers,\n rcompareIdentifiers: $9kOAd.rcompareIdentifiers\n};\n\n});\nparcelRegister(\"a4A3m\", function(module, exports) {\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\nvar $75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH = $gzZHc.MAX_SAFE_COMPONENT_LENGTH;\nvar $75563e87d8c66ed8$require$MAX_SAFE_BUILD_LENGTH = $gzZHc.MAX_SAFE_BUILD_LENGTH;\nvar $75563e87d8c66ed8$require$MAX_LENGTH = $gzZHc.MAX_LENGTH;\n\nvar $cg13c = parcelRequire(\"cg13c\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $75563e87d8c66ed8$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $75563e87d8c66ed8$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $cg13c(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCEPLAIN\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$75563e87d8c66ed8$require$MAX_SAFE_COMPONENT_LENGTH}}))?`);\ncreateToken(\"COERCE\", `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`);\ncreateToken(\"COERCEFULL\", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\ncreateToken(\"COERCERTLFULL\", src[t.COERCEFULL], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRegister(\"gzZHc\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $c11fc5b4bf6aefd3$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $c11fc5b4bf6aefd3$var$MAX_LENGTH = 256;\nconst $c11fc5b4bf6aefd3$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $c11fc5b4bf6aefd3$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $c11fc5b4bf6aefd3$var$MAX_SAFE_BUILD_LENGTH = $c11fc5b4bf6aefd3$var$MAX_LENGTH - 6;\nconst $c11fc5b4bf6aefd3$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $c11fc5b4bf6aefd3$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $c11fc5b4bf6aefd3$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $c11fc5b4bf6aefd3$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $c11fc5b4bf6aefd3$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $c11fc5b4bf6aefd3$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $c11fc5b4bf6aefd3$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRegister(\"cg13c\", function(module, exports) {\nconst $8ec7cb438760e754$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $8ec7cb438760e754$var$debug;\n\n});\n\n\nparcelRegister(\"8wL3J\", function(module, exports) {\n\nvar $cg13c = parcelRequire(\"cg13c\");\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\nvar $6355d0de76fd7611$require$MAX_LENGTH = $gzZHc.MAX_LENGTH;\nvar $6355d0de76fd7611$require$MAX_SAFE_INTEGER = $gzZHc.MAX_SAFE_INTEGER;\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $6355d0de76fd7611$require$re = $a4A3m.safeRe;\nvar $6355d0de76fd7611$require$t = $a4A3m.t;\n\nvar $5bRb1 = parcelRequire(\"5bRb1\");\n\nvar $9kOAd = parcelRequire(\"9kOAd\");\nvar $6355d0de76fd7611$require$compareIdentifiers = $9kOAd.compareIdentifiers;\nclass $6355d0de76fd7611$var$SemVer {\n constructor(version, options){\n options = $5bRb1(options);\n if (version instanceof $6355d0de76fd7611$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $6355d0de76fd7611$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$6355d0de76fd7611$require$MAX_LENGTH} characters`);\n $cg13c(\"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 const m = version.trim().match(options.loose ? $6355d0de76fd7611$require$re[$6355d0de76fd7611$require$t.LOOSE] : $6355d0de76fd7611$require$re[$6355d0de76fd7611$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $6355d0de76fd7611$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $6355d0de76fd7611$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $6355d0de76fd7611$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $6355d0de76fd7611$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $cg13c(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n return $6355d0de76fd7611$require$compareIdentifiers(this.major, other.major) || $6355d0de76fd7611$require$compareIdentifiers(this.minor, other.minor) || $6355d0de76fd7611$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $cg13c(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $6355d0de76fd7611$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $6355d0de76fd7611$var$SemVer)) other = new $6355d0de76fd7611$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $cg13c(\"build compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $6355d0de76fd7611$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($6355d0de76fd7611$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $6355d0de76fd7611$var$SemVer;\n\n});\nparcelRegister(\"5bRb1\", function(module, exports) {\n// parse out just the options we care about\nconst $3c773aa6fc3e101d$var$looseOption = Object.freeze({\n loose: true\n});\nconst $3c773aa6fc3e101d$var$emptyOpts = Object.freeze({});\nconst $3c773aa6fc3e101d$var$parseOptions = (options)=>{\n if (!options) return $3c773aa6fc3e101d$var$emptyOpts;\n if (typeof options !== \"object\") return $3c773aa6fc3e101d$var$looseOption;\n return options;\n};\nmodule.exports = $3c773aa6fc3e101d$var$parseOptions;\n\n});\n\nparcelRegister(\"9kOAd\", function(module, exports) {\nconst $6cbd3815b2d4c829$var$numeric = /^[0-9]+$/;\nconst $6cbd3815b2d4c829$var$compareIdentifiers = (a, b)=>{\n const anum = $6cbd3815b2d4c829$var$numeric.test(a);\n const bnum = $6cbd3815b2d4c829$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $6cbd3815b2d4c829$var$rcompareIdentifiers = (a, b)=>$6cbd3815b2d4c829$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $6cbd3815b2d4c829$var$compareIdentifiers,\n rcompareIdentifiers: $6cbd3815b2d4c829$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRegister(\"dJ3EL\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $9fe2506f40e35154$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $8wL3J) return version;\n try {\n return new $8wL3J(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $9fe2506f40e35154$var$parse;\n\n});\n\nparcelRegister(\"2owFL\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $1be72ac7f3821a7e$var$valid = (version, options)=>{\n const v = $dJ3EL(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $1be72ac7f3821a7e$var$valid;\n\n});\n\nparcelRegister(\"kBdlj\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $eff19ceb1b8cb19c$var$clean = (version, options)=>{\n const s = $dJ3EL(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $eff19ceb1b8cb19c$var$clean;\n\n});\n\nparcelRegister(\"bFSJ9\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $87fdf9bc427562b7$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $8wL3J(version instanceof $8wL3J ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $87fdf9bc427562b7$var$inc;\n\n});\n\nparcelRegister(\"bdHiQ\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $82b27fa8fcdc25b8$var$diff = (version1, version2)=>{\n const v1 = $dJ3EL(version1, null, true);\n const v2 = $dJ3EL(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $82b27fa8fcdc25b8$var$diff;\n\n});\n\nparcelRegister(\"gWZ4x\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $c5716fc379c9f9a6$var$major = (a, loose)=>new $8wL3J(a, loose).major;\nmodule.exports = $c5716fc379c9f9a6$var$major;\n\n});\n\nparcelRegister(\"dLri9\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $a054d5ba97ecb75d$var$minor = (a, loose)=>new $8wL3J(a, loose).minor;\nmodule.exports = $a054d5ba97ecb75d$var$minor;\n\n});\n\nparcelRegister(\"2tsX7\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $1cd4bf8c4ede37e4$var$patch = (a, loose)=>new $8wL3J(a, loose).patch;\nmodule.exports = $1cd4bf8c4ede37e4$var$patch;\n\n});\n\nparcelRegister(\"3lzLT\", function(module, exports) {\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\nconst $26ff14ba69cda392$var$prerelease = (version, options)=>{\n const parsed = $dJ3EL(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $26ff14ba69cda392$var$prerelease;\n\n});\n\nparcelRegister(\"fYuCK\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $ba1436e59b1ac392$var$compare = (a, b, loose)=>new $8wL3J(a, loose).compare(new $8wL3J(b, loose));\nmodule.exports = $ba1436e59b1ac392$var$compare;\n\n});\n\nparcelRegister(\"6LnSq\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $4ec9a74bbfac3b2c$var$rcompare = (a, b, loose)=>$fYuCK(b, a, loose);\nmodule.exports = $4ec9a74bbfac3b2c$var$rcompare;\n\n});\n\nparcelRegister(\"dZkNJ\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $a2f11b871a52a3c7$var$compareLoose = (a, b)=>$fYuCK(a, b, true);\nmodule.exports = $a2f11b871a52a3c7$var$compareLoose;\n\n});\n\nparcelRegister(\"2Qi5H\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\nconst $211e789051d184a0$var$compareBuild = (a, b, loose)=>{\n const versionA = new $8wL3J(a, loose);\n const versionB = new $8wL3J(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $211e789051d184a0$var$compareBuild;\n\n});\n\nparcelRegister(\"fJeYC\", function(module, exports) {\n\nvar $2Qi5H = parcelRequire(\"2Qi5H\");\nconst $b736ad0fa07ff628$var$sort = (list, loose)=>list.sort((a, b)=>$2Qi5H(a, b, loose));\nmodule.exports = $b736ad0fa07ff628$var$sort;\n\n});\n\nparcelRegister(\"j1k1X\", function(module, exports) {\n\nvar $2Qi5H = parcelRequire(\"2Qi5H\");\nconst $dd8da5f67a7b5b89$var$rsort = (list, loose)=>list.sort((a, b)=>$2Qi5H(b, a, loose));\nmodule.exports = $dd8da5f67a7b5b89$var$rsort;\n\n});\n\nparcelRegister(\"ccAMb\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $8e2321fcfdd63890$var$gt = (a, b, loose)=>$fYuCK(a, b, loose) > 0;\nmodule.exports = $8e2321fcfdd63890$var$gt;\n\n});\n\nparcelRegister(\"4qy3a\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $339400ca7780fbdf$var$lt = (a, b, loose)=>$fYuCK(a, b, loose) < 0;\nmodule.exports = $339400ca7780fbdf$var$lt;\n\n});\n\nparcelRegister(\"3ovyF\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $278c17c140a7a6a8$var$eq = (a, b, loose)=>$fYuCK(a, b, loose) === 0;\nmodule.exports = $278c17c140a7a6a8$var$eq;\n\n});\n\nparcelRegister(\"laDmN\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $f699118f713c649a$var$neq = (a, b, loose)=>$fYuCK(a, b, loose) !== 0;\nmodule.exports = $f699118f713c649a$var$neq;\n\n});\n\nparcelRegister(\"3cxkY\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $254c5a28e960c58d$var$gte = (a, b, loose)=>$fYuCK(a, b, loose) >= 0;\nmodule.exports = $254c5a28e960c58d$var$gte;\n\n});\n\nparcelRegister(\"aTQrN\", function(module, exports) {\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nconst $7ef7b95c63a51762$var$lte = (a, b, loose)=>$fYuCK(a, b, loose) <= 0;\nmodule.exports = $7ef7b95c63a51762$var$lte;\n\n});\n\nparcelRegister(\"5kn9j\", function(module, exports) {\n\nvar $3ovyF = parcelRequire(\"3ovyF\");\n\nvar $laDmN = parcelRequire(\"laDmN\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\n\nvar $3cxkY = parcelRequire(\"3cxkY\");\n\nvar $4qy3a = parcelRequire(\"4qy3a\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\nconst $3e10c6eececc59ef$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $3ovyF(a, b, loose);\n case \"!=\":\n return $laDmN(a, b, loose);\n case \">\":\n return $ccAMb(a, b, loose);\n case \">=\":\n return $3cxkY(a, b, loose);\n case \"<\":\n return $4qy3a(a, b, loose);\n case \"<=\":\n return $aTQrN(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $3e10c6eececc59ef$var$cmp;\n\n});\n\nparcelRegister(\"8YrRN\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $dJ3EL = parcelRequire(\"dJ3EL\");\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $68898b14e990c184$require$re = $a4A3m.safeRe;\nvar $68898b14e990c184$require$t = $a4A3m.t;\nconst $68898b14e990c184$var$coerce = (version, options)=>{\n if (version instanceof $8wL3J) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match(options.includePrerelease ? $68898b14e990c184$require$re[$68898b14e990c184$require$t.COERCEFULL] : $68898b14e990c184$require$re[$68898b14e990c184$require$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 // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.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 const coerceRtlRegex = options.includePrerelease ? $68898b14e990c184$require$re[$68898b14e990c184$require$t.COERCERTLFULL] : $68898b14e990c184$require$re[$68898b14e990c184$require$t.COERCERTL];\n let next;\n while((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1;\n }\n if (match === null) return null;\n const major = match[2];\n const minor = match[3] || \"0\";\n const patch = match[4] || \"0\";\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : \"\";\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : \"\";\n return $dJ3EL(`${major}.${minor}.${patch}${prerelease}${build}`, options);\n};\nmodule.exports = $68898b14e990c184$var$coerce;\n\n});\n\nparcelRegister(\"fNiVh\", function(module, exports) {\nconst $b7fa1c527a9b604a$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $b7fa1c527a9b604a$var$Comparator {\n static get ANY() {\n return $b7fa1c527a9b604a$var$ANY;\n }\n constructor(comp, options){\n options = $5bRb1(options);\n if (comp instanceof $b7fa1c527a9b604a$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $cg13c(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $b7fa1c527a9b604a$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $cg13c(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $b7fa1c527a9b604a$require$re[$b7fa1c527a9b604a$require$t.COMPARATORLOOSE] : $b7fa1c527a9b604a$require$re[$b7fa1c527a9b604a$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $b7fa1c527a9b604a$var$ANY;\n else this.semver = new $8wL3J(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $cg13c(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $b7fa1c527a9b604a$var$ANY || version === $b7fa1c527a9b604a$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $8wL3J(version, this.options);\n } catch (er) {\n return false;\n }\n return $5kn9j(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $b7fa1c527a9b604a$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $gTfXP(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $gTfXP(this.value, options).test(comp.semver);\n }\n options = $5bRb1(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($5kn9j(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($5kn9j(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $b7fa1c527a9b604a$var$Comparator;\n\nvar $5bRb1 = parcelRequire(\"5bRb1\");\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $b7fa1c527a9b604a$require$re = $a4A3m.safeRe;\nvar $b7fa1c527a9b604a$require$t = $a4A3m.t;\n\nvar $5kn9j = parcelRequire(\"5kn9j\");\n\nvar $cg13c = parcelRequire(\"cg13c\");\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\n});\nparcelRegister(\"gTfXP\", function(module, exports) {\nconst $c4be2a81fa8848e8$var$SPACE_CHARACTERS = /\\s+/g;\n// hoisted class for cyclic dependency\nclass $c4be2a81fa8848e8$var$Range {\n constructor(range, options){\n options = $5bRb1(options);\n if (range instanceof $c4be2a81fa8848e8$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $c4be2a81fa8848e8$var$Range(range.raw, options);\n }\n if (range instanceof $fNiVh) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.formatted = undefined;\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace($c4be2a81fa8848e8$var$SPACE_CHARACTERS, \" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$c4be2a81fa8848e8$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $c4be2a81fa8848e8$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.formatted = undefined;\n }\n get range() {\n if (this.formatted === undefined) {\n this.formatted = \"\";\n for(let i = 0; i < this.set.length; i++){\n if (i > 0) this.formatted += \"||\";\n const comps = this.set[i];\n for(let k = 0; k < comps.length; k++){\n if (k > 0) this.formatted += \" \";\n this.formatted += comps[k].toString().trim();\n }\n }\n }\n return this.formatted;\n }\n format() {\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $c4be2a81fa8848e8$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $c4be2a81fa8848e8$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $c4be2a81fa8848e8$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.HYPHENRANGELOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.HYPHENRANGE];\n range = range.replace(hr, $c4be2a81fa8848e8$var$hyphenReplace(this.options.includePrerelease));\n $cg13c(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.COMPARATORTRIM], $c4be2a81fa8848e8$require$comparatorTrimReplace);\n $cg13c(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.TILDETRIM], $c4be2a81fa8848e8$require$tildeTrimReplace);\n $cg13c(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.CARETTRIM], $c4be2a81fa8848e8$require$caretTrimReplace);\n $cg13c(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$c4be2a81fa8848e8$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$c4be2a81fa8848e8$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $cg13c(\"loose invalid filter\", comp, this.options);\n return !!comp.match($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.COMPARATORLOOSE]);\n });\n $cg13c(\"range list\", rangeList);\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map();\n const comparators = rangeList.map((comp)=>new $fNiVh(comp, this.options));\n for (const comp of comparators){\n if ($c4be2a81fa8848e8$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $c4be2a81fa8848e8$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $c4be2a81fa8848e8$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $c4be2a81fa8848e8$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $c4be2a81fa8848e8$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $8wL3J(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($c4be2a81fa8848e8$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $c4be2a81fa8848e8$var$Range;\n\nvar $3rMGs = parcelRequire(\"3rMGs\");\nconst $c4be2a81fa8848e8$var$cache = new $3rMGs();\n\nvar $5bRb1 = parcelRequire(\"5bRb1\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\n\nvar $cg13c = parcelRequire(\"cg13c\");\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $a4A3m = parcelRequire(\"a4A3m\");\nvar $c4be2a81fa8848e8$require$re = $a4A3m.safeRe;\nvar $c4be2a81fa8848e8$require$t = $a4A3m.t;\nvar $c4be2a81fa8848e8$require$comparatorTrimReplace = $a4A3m.comparatorTrimReplace;\nvar $c4be2a81fa8848e8$require$tildeTrimReplace = $a4A3m.tildeTrimReplace;\nvar $c4be2a81fa8848e8$require$caretTrimReplace = $a4A3m.caretTrimReplace;\n\nvar $gzZHc = parcelRequire(\"gzZHc\");\nvar $c4be2a81fa8848e8$require$FLAG_INCLUDE_PRERELEASE = $gzZHc.FLAG_INCLUDE_PRERELEASE;\nvar $c4be2a81fa8848e8$require$FLAG_LOOSE = $gzZHc.FLAG_LOOSE;\nconst $c4be2a81fa8848e8$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $c4be2a81fa8848e8$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $c4be2a81fa8848e8$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $c4be2a81fa8848e8$var$parseComparator = (comp, options)=>{\n $cg13c(\"comp\", comp, options);\n comp = $c4be2a81fa8848e8$var$replaceCarets(comp, options);\n $cg13c(\"caret\", comp);\n comp = $c4be2a81fa8848e8$var$replaceTildes(comp, options);\n $cg13c(\"tildes\", comp);\n comp = $c4be2a81fa8848e8$var$replaceXRanges(comp, options);\n $cg13c(\"xrange\", comp);\n comp = $c4be2a81fa8848e8$var$replaceStars(comp, options);\n $cg13c(\"stars\", comp);\n return comp;\n};\nconst $c4be2a81fa8848e8$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $c4be2a81fa8848e8$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$c4be2a81fa8848e8$var$replaceTilde(c, options)).join(\" \");\n};\nconst $c4be2a81fa8848e8$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.TILDELOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $cg13c(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($c4be2a81fa8848e8$var$isX(M)) ret = \"\";\n else if ($c4be2a81fa8848e8$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($c4be2a81fa8848e8$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $cg13c(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $cg13c(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $c4be2a81fa8848e8$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$c4be2a81fa8848e8$var$replaceCaret(c, options)).join(\" \");\n};\nconst $c4be2a81fa8848e8$var$replaceCaret = (comp, options)=>{\n $cg13c(\"caret\", comp, options);\n const r = options.loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.CARETLOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $cg13c(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($c4be2a81fa8848e8$var$isX(M)) ret = \"\";\n else if ($c4be2a81fa8848e8$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($c4be2a81fa8848e8$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $cg13c(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $cg13c(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $cg13c(\"caret return\", ret);\n return ret;\n });\n};\nconst $c4be2a81fa8848e8$var$replaceXRanges = (comp, options)=>{\n $cg13c(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$c4be2a81fa8848e8$var$replaceXRange(c, options)).join(\" \");\n};\nconst $c4be2a81fa8848e8$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.XRANGELOOSE] : $c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $cg13c(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $c4be2a81fa8848e8$var$isX(M);\n const xm = xM || $c4be2a81fa8848e8$var$isX(m);\n const xp = xm || $c4be2a81fa8848e8$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $cg13c(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $c4be2a81fa8848e8$var$replaceStars = (comp, options)=>{\n $cg13c(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($c4be2a81fa8848e8$require$re[$c4be2a81fa8848e8$require$t.STAR], \"\");\n};\nconst $c4be2a81fa8848e8$var$replaceGTE0 = (comp, options)=>{\n $cg13c(\"replaceGTE0\", comp, options);\n return comp.trim().replace($c4be2a81fa8848e8$require$re[options.includePrerelease ? $c4be2a81fa8848e8$require$t.GTE0PRE : $c4be2a81fa8848e8$require$t.GTE0], \"\");\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\n// TODO build?\nconst $c4be2a81fa8848e8$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr)=>{\n if ($c4be2a81fa8848e8$var$isX(fM)) from = \"\";\n else if ($c4be2a81fa8848e8$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($c4be2a81fa8848e8$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($c4be2a81fa8848e8$var$isX(tM)) to = \"\";\n else if ($c4be2a81fa8848e8$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($c4be2a81fa8848e8$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $c4be2a81fa8848e8$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $cg13c(set[i].semver);\n if (set[i].semver === $fNiVh.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRegister(\"3rMGs\", function(module, exports) {\nclass $2829a84ab551ac13$var$LRUCache {\n constructor(){\n this.max = 1000;\n this.map = new Map();\n }\n get(key) {\n const value = this.map.get(key);\n if (value === undefined) return undefined;\n else {\n // Remove the key from the map and add it to the end\n this.map.delete(key);\n this.map.set(key, value);\n return value;\n }\n }\n delete(key) {\n return this.map.delete(key);\n }\n set(key, value) {\n const deleted = this.delete(key);\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value;\n this.delete(firstKey);\n }\n this.map.set(key, value);\n }\n return this;\n }\n}\nmodule.exports = $2829a84ab551ac13$var$LRUCache;\n\n});\n\n\n\nparcelRegister(\"kPBDZ\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $03e9e647babae013$var$satisfies = (version, range, options)=>{\n try {\n range = new $gTfXP(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $03e9e647babae013$var$satisfies;\n\n});\n\nparcelRegister(\"cVl8o\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n// Mostly just for testing and legacy API reasons\nconst $968b33bf6070fc17$var$toComparators = (range, options)=>new $gTfXP(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $968b33bf6070fc17$var$toComparators;\n\n});\n\nparcelRegister(\"j0UMd\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $03927c1d4847ca80$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $gTfXP(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $8wL3J(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $03927c1d4847ca80$var$maxSatisfying;\n\n});\n\nparcelRegister(\"kgJyO\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $ec18a49eba12856b$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $gTfXP(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $8wL3J(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $ec18a49eba12856b$var$minSatisfying;\n\n});\n\nparcelRegister(\"k8woQ\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\nconst $ea8dafec24a8c81d$var$minVersion = (range, loose)=>{\n range = new $gTfXP(range, loose);\n let minver = new $8wL3J(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $8wL3J(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $8wL3J(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $ccAMb(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $ccAMb(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $ea8dafec24a8c81d$var$minVersion;\n\n});\n\nparcelRegister(\"cQA7W\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $95a65d6d0b42b5d4$var$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 $gTfXP(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $95a65d6d0b42b5d4$var$validRange;\n\n});\n\nparcelRegister(\"j3dZX\", function(module, exports) {\n\nvar $8wL3J = parcelRequire(\"8wL3J\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\nconst { ANY: $dde927ec7f58ac9c$var$ANY } = $fNiVh;\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $ccAMb = parcelRequire(\"ccAMb\");\n\nvar $4qy3a = parcelRequire(\"4qy3a\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\nvar $3cxkY = parcelRequire(\"3cxkY\");\nconst $dde927ec7f58ac9c$var$outside = (version, range, hilo, options)=>{\n version = new $8wL3J(version, options);\n range = new $gTfXP(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $ccAMb;\n ltefn = $aTQrN;\n ltfn = $4qy3a;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $4qy3a;\n ltefn = $3cxkY;\n ltfn = $ccAMb;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($kPBDZ(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $dde927ec7f58ac9c$var$ANY) comparator = new $fNiVh(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $dde927ec7f58ac9c$var$outside;\n\n});\n\nparcelRegister(\"bENPT\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $j3dZX = parcelRequire(\"j3dZX\");\nconst $87ca168b9dc66ab0$var$gtr = (version, range, options)=>$j3dZX(version, range, \">\", options);\nmodule.exports = $87ca168b9dc66ab0$var$gtr;\n\n});\n\nparcelRegister(\"iehU8\", function(module, exports) {\n\nvar $j3dZX = parcelRequire(\"j3dZX\");\n// Determine if version is less than all the versions possible in the range\nconst $d4576c3e866aa68e$var$ltr = (version, range, options)=>$j3dZX(version, range, \"<\", options);\nmodule.exports = $d4576c3e866aa68e$var$ltr;\n\n});\n\nparcelRegister(\"5NOPx\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\nconst $4398f52ade6f2f94$var$intersects = (r1, r2, options)=>{\n r1 = new $gTfXP(r1, options);\n r2 = new $gTfXP(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $4398f52ade6f2f94$var$intersects;\n\n});\n\nparcelRegister(\"fdN0I\", function(module, exports) {\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.\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$fYuCK(a, b, options));\n for (const version of v){\n const included = $kPBDZ(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else 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\n});\n\nparcelRegister(\"lxNIV\", function(module, exports) {\n\nvar $gTfXP = parcelRequire(\"gTfXP\");\n\nvar $fNiVh = parcelRequire(\"fNiVh\");\nconst { ANY: $faf340188c33b5b4$var$ANY } = $fNiVh;\n\nvar $kPBDZ = parcelRequire(\"kPBDZ\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\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\nconst $faf340188c33b5b4$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $gTfXP(sub, options);\n dom = new $gTfXP(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $faf340188c33b5b4$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) 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) return false;\n }\n return true;\n};\nconst $faf340188c33b5b4$var$minimumVersionWithPreRelease = [\n new $fNiVh(\">=0.0.0-0\")\n];\nconst $faf340188c33b5b4$var$minimumVersion = [\n new $fNiVh(\">=0.0.0\")\n];\nconst $faf340188c33b5b4$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $faf340188c33b5b4$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $faf340188c33b5b4$var$ANY) return true;\n else if (options.includePrerelease) sub = $faf340188c33b5b4$var$minimumVersionWithPreRelease;\n else sub = $faf340188c33b5b4$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $faf340188c33b5b4$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $faf340188c33b5b4$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $faf340188c33b5b4$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $faf340188c33b5b4$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $fYuCK(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$kPBDZ(eq, String(gt), options)) return null;\n if (lt && !$kPBDZ(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$kPBDZ(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $faf340188c33b5b4$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$kPBDZ(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $faf340188c33b5b4$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$kPBDZ(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $faf340188c33b5b4$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $fYuCK(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $faf340188c33b5b4$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $fYuCK(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $faf340188c33b5b4$var$subset;\n\n});\n\n\nparcelRegister(\"drEX5\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $9bce005bcda5fd4c$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $9bce005bcda5fd4c$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $9bce005bcda5fd4c$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $f6VCT$path.dirname);\n$parcel$export(module.exports, \"join\", () => $f6VCT$path.join);\n\n\nvar $1ondq = parcelRequire(\"1ondq\");\n\nvar $7BfUa = parcelRequire(\"7BfUa\");\nfunction $9bce005bcda5fd4c$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $9bce005bcda5fd4c$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $9bce005bcda5fd4c$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $f6VCT$path.basename)(e) : (0, $f6VCT$path.basename)(e, (0, $f6VCT$path.extname)(e));\n}\nfunction $9bce005bcda5fd4c$export$873fead74fe2f1ff(e) {\n return (0, $f6VCT$path.normalize)(e).replace(RegExp((0, $1ondq.default)((0, $f6VCT$path.sep)) + \"$\"), \"\");\n}\nfunction $9bce005bcda5fd4c$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $9bce005bcda5fd4c$export$3e333f8cb13439c(e, a) {\n const r = (0, $f6VCT$path.extname)(e), s = `${a}${(0, $f6VCT$path.basename)(e, r)}${r}`;\n return (0, $f6VCT$path.join)((0, $f6VCT$path.dirname)(e), s);\n}\nfunction $9bce005bcda5fd4c$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $f6VCT$path.extname)(e), s = `${(0, $f6VCT$path.basename)(e, r)}${a}${r}`;\n return (0, $f6VCT$path.join)((0, $f6VCT$path.dirname)(e), s);\n}\nfunction $9bce005bcda5fd4c$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $9bce005bcda5fd4c$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $9bce005bcda5fd4c$export$19c5468f88f6e968(e) {\n const a = (0, $f6VCT$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $9bce005bcda5fd4c$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($7BfUa)))(e, a);\n}\nfunction $9bce005bcda5fd4c$export$7d0573375890d05c(e, a) {\n const r = (0, $f6VCT$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $f6VCT$path.sep)) || r === (0, $f6VCT$path.resolve)(e));\n}\nvar $9bce005bcda5fd4c$var$O = {}, $9bce005bcda5fd4c$var$R = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$R, \"name\", ()=>$9bce005bcda5fd4c$export$a8ff84c12d48cfa6);\nvar $9bce005bcda5fd4c$var$A = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$A, \"normalizeTrim\", ()=>$9bce005bcda5fd4c$export$873fead74fe2f1ff);\nvar $9bce005bcda5fd4c$var$I = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$I, \"addExeExt\", ()=>$9bce005bcda5fd4c$export$2d20c564cade3c93);\nvar $9bce005bcda5fd4c$var$T = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$T, \"addNamePrefix\", ()=>$9bce005bcda5fd4c$export$3e333f8cb13439c);\nvar $9bce005bcda5fd4c$var$_ = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$_, \"addNameSuffix\", ()=>$9bce005bcda5fd4c$export$3b60a3e9bd1aef9d);\nvar $9bce005bcda5fd4c$var$k = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$k, \"addShExt\", ()=>$9bce005bcda5fd4c$export$609be29b80b555e1);\nvar $9bce005bcda5fd4c$var$M = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$M, \"addShRelativePrefix\", ()=>$9bce005bcda5fd4c$export$e1f23f8d3e53fe6);\nvar $9bce005bcda5fd4c$var$W = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$W, \"removeExt\", ()=>$9bce005bcda5fd4c$export$19c5468f88f6e968);\nvar $9bce005bcda5fd4c$var$q = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$q, \"replaceExt\", ()=>$9bce005bcda5fd4c$export$e9c34737ac8e53d2);\nvar $9bce005bcda5fd4c$var$B = {};\n$9bce005bcda5fd4c$var$a($9bce005bcda5fd4c$var$B, \"isPathInside\", ()=>$9bce005bcda5fd4c$export$7d0573375890d05c), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$R), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$A), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$I), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$T), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$_), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$k), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$M), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$W), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$q), $9bce005bcda5fd4c$var$e($9bce005bcda5fd4c$var$O, $9bce005bcda5fd4c$var$B);\n\n});\nparcelRegister(\"1ondq\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $103a0a72d440efd8$export$2e2bcd8739ae039);\nfunction $103a0a72d440efd8$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRegister(\"7BfUa\", function(module, exports) {\n\"use strict\";\n\nfunction $5888537ee25d980f$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $f6VCT$path.basename(npath, $f6VCT$path.extname(npath)) + ext;\n var nFilepath = $f6VCT$path.join($f6VCT$path.dirname(npath), nFileName);\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if ($5888537ee25d980f$var$startsWithSingleDot(npath)) return \".\" + $f6VCT$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $5888537ee25d980f$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $f6VCT$path.sep || first2chars === \"./\";\n}\nmodule.exports = $5888537ee25d980f$var$replaceExt;\n\n});\n\n\nparcelRegister(\"g9WSN\", function(module, exports) {\n\"use strict\";\nvar $bc3b298123aa10f7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $bc3b298123aa10f7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $bc3b298123aa10f7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $bc3b298123aa10f7$var$__createBinding(result, mod, k);\n }\n $bc3b298123aa10f7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $bc3b298123aa10f7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $bc3b298123aa10f7$var$path = $bc3b298123aa10f7$var$__importStar($f6VCT$path);\n\nconst $bc3b298123aa10f7$var$ioUtil = $bc3b298123aa10f7$var$__importStar((parcelRequire(\"2qpn6\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $bc3b298123aa10f7$var$cp(source, dest, options = {}) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $bc3b298123aa10f7$var$readCopyOptions(options);\n const destStat = (yield $bc3b298123aa10f7$var$ioUtil.exists(dest)) ? yield $bc3b298123aa10f7$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $bc3b298123aa10f7$var$path.join(dest, $bc3b298123aa10f7$var$path.basename(source)) : dest;\n if (!(yield $bc3b298123aa10f7$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $bc3b298123aa10f7$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $bc3b298123aa10f7$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($bc3b298123aa10f7$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $bc3b298123aa10f7$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $bc3b298123aa10f7$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $bc3b298123aa10f7$var$mv(source, dest, options = {}) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $bc3b298123aa10f7$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $bc3b298123aa10f7$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $bc3b298123aa10f7$var$path.join(dest, $bc3b298123aa10f7$var$path.basename(source));\n destExists = yield $bc3b298123aa10f7$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $bc3b298123aa10f7$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $bc3b298123aa10f7$var$mkdirP($bc3b298123aa10f7$var$path.dirname(dest));\n yield $bc3b298123aa10f7$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $bc3b298123aa10f7$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $bc3b298123aa10f7$var$rmRF(inputPath) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if ($bc3b298123aa10f7$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $bc3b298123aa10f7$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $bc3b298123aa10f7$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $bc3b298123aa10f7$var$mkdirP(fsPath) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n $f6VCT$assert.ok(fsPath, \"a path argument must be provided\");\n yield $bc3b298123aa10f7$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $bc3b298123aa10f7$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $bc3b298123aa10f7$var$which(tool, check) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $bc3b298123aa10f7$var$which(tool, false);\n if (!result) {\n if ($bc3b298123aa10f7$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $bc3b298123aa10f7$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $bc3b298123aa10f7$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $bc3b298123aa10f7$var$findInPath(tool) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($bc3b298123aa10f7$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($bc3b298123aa10f7$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($bc3b298123aa10f7$var$ioUtil.isRooted(tool)) {\n const filePath = yield $bc3b298123aa10f7$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($bc3b298123aa10f7$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($bc3b298123aa10f7$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $bc3b298123aa10f7$var$ioUtil.tryGetExecutablePath($bc3b298123aa10f7$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $bc3b298123aa10f7$var$findInPath;\nfunction $bc3b298123aa10f7$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $bc3b298123aa10f7$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $bc3b298123aa10f7$var$mkdirP(destDir);\n const files = yield $bc3b298123aa10f7$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $bc3b298123aa10f7$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $bc3b298123aa10f7$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $bc3b298123aa10f7$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $bc3b298123aa10f7$var$ioUtil.chmod(destDir, (yield $bc3b298123aa10f7$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $bc3b298123aa10f7$var$copyFile(srcFile, destFile, force) {\n return $bc3b298123aa10f7$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $bc3b298123aa10f7$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $bc3b298123aa10f7$var$ioUtil.lstat(destFile);\n yield $bc3b298123aa10f7$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $bc3b298123aa10f7$var$ioUtil.chmod(destFile, \"0666\");\n yield $bc3b298123aa10f7$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $bc3b298123aa10f7$var$ioUtil.readlink(srcFile);\n yield $bc3b298123aa10f7$var$ioUtil.symlink(symlinkFull, destFile, $bc3b298123aa10f7$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $bc3b298123aa10f7$var$ioUtil.exists(destFile)) || force) yield $bc3b298123aa10f7$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRegister(\"2qpn6\", function(module, exports) {\n\"use strict\";\nvar $1c41b0bc42127c11$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $1c41b0bc42127c11$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $1c41b0bc42127c11$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $1c41b0bc42127c11$var$__createBinding(result, mod, k);\n }\n $1c41b0bc42127c11$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $1c41b0bc42127c11$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $1c41b0bc42127c11$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $1c41b0bc42127c11$var$fs = $1c41b0bc42127c11$var$__importStar($f6VCT$fs);\n\nconst $1c41b0bc42127c11$var$path = $1c41b0bc42127c11$var$__importStar($f6VCT$path);\n$1c41b0bc42127c11$var$_a = $1c41b0bc42127c11$var$fs.promises, module.exports.chmod = $1c41b0bc42127c11$var$_a.chmod, module.exports.copyFile = $1c41b0bc42127c11$var$_a.copyFile, module.exports.lstat = $1c41b0bc42127c11$var$_a.lstat, module.exports.mkdir = $1c41b0bc42127c11$var$_a.mkdir, module.exports.open = $1c41b0bc42127c11$var$_a.open, module.exports.readdir = $1c41b0bc42127c11$var$_a.readdir, module.exports.readlink = $1c41b0bc42127c11$var$_a.readlink, module.exports.rename = $1c41b0bc42127c11$var$_a.rename, module.exports.rm = $1c41b0bc42127c11$var$_a.rm, module.exports.rmdir = $1c41b0bc42127c11$var$_a.rmdir, module.exports.stat = $1c41b0bc42127c11$var$_a.stat, module.exports.symlink = $1c41b0bc42127c11$var$_a.symlink, module.exports.unlink = $1c41b0bc42127c11$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $1c41b0bc42127c11$var$fs.constants.O_RDONLY;\nfunction $1c41b0bc42127c11$var$exists(fsPath) {\n return $1c41b0bc42127c11$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $1c41b0bc42127c11$var$exists;\nfunction $1c41b0bc42127c11$var$isDirectory(fsPath, useStat = false) {\n return $1c41b0bc42127c11$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $1c41b0bc42127c11$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $1c41b0bc42127c11$var$isRooted(p) {\n p = $1c41b0bc42127c11$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $1c41b0bc42127c11$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $1c41b0bc42127c11$var$tryGetExecutablePath(filePath, extensions) {\n return $1c41b0bc42127c11$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $1c41b0bc42127c11$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($1c41b0bc42127c11$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $1c41b0bc42127c11$var$path.dirname(filePath);\n const upperName = $1c41b0bc42127c11$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $1c41b0bc42127c11$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($1c41b0bc42127c11$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $1c41b0bc42127c11$var$tryGetExecutablePath;\nfunction $1c41b0bc42127c11$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $1c41b0bc42127c11$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $1c41b0bc42127c11$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $1c41b0bc42127c11$var$getCmdPath;\n\n});\n\n\nparcelRegister(\"6kHxT\", function(module, exports) {\n\"use strict\";\nvar $49c6639221a3e217$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $49c6639221a3e217$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $49c6639221a3e217$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $49c6639221a3e217$var$__createBinding(result, mod, k);\n }\n $49c6639221a3e217$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $49c6639221a3e217$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $49c6639221a3e217$var$semver = $49c6639221a3e217$var$__importStar((parcelRequire(\"a5mzA\")));\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\nfunction $49c6639221a3e217$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $49c6639221a3e217$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $f6VCT$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $k1l4q.debug(`check ${version} satisfies ${versionSpec}`);\n if ($49c6639221a3e217$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $k1l4q.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $49c6639221a3e217$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $k1l4q.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $49c6639221a3e217$var$_findMatch;\nfunction $49c6639221a3e217$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $f6VCT$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $f6VCT$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $49c6639221a3e217$var$_getOsVersion;\nfunction $49c6639221a3e217$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($f6VCT$fs.existsSync(lsbReleaseFile)) contents = $f6VCT$fs.readFileSync(lsbReleaseFile).toString();\n else if ($f6VCT$fs.existsSync(osReleaseFile)) contents = $f6VCT$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $49c6639221a3e217$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"a5mzA\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"iFKS7\", function(module, exports) {\n\nvar $joDHm = parcelRequire(\"joDHm\");\n\nvar $inTPA = parcelRequire(\"inTPA\");\nfunction $d9806a16a407278e$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $joDHm)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $inTPA(rnds);\n}\nmodule.exports = $d9806a16a407278e$var$v4;\n\n});\nparcelRegister(\"joDHm\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $f6VCT$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"inTPA\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $d625aee022f0dd91$var$byteToHex = [];\nfor(var $d625aee022f0dd91$var$i = 0; $d625aee022f0dd91$var$i < 256; ++$d625aee022f0dd91$var$i)$d625aee022f0dd91$var$byteToHex[$d625aee022f0dd91$var$i] = ($d625aee022f0dd91$var$i + 0x100).toString(16).substr(1);\nfunction $d625aee022f0dd91$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $d625aee022f0dd91$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $d625aee022f0dd91$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"ca0ts\", function(module, exports) {\n\"use strict\";\nvar $8da6c9556ccdcf3f$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $8da6c9556ccdcf3f$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $8da6c9556ccdcf3f$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $8da6c9556ccdcf3f$var$__createBinding(result, mod, k);\n }\n $8da6c9556ccdcf3f$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $8da6c9556ccdcf3f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $8da6c9556ccdcf3f$var$tr = $8da6c9556ccdcf3f$var$__importStar((parcelRequire(\"e0fPv\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $8da6c9556ccdcf3f$var$exec(commandLine, args, options) {\n return $8da6c9556ccdcf3f$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $8da6c9556ccdcf3f$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $8da6c9556ccdcf3f$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $8da6c9556ccdcf3f$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $8da6c9556ccdcf3f$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $8da6c9556ccdcf3f$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $f6VCT$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $f6VCT$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $8da6c9556ccdcf3f$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $8da6c9556ccdcf3f$var$getExecOutput;\n\n});\nparcelRegister(\"e0fPv\", function(module, exports) {\n\"use strict\";\nvar $a31d583cb10858c8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a31d583cb10858c8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a31d583cb10858c8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a31d583cb10858c8$var$__createBinding(result, mod, k);\n }\n $a31d583cb10858c8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $a31d583cb10858c8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $a31d583cb10858c8$var$os = $a31d583cb10858c8$var$__importStar($f6VCT$os);\n\nconst $a31d583cb10858c8$var$events = $a31d583cb10858c8$var$__importStar($f6VCT$events);\n\nconst $a31d583cb10858c8$var$child = $a31d583cb10858c8$var$__importStar($f6VCT$child_process);\n\nconst $a31d583cb10858c8$var$path = $a31d583cb10858c8$var$__importStar($f6VCT$path);\n\nconst $a31d583cb10858c8$var$io = $a31d583cb10858c8$var$__importStar((parcelRequire(\"g9WSN\")));\n\nconst $a31d583cb10858c8$var$ioUtil = $a31d583cb10858c8$var$__importStar((parcelRequire(\"2qpn6\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $a31d583cb10858c8$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $a31d583cb10858c8$var$ToolRunner extends $a31d583cb10858c8$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($a31d583cb10858c8$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($a31d583cb10858c8$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $a31d583cb10858c8$var$os.EOL.length);\n n = s.indexOf($a31d583cb10858c8$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($a31d583cb10858c8$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($a31d583cb10858c8$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $a31d583cb10858c8$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$a31d583cb10858c8$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $a31d583cb10858c8$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $a31d583cb10858c8$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $a31d583cb10858c8$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$a31d583cb10858c8$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $a31d583cb10858c8$var$os.EOL);\n const state = new $a31d583cb10858c8$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $a31d583cb10858c8$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $a31d583cb10858c8$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $a31d583cb10858c8$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $a31d583cb10858c8$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $a31d583cb10858c8$var$argStringToArray;\nclass $a31d583cb10858c8$var$ExecState extends $a31d583cb10858c8$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $f6VCT$timers.setTimeout($a31d583cb10858c8$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRegister(\"3LAPQ\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.0b2a8a9a.js\")).then(()=>parcelRequire(\"apy8x\"));\n\n});\n\nparcelRegister(\"byH4M\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./hdi.619de66c.js\")).then(()=>parcelRequire(\"9IkUc\"));\n\n});\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\nvar $338cd3297632d74f$exports = {};\n\"use strict\";\n\nvar $9cf15e4f01e764e1$exports = {};\n\"use strict\";\n\nvar $51d58653c6048ffd$exports = {};\n\"use strict\";\n\nvar $4ca03dc05bbe4be0$exports = {};\nconst $4ca03dc05bbe4be0$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $4ca03dc05bbe4be0$var$COLON = $4ca03dc05bbe4be0$var$isWindows ? \";\" : \":\";\nvar $1d8d028d9c47b73d$exports = {};\n\nvar $1d8d028d9c47b73d$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $1d8d028d9c47b73d$var$core = (parcelRequire(\"ftrAD\"));\nelse $1d8d028d9c47b73d$var$core = (parcelRequire(\"9yF3I\"));\n$1d8d028d9c47b73d$exports = $1d8d028d9c47b73d$var$isexe;\n$1d8d028d9c47b73d$var$isexe.sync = $1d8d028d9c47b73d$var$sync;\nfunction $1d8d028d9c47b73d$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $1d8d028d9c47b73d$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $1d8d028d9c47b73d$var$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}\nfunction $1d8d028d9c47b73d$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $1d8d028d9c47b73d$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $4ca03dc05bbe4be0$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $4ca03dc05bbe4be0$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $4ca03dc05bbe4be0$var$COLON;\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(/\\//) || $4ca03dc05bbe4be0$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$4ca03dc05bbe4be0$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $4ca03dc05bbe4be0$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $4ca03dc05bbe4be0$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($4ca03dc05bbe4be0$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $4ca03dc05bbe4be0$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $4ca03dc05bbe4be0$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($4ca03dc05bbe4be0$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $f6VCT$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $1d8d028d9c47b73d$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $4ca03dc05bbe4be0$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $4ca03dc05bbe4be0$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $f6VCT$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $1d8d028d9c47b73d$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $4ca03dc05bbe4be0$var$getNotFoundError(cmd);\n};\n$4ca03dc05bbe4be0$exports = $4ca03dc05bbe4be0$var$which;\n$4ca03dc05bbe4be0$var$which.sync = $4ca03dc05bbe4be0$var$whichSync;\n\n\nvar $e9929770d50e0ca3$exports = {};\n\"use strict\";\nconst $e9929770d50e0ca3$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$e9929770d50e0ca3$exports = $e9929770d50e0ca3$var$pathKey;\n// TODO: Remove this for the next major release\n$e9929770d50e0ca3$exports.default = $e9929770d50e0ca3$var$pathKey;\n\n\nfunction $51d58653c6048ffd$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $4ca03dc05bbe4be0$exports.sync(parsed.command, {\n path: env[$e9929770d50e0ca3$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $f6VCT$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $f6VCT$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $51d58653c6048ffd$var$resolveCommand(parsed) {\n return $51d58653c6048ffd$var$resolveCommandAttempt(parsed) || $51d58653c6048ffd$var$resolveCommandAttempt(parsed, true);\n}\n$51d58653c6048ffd$exports = $51d58653c6048ffd$var$resolveCommand;\n\n\nvar $14642610717c66e2$export$ae50443ffc990749;\nvar $14642610717c66e2$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $14642610717c66e2$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $14642610717c66e2$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($14642610717c66e2$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $14642610717c66e2$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($14642610717c66e2$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($14642610717c66e2$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$14642610717c66e2$export$ae50443ffc990749 = $14642610717c66e2$var$escapeCommand;\n$14642610717c66e2$export$6ea29ee575e3f5ff = $14642610717c66e2$var$escapeArgument;\n\n\nvar $572e9b86f5fc3342$exports = {};\n\"use strict\";\n\nvar $58ccbcc4db2ecd48$exports = {};\n\"use strict\";\nvar $70842f99e7c30891$exports = {};\n\"use strict\";\n$70842f99e7c30891$exports = /^#!(.*)/;\n\n\n$58ccbcc4db2ecd48$exports = (string = \"\")=>{\n const match = string.match($70842f99e7c30891$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $572e9b86f5fc3342$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $f6VCT$fs.openSync(command, \"r\");\n $f6VCT$fs.readSync(fd, buffer, 0, size, 0);\n $f6VCT$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $58ccbcc4db2ecd48$exports(buffer.toString());\n}\n$572e9b86f5fc3342$exports = $572e9b86f5fc3342$var$readShebang;\n\n\nconst $9cf15e4f01e764e1$var$isWin = process.platform === \"win32\";\nconst $9cf15e4f01e764e1$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $9cf15e4f01e764e1$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $9cf15e4f01e764e1$var$detectShebang(parsed) {\n parsed.file = $51d58653c6048ffd$exports(parsed);\n const shebang = parsed.file && $572e9b86f5fc3342$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $51d58653c6048ffd$exports(parsed);\n }\n return parsed.file;\n}\nfunction $9cf15e4f01e764e1$var$parseNonShell(parsed) {\n if (!$9cf15e4f01e764e1$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $9cf15e4f01e764e1$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$9cf15e4f01e764e1$var$isExecutableRegExp.test(commandFile);\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 = $9cf15e4f01e764e1$var$isCmdShimRegExp.test(commandFile);\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 = $f6VCT$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $14642610717c66e2$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$14642610717c66e2$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $9cf15e4f01e764e1$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $9cf15e4f01e764e1$var$parseNonShell(parsed);\n}\n$9cf15e4f01e764e1$exports = $9cf15e4f01e764e1$var$parse;\n\n\nvar $cee8c79eb01cd876$exports = {};\n\"use strict\";\nconst $cee8c79eb01cd876$var$isWin = process.platform === \"win32\";\nfunction $cee8c79eb01cd876$var$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}\nfunction $cee8c79eb01cd876$var$hookChildProcess(cp, parsed) {\n if (!$cee8c79eb01cd876$var$isWin) return;\n const originalEmit = cp.emit;\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 = $cee8c79eb01cd876$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $cee8c79eb01cd876$var$verifyENOENT(status, parsed) {\n if ($cee8c79eb01cd876$var$isWin && status === 1 && !parsed.file) return $cee8c79eb01cd876$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $cee8c79eb01cd876$var$verifyENOENTSync(status, parsed) {\n if ($cee8c79eb01cd876$var$isWin && status === 1 && !parsed.file) return $cee8c79eb01cd876$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$cee8c79eb01cd876$exports = {\n hookChildProcess: $cee8c79eb01cd876$var$hookChildProcess,\n verifyENOENT: $cee8c79eb01cd876$var$verifyENOENT,\n verifyENOENTSync: $cee8c79eb01cd876$var$verifyENOENTSync,\n notFoundError: $cee8c79eb01cd876$var$notFoundError\n};\n\n\nfunction $338cd3297632d74f$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $9cf15e4f01e764e1$exports(command, args, options);\n // Spawn the child process\n const spawned = $f6VCT$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $cee8c79eb01cd876$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $338cd3297632d74f$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $9cf15e4f01e764e1$exports(command, args, options);\n // Spawn the child process\n const result = $f6VCT$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $cee8c79eb01cd876$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$338cd3297632d74f$exports = $338cd3297632d74f$var$spawn;\n$338cd3297632d74f$exports.spawn = $338cd3297632d74f$var$spawn;\n$338cd3297632d74f$exports.sync = $338cd3297632d74f$var$spawnSync;\n$338cd3297632d74f$exports._parse = $9cf15e4f01e764e1$exports;\n$338cd3297632d74f$exports._enoent = $cee8c79eb01cd876$exports;\n\n\nfunction $ee7a5bcd6c625a3d$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $24a6dd14ab43103a$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nconst $9d3675cb147a637c$export$62a298cbef08d65c = ({ cwd: cwd = (0, ($parcel$interopDefault($f6VCT$nodeprocess))).cwd(), path: pathOption = (0, ($parcel$interopDefault($f6VCT$nodeprocess))).env[(0, $24a6dd14ab43103a$export$2e2bcd8739ae039)()], preferLocal: preferLocal = true, execPath: execPath = (0, ($parcel$interopDefault($f6VCT$nodeprocess))).execPath, addExecPath: addExecPath = true } = {})=>{\n const cwdString = cwd instanceof URL ? (0, $f6VCT$nodeurl.fileURLToPath)(cwd) : cwd;\n const cwdPath = (0, ($parcel$interopDefault($f6VCT$nodepath))).resolve(cwdString);\n const result = [];\n if (preferLocal) $9d3675cb147a637c$var$applyPreferLocal(result, cwdPath);\n if (addExecPath) $9d3675cb147a637c$var$applyExecPath(result, execPath, cwdPath);\n return [\n ...result,\n pathOption\n ].join((0, ($parcel$interopDefault($f6VCT$nodepath))).delimiter);\n};\nconst $9d3675cb147a637c$var$applyPreferLocal = (result, cwdPath)=>{\n let previous;\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($f6VCT$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($f6VCT$nodepath))).resolve(cwdPath, \"..\");\n }\n};\n// Ensure the running `node` binary is used\nconst $9d3675cb147a637c$var$applyExecPath = (result, execPath, cwdPath)=>{\n const execPathString = execPath instanceof URL ? (0, $f6VCT$nodeurl.fileURLToPath)(execPath) : execPath;\n result.push((0, ($parcel$interopDefault($f6VCT$nodepath))).resolve(cwdPath, execPathString, \"..\"));\n};\nconst $9d3675cb147a637c$export$340e1fbaac04248b = ({ env: env = (0, ($parcel$interopDefault($f6VCT$nodeprocess))).env, ...options } = {})=>{\n env = {\n ...env\n };\n const pathName = (0, $24a6dd14ab43103a$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[pathName];\n env[pathName] = $9d3675cb147a637c$export$62a298cbef08d65c(options);\n return env;\n};\n\n\nconst $9b3fe0562d17e106$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$9b3fe0562d17e106$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $9b3fe0562d17e106$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $9b3fe0562d17e106$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $9b3fe0562d17e106$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $9b3fe0562d17e106$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $9b3fe0562d17e106$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $9b3fe0562d17e106$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $9b3fe0562d17e106$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $9b3fe0562d17e106$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$9b3fe0562d17e106$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $9b3fe0562d17e106$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$9b3fe0562d17e106$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $9b3fe0562d17e106$var$changePrototype(to, from);\n $9b3fe0562d17e106$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $c984d454db4cce26$var$calledFunctions = new WeakMap();\nconst $c984d454db4cce26$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $c984d454db4cce26$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $9b3fe0562d17e106$export$2e2bcd8739ae039)(onetime, function_);\n $c984d454db4cce26$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$c984d454db4cce26$var$onetime.callCount = (function_)=>{\n if (!$c984d454db4cce26$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $c984d454db4cce26$var$calledFunctions.get(function_);\n};\nvar $c984d454db4cce26$export$2e2bcd8739ae039 = $c984d454db4cce26$var$onetime;\n\n\n\n\nconst $7af4a19d4aafa4ec$export$e221a98f4fd84d36 = ()=>{\n const length = $7af4a19d4aafa4ec$export$dc8812f2f8882ff4 - $7af4a19d4aafa4ec$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $7af4a19d4aafa4ec$var$getRealtimeSignal);\n};\nconst $7af4a19d4aafa4ec$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $7af4a19d4aafa4ec$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $7af4a19d4aafa4ec$var$SIGRTMIN = 34;\nconst $7af4a19d4aafa4ec$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $70775642a267d3c9$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $cd6bff0b4eba0f9d$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $7af4a19d4aafa4ec$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $70775642a267d3c9$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($cd6bff0b4eba0f9d$var$normalizeSignal);\n return signals;\n};\nconst $cd6bff0b4eba0f9d$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $f6VCT$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $be7531ef10340828$var$getSignalsByName = ()=>{\n const signals = (0, $cd6bff0b4eba0f9d$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($be7531ef10340828$var$getSignalByName));\n};\nconst $be7531ef10340828$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $be7531ef10340828$export$c3fcb39d6848c78d = $be7531ef10340828$var$getSignalsByName();\nconst $be7531ef10340828$var$getSignalsByNumber = ()=>{\n const signals = (0, $cd6bff0b4eba0f9d$export$c50078d4faa171f0)();\n const length = (0, $7af4a19d4aafa4ec$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$be7531ef10340828$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $be7531ef10340828$var$getSignalByNumber = (number, signals)=>{\n const signal = $be7531ef10340828$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $be7531ef10340828$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $f6VCT$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $be7531ef10340828$export$12f57f97a08d2468 = $be7531ef10340828$var$getSignalsByNumber();\n\n\nconst $8c592378123445eb$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $8c592378123445eb$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($f6VCT$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $be7531ef10340828$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $8c592378123445eb$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $b69cfd947fb0b8d1$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $b69cfd947fb0b8d1$var$hasAlias = (options)=>$b69cfd947fb0b8d1$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $b69cfd947fb0b8d1$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $b69cfd947fb0b8d1$var$aliases.map((alias)=>options[alias]);\n if ($b69cfd947fb0b8d1$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$b69cfd947fb0b8d1$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $b69cfd947fb0b8d1$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $b69cfd947fb0b8d1$export$889423b478ae2ba = (options)=>{\n const stdio = $b69cfd947fb0b8d1$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\nvar $6a176bc6f7b604f3$exports = {};\n// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar $6a176bc6f7b604f3$var$process = $parcel$global.process;\nconst $6a176bc6f7b604f3$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($6a176bc6f7b604f3$var$process)) $6a176bc6f7b604f3$exports = function() {\n return function() {};\n};\nelse {\n var $6a176bc6f7b604f3$var$assert = $f6VCT$assert;\n var $6a176bc6f7b604f3$var$signals = (parcelRequire(\"bJALw\"));\n var $6a176bc6f7b604f3$var$isWin = /^win/i.test($6a176bc6f7b604f3$var$process.platform);\n var $6a176bc6f7b604f3$var$EE = $f6VCT$events;\n /* istanbul ignore if */ if (typeof $6a176bc6f7b604f3$var$EE !== \"function\") $6a176bc6f7b604f3$var$EE = $6a176bc6f7b604f3$var$EE.EventEmitter;\n var $6a176bc6f7b604f3$var$emitter;\n if ($6a176bc6f7b604f3$var$process.__signal_exit_emitter__) $6a176bc6f7b604f3$var$emitter = $6a176bc6f7b604f3$var$process.__signal_exit_emitter__;\n else {\n $6a176bc6f7b604f3$var$emitter = $6a176bc6f7b604f3$var$process.__signal_exit_emitter__ = new $6a176bc6f7b604f3$var$EE();\n $6a176bc6f7b604f3$var$emitter.count = 0;\n $6a176bc6f7b604f3$var$emitter.emitted = {};\n }\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!$6a176bc6f7b604f3$var$emitter.infinite) {\n $6a176bc6f7b604f3$var$emitter.setMaxListeners(Infinity);\n $6a176bc6f7b604f3$var$emitter.infinite = true;\n }\n $6a176bc6f7b604f3$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return function() {};\n $6a176bc6f7b604f3$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($6a176bc6f7b604f3$var$loaded === false) $6a176bc6f7b604f3$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $6a176bc6f7b604f3$var$emitter.removeListener(ev, cb);\n if ($6a176bc6f7b604f3$var$emitter.listeners(\"exit\").length === 0 && $6a176bc6f7b604f3$var$emitter.listeners(\"afterexit\").length === 0) $6a176bc6f7b604f3$var$unload();\n };\n $6a176bc6f7b604f3$var$emitter.on(ev, cb);\n return remove;\n };\n var $6a176bc6f7b604f3$var$unload = function unload() {\n if (!$6a176bc6f7b604f3$var$loaded || !$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\n $6a176bc6f7b604f3$var$loaded = false;\n $6a176bc6f7b604f3$var$signals.forEach(function(sig) {\n try {\n $6a176bc6f7b604f3$var$process.removeListener(sig, $6a176bc6f7b604f3$var$sigListeners[sig]);\n } catch (er) {}\n });\n $6a176bc6f7b604f3$var$process.emit = $6a176bc6f7b604f3$var$originalProcessEmit;\n $6a176bc6f7b604f3$var$process.reallyExit = $6a176bc6f7b604f3$var$originalProcessReallyExit;\n $6a176bc6f7b604f3$var$emitter.count -= 1;\n };\n $6a176bc6f7b604f3$exports.unload = $6a176bc6f7b604f3$var$unload;\n var $6a176bc6f7b604f3$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($6a176bc6f7b604f3$var$emitter.emitted[event]) return;\n $6a176bc6f7b604f3$var$emitter.emitted[event] = true;\n $6a176bc6f7b604f3$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $6a176bc6f7b604f3$var$sigListeners = {};\n $6a176bc6f7b604f3$var$signals.forEach(function(sig) {\n $6a176bc6f7b604f3$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\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 = $6a176bc6f7b604f3$var$process.listeners(sig);\n if (listeners.length === $6a176bc6f7b604f3$var$emitter.count) {\n $6a176bc6f7b604f3$var$unload();\n $6a176bc6f7b604f3$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($6a176bc6f7b604f3$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$process.kill($6a176bc6f7b604f3$var$process.pid, sig);\n }\n };\n });\n $6a176bc6f7b604f3$exports.signals = function() {\n return $6a176bc6f7b604f3$var$signals;\n };\n var $6a176bc6f7b604f3$var$loaded = false;\n var $6a176bc6f7b604f3$var$load = function load() {\n if ($6a176bc6f7b604f3$var$loaded || !$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\n $6a176bc6f7b604f3$var$loaded = true;\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 $6a176bc6f7b604f3$var$emitter.count += 1;\n $6a176bc6f7b604f3$var$signals = $6a176bc6f7b604f3$var$signals.filter(function(sig) {\n try {\n $6a176bc6f7b604f3$var$process.on(sig, $6a176bc6f7b604f3$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $6a176bc6f7b604f3$var$process.emit = $6a176bc6f7b604f3$var$processEmit;\n $6a176bc6f7b604f3$var$process.reallyExit = $6a176bc6f7b604f3$var$processReallyExit;\n };\n $6a176bc6f7b604f3$exports.load = $6a176bc6f7b604f3$var$load;\n var $6a176bc6f7b604f3$var$originalProcessReallyExit = $6a176bc6f7b604f3$var$process.reallyExit;\n var $6a176bc6f7b604f3$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$6a176bc6f7b604f3$var$processOk($parcel$global.process)) return;\n $6a176bc6f7b604f3$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $6a176bc6f7b604f3$var$emit(\"exit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"afterexit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$originalProcessReallyExit.call($6a176bc6f7b604f3$var$process, $6a176bc6f7b604f3$var$process.exitCode);\n };\n var $6a176bc6f7b604f3$var$originalProcessEmit = $6a176bc6f7b604f3$var$process.emit;\n var $6a176bc6f7b604f3$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $6a176bc6f7b604f3$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $6a176bc6f7b604f3$var$process.exitCode = arg;\n var ret = $6a176bc6f7b604f3$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"exit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ $6a176bc6f7b604f3$var$emit(\"afterexit\", $6a176bc6f7b604f3$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $6a176bc6f7b604f3$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $18727f3f5cea80c3$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $18727f3f5cea80c3$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $18727f3f5cea80c3$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $18727f3f5cea80c3$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$18727f3f5cea80c3$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $18727f3f5cea80c3$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $18727f3f5cea80c3$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$18727f3f5cea80c3$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $18727f3f5cea80c3$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($f6VCT$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $18727f3f5cea80c3$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $18727f3f5cea80c3$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $18727f3f5cea80c3$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $18727f3f5cea80c3$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $18727f3f5cea80c3$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $18727f3f5cea80c3$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $18727f3f5cea80c3$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $18727f3f5cea80c3$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($6a176bc6f7b604f3$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $f2f7667534589a53$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $f2f7667534589a53$export$b58a61c52edb4f66(stream) {\n return $f2f7667534589a53$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $f2f7667534589a53$export$ac613ff475b69d05(stream) {\n return $f2f7667534589a53$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $f2f7667534589a53$export$f92d8ccfaec172d4(stream) {\n return $f2f7667534589a53$export$b58a61c52edb4f66(stream) && $f2f7667534589a53$export$ac613ff475b69d05(stream);\n}\nfunction $f2f7667534589a53$export$3053cdc6f2e088fd(stream) {\n return $f2f7667534589a53$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $82b93146a5d3dcf5$var$isExecaChildProcess = (target)=>target instanceof (0, $f6VCT$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $82b93146a5d3dcf5$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $f6VCT$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $f2f7667534589a53$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$82b93146a5d3dcf5$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $f2f7667534589a53$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $82b93146a5d3dcf5$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $82b93146a5d3dcf5$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $82b93146a5d3dcf5$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $82b93146a5d3dcf5$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\nvar $3f8980e86d9447d4$exports = {};\n\"use strict\";\n\nvar $3f8980e86d9447d4$require$BufferConstants = $f6VCT$buffer.constants;\n\n\nvar $3f8980e86d9447d4$require$promisify = $f6VCT$util.promisify;\nvar $2791e057b208c733$exports = {};\n\"use strict\";\n\nvar $2791e057b208c733$require$PassThroughStream = $f6VCT$stream.PassThrough;\n$2791e057b208c733$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $2791e057b208c733$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $3f8980e86d9447d4$var$streamPipelinePromisified = $3f8980e86d9447d4$require$promisify($f6VCT$stream.pipeline);\nclass $3f8980e86d9447d4$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $3f8980e86d9447d4$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $2791e057b208c733$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $3f8980e86d9447d4$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $3f8980e86d9447d4$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $3f8980e86d9447d4$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$3f8980e86d9447d4$exports = $3f8980e86d9447d4$var$getStream;\n$3f8980e86d9447d4$exports.buffer = (stream, options)=>$3f8980e86d9447d4$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$3f8980e86d9447d4$exports.array = (stream, options)=>$3f8980e86d9447d4$var$getStream(stream, {\n ...options,\n array: true\n });\n$3f8980e86d9447d4$exports.MaxBufferError = $3f8980e86d9447d4$var$MaxBufferError;\n\n\nvar $093c506afc3bd46a$exports = {};\n\"use strict\";\n\nvar $093c506afc3bd46a$require$PassThrough = $f6VCT$stream.PassThrough;\n$093c506afc3bd46a$exports = function() {\n var sources = [];\n var output = new $093c506afc3bd46a$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\nconst $76c1688a524531aa$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $76c1688a524531aa$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $76c1688a524531aa$var$validateInputOptions(input);\n return (0, $f6VCT$nodefs.readFileSync)(inputFile);\n};\nconst $76c1688a524531aa$export$7f2f9b6457412b41 = (options)=>{\n const input = $76c1688a524531aa$var$getInputSync(options);\n if ((0, $f2f7667534589a53$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $76c1688a524531aa$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $76c1688a524531aa$var$validateInputOptions(input);\n return (0, $f6VCT$nodefs.createReadStream)(inputFile);\n};\nconst $76c1688a524531aa$export$412508d679148d5c = (spawned, options)=>{\n const input = $76c1688a524531aa$var$getInput(options);\n if (input === undefined) return;\n if ((0, $f2f7667534589a53$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $76c1688a524531aa$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($093c506afc3bd46a$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $76c1688a524531aa$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $76c1688a524531aa$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($3f8980e86d9447d4$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($3f8980e86d9447d4$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $76c1688a524531aa$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $76c1688a524531aa$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $76c1688a524531aa$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $76c1688a524531aa$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $76c1688a524531aa$var$getBufferedData(stdout, stdoutPromise),\n $76c1688a524531aa$var$getBufferedData(stderr, stderrPromise),\n $76c1688a524531aa$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $2576d303eec689e3$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $2576d303eec689e3$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($2576d303eec689e3$var$nativePromisePrototype, property)\n ]);\nconst $2576d303eec689e3$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $2576d303eec689e3$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $2576d303eec689e3$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $e6a747eb964f6e69$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $e6a747eb964f6e69$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $e6a747eb964f6e69$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $e6a747eb964f6e69$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $e6a747eb964f6e69$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($e6a747eb964f6e69$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $e6a747eb964f6e69$export$ab3db8fe5ebf3a1 = (file, args)=>$e6a747eb964f6e69$var$normalizeArgs(file, args).join(\" \");\nconst $e6a747eb964f6e69$export$9d3099014bd914f8 = (file, args)=>$e6a747eb964f6e69$var$normalizeArgs(file, args).map((arg)=>$e6a747eb964f6e69$var$escapeArg(arg)).join(\" \");\nconst $e6a747eb964f6e69$var$SPACES_REGEXP = / +/g;\nconst $e6a747eb964f6e69$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($e6a747eb964f6e69$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $e6a747eb964f6e69$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $f6VCT$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $f6VCT$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $e6a747eb964f6e69$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $e6a747eb964f6e69$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($e6a747eb964f6e69$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $e6a747eb964f6e69$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$e6a747eb964f6e69$var$parseExpression(expression)) : [\n $e6a747eb964f6e69$var$parseExpression(expression)\n ];\n return $e6a747eb964f6e69$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $e6a747eb964f6e69$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $e6a747eb964f6e69$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $8eebaaa7bb15f5cd$export$38bb3c1fbaa0bdcf = (0, $f6VCT$nodeutil.debuglog)(\"execa\").enabled;\nconst $8eebaaa7bb15f5cd$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $8eebaaa7bb15f5cd$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$8eebaaa7bb15f5cd$var$padField(date.getHours(), 2)}:${$8eebaaa7bb15f5cd$var$padField(date.getMinutes(), 2)}:${$8eebaaa7bb15f5cd$var$padField(date.getSeconds(), 2)}.${$8eebaaa7bb15f5cd$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $8eebaaa7bb15f5cd$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($f6VCT$nodeprocess))).stderr.write(`[${$8eebaaa7bb15f5cd$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $f4ee3a29e1d521be$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $f4ee3a29e1d521be$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($f6VCT$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $9d3675cb147a637c$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $f4ee3a29e1d521be$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($338cd3297632d74f$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $f4ee3a29e1d521be$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($f6VCT$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($f6VCT$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $8eebaaa7bb15f5cd$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $f4ee3a29e1d521be$var$getEnv(options);\n options.stdio = (0, $b69cfd947fb0b8d1$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($f6VCT$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($f6VCT$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $f4ee3a29e1d521be$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $f6VCT$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $ee7a5bcd6c625a3d$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $f4ee3a29e1d521be$export$db6b1668e3758717(file, args, options) {\n const parsed = $f4ee3a29e1d521be$var$handleArguments(file, args, options);\n const command = (0, $e6a747eb964f6e69$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $e6a747eb964f6e69$export$9d3099014bd914f8)(file, args);\n (0, $8eebaaa7bb15f5cd$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $18727f3f5cea80c3$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($f6VCT$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($f6VCT$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $2576d303eec689e3$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $2576d303eec689e3$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $18727f3f5cea80c3$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $18727f3f5cea80c3$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $18727f3f5cea80c3$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $18727f3f5cea80c3$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $76c1688a524531aa$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $f4ee3a29e1d521be$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $f4ee3a29e1d521be$var$handleOutput(parsed.options, stderrResult);\n const all = $f4ee3a29e1d521be$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $c984d454db4cce26$export$2e2bcd8739ae039)(handlePromise);\n (0, $76c1688a524531aa$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $76c1688a524531aa$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $82b93146a5d3dcf5$export$14becf8d91886424)(spawned);\n (0, $2576d303eec689e3$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $f4ee3a29e1d521be$export$28823a701bb5a12d(file, args, options) {\n const parsed = $f4ee3a29e1d521be$var$handleArguments(file, args, options);\n const command = (0, $e6a747eb964f6e69$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $e6a747eb964f6e69$export$9d3099014bd914f8)(file, args);\n (0, $8eebaaa7bb15f5cd$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $76c1688a524531aa$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($f6VCT$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $f4ee3a29e1d521be$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $f4ee3a29e1d521be$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $8c592378123445eb$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $f4ee3a29e1d521be$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $f4ee3a29e1d521be$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$f4ee3a29e1d521be$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $f4ee3a29e1d521be$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $f4ee3a29e1d521be$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $e6a747eb964f6e69$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $f4ee3a29e1d521be$export$db6b1668e3758717(file, args, $f4ee3a29e1d521be$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $e6a747eb964f6e69$export$4a6ee54de9b0f25d)(templates, expressions);\n return $f4ee3a29e1d521be$export$28823a701bb5a12d(file, args, $f4ee3a29e1d521be$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $f4ee3a29e1d521be$export$3d8c2f653ac9d0b9 = $f4ee3a29e1d521be$var$create$();\nfunction $f4ee3a29e1d521be$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $e6a747eb964f6e69$export$78bcee23e0849f6a)(command);\n return $f4ee3a29e1d521be$export$db6b1668e3758717(file, args, options);\n}\nfunction $f4ee3a29e1d521be$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $e6a747eb964f6e69$export$78bcee23e0849f6a)(command);\n return $f4ee3a29e1d521be$export$28823a701bb5a12d(file, args, options);\n}\nfunction $f4ee3a29e1d521be$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $b69cfd947fb0b8d1$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($f6VCT$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($f6VCT$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $f4ee3a29e1d521be$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\nvar $e354e8ac503df91c$exports = {};\nvar $0d005acc9f1cecf2$exports = {};\n\n$parcel$export($0d005acc9f1cecf2$exports, \"isexe\", () => $0d005acc9f1cecf2$export$35888d6059c232d4);\n$parcel$export($0d005acc9f1cecf2$exports, \"sync\", () => $0d005acc9f1cecf2$export$92d6409d68f0739a);\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */ \n\nvar $6vN83 = parcelRequire(\"6vN83\");\nconst $0d005acc9f1cecf2$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $0d005acc9f1cecf2$var$checkStat(await (0, $6vN83.stat)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $0d005acc9f1cecf2$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $0d005acc9f1cecf2$var$checkStat((0, $f6VCT$fs.statSync)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $0d005acc9f1cecf2$var$checkStat = (stat, options)=>stat.isFile() && $0d005acc9f1cecf2$var$checkMode(stat, options);\nconst $0d005acc9f1cecf2$var$checkMode = (stat, options)=>{\n var _process_getuid, _process, _process_getgroups, _process1, _process_getgid, _process2;\n var _options_uid;\n const myUid = (_options_uid = options.uid) !== null && _options_uid !== void 0 ? _options_uid : (_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process);\n var _options_groups, _ref;\n const myGroups = (_ref = (_options_groups = options.groups) !== null && _options_groups !== void 0 ? _options_groups : (_process_getgroups = (_process1 = process).getgroups) === null || _process_getgroups === void 0 ? void 0 : _process_getgroups.call(_process1)) !== null && _ref !== void 0 ? _ref : [];\n var _options_gid, _ref1;\n const myGid = (_ref1 = (_options_gid = options.gid) !== null && _options_gid !== void 0 ? _options_gid : (_process_getgid = (_process2 = process).getgid) === null || _process_getgid === void 0 ? void 0 : _process_getgid.call(_process2)) !== null && _ref1 !== void 0 ? _ref1 : myGroups[0];\n if (myUid === undefined || myGid === undefined) throw new Error(\"cannot get uid or gid\");\n const groups = new Set([\n myGid,\n ...myGroups\n ]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt(\"100\", 8);\n const g = parseInt(\"010\", 8);\n const o = parseInt(\"001\", 8);\n const ug = u | g;\n return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);\n};\n\n\nvar $03c16384f532a838$exports = {};\n\n$parcel$export($03c16384f532a838$exports, \"isexe\", () => $03c16384f532a838$export$35888d6059c232d4);\n$parcel$export($03c16384f532a838$exports, \"sync\", () => $03c16384f532a838$export$92d6409d68f0739a);\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */ \n\nvar $6vN83 = parcelRequire(\"6vN83\");\nconst $03c16384f532a838$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $03c16384f532a838$var$checkStat(await (0, $6vN83.stat)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $03c16384f532a838$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $03c16384f532a838$var$checkStat((0, $f6VCT$fs.statSync)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $03c16384f532a838$var$checkPathExt = (path, options)=>{\n const { pathExt: pathExt = process.env.PATHEXT || \"\" } = options;\n const peSplit = pathExt.split(\";\");\n if (peSplit.indexOf(\"\") !== -1) return true;\n for(let i = 0; i < peSplit.length; i++){\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) return true;\n }\n return false;\n};\nconst $03c16384f532a838$var$checkStat = (stat, path, options)=>stat.isFile() && $03c16384f532a838$var$checkPathExt(path, options);\n\n\n\n\nconst $8135b918ae2698c2$var$platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst $8135b918ae2698c2$var$impl = $8135b918ae2698c2$var$platform === \"win32\" ? $03c16384f532a838$exports : $0d005acc9f1cecf2$exports;\nconst $8135b918ae2698c2$export$35888d6059c232d4 = $8135b918ae2698c2$var$impl.isexe;\nconst $8135b918ae2698c2$export$92d6409d68f0739a = $8135b918ae2698c2$var$impl.sync;\n\n\nvar $e354e8ac503df91c$require$isexe = $8135b918ae2698c2$export$35888d6059c232d4;\nvar $e354e8ac503df91c$require$isexeSync = $8135b918ae2698c2$export$92d6409d68f0739a;\n\nvar $e354e8ac503df91c$require$join = $f6VCT$path.join;\nvar $e354e8ac503df91c$require$delimiter = $f6VCT$path.delimiter;\nvar $e354e8ac503df91c$require$sep = $f6VCT$path.sep;\nvar $e354e8ac503df91c$require$posix = $f6VCT$path.posix;\nconst $e354e8ac503df91c$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $e354e8ac503df91c$var$rSlash = new RegExp(`[${$e354e8ac503df91c$require$posix.sep}${$e354e8ac503df91c$require$sep === $e354e8ac503df91c$require$posix.sep ? \"\" : $e354e8ac503df91c$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $e354e8ac503df91c$var$rRel = new RegExp(`^\\\\.${$e354e8ac503df91c$var$rSlash.source}`);\nconst $e354e8ac503df91c$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $e354e8ac503df91c$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $e354e8ac503df91c$require$delimiter })=>{\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($e354e8ac503df91c$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$e354e8ac503df91c$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($e354e8ac503df91c$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item)=>[\n item,\n item.toLowerCase()\n ]);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $e354e8ac503df91c$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $e354e8ac503df91c$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $e354e8ac503df91c$require$join(pathPart, cmd);\n};\nconst $e354e8ac503df91c$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $e354e8ac503df91c$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $e354e8ac503df91c$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $e354e8ac503df91c$require$isexe(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $e354e8ac503df91c$var$getNotFoundError(cmd);\n};\nconst $e354e8ac503df91c$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $e354e8ac503df91c$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $e354e8ac503df91c$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $e354e8ac503df91c$require$isexeSync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $e354e8ac503df91c$var$getNotFoundError(cmd);\n};\n$e354e8ac503df91c$exports = $e354e8ac503df91c$var$which;\n$e354e8ac503df91c$var$which.sync = $e354e8ac503df91c$var$whichSync;\n\n\n/** The cached powershell path */ let $6e1462338680af59$var$powershell;\nfunction $6e1462338680af59$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $f4ee3a29e1d521be$export$db6b1668e3758717($6e1462338680af59$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $6e1462338680af59$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $f4ee3a29e1d521be$export$28823a701bb5a12d($6e1462338680af59$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $6e1462338680af59$export$4dfdd3964d242d20() {\n if ($6e1462338680af59$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $6e1462338680af59$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $6e1462338680af59$var$powershell = maybePowerShell;\n }\n if ($6e1462338680af59$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $6e1462338680af59$var$powershell;\n}\n\n\n\n\n\nfunction $286498bcaea3fca1$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $286498bcaea3fca1$export$e3140dc7d0c35e48() {\n var _process_getuid, _process;\n // TODO not all CI systems are root\n return ((_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process)) === 0 || Boolean(process.env.CI);\n}\nfunction $286498bcaea3fca1$export$316200228f28b8ce() {\n return $286498bcaea3fca1$export$e3140dc7d0c35e48() && $286498bcaea3fca1$export$7683bf1311d8252();\n}\nfunction $286498bcaea3fca1$export$d976d47922ae9667(command) {\n if ($286498bcaea3fca1$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $286498bcaea3fca1$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $286498bcaea3fca1$export$58f152936f209932(program, args = [], execOptions = $286498bcaea3fca1$export$151aeb0ade3989e1) {\n if ($286498bcaea3fca1$export$316200228f28b8ce()) {\n const command = $286498bcaea3fca1$var$getSudoCommand(program, args);\n return (0, $f4ee3a29e1d521be$export$5c60dbe76a54db4)(command, execOptions);\n } else return (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(program, $286498bcaea3fca1$var$quote(args), execOptions);\n}\nfunction $286498bcaea3fca1$export$351270479e2eef26(program, args = [], execOptions = $286498bcaea3fca1$export$151aeb0ade3989e1) {\n if ($286498bcaea3fca1$export$316200228f28b8ce()) {\n const command = $286498bcaea3fca1$var$getSudoCommand(program, args);\n return (0, $f4ee3a29e1d521be$export$eb9ed1222071f2f6)(command, execOptions);\n } else return (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(program, $286498bcaea3fca1$var$quote(args), execOptions);\n}\nfunction $286498bcaea3fca1$var$getSudoCommand(program, args) {\n return `sudo ${$286498bcaea3fca1$var$quote([\n program,\n ...args\n ]).join(\" \")}`;\n}\nfunction $286498bcaea3fca1$var$quote(strings) {\n return strings.map((str)=>`'${str}'`);\n}\n\n\n// From `is-admin`: updated execa\n\n// https://stackoverflow.com/a/28268802\nasync function $df4760215311d0ae$var$testFltmc() {\n try {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $df4760215311d0ae$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n var _process_env_systemdrive;\n // https://stackoverflow.com/a/21295806/1641422\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"fsutil\", [\n \"dirty\",\n \"query\",\n (_process_env_systemdrive = process.env.systemdrive) !== null && _process_env_systemdrive !== void 0 ? _process_env_systemdrive : \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $df4760215311d0ae$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $a94bc52cd89bc3f2$export$36ad181701cee597 = (0, $df4760215311d0ae$export$2e2bcd8739ae039);\nconst $a94bc52cd89bc3f2$export$2ebf12717e6b5bb8 = (0, $286498bcaea3fca1$export$e3140dc7d0c35e48);\nfunction $a94bc52cd89bc3f2$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $a94bc52cd89bc3f2$export$36ad181701cee597();\n else return (0, $286498bcaea3fca1$export$e3140dc7d0c35e48)();\n}\n\n\n\n\nasync function $410f384959a3ffde$export$4718e061a205eab(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $286498bcaea3fca1$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, ($parcel$interopDefault($f6VCT$fs))).statSync(path).isDirectory();\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], (0, $286498bcaea3fca1$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nvar $d414f495e7962b80$exports = {};\n\"use strict\";\n\nvar $cgM1r = parcelRequire(\"cgM1r\");\nvar $4003dee082a039c0$exports = {};\n\"use strict\";\n\nvar $lFuzu = parcelRequire(\"lFuzu\");\n$4003dee082a039c0$exports = function(optsLength, fnLength, isAsync) {\n var length;\n if (isNaN(optsLength)) {\n length = fnLength;\n if (!(length >= 0)) return 1;\n if (isAsync && length) return length - 1;\n return length;\n }\n if (optsLength === false) return false;\n return $lFuzu(optsLength);\n};\n\n\nvar $da706bbdf7a8ed40$exports = {};\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n\nvar $8KFbm = parcelRequire(\"8KFbm\");\n\nvar $e4Lgg = parcelRequire(\"e4Lgg\");\nvar $750f9aad602213b1$exports = {};\n/* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */ \"use strict\";\nvar $3dabb4ee4cfefd0f$exports = {};\n\"use strict\";\n\nvar $kg6aw = parcelRequire(\"kg6aw\");\nvar $479dcc84a609c479$exports = {};\n\"use strict\";\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $479dcc84a609c479$var$map = {\n function: true,\n object: true\n};\n$479dcc84a609c479$exports = function(value) {\n return $cJ0vr(value) && $479dcc84a609c479$var$map[typeof value] || false;\n};\n\n\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\nvar $3dabb4ee4cfefd0f$var$captureStackTrace = Error.captureStackTrace;\n$3dabb4ee4cfefd0f$exports = function(message /*, code, ext*/ ) {\n var err = new Error(message), code = arguments[1], ext = arguments[2];\n if (!$cJ0vr(ext)) {\n if ($479dcc84a609c479$exports(code)) {\n ext = code;\n code = null;\n }\n }\n if ($cJ0vr(ext)) $kg6aw(err, ext);\n if ($cJ0vr(code)) err.code = code;\n if ($3dabb4ee4cfefd0f$var$captureStackTrace) $3dabb4ee4cfefd0f$var$captureStackTrace(err, $3dabb4ee4cfefd0f$exports);\n return err;\n};\n\n\n\nvar $2c0jI = parcelRequire(\"2c0jI\");\n\nvar $9xcfl = parcelRequire(\"9xcfl\");\n\nvar $9E9rT = parcelRequire(\"9E9rT\");\nvar $750f9aad602213b1$require$ee = $9E9rT.methods;\nvar $c1e4f01ed72ae6c6$exports = {};\n\"use strict\";\nvar $68370433a1f392cd$exports = {};\n\"use strict\";\n\nvar $lCzSe = parcelRequire(\"lCzSe\");\nvar $68370433a1f392cd$var$isArray = Array.isArray;\n$68370433a1f392cd$exports = function(arrayLike) {\n return $68370433a1f392cd$var$isArray(arrayLike) ? arrayLike : $lCzSe(arrayLike);\n};\n\n\n\nvar $cJ0vr = parcelRequire(\"cJ0vr\");\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\nvar $c1e4f01ed72ae6c6$var$slice = Array.prototype.slice, $c1e4f01ed72ae6c6$var$resolveArgs;\n$c1e4f01ed72ae6c6$var$resolveArgs = function(args) {\n return this.map(function(resolve, i) {\n return resolve ? resolve(args[i]) : args[i];\n }).concat($c1e4f01ed72ae6c6$var$slice.call(args, this.length));\n};\n$c1e4f01ed72ae6c6$exports = function(resolvers) {\n resolvers = $68370433a1f392cd$exports(resolvers);\n resolvers.forEach(function(resolve) {\n if ($cJ0vr(resolve)) $czzoJ(resolve);\n });\n return $c1e4f01ed72ae6c6$var$resolveArgs.bind(resolvers);\n};\n\n\nvar $69ccd84652ac2a4d$exports = {};\n\"use strict\";\n\nvar $czzoJ = parcelRequire(\"czzoJ\");\n$69ccd84652ac2a4d$exports = function(userNormalizer) {\n var normalizer;\n if (typeof userNormalizer === \"function\") return {\n set: userNormalizer,\n get: userNormalizer\n };\n normalizer = {\n get: $czzoJ(userNormalizer.get)\n };\n if (userNormalizer.set !== undefined) {\n normalizer.set = $czzoJ(userNormalizer.set);\n if (userNormalizer.delete) normalizer.delete = $czzoJ(userNormalizer.delete);\n if (userNormalizer.clear) normalizer.clear = $czzoJ(userNormalizer.clear);\n return normalizer;\n }\n normalizer.set = normalizer.get;\n return normalizer;\n};\n\n\nvar $750f9aad602213b1$var$apply = Function.prototype.apply, $750f9aad602213b1$var$call = Function.prototype.call, $750f9aad602213b1$var$create = Object.create, $750f9aad602213b1$var$defineProperties = Object.defineProperties, $750f9aad602213b1$var$on = $750f9aad602213b1$require$ee.on, $750f9aad602213b1$var$emit = $750f9aad602213b1$require$ee.emit;\n$750f9aad602213b1$exports = function(original, length, options) {\n var cache = $750f9aad602213b1$var$create(null), conf, memLength, get, set, del, clear, extDel, extGet, extHas, normalizer, getListeners, setListeners, deleteListeners, memoized, resolve;\n if (length !== false) memLength = length;\n else if (isNaN(original.length)) memLength = 1;\n else memLength = original.length;\n if (options.normalizer) {\n normalizer = $69ccd84652ac2a4d$exports(options.normalizer);\n get = normalizer.get;\n set = normalizer.set;\n del = normalizer.delete;\n clear = normalizer.clear;\n }\n if (options.resolvers != null) resolve = $c1e4f01ed72ae6c6$exports(options.resolvers);\n if (get) memoized = $2c0jI(function(arg) {\n var id, result, args = arguments;\n if (resolve) args = resolve(args);\n id = get(args);\n if (id !== null) {\n if (hasOwnProperty.call(cache, id)) {\n if (getListeners) conf.emit(\"get\", id, args, this);\n return cache[id];\n }\n }\n if (args.length === 1) result = $750f9aad602213b1$var$call.call(original, this, args[0]);\n else result = $750f9aad602213b1$var$apply.call(original, this, args);\n if (id === null) {\n id = get(args);\n if (id !== null) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n id = set(args);\n } else if (hasOwnProperty.call(cache, id)) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache[id] = result;\n if (setListeners) conf.emit(\"set\", id, null, result);\n return result;\n }, memLength);\n else if (length === 0) memoized = function() {\n var result;\n if (hasOwnProperty.call(cache, \"data\")) {\n if (getListeners) conf.emit(\"get\", \"data\", arguments, this);\n return cache.data;\n }\n if (arguments.length) result = $750f9aad602213b1$var$apply.call(original, this, arguments);\n else result = $750f9aad602213b1$var$call.call(original, this);\n if (hasOwnProperty.call(cache, \"data\")) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache.data = result;\n if (setListeners) conf.emit(\"set\", \"data\", null, result);\n return result;\n };\n else memoized = function(arg) {\n var result, args = arguments, id;\n if (resolve) args = resolve(arguments);\n id = String(args[0]);\n if (hasOwnProperty.call(cache, id)) {\n if (getListeners) conf.emit(\"get\", id, args, this);\n return cache[id];\n }\n if (args.length === 1) result = $750f9aad602213b1$var$call.call(original, this, args[0]);\n else result = $750f9aad602213b1$var$apply.call(original, this, args);\n if (hasOwnProperty.call(cache, id)) throw $3dabb4ee4cfefd0f$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache[id] = result;\n if (setListeners) conf.emit(\"set\", id, null, result);\n return result;\n };\n conf = {\n original: original,\n memoized: memoized,\n profileName: options.profileName,\n get: function(args) {\n if (resolve) args = resolve(args);\n if (get) return get(args);\n return String(args[0]);\n },\n has: function(id) {\n return hasOwnProperty.call(cache, id);\n },\n delete: function(id) {\n var result;\n if (!hasOwnProperty.call(cache, id)) return;\n if (del) del(id);\n result = cache[id];\n delete cache[id];\n if (deleteListeners) conf.emit(\"delete\", id, result);\n },\n clear: function() {\n var oldCache = cache;\n if (clear) clear();\n cache = $750f9aad602213b1$var$create(null);\n conf.emit(\"clear\", oldCache);\n },\n on: function(type, listener) {\n if (type === \"get\") getListeners = true;\n else if (type === \"set\") setListeners = true;\n else if (type === \"delete\") deleteListeners = true;\n return $750f9aad602213b1$var$on.call(this, type, listener);\n },\n emit: $750f9aad602213b1$var$emit,\n updateEnv: function() {\n original = conf.original;\n }\n };\n if (get) extDel = $2c0jI(function(arg) {\n var id, args = arguments;\n if (resolve) args = resolve(args);\n id = get(args);\n if (id === null) return;\n conf.delete(id);\n }, memLength);\n else if (length === 0) extDel = function() {\n return conf.delete(\"data\");\n };\n else extDel = function(arg) {\n if (resolve) arg = resolve(arguments)[0];\n return conf.delete(arg);\n };\n extGet = $2c0jI(function() {\n var id, args = arguments;\n if (length === 0) return cache.data;\n if (resolve) args = resolve(args);\n if (get) id = get(args);\n else id = String(args[0]);\n return cache[id];\n });\n extHas = $2c0jI(function() {\n var id, args = arguments;\n if (length === 0) return conf.has(\"data\");\n if (resolve) args = resolve(args);\n if (get) id = get(args);\n else id = String(args[0]);\n if (id === null) return false;\n return conf.has(id);\n });\n $750f9aad602213b1$var$defineProperties(memoized, {\n __memoized__: $9xcfl(true),\n delete: $9xcfl(extDel),\n clear: $9xcfl(conf.clear),\n _get: $9xcfl(extGet),\n _has: $9xcfl(extHas)\n });\n return conf;\n};\n\n\n\n$da706bbdf7a8ed40$exports = function self(fn /*, options */ ) {\n var options, length, conf;\n $czzoJ(fn);\n options = Object(arguments[1]);\n if (options.async && options.promise) throw new Error(\"Options 'async' and 'promise' cannot be used together\");\n // Do not memoize already memoized function\n if (hasOwnProperty.call(fn, \"__memoized__\") && !options.force) return fn;\n // Resolve length;\n length = $4003dee082a039c0$exports(options.length, fn.length, options.async && $e4Lgg.async);\n // Configure cache map\n conf = $750f9aad602213b1$exports(fn, length, options);\n // Bind eventual extensions\n $8KFbm($e4Lgg, function(extFn, name) {\n if (options[name]) extFn(options[name], conf, options);\n });\n if (self.__profiler__) self.__profiler__(conf);\n conf.updateEnv();\n return conf.memoized;\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\n$d414f495e7962b80$exports = function(fn /*, options*/ ) {\n var options = $cgM1r(arguments[1]), length;\n if (!options.normalizer) {\n length = options.length = $4003dee082a039c0$exports(options.length, fn.length, options.async);\n if (length !== 0) {\n if (options.primitive) {\n if (length === false) options.normalizer = (parcelRequire(\"2aBcN\"));\n else if (length > 1) options.normalizer = (parcelRequire(\"hAul9\"))(length);\n } else if (length === false) options.normalizer = (parcelRequire(\"7BD8r\"))();\n else if (length === 1) options.normalizer = (parcelRequire(\"61N6r\"))();\n else options.normalizer = (parcelRequire(\"hqtiJ\"))(length);\n }\n }\n // Assure extensions\n if (options.async) (parcelRequire(\"a24EK\"));\n if (options.promise) (parcelRequire(\"kIZkh\"));\n if (options.dispose) (parcelRequire(\"i7d4K\"));\n if (options.maxAge) (parcelRequire(\"b1mdU\"));\n if (options.max) (parcelRequire(\"dZT72\"));\n if (options.refCounter) (parcelRequire(\"eA2P6\"));\n return $da706bbdf7a8ed40$exports(fn, options);\n};\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\n\n\nfunction $3f4c9366e55e0917$export$3ce714bda98f65f0() {\n if ((0, $286498bcaea3fca1$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $f6VCT$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $f6VCT$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $f6VCT$os.homedir)();\n if (maybeHomeDir === \"\") return undefined;\n return maybeHomeDir;\n }\n}\nconst $3f4c9366e55e0917$var$tildeRegex = /^~(?=$|\\/|\\\\)/;\nfunction $3f4c9366e55e0917$export$8312d9eeba321950(path) {\n const maybeHomeDir = $3f4c9366e55e0917$export$3ce714bda98f65f0();\n if (maybeHomeDir === undefined) return path;\n return path.replace($3f4c9366e55e0917$var$tildeRegex, maybeHomeDir);\n}\n\n\nconst { appendFile: $0781cd81f58c9935$var$appendFile, readFile: $0781cd81f58c9935$var$readFile, writeFile: $0781cd81f58c9935$var$writeFile } = (0, $f6VCT$fs.promises);\nconst $0781cd81f58c9935$export$74e1d742a60734ba = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.bashrc\");\nasync function $0781cd81f58c9935$var$sourceRCInRc_(options) {\n const sourceRcString = options.guard === undefined ? `\\nsource \"${options.rcPath}\"\\n` : `\\n# ${options.guard}\\nif [[ \"$SOURCE_${options.guard.toUpperCase()}RC\" != 0 && -f \"${options.rcPath}\" ]]; then source \"${options.rcPath}\"; fi\\n`;\n try {\n await Promise.all([\n $0781cd81f58c9935$var$addRCHeader(options),\n $0781cd81f58c9935$var$addSourceToTargetRc(sourceRcString, (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.bashrc\")),\n $0781cd81f58c9935$var$addSourceToTargetRc(sourceRcString, (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.profile\"))\n ]);\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to add ${sourceRcString} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n}\nconst $0781cd81f58c9935$export$1ff783a3949c8b15 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($0781cd81f58c9935$var$sourceRCInRc_, {\n promise: true\n});\nasync function $0781cd81f58c9935$var$addRCHeader(options) {\n // a variable that prevents source rc from being called from .bashrc and .profile\n const rcHeader = options.guard === undefined ? \"\\n# Automatically Generated by envosman\\n\" : `\\n# Automatically Generated by envosman ${options.guard}\\nexport SOURCE_${options.guard.toUpperCase()}RC=0\\n`;\n if (await (0, $ibhuk.pathExists)(options.rcPath)) {\n const rcContent = await $0781cd81f58c9935$var$readFile(options.rcPath, \"utf8\");\n if (!rcContent.includes(rcHeader)) {\n // already executed setupCppInProfile\n await $0781cd81f58c9935$var$appendFile(options.rcPath, `\\n${rcHeader}\\n`);\n (0, $pcnv8.info)(`Added ${rcHeader} to ${options.rcPath}`);\n }\n }\n}\nasync function $0781cd81f58c9935$var$addSourceToTargetRc(sourceRcString, targetRcPath) {\n if (await (0, $ibhuk.pathExists)(targetRcPath)) {\n const bashrcContent = await $0781cd81f58c9935$var$readFile(targetRcPath, \"utf-8\");\n if (!bashrcContent.includes(sourceRcString)) {\n await $0781cd81f58c9935$var$appendFile(targetRcPath, sourceRcString);\n (0, $pcnv8.info)(`${sourceRcString} was added to ${targetRcPath}`);\n }\n }\n}\nasync function $0781cd81f58c9935$export$943913be1ba4f7ff(rcOptions) {\n if (await (0, $ibhuk.pathExists)(rcOptions.rcPath)) {\n const entries = (await $0781cd81f58c9935$var$readFile(rcOptions.rcPath, \"utf-8\")).split(\"\\n\");\n const uniqueEntries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n await $0781cd81f58c9935$var$writeFile(rcOptions.rcPath, uniqueEntries.join(\"\\n\"));\n await (0, $410f384959a3ffde$export$4718e061a205eab)(rcOptions.rcPath);\n }\n}\n\n\nvar $1a72fb4894e55601$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $1a72fb4894e55601$var$is_posix_os = $f6VCT$os.platform() !== \"win32\";\nconst $1a72fb4894e55601$var$version = $f6VCT$os.release();\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst $1a72fb4894e55601$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $1a72fb4894e55601$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$1a72fb4894e55601$exports = function(given_path) {\n return $1a72fb4894e55601$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $1a72fb4894e55601$var$should_not_escape(...$1a72fb4894e55601$var$windows_version_regex.exec($1a72fb4894e55601$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\nvar $2eb087131530c385$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"sOzdu\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $2eb087131530c385$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($2eb087131530c385$exports);\n\n\nfunction $d2308b29dddfbf83$export$4148cf4a40af9f34(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($1a72fb4894e55601$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($2eb087131530c385$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\n\n\nconst { appendFile: $c88c57c2002da789$var$appendFile } = (0, $f6VCT$fs.promises);\nasync function $c88c57c2002da789$export$f63d3080ce25e0fd(name, valGiven, givenOptions = {}) {\n const options = {\n escapeSpace: false,\n overwrite: true,\n rcPath: (0, $0781cd81f58c9935$export$74e1d742a60734ba),\n ...givenOptions\n };\n const val = (0, $d2308b29dddfbf83$export$4148cf4a40af9f34)(valGiven !== null && valGiven !== void 0 ? valGiven : \"\", options.escapeSpace);\n try {\n if (0, $dKklS.GITHUB_ACTIONS) try {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n (0, $pcnv8.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $k1l4q.exportVariable)(name, val);\n } catch (err) {\n (0, $pcnv8.error)(err);\n await $c88c57c2002da789$var$addEnvSystem(name, val, options);\n }\n else await $c88c57c2002da789$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $pcnv8.error)(`${err}\\nFailed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nasync function $c88c57c2002da789$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven !== null && valGiven !== void 0 ? valGiven : \"\";\n switch(process.platform){\n case \"win32\":\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n (0, $pcnv8.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $6e1462338680af59$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $pcnv8.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await (0, $0781cd81f58c9935$export$1ff783a3949c8b15)(options);\n if (!options.overwrite) {\n await $c88c57c2002da789$var$appendFile(options.rcPath, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $pcnv8.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${options.rcPath}`);\n } else {\n await $c88c57c2002da789$var$appendFile(options.rcPath, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $pcnv8.info)(`${name}=\"${val}\" was added to \"${options.rcPath}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\n\n\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nconst { appendFile: $87723acb40accf13$var$appendFile } = (0, $f6VCT$fs.promises);\nasync function $87723acb40accf13$export$4c25481b843feb0b(path, givenOptions = {}) {\n const options = {\n rcPath: (0, $0781cd81f58c9935$export$74e1d742a60734ba),\n ...givenOptions\n };\n if ($87723acb40accf13$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $f6VCT$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $dKklS.GITHUB_ACTIONS) try {\n (0, $k1l4q.addPath)(path);\n } catch (err) {\n (0, $pcnv8.error)(err);\n await $87723acb40accf13$var$addPathSystem(path, options);\n }\n else await $87723acb40accf13$var$addPathSystem(path, options);\n } catch (err) {\n (0, $pcnv8.error)(`${err}\\nFailed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nasync function $87723acb40accf13$var$addPathSystem(path, options) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $6e1462338680af59$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $pcnv8.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await (0, $0781cd81f58c9935$export$1ff783a3949c8b15)(options);\n await $87723acb40accf13$var$appendFile(options.rcPath, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $pcnv8.info)(`\"${path}\" was added to \"${options.rcPath}\"`);\n return;\n default:\n return;\n }\n}\nconst $87723acb40accf13$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $87723acb40accf13$var$isIgnoredPath(path) {\n if ($87723acb40accf13$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n var _process_env_PATH;\n var _process_env_PATH_split;\n const paths = (_process_env_PATH_split = (_process_env_PATH = process.env.PATH) === null || _process_env_PATH === void 0 ? void 0 : _process_env_PATH.split((0, $f6VCT$path.delimiter))) !== null && _process_env_PATH_split !== void 0 ? _process_env_PATH_split : [];\n return paths.includes(path);\n }\n return false;\n}\n\n\n\n\n\n\nvar $5FRs7 = parcelRequire(\"5FRs7\");\nvar $6dfec0551895c67b$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"j5MHF\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\";\n });\n}).call($6dfec0551895c67b$exports);\n\n\nvar $0f6edb4b6090460a$exports = {};\n\n$0f6edb4b6090460a$exports = (parcelRequire(\"2KdLC\"));\n\n\nvar $53983d8fa829acea$exports = {};\n$53983d8fa829acea$exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nvar $aa0efa59c677b595$exports = {};\n\"use strict\";\n\n\nvar $51NgG = parcelRequire(\"51NgG\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $aa0efa59c677b595$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $aa0efa59c677b595$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $aa0efa59c677b595$var$packageJson = $f6VCT$process.env.npm_package_json;\nvar $aa0efa59c677b595$var$userAgent = $f6VCT$process.env.npm_config_user_agent;\nvar $aa0efa59c677b595$var$isNpm6 = Boolean($aa0efa59c677b595$var$userAgent && $aa0efa59c677b595$var$userAgent.startsWith(\"npm\"));\nvar $aa0efa59c677b595$var$isNpm7 = Boolean($aa0efa59c677b595$var$packageJson && $aa0efa59c677b595$var$packageJson.endsWith(\"package.json\"));\nvar $aa0efa59c677b595$var$isNpm = $aa0efa59c677b595$var$isNpm6 || $aa0efa59c677b595$var$isNpm7;\nvar $aa0efa59c677b595$var$isYarn = Boolean($aa0efa59c677b595$var$userAgent && $aa0efa59c677b595$var$userAgent.startsWith(\"yarn\"));\nvar $aa0efa59c677b595$var$isNpmOrYarn = $aa0efa59c677b595$var$isNpm || $aa0efa59c677b595$var$isYarn;\nvar $aa0efa59c677b595$var$homeDirectory = $f6VCT$os.homedir();\nvar $aa0efa59c677b595$var$configDir = process.env.XDG_CONFIG_HOME || $f6VCT$path.join($aa0efa59c677b595$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $aa0efa59c677b595$var$getConfigFile = function(packageName) {\n return $f6VCT$path.join($aa0efa59c677b595$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $aa0efa59c677b595$var$createConfigDir = function() {\n if (!$f6VCT$fs.existsSync($aa0efa59c677b595$var$configDir)) $f6VCT$fs.mkdirSync($aa0efa59c677b595$var$configDir, {\n recursive: true\n });\n};\nvar $aa0efa59c677b595$var$getLastUpdate = function(packageName) {\n var configFile = $aa0efa59c677b595$var$getConfigFile(packageName);\n try {\n if (!$f6VCT$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($f6VCT$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $aa0efa59c677b595$var$saveLastUpdate = function(packageName) {\n var configFile = $aa0efa59c677b595$var$getConfigFile(packageName);\n $f6VCT$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $aa0efa59c677b595$var$getDistVersion = function(packageName, distTag) {\n return $aa0efa59c677b595$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $aa0efa59c677b595$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $f6VCT$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $aa0efa59c677b595$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $aa0efa59c677b595$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $aa0efa59c677b595$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $aa0efa59c677b595$var$createConfigDir();\n lastUpdateCheck = $aa0efa59c677b595$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $aa0efa59c677b595$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $aa0efa59c677b595$var$saveLastUpdate(pkg.name);\n if ($51NgG.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $aa0efa59c677b595$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"\\u250C\".concat(\"\\u2500\".repeat(width + 2), \"\\u2510\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat(\"\\u2500\".repeat(width + 2), \"\\u2518\"));\n return res.join(\"\\n\");\n};\nvar $aa0efa59c677b595$var$simpleUpdateNotifier = function(args) {\n return $aa0efa59c677b595$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $aa0efa59c677b595$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $aa0efa59c677b595$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $aa0efa59c677b595$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($aa0efa59c677b595$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$aa0efa59c677b595$exports = $aa0efa59c677b595$var$simpleUpdateNotifier;\n\n\nvar $b15ecade5dec004a$exports = {};\n$b15ecade5dec004a$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.39.0\"}');\n\n\nasync function $db6b30dbc1ea7b12$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($aa0efa59c677b595$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($b15ecade5dec004a$exports)))\n });\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nfunction $4012ecb407fc2f3d$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $4012ecb407fc2f3d$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $4012ecb407fc2f3d$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $4012ecb407fc2f3d$var$toArr(opts.string);\n opts.boolean = $4012ecb407fc2f3d$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $4012ecb407fc2f3d$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $4012ecb407fc2f3d$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\n\n\nvar $62686e7378463a66$exports = {};\n\"use strict\";\nObject.defineProperty($62686e7378463a66$exports, \"__esModule\", {\n value: !0\n}), $62686e7378463a66$exports.DownloaderHelper = $62686e7378463a66$exports.DH_STATES = void 0;\nvar $62686e7378463a66$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(a) {\n return typeof a;\n} : function(a) {\n return a && \"function\" == typeof Symbol && a.constructor === Symbol && a !== Symbol.prototype ? \"symbol\" : typeof a;\n}, $62686e7378463a66$var$_createClass = function() {\n function a(a, b) {\n for(var c, d = 0; d < b.length; d++)c = b[d], c.enumerable = c.enumerable || !1, c.configurable = !0, \"value\" in c && (c.writable = !0), Object.defineProperty(a, c.key, c);\n }\n return function(b, c, d) {\n return c && a(b.prototype, c), d && a(b, d), b;\n };\n}();\n\nvar $62686e7378463a66$var$fs = $62686e7378463a66$var$_interopRequireWildcard($f6VCT$fs);\n\n\nvar $62686e7378463a66$var$path = $62686e7378463a66$var$_interopRequireWildcard($f6VCT$path);\n\nvar $62686e7378463a66$var$http = $62686e7378463a66$var$_interopRequireWildcard($f6VCT$http);\n\nvar $62686e7378463a66$var$https = $62686e7378463a66$var$_interopRequireWildcard($f6VCT$https);\n\nfunction $62686e7378463a66$var$_interopRequireWildcard(a) {\n if (a && a.__esModule) return a;\n var b = {};\n if (null != a) for(var c in a)Object.prototype.hasOwnProperty.call(a, c) && (b[c] = a[c]);\n return b.default = a, b;\n}\nfunction $62686e7378463a66$var$_classCallCheck(a, b) {\n if (!(a instanceof b)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $62686e7378463a66$var$_possibleConstructorReturn(a, b) {\n if (!a) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return b && (\"object\" == typeof b || \"function\" == typeof b) ? b : a;\n}\nfunction $62686e7378463a66$var$_inherits(a, b) {\n if (\"function\" != typeof b && null !== b) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof b);\n a.prototype = Object.create(b && b.prototype, {\n constructor: {\n value: a,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), b && (Object.setPrototypeOf ? Object.setPrototypeOf(a, b) : a.__proto__ = b);\n}\nvar $62686e7378463a66$var$DH_STATES = $62686e7378463a66$exports.DH_STATES = {\n IDLE: \"IDLE\",\n SKIPPED: \"SKIPPED\",\n STARTED: \"STARTED\",\n DOWNLOADING: \"DOWNLOADING\",\n RETRY: \"RETRY\",\n PAUSED: \"PAUSED\",\n RESUMED: \"RESUMED\",\n STOPPED: \"STOPPED\",\n FINISHED: \"FINISHED\",\n FAILED: \"FAILED\"\n}, $62686e7378463a66$var$DownloaderHelper = $62686e7378463a66$exports.DownloaderHelper = function(a) {\n function b(a, c) {\n var d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {};\n $62686e7378463a66$var$_classCallCheck(this, b);\n var e = $62686e7378463a66$var$_possibleConstructorReturn(this, (b.__proto__ || Object.getPrototypeOf(b)).call(this, {\n captureRejections: !0\n }));\n return e.__validate(a, c) ? (e.url = e.requestURL = a.trim(), e.state = $62686e7378463a66$var$DH_STATES.IDLE, e.__defaultOpts = {\n body: null,\n retry: !1,\n method: \"GET\",\n headers: {},\n fileName: \"\",\n timeout: -1,\n metadata: null,\n override: !1,\n forceResume: !1,\n removeOnStop: !0,\n removeOnFail: !0,\n progressThrottle: 1e3,\n httpRequestOptions: {},\n httpsRequestOptions: {},\n resumeOnIncomplete: !0,\n resumeIfFileExists: !1,\n resumeOnIncompleteMaxRetry: 5\n }, e.__opts = Object.assign({}, e.__defaultOpts), e.__pipes = [], e.__total = 0, e.__downloaded = 0, e.__progress = 0, e.__retryCount = 0, e.__retryTimeout = null, e.__resumeRetryCount = 0, e.__states = $62686e7378463a66$var$DH_STATES, e.__promise = null, e.__request = null, e.__response = null, e.__isAborted = !1, e.__isResumed = !1, e.__isResumable = !1, e.__isRedirected = !1, e.__destFolder = c, e.__statsEstimate = {\n time: 0,\n bytes: 0,\n prevBytes: 0,\n throttleTime: 0\n }, e.__fileName = \"\", e.__filePath = \"\", e.updateOptions(d), e) : $62686e7378463a66$var$_possibleConstructorReturn(e);\n }\n return $62686e7378463a66$var$_inherits(b, a), $62686e7378463a66$var$_createClass(b, [\n {\n key: \"start\",\n value: function c() {\n var a = this, b = function() {\n return new Promise(function(b, c) {\n a.__promise = {\n resolve: b,\n reject: c\n }, a.__start();\n });\n };\n return this.__opts.resumeIfFileExists && this.state !== this.__states.RESUMED ? this.getTotalSize().then(function(c) {\n var d = c.name, e = c.total, f = a.__opts.override;\n if (a.__opts.override = !0, a.__filePath = a.__getFilePath(d), a.__opts.override = f, a.__filePath && $62686e7378463a66$var$fs.existsSync(a.__filePath)) {\n var g = a.__getFilesizeInBytes(a.__filePath);\n return g === e ? b() : a.resumeFromFile(a.__filePath, {\n total: e,\n fileName: d\n });\n }\n return b();\n }) : b();\n }\n },\n {\n key: \"pause\",\n value: function b() {\n var a = this;\n return this.state === this.__states.STOPPED ? Promise.resolve(!0) : (this.__response && (this.__response.unpipe(), this.__pipes.forEach(function(a) {\n return a.stream.unpipe();\n })), this.__fileStream && this.__fileStream.removeAllListeners(), this.__requestAbort(), this.__closeFileStream().then(function() {\n return a.__setState(a.__states.PAUSED), a.emit(\"pause\"), !0;\n }));\n }\n },\n {\n key: \"resume\",\n value: function a() {\n return this.__promise ? this.state === this.__states.STOPPED ? Promise.resolve(!1) : (this.__setState(this.__states.RESUMED), this.__isResumable && (this.__isResumed = !0, this.__reqOptions.headers.range = \"bytes=\" + this.__downloaded + \"-\"), this.emit(\"resume\", this.__isResumed), this.__start()) : this.start();\n }\n },\n {\n key: \"stop\",\n value: function c() {\n var a = this;\n if (this.state === this.__states.STOPPED) return Promise.resolve(!0);\n var b = function() {\n return new Promise(function(b, c) {\n $62686e7378463a66$var$fs.access(a.__filePath, function(d) {\n return d ? (a.__emitStop(), b(!0)) : void $62686e7378463a66$var$fs.unlink(a.__filePath, function(d) {\n return d ? (a.__setState(a.__states.FAILED), a.emit(\"error\", d), c(d)) : void (a.__emitStop(), b(!0));\n });\n });\n });\n };\n return this.__requestAbort(), this.__closeFileStream().then(function() {\n return a.__opts.removeOnStop ? b() : (a.__emitStop(), Promise.resolve(!0));\n });\n }\n },\n {\n key: \"pipe\",\n value: function c(a) {\n var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null;\n return this.__pipes.push({\n stream: a,\n options: b\n }), a;\n }\n },\n {\n key: \"unpipe\",\n value: function d() {\n var a = this, b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null, c = function(b) {\n return a.__response ? a.__response.unpipe(b) : b.unpipe();\n };\n if (b) {\n var e = this.__pipes.find(function(a) {\n return a.stream === b;\n });\n return void (e && (c(b), this.__pipes = this.__pipes.filter(function(a) {\n return a.stream !== b;\n })));\n }\n this.__pipes.forEach(function(a) {\n return c(a.stream);\n }), this.__pipes = [];\n }\n },\n {\n key: \"getDownloadPath\",\n value: function a() {\n return this.__filePath;\n }\n },\n {\n key: \"isResumable\",\n value: function a() {\n return this.__isResumable;\n }\n },\n {\n key: \"updateOptions\",\n value: function c(a) {\n var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : \"\";\n this.__opts = Object.assign({}, this.__opts, a), this.__headers = this.__opts.headers, -1 < this.__opts.timeout && (this.__opts.httpRequestOptions.timeout = this.__opts.timeout, this.__opts.httpsRequestOptions.timeout = this.__opts.timeout), (\"number\" != typeof this.__opts.progressThrottle || 0 > this.__opts.progressThrottle) && (this.__opts.progressThrottle = this.__defaultOpts.progressThrottle), this.url = b || this.url, this.__reqOptions = this.__getReqOptions(this.__opts.method, this.url, this.__opts.headers), this.__initProtocol(this.url);\n }\n },\n {\n key: \"getOptions\",\n value: function a() {\n return this.__opts;\n }\n },\n {\n key: \"getMetadata\",\n value: function a() {\n return this.__opts.metadata;\n }\n },\n {\n key: \"getStats\",\n value: function a() {\n return {\n total: this.__total,\n name: this.__fileName,\n downloaded: this.__downloaded,\n progress: this.__progress,\n speed: this.__statsEstimate.bytes\n };\n }\n },\n {\n key: \"getTotalSize\",\n value: function b() {\n var a = this;\n return new Promise(function(b, c) {\n var d = function(b) {\n a.__initProtocol(b);\n var c = Object.assign({}, a.__headers);\n c.hasOwnProperty(\"range\") && delete c.range;\n var d = a.__getReqOptions(\"HEAD\", b, c);\n return Object.assign({}, a.__reqOptions, d);\n }, e = function(f, g) {\n var h = a.__protocol.request(g, function(g) {\n if (a.__isRequireRedirect(g)) {\n var h = /^https?:\\/\\//.test(g.headers.location) ? g.headers.location : new $f6VCT$url.URL(g.headers.location, f).href;\n return a.emit(\"redirected\", h, f), e(h, d(h));\n }\n return 200 === g.statusCode ? void b({\n name: a.__getFileNameFromHeaders(g.headers, g),\n total: parseInt(g.headers[\"content-length\"]) || null\n }) : c(new Error(\"Response status was \" + g.statusCode));\n });\n h.on(\"error\", function(a) {\n return c(a);\n }), h.on(\"timeout\", function() {\n return c(new Error(\"timeout\"));\n }), h.on(\"uncaughtException\", function(a) {\n return c(a);\n }), h.end();\n };\n e(a.url, d(a.url));\n });\n }\n },\n {\n key: \"getResumeState\",\n value: function a() {\n return {\n downloaded: this.__downloaded,\n filePath: this.__filePath,\n fileName: this.__fileName,\n total: this.__total\n };\n }\n },\n {\n key: \"resumeFromFile\",\n value: function d(a) {\n var b = this, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {};\n return this.__opts.override = !0, this.__filePath = a, (c.total && c.fileName ? Promise.resolve({\n name: c.fileName,\n total: c.total\n }) : this.getTotalSize()).then(function(a) {\n var d = a.name, e = a.total;\n return b.__total = c.total || e, b.__fileName = c.fileName || d, b.__downloaded = c.downloaded || b.__getFilesizeInBytes(b.__filePath), b.__reqOptions.headers.range = \"bytes=\" + b.__downloaded + \"-\", b.__isResumed = !0, b.__isResumable = !0, b.__setState(b.__states.RESUMED), b.emit(\"resume\", b.__isResumed), new Promise(function(a, c) {\n b.__promise = {\n resolve: a,\n reject: c\n }, b.__start();\n });\n });\n }\n },\n {\n key: \"__start\",\n value: function a() {\n this.__isRedirected || this.state === this.__states.RESUMED || (this.emit(\"start\"), this.__setState(this.__states.STARTED), this.__initProtocol(this.url)), this.__response = null, this.__isAborted = !1, this.__request && !this.__request.destroyed && this.__request.destroy(), this.__retryTimeout && (clearTimeout(this.__retryTimeout), this.__retryTimeout = null), this.__request = this.__downloadRequest(this.__promise.resolve, this.__promise.reject), this.__request.on(\"error\", this.__onError(this.__promise.resolve, this.__promise.reject)), this.__request.on(\"timeout\", this.__onTimeout(this.__promise.resolve, this.__promise.reject)), this.__request.on(\"uncaughtException\", this.__onError(this.__promise.resolve, this.__promise.reject, !0)), this.__opts.body && this.__request.write(this.__opts.body), this.__request.end();\n }\n },\n {\n key: \"__resolvePending\",\n value: function b() {\n if (this.__promise) {\n var a = this.__promise.resolve;\n return this.__promise = null, a(!0);\n }\n }\n },\n {\n key: \"__downloadRequest\",\n value: function d(a, b) {\n var c = this;\n return this.__protocol.request(this.__reqOptions, function(d) {\n if (c.__response = d, c.__isResumed || (c.__total = parseInt(d.headers[\"content-length\"]) || null, c.__resetStats()), c.__isRequireRedirect(d)) {\n var e = /^https?:\\/\\//.test(d.headers.location) ? d.headers.location : new $f6VCT$url.URL(d.headers.location, c.url).href;\n return c.__isRedirected = !0, c.__initProtocol(e), c.emit(\"redirected\", e, c.url), c.__start();\n }\n if (200 !== d.statusCode && 206 !== d.statusCode) {\n var f = new Error(\"Response status was \" + d.statusCode);\n return f.status = d.statusCode || 0, f.body = d.body || \"\", c.__setState(c.__states.FAILED), c.emit(\"error\", f), b(f);\n }\n c.__opts.forceResume ? c.__isResumable = !0 : d.headers.hasOwnProperty(\"accept-ranges\") && \"none\" !== d.headers[\"accept-ranges\"] && (c.__isResumable = !0), c.__startDownload(d, a, b);\n });\n }\n },\n {\n key: \"__startDownload\",\n value: function h(a, b, c) {\n var d = this, e = a;\n if (!this.__isResumed) {\n var i = this.__getFileNameFromHeaders(a.headers);\n if (this.__filePath = this.__getFilePath(i), this.__fileName = this.__filePath.split($62686e7378463a66$var$path.sep).pop(), $62686e7378463a66$var$fs.existsSync(this.__filePath)) {\n var f = this.__getFilesizeInBytes(this.__filePath), g = this.__total ? this.__total : 0;\n if (\"object\" === $62686e7378463a66$var$_typeof(this.__opts.override) && this.__opts.override.skip && (this.__opts.override.skipSmaller || f >= g)) return this.emit(\"skip\", {\n totalSize: this.__total,\n fileName: this.__fileName,\n filePath: this.__filePath,\n downloadedSize: f\n }), this.__setState(this.__states.SKIPPED), b(!0);\n }\n this.__fileStream = $62686e7378463a66$var$fs.createWriteStream(this.__filePath, {});\n } else this.__fileStream = $62686e7378463a66$var$fs.createWriteStream(this.__filePath, {\n flags: \"a\"\n });\n this.emit(\"download\", {\n fileName: this.__fileName,\n filePath: this.__filePath,\n totalSize: this.__total,\n isResumed: this.__isResumed,\n downloadedSize: this.__downloaded\n }), this.__retryCount = 0, this.__isResumed = !1, this.__isRedirected = !1, this.__setState(this.__states.DOWNLOADING), this.__statsEstimate.time = new Date, this.__statsEstimate.throttleTime = new Date, e.on(\"data\", function(a) {\n return d.__calculateStats(a.length);\n }), this.__pipes.forEach(function(a) {\n e.pipe(a.stream, a.options), e = a.stream;\n }), e.pipe(this.__fileStream), e.on(\"error\", this.__onError(b, c)), this.__fileStream.on(\"finish\", this.__onFinished(b, c)), this.__fileStream.on(\"error\", this.__onError(b, c));\n }\n },\n {\n key: \"__hasFinished\",\n value: function a() {\n return !this.__isAborted && -1 === [\n this.__states.PAUSED,\n this.__states.STOPPED,\n this.__states.RETRY,\n this.__states.FAILED,\n this.__states.RESUMED\n ].indexOf(this.state);\n }\n },\n {\n key: \"__isRequireRedirect\",\n value: function b(a) {\n return 300 < a.statusCode && 400 > a.statusCode && a.headers.hasOwnProperty(\"location\") && a.headers.location;\n }\n },\n {\n key: \"__onFinished\",\n value: function d(a, b) {\n var c = this;\n return function() {\n c.__fileStream.close(function(d) {\n if (d) return b(d);\n if (c.__hasFinished()) {\n var e = !!c.__total && c.__downloaded !== c.__total;\n if (e && c.__isResumable && c.__opts.resumeOnIncomplete && c.__resumeRetryCount <= c.__opts.resumeOnIncompleteMaxRetry) return c.__resumeRetryCount++, c.emit(\"warning\", new Error(\"uncomplete download, retrying\")), c.resume();\n c.__setState(c.__states.FINISHED), c.__pipes = [], c.emit(\"end\", {\n fileName: c.__fileName,\n filePath: c.__filePath,\n totalSize: c.__total,\n incomplete: e,\n onDiskSize: c.__getFilesizeInBytes(c.__filePath),\n downloadedSize: c.__downloaded\n });\n }\n return a(c.__downloaded === c.__total);\n });\n };\n }\n },\n {\n key: \"__closeFileStream\",\n value: function b() {\n var a = this;\n return this.__fileStream ? new Promise(function(b, c) {\n a.__fileStream.close(function(a) {\n return a ? c(a) : b(!0);\n });\n }) : Promise.resolve(!0);\n }\n },\n {\n key: \"__onError\",\n value: function e(a, b) {\n var c = this, d = !!(2 < arguments.length && void 0 !== arguments[2]) && arguments[2];\n return function(a) {\n return c.__pipes = [], d && c.__requestAbort(), c.state === c.__states.STOPPED || c.state === c.__states.FAILED ? void 0 : c.__opts.retry ? c.__retry(a).catch(function(d) {\n c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"error\", d ? d : a), b(d ? d : a);\n });\n }) : c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"error\", a), b(a);\n });\n };\n }\n },\n {\n key: \"__retry\",\n value: function h() {\n var a = this, b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null;\n if (!this.__opts.retry || \"object\" !== $62686e7378463a66$var$_typeof(this.__opts.retry)) return Promise.reject(b || new Error(\"wrong retry options\"));\n var c = this.__opts.retry, d = c.delay, e = void 0 === d ? 0 : d, f = c.maxRetries, g = void 0 === f ? 999 : f;\n return this.__retryCount >= g ? Promise.reject(b || new Error(\"reached the maximum retries\")) : (this.__retryCount++, this.__setState(this.__states.RETRY), this.emit(\"retry\", this.__retryCount, this.__opts.retry, b), this.__response && (this.__response.unpipe(), this.__pipes.forEach(function(a) {\n return a.stream.unpipe();\n })), this.__fileStream && this.__fileStream.removeAllListeners(), this.__requestAbort(), this.__closeFileStream().then(function() {\n return new Promise(function(b) {\n return a.__retryTimeout = setTimeout(function() {\n return b(0 < a.__downloaded ? a.resume() : a.__start());\n }, e);\n });\n }));\n }\n },\n {\n key: \"__onTimeout\",\n value: function d(a, b) {\n var c = this;\n return function() {\n return c.__requestAbort(), c.__opts.retry ? c.__retry(new Error(\"timeout\")).catch(function(a) {\n c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), a ? b(a) : (c.emit(\"timeout\"), b(new Error(\"timeout\")));\n });\n }) : c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"timeout\"), b(new Error(\"timeout\"));\n });\n };\n }\n },\n {\n key: \"__resetStats\",\n value: function a() {\n this.__retryCount = 0, this.__downloaded = 0, this.__progress = 0, this.__resumeRetryCount = 0, this.__statsEstimate = {\n time: 0,\n bytes: 0,\n prevBytes: 0,\n throttleTime: 0\n };\n }\n },\n {\n key: \"__getFileNameFromHeaders\",\n value: function k(a, b) {\n var c = \"\", d = /.*filename\\*=.*?'.*?'([^\"].+?[^\"])(?:(?:;)|$)/i, e = /.*filename=\"(.*?)\";?/i, f = /.*filename=([^\"].+?[^\"])(?:(?:;)|$)/i, g = a.hasOwnProperty(\"content-disposition\"), h = g ? a[\"content-disposition\"].match(d) : null, i = !g || h ? null : a[\"content-disposition\"].match(e), j = !g || h || i ? null : a[\"content-disposition\"].match(f);\n return g && (h || i || j) ? (c = a[\"content-disposition\"], c = c.trim(), h ? c = h[1] : i ? c = i[1] : j && (c = j[1]), c = c.replace(/[/\\\\]/g, \"\")) : 0 < $62686e7378463a66$var$path.basename(new $f6VCT$url.URL(this.requestURL).pathname).length ? c = $62686e7378463a66$var$path.basename(new $f6VCT$url.URL(this.requestURL).pathname) : c = new $f6VCT$url.URL(this.requestURL).hostname + \".html\", this.__opts.fileName ? this.__getFileNameFromOpts(c, b) : c.replace(/\\.*$/, \"\");\n }\n },\n {\n key: \"__getFilePath\",\n value: function d(a) {\n var b = $62686e7378463a66$var$path.join(this.__destFolder, a), c = b;\n return this.__opts.override || this.state === this.__states.RESUMED || (c = this.__uniqFileNameSync(c), b !== c && this.emit(\"renamed\", {\n path: c,\n fileName: c.split($62686e7378463a66$var$path.sep).pop(),\n prevPath: b,\n prevFileName: b.split($62686e7378463a66$var$path.sep).pop()\n })), c;\n }\n },\n {\n key: \"__getFileNameFromOpts\",\n value: function g(a, b) {\n if (!this.__opts.fileName) return a;\n if (\"string\" == typeof this.__opts.fileName) return this.__opts.fileName;\n if (\"function\" == typeof this.__opts.fileName) {\n var h = $62686e7378463a66$var$path.join(this.__destFolder, a);\n return b && b.headers || this.__response && this.__response.headers ? this.__opts.fileName(a, h, (b ? b : this.__response).headers[\"content-type\"]) : this.__opts.fileName(a, h);\n }\n if (\"object\" === $62686e7378463a66$var$_typeof(this.__opts.fileName)) {\n var c = this.__opts.fileName, d = c.name, e = !!c.hasOwnProperty(\"ext\") && c.ext;\n if (\"string\" == typeof e) return d + \".\" + e;\n if (\"boolean\" == typeof e) {\n if (e) return d;\n var f = a.includes(\".\") ? a.split(\".\").pop() : \"\";\n return \"\" === f ? d : d + \".\" + f;\n }\n }\n return a;\n }\n },\n {\n key: \"__calculateStats\",\n value: function f(a) {\n var b = new Date, c = b - this.__statsEstimate.time, d = b - this.__statsEstimate.throttleTime, e = this.__total || 0;\n a && (this.__downloaded += a, this.__progress = 0 === e ? 0 : 100 * (this.__downloaded / e), (this.__downloaded === e || 1e3 < c) && (this.__statsEstimate.time = b, this.__statsEstimate.bytes = this.__downloaded - this.__statsEstimate.prevBytes, this.__statsEstimate.prevBytes = this.__downloaded), (this.__downloaded === e || d > this.__opts.progressThrottle) && (this.__statsEstimate.throttleTime = b, this.emit(\"progress.throttled\", this.getStats())), this.emit(\"progress\", this.getStats()));\n }\n },\n {\n key: \"__setState\",\n value: function b(a) {\n this.state = a, this.emit(\"stateChanged\", this.state);\n }\n },\n {\n key: \"__getReqOptions\",\n value: function f(a, b) {\n var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}, d = new $f6VCT$url.URL(b), e = {\n protocol: d.protocol,\n host: d.hostname,\n port: d.port,\n path: d.pathname + d.search,\n method: a\n };\n return c && (e.headers = c), e;\n }\n },\n {\n key: \"__getFilesizeInBytes\",\n value: function d(a) {\n try {\n var b = $62686e7378463a66$var$fs.statSync(a, {\n throwIfNoEntry: !1\n }), c = b.size || 0;\n return c;\n } catch (a) {\n this.emit(\"warning\", a);\n }\n return 0;\n }\n },\n {\n key: \"__validate\",\n value: function d(a, b) {\n if (\"string\" != typeof a) throw new Error(\"URL should be an string\");\n if (\"\" === a.trim()) throw new Error(\"URL couldn't be empty\");\n if (\"string\" != typeof b) throw new Error(\"Destination Folder should be an string\");\n if (\"\" === b.trim()) throw new Error(\"Destination Folder couldn't be empty\");\n if (!$62686e7378463a66$var$fs.existsSync(b)) throw new Error(\"Destination Folder must exist\");\n var c = $62686e7378463a66$var$fs.statSync(b);\n if (!c.isDirectory()) throw new Error(\"Destination Folder must be a directory\");\n try {\n $62686e7378463a66$var$fs.accessSync(b, $62686e7378463a66$var$fs.constants.W_OK);\n } catch (a) {\n throw new Error(\"Destination Folder must be writable\");\n }\n return !0;\n }\n },\n {\n key: \"__initProtocol\",\n value: function c(a) {\n var b = this.__getReqOptions(this.__opts.method, a, this.__headers);\n this.requestURL = a, -1 < a.indexOf(\"https://\") ? (this.__protocol = $62686e7378463a66$var$https, b.agent = new $62686e7378463a66$var$https.Agent({\n keepAlive: !1\n }), this.__reqOptions = Object.assign({}, b, this.__opts.httpsRequestOptions)) : (this.__protocol = $62686e7378463a66$var$http, b.agent = new $62686e7378463a66$var$http.Agent({\n keepAlive: !1\n }), this.__reqOptions = Object.assign({}, b, this.__opts.httpRequestOptions));\n }\n },\n {\n key: \"__uniqFileNameSync\",\n value: function f(a) {\n if (\"string\" != typeof a || \"\" === a) return a;\n try {\n $62686e7378463a66$var$fs.accessSync(a, $62686e7378463a66$var$fs.F_OK);\n var b = a.match(/(.*)(\\([0-9]+\\))(\\..*)$/), c = b ? b[1].trim() : a, d = b ? parseInt(b[2].replace(/\\(|\\)/, \"\")) : 0, e = a.split(\".\").pop();\n return e !== a && 0 < e.length ? (e = \".\" + e, c = c.replace(e, \"\")) : e = \"\", this.__uniqFileNameSync(c + \" (\" + ++d + \")\" + e);\n } catch (b) {\n return a;\n }\n }\n },\n {\n key: \"__removeFile\",\n value: function b() {\n var a = this;\n return new Promise(function(b) {\n return a.__fileStream ? void a.__fileStream.close(function(c) {\n return c && a.emit(\"warning\", c), a.__opts.removeOnFail ? $62686e7378463a66$var$fs.access(a.__filePath, function(d) {\n return d ? b() : void $62686e7378463a66$var$fs.unlink(a.__filePath, function(d) {\n d && a.emit(\"warning\", c), b();\n });\n }) : void b();\n }) : b();\n });\n }\n },\n {\n key: \"__requestAbort\",\n value: function a() {\n this.__isAborted = !0, this.__retryTimeout && (clearTimeout(this.__retryTimeout), this.__retryTimeout = null), this.__response && this.__response.destroy(), this.__request && (this.__request.destroy ? this.__request.destroy() : this.__request.abort());\n }\n },\n {\n key: \"__emitStop\",\n value: function a() {\n this.__resolvePending(), this.__setState(this.__states.STOPPED), this.emit(\"stop\");\n }\n }\n ]), b;\n}($f6VCT$events.EventEmitter);\n\n\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nconst { appendFile: $415f99280e0a2cf7$var$appendFile } = (0, $f6VCT$fs.promises);\nasync function $415f99280e0a2cf7$export$6fe6436bd9f53d02(name, path, priority = 40) {\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n priority.toString()\n ]);\n}\nasync function $415f99280e0a2cf7$export$d04a90794d7fd3eb(name, path, rcOptions, priority = 40) {\n if (0, $dKklS.GITHUB_ACTIONS) await $415f99280e0a2cf7$export$6fe6436bd9f53d02(name, path, priority);\n else {\n await (0, $0781cd81f58c9935$export$1ff783a3949c8b15)(rcOptions);\n await $415f99280e0a2cf7$var$appendFile(rcOptions.rcPath, `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n/**\n * Get the environment variables to use for the apt command\n * @param apt The apt command to use\n * @private Used internally\n */ function $164560ecd546eba0$export$a5e1e68142f7a16c(apt) {\n const env = {\n ...process.env,\n DEBIAN_FRONTEND: \"noninteractive\"\n };\n if (apt === \"nala\") {\n // if LANG/LC_ALL is not set, enable utf8 otherwise nala fails because of ASCII encoding\n if (env.LANG === undefined) env.LANG = \"C.UTF-8\";\n if (env.LC_ALL === undefined) env.LC_ALL = \"C.UTF-8\";\n }\n return env;\n}\n\n\n\n\n\n/**\n * The timeout to use for apt commands\n * Wait up to 300 seconds if the apt-get lock is held\n * @private Used internally\n */ const $8420ec82b8e83bd1$export$63332523ab2676dd = \"Dpkg::Lock::Timeout=300\";\n\n\n\nfunction $f7155b738edcc70e$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0() {\n let apt;\n if ($f7155b738edcc70e$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\n\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $1ondq = parcelRequire(\"1ondq\");\n\n\n\n\n\nasync function $0bcf8d198161b767$export$e8ed7ca5b57b702e(pack) {\n try {\n // check if a package is installed\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dpkg\", [\n \"-s\",\n pack\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(\"apt-get\"),\n stdio: \"pipe\"\n });\n if (typeof stdout !== \"string\") return false;\n const lines = stdout.split(\"\\n\");\n // check if the output contains a line that starts with \"Status: install ok installed\"\n return lines.some((line)=>line.startsWith(\"Status: install ok installed\"));\n } catch {\n return false;\n }\n}\nasync function $0bcf8d198161b767$export$aaa4b6507c96b5db(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(\"apt-get\"),\n stdio: \"pipe\"\n });\n if (typeof stdout !== \"string\") return false;\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n\n\n\n\n\nlet $0ff1f178b6757f9c$export$81eb835454e204ce = false // eslint-disable-line import/no-mutable-exports\n;\nfunction $0ff1f178b6757f9c$export$a4e956e5b5ed6e4f(apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd)\n ] : [\n \"update\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd)\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n $0ff1f178b6757f9c$export$81eb835454e204ce = true;\n}\nconst $0ff1f178b6757f9c$export$5f8013d121f67421 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($0ff1f178b6757f9c$export$a4e956e5b5ed6e4f);\n\n\nvar $26e91d84b93347fe$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($26e91d84b93347fe$export$e6e2160a140a491e || ($26e91d84b93347fe$export$e6e2160a140a491e = {}));\nasync function $26e91d84b93347fe$export$94780099199674f4(packages, apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n return (await Promise.all(packages.map((pack)=>$26e91d84b93347fe$export$80158881e1e46aed(pack, apt)))).filter((pack)=>pack !== undefined);\n}\nasync function $26e91d84b93347fe$export$80158881e1e46aed(pack, apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n // Qualify the package into full package name/version\n const qualified = await $26e91d84b93347fe$var$getAptArg(apt, pack.name, pack.version);\n // filter out the package that are already installed\n return await (0, $0bcf8d198161b767$export$e8ed7ca5b57b702e)(qualified) ? undefined : qualified;\n}\nasync function $26e91d84b93347fe$var$aptPackageType(apt, name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $1ondq.default)(name)}-${(0, $1ondq.default)(version)}$`\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt),\n stdio: \"pipe\"\n });\n if (stdout.trim() !== \"\") return 0;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n if (stdout.trim() === \"\") return 1;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ], {\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt),\n stdio: \"pipe\"\n });\n if (showStdout.trim() !== \"\") return 2;\n } catch {\n // ignore\n }\n // If apt-cache fails, update the repos and try again\n if (!(0, $0ff1f178b6757f9c$export$81eb835454e204ce)) {\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n return $26e91d84b93347fe$var$aptPackageType(apt, name, version);\n }\n return 3;\n}\nasync function $26e91d84b93347fe$var$getAptArg(apt, name, version) {\n const package_type = await $26e91d84b93347fe$var$aptPackageType(apt, name, version);\n switch(package_type){\n case 0:\n return `${name}-${version}`;\n case 1:\n return `${name}=${version}`;\n case 2:\n if (version !== undefined && version !== \"\") (0, $pcnv8.warning)(`Could not find package ${name} with version ${version}. Installing the latest version.`);\n return name;\n default:\n throw new Error(`Could not find package ${name} ${version !== null && version !== void 0 ? version : \"\"}`);\n }\n}\n\n\n\nasync function $01ab74a851c6f728$export$d54f1fb36f75bb7f(apt) {\n // Update the repos\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n const toInstall = await (0, $26e91d84b93347fe$export$94780099199674f4)([\n {\n name: \"ca-certificates\"\n },\n {\n name: \"gnupg\"\n },\n {\n name: \"apt-utils\"\n }\n ], apt);\n if (toInstall.length !== 0) (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"-y\",\n \"--fix-broken\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd),\n ...toInstall\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n}\nconst $01ab74a851c6f728$export$70771269792f1560 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($01ab74a851c6f728$export$d54f1fb36f75bb7f, {\n promise: true\n});\n\n\n\n\nasync function $97347013d7514988$export$226ded8785806269(repo, apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)()) {\n await (0, $01ab74a851c6f728$export$70771269792f1560)(apt);\n await $97347013d7514988$export$72acbc95491a2e38(apt);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n \"--no-update\",\n repo\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n // Update the repos\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421).clear() // ensure update is called\n ;\n (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n}\nasync function $97347013d7514988$export$72acbc95491a2e38(apt) {\n if (await (0, $0bcf8d198161b767$export$e8ed7ca5b57b702e)(\"software-properties-common\")) return;\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"-y\",\n \"--fix-broken\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd),\n \"software-properties-common\"\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n}\n\n\n\n\n\n\n\nconst $a6b2da83048355c8$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $a6b2da83048355c8$export$87fb71929453bd8f(packages, update = false) {\n const apt = (0, $f7155b738edcc70e$export$dbc6d2ab1ba4bfb0)();\n for (const { name: name, version: version } of packages)(0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${apt}`);\n // Update the repos if needed\n if (update) (0, $0ff1f178b6757f9c$export$5f8013d121f67421)(apt);\n // Add the repos if needed\n await $a6b2da83048355c8$var$addRepositories(apt, packages);\n const needToInstall = await (0, $26e91d84b93347fe$export$94780099199674f4)(packages, apt);\n if (needToInstall.length === 0) {\n (0, $pcnv8.info)(\"All packages are already installed\");\n return {\n binDir: \"/usr/bin/\"\n };\n }\n // Initialize apt if needed\n await (0, $01ab74a851c6f728$export$70771269792f1560)(apt);\n try {\n // Add the keys if needed\n await $a6b2da83048355c8$var$addAptKeys(packages);\n // Install\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...needToInstall\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n } catch (err) {\n if ($a6b2da83048355c8$var$isExecaError(err)) {\n if ($a6b2da83048355c8$var$retryErrors.some((error)=>err.stderr.includes(error))) {\n (0, $pcnv8.warning)(`Failed to install packages ${needToInstall}. Retrying...`);\n (0, $286498bcaea3fca1$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"-o\",\n (0, $8420ec82b8e83bd1$export$63332523ab2676dd),\n ...needToInstall\n ], {\n ...(0, $286498bcaea3fca1$export$151aeb0ade3989e1),\n env: (0, $164560ecd546eba0$export$a5e1e68142f7a16c)(apt)\n });\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $a6b2da83048355c8$var$addRepositories(apt, packages) {\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>{\n var _pack_repository;\n return (_pack_repository = pack.repository) !== null && _pack_repository !== void 0 ? _pack_repository : [];\n }))\n ];\n await Promise.all(allRepositories.map((repo)=>(0, $97347013d7514988$export$226ded8785806269)(repo, apt)));\n}\nasync function $a6b2da83048355c8$var$addAptKeys(packages) {\n await Promise.all(packages.map(async (pack)=>{\n if (pack.key !== undefined) await (0, $c8be1cdf4517af1c$export$5a01c6fa4f60a79f)(pack.key);\n }));\n}\nfunction $a6b2da83048355c8$var$isExecaError(err) {\n return typeof err.stderr === \"string\";\n}\n\n\nfunction $c8be1cdf4517af1c$export$5a01c6fa4f60a79f(options) {\n if (\"keyUrl\" in options) return $c8be1cdf4517af1c$export$118a136d06dbf4dc(options);\n else return $c8be1cdf4517af1c$export$11aa10c05ada0934(options);\n}\nconst $c8be1cdf4517af1c$export$8b9fa96f1a5cad63 = \"/etc/apt/trusted.gpg.d\";\nconst $c8be1cdf4517af1c$export$5c7b28dbb1dc8fdf = \"keyserver.ubuntu.com\";\nasync function $c8be1cdf4517af1c$export$11aa10c05ada0934({ key: key, keyServer: keyServer = $c8be1cdf4517af1c$export$5c7b28dbb1dc8fdf, fileName: fileName, keyStorePath: keyStorePath = $c8be1cdf4517af1c$export$5c7b28dbb1dc8fdf }) {\n try {\n $c8be1cdf4517af1c$var$assertGpgFileName(fileName);\n const filePath = (0, $f6VCT$path.join)(keyStorePath, fileName);\n if (!await (0, $ibhuk.pathExists)(filePath)) {\n $c8be1cdf4517af1c$var$initGpg();\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--keyserver\",\n keyServer,\n \"--recv-keys\",\n key\n ]);\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n filePath\n ]);\n }\n return filePath;\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to add apt key via server ${keyServer}: ${err}`);\n return undefined;\n }\n}\nasync function $c8be1cdf4517af1c$export$118a136d06dbf4dc({ keyUrl: keyUrl, fileName: fileName, keyStorePath: keyStorePath = $c8be1cdf4517af1c$export$8b9fa96f1a5cad63 }) {\n try {\n $c8be1cdf4517af1c$var$assertGpgFileName(fileName);\n const filePath = (0, $f6VCT$path.join)(keyStorePath, fileName);\n if (!await (0, $ibhuk.pathExists)(filePath)) {\n $c8be1cdf4517af1c$var$initGpg();\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dlPath = (0, $f6VCT$path.join)((0, $f6VCT$os.tmpdir)(), fileName);\n const dl = new (0, $62686e7378463a66$exports.DownloaderHelper)(keyUrl, (0, $f6VCT$os.tmpdir)(), {\n fileName: fileName\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download ${keyUrl}: ${err}`);\n });\n await dl.start();\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--import\",\n dlPath\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"chmod\", [\n \"644\",\n filePath\n ]);\n }\n return filePath;\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to add apt key via download ${keyUrl}: ${err}`);\n return undefined;\n }\n}\nfunction $c8be1cdf4517af1c$var$initGpg() {\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nfunction $c8be1cdf4517af1c$var$assertGpgFileName(fileName) {\n if (!fileName.endsWith(\".gpg\")) throw new Error(`Key file name must end with .gpg: ${fileName}`);\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* eslint-disable require-atomic-updates */ let $57f166e9ea32e0a9$var$binDir;\nasync function $57f166e9ea32e0a9$export$c5eeb9c87a610a0e(options = {}) {\n // brew is only available on darwin and linux\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n // check if the function has already been called\n if (typeof $57f166e9ea32e0a9$var$binDir === \"string\") return {\n binDir: $57f166e9ea32e0a9$var$binDir\n };\n // check if brew is already installed\n const maybeBinDir = await (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports)))(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $57f166e9ea32e0a9$var$binDir = (0, $f6VCT$path.dirname)(maybeBinDir);\n return {\n binDir: $57f166e9ea32e0a9$var$binDir\n };\n }\n // download the installation script\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dl = new (0, $62686e7378463a66$exports.DownloaderHelper)(\"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\", (0, $f6VCT$os.tmpdir)(), {\n fileName: \"install-brew.sh\"\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download the brew installer script: ${err}`);\n });\n await dl.start();\n // brew installation is not thread-safe\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"/bin/bash\", [\n dl.getDownloadPath()\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n // add the bin directory to the PATH\n $57f166e9ea32e0a9$var$binDir = $57f166e9ea32e0a9$export$2b05267713308cc();\n await (0, $87723acb40accf13$export$4c25481b843feb0b)($57f166e9ea32e0a9$var$binDir, options.rcOptions);\n return {\n binDir: $57f166e9ea32e0a9$var$binDir\n };\n}\nfunction $57f166e9ea32e0a9$export$2b05267713308cc() {\n if (process.platform === \"darwin\") {\n if (process.arch === \"arm64\") return \"/opt/homebrew/bin/\";\n else return \"/usr/local/bin/\";\n }\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n throw new Error(\"Unsupported platform for brew\");\n}\n\n\n/* eslint-disable require-atomic-updates */ let $d6240ef05c57ce77$var$hasBrew = false;\nasync function $d6240ef05c57ce77$export$72d03060ad30aa7f(name, version, givenOptions = {}) {\n const options = {\n overwrite: true,\n cask: false,\n args: [],\n ...givenOptions\n };\n (0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via brew`);\n if (!$d6240ef05c57ce77$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $57f166e9ea32e0a9$export$c5eeb9c87a610a0e)();\n $d6240ef05c57ce77$var$hasBrew = true;\n }\n const binDir = (0, $57f166e9ea32e0a9$export$2b05267713308cc)();\n const brewPath = (0, $f6VCT$path.join)(binDir, \"brew\");\n // Args\n const args = [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name\n ];\n if (options.overwrite) args.push(\"--overwrite\");\n if (options.cask) args.push(\"--cask\");\n // brew is not thread-safe\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(brewPath, args, {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n\n\n\n\n\n\n\nlet $cbc3e193f1217bd7$var$hasDnfCache = undefined;\nfunction $cbc3e193f1217bd7$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($cbc3e193f1217bd7$var$hasDnfCache === undefined) $cbc3e193f1217bd7$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $cbc3e193f1217bd7$var$hasDnfCache;\n}\n\n\n\nlet $c4b56061e0dbde5f$var$isArchCache = undefined;\nfunction $c4b56061e0dbde5f$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($c4b56061e0dbde5f$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $c4b56061e0dbde5f$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $c4b56061e0dbde5f$var$isArchCache;\n}\n\n\n\nlet $0f4e7dc450142f89$var$isUbuntuCache = undefined;\nfunction $0f4e7dc450142f89$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($0f4e7dc450142f89$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $0f4e7dc450142f89$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $0f4e7dc450142f89$var$isUbuntuCache;\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n/* eslint-disable require-atomic-updates */ let $8937fb0e5906a8f2$var$binDir;\nasync function $8937fb0e5906a8f2$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $8937fb0e5906a8f2$var$binDir === \"string\") return {\n binDir: $8937fb0e5906a8f2$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $8937fb0e5906a8f2$var$binDir = (0, $drEX5.dirname)(maybeBinDir);\n return {\n binDir: $8937fb0e5906a8f2$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(powershell, [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\"\n ], {\n stdio: \"inherit\"\n });\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(chocoPath, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"choco\", {\n nothrow: true\n });\n var _process_env_ChocolateyInstall;\n if (maybeChoco !== null) $8937fb0e5906a8f2$var$binDir = (0, $drEX5.dirname)(maybeChoco);\n else $8937fb0e5906a8f2$var$binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $ibhuk.pathExists)($8937fb0e5906a8f2$var$binDir)) return {\n binDir: $8937fb0e5906a8f2$var$binDir\n };\n return undefined;\n}\n\n\n\nlet $a1d9f9e35ead513b$var$hasChoco = false;\nasync function $a1d9f9e35ead513b$export$9f6912bc890040b2(name, version, args = []) {\n (0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via chocolatey`);\n if (!$a1d9f9e35ead513b$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $8937fb0e5906a8f2$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $a1d9f9e35ead513b$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n env.TMP = undefined;\n env.TEMP = undefined;\n env.Path = undefined;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $pcnv8.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n var _process_env_ChocolateyInstall;\n const binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n}\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nasync function $d6741ec1214892d9$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$d6741ec1214892d9$var$getDnfArg(pack.name, pack.version)));\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $d6741ec1214892d9$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $pcnv8.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\nasync function $20c231c8127800bc$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $c8be1cdf4517af1c$export$118a136d06dbf4dc)({\n fileName: \"bazel-archive-keyring.gpg\",\n keyUrl: \"https://bazel.build/bazel-release.pub.gpg\"\n });\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`\n ]);\n return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n/* eslint-disable require-atomic-updates */ let $debaf44f90dd37c4$var$didUpdate = false;\nlet $debaf44f90dd37c4$var$didInit = false;\nasync function $debaf44f90dd37c4$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $pcnv8.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$debaf44f90dd37c4$var$didUpdate && aur !== \"yay\") {\n (0, $286498bcaea3fca1$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $debaf44f90dd37c4$var$didUpdate = true;\n }\n // install base-devel\n if (!$debaf44f90dd37c4$var$didInit && aur !== \"yay\") {\n (0, $286498bcaea3fca1$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $debaf44f90dd37c4$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $286498bcaea3fca1$export$58f152936f209932)(aur !== null && aur !== void 0 ? aur : pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $debaf44f90dd37c4$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $pcnv8.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $debaf44f90dd37c4$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $debaf44f90dd37c4$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($debaf44f90dd37c4$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\nfunction $8885272da446ac43$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"ccache\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\n\nvar $2032c186687979ea$exports = {};\n\nvar $2032c186687979ea$var$$parcel$__dirname = $f6VCT$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $2032c186687979ea$var$__createBinding = $2032c186687979ea$exports && $2032c186687979ea$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $2032c186687979ea$var$__setModuleDefault = $2032c186687979ea$exports && $2032c186687979ea$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $2032c186687979ea$var$__importStar = $2032c186687979ea$exports && $2032c186687979ea$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $2032c186687979ea$var$__createBinding(result, mod, k);\n }\n $2032c186687979ea$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $2032c186687979ea$var$__awaiter = $2032c186687979ea$exports && $2032c186687979ea$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $2032c186687979ea$var$__importDefault = $2032c186687979ea$exports && $2032c186687979ea$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($2032c186687979ea$exports, \"__esModule\", {\n value: true\n});\n$2032c186687979ea$exports.evaluateVersions = $2032c186687979ea$exports.isExplicitVersion = $2032c186687979ea$exports.findFromManifest = $2032c186687979ea$exports.getManifestFromRepo = $2032c186687979ea$exports.findAllVersions = $2032c186687979ea$exports.find = $2032c186687979ea$exports.cacheFile = $2032c186687979ea$exports.cacheDir = $2032c186687979ea$exports.extractZip = $2032c186687979ea$exports.extractXar = $2032c186687979ea$exports.extractTar = $2032c186687979ea$exports.extract7z = $2032c186687979ea$exports.downloadTool = $2032c186687979ea$exports.HTTPError = void 0;\n\nconst $2032c186687979ea$var$core = $2032c186687979ea$var$__importStar((parcelRequire(\"k1l4q\")));\n\nconst $2032c186687979ea$var$io = $2032c186687979ea$var$__importStar((parcelRequire(\"g9WSN\")));\n\nconst $2032c186687979ea$var$fs = $2032c186687979ea$var$__importStar($f6VCT$fs);\n\nconst $2032c186687979ea$var$mm = $2032c186687979ea$var$__importStar((parcelRequire(\"6kHxT\")));\n\nconst $2032c186687979ea$var$os = $2032c186687979ea$var$__importStar($f6VCT$os);\n\nconst $2032c186687979ea$var$path = $2032c186687979ea$var$__importStar($f6VCT$path);\n\nconst $2032c186687979ea$var$httpm = $2032c186687979ea$var$__importStar((parcelRequire(\"8mOIr\")));\n\nconst $2032c186687979ea$var$semver = $2032c186687979ea$var$__importStar((parcelRequire(\"a5mzA\")));\n\nconst $2032c186687979ea$var$stream = $2032c186687979ea$var$__importStar($f6VCT$stream);\n\nconst $2032c186687979ea$var$util = $2032c186687979ea$var$__importStar($f6VCT$util);\n\n\nconst $2032c186687979ea$var$v4_1 = $2032c186687979ea$var$__importDefault((parcelRequire(\"iFKS7\")));\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\nvar $a3103f5469ee5040$exports = {};\n\"use strict\";\nvar $a3103f5469ee5040$var$__createBinding = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a3103f5469ee5040$var$__setModuleDefault = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a3103f5469ee5040$var$__importStar = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a3103f5469ee5040$var$__createBinding(result, mod, k);\n }\n $a3103f5469ee5040$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $a3103f5469ee5040$var$__awaiter = $a3103f5469ee5040$exports && $a3103f5469ee5040$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($a3103f5469ee5040$exports, \"__esModule\", {\n value: true\n});\n$a3103f5469ee5040$exports.RetryHelper = void 0;\n\nconst $a3103f5469ee5040$var$core = $a3103f5469ee5040$var$__importStar((parcelRequire(\"k1l4q\")));\n/**\n * Internal class for retries\n */ class $a3103f5469ee5040$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $a3103f5469ee5040$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $a3103f5469ee5040$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $a3103f5469ee5040$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $a3103f5469ee5040$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$a3103f5469ee5040$exports.RetryHelper = $a3103f5469ee5040$var$RetryHelper;\n\n\nclass $2032c186687979ea$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$2032c186687979ea$exports.HTTPError = $2032c186687979ea$var$HTTPError;\nconst $2032c186687979ea$var$IS_WINDOWS = process.platform === \"win32\";\nconst $2032c186687979ea$var$IS_MAC = process.platform === \"darwin\";\nconst $2032c186687979ea$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $2032c186687979ea$var$downloadTool(url, dest, auth, headers) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $2032c186687979ea$var$path.join($2032c186687979ea$var$_getTempDirectory(), $2032c186687979ea$var$v4_1.default());\n yield $2032c186687979ea$var$io.mkdirP($2032c186687979ea$var$path.dirname(dest));\n $2032c186687979ea$var$core.debug(`Downloading ${url}`);\n $2032c186687979ea$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $2032c186687979ea$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $2032c186687979ea$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $a3103f5469ee5040$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n return yield $2032c186687979ea$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $2032c186687979ea$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$2032c186687979ea$exports.downloadTool = $2032c186687979ea$var$downloadTool;\nfunction $2032c186687979ea$var$downloadToolAttempt(url, dest, auth, headers) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if ($2032c186687979ea$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $2032c186687979ea$var$httpm.HttpClient($2032c186687979ea$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $2032c186687979ea$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $2032c186687979ea$var$HTTPError(response.message.statusCode);\n $2032c186687979ea$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $2032c186687979ea$var$util.promisify($2032c186687979ea$var$stream.pipeline);\n const responseMessageFactory = $2032c186687979ea$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $2032c186687979ea$var$fs.createWriteStream(dest));\n $2032c186687979ea$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $2032c186687979ea$var$core.debug(\"download failed\");\n try {\n yield $2032c186687979ea$var$io.rmRF(dest);\n } catch (err) {\n $2032c186687979ea$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extract7z(file, dest, _7zPath) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n $f6VCT$assert.ok($2032c186687979ea$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $f6VCT$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $2032c186687979ea$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $ca0ts.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $2032c186687979ea$var$path.join($2032c186687979ea$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $2032c186687979ea$var$io.which(\"powershell\", true);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$2032c186687979ea$exports.extract7z = $2032c186687979ea$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extractTar(file, dest, flags = \"xz\") {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $2032c186687979ea$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $ca0ts.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $2032c186687979ea$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($2032c186687979ea$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($2032c186687979ea$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $ca0ts.exec(`tar`, args);\n return dest;\n });\n}\n$2032c186687979ea$exports.extractTar = $2032c186687979ea$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extractXar(file, dest, flags = []) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n $f6VCT$assert.ok($2032c186687979ea$var$IS_MAC, \"extractXar() not supported on current OS\");\n $f6VCT$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($2032c186687979ea$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $2032c186687979ea$var$io.which(\"xar\", true);\n yield $ca0ts.exec(`\"${xarPath}\"`, $2032c186687979ea$var$_unique(args));\n return dest;\n });\n}\n$2032c186687979ea$exports.extractXar = $2032c186687979ea$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $2032c186687979ea$var$extractZip(file, dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $2032c186687979ea$var$_createExtractFolder(dest);\n if ($2032c186687979ea$var$IS_WINDOWS) yield $2032c186687979ea$var$extractZipWin(file, dest);\n else yield $2032c186687979ea$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$2032c186687979ea$exports.extractZip = $2032c186687979ea$var$extractZip;\nfunction $2032c186687979ea$var$extractZipWin(file, dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $2032c186687979ea$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $2032c186687979ea$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $ca0ts.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $2032c186687979ea$var$io.which(\"powershell\", true);\n $2032c186687979ea$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $ca0ts.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $2032c186687979ea$var$extractZipNix(file, dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $2032c186687979ea$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$2032c186687979ea$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $ca0ts.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $2032c186687979ea$var$cacheDir(sourceDir, tool, version, arch) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n version = $2032c186687979ea$var$semver.clean(version) || version;\n arch = arch || $2032c186687979ea$var$os.arch();\n $2032c186687979ea$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $2032c186687979ea$var$core.debug(`source dir: ${sourceDir}`);\n if (!$2032c186687979ea$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $2032c186687979ea$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $2032c186687979ea$var$fs.readdirSync(sourceDir)){\n const s = $2032c186687979ea$var$path.join(sourceDir, itemName);\n yield $2032c186687979ea$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $2032c186687979ea$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$2032c186687979ea$exports.cacheDir = $2032c186687979ea$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $2032c186687979ea$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n version = $2032c186687979ea$var$semver.clean(version) || version;\n arch = arch || $2032c186687979ea$var$os.arch();\n $2032c186687979ea$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $2032c186687979ea$var$core.debug(`source file: ${sourceFile}`);\n if (!$2032c186687979ea$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $2032c186687979ea$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $2032c186687979ea$var$path.join(destFolder, targetFile);\n $2032c186687979ea$var$core.debug(`destination file ${destPath}`);\n yield $2032c186687979ea$var$io.cp(sourceFile, destPath);\n // write .complete\n $2032c186687979ea$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$2032c186687979ea$exports.cacheFile = $2032c186687979ea$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $2032c186687979ea$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $2032c186687979ea$var$os.arch();\n // attempt to resolve an explicit version\n if (!$2032c186687979ea$var$isExplicitVersion(versionSpec)) {\n const localVersions = $2032c186687979ea$var$findAllVersions(toolName, arch);\n const match = $2032c186687979ea$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $2032c186687979ea$var$semver.clean(versionSpec) || \"\";\n const cachePath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $2032c186687979ea$var$core.debug(`checking cache: ${cachePath}`);\n if ($2032c186687979ea$var$fs.existsSync(cachePath) && $2032c186687979ea$var$fs.existsSync(`${cachePath}.complete`)) {\n $2032c186687979ea$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $2032c186687979ea$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$2032c186687979ea$exports.find = $2032c186687979ea$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $2032c186687979ea$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $2032c186687979ea$var$os.arch();\n const toolPath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), toolName);\n if ($2032c186687979ea$var$fs.existsSync(toolPath)) {\n const children = $2032c186687979ea$var$fs.readdirSync(toolPath);\n for (const child of children)if ($2032c186687979ea$var$isExplicitVersion(child)) {\n const fullPath = $2032c186687979ea$var$path.join(toolPath, child, arch || \"\");\n if ($2032c186687979ea$var$fs.existsSync(fullPath) && $2032c186687979ea$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$2032c186687979ea$exports.findAllVersions = $2032c186687979ea$var$findAllVersions;\nfunction $2032c186687979ea$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $2032c186687979ea$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $2032c186687979ea$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $2032c186687979ea$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$2032c186687979ea$exports.getManifestFromRepo = $2032c186687979ea$var$getManifestFromRepo;\nfunction $2032c186687979ea$var$findFromManifest(versionSpec, stable, manifest, archFilter = $2032c186687979ea$var$os.arch()) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $2032c186687979ea$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$2032c186687979ea$exports.findFromManifest = $2032c186687979ea$var$findFromManifest;\nfunction $2032c186687979ea$var$_createExtractFolder(dest) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getTempDirectory(), $2032c186687979ea$var$v4_1.default());\n yield $2032c186687979ea$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $2032c186687979ea$var$_createToolPath(tool, version, arch) {\n return $2032c186687979ea$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), tool, $2032c186687979ea$var$semver.clean(version) || version, arch || \"\");\n $2032c186687979ea$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $2032c186687979ea$var$io.rmRF(folderPath);\n yield $2032c186687979ea$var$io.rmRF(markerPath);\n yield $2032c186687979ea$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $2032c186687979ea$var$_completeToolPath(tool, version, arch) {\n const folderPath = $2032c186687979ea$var$path.join($2032c186687979ea$var$_getCacheDirectory(), tool, $2032c186687979ea$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $2032c186687979ea$var$fs.writeFileSync(markerPath, \"\");\n $2032c186687979ea$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $2032c186687979ea$var$isExplicitVersion(versionSpec) {\n const c = $2032c186687979ea$var$semver.clean(versionSpec) || \"\";\n $2032c186687979ea$var$core.debug(`isExplicit: ${c}`);\n const valid = $2032c186687979ea$var$semver.valid(c) != null;\n $2032c186687979ea$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$2032c186687979ea$exports.isExplicitVersion = $2032c186687979ea$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $2032c186687979ea$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $2032c186687979ea$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($2032c186687979ea$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $2032c186687979ea$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $2032c186687979ea$var$core.debug(`matched: ${version}`);\n else $2032c186687979ea$var$core.debug(\"match not found\");\n return version;\n}\n$2032c186687979ea$exports.evaluateVersions = $2032c186687979ea$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $2032c186687979ea$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $f6VCT$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $2032c186687979ea$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $f6VCT$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $2032c186687979ea$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $2032c186687979ea$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\nvar $9ad30fc3d2fcf0f6$exports = {};\n\"use strict\";\nObject.defineProperty($9ad30fc3d2fcf0f6$exports, \"__esModule\", {\n value: true\n});\n$9ad30fc3d2fcf0f6$exports.retryAsPromised = $9ad30fc3d2fcf0f6$exports.TimeoutError = void 0;\nclass $9ad30fc3d2fcf0f6$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$9ad30fc3d2fcf0f6$exports.TimeoutError = $9ad30fc3d2fcf0f6$var$TimeoutError;\nfunction $9ad30fc3d2fcf0f6$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $9ad30fc3d2fcf0f6$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $9ad30fc3d2fcf0f6$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $9ad30fc3d2fcf0f6$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $9ad30fc3d2fcf0f6$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $9ad30fc3d2fcf0f6$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$9ad30fc3d2fcf0f6$exports.retryAsPromised = $9ad30fc3d2fcf0f6$var$retryAsPromised;\n$9ad30fc3d2fcf0f6$exports.default = $9ad30fc3d2fcf0f6$var$retryAsPromised;\n\n\n\n\nvar $g9WSN = parcelRequire(\"g9WSN\");\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\n\n\n\n\n\n\n\n\nfunction $fb82248e8974c296$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"p7zip\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\n\nvar $d07bf20a0d39a78b$export$9b5fafdc242c3687;\n(function(ArchiveType) {\n ArchiveType[ArchiveType[\"Tar\"] = 0] = \"Tar\";\n ArchiveType[ArchiveType[\"TarGz\"] = 1] = \"TarGz\";\n ArchiveType[ArchiveType[\"TarXz\"] = 2] = \"TarXz\";\n ArchiveType[ArchiveType[\"Zip\"] = 3] = \"Zip\";\n ArchiveType[ArchiveType[\"SevenZip\"] = 4] = \"SevenZip\";\n})($d07bf20a0d39a78b$export$9b5fafdc242c3687 || ($d07bf20a0d39a78b$export$9b5fafdc242c3687 = {}));\nfunction $d07bf20a0d39a78b$export$3628f1147c560166(file) {\n const ext = file.split(\".\").pop();\n if (ext === \"tar\") return 0;\n if (ext === \"gz\" || ext === \"tgz\") return 1;\n if (ext === \"xz\" || ext === \"txz\") return 2;\n if (ext === \"zip\") return 3;\n if (ext === \"7z\" || ext === \"exe\") return 4;\n // default to 7z\n (0, $pcnv8.warning)(`Unknown archive type: ${ext}. Defaulting to 7z`);\n return 4;\n}\nfunction $d07bf20a0d39a78b$export$d2992a902ce784d7(archiveType) {\n switch(archiveType){\n case 0:\n case 1:\n return $d07bf20a0d39a78b$export$2ab07ac150064014;\n case 2:\n return $d07bf20a0d39a78b$export$2ab07ac150064014;\n case 3:\n return $d07bf20a0d39a78b$export$6411c5cbab21135b;\n default:\n return $d07bf20a0d39a78b$export$eecfe186811d4a20;\n }\n}\nlet $d07bf20a0d39a78b$var$sevenZip;\nasync function $d07bf20a0d39a78b$export$eecfe186811d4a20(file, dest) {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(await $d07bf20a0d39a78b$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $410f384959a3ffde$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $d07bf20a0d39a78b$var$getSevenZip() {\n if ($d07bf20a0d39a78b$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $fb82248e8974c296$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $d07bf20a0d39a78b$var$sevenZip = \"7z\";\n }\n return $d07bf20a0d39a78b$var$sevenZip;\n}\nfunction $d07bf20a0d39a78b$export$7949938b2681a4f0(file, dest) {\n return $d07bf20a0d39a78b$export$eecfe186811d4a20(file, dest);\n}\nasync function $d07bf20a0d39a78b$export$6411c5cbab21135b(file, dest) {\n // if unzip is available use it\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"unzip\", {\n nothrow: true\n }) !== null) {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"unzip\", [\n file,\n \"-d\",\n dest\n ], {\n stdio: \"inherit\"\n });\n await (0, $410f384959a3ffde$export$4718e061a205eab)(dest);\n return dest;\n }\n return $d07bf20a0d39a78b$export$eecfe186811d4a20(file, dest);\n}\nasync function $d07bf20a0d39a78b$export$2ab07ac150064014(file, dest, stripComponents = 0, flags = []) {\n await $d07bf20a0d39a78b$var$installTarDependencies($d07bf20a0d39a78b$export$3628f1147c560166(file));\n try {\n await (0, $g9WSN.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n `--strip-components=${stripComponents}`,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $pcnv8.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n await (0, $410f384959a3ffde$export$4718e061a205eab)(dest);\n return dest;\n}\nasync function $d07bf20a0d39a78b$var$installTarDependencies(archiveType) {\n (0, $pcnv8.info)(\"Installing tar extraction dependencies\");\n switch(archiveType){\n case 1:\n if (process.platform === \"linux\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) {\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gzip\");\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"tar\");\n } else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"gzip\"\n },\n {\n name: \"tar\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gzip\"\n },\n {\n name: \"tar\"\n }\n ]);\n }\n break;\n case 2:\n if (process.platform === \"linux\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) {\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"xz\");\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"tar\");\n } else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"xz\"\n },\n {\n name: \"tar\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"xz-utils\"\n },\n {\n name: \"tar\"\n }\n ]);\n }\n break;\n default:\n throw new Error(`Unsupported archive type: ${archiveType} for tar extraction`);\n }\n}\n\n\nasync function $5378b225b5c95af5$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $pcnv8.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n var _process_env_RUNNER_TEMP;\n process.env.RUNNER_TEMP = (_process_env_RUNNER_TEMP = process.env.RUNNER_TEMP) !== null && _process_env_RUNNER_TEMP !== void 0 ? _process_env_RUNNER_TEMP : (0, $f6VCT$os.tmpdir)();\n var _process_env_RUNNER_TOOL_CACHE;\n process.env.RUNNER_TOOL_CACHE = (_process_env_RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE) !== null && _process_env_RUNNER_TOOL_CACHE !== void 0 ? _process_env_RUNNER_TOOL_CACHE : (0, $drEX5.join)((0, $f6VCT$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $dKklS.GITHUB_ACTIONS) try {\n const dir = (0, $2032c186687979ea$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $drEX5.join)(dir, extractedFolderName);\n const binDir = (0, $drEX5.join)(installDir, binRelativeDir);\n if (await (0, $ibhuk.pathExists)((0, $drEX5.join)(binDir, binFileName))) {\n (0, $pcnv8.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $drEX5.join)(setupDir, extractedFolderName);\n const binDir = (0, $drEX5.join)(installDir, binRelativeDir);\n const binFile = (0, $drEX5.join)(binDir, binFileName);\n await $5378b225b5c95af5$var$downloadExtractInstall(binDir, binFile, name, version, url, setupDir, extractFunction, arch);\n await $5378b225b5c95af5$var$cacheInstallation(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\nasync function $5378b225b5c95af5$var$downloadExtractInstall(binDir, binFile, name, version, url, setupDir, givenExtractFunction, arch) {\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $ibhuk.pathExists)(binDir),\n (0, $ibhuk.pathExists)(binFile)\n ])).includes(false)) try {\n const downloaded = await $5378b225b5c95af5$var$tryDownload(name, version, url);\n (0, $pcnv8.info)(`Extracting ${downloaded} to ${setupDir}`);\n const extractFunction = givenExtractFunction !== null && givenExtractFunction !== void 0 ? givenExtractFunction : (0, $d07bf20a0d39a78b$export$d2992a902ce784d7)((0, $d07bf20a0d39a78b$export$3628f1147c560166)(url));\n await extractFunction(downloaded, setupDir);\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`);\n }\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $pcnv8.info)(`Add ${binDir} to PATH`);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n // Check if the binary exists after extraction\n if (!await (0, $ibhuk.pathExists)(binFile)) throw new Error(`Failed to find the binary ${binFile} after extracting ${name} ${version} ${arch}`);\n // make the binary executable on non-windows platforms\n if (process.platform !== \"win32\") try {\n await (0, $6vN83.chmod)(binFile, \"755\");\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to make ${binFile} executable: ${err}`);\n }\n}\nasync function $5378b225b5c95af5$var$tryDownload(name, version, url) {\n (0, $pcnv8.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($9ad30fc3d2fcf0f6$exports)))(()=>{\n var _process_env_RUNNER_TEMP;\n const downloadedFilePath = (0, $drEX5.join)((_process_env_RUNNER_TEMP = process.env.RUNNER_TEMP) !== null && _process_env_RUNNER_TEMP !== void 0 ? _process_env_RUNNER_TEMP : (0, $f6VCT$os.tmpdir)(), `${Date.now()}-${(0, $f6VCT$path.basename)(url)}`);\n return (0, $2032c186687979ea$exports.downloadTool)(url, downloadedFilePath);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $pcnv8.info)(err)\n });\n return downloaded;\n}\nasync function $5378b225b5c95af5$var$cacheInstallation(setupDir, name, version) {\n // check if inside Github Actions. If so, cache the installation\n if ((0, $dKklS.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n if ((0, $2a317fef4818a0d7$export$fc4ce4d885cb1082)(\"cache-tools\") === \"true\" || process.env.CACHE_TOOLS === \"true\") await (0, $2032c186687979ea$exports.cacheDir)(setupDir, name, version);\n }\n}\n\n\n/** Get the platform data for cmake */ function $775e54fd09f86a26$var$getCmakePackageInfo(version, platform, arch) {\n var _semverCoerce;\n const semVersion = (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(semVersion, \"v3.19.1\");\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nfunction $775e54fd09f86a26$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"cmake\", version, $775e54fd09f86a26$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\n\n\nconst $fe011e029754d49c$export$edfda2f049ea6cd1 = (opts)=>{\n if (!opts) opts = {\n mode: 511\n };\n else if (typeof opts === \"object\") opts = {\n mode: 511,\n ...opts\n };\n else if (typeof opts === \"number\") opts = {\n mode: opts\n };\n else if (typeof opts === \"string\") opts = {\n mode: parseInt(opts, 8)\n };\n else throw new TypeError(\"invalid options argument\");\n const resolved = opts;\n const optsFs = opts.fs || {};\n opts.mkdir = opts.mkdir || optsFs.mkdir || (0, $f6VCT$fs.mkdir);\n opts.mkdirAsync = opts.mkdirAsync ? opts.mkdirAsync : async (path, options)=>{\n return new Promise((res, rej)=>resolved.mkdir(path, options, (er, made)=>er ? rej(er) : res(made)));\n };\n opts.stat = opts.stat || optsFs.stat || (0, $f6VCT$fs.stat);\n opts.statAsync = opts.statAsync ? opts.statAsync : async (path)=>new Promise((res, rej)=>resolved.stat(path, (err, stats)=>err ? rej(err) : res(stats)));\n opts.statSync = opts.statSync || optsFs.statSync || (0, $f6VCT$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $f6VCT$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $4cab7f00ed99eaa0$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $f6VCT$path.dirname)(path);\n const opts = {\n ...(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options),\n recursive: false\n };\n if (parent === path) try {\n return opts.mkdirSync(path, opts);\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n return;\n }\n try {\n opts.mkdirSync(path, opts);\n return made || path;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $4cab7f00ed99eaa0$export$fa6f1b792dc805a5(path, opts, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5(parent, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer && fer.code !== \"EROFS\") throw er;\n try {\n if (!opts.statSync(path).isDirectory()) throw er;\n } catch (_) {\n throw er;\n }\n }\n};\nconst $4cab7f00ed99eaa0$export$96a3a6083628c9d8 = Object.assign(async (path, options, made)=>{\n const opts = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options);\n opts.recursive = false;\n const parent = (0, $f6VCT$path.dirname)(path);\n if (parent === path) return opts.mkdirAsync(path, opts).catch((er)=>{\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n });\n return opts.mkdirAsync(path, opts).then(()=>made || path, async (er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $4cab7f00ed99eaa0$export$96a3a6083628c9d8(parent, opts).then((made)=>$4cab7f00ed99eaa0$export$96a3a6083628c9d8(path, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer.code !== \"EROFS\") throw er;\n return opts.statAsync(path).then((st)=>{\n if (st.isDirectory()) return made;\n else throw er;\n }, ()=>{\n throw er;\n });\n });\n}, {\n sync: $4cab7f00ed99eaa0$export$fa6f1b792dc805a5\n});\n\n\n\n\nconst $37be04b93e3fbc05$export$f0fc1d32fc1d7461 = async (opts, parent, path)=>{\n // we never want the 'made' return value to be a root directory\n if (path === parent) return;\n return opts.statAsync(parent).then((st)=>st.isDirectory() ? path : undefined, // will fail later\n (er)=>{\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $37be04b93e3fbc05$export$f0fc1d32fc1d7461(opts, (0, $f6VCT$path.dirname)(parent), parent) : undefined;\n });\n};\nconst $37be04b93e3fbc05$export$5bbea51519185a10 = (opts, parent, path)=>{\n if (path === parent) return undefined;\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined;\n } catch (er) {\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $37be04b93e3fbc05$export$5bbea51519185a10(opts, (0, $f6VCT$path.dirname)(parent), parent) : undefined;\n }\n};\n\n\n\n\nconst $94c5837ac9718ea5$export$abcdbcf229aec40d = (path, options)=>{\n const opts = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options);\n opts.recursive = true;\n const parent = (0, $f6VCT$path.dirname)(path);\n if (parent === path) return opts.mkdirSync(path, opts);\n const made = (0, $37be04b93e3fbc05$export$5bbea51519185a10)(opts, path);\n try {\n opts.mkdirSync(path, opts);\n return made;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5)(path, opts);\n else throw er;\n }\n};\nconst $94c5837ac9718ea5$export$efd8fb7a8c453d34 = Object.assign(async (path, options)=>{\n const opts = {\n ...(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(options),\n recursive: true\n };\n const parent = (0, $f6VCT$path.dirname)(path);\n if (parent === path) return await opts.mkdirAsync(path, opts);\n return (0, $37be04b93e3fbc05$export$f0fc1d32fc1d7461)(opts, path).then((made)=>opts.mkdirAsync(path, opts).then((m)=>made || m).catch((er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8)(path, opts);\n else throw er;\n }));\n}, {\n sync: $94c5837ac9718ea5$export$abcdbcf229aec40d\n});\n\n\n\n\nconst $2cf7d964e5cc0fd3$var$platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;\nconst $2cf7d964e5cc0fd3$export$84f52eb1a6059876 = (path)=>{\n if (/\\0/.test(path)) // simulate same failure that node raises\n throw Object.assign(new TypeError(\"path must be a string without null bytes\"), {\n path: path,\n code: \"ERR_INVALID_ARG_VALUE\"\n });\n path = (0, $f6VCT$path.resolve)(path);\n if ($2cf7d964e5cc0fd3$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $f6VCT$path.parse)(path);\n if (badWinChars.test(path.substring(root.length))) throw Object.assign(new Error(\"Illegal characters in path.\"), {\n path: path,\n code: \"EINVAL\"\n });\n }\n return path;\n};\n\n\n\n\nconst $4f2a5ee0ce6c9fe4$var$version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version;\nconst $4f2a5ee0ce6c9fe4$var$versArr = $4f2a5ee0ce6c9fe4$var$version.replace(/^v/, \"\").split(\".\");\nconst $4f2a5ee0ce6c9fe4$var$hasNative = +$4f2a5ee0ce6c9fe4$var$versArr[0] > 10 || +$4f2a5ee0ce6c9fe4$var$versArr[0] === 10 && +$4f2a5ee0ce6c9fe4$var$versArr[1] >= 12;\nconst $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a = !$4f2a5ee0ce6c9fe4$var$hasNative ? ()=>false : (opts)=>(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts).mkdirSync === (0, $f6VCT$fs.mkdirSync);\nconst $4f2a5ee0ce6c9fe4$export$875f149e5ea533c1 = Object.assign(!$4f2a5ee0ce6c9fe4$var$hasNative ? ()=>false : (opts)=>(0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts).mkdir === (0, $f6VCT$fs.mkdir), {\n sync: $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a\n});\n\n\nconst $70093e4bae962030$export$f5e50515bfceb13b = (path, opts)=>{\n path = (0, $2cf7d964e5cc0fd3$export$84f52eb1a6059876)(path);\n const resolved = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts);\n return (0, $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a)(resolved) ? (0, $94c5837ac9718ea5$export$abcdbcf229aec40d)(path, resolved) : (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5)(path, resolved);\n};\nconst $70093e4bae962030$export$92d6409d68f0739a = $70093e4bae962030$export$f5e50515bfceb13b;\nconst $70093e4bae962030$export$d5db38ffe1f43b01 = (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8);\nconst $70093e4bae962030$export$36e1c11973ff5d6a = (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5);\nconst $70093e4bae962030$export$e199e4a0c0335c4f = (0, $94c5837ac9718ea5$export$efd8fb7a8c453d34);\nconst $70093e4bae962030$export$dd70f1af61563969 = (0, $94c5837ac9718ea5$export$abcdbcf229aec40d);\nconst $70093e4bae962030$export$fd6858aa0f578dc7 = Object.assign(async (path, opts)=>{\n path = (0, $2cf7d964e5cc0fd3$export$84f52eb1a6059876)(path);\n const resolved = (0, $fe011e029754d49c$export$edfda2f049ea6cd1)(opts);\n return (0, $4f2a5ee0ce6c9fe4$export$875f149e5ea533c1)(resolved) ? (0, $94c5837ac9718ea5$export$efd8fb7a8c453d34)(path, resolved) : (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8)(path, resolved);\n}, {\n mkdirpSync: $70093e4bae962030$export$f5e50515bfceb13b,\n mkdirpNative: $94c5837ac9718ea5$export$efd8fb7a8c453d34,\n mkdirpNativeSync: $94c5837ac9718ea5$export$abcdbcf229aec40d,\n mkdirpManual: $4cab7f00ed99eaa0$export$96a3a6083628c9d8,\n mkdirpManualSync: $4cab7f00ed99eaa0$export$fa6f1b792dc805a5,\n sync: $70093e4bae962030$export$f5e50515bfceb13b,\n native: (0, $94c5837ac9718ea5$export$efd8fb7a8c453d34),\n nativeSync: (0, $94c5837ac9718ea5$export$abcdbcf229aec40d),\n manual: (0, $4cab7f00ed99eaa0$export$96a3a6083628c9d8),\n manualSync: (0, $4cab7f00ed99eaa0$export$fa6f1b792dc805a5),\n useNative: $4f2a5ee0ce6c9fe4$export$875f149e5ea533c1,\n useNativeSync: $4f2a5ee0ce6c9fe4$export$f32201cb36e5654a\n});\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n// src/modules/https-utils.ts\n\n\nfunction $916a385c4d46b771$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $916a385c4d46b771$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $f6VCT$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($916a385c4d46b771$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $916a385c4d46b771$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $f6VCT$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $916a385c4d46b771$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $916a385c4d46b771$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $916a385c4d46b771$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $916a385c4d46b771$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $916a385c4d46b771$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $fYuCK = parcelRequire(\"fYuCK\");\n\nvar $2owFL = parcelRequire(\"2owFL\");\nfunction $788ba5c4da878b74$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($fYuCK)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $788ba5c4da878b74$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $788ba5c4da878b74$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version);\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && await (0, $916a385c4d46b771$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $788ba5c4da878b74$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $916a385c4d46b771$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $788ba5c4da878b74$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $788ba5c4da878b74$export$5b54ecc7386538f(file, versionRegex = $788ba5c4da878b74$export$d7ab5e2d33b06cd5) {\n try {\n var _version_output_trim_match;\n const execout = await (0, $ca0ts.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = (_version_output_trim_match = version_output.trim().match(versionRegex)) === null || _version_output_trim_match === void 0 ? void 0 : _version_output_trim_match[1];\n var _semverCoerce;\n return (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $788ba5c4da878b74$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $788ba5c4da878b74$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $788ba5c4da878b74$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($fYuCK)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $788ba5c4da878b74$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2owFL)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version);\n if (coercedVersion !== null) {\n (0, $pcnv8.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $788ba5c4da878b74$export$b19007c0050a2fcc(version) {\n return Number.parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $788ba5c4da878b74$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\nfunction $788ba5c4da878b74$export$c5628088f192d2ef(tag1, tag2) {\n const v1 = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(tag1);\n const v2 = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(tag2);\n if (v1 !== null && v2 !== null) // put the latest version first\n return v2.compare(v1);\n // if the tags are not semver, compare them as strings, putting the latest tag first\n return tag2.localeCompare(tag1);\n}\n\n\nfunction $5e906f9774b6fdb4$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\nfunction $7a48c913c58c34bf$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.6\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n // the suffixes relate to the suffix in the llvm releases\n return \"17.0.6-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.6\";\n }\n}\nconst $7a48c913c58c34bf$export$5fb1985a02d8f66f = {\n llvm: $7a48c913c58c34bf$var$getLLVMDefault(),\n clangtidy: $7a48c913c58c34bf$var$getLLVMDefault(),\n clangformat: $7a48c913c58c34bf$var$getLLVMDefault(),\n ninja: \"1.12.1\",\n cmake: \"3.30.2\",\n gcovr: \"5.2\",\n conan: \"1.64.1\",\n meson: \"1.5.1\",\n kcov: \"42\",\n task: \"3.38.0\",\n doxygen: (0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() ? \"1.11.0-4\" : \"1.11.0\",\n gcc: process.platform === \"win32\" ? \"14.2.0posix-18.1.8-12.0.0-ucrt-r1\" : \"\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n powershell: \"7.4.5\"\n};\nconst $7a48c913c58c34bf$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $7a48c913c58c34bf$export$1bb63c984aa6e760 = {\n // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64\n mingw: {\n 24: \"8.0.0-1\",\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n // the suffixes relate to the suffix in the llvm releases\n llvm: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 24: \"6.0\",\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 24: \"1.0.0\",\n 22: \"1.0.0\",\n 20: \"1.0.0\",\n 18: \"0.61.4\"\n },\n nala: {\n 24: \"\",\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\"\n },\n kcov: {\n 24: \"42-binary\",\n 22: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n },\n doxygen: {\n 24: \"1.11.0\",\n 22: \"1.11.0\",\n 20: \"1.10.0\",\n 18: \"1.10.0\"\n }\n};\n\n\nasync function $644ae3dba93653dd$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $644ae3dba93653dd$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($f6VCT$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $644ae3dba93653dd$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $644ae3dba93653dd$var$setupPipx(foundPython);\n await $644ae3dba93653dd$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $644ae3dba93653dd$var$setupPipx(foundPython) {\n try {\n if (!await (0, $725285b1d6baf678$export$ffe24b8e86dbc863)(foundPython)) try {\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n } catch (err) {\n if ((0, $725285b1d6baf678$export$6de3fef38027e326)(\"pipx\", false) === null) throw new Error(`pipx was not installed correctly ${err}`);\n }\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $644ae3dba93653dd$var$setupWheel(foundPython) {\n try {\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $725285b1d6baf678$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $pcnv8.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $644ae3dba93653dd$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $644ae3dba93653dd$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $drEX5.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $dKklS.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $pcnv8.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"3LAPQ\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $644ae3dba93653dd$var$findPython(setupDir);\n if (foundPython === undefined) throw new Error(\"Python binary could not be found\");\n const binDir = (0, $drEX5.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $pcnv8.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $644ae3dba93653dd$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $644ae3dba93653dd$var$findPython(setupDir);\n if (foundPython === undefined) throw new Error(\"Python binary could not be found\");\n installInfo = {\n bin: foundPython,\n installDir: (0, $drEX5.dirname)(foundPython),\n binDir: (0, $drEX5.dirname)(foundPython)\n };\n }\n return installInfo;\n}\nasync function $644ae3dba93653dd$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $644ae3dba93653dd$var$findPython(setupDir);\n if (bin === undefined) throw new Error(\"Python binary could not be found\");\n const binDir = (0, $drEX5.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $drEX5.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(brewPythonBin, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n break;\n }\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) installInfo = await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) installInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $644ae3dba93653dd$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $644ae3dba93653dd$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n // On Windows, search in C:\\PythonXX\n if (process.platform === \"win32\") {\n const rootDir = (0, $f6VCT$path.parse)((0, $f6VCT$os.homedir)()).root;\n // find all directories in rootDir using readdir\n const pythonDirs = (await (0, $6vN83.readdir)(rootDir)).filter((dir)=>dir.startsWith(\"Python\"));\n for (const pythonDir of pythonDirs)for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $644ae3dba93653dd$var$isPythonUpToDate(pythonBin, (0, $drEX5.join)(rootDir, pythonDir));\n if (foundPython !== undefined) return foundPython;\n }\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $drEX5.join)(binDir, (0, $drEX5.addExeExt)(candidate));\n if (await (0, $ibhuk.pathExists)(pythonBinPath)) {\n if (await (0, $788ba5c4da878b74$export$d1f0d32b896ba08)(pythonBinPath, (0, $7a48c913c58c34bf$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n var _ref;\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pythonBinPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports)))(candidate, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $788ba5c4da878b74$export$d1f0d32b896ba08)(pythonBinPath, (0, $7a48c913c58c34bf$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$findOrSetupPip(foundPython) {\n const maybePip = await $644ae3dba93653dd$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $pcnv8.info)(\"pip was not found. Installing pip\");\n await $644ae3dba93653dd$var$setupPip(foundPython);\n return $644ae3dba93653dd$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $644ae3dba93653dd$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $644ae3dba93653dd$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$isPipUptoDate(pip) {\n try {\n var _ref;\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pipPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports)))(pip, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $788ba5c4da878b74$export$d1f0d32b896ba08)(pipPath, (0, $7a48c913c58c34bf$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $644ae3dba93653dd$var$setupPip(foundPython) {\n const upgraded = await $644ae3dba93653dd$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $725285b1d6baf678$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $644ae3dba93653dd$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $644ae3dba93653dd$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $pcnv8.info)(err1.toString());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $pcnv8.info)(err2.toString());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $644ae3dba93653dd$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $ca0ts.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $drEX5.join)(base_exec_prefix, \"Scripts\"), (0, $drEX5.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $drEX5.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $5e906f9774b6fdb4$export$7a5d5c156e7dc406)(dirs);\n}\nconst $644ae3dba93653dd$export$4bf645347c3b7001 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($644ae3dba93653dd$var$addPythonBaseExecPrefix_raw, {\n promise: true\n});\n\n\n\nfunction $55351d2b97ee8aa4$export$c506eb22e615ba4a(name, version, osVersion = null) {\n var _DefaultVersions_name;\n if ($55351d2b97ee8aa4$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $7a48c913c58c34bf$export$1bb63c984aa6e760)) return $55351d2b97ee8aa4$var$getDefaultLinuxVersion(osVersion, (0, $7a48c913c58c34bf$export$1bb63c984aa6e760)[name]);\n else if ($55351d2b97ee8aa4$var$isVersionDefault(version) && name in (0, $7a48c913c58c34bf$export$5fb1985a02d8f66f)) return (_DefaultVersions_name = (0, $7a48c913c58c34bf$export$5fb1985a02d8f66f)[name]) !== null && _DefaultVersions_name !== void 0 ? _DefaultVersions_name : \"\";\n else if (version === \"true\") return \"\";\n return version !== null && version !== void 0 ? version : \"\";\n}\nfunction $55351d2b97ee8aa4$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $55351d2b97ee8aa4$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>Number.parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $55351d2b97ee8aa4$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$55351d2b97ee8aa4$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n for (const tool of toolsInUse)opts[tool] = targetVersion;\n return true;\n}\n\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $f095436a84b3b121$exports = {};\n\"use strict\";\nObject.defineProperty($f095436a84b3b121$exports, \"__esModule\", {\n value: true\n});\n$f095436a84b3b121$exports.getUbuntuVersion = void 0;\n\nfunction $f095436a84b3b121$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $f095436a84b3b121$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $f6VCT$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($f095436a84b3b121$var$isSystemError(error) && error.code === \"ENOENT\") {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(\" \")}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function $f095436a84b3b121$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $f095436a84b3b121$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split(\"\\n\")){\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== \"Ubuntu\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$f095436a84b3b121$exports.getUbuntuVersion = $f095436a84b3b121$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\nasync function $f8e04f7ec4392c59$var$ubuntuVersion_raw() {\n try {\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $f8e04f7ec4392c59$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $f095436a84b3b121$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $f8e04f7ec4392c59$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $pcnv8.warning)(err.toString());\n return null;\n }\n}\nconst $f8e04f7ec4392c59$export$49c9cf1111dfa0ee = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($f8e04f7ec4392c59$var$ubuntuVersion_raw, {\n promise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $f8e04f7ec4392c59$var$detectUsingOsVersion() {\n if (!(\"version\" in (0, ($parcel$interopDefault($f6VCT$os))) && typeof (0, ($parcel$interopDefault($f6VCT$os))).version === \"function\")) return null;\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($f6VCT$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = Number.parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = Number.parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = Number.parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\nasync function $725285b1d6baf678$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $725285b1d6baf678$export$7c60aea099ad1c1d(await $725285b1d6baf678$var$getPython(), name, version, options);\n}\nasync function $725285b1d6baf678$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $725285b1d6baf678$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $725285b1d6baf678$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $k1l4q.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n const env = process.env;\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await $725285b1d6baf678$var$getPipxHome();\n env.PIPX_BIN_DIR = await $725285b1d6baf678$var$getPipxBinDir();\n }\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\",\n env: env\n });\n } catch (err) {\n (0, $k1l4q.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $725285b1d6baf678$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $725285b1d6baf678$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $644ae3dba93653dd$export$4bf645347c3b7001)(givenPython);\n const binDir = await $725285b1d6baf678$var$findBinDir(execPaths, name);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n}\nasync function $725285b1d6baf678$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $725285b1d6baf678$var$getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME;\n if (pipxHome !== undefined) return pipxHome;\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.local/pipx\");\n if (await (0, $ibhuk.pathExists)(compatHome)) return compatHome;\n switch(process.platform){\n case \"win32\":\n pipxHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/AppData/Local/pipx\");\n break;\n case \"darwin\":\n pipxHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/Library/Application Support/pipx\");\n break;\n default:\n pipxHome = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.local/share/pipx\");\n break;\n }\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)(pipxHome);\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)((0, $drEX5.join)(pipxHome, \"trash\"));\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)((0, $drEX5.join)(pipxHome, \"shared\"));\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)((0, $drEX5.join)(pipxHome, \"venv\"));\n return pipxHome;\n}\nconst $725285b1d6baf678$var$getPipxHome = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($725285b1d6baf678$var$getPipxHome_raw, {\n promise: true\n});\nasync function $725285b1d6baf678$var$getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) return process.env.PIPX_BIN_DIR;\n const pipxBinDir = (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.local/bin\");\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(pipxBinDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n await (0, $70093e4bae962030$export$fd6858aa0f578dc7)(pipxBinDir);\n return pipxBinDir;\n}\nconst $725285b1d6baf678$var$getPipxBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($725285b1d6baf678$var$getPipxBinDir_raw, {\n promise: true\n});\nasync function $725285b1d6baf678$var$getPython_raw() {\n const pythonBin = (await (0, $644ae3dba93653dd$export$2b0b68e9df3d4a02)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $725285b1d6baf678$var$getPython = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($725285b1d6baf678$var$getPython_raw, {\n promise: true\n});\nasync function $725285b1d6baf678$var$pipHasPackage(python, name) {\n const result = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $725285b1d6baf678$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $ibhuk.pathExists)((0, $drEX5.join)(dir, (0, $drEX5.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync((0, $drEX5.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $drEX5.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $725285b1d6baf678$export$6de3fef38027e326(name, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n (0, $k1l4q.info)(`Installing ${name} via the system package manager`);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(addPythonPrefix ? `python-${name}` : name);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n }\n return null;\n}\n\n\nfunction $5decc72fe15dcad3$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $725285b1d6baf678$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $3b5b7f21aafe5be9$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $3b5b7f21aafe5be9$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $3b5b7f21aafe5be9$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return binDir;\n}\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $b19dce7371463457$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"graphviz\", version);\n return $b19dce7371463457$var$activateGraphviz();\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"graphviz\", version);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $b19dce7371463457$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\n\n\n\n\n\nconst $4f8d278226295307$var$nameMap = new Map([\n [\n 24,\n [\n \"Sequoia\",\n \"15\"\n ]\n ],\n [\n 23,\n [\n \"Sonoma\",\n \"14\"\n ]\n ],\n [\n 22,\n [\n \"Ventura\",\n \"13\"\n ]\n ],\n [\n 21,\n [\n \"Monterey\",\n \"12\"\n ]\n ],\n [\n 20,\n [\n \"Big Sur\",\n \"11\"\n ]\n ],\n [\n 19,\n [\n \"Catalina\",\n \"10.15\"\n ]\n ],\n [\n 18,\n [\n \"Mojave\",\n \"10.14\"\n ]\n ],\n [\n 17,\n [\n \"High Sierra\",\n \"10.13\"\n ]\n ],\n [\n 16,\n [\n \"Sierra\",\n \"10.12\"\n ]\n ],\n [\n 15,\n [\n \"El Capitan\",\n \"10.11\"\n ]\n ],\n [\n 14,\n [\n \"Yosemite\",\n \"10.10\"\n ]\n ],\n [\n 13,\n [\n \"Mavericks\",\n \"10.9\"\n ]\n ],\n [\n 12,\n [\n \"Mountain Lion\",\n \"10.8\"\n ]\n ],\n [\n 11,\n [\n \"Lion\",\n \"10.7\"\n ]\n ],\n [\n 10,\n [\n \"Snow Leopard\",\n \"10.6\"\n ]\n ],\n [\n 9,\n [\n \"Leopard\",\n \"10.5\"\n ]\n ],\n [\n 8,\n [\n \"Tiger\",\n \"10.4\"\n ]\n ],\n [\n 7,\n [\n \"Panther\",\n \"10.3\"\n ]\n ],\n [\n 6,\n [\n \"Jaguar\",\n \"10.2\"\n ]\n ],\n [\n 5,\n [\n \"Puma\",\n \"10.1\"\n ]\n ]\n]);\nfunction $4f8d278226295307$export$2e2bcd8739ae039(release) {\n release = Number((release || (0, ($parcel$interopDefault($f6VCT$nodeos))).release()).split(\".\")[0]);\n const [name, version] = $4f8d278226295307$var$nameMap.get(release) || [\n \"Unknown\",\n \"\"\n ];\n return {\n name: name,\n version: version\n };\n}\n\n\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */ function $e63f4488391fc1a4$var$macosVersion_raw() {\n if (process.platform !== \"darwin\") return [];\n const { version: version } = (0, $4f8d278226295307$export$2e2bcd8739ae039)();\n return version.split(\".\").map((v)=>Number.parseInt(v, 10));\n}\nconst $e63f4488391fc1a4$export$b16fc932ee62ae86 = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($e63f4488391fc1a4$var$macosVersion_raw);\n\n\n\n\n\nasync function $2391f6cb56e590fd$export$9beb52a1d6d0b068(path, destDir) {\n const { ArchiveHdi: ArchiveHdi } = await (parcelRequire(\"byH4M\"));\n const dmg = new ArchiveHdi(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $f6VCT$path.join)(destDir, entry.path));\n });\n}\n\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $9f276bb1312a9d71$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`\n };\n }\n case \"darwin\":\n {\n const folderName = `Doxygen-${version}`;\n return {\n binRelativeDir: \"Doxygen/Doxygen.app/Contents/Resources/\",\n binFileName: (0, $drEX5.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $2391f6cb56e590fd$export$9beb52a1d6d0b068),\n url: `https://doxygen.nl/files/${folderName}.dmg`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $9f276bb1312a9d71$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($9ad30fc3d2fcf0f6$exports)))(()=>{\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $pcnv8.info)(err)\n });\n const binDir = await $9f276bb1312a9d71$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $b19dce7371463457$export$b885bd977caaafb9)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n // let installationInfo: InstallationInfo\n // try {\n // installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n // } catch {\n const installationInfo = await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"doxygen\", undefined);\n // }\n // only install graphviz if the macOS version is greater than 11\n if ((0, $e63f4488391fc1a4$export$b16fc932ee62ae86)()[0] > 11) await (0, $b19dce7371463457$export$b885bd977caaafb9)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() || (0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n } else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"doxygen\", version, $9f276bb1312a9d71$var$getDoxygenPackageInfo, setupDir, arch);\n try {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $pcnv8.info)(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`);\n }\n } catch (err) {\n (0, $pcnv8.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(\"Unsupported linux distributions\");\n await (0, $b19dce7371463457$export$b885bd977caaafb9)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $9f276bb1312a9d71$var$activateWinDoxygen() {\n switch(process.platform){\n case \"win32\":\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\"\n ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $ibhuk.pathExists)((0, $drEX5.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $8YrRN = parcelRequire(\"8YrRN\");\n\nvar $gWZ4x = parcelRequire(\"gWZ4x\");\n\n\n\n\nvar $ca0ts = parcelRequire(\"ca0ts\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nasync function $89d2131bb8f4aa1b$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $ca0ts.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim(), (0, $2a317fef4818a0d7$export$9460b536668416ce));\n else (0, $pcnv8.error)(\"SDKROOT not set\");\n } catch (e) {\n (0, $pcnv8.error)(e);\n }\n}\n\n\n\n\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\nasync function $c5f9dbd7d987d635$export$a5b751e9bb8ea3c6(path) {\n const data = await (0, $6vN83.readFile)(path, \"utf-8\");\n return JSON.parse(data);\n}\nfunction $c5f9dbd7d987d635$export$bf1aed226e28cc62(assets, opts) {\n // get the list of versions\n let tags = Object.keys(assets);\n // filter the versions\n if (opts.filterTag !== undefined) tags = tags.filter(opts.filterTag);\n if (tags.length === 0) throw new Error(`no tag found for version ${opts.version}`);\n // find the first tag that starts with the version\n // loop over the versions starting with the latest\n let tag;\n for (const mingwVersion of tags)if (mingwVersion.startsWith(opts.version)) {\n tag = mingwVersion;\n break;\n }\n if (tag === undefined) throw new Error(`version ${opts.version} is not supported`);\n // get the list of assets\n let matchedNames = assets[tag];\n // filter the assets\n if (opts.filterName !== undefined) matchedNames = matchedNames.filter(opts.filterName);\n if (matchedNames.length === 0) throw new Error(`no asset found for version ${opts.version} and arch ${opts.arch}`);\n // use the first asset if the arch is not specified\n if (opts.arch === undefined) return {\n tag: tag,\n name: matchedNames[0]\n };\n // find the asset that matches the arch\n for (const name of matchedNames){\n // search each asset name for the arch\n if (name.includes(opts.arch)) return {\n tag: tag,\n name: name\n };\n }\n throw new Error(`arch ${opts.arch} could not be found among ${JSON.stringify(matchedNames)}`);\n}\n\n\n\n\n\n\n\n\n\nvar $9c01b612305c09a3$var$$parcel$__dirname = $f6VCT$path.resolve(__dirname, \"../../src/gcc\");\nconst $9c01b612305c09a3$var$dirname = typeof $9c01b612305c09a3$var$$parcel$__dirname === \"string\" ? $9c01b612305c09a3$var$$parcel$__dirname : (0, ($parcel$interopDefault($f6VCT$path))).dirname((0, $f6VCT$url.fileURLToPath)(\"file:///src/gcc/gcc.ts\"));\nasync function $9c01b612305c09a3$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwAssets = await (0, $c5f9dbd7d987d635$export$a5b751e9bb8ea3c6)((0, $drEX5.join)($9c01b612305c09a3$var$dirname, \"github_brechtsanders_winlibs_mingw.json\"));\n const asset = (0, $c5f9dbd7d987d635$export$bf1aed226e28cc62)(mingwAssets, {\n version: version,\n arch: arch === \"x64\" ? \"x86_64\" : arch === \"ia32\" ? \"i386\" : arch,\n filterName: (name)=>name.endsWith(\".7z\")\n });\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $drEX5.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $d07bf20a0d39a78b$export$eecfe186811d4a20),\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${asset.tag}/${asset.name}`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $9c01b612305c09a3$export$405fab3de79b77b(version, setupDir, arch, priority = 40) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"g++\", version, $9c01b612305c09a3$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $pcnv8.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $9c01b612305c09a3$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n if (version === \"\") // the default version\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc\"\n },\n {\n name: \"g++\"\n }\n ]);\n else // add the PPA for access to more versions\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n },\n {\n name: \"g++\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n }\n } else {\n (0, $pcnv8.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n if (version === \"\") // the default version\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc-multilib\"\n }\n ]);\n else // add the PPA for access to more versions\n installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"gcc-multilib\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n }\n }\n break;\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return installAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) {\n await $9c01b612305c09a3$var$activateGcc(version, installationInfo.binDir, priority);\n return installationInfo;\n }\n return undefined;\n}\nasync function $9c01b612305c09a3$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $9c01b612305c09a3$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) installationInfo = await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) installationInfo = await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"mingw-w64\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n // Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n // Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n // await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $9c01b612305c09a3$var$setupChocoMingw(version, arch) {\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n var _process_env_ChocolateyInstall, _process_env_ChocolateyInstall1;\n if (arch === \"x64\" && await (0, $ibhuk.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n } else if (arch === \"ia32\" && await (0, $ibhuk.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n } else if (await (0, $ibhuk.pathExists)(`${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${(_process_env_ChocolateyInstall1 = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall1 !== void 0 ? _process_env_ChocolateyInstall1 : \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $9c01b612305c09a3$var$activateGcc(givenVersion, binDir, priority = 40) {\n const promises = [];\n // Setup gcc as the compiler\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`, rcOptions),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`, rcOptions),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`, rcOptions),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`, rcOptions),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`, rcOptions),\n // )\n if (process.platform === \"win32\") promises.push((0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", (0, $drEX5.addExeExt)(`${binDir}/gcc`), (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", (0, $drEX5.addExeExt)(`${binDir}/g++`), (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n else {\n // if version is empty, get the version from the gcc command\n let version = givenVersion;\n if (givenVersion === \"\") {\n version = await $9c01b612305c09a3$var$getGccCmdVersion(binDir, version);\n (0, $pcnv8.info)(`Using gcc version ${version}`);\n }\n var _semverCoerce;\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($gWZ4x)))((_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($8YrRN)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version);\n if (majorVersion >= 5) {\n promises.push((0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) promises.push((0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cc\", `${binDir}/gcc-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cxx\", `${binDir}/g++-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"gcc\", `${binDir}/gcc-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"g++\", `${binDir}/g++-${majorVersion}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority));\n } else {\n promises.push((0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) promises.push((0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cc\", `${binDir}/gcc-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cxx\", `${binDir}/g++-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"gcc\", `${binDir}/gcc-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"g++\", `${binDir}/g++-${version}`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority));\n }\n }\n promises.push((0, $89d2131bb8f4aa1b$export$28f5fd35e3005b7a)());\n if (0, $dKklS.GITHUB_ACTIONS) await $9c01b612305c09a3$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $9c01b612305c09a3$var$getGccCmdVersion(binDir, givenVersion) {\n // TODO get the version from the package manager\n try {\n let gccExe = \"gcc\";\n if (await (0, $ibhuk.pathExists)(`${binDir}/gcc`)) gccExe = `${binDir}/gcc`;\n else {\n // try to find the gcc exe in the bin dir\n const files = (await (0, $6vN83.readdir)(binDir)).sort((exe1, exe2)=>{\n var _exe1_match, _exe2_match;\n var _exe1_match_;\n const version1 = (_exe1_match_ = (_exe1_match = exe1.match(/^gcc-?(.*)(\\.exe)?$/)) === null || _exe1_match === void 0 ? void 0 : _exe1_match[1]) !== null && _exe1_match_ !== void 0 ? _exe1_match_ : \"\";\n var _exe2_match_;\n const version2 = (_exe2_match_ = (_exe2_match = exe2.match(/^gcc-?(.*)(\\.exe)?$/)) === null || _exe2_match === void 0 ? void 0 : _exe2_match[1]) !== null && _exe2_match_ !== void 0 ? _exe2_match_ : \"\";\n return (0, $788ba5c4da878b74$export$c5628088f192d2ef)(version1, version2);\n });\n for (const file of files)if (file.startsWith(\"gcc\")) {\n gccExe = `${binDir}/${file}`;\n break;\n }\n }\n const { stdout: versionStdout } = await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(gccExe, [\n \"--version\"\n ], {\n stdio: \"pipe\"\n });\n // gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\n // gcc-12 (Homebrew GCC 12.4.0) 12.4.0\n // gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0\n const versionMatch = versionStdout.match(/gcc.* \\(.*\\) ([\\d.]+)/);\n if (versionMatch !== null) return versionMatch[1];\n (0, $pcnv8.warning)(`Failed to parse gcc version from: ${versionStdout}`);\n return givenVersion;\n } catch (err) {\n (0, $pcnv8.error)(`Failed to get gcc version: ${err}`);\n return givenVersion;\n }\n}\nasync function $9c01b612305c09a3$var$addGccLoggingMatcher() {\n const matcherPath = (0, $drEX5.join)($9c01b612305c09a3$var$dirname, \"gcc_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\nvar $gWZ4x = parcelRequire(\"gWZ4x\");\n\nvar $2owFL = parcelRequire(\"2owFL\");\n\n\nfunction $7adff6c2a35eb11d$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $725285b1d6baf678$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $7adff6c2a35eb11d$export$2a0488baf2a20c0f() {\n return (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n}\nfunction $7adff6c2a35eb11d$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($2owFL)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($gWZ4x)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"GCOV\", gcov, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n}\n\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n/** Get the platform name Ninja uses in their download links */ function $9bc35ceb5b751351$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $9bc35ceb5b751351$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $9bc35ceb5b751351$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $9bc35ceb5b751351$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"ninja\", version, $9bc35ceb5b751351$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $227396c887da582e$var$$parcel$__dirname = $f6VCT$path.resolve(__dirname, \"../../src/kcov\");\nconst $227396c887da582e$var$dirname = typeof $227396c887da582e$var$$parcel$__dirname === \"string\" ? $227396c887da582e$var$$parcel$__dirname : (0, ($parcel$interopDefault($f6VCT$path))).dirname((0, $f6VCT$url.fileURLToPath)(\"file:///src/kcov/kcov.ts\"));\nfunction $227396c887da582e$var$getDownloadKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: (0, $drEX5.addExeExt)(\"kcov\")\n };\n}\nfunction $227396c887da582e$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $drEX5.addExeExt)(\"kcov\"),\n extractFunction: $227396c887da582e$var$buildKcov\n };\n}\nasync function $227396c887da582e$var$buildKcov(file, dest) {\n const out = await (0, $d07bf20a0d39a78b$export$2ab07ac150064014)(file, dest, 1);\n // build after extraction using CMake\n const cmake = await $227396c887da582e$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $drEX5.join)($227396c887da582e$var$dirname, \"gcc13.patch\");\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $pcnv8.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $drEX5.join)(out, \"build\");\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $f4ee3a29e1d521be$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $227396c887da582e$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $775e54fd09f86a26$export$c28663a621f418ce)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), (0, $drEX5.join)((0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~\"), \"cmake\"), \"\");\n cmake = (0, $drEX5.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $9bc35ceb5b751351$export$e6190f4bfe2ef71)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), (0, $drEX5.join)((0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $227396c887da582e$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $pcnv8.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $788ba5c4da878b74$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $788ba5c4da878b74$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"kcov\", version, $227396c887da582e$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"kcov\", version, $227396c887da582e$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\nclass $354440e40b8eb904$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $354440e40b8eb904$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $354440e40b8eb904$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $354440e40b8eb904$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $354440e40b8eb904$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $354440e40b8eb904$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $354440e40b8eb904$var$getDOMException(reason);\n};\nfunction $354440e40b8eb904$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($354440e40b8eb904$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($354440e40b8eb904$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $354440e40b8eb904$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message !== null && message !== void 0 ? message : `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $0ef47881a1b17d1b$export$3c7cae5a162b1458;\nvar $0ef47881a1b17d1b$export$704f0be24425353b;\nvar $0ef47881a1b17d1b$export$f49c12d2898d28cb;\nvar $0ef47881a1b17d1b$export$a6a3bfb882356813;\nvar $0ef47881a1b17d1b$export$443b8bb890f5027e;\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\n\n\n\nconst $0ef47881a1b17d1b$var$PROGRAM_FILES_X86 = $f6VCT$process.env[\"ProgramFiles(x86)\"];\nconst $0ef47881a1b17d1b$var$PROGRAM_FILES = [\n $f6VCT$process.env[\"ProgramFiles(x86)\"],\n $f6VCT$process.env[\"ProgramFiles\"]\n];\nconst $0ef47881a1b17d1b$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $0ef47881a1b17d1b$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $0ef47881a1b17d1b$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\n/**\n * Convert the vs version (e.g. 2022) or year (e.g. 17.0) to the version number (e.g. 17.0)\n * @param {string | undefined} vsversion the year (e.g. 2022) or version number (e.g. 17.0)\n * @returns {string | undefined} the version number (e.g. 17.0)\n */ function $0ef47881a1b17d1b$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($0ef47881a1b17d1b$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $0ef47881a1b17d1b$var$VsYearVersion) return $0ef47881a1b17d1b$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$0ef47881a1b17d1b$export$3c7cae5a162b1458 = $0ef47881a1b17d1b$var$vsversion_to_versionnumber;\n/**\n * Convert the vs version (e.g. 17.0) or year (e.g. 2022) to the year (e.g. 2022)\n * @param {string} vsversion the version number (e.g. 17.0) or year (e.g. 2022)\n * @returns {string} the year (e.g. 2022)\n */ function $0ef47881a1b17d1b$var$vsversion_to_year(vsversion) {\n if (Object.keys($0ef47881a1b17d1b$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($0ef47881a1b17d1b$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$0ef47881a1b17d1b$export$704f0be24425353b = $0ef47881a1b17d1b$var$vsversion_to_year;\nconst $0ef47881a1b17d1b$var$VSWHERE_PATH = `${$0ef47881a1b17d1b$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\n/**\n * Find MSVC tools with vswhere\n * @param {string} pattern the pattern to search for\n * @param {string} version_pattern the version pattern to search for\n * @returns {string | null} the path to the found MSVC tools\n */ function $0ef47881a1b17d1b$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $f6VCT$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $k1l4q.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$0ef47881a1b17d1b$export$f49c12d2898d28cb = $0ef47881a1b17d1b$var$findWithVswhere;\n/**\n * Find the vcvarsall.bat file for the given Visual Studio version\n * @param {string | undefined} vsversion the version of Visual Studio to find (year or version number)\n * @returns {string} the path to the vcvarsall.bat file\n */ function $0ef47881a1b17d1b$var$findVcvarsall(vsversion) {\n const vsversion_number = $0ef47881a1b17d1b$var$vsversion_to_versionnumber(vsversion);\n let version_pattern;\n if (vsversion_number) {\n const upper_bound = vsversion_number.split(\".\")[0] + \".9\";\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`;\n } else version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $0ef47881a1b17d1b$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $f6VCT$fs.existsSync(path)) {\n $k1l4q.info(`Found with vswhere: ${path}`);\n return path;\n }\n $k1l4q.info(\"Not found with vswhere\");\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [\n $0ef47881a1b17d1b$var$vsversion_to_year(vsversion)\n ] : $0ef47881a1b17d1b$var$YEARS;\n for (const prog_files of $0ef47881a1b17d1b$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $0ef47881a1b17d1b$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $k1l4q.info(`Trying standard location: ${path}`);\n if ($f6VCT$fs.existsSync(path)) {\n $k1l4q.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $k1l4q.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$0ef47881a1b17d1b$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($f6VCT$fs.existsSync(path)) {\n $k1l4q.info(`Found VS 2015: ${path}`);\n return path;\n }\n $k1l4q.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$0ef47881a1b17d1b$export$a6a3bfb882356813 = $0ef47881a1b17d1b$var$findVcvarsall;\nfunction $0ef47881a1b17d1b$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $0ef47881a1b17d1b$var$filterPathValue(path) {\n let paths = path.split(\";\");\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index;\n }\n return paths.filter(unique).join(\";\");\n}\n/**\n * Setup MSVC Developer Command Prompt\n * @param {string} arch - Target architecture\n * @param {string | undefined} sdk - Windows SDK number to build for\n * @param {string | undefined} toolset - VC++ compiler toolset version\n * @param {boolean | 'true' | 'false' | undefined} uwp - Build for Universal Windows Platform\n * @param {boolean | 'true' | 'false' | undefined} spectre - Enable Spectre mitigations\n * @param {string | undefined} vsversion - The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. \"2019\").\n */ function $0ef47881a1b17d1b$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($f6VCT$process.platform != \"win32\") {\n $k1l4q.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $f6VCT$process.env.PATH += $f6VCT$path.delimiter + $0ef47881a1b17d1b$var$VSWHERE_PATH;\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\"\n };\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) arch = arch_aliases[arch.toLowerCase()];\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n var args = [\n arch\n ];\n if (uwp && JSON.parse(uwp) === true) args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre && JSON.parse(spectre) === true) args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$0ef47881a1b17d1b$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $k1l4q.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $f6VCT$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\n const old_environment = cmd_output_parts[0].split(\"\\r\\n\");\n const vcvars_output = cmd_output_parts[1].split(\"\\r\\n\");\n const new_environment = cmd_output_parts[2].split(\"\\r\\n\");\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line)=>{\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\n\"));\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {};\n for (let string of old_environment){\n const [name, value] = string.split(\"=\");\n old_env_vars[name] = value;\n }\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n $k1l4q.startGroup(\"Environment variables\");\n for (let string of new_environment){\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes(\"=\")) continue;\n let [name, new_value] = string.split(\"=\");\n let old_value = old_env_vars[name];\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n $k1l4q.info(`Setting ${name}`);\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if ($0ef47881a1b17d1b$var$isPathVariable(name)) new_value = $0ef47881a1b17d1b$var$filterPathValue(new_value);\n $k1l4q.exportVariable(name, new_value);\n }\n }\n $k1l4q.endGroup();\n $k1l4q.info(`Configured Developer Command Prompt`);\n}\n$0ef47881a1b17d1b$export$443b8bb890f5027e = $0ef47881a1b17d1b$var$setupMSVCDevCmd;\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nfunction $28a0179cccdfc4cc$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $28a0179cccdfc4cc$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $ibhuk.pathExists)(VCTargetsPath)) {\n (0, $pcnv8.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n }\n await (0, $0ef47881a1b17d1b$export$443b8bb890f5027e)($28a0179cccdfc4cc$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nconst $b7011f27d06f0e7a$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $b7011f27d06f0e7a$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $b7011f27d06f0e7a$export$7bd623b29ec8e1eb) {\n (0, $k1l4q.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $354440e40b8eb904$export$2e2bcd8739ae039)($b7011f27d06f0e7a$var$installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $pcnv8.error)(e);\n if (e instanceof Error && e.stack !== undefined) (0, $pcnv8.error)(e.stack);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $k1l4q.endGroup)();\n return hasLLVM;\n}\nasync function $b7011f27d06f0e7a$var$installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages) {\n // eslint-disable-next-line no-param-reassign\n const hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $28a0179cccdfc4cc$export$5dcf571c91fc8369)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else if (tool === \"brew\") // eslint-disable no-await-in-loop\n installationInfo = await (0, $57f166e9ea32e0a9$export$c5eeb9c87a610a0e)({\n rcOptions: $2a317fef4818a0d7$export$9460b536668416ce\n });\n else {\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $drEX5.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n const setupVersion = (0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(tool, version, osVersion);\n // get the setup function\n const setupFunction = (0, $a47edfa4119b064f$export$18a3521ac7306af4)[tool];\n // eslint-disable no-await-in-loop\n installationInfo = await setupFunction(setupVersion, setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nvar $613cb9b1bfc34d2e$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($613cb9b1bfc34d2e$export$35fa309210df3df6 || ($613cb9b1bfc34d2e$export$35fa309210df3df6 = {}));\nasync function $613cb9b1bfc34d2e$export$a86791c88ded7e54(majorVersion, packages = 0) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n // download the installation script\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dl = new (0, $62686e7378463a66$exports.DownloaderHelper)(\"https://apt.llvm.org/llvm.sh\", (0, $f6VCT$os.tmpdir)(), {\n fileName: \"llvm.sh\"\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download the LLVM installer script: ${err}`);\n });\n await dl.start();\n const installerScript = await (0, $6vN83.readFile)(dl.getDownloadPath(), \"utf-8\");\n const installerPath = (0, $f6VCT$path.join)((0, $f6VCT$os.tmpdir)(), \"llvm-setup-cpp.sh\");\n const neededPackages = await $613cb9b1bfc34d2e$var$patchAptLLVMScript(installerScript, installerPath, majorVersion, packages);\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)(neededPackages);\n await (0, $6vN83.chmod)(installerPath, \"755\");\n await (0, $286498bcaea3fca1$export$351270479e2eef26)(\"bash\", [\n installerPath,\n `${majorVersion}`,\n ...packages === 0 ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $b7011f27d06f0e7a$export$7bd623b29ec8e1eb)\n });\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(`${installationFolder}/bin`, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $613cb9b1bfc34d2e$var$patchAptLLVMScript(givenScript, target_path, majorVersion, packages) {\n let script = $613cb9b1bfc34d2e$var$debugScript(givenScript);\n script = $613cb9b1bfc34d2e$var$nonInteractiveScript(script);\n script = $613cb9b1bfc34d2e$var$choosePackages(packages, script, majorVersion);\n script = await $613cb9b1bfc34d2e$var$removeConflictingPackages(script);\n script = $613cb9b1bfc34d2e$var$useNalaScript(script);\n await (0, $6vN83.writeFile)(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $613cb9b1bfc34d2e$var$debugScript(script) {\n if (process.env.NODE_DEBUG !== \"1\" && process.env.NODE_DEBUG !== \"true\") return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $613cb9b1bfc34d2e$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, `add-apt-repository -y -n \"\\${REPO_NAME}\"\napt-get update -o ${(0, $8420ec82b8e83bd1$export$63332523ab2676dd)} -y`);\n}\nasync function $613cb9b1bfc34d2e$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, `apt-get install -o Dpkg::Options::=\"--force-overwrite\" -o ${(0, $8420ec82b8e83bd1$export$63332523ab2676dd)} -y --fix-broken`);\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $0bcf8d198161b767$export$aaa4b6507c96b5db)(installingPack)) {\n (0, $f6VCT$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $613cb9b1bfc34d2e$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $f7155b738edcc70e$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $613cb9b1bfc34d2e$var$choosePackages(packages, script, majorVersion) {\n if (packages === 1) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\nvar $aTQrN = parcelRequire(\"aTQrN\");\n\n\nconst $89532e587c61f07b$export$aa5307f1aca77413 = (0, $788ba5c4da878b74$export$cbd9528a83fbffa1)([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $89532e587c61f07b$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $89532e587c61f07b$var$DARWIN_X64_MISSING = 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 \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\"\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 */ const $89532e587c61f07b$var$UBUNTU_RC = new Map();\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */ // TODO change based on ubuntu version\nconst $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n \"18.1.4\": \"-ubuntu-18.04\",\n \"18.1.7\": \"-ubuntu-18.04\",\n \"18.1.8\": \"-ubuntu-18.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $89532e587c61f07b$var$MAX_UBUNTU = \"18.1.8\";\n// ================================================\n// URL\n// ================================================\n/** Gets a LLVM download URL for GitHub. */ function $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $89532e587c61f07b$var$getDarwinUrl(version) {\n if ($89532e587c61f07b$var$DARWIN_X64_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"9.0.1\")) return $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix);\n else return $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $89532e587c61f07b$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $89532e587c61f07b$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$89532e587c61f07b$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $788ba5c4da878b74$export$deb1064c8260c54c)($89532e587c61f07b$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP) linuxVersion = $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $89532e587c61f07b$var$UBUNTU_X64_SUFFIX_MAP[$89532e587c61f07b$var$MAX_UBUNTU];\n (0, $pcnv8.warning)(`Falling back to LLVM version ${$89532e587c61f07b$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"9.0.1\")) return $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix);\n else return $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $89532e587c61f07b$var$getWin32Url(version) {\n if ($89532e587c61f07b$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($aTQrN)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $89532e587c61f07b$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $916a385c4d46b771$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $89532e587c61f07b$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $89532e587c61f07b$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $89532e587c61f07b$var$getDarwinUrl(version);\n case \"linux\":\n return $89532e587c61f07b$export$ae24f9682a44836b(version);\n case \"win32\":\n return $89532e587c61f07b$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $89532e587c61f07b$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $788ba5c4da878b74$export$4e4d3581f69a6d71)($89532e587c61f07b$export$aa5307f1aca77413, platform, version, $89532e587c61f07b$export$94df0e59ebebf4a7);\n (0, $pcnv8.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $drEX5.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $d07bf20a0d39a78b$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $d07bf20a0d39a78b$export$2ab07ac150064014)(file, dest, 1);\n }\n };\n}\n\n\n\nvar $2cacaea738b8f1ae$var$$parcel$__dirname = $f6VCT$path.resolve(__dirname, \"../../src/llvm\");\nconst $2cacaea738b8f1ae$var$dirname = typeof $2cacaea738b8f1ae$var$$parcel$__dirname === \"string\" ? $2cacaea738b8f1ae$var$$parcel$__dirname : (0, ($parcel$interopDefault($f6VCT$path))).dirname((0, $f6VCT$url.fileURLToPath)(\"file:///src/llvm/llvm.ts\"));\nasync function $2cacaea738b8f1ae$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $2cacaea738b8f1ae$var$setupLLVMWithoutActivation(version, setupDir, arch);\n var _installationInfo_installDir;\n await $2cacaea738b8f1ae$export$6238b5ebfd6640e7((_installationInfo_installDir = installationInfo.installDir) !== null && _installationInfo_installDir !== void 0 ? _installationInfo_installDir : setupDir);\n return installationInfo;\n}\nasync function $2cacaea738b8f1ae$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM\n const [installationInfo, _1] = await Promise.all([\n $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch),\n $2cacaea738b8f1ae$var$addLLVMLoggingMatcher()\n ]);\n // install LLVM dependencies\n await $2cacaea738b8f1ae$var$setupLLVMDeps(arch);\n return installationInfo;\n}\nconst $2cacaea738b8f1ae$var$setupLLVMWithoutActivation = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($2cacaea738b8f1ae$var$setupLLVMWithoutActivation_raw, {\n promise: true\n});\nfunction $2cacaea738b8f1ae$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch, (0, $613cb9b1bfc34d2e$export$35fa309210df3df6).ClangFormat);\n}\nfunction $2cacaea738b8f1ae$export$814ccfc953503728(version, setupDir, arch) {\n return $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $2cacaea738b8f1ae$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $613cb9b1bfc34d2e$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $788ba5c4da878b74$export$afd7401db249098f)(version);\n const majorVersion = Number.parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return await (0, $613cb9b1bfc34d2e$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $pcnv8.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"llvm\", version, (0, $89532e587c61f07b$export$f203993d12226a27), setupDir, arch);\n await $2cacaea738b8f1ae$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $2cacaea738b8f1ae$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $2cacaea738b8f1ae$var$llvmBinaryDeps = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($2cacaea738b8f1ae$var$llvmBinaryDeps_raw, {\n promise: true\n});\nasync function $2cacaea738b8f1ae$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await (0, $9c01b612305c09a3$export$405fab3de79b77b)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)()), \"\", arch, 40);\n}\nconst $2cacaea738b8f1ae$var$setupLLVMDeps = (0, (/*@__PURE__*/$parcel$interopDefault($d414f495e7962b80$exports)))($2cacaea738b8f1ae$var$setupLLVMDeps_raw, {\n promise: true\n});\nasync function $2cacaea738b8f1ae$export$6238b5ebfd6640e7(directory) {\n var _process_env_LD_LIBRARY_PATH;\n const ld = (_process_env_LD_LIBRARY_PATH = process.env.LD_LIBRARY_PATH) !== null && _process_env_LD_LIBRARY_PATH !== void 0 ? _process_env_LD_LIBRARY_PATH : \"\";\n var _process_env_DYLD_LIBRARY_PATH;\n const dyld = (_process_env_DYLD_LIBRARY_PATH = process.env.DYLD_LIBRARY_PATH) !== null && _process_env_DYLD_LIBRARY_PATH !== void 0 ? _process_env_DYLD_LIBRARY_PATH : \"\";\n const actPromises = [\n // the output of this action\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // Setup LLVM as the compiler\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $f6VCT$path.delimiter)}${ld}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $f6VCT$path.delimiter)}${dyld}`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // compiler flags\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // compiler paths\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", (0, $drEX5.addExeExt)(`${directory}/bin/clang`), (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", (0, $drEX5.addExeExt)(`${directory}/bin/clang++`), (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`, (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n // os sdks\n (0, $89d2131bb8f4aa1b$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`, rcOptions))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`, rcOptions))\n // }\n // }\n if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n const priority = 60;\n actPromises.push((0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cc\", `${directory}/bin/clang`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"cxx\", `${directory}/bin/clang++`, (0, $2a317fef4818a0d7$export$9460b536668416ce), priority), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"clang\", `${directory}/bin/clang`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"clang++\", `${directory}/bin/clang++`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"lld\", `${directory}/bin/lld`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"ld.lld\", `${directory}/bin/ld.lld`, (0, $2a317fef4818a0d7$export$9460b536668416ce)), (0, $415f99280e0a2cf7$export$d04a90794d7fd3eb)(\"llvm-ar\", `${directory}/bin/llvm-ar`, (0, $2a317fef4818a0d7$export$9460b536668416ce)));\n }\n await Promise.all(actPromises);\n}\nasync function $2cacaea738b8f1ae$var$addLLVMLoggingMatcher() {\n if (0, $dKklS.GITHUB_ACTIONS) {\n const matcherPath = (0, $drEX5.join)($2cacaea738b8f1ae$var$dirname, \"llvm_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $a7ab36245312f072$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"make\", version);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\nfunction $016802dfc7b0dd25$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $725285b1d6baf678$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\nvar $dKklS = parcelRequire(\"dKklS\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\nvar $da99583472da45a4$var$$parcel$__dirname = $f6VCT$path.resolve(__dirname, \"../../src/msvc\");\nconst $da99583472da45a4$var$dirname = typeof $da99583472da45a4$var$$parcel$__dirname === \"string\" ? $da99583472da45a4$var$$parcel$__dirname : (0, ($parcel$interopDefault($f6VCT$path))).dirname((0, $f6VCT$url.fileURLToPath)(\"file:///src/msvc/msvc.ts\"));\nasync function $da99583472da45a4$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $0ef47881a1b17d1b$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $pcnv8.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $0ef47881a1b17d1b$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $pcnv8.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualstudio2017buildtools\", \"15.9.41.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualstudio2019buildtools\", \"16.11.7.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\";\n } else if (version === \"17.0\") {\n toolset = undefined;\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $pcnv8.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $pcnv8.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $28a0179cccdfc4cc$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $dKklS.GITHUB_ACTIONS) await $da99583472da45a4$var$addMSVCLoggingMatcher();\n}\nasync function $da99583472da45a4$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $drEX5.join)($da99583472da45a4$var$dirname, \"msvc_matcher.json\");\n if (!await (0, $ibhuk.pathExists)(matcherPath)) return (0, $pcnv8.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $pcnv8.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\nvar $6vN83 = parcelRequire(\"6vN83\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\nlet $af664557d133c197$var$binDir;\nasync function $af664557d133c197$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $af664557d133c197$var$binDir === \"string\") return {\n binDir: $af664557d133c197$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $af664557d133c197$var$binDir = (0, $drEX5.dirname)(maybeBinDir);\n return {\n binDir: $af664557d133c197$var$binDir\n };\n }\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"python3-apt\"\n }\n ]);\n $af664557d133c197$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n // If nala is available in the default repositories, install it\n try {\n const nalaPack = await (0, $26e91d84b93347fe$export$80158881e1e46aed)({\n name: \"nala\",\n version: version\n });\n if (nalaPack !== undefined) {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: nalaPack\n }\n ]);\n return {\n binDir: $af664557d133c197$var$binDir\n };\n }\n } catch (err) {\n // ignore\n (0, $pcnv8.info)(`Failed to install nala: ${err}`);\n }\n // Nala is not available in the default repositories\n // Check if the legacy version is available\n try {\n const nalaLegacyPack = await (0, $26e91d84b93347fe$export$80158881e1e46aed)({\n name: \"nala-legacy\"\n });\n if (nalaLegacyPack !== undefined) {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: nalaLegacyPack\n }\n ], true);\n return {\n binDir: $af664557d133c197$var$binDir\n };\n }\n } catch (err) {\n // ignore\n (0, $pcnv8.info)(`Failed to install nala-legacy: ${err}`);\n }\n // Install via the installer script\n await $af664557d133c197$var$setupNalaViaInstaller();\n return {\n binDir: $af664557d133c197$var$binDir\n };\n}\nasync function $af664557d133c197$var$setupNalaViaInstaller() {\n const installer = new (0, $62686e7378463a66$exports.DownloaderHelper)(\"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh\", (0, $f6VCT$os.tmpdir)(), {\n fileName: \"install-nala.sh\"\n });\n installer.on(\"error\", (err)=>{\n throw new Error(`Failed to download install-nala.sh: ${err}`);\n });\n await installer.start();\n const installerPath = (0, $drEX5.join)((0, $f6VCT$os.tmpdir)(), \"install-nala.sh\");\n // Patch the installer script to not use sudo explicitly\n const script = await (0, $6vN83.readFile)(installerPath, \"utf8\");\n await (0, $6vN83.writeFile)(installerPath, script.replace(/sudo/g, \"\"));\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"wget\"\n }\n ]);\n try {\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"bash\", [\n installerPath\n ]);\n } catch (err) {\n (0, $pcnv8.error)(`Failed to install nala via installer: ${err}`);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"apt\", [\n \"install\",\n \"-y\",\n \"-t\",\n \"nala\",\n \"nala\"\n ]);\n }\n}\nfunction $af664557d133c197$export$2747aa8ef20f818d(script) {\n if ((0, $f7155b738edcc70e$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\n\nasync function $e72e2baab3c48b0e$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e72e2baab3c48b0e$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e72e2baab3c48b0e$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return binDir;\n}\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\n\n\n\n/** Get the platform data for cmake */ function $e0c57fde885e9322$var$getPowerShellPackageInfo(version, platform, arch) {\n return {\n url: $e0c57fde885e9322$var$getPowershellUrl(platform, arch, version),\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"pwsh\"),\n extractedFolderName: \"\"\n };\n}\nfunction $e0c57fde885e9322$var$getPowershellUrl(platform, arch, version) {\n switch(platform){\n case \"win32\":\n {\n const osArchStr = [\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch) ? \"win-x86\" : \"win-x64\";\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/PowerShell-${version}-${osArchStr}.zip`;\n }\n case \"darwin\":\n {\n const osArchStr = [\n \"arm\",\n \"arm64\"\n ].includes(arch) ? \"osx-arm64\" : \"osx-x64\";\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`;\n }\n case \"linux\":\n {\n const archMap = {\n arm64: \"linux-arm64\",\n arm: \"linux-arm64\",\n arm32: \"linux-arm32\",\n aarch64: \"linux-arm64\",\n x64: \"linux-x64\"\n };\n var _archMap_arch;\n const osArchStr = (_archMap_arch = archMap[arch]) !== null && _archMap_arch !== void 0 ? _archMap_arch : \"linux-x64\";\n // TODO support musl\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`;\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $e0c57fde885e9322$export$1ff6ad96ee130aba(version, setupDir, arch) {\n try {\n return await (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"pwsh\", version, $e0c57fde885e9322$var$getPowerShellPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $pcnv8.error)(`Failed to setup pwsh via download: ${err}. Trying package managers...`);\n return $e0c57fde885e9322$export$f145d39203ef47a0(version, setupDir, arch);\n }\n}\nasync function $e0c57fde885e9322$export$f145d39203ef47a0(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(binDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"powershell\", version, {\n cask: true,\n overwrite: false\n });\n case \"linux\":\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) return (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) {\n await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n \"curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo\"\n ]);\n return (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"packages-microsoft-prod.deb\"\n ]);\n // TODO Debian\n // const keyFileName = await addAptKeyViaURL(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n return (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\nfunction $927a24f3dd902b28$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $a1d9f9e35ead513b$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $d6240ef05c57ce77$export$72d03060ad30aa7f)(\"sccache\", version);\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n/** Get the platform name task uses in their download links */ function $fee36361a2bad308$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $fee36361a2bad308$var$getTaskArch(arch) {\n switch(arch){\n case \"x64\":\n return \"amd64\";\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\";\n default:\n return arch;\n }\n}\n/** Get the platform data for task */ function $fee36361a2bad308$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $fee36361a2bad308$var$getTaskPlatform(platform);\n const taskArch = $fee36361a2bad308$var$getTaskArch(arch);\n const extension = platform === \"win32\" ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $drEX5.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $fee36361a2bad308$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $5378b225b5c95af5$export$334f77c9844c21f6)(\"task\", version, $fee36361a2bad308$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\n\nvar $ibhuk = parcelRequire(\"ibhuk\");\n\nvar $drEX5 = parcelRequire(\"drEX5\");\n\n\n\n\n\n\n\n\nlet $2c1dbb6d966096c4$var$hasVCPKG = false;\nasync function $2c1dbb6d966096c4$export$490bdba4ef3e3f82(version, setupDir, _arch) {\n if (!$2c1dbb6d966096c4$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $cbc3e193f1217bd7$export$8ce8b4b22331a8c7)()) await (0, $d6741ec1214892d9$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n // clone if not already exists\n if (!await (0, $ibhuk.pathExists)((0, $drEX5.join)(setupDir, (0, $drEX5.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $drEX5.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $pcnv8.notice)(`Vcpkg folder already exists at ${setupDir}. Skipping the clone`);\n // if version specified, checkout the version\n if (version !== \"\" && version !== \"true\") {\n (0, $pcnv8.info)(`Checking out vcpkg version ${version}`);\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)(\"git\", [\n \"checkout\",\n version\n ], {\n cwd: setupDir,\n stdio: \"inherit\"\n });\n }\n // bootstrap vcpkg\n (0, $f4ee3a29e1d521be$export$28823a701bb5a12d)((0, $drEX5.addShExt)((0, $drEX5.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $410f384959a3ffde$export$4718e061a205eab)(setupDir);\n await (0, $87723acb40accf13$export$4c25481b843feb0b)(setupDir, (0, $2a317fef4818a0d7$export$9460b536668416ce));\n // eslint-disable-next-line require-atomic-updates\n $2c1dbb6d966096c4$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $drEX5.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($e354e8ac503df91c$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $a47edfa4119b064f$export$18a3521ac7306af4 = {\n nala: (0, $af664557d133c197$export$d73cbe8caeff03c5),\n cmake: (0, $775e54fd09f86a26$export$c28663a621f418ce),\n ninja: (0, $9bc35ceb5b751351$export$e6190f4bfe2ef71),\n python: (0, $644ae3dba93653dd$export$2b0b68e9df3d4a02),\n vcpkg: (0, $2c1dbb6d966096c4$export$490bdba4ef3e3f82),\n bazel: (0, $20c231c8127800bc$export$a66bc93580b0a849),\n conan: (0, $5decc72fe15dcad3$export$249d0c7d779d362f),\n meson: (0, $016802dfc7b0dd25$export$f73905553f087748),\n gcovr: (0, $7adff6c2a35eb11d$export$b98d69f362caf61f),\n opencppcoverage: (0, $e72e2baab3c48b0e$export$6aa28a97600a8ae3),\n llvm: (0, $2cacaea738b8f1ae$export$3016de7ae9d14988),\n gcc: (0, $9c01b612305c09a3$export$405fab3de79b77b),\n choco: (0, $8937fb0e5906a8f2$export$b804d731cdad7ef9),\n brew: (0, $57f166e9ea32e0a9$export$c5eeb9c87a610a0e),\n powershell: (0, $e0c57fde885e9322$export$1ff6ad96ee130aba),\n ccache: (0, $8885272da446ac43$export$111263621bbb0768),\n sccache: (0, $927a24f3dd902b28$export$b963b67cda80fdc),\n doxygen: (0, $9f276bb1312a9d71$export$b6e6613a954051ee),\n graphviz: (0, $b19dce7371463457$export$b885bd977caaafb9),\n cppcheck: (0, $3b5b7f21aafe5be9$export$13d77464c548b5d3),\n clangtidy: (0, $2cacaea738b8f1ae$export$814ccfc953503728),\n clangformat: (0, $2cacaea738b8f1ae$export$1cf2d186cecf1f54),\n msvc: (0, $da99583472da45a4$export$a91ef0362c1a7298),\n vcvarsall: (0, $28a0179cccdfc4cc$export$5dcf571c91fc8369),\n kcov: (0, $227396c887da582e$export$abb7c2ff987b1f6b),\n make: (0, $a7ab36245312f072$export$b0a9411329e2916),\n task: (0, $fee36361a2bad308$export$4456b3a3d3540077),\n sevenzip: (0, $fb82248e8974c296$export$5fc39629e14c8173)\n};\nconst $a47edfa4119b064f$export$904054328df186b = Object.keys($a47edfa4119b064f$export$18a3521ac7306af4);\nconst $a47edfa4119b064f$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$a47edfa4119b064f$export$904054328df186b\n];\n\n\nfunction $2a317fef4818a0d7$export$7300a92932ee17a3(args) {\n return (0, $4012ecb407fc2f3d$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $a47edfa4119b064f$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $a47edfa4119b064f$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $2a317fef4818a0d7$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $2a317fef4818a0d7$export$f57ebcae4da846e4() {\n (0, $pcnv8.info)(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`);\n console.table({\n \"compiler and analyzer\": {\n tools: \"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat\"\n },\n \"build system\": {\n tools: \"--cmake, --ninja, --meson, --make, --task, --bazel\"\n },\n \"package manager\": {\n tools: \"--vcpkg, --conan, --choco, --brew, --nala\"\n },\n cache: {\n tools: \"--ccache, --sccache\"\n },\n documentation: {\n tools: \"--doxygen, --graphviz\"\n },\n coverage: {\n tools: \"--gcovr, --opencppcoverage, --kcov\"\n },\n other: {\n tools: \"--python, --powershell, --sevenzip\"\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $2a317fef4818a0d7$export$fc4ce4d885cb1082(key) {\n const value = (0, $k1l4q.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $2a317fef4818a0d7$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `\\u{2705} ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\nconst $2a317fef4818a0d7$export$9460b536668416ce = {\n rcPath: (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~/.cpprc\"),\n guard: \"cpp\"\n};\n\n\n\n\nvar $k1l4q = parcelRequire(\"k1l4q\");\n\nvar $pcnv8 = parcelRequire(\"pcnv8\");\n\n\nvar $2owFL = parcelRequire(\"2owFL\");\n\n\n\n\n\n\nfunction $aaeebf9f0b5de875$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2owFL)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $pcnv8.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $aaeebf9f0b5de875$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $aaeebf9f0b5de875$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $k1l4q.startGroup)(`Installing ${compiler} ${version !== null && version !== void 0 ? version : \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $2cacaea738b8f1ae$export$3016de7ae9d14988)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $f6VCT$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $7adff6c2a35eb11d$export$2a0488baf2a20c0f)();\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $9c01b612305c09a3$export$f115c01d224b9e9a)(gccVersion, (0, $f6VCT$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $9c01b612305c09a3$export$405fab3de79b77b)(gccVersion, (0, $f6VCT$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n await (0, $7adff6c2a35eb11d$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"gcc\", installationInfo));\n break;\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\":\n {\n const installationInfo = await (0, $da99583472da45a4$export$a91ef0362c1a7298)((0, $55351d2b97ee8aa4$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $f6VCT$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\", (0, $2a317fef4818a0d7$export$9460b536668416ce));\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $k1l4q.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CC\", \"clang\", (0, $2a317fef4818a0d7$export$9460b536668416ce)),\n (0, $c88c57c2002da789$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\", (0, $2a317fef4818a0d7$export$9460b536668416ce))\n ]);\n successMessages.push((0, $2a317fef4818a0d7$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $pcnv8.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $k1l4q.endGroup)();\n}\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $568e78d97f64b842$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $dKklS.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $db6b30dbc1ea7b12$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $2a317fef4818a0d7$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $2a317fef4818a0d7$export$f57ebcae4da846e4)();\n var _opts_architecture;\n // cpu architecture\n const arch = (_opts_architecture = opts.architecture) !== null && _opts_architecture !== void 0 ? _opts_architecture : process.arch;\n var _process_env_SETUP_CPP_DIR;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = (_process_env_SETUP_CPP_DIR = process.env.SETUP_CPP_DIR) !== null && _process_env_SETUP_CPP_DIR !== void 0 ? _process_env_SETUP_CPP_DIR : (0, $3f4c9366e55e0917$export$8312d9eeba321950)(\"~\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $0f6edb4b6090460a$exports.create({\n autoloadLocales: true\n });\n $0f6edb4b6090460a$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($53983d8fa829acea$exports))));\n $5FRs7.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($6dfec0551895c67b$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $f8e04f7ec4392c59$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $55351d2b97ee8aa4$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $pcnv8.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $pcnv8.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $a47edfa4119b064f$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $dKklS.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n var _opts_timeout;\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $b7011f27d06f0e7a$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, Number.parseFloat((_opts_timeout = opts.timeout) !== null && _opts_timeout !== void 0 ? _opts_timeout : \"20\") * 60000);\n time2 = Date.now();\n (0, $pcnv8.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $aaeebf9f0b5de875$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $pcnv8.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $0781cd81f58c9935$export$943913be1ba4f7ff)((0, $2a317fef4818a0d7$export$9460b536668416ce));\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $pcnv8.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n for (const tool of successMessages)(0, $pcnv8.success)(tool);\n for (const tool of errorMessages)(0, $pcnv8.error)(tool);\n (0, $pcnv8.info)(\"setup-cpp finished\");\n if (!(0, $dKklS.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $pcnv8.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $pcnv8.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$568e78d97f64b842$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $pcnv8.error)(\"main() panicked!\");\n (0, $pcnv8.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Agola CI\",\n \"constant\": \"AGOLA\",\n \"env\": \"AGOLA_GIT_REF\",\n \"pr\": \"AGOLA_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"TF_BUILD\",\n \"pr\": {\n \"BUILD_REASON\": \"PullRequest\"\n }\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Earthly\",\n \"constant\": \"EARTHLY\",\n \"env\": \"EARTHLY_CI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"Gitea Actions\",\n \"constant\": \"GITEA_ACTIONS\",\n \"env\": \"GITEA_ACTIONS\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Prow\",\n \"constant\": \"PROW\",\n \"env\": \"PROW_JOB_ID\"\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vela\",\n \"constant\": \"VELA\",\n \"env\": \"VELA\",\n \"pr\": {\n \"VELA_PULL_REQUEST\": \"1\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n },\n \"pr\": \"VERCEL_GIT_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return GITHUB_ACTIONS ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,null,null,null,null,"import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;",null,null,null,null,null,null,"module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"proxy-agent.5536f8bd.js\"))).then(() => parcelRequire('5IibL'));",null,null,null,null,null,null,"module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","// 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","import * as fs from \"fs\"\nexport default fs.promises\n\nexport const {\n access,\n appendFile,\n chmod,\n chown,\n copyFile,\n lchmod,\n lchown,\n link,\n lstat,\n mkdir,\n mkdtemp,\n open,\n readdir,\n readFile,\n readlink,\n realpath,\n rename,\n rmdir,\n stat,\n symlink,\n truncate,\n unlink,\n utimes,\n writeFile,\n} = fs.promises\n\nimport { promisify } from \"util\"\nexport const rm = \"rm\" in fs.promises\n ? (\n fs.promises as typeof fs.promises & {\n rm: (path: string, options?: fs.RmDirOptions) => Promise\n }\n ).rm\n : promisify(fs.unlink)\n","\"use strict\";\n\n// eslint-disable-next-line no-empty-function\nmodule.exports = function () {};\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar sign = Math.sign;\n\tif (typeof sign !== \"function\") return false;\n\treturn sign(10) === 1 && sign(-20) === -1;\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tvalue = Number(value);\n\tif (isNaN(value) || value === 0) return value;\n\treturn value > 0 ? 1 : -1;\n};\n","// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\n\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , value = require(\"./valid-value\")\n , bind = Function.prototype.bind\n , call = Function.prototype.call\n , keys = Object.keys\n , objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nmodule.exports = function (method, defVal) {\n\treturn function (obj, cb /*, thisArg, compareFn*/) {\n\t\tvar list, thisArg = arguments[2], compareFn = arguments[3];\n\t\tobj = Object(value(obj));\n\t\tcallable(cb);\n\n\t\tlist = keys(obj);\n\t\tif (compareFn) {\n\t\t\tlist.sort(typeof compareFn === \"function\" ? bind.call(compareFn, obj) : undefined);\n\t\t}\n\t\tif (typeof method !== \"function\") method = list[method];\n\t\treturn call.call(method, list, function (key, index) {\n\t\t\tif (!objPropertyIsEnumerable.call(obj, key)) return defVal;\n\t\t\treturn call.call(cb, thisArg, obj[key], key, obj, index);\n\t\t});\n\t};\n};\n","\"use strict\";\n\nmodule.exports = function (fn) {\n\tif (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) throw new TypeError(\"Cannot use null or undefined\");\n\treturn value;\n};\n","\"use strict\";\n\nvar _undefined = require(\"../function/noop\")(); // Support ES3 engines\n\nmodule.exports = function (val) { return val !== _undefined && val !== null; };\n","\"use strict\";\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar assign = Object.assign, obj;\n\tif (typeof assign !== \"function\") return false;\n\tobj = { foo: \"raz\" };\n\tassign(obj, { bar: \"dwa\" }, { trzy: \"trzy\" });\n\treturn obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};\n","\"use strict\";\n\nvar keys = require(\"../keys\")\n , value = require(\"../valid-value\")\n , max = Math.max;\n\nmodule.exports = function (dest, src /*, …srcn*/) {\n\tvar error, i, length = max(arguments.length, 2), assign;\n\tdest = Object(value(dest));\n\tassign = function (key) {\n\t\ttry {\n\t\t\tdest[key] = src[key];\n\t\t} catch (e) {\n\t\t\tif (!error) error = e;\n\t\t}\n\t};\n\tfor (i = 1; i < length; ++i) {\n\t\tsrc = arguments[i];\n\t\tkeys(src).forEach(assign);\n\t}\n\tif (error !== undefined) throw error;\n\treturn dest;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.keys : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\ttry {\n\t\tObject.keys(\"primitive\");\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isValue = require(\"../is-value\");\n\nvar keys = Object.keys;\n\nmodule.exports = function (object) { return keys(isValue(object) ? Object(object) : object); };\n","\"use strict\";\n\nvar value = require(\"./valid-value\")\n , defineProperty = Object.defineProperty\n , getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor\n , getOwnPropertyNames = Object.getOwnPropertyNames\n , getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\nmodule.exports = function (target, source) {\n\tvar error, sourceObject = Object(value(source));\n\ttarget = Object(value(target));\n\tgetOwnPropertyNames(sourceObject).forEach(function (name) {\n\t\ttry {\n\t\t\tdefineProperty(target, name, getOwnPropertyDescriptor(source, name));\n\t\t} catch (e) { error = e; }\n\t});\n\tif (typeof getOwnPropertySymbols === \"function\") {\n\t\tgetOwnPropertySymbols(sourceObject).forEach(function (symbol) {\n\t\t\ttry {\n\t\t\t\tdefineProperty(target, symbol, getOwnPropertyDescriptor(source, symbol));\n\t\t\t} catch (e) { error = e; }\n\t\t});\n\t}\n\tif (error !== undefined) throw error;\n\treturn target;\n};\n","\"use strict\";\n\nvar str = \"razdwatrzy\";\n\nmodule.exports = function () {\n\tif (typeof str.contains !== \"function\") return false;\n\treturn str.contains(\"dwa\") === true && str.contains(\"foo\") === false;\n};\n","\"use strict\";\n\nvar indexOf = String.prototype.indexOf;\n\nmodule.exports = function (searchString /*, position*/) {\n\treturn indexOf.call(this, searchString, arguments[1]) > -1;\n};\n","'use strict';\n\nvar d = require('d')\n , callable = require('es5-ext/object/valid-callable')\n\n , apply = Function.prototype.apply, call = Function.prototype.call\n , create = Object.create, defineProperty = Object.defineProperty\n , defineProperties = Object.defineProperties\n , hasOwnProperty = Object.prototype.hasOwnProperty\n , descriptor = { configurable: true, enumerable: false, writable: true }\n\n , on, once, off, emit, methods, descriptors, base;\n\non = function (type, listener) {\n\tvar data;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) {\n\t\tdata = descriptor.value = create(null);\n\t\tdefineProperty(this, '__ee__', descriptor);\n\t\tdescriptor.value = null;\n\t} else {\n\t\tdata = this.__ee__;\n\t}\n\tif (!data[type]) data[type] = listener;\n\telse if (typeof data[type] === 'object') data[type].push(listener);\n\telse data[type] = [data[type], listener];\n\n\treturn this;\n};\n\nonce = function (type, listener) {\n\tvar once, self;\n\n\tcallable(listener);\n\tself = this;\n\ton.call(this, type, once = function () {\n\t\toff.call(self, type, once);\n\t\tapply.call(listener, this, arguments);\n\t});\n\n\tonce.__eeOnceListener__ = listener;\n\treturn this;\n};\n\noff = function (type, listener) {\n\tvar data, listeners, candidate, i;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return this;\n\tdata = this.__ee__;\n\tif (!data[type]) return this;\n\tlisteners = data[type];\n\n\tif (typeof listeners === 'object') {\n\t\tfor (i = 0; (candidate = listeners[i]); ++i) {\n\t\t\tif ((candidate === listener) ||\n\t\t\t\t\t(candidate.__eeOnceListener__ === listener)) {\n\t\t\t\tif (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n\t\t\t\telse listeners.splice(i, 1);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif ((listeners === listener) ||\n\t\t\t\t(listeners.__eeOnceListener__ === listener)) {\n\t\t\tdelete data[type];\n\t\t}\n\t}\n\n\treturn this;\n};\n\nemit = function (type) {\n\tvar i, l, listener, listeners, args;\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return;\n\tlisteners = this.__ee__[type];\n\tif (!listeners) return;\n\n\tif (typeof listeners === 'object') {\n\t\tl = arguments.length;\n\t\targs = new Array(l - 1);\n\t\tfor (i = 1; i < l; ++i) args[i - 1] = arguments[i];\n\n\t\tlisteners = listeners.slice();\n\t\tfor (i = 0; (listener = listeners[i]); ++i) {\n\t\t\tapply.call(listener, this, args);\n\t\t}\n\t} else {\n\t\tswitch (arguments.length) {\n\t\tcase 1:\n\t\t\tcall.call(listeners, this);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tcall.call(listeners, this, arguments[1]);\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tcall.call(listeners, this, arguments[1], arguments[2]);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tl = arguments.length;\n\t\t\targs = new Array(l - 1);\n\t\t\tfor (i = 1; i < l; ++i) {\n\t\t\t\targs[i - 1] = arguments[i];\n\t\t\t}\n\t\t\tapply.call(listeners, this, args);\n\t\t}\n\t}\n};\n\nmethods = {\n\ton: on,\n\tonce: once,\n\toff: off,\n\temit: emit\n};\n\ndescriptors = {\n\ton: d(on),\n\tonce: d(once),\n\toff: d(off),\n\temit: d(emit)\n};\n\nbase = defineProperties({}, descriptors);\n\nmodule.exports = exports = function (o) {\n\treturn (o == null) ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n","\"use strict\";\n\nvar isValue = require(\"type/value/is\")\n , isPlainFunction = require(\"type/plain-function/is\")\n , assign = require(\"es5-ext/object/assign\")\n , normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , contains = require(\"es5-ext/string/#/contains\");\n\nvar d = (module.exports = function (dscr, value/*, options*/) {\n\tvar c, e, w, options, desc;\n\tif (arguments.length < 2 || typeof dscr !== \"string\") {\n\t\toptions = value;\n\t\tvalue = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[2];\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t\tw = contains.call(dscr, \"w\");\n\t} else {\n\t\tc = w = true;\n\t\te = false;\n\t}\n\n\tdesc = { value: value, configurable: c, enumerable: e, writable: w };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n});\n\nd.gs = function (dscr, get, set/*, options*/) {\n\tvar c, e, options, desc;\n\tif (typeof dscr !== \"string\") {\n\t\toptions = set;\n\t\tset = get;\n\t\tget = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[3];\n\t}\n\tif (!isValue(get)) {\n\t\tget = undefined;\n\t} else if (!isPlainFunction(get)) {\n\t\toptions = get;\n\t\tget = set = undefined;\n\t} else if (!isValue(set)) {\n\t\tset = undefined;\n\t} else if (!isPlainFunction(set)) {\n\t\toptions = set;\n\t\tset = undefined;\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t} else {\n\t\tc = true;\n\t\te = false;\n\t}\n\n\tdesc = { get: get, set: set, configurable: c, enumerable: e };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n};\n","\"use strict\";\n\n// ES3 safe\nvar _undefined = void 0;\n\nmodule.exports = function (value) { return value !== _undefined && value !== null; };\n","\"use strict\";\n\nvar isFunction = require(\"../function/is\");\n\nvar classRe = /^\\s*class[\\s{/}]/, functionToString = Function.prototype.toString;\n\nmodule.exports = function (value) {\n\tif (!isFunction(value)) return false;\n\tif (classRe.test(functionToString.call(value))) return false;\n\treturn true;\n};\n","\"use strict\";\n\nvar isPrototype = require(\"../prototype/is\");\n\nmodule.exports = function (value) {\n\tif (typeof value !== \"function\") return false;\n\n\tif (!hasOwnProperty.call(value, \"length\")) return false;\n\n\ttry {\n\t\tif (typeof value.length !== \"number\") return false;\n\t\tif (typeof value.call !== \"function\") return false;\n\t\tif (typeof value.apply !== \"function\") return false;\n\t} catch (error) {\n\t\treturn false;\n\t}\n\n\treturn !isPrototype(value);\n};\n","\"use strict\";\n\nvar isObject = require(\"../object/is\");\n\nmodule.exports = function (value) {\n\tif (!isObject(value)) return false;\n\ttry {\n\t\tif (!value.constructor) return false;\n\t\treturn value.constructor.prototype === value;\n\t} catch (error) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isValue = require(\"../value/is\");\n\n// prettier-ignore\nvar possibleTypes = { \"object\": true, \"function\": true, \"undefined\": true /* document.all */ };\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) return false;\n\treturn hasOwnProperty.call(possibleTypes, typeof value);\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.assign : require(\"./shim\");\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\nvar process = function (src, obj) {\n\tvar key;\n\tfor (key in src) obj[key] = src[key];\n};\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (opts1 /*, …options*/) {\n\tvar result = create(null);\n\tforEach.call(arguments, function (options) {\n\t\tif (!isValue(options)) return;\n\t\tprocess(Object(options), result);\n\t});\n\treturn result;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? String.prototype.contains : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar from = Array.from, arr, result;\n\tif (typeof from !== \"function\") return false;\n\tarr = [\"raz\", \"dwa\"];\n\tresult = from(arr);\n\treturn Boolean(result && result !== arr && result[1] === \"dwa\");\n};\n","\"use strict\";\n\nvar iteratorSymbol = require(\"es6-symbol\").iterator\n , isArguments = require(\"../../function/is-arguments\")\n , isFunction = require(\"../../function/is-function\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , callable = require(\"../../object/valid-callable\")\n , validValue = require(\"../../object/valid-value\")\n , isValue = require(\"../../object/is-value\")\n , isString = require(\"../../string/is-string\")\n , isArray = Array.isArray\n , call = Function.prototype.call\n , desc = { configurable: true, enumerable: true, writable: true, value: null }\n , defineProperty = Object.defineProperty;\n\n// eslint-disable-next-line complexity, max-lines-per-function\nmodule.exports = function (arrayLike /*, mapFn, thisArg*/) {\n\tvar mapFn = arguments[1]\n\t , thisArg = arguments[2]\n\t , Context\n\t , i\n\t , j\n\t , arr\n\t , length\n\t , code\n\t , iterator\n\t , result\n\t , getIterator\n\t , value;\n\n\tarrayLike = Object(validValue(arrayLike));\n\n\tif (isValue(mapFn)) callable(mapFn);\n\tif (!this || this === Array || !isFunction(this)) {\n\t\t// Result: Plain array\n\t\tif (!mapFn) {\n\t\t\tif (isArguments(arrayLike)) {\n\t\t\t\t// Source: Arguments\n\t\t\t\tlength = arrayLike.length;\n\t\t\t\tif (length !== 1) return Array.apply(null, arrayLike);\n\t\t\t\tarr = new Array(1);\n\t\t\t\tarr[0] = arrayLike[0];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t\tif (isArray(arrayLike)) {\n\t\t\t\t// Source: Array\n\t\t\t\tarr = new Array((length = arrayLike.length));\n\t\t\t\tfor (i = 0; i < length; ++i) arr[i] = arrayLike[i];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t}\n\t\tarr = [];\n\t} else {\n\t\t// Result: Non plain array\n\t\tContext = this;\n\t}\n\n\tif (!isArray(arrayLike)) {\n\t\tif ((getIterator = arrayLike[iteratorSymbol]) !== undefined) {\n\t\t\t// Source: Iterator\n\t\t\titerator = callable(getIterator).call(arrayLike);\n\t\t\tif (Context) arr = new Context();\n\t\t\tresult = iterator.next();\n\t\t\ti = 0;\n\t\t\twhile (!result.done) {\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, result.value, i) : result.value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[i] = value;\n\t\t\t\t}\n\t\t\t\tresult = iterator.next();\n\t\t\t\t++i;\n\t\t\t}\n\t\t\tlength = i;\n\t\t} else if (isString(arrayLike)) {\n\t\t\t// Source: String\n\t\t\tlength = arrayLike.length;\n\t\t\tif (Context) arr = new Context();\n\t\t\tfor (i = 0, j = 0; i < length; ++i) {\n\t\t\t\tvalue = arrayLike[i];\n\t\t\t\tif (i + 1 < length) {\n\t\t\t\t\tcode = value.charCodeAt(0);\n\t\t\t\t\t// eslint-disable-next-line max-depth\n\t\t\t\t\tif (code >= 0xd800 && code <= 0xdbff) value += arrayLike[++i];\n\t\t\t\t}\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, value, j) : value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, j, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[j] = value;\n\t\t\t\t}\n\t\t\t\t++j;\n\t\t\t}\n\t\t\tlength = j;\n\t\t}\n\t}\n\tif (length === undefined) {\n\t\t// Source: array or array-like\n\t\tlength = toPosInt(arrayLike.length);\n\t\tif (Context) arr = new Context(length);\n\t\tfor (i = 0; i < length; ++i) {\n\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];\n\t\t\tif (Context) {\n\t\t\t\tdesc.value = value;\n\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t} else {\n\t\t\t\tarr[i] = value;\n\t\t\t}\n\t\t}\n\t}\n\tif (Context) {\n\t\tdesc.value = null;\n\t\tarr.length = length;\n\t}\n\treturn arr;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")()\n\t? require(\"ext/global-this\").Symbol\n\t: require(\"./polyfill\");\n","\"use strict\";\n\nvar global = require(\"ext/global-this\")\n , validTypes = { object: true, symbol: true };\n\nmodule.exports = function () {\n\tvar Symbol = global.Symbol;\n\tvar symbol;\n\tif (typeof Symbol !== \"function\") return false;\n\tsymbol = Symbol(\"test symbol\");\n\ttry { String(symbol); }\n\tcatch (e) { return false; }\n\n\t// Return 'true' also for polyfills\n\tif (!validTypes[typeof Symbol.iterator]) return false;\n\tif (!validTypes[typeof Symbol.toPrimitive]) return false;\n\tif (!validTypes[typeof Symbol.toStringTag]) return false;\n\n\treturn true;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? globalThis : require(\"./implementation\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tif (typeof globalThis !== \"object\") return false;\n\tif (!globalThis) return false;\n\treturn globalThis.Array === Array;\n};\n","var naiveFallback = function () {\n\tif (typeof self === \"object\" && self) return self;\n\tif (typeof window === \"object\" && window) return window;\n\tthrow new Error(\"Unable to resolve global `this`\");\n};\n\nmodule.exports = (function () {\n\tif (this) return this;\n\n\t// Unexpected strict mode (may happen if e.g. bundled into ESM module)\n\n\t// Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n\t// In all ES5+ engines global object inherits from Object.prototype\n\t// (if you approached one that doesn't please report)\n\ttry {\n\t\tObject.defineProperty(Object.prototype, \"__global__\", {\n\t\t\tget: function () { return this; },\n\t\t\tconfigurable: true\n\t\t});\n\t} catch (error) {\n\t\t// Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n\t\treturn naiveFallback();\n\t}\n\ttry {\n\t\t// Safari case (window.__global__ is resolved with global context, but __global__ does not)\n\t\tif (!__global__) return naiveFallback();\n\t\treturn __global__;\n\t} finally {\n\t\tdelete Object.prototype.__global__;\n\t}\n})();\n","// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\n\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"./validate-symbol\")\n , NativeSymbol = require(\"ext/global-this\").Symbol\n , generateName = require(\"./lib/private/generate-name\")\n , setupStandardSymbols = require(\"./lib/private/setup/standard-symbols\")\n , setupSymbolRegistry = require(\"./lib/private/setup/symbol-registry\");\n\nvar create = Object.create\n , defineProperties = Object.defineProperties\n , defineProperty = Object.defineProperty;\n\nvar SymbolPolyfill, HiddenSymbol, isNativeSafe;\n\nif (typeof NativeSymbol === \"function\") {\n\ttry {\n\t\tString(NativeSymbol());\n\t\tisNativeSafe = true;\n\t} catch (ignore) {}\n} else {\n\tNativeSymbol = null;\n}\n\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\nHiddenSymbol = function Symbol(description) {\n\tif (this instanceof HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n\treturn SymbolPolyfill(description);\n};\n\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = SymbolPolyfill = function Symbol(description) {\n\tvar symbol;\n\tif (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n\tif (isNativeSafe) return NativeSymbol(description);\n\tsymbol = create(HiddenSymbol.prototype);\n\tdescription = description === undefined ? \"\" : String(description);\n\treturn defineProperties(symbol, {\n\t\t__description__: d(\"\", description),\n\t\t__name__: d(\"\", generateName(description))\n\t});\n};\n\nsetupStandardSymbols(SymbolPolyfill);\nsetupSymbolRegistry(SymbolPolyfill);\n\n// Internal tweaks for real symbol producer\ndefineProperties(HiddenSymbol.prototype, {\n\tconstructor: d(SymbolPolyfill),\n\ttoString: d(\"\", function () { return this.__name__; })\n});\n\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\ndefineProperties(SymbolPolyfill.prototype, {\n\ttoString: d(function () { return \"Symbol (\" + validateSymbol(this).__description__ + \")\"; }),\n\tvalueOf: d(function () { return validateSymbol(this); })\n});\ndefineProperty(\n\tSymbolPolyfill.prototype, SymbolPolyfill.toPrimitive,\n\td(\"\", function () {\n\t\tvar symbol = validateSymbol(this);\n\t\tif (typeof symbol === \"symbol\") return symbol;\n\t\treturn symbol.toString();\n\t})\n);\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d(\"c\", \"Symbol\"));\n\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toStringTag,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])\n);\n\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toPrimitive,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive])\n);\n","\"use strict\";\n\nvar isSymbol = require(\"./is-symbol\");\n\nmodule.exports = function (value) {\n\tif (!isSymbol(value)) throw new TypeError(value + \" is not a symbol\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tif (!value) return false;\n\tif (typeof value === \"symbol\") return true;\n\tif (!value.constructor) return false;\n\tif (value.constructor.name !== \"Symbol\") return false;\n\treturn value[value.constructor.toStringTag] === \"Symbol\";\n};\n","\"use strict\";\n\nvar d = require(\"d\");\n\nvar create = Object.create, defineProperty = Object.defineProperty, objPrototype = Object.prototype;\n\nvar created = create(null);\nmodule.exports = function (desc) {\n\tvar postfix = 0, name, ie11BugWorkaround;\n\twhile (created[desc + (postfix || \"\")]) ++postfix;\n\tdesc += postfix || \"\";\n\tcreated[desc] = true;\n\tname = \"@@\" + desc;\n\tdefineProperty(\n\t\tobjPrototype, name,\n\t\td.gs(null, function (value) {\n\t\t\t// For IE11 issue see:\n\t\t\t// https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n\t\t\t// ie11-broken-getters-on-dom-objects\n\t\t\t// https://github.com/medikoo/es6-symbol/issues/12\n\t\t\tif (ie11BugWorkaround) return;\n\t\t\tie11BugWorkaround = true;\n\t\t\tdefineProperty(this, name, d(value));\n\t\t\tie11BugWorkaround = false;\n\t\t})\n\t);\n\treturn name;\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , NativeSymbol = require(\"ext/global-this\").Symbol;\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\t// To ensure proper interoperability with other native functions (e.g. Array.from)\n\t\t// fallback to eventual native implementation of given symbol\n\t\thasInstance: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.hasInstance) || SymbolPolyfill(\"hasInstance\")\n\t\t),\n\t\tisConcatSpreadable: d(\n\t\t\t\"\",\n\t\t\t(NativeSymbol && NativeSymbol.isConcatSpreadable) ||\n\t\t\t\tSymbolPolyfill(\"isConcatSpreadable\")\n\t\t),\n\t\titerator: d(\"\", (NativeSymbol && NativeSymbol.iterator) || SymbolPolyfill(\"iterator\")),\n\t\tmatch: d(\"\", (NativeSymbol && NativeSymbol.match) || SymbolPolyfill(\"match\")),\n\t\treplace: d(\"\", (NativeSymbol && NativeSymbol.replace) || SymbolPolyfill(\"replace\")),\n\t\tsearch: d(\"\", (NativeSymbol && NativeSymbol.search) || SymbolPolyfill(\"search\")),\n\t\tspecies: d(\"\", (NativeSymbol && NativeSymbol.species) || SymbolPolyfill(\"species\")),\n\t\tsplit: d(\"\", (NativeSymbol && NativeSymbol.split) || SymbolPolyfill(\"split\")),\n\t\ttoPrimitive: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toPrimitive) || SymbolPolyfill(\"toPrimitive\")\n\t\t),\n\t\ttoStringTag: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toStringTag) || SymbolPolyfill(\"toStringTag\")\n\t\t),\n\t\tunscopables: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.unscopables) || SymbolPolyfill(\"unscopables\")\n\t\t)\n\t});\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"../../../validate-symbol\");\n\nvar registry = Object.create(null);\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\tfor: d(function (key) {\n\t\t\tif (registry[key]) return registry[key];\n\t\t\treturn (registry[key] = SymbolPolyfill(String(key)));\n\t\t}),\n\t\tkeyFor: d(function (symbol) {\n\t\t\tvar key;\n\t\t\tvalidateSymbol(symbol);\n\t\t\tfor (key in registry) {\n\t\t\t\tif (registry[key] === symbol) return key;\n\t\t\t}\n\t\t\treturn undefined;\n\t\t})\n\t});\n};\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , id = objToString.call((function () { return arguments; })());\n\nmodule.exports = function (value) { return objToString.call(value) === id; };\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);\n\nmodule.exports = function (value) {\n\treturn typeof value === \"function\" && isFunctionStringTag(objToString.call(value));\n};\n","\"use strict\";\n\nvar toInteger = require(\"./to-integer\")\n , max = Math.max;\n\nmodule.exports = function (value) { return max(0, toInteger(value)); };\n","\"use strict\";\n\nvar sign = require(\"../math/sign\")\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (value) {\n\tif (isNaN(value)) return 0;\n\tvalue = Number(value);\n\tif (value === 0 || !isFinite(value)) return value;\n\treturn sign(value) * floor(abs(value));\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Math.sign : require(\"./shim\");\n","\"use strict\";\n\nvar objToString = Object.prototype.toString, id = objToString.call(\"\");\n\nmodule.exports = function (value) {\n\treturn (\n\t\ttypeof value === \"string\" ||\n\t\t(value &&\n\t\t\ttypeof value === \"object\" &&\n\t\t\t(value instanceof String || objToString.call(value) === id)) ||\n\t\tfalse\n\t);\n};\n","\"use strict\";\n\nmodule.exports = function (args) {\n\tvar id, i, length = args.length;\n\tif (!length) return \"\\u0002\";\n\tid = String(args[(i = 0)]);\n\twhile (--length) id += \"\\u0001\" + args[++i];\n\treturn id;\n};\n","\"use strict\";\n\nmodule.exports = function (length) {\n\tif (!length) {\n\t\treturn function () { return \"\"; };\n\t}\n\treturn function (args) {\n\t\tvar id = String(args[0]), i = 0, currentLength = length;\n\t\twhile (--currentLength) {\n\t\t\tid += \"\\u0001\" + args[++i];\n\t\t}\n\t\treturn id;\n\t};\n};\n","/* eslint max-statements: 0 */\n\n\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nvar create = Object.create;\n\nmodule.exports = function () {\n\tvar lastId = 0, map = [], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) return set[length] || null;\n\t\t\tif ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) return null;\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\treturn set[1][i] || null;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) {\n\t\t\t\tset[length] = ++lastId;\n\t\t\t} else {\n\t\t\t\tif (!set[length]) {\n\t\t\t\t\tset[length] = [[], []];\n\t\t\t\t}\n\t\t\t\tset = set[length];\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t\t}\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t}\n\t\t\t\tset[1][i] = ++lastId;\n\t\t\t}\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, args = cache[id], length = args.length, path = [];\n\t\t\tif (length === 0) {\n\t\t\t\tdelete set[length];\n\t\t\t} else if ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tpath.push(set, i);\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tid = set[1][i];\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\t\ti = path.pop();\n\t\t\t\t\tset = path.pop();\n\t\t\t\t\tset[0].splice(i, 1);\n\t\t\t\t\tset[1].splice(i, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar numberIsNaN = require(\"../../number/is-nan\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , value = require(\"../../object/valid-value\")\n , indexOf = Array.prototype.indexOf\n , objHasOwnProperty = Object.prototype.hasOwnProperty\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (searchElement /*, fromIndex*/) {\n\tvar i, length, fromIndex, val;\n\tif (!numberIsNaN(searchElement)) return indexOf.apply(this, arguments);\n\n\tlength = toPosInt(value(this).length);\n\tfromIndex = arguments[1];\n\tif (isNaN(fromIndex)) fromIndex = 0;\n\telse if (fromIndex >= 0) fromIndex = floor(fromIndex);\n\telse fromIndex = toPosInt(this.length) - floor(abs(fromIndex));\n\n\tfor (i = fromIndex; i < length; ++i) {\n\t\tif (objHasOwnProperty.call(this, i)) {\n\t\t\tval = this[i];\n\t\t\tif (numberIsNaN(val)) return i; // Jslint: ignore\n\t\t}\n\t}\n\treturn -1;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Number.isNaN : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar numberIsNaN = Number.isNaN;\n\tif (typeof numberIsNaN !== \"function\") return false;\n\treturn !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\t// eslint-disable-next-line no-self-compare\n\treturn value !== value;\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nmodule.exports = function () {\n\tvar lastId = 0, argsMap = [], cache = [];\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = indexOf.call(argsMap, args[0]);\n\t\t\treturn index === -1 ? null : cache[index];\n\t\t},\n\t\tset: function (args) {\n\t\t\targsMap.push(args[0]);\n\t\t\tcache.push(++lastId);\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = indexOf.call(cache, id);\n\t\t\tif (index !== -1) {\n\t\t\t\targsMap.splice(index, 1);\n\t\t\t\tcache.splice(index, 1);\n\t\t\t}\n\t\t},\n\t\tclear: function () {\n\t\t\targsMap = [];\n\t\t\tcache = [];\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\")\n , create = Object.create;\n\nmodule.exports = function (length) {\n\tvar lastId = 0, map = [[], []], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) return null;\n\t\t\treturn set[1][i] || null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t}\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t}\n\t\t\tset[1][i] = ++lastId;\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, path = [], args = cache[id];\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tpath.push(set, i);\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tid = set[1][i];\n\t\t\tset[0].splice(i, 1);\n\t\t\tset[1].splice(i, 1);\n\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\ti = path.pop();\n\t\t\t\tset = path.pop();\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [[], []];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","/* eslint consistent-this: 0, no-shadow:0, no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n// Support for asynchronous functions\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , objectMap = require(\"es5-ext/object/map\")\n , mixin = require(\"es5-ext/object/mixin\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , nextTick = require(\"next-tick\");\n\nvar slice = Array.prototype.slice, apply = Function.prototype.apply, create = Object.create;\n\nrequire(\"../lib/registered-extensions\").async = function (tbi, conf) {\n\tvar waiting = create(null)\n\t , cache = create(null)\n\t , base = conf.memoized\n\t , original = conf.original\n\t , currentCallback\n\t , currentContext\n\t , currentArgs;\n\n\t// Initial\n\tconf.memoized = defineLength(function (arg) {\n\t\tvar args = arguments, last = args[args.length - 1];\n\t\tif (typeof last === \"function\") {\n\t\t\tcurrentCallback = last;\n\t\t\targs = slice.call(args, 0, -1);\n\t\t}\n\t\treturn base.apply((currentContext = this), (currentArgs = args));\n\t}, base);\n\ttry { mixin(conf.memoized, base); }\n\tcatch (ignore) {}\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id) {\n\t\tvar cb, context, args;\n\t\tif (!currentCallback) return;\n\n\t\t// Unresolved\n\t\tif (waiting[id]) {\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback];\n\t\t\telse waiting[id].push(currentCallback);\n\t\t\tcurrentCallback = null;\n\t\t\treturn;\n\t\t}\n\n\t\t// Resolved, assure next tick invocation\n\t\tcb = currentCallback;\n\t\tcontext = currentContext;\n\t\targs = currentArgs;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\tnextTick(function () {\n\t\t\tvar data;\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tdata = cache[id];\n\t\t\t\tconf.emit(\"getasync\", id, args, context);\n\t\t\t\tapply.call(cb, data.context, data.args);\n\t\t\t} else {\n\t\t\t\t// Purged in a meantime, we shouldn't rely on cached value, recall\n\t\t\t\tcurrentCallback = cb;\n\t\t\t\tcurrentContext = context;\n\t\t\t\tcurrentArgs = args;\n\t\t\t\tbase.apply(context, args);\n\t\t\t}\n\t\t});\n\t});\n\n\t// Not from cache\n\tconf.original = function () {\n\t\tvar args, cb, origCb, result;\n\t\tif (!currentCallback) return apply.call(original, this, arguments);\n\t\targs = aFrom(arguments);\n\t\tcb = function self(err) {\n\t\t\tvar cb, args, id = self.id;\n\t\t\tif (id == null) {\n\t\t\t\t// Shouldn't happen, means async callback was called sync way\n\t\t\t\tnextTick(apply.bind(self, this, arguments));\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tdelete self.id;\n\t\t\tcb = waiting[id];\n\t\t\tdelete waiting[id];\n\t\t\tif (!cb) {\n\t\t\t\t// Already processed,\n\t\t\t\t// outcome of race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\targs = aFrom(arguments);\n\t\t\tif (conf.has(id)) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconf.delete(id);\n\t\t\t\t} else {\n\t\t\t\t\tcache[id] = { context: this, args: args };\n\t\t\t\t\tconf.emit(\"setasync\", id, typeof cb === \"function\" ? 1 : cb.length);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (typeof cb === \"function\") {\n\t\t\t\tresult = apply.call(cb, this, args);\n\t\t\t} else {\n\t\t\t\tcb.forEach(function (cb) { result = apply.call(cb, this, args); }, this);\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\t\torigCb = currentCallback;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\targs.push(cb);\n\t\tresult = apply.call(original, this, args);\n\t\tcb.cb = origCb;\n\t\tcurrentCallback = cb;\n\t\treturn result;\n\t};\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id) {\n\t\tif (!currentCallback) {\n\t\t\tconf.delete(id);\n\t\t\treturn;\n\t\t}\n\t\tif (waiting[id]) {\n\t\t\t// Race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback.cb];\n\t\t\telse waiting[id].push(currentCallback.cb);\n\t\t} else {\n\t\t\twaiting[id] = currentCallback.cb;\n\t\t}\n\t\tdelete currentCallback.cb;\n\t\tcurrentCallback.id = id;\n\t\tcurrentCallback = null;\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tvar result;\n\t\t// If false, we don't have value yet, so we assume that intention is not\n\t\t// to memoize this call. After value is obtained we don't cache it but\n\t\t// gracefully pass to callback\n\t\tif (hasOwnProperty.call(waiting, id)) return;\n\t\tif (!cache[id]) return;\n\t\tresult = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, slice.call(result.args, 1));\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\tconf.emit(\n\t\t\t\"clearasync\", objectMap(oldCache, function (data) { return slice.call(data.args, 1); })\n\t\t);\n\t});\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Array.from : require(\"./shim\");\n","\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , forEach = require(\"./for-each\")\n , call = Function.prototype.call;\n\nmodule.exports = function (obj, cb /*, thisArg*/) {\n\tvar result = {}, thisArg = arguments[2];\n\tcallable(cb);\n\tforEach(obj, function (value, key, targetObj, index) {\n\t\tresult[key] = call.call(cb, thisArg, value, key, targetObj, index);\n\t});\n\treturn result;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./_iterate\")(\"forEach\");\n","\"use strict\";\n\nvar toPosInt = require(\"../number/to-pos-integer\");\n\nvar test = function (arg1, arg2) { return arg2; };\n\nvar desc, defineProperty, generate, mixin;\n\ntry {\n\tObject.defineProperty(test, \"length\", {\n\t\tconfigurable: true,\n\t\twritable: false,\n\t\tenumerable: false,\n\t\tvalue: 1\n\t});\n}\ncatch (ignore) {}\n\nif (test.length === 1) {\n\t// ES6\n\tdesc = { configurable: true, writable: false, enumerable: false };\n\tdefineProperty = Object.defineProperty;\n\tmodule.exports = function (fn, length) {\n\t\tlength = toPosInt(length);\n\t\tif (fn.length === length) return fn;\n\t\tdesc.value = length;\n\t\treturn defineProperty(fn, \"length\", desc);\n\t};\n} else {\n\tmixin = require(\"../object/mixin\");\n\tgenerate = (function () {\n\t\tvar cache = [];\n\t\treturn function (length) {\n\t\t\tvar args, i = 0;\n\t\t\tif (cache[length]) return cache[length];\n\t\t\targs = [];\n\t\t\twhile (length--) args.push(\"a\" + (++i).toString(36));\n\t\t\t// eslint-disable-next-line no-new-func\n\t\t\treturn new Function(\n\t\t\t\t\"fn\",\n\t\t\t\t\"return function (\" + args.join(\", \") + \") { return fn.apply(this, arguments); };\"\n\t\t\t);\n\t\t};\n\t})();\n\tmodule.exports = function (src, length) {\n\t\tvar target;\n\t\tlength = toPosInt(length);\n\t\tif (src.length === length) return src;\n\t\ttarget = generate(length)(src);\n\t\ttry { mixin(target, src); }\n\t\tcatch (ignore) {}\n\t\treturn target;\n\t};\n}\n","'use strict';\n\nvar ensureCallable = function (fn) {\n\tif (typeof fn !== 'function') throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n\nvar byObserver = function (Observer) {\n\tvar node = document.createTextNode(''), queue, currentQueue, i = 0;\n\tnew Observer(function () {\n\t\tvar callback;\n\t\tif (!queue) {\n\t\t\tif (!currentQueue) return;\n\t\t\tqueue = currentQueue;\n\t\t} else if (currentQueue) {\n\t\t\tqueue = currentQueue.concat(queue);\n\t\t}\n\t\tcurrentQueue = queue;\n\t\tqueue = null;\n\t\tif (typeof currentQueue === 'function') {\n\t\t\tcallback = currentQueue;\n\t\t\tcurrentQueue = null;\n\t\t\tcallback();\n\t\t\treturn;\n\t\t}\n\t\tnode.data = (i = ++i % 2); // Invoke other batch, to handle leftover callbacks in case of crash\n\t\twhile (currentQueue) {\n\t\t\tcallback = currentQueue.shift();\n\t\t\tif (!currentQueue.length) currentQueue = null;\n\t\t\tcallback();\n\t\t}\n\t}).observe(node, { characterData: true });\n\treturn function (fn) {\n\t\tensureCallable(fn);\n\t\tif (queue) {\n\t\t\tif (typeof queue === 'function') queue = [queue, fn];\n\t\t\telse queue.push(fn);\n\t\t\treturn;\n\t\t}\n\t\tqueue = fn;\n\t\tnode.data = (i = ++i % 2);\n\t};\n};\n\nmodule.exports = (function () {\n\t// Node.js\n\tif ((typeof process === 'object') && process && (typeof process.nextTick === 'function')) {\n\t\treturn process.nextTick;\n\t}\n\n\t// queueMicrotask\n\tif (typeof queueMicrotask === \"function\") {\n\t\treturn function (cb) { queueMicrotask(ensureCallable(cb)); };\n\t}\n\n\t// MutationObserver\n\tif ((typeof document === 'object') && document) {\n\t\tif (typeof MutationObserver === 'function') return byObserver(MutationObserver);\n\t\tif (typeof WebKitMutationObserver === 'function') return byObserver(WebKitMutationObserver);\n\t}\n\n\t// W3C Draft\n\t// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n\tif (typeof setImmediate === 'function') {\n\t\treturn function (cb) { setImmediate(ensureCallable(cb)); };\n\t}\n\n\t// Wide available standard\n\tif ((typeof setTimeout === 'function') || (typeof setTimeout === 'object')) {\n\t\treturn function (cb) { setTimeout(ensureCallable(cb), 0); };\n\t}\n\n\treturn null;\n}());\n","/* eslint max-statements: 0 */\n\n// Support for functions returning promise\n\n\"use strict\";\n\nvar objectMap = require(\"es5-ext/object/map\")\n , primitiveSet = require(\"es5-ext/object/primitive-set\")\n , ensureString = require(\"es5-ext/object/validate-stringifiable-value\")\n , toShortString = require(\"es5-ext/to-short-string-representation\")\n , isPromise = require(\"is-promise\")\n , nextTick = require(\"next-tick\");\n\nvar create = Object.create\n , supportedModes = primitiveSet(\"then\", \"then:finally\", \"done\", \"done:finally\");\n\nrequire(\"../lib/registered-extensions\").promise = function (mode, conf) {\n\tvar waiting = create(null), cache = create(null), promises = create(null);\n\n\tif (mode === true) {\n\t\tmode = null;\n\t} else {\n\t\tmode = ensureString(mode);\n\t\tif (!supportedModes[mode]) {\n\t\t\tthrow new TypeError(\"'\" + toShortString(mode) + \"' is not valid promise mode\");\n\t\t}\n\t}\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id, ignore, promise) {\n\t\tvar isFailed = false;\n\n\t\tif (!isPromise(promise)) {\n\t\t\t// Non promise result\n\t\t\tcache[id] = promise;\n\t\t\tconf.emit(\"setasync\", id, 1);\n\t\t\treturn;\n\t\t}\n\t\twaiting[id] = 1;\n\t\tpromises[id] = promise;\n\t\tvar onSuccess = function (result) {\n\t\t\tvar count = waiting[id];\n\t\t\tif (isFailed) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Detected unordered then|done & finally resolution, which \" +\n\t\t\t\t\t\t\"in turn makes proper detection of success/failure impossible (when in \" +\n\t\t\t\t\t\t\"'done:finally' mode)\\n\" +\n\t\t\t\t\t\t\"Consider to rely on 'then' or 'done' mode instead.\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (!count) return; // Deleted from cache before resolved\n\t\t\tdelete waiting[id];\n\t\t\tcache[id] = result;\n\t\t\tconf.emit(\"setasync\", id, count);\n\t\t};\n\t\tvar onFailure = function () {\n\t\t\tisFailed = true;\n\t\t\tif (!waiting[id]) return; // Deleted from cache (or succeed in case of finally)\n\t\t\tdelete waiting[id];\n\t\t\tdelete promises[id];\n\t\t\tconf.delete(id);\n\t\t};\n\n\t\tvar resolvedMode = mode;\n\t\tif (!resolvedMode) resolvedMode = \"then\";\n\n\t\tif (resolvedMode === \"then\") {\n\t\t\tvar nextTickFailure = function () { nextTick(onFailure); };\n\t\t\t// Eventual finally needs to be attached to non rejected promise\n\t\t\t// (so we not force propagation of unhandled rejection)\n\t\t\tpromise = promise.then(function (result) {\n\t\t\t\tnextTick(onSuccess.bind(this, result));\n\t\t\t}, nextTickFailure);\n\t\t\t// If `finally` is a function we attach to it to remove cancelled promises.\n\t\t\tif (typeof promise.finally === \"function\") {\n\t\t\t\tpromise.finally(nextTickFailure);\n\t\t\t}\n\t\t} else if (resolvedMode === \"done\") {\n\t\t\t// Not recommended, as it may mute any eventual \"Unhandled error\" events\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess, onFailure);\n\t\t} else if (resolvedMode === \"done:finally\") {\n\t\t\t// The only mode with no side effects assuming library does not throw unconditionally\n\t\t\t// for rejected promises.\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (typeof promise.finally !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'finally' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess);\n\t\t\tpromise.finally(onFailure);\n\t\t}\n\t});\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id, args, context) {\n\t\tvar promise;\n\t\tif (waiting[id]) {\n\t\t\t++waiting[id]; // Still waiting\n\t\t\treturn;\n\t\t}\n\t\tpromise = promises[id];\n\t\tvar emit = function () { conf.emit(\"getasync\", id, args, context); };\n\t\tif (isPromise(promise)) {\n\t\t\tif (typeof promise.done === \"function\") promise.done(emit);\n\t\t\telse {\n\t\t\t\tpromise.then(function () { nextTick(emit); });\n\t\t\t}\n\t\t} else {\n\t\t\temit();\n\t\t}\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tdelete promises[id];\n\t\tif (waiting[id]) {\n\t\t\tdelete waiting[id];\n\t\t\treturn; // Not yet resolved\n\t\t}\n\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\tvar result = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, [result]);\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\twaiting = create(null);\n\t\tpromises = create(null);\n\t\tconf.emit(\"clearasync\", objectMap(oldCache, function (data) { return [data]; }));\n\t});\n};\n","\"use strict\";\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (arg /*, …args*/) {\n\tvar set = create(null);\n\tforEach.call(arguments, function (name) { set[name] = true; });\n\treturn set;\n};\n","\"use strict\";\n\nvar ensureValue = require(\"./valid-value\")\n , stringifiable = require(\"./validate-stringifiable\");\n\nmodule.exports = function (value) { return stringifiable(ensureValue(value)); };\n","\"use strict\";\n\nvar isCallable = require(\"./is-callable\");\n\nmodule.exports = function (stringifiable) {\n\ttry {\n\t\tif (stringifiable && isCallable(stringifiable.toString)) return stringifiable.toString();\n\t\treturn String(stringifiable);\n\t} catch (e) {\n\t\tthrow new TypeError(\"Passed argument cannot be stringifed\");\n\t}\n};\n","// Deprecated\n\n\"use strict\";\n\nmodule.exports = function (obj) { return typeof obj === \"function\"; };\n","\"use strict\";\n\nvar safeToString = require(\"./safe-to-string\");\n\nvar reNewLine = /[\\n\\r\\u2028\\u2029]/g;\n\nmodule.exports = function (value) {\n\tvar string = safeToString(value);\n\t// Trim if too long\n\tif (string.length > 100) string = string.slice(0, 99) + \"…\";\n\t// Replace eventual new lines\n\tstring = string.replace(reNewLine, function (char) {\n\t\treturn JSON.stringify(char).slice(1, -1);\n\t});\n\treturn string;\n};\n","\"use strict\";\n\nvar isCallable = require(\"./object/is-callable\");\n\nmodule.exports = function (value) {\n\ttry {\n\t\tif (value && isCallable(value.toString)) return value.toString();\n\t\treturn String(value);\n\t} catch (e) {\n\t\treturn \"\";\n\t}\n};\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","// Call dispose callback on each cache purge\n\n\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"../lib/registered-extensions\")\n , apply = Function.prototype.apply;\n\nextensions.dispose = function (dispose, conf, options) {\n\tvar del;\n\tcallable(dispose);\n\tif ((options.async && extensions.async) || (options.promise && extensions.promise)) {\n\t\tconf.on(\n\t\t\t\"deleteasync\",\n\t\t\t(del = function (id, resultArray) { apply.call(dispose, null, resultArray); })\n\t\t);\n\t\tconf.on(\"clearasync\", function (cache) {\n\t\t\tforEach(cache, function (result, id) { del(id, result); });\n\t\t});\n\t\treturn;\n\t}\n\tconf.on(\"delete\", (del = function (id, result) { dispose(result); }));\n\tconf.on(\"clear\", function (cache) {\n\t\tforEach(cache, function (result, id) { del(id, result); });\n\t});\n};\n","/* eslint consistent-this: 0 */\n\n// Timeout cached values\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , forEach = require(\"es5-ext/object/for-each\")\n , nextTick = require(\"next-tick\")\n , isPromise = require(\"is-promise\")\n , timeout = require(\"timers-ext/valid-timeout\")\n , extensions = require(\"../lib/registered-extensions\");\n\nvar noop = Function.prototype, max = Math.max, min = Math.min, create = Object.create;\n\nextensions.maxAge = function (maxAge, conf, options) {\n\tvar timeouts, postfix, preFetchAge, preFetchTimeouts;\n\n\tmaxAge = timeout(maxAge);\n\tif (!maxAge) return;\n\n\ttimeouts = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\tconf.on(\"set\" + postfix, function (id) {\n\t\ttimeouts[id] = setTimeout(function () { conf.delete(id); }, maxAge);\n\t\tif (typeof timeouts[id].unref === \"function\") timeouts[id].unref();\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id]) {\n\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\t}\n\t\tpreFetchTimeouts[id] = setTimeout(function () {\n\t\t\tdelete preFetchTimeouts[id];\n\t\t}, preFetchAge);\n\t\tif (typeof preFetchTimeouts[id].unref === \"function\") preFetchTimeouts[id].unref();\n\t});\n\tconf.on(\"delete\" + postfix, function (id) {\n\t\tclearTimeout(timeouts[id]);\n\t\tdelete timeouts[id];\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\tdelete preFetchTimeouts[id];\n\t});\n\n\tif (options.preFetch) {\n\t\tif (options.preFetch === true || isNaN(options.preFetch)) {\n\t\t\tpreFetchAge = 0.333;\n\t\t} else {\n\t\t\tpreFetchAge = max(min(Number(options.preFetch), 1), 0);\n\t\t}\n\t\tif (preFetchAge) {\n\t\t\tpreFetchTimeouts = {};\n\t\t\tpreFetchAge = (1 - preFetchAge) * maxAge;\n\t\t\tconf.on(\"get\" + postfix, function (id, args, context) {\n\t\t\t\tif (!preFetchTimeouts[id]) {\n\t\t\t\t\tpreFetchTimeouts[id] = \"nextTick\";\n\t\t\t\t\tnextTick(function () {\n\t\t\t\t\t\tvar result;\n\t\t\t\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") return;\n\t\t\t\t\t\tdelete preFetchTimeouts[id];\n\t\t\t\t\t\tconf.delete(id);\n\t\t\t\t\t\tif (options.async) {\n\t\t\t\t\t\t\targs = aFrom(args);\n\t\t\t\t\t\t\targs.push(noop);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresult = conf.memoized.apply(context, args);\n\t\t\t\t\t\tif (options.promise) {\n\t\t\t\t\t\t\t// Supress eventual error warnings\n\t\t\t\t\t\t\tif (isPromise(result)) {\n\t\t\t\t\t\t\t\tif (typeof result.done === \"function\") result.done(noop, noop);\n\t\t\t\t\t\t\t\telse result.then(noop, noop);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tconf.on(\"clear\" + postfix, function () {\n\t\tforEach(timeouts, function (id) { clearTimeout(id); });\n\t\ttimeouts = {};\n\t\tif (preFetchTimeouts) {\n\t\t\tforEach(preFetchTimeouts, function (id) { if (id !== \"nextTick\") clearTimeout(id); });\n\t\t\tpreFetchTimeouts = {};\n\t\t}\n\t});\n};\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\")\n , maxTimeout = require(\"./max-timeout\");\n\nmodule.exports = function (value) {\n\tvalue = toPosInt(value);\n\tif (value > maxTimeout) throw new TypeError(value + \" exceeds maximum possible timeout\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = 2147483647;\n","// Limit cache size, LRU (least recently used) algorithm.\n\n\"use strict\";\n\nvar toPosInteger = require(\"es5-ext/number/to-pos-integer\")\n , lruQueue = require(\"lru-queue\")\n , extensions = require(\"../lib/registered-extensions\");\n\nextensions.max = function (max, conf, options) {\n\tvar postfix, queue, hit;\n\n\tmax = toPosInteger(max);\n\tif (!max) return;\n\n\tqueue = lruQueue(max);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\n\t\t\"set\" + postfix,\n\t\t(hit = function (id) {\n\t\t\tid = queue.hit(id);\n\t\t\tif (id === undefined) return;\n\t\t\tconf.delete(id);\n\t\t})\n\t);\n\tconf.on(\"get\" + postfix, hit);\n\tconf.on(\"delete\" + postfix, queue.delete);\n\tconf.on(\"clear\" + postfix, queue.clear);\n};\n","'use strict';\n\nvar toPosInt = require('es5-ext/number/to-pos-integer')\n\n , create = Object.create, hasOwnProperty = Object.prototype.hasOwnProperty;\n\nmodule.exports = function (limit) {\n\tvar size = 0, base = 1, queue = create(null), map = create(null), index = 0, del;\n\tlimit = toPosInt(limit);\n\treturn {\n\t\thit: function (id) {\n\t\t\tvar oldIndex = map[id], nuIndex = ++index;\n\t\t\tqueue[nuIndex] = id;\n\t\t\tmap[id] = nuIndex;\n\t\t\tif (!oldIndex) {\n\t\t\t\t++size;\n\t\t\t\tif (size <= limit) return;\n\t\t\t\tid = queue[base];\n\t\t\t\tdel(id);\n\t\t\t\treturn id;\n\t\t\t}\n\t\t\tdelete queue[oldIndex];\n\t\t\tif (base !== oldIndex) return;\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tdelete: del = function (id) {\n\t\t\tvar oldIndex = map[id];\n\t\t\tif (!oldIndex) return;\n\t\t\tdelete queue[oldIndex];\n\t\t\tdelete map[id];\n\t\t\t--size;\n\t\t\tif (base !== oldIndex) return;\n\t\t\tif (!size) {\n\t\t\t\tindex = 0;\n\t\t\t\tbase = 1;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tclear: function () {\n\t\t\tsize = 0;\n\t\t\tbase = 1;\n\t\t\tqueue = create(null);\n\t\t\tmap = create(null);\n\t\t\tindex = 0;\n\t\t}\n\t};\n};\n","// Reference counter, useful for garbage collector like functionality\n\n\"use strict\";\n\nvar d = require(\"d\")\n , extensions = require(\"../lib/registered-extensions\")\n , create = Object.create\n , defineProperties = Object.defineProperties;\n\nextensions.refCounter = function (ignore, conf, options) {\n\tvar cache, postfix;\n\n\tcache = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\"set\" + postfix, function (id, length) { cache[id] = length || 1; });\n\tconf.on(\"get\" + postfix, function (id) { ++cache[id]; });\n\tconf.on(\"delete\" + postfix, function (id) { delete cache[id]; });\n\tconf.on(\"clear\" + postfix, function () { cache = {}; });\n\n\tdefineProperties(conf.memoized, {\n\t\tdeleteRef: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return null;\n\t\t\tif (!cache[id]) return null;\n\t\t\tif (!--cache[id]) {\n\t\t\t\tconf.delete(id);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}),\n\t\tgetRefCount: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return 0;\n\t\t\tif (!cache[id]) return 0;\n\t\t\treturn cache[id];\n\t\t}),\n\t});\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], 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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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('build 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: 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(options.includePrerelease ? re[t.COERCEFULL] : 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 // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.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 const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]\n let next\n while ((next = coerceRtlRegex.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 coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n const major = match[2]\n const minor = match[3] || '0'\n const patch = match[4] || '0'\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''\n\n return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","const SPACE_CHARACTERS = /\\s+/g\n\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.formatted = undefined\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\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.formatted = undefined\n }\n\n get range () {\n if (this.formatted === undefined) {\n this.formatted = ''\n for (let i = 0; i < this.set.length; i++) {\n if (i > 0) {\n this.formatted += '||'\n }\n const comps = this.set[i]\n for (let k = 0; k < comps.length; k++) {\n if (k > 0) {\n this.formatted += ' '\n }\n this.formatted += comps[k].toString().trim()\n }\n }\n }\n return this.formatted\n }\n\n format () {\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('../internal/lrucache')\nconst cache = new LRU()\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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\n// TODO build?\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr) => {\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","class LRUCache {\n constructor () {\n this.max = 1000\n this.map = new Map()\n }\n\n get (key) {\n const value = this.map.get(key)\n if (value === undefined) {\n return undefined\n } else {\n // Remove the key from the map and add it to the end\n this.map.delete(key)\n this.map.set(key, value)\n return value\n }\n }\n\n delete (key) {\n return this.map.delete(key)\n }\n\n set (key, value) {\n const deleted = this.delete(key)\n\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value\n this.delete(firstKey)\n }\n\n this.map.set(key, value)\n }\n\n return this\n }\n}\n\nmodule.exports = LRUCache\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n",null,"import { basename, extname } from \"path\"\n\n/**\n * Get the name of the given file path.\n *\n * By default the file extension is included in the returned name. To remove the extension, set the second parameter to `false`.\n *\n * @example\n *\n * ```js\n * import { name } from \"patha\"\n *\n * name(\"path/to/file.md\") // gives \"file.md\"\n *\n * name(\"path/to/file.md\", false) // gives \"file\"\n * ```\n *\n * @param path The given file path\n * @param includeExtension If the name should include the file extension as well\n * @returns The base name without the extension\n */\nexport function name(path: string, includeExtension: boolean = true) {\n if (includeExtension) {\n return basename(path)\n } else {\n return basename(path, extname(path))\n }\n}\n","import { normalize, sep } from \"path\"\nimport escapeRegexp from \"escape-string-regexp\"\n\n/**\n * Normalizes the path and removes the trailing slashes.\n *\n * @example\n *\n * ```js\n * import { normalize, normalizeTrim } from \"patha\"\n *\n * normalizeTrim(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf\"\n *\n * normalize(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf/\"\n * ```\n *\n * @param path The given file path\n * @returns The normalized and trimmed file path\n */\nexport function normalizeTrim(path: string) {\n return normalize(path).replace(new RegExp(`${escapeRegexp(sep)}$`), \"\")\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @example\n *\n * ```js\n * import { addExeExt } from \"patha\"\n *\n * addExeExt(\"path/to/file-name\") // gives \"path/to/file-name.exe\" on Windows and \"path/to/file-name\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext Defaults to `.exe` on Windows\n * @param other_ext Defaults to `\"\"` On other platforms.\n */\nexport function addExeExt(name: string, win_ext = \".exe\", other_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a prefix to the start of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNamePrefix } from \"patha\"\n *\n * addNamePrefix(\"path/to/file-name.ext\", \"new-\") // gives \"path/to/new-file-name.ext\"\n * ```\n *\n * @param path The given file path\n * @param prefix The prefix to add to the start of the file name\n * @returns The path with a prefix added to its file name\n */\nexport function addNamePrefix(path: string, prefix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name prefix\n const NameWithPrefix = `${prefix}${nameWithoutExt}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithPrefix)\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a suffix to the end of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNameSuffix } from \"patha\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \"-old\") // gives \"path/to/file-name-old.ext\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \".test\") // gives \"path/to/file-name.test.ext\"\n * ```\n *\n * @param path The given file path\n * @param suffix The suffix to add to the end of the file name\n * @returns The path with a suffix added to its file name\n */\nexport function addNameSuffix(path: string, suffix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name suffix\n const NameWithSuffix = `${nameWithoutExt}${suffix}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithSuffix)\n}\n","/**\n * Add a native shell extension to the given name.\n *\n * @example\n *\n * ```js\n * import { addShExt } from \"patha\"\n *\n * addShExt(\"path/to/file-name\") // gives \"path/to/file-name.cmd\" on Windows and \"path/to/file-name.sh\" on others\n *\n * addShExt(\"path/to/file-name\", \".bat\") // gives \"path/to/file-name.bat\" on Windows and \"path/to/file-name.sh\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.cmd` on Windows\n * @param other_ext `.sh` On others.\n * @returns The file path with the shell extension added\n */\nexport function addShExt(name: string, win_ext = \".cmd\", other_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","/**\n * Prefix a `./` for unix shell and nothing for `cmd`.\n *\n * @example\n *\n * ```js\n * import { addShRelativePrefix } from \"patha\"\n *\n * addShRelativePrefix(\"some/file-name\") // gives \"some/file-name\" on Windows and \"./some/file-name\" on others.\n * ```\n *\n * @param path The given path\n * @returns The path with `./` added on Unix\n */\nexport function addShRelativePrefix(path: string) {\n if (process.platform === \"win32\") {\n return path\n }\n return `./${path}`\n}\n","import { extname } from \"path\"\n\n/**\n * Remove a path's extension.\n *\n * @example\n *\n * ```js\n * import { removeExt } from \"patha\"\n *\n * removeExt(\"some/dir/file.ext\") // gives \"some/dir/file\"\n * ```\n *\n * @param path The given path\n * @returns The path without its file extension\n */\nexport function removeExt(path: string) {\n const extensionLength = extname(path).length\n return path.slice(0, -extensionLength)\n}\n","import replaceExtOrig from \"replace-ext\"\n\n/**\n * Replaces the extension from path with extension and returns the updated path string.\n *\n * Does not replace the extension if path is not a string or is empty.\n *\n * @example\n *\n * ```js\n * import { replaceExt } from \"patha\"\n *\n * replaceExt(\"path/to/file.md\", \".html\") // gives \"path/to/file.html\"\n * ```\n *\n * @param path The given path\n * @param extension The extension to replace\n */\nexport function replaceExt(path: string, extension: string) {\n // TODO replaceExt should not change `/` to `\\\\` on Windows\n return replaceExtOrig(path, extension)\n}\n","import { relative, resolve, sep } from \"path\"\n\n/**\n * Check if a path is inside another path.\n *\n * Note that relative paths are resolved against `process.cwd()` to make them absolute.\n *\n * This function does not check if the paths exist and it only works with strings.\n *\n * @example\n *\n * ```js\n * import { isPathInside } from \"patha\"\n *\n * isPathInside(\"a/b/c\", \"a/b\")\n * //=> true\n *\n * isPathInside(\"a/b/c\", \"x/y\")\n * //=> false\n *\n * isPathInside(\"a/b/c\", \"a/b/c\")\n * //=> false\n *\n * isPathInside(\"/Users/some/dev/aa\", \"/Users/some\")\n * //=> true\n * ```\n */\nexport function isPathInside(childPath: string, parentPath: string): boolean {\n // copied from is-path-inside because the package uses node:path that can't be bundled for the browser\n\n const relation = relative(parentPath, childPath)\n\n return Boolean(relation && relation !== \"..\" && !relation.startsWith(`..${sep}`) && relation !== resolve(childPath))\n}\n","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n var nFilepath = path.join(path.dirname(npath), nFileName);\n\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if (startsWithSingleDot(npath)) {\n return '.' + path.sep + nFilepath;\n }\n\n return nFilepath;\n}\n\nfunction startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === '.' + path.sep || first2chars === './';\n}\n\nmodule.exports = replaceExt;\n",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction 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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.0b2a8a9a.js\"))).then(() => parcelRequire('apy8x'));","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"hdi.619de66c.js\"))).then(() => parcelRequire('9IkUc'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport { finalizeRC } from \"envosman\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates.js\"\nimport { parseArgs, printHelp, rcOptions } from \"./cli-options.js\"\nimport { installCompiler } from \"./compilers.js\"\nimport { installTool } from \"./installTool.js\"\nimport { tools } from \"./tool.js\"\nimport { isArch } from \"./utils/env/isArch.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version.js\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack.js\"\nimport { syncVersions } from \"./versions/versions.js\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"~\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n Number.parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeRC(rcOptions)\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup-cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n for (const tool of successMessages) {\n success(tool)\n }\n for (const tool of errorMessages) {\n error(tool)\n }\n\n info(\"setup-cpp finished\")\n\n if (!GITHUB_ACTIONS) {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","export { addEnv, AddEnvOptions } from \"./add-env.js\"\nexport { addPath, AddPathOptions } from \"./add-path.js\"\nexport { finalizeRC, sourceRCInRc as sourceRC } from \"./rc-file.js\"\n","import { promises } from \"fs\"\nimport { exportVariable as ghExportVariable } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\"\nimport { escapeString } from \"./utils.js\"\nconst { appendFile } = promises\n\n/**\n * The options for adding an environment variable\n */\nexport type AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n escapeSpace: boolean\n /** If false, the variable will be only added if it is not already defined (Default to true) */\n overwrite: boolean\n /**\n * The path to the RC file that the env variables should be added to.\n */\n rcPath: string\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\n\nexport async function addEnv(\n name: string,\n valGiven: string | undefined,\n givenOptions: Partial = {},\n) {\n const options = {\n escapeSpace: false,\n overwrite: true,\n rcPath: defaultRcPath,\n ...givenOptions,\n }\n\n const val = escapeString(valGiven ?? \"\", options.escapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n ghExportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\n }\n } catch (err) {\n error(`${err}\\nFailed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\nasync function addEnvSystem(name: string, valGiven: string | undefined, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options)\n if (!options.overwrite) {\n await appendFile(options.rcPath, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${options.rcPath}`)\n } else {\n await appendFile(options.rcPath, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${options.rcPath}`)\n }\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n","import * as execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" },\n): execa.ExecaChildProcess {\n return execa.execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" },\n): execa.ExecaSyncReturnValue {\n return execa.execaSync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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 cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\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\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","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","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","'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';\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';\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 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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport pathKey from 'path-key';\n\nexport const npmRunPath = ({\n\tcwd = process.cwd(),\n\tpath: pathOption = process.env[pathKey()],\n\tpreferLocal = true,\n\texecPath = process.execPath,\n\taddExecPath = true,\n} = {}) => {\n\tconst cwdString = cwd instanceof URL ? fileURLToPath(cwd) : cwd;\n\tconst cwdPath = path.resolve(cwdString);\n\tconst result = [];\n\n\tif (preferLocal) {\n\t\tapplyPreferLocal(result, cwdPath);\n\t}\n\n\tif (addExecPath) {\n\t\tapplyExecPath(result, execPath, cwdPath);\n\t}\n\n\treturn [...result, pathOption].join(path.delimiter);\n};\n\nconst applyPreferLocal = (result, cwdPath) => {\n\tlet previous;\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\n// Ensure the running `node` binary is used\nconst applyExecPath = (result, execPath, cwdPath) => {\n\tconst execPathString = execPath instanceof URL ? fileURLToPath(execPath) : execPath;\n\tresult.push(path.resolve(cwdPath, execPathString, '..'));\n};\n\nexport const npmRunPathEnv = ({env = process.env, ...options} = {}) => {\n\tenv = {...env};\n\n\tconst pathName = pathKey({env});\n\toptions.path = env[pathName];\n\tenv[pathName] = npmRunPath(options);\n\n\treturn env;\n};\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","'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","'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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n",null,"import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n",null,"/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkStat = (stat: Stats, options: IsexeOptions) =>\n stat.isFile() && checkMode(stat, options)\n\nconst checkMode = (stat: Stats, options: IsexeOptions) => {\n const myUid = options.uid ?? process.getuid?.()\n const myGroups = options.groups ?? process.getgroups?.() ?? []\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0]\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid')\n }\n\n const groups = new Set([myGid, ...myGroups])\n\n const mod = stat.mode\n const uid = stat.uid\n const gid = stat.gid\n\n const u = parseInt('100', 8)\n const g = parseInt('010', 8)\n const o = parseInt('001', 8)\n const ug = u | g\n\n return !!(\n mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0)\n )\n}\n",null,"/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkPathExt = (path: string, options: IsexeOptions) => {\n const { pathExt = process.env.PATHEXT || '' } = options\n const peSplit = pathExt.split(';')\n if (peSplit.indexOf('') !== -1) {\n return true\n }\n\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase()\n const ext = path.substring(path.length - p.length).toLowerCase()\n\n if (p && ext === p) {\n return true\n }\n }\n return false\n}\n\nconst checkStat = (stat: Stats, path: string, options: IsexeOptions) =>\n stat.isFile() && checkPathExt(path, options)\n","export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n","import { promises } from \"fs\"\nimport { grantUserWriteAccess } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { untildifyUser } from \"untildify-user\"\nconst { appendFile, readFile, writeFile } = promises\n\nexport const defaultRcPath = untildifyUser(\"~/.bashrc\")\n\n/**\n * Options for adding an rc file\n */\nexport type RcOptions = {\n /** The path to the RC file that the env variables should be added to. */\n rcPath: string\n\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n\nasync function sourceRCInRc_(options: RcOptions) {\n const sourceRcString = options.guard === undefined\n ? `\\nsource \"${options.rcPath}\"\\n`\n : `\\n# ${options.guard}\\nif [[ \"$SOURCE_${options.guard.toUpperCase()}RC\" != 0 && -f \"${options.rcPath}\" ]]; then source \"${options.rcPath}\"; fi\\n`\n\n try {\n await Promise.all([\n addRCHeader(options),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.bashrc\")),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.profile\")),\n ])\n } catch (err) {\n warning(`Failed to add ${sourceRcString} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n}\n\n/**\n * handles adding conditions to source rc file from .bashrc and .profile\n */\nexport const sourceRCInRc = memoize(sourceRCInRc_, { promise: true })\n\nasync function addRCHeader(options: RcOptions) {\n // a variable that prevents source rc from being called from .bashrc and .profile\n const rcHeader = options.guard === undefined\n ? \"\\n# Automatically Generated by envosman\\n\"\n : `\\n# Automatically Generated by envosman ${options.guard}\\nexport SOURCE_${options.guard.toUpperCase()}RC=0\\n`\n\n if (await pathExists(options.rcPath)) {\n const rcContent = await readFile(options.rcPath, \"utf8\")\n if (!rcContent.includes(rcHeader)) {\n // already executed setupCppInProfile\n await appendFile(options.rcPath, `\\n${rcHeader}\\n`)\n info(`Added ${rcHeader} to ${options.rcPath}`)\n }\n }\n}\n\nasync function addSourceToTargetRc(sourceRcString: string, targetRcPath: string) {\n if (await pathExists(targetRcPath)) {\n const bashrcContent = await readFile(targetRcPath, \"utf-8\")\n if (!bashrcContent.includes(sourceRcString)) {\n await appendFile(targetRcPath, sourceRcString)\n info(`${sourceRcString} was added to ${targetRcPath}`)\n }\n }\n}\n\nexport async function finalizeRC(rcOptions: RcOptions) {\n if (await pathExists(rcOptions.rcPath)) {\n const entries = (await readFile(rcOptions.rcPath, \"utf-8\")).split(\"\\n\")\n\n const uniqueEntries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n await writeFile(rcOptions.rcPath, uniqueEntries.join(\"\\n\"))\n\n await grantUserWriteAccess(rcOptions.rcPath)\n }\n}\n","export * from \"./root.mjs\"\nexport * from \"./admin.mjs\"\nexport * from \"./user-access.mjs\"\n",null,"import which from \"which\"\nimport {\n execa,\n execaCommand,\n execaCommandSync,\n execaSync,\n SyncOptions as ExecaSyncOptions,\n ExecaSyncReturnValue,\n Options as ExecaOptions,\n ExecaChildProcess,\n} from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: ExecaSyncOptions = { stdio: \"inherit\", shell: true }\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: ExecaSyncOptions = defaultExecOptions,\n): ExecaSyncReturnValue {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommandSync(command, execOptions)\n } else {\n return execaSync(program, quote(args), execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: ExecaOptions = defaultExecOptions,\n): ExecaChildProcess {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommand(command, execOptions)\n } else {\n return execa(program, quote(args), execOptions)\n }\n}\n\nfunction getSudoCommand(program: string, args: string[]) {\n return `sudo ${quote([program, ...args]).join(\" \")}`\n}\n\nfunction quote(strings: string[]) {\n return strings.map((str) => `'${str}'`)\n}\n",null,"import { default as isAdminWindowsOrig } from \"./is-admin.mjs\"\nimport { isRoot } from \"./root.mjs\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: updated execa\n\nimport { execa } from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root.mjs\"\nimport fs from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = fs.statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","\"use strict\";\n\nvar normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , resolveLength = require(\"./lib/resolve-length\")\n , plain = require(\"./plain\");\n\nmodule.exports = function (fn/*, options*/) {\n\tvar options = normalizeOpts(arguments[1]), length;\n\n\tif (!options.normalizer) {\n\t\tlength = options.length = resolveLength(options.length, fn.length, options.async);\n\t\tif (length !== 0) {\n\t\t\tif (options.primitive) {\n\t\t\t\tif (length === false) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/primitive\");\n\t\t\t\t} else if (length > 1) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/get-primitive-fixed\")(length);\n\t\t\t\t}\n\t\t\t} else if (length === false) options.normalizer = require(\"./normalizers/get\")();\n\t\t\telse if (length === 1) options.normalizer = require(\"./normalizers/get-1\")();\n\t\t\telse options.normalizer = require(\"./normalizers/get-fixed\")(length);\n\t\t}\n\t}\n\n\t// Assure extensions\n\tif (options.async) require(\"./ext/async\");\n\tif (options.promise) require(\"./ext/promise\");\n\tif (options.dispose) require(\"./ext/dispose\");\n\tif (options.maxAge) require(\"./ext/max-age\");\n\tif (options.max) require(\"./ext/max\");\n\tif (options.refCounter) require(\"./ext/ref-counter\");\n\n\treturn plain(fn, options);\n};\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\");\n\nmodule.exports = function (optsLength, fnLength, isAsync) {\n\tvar length;\n\tif (isNaN(optsLength)) {\n\t\tlength = fnLength;\n\t\tif (!(length >= 0)) return 1;\n\t\tif (isAsync && length) return length - 1;\n\t\treturn length;\n\t}\n\tif (optsLength === false) return false;\n\treturn toPosInt(optsLength);\n};\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"./lib/registered-extensions\")\n , configure = require(\"./lib/configure-map\")\n , resolveLength = require(\"./lib/resolve-length\");\n\nmodule.exports = function self(fn/*, options */) {\n\tvar options, length, conf;\n\n\tcallable(fn);\n\toptions = Object(arguments[1]);\n\n\tif (options.async && options.promise) {\n\t\tthrow new Error(\"Options 'async' and 'promise' cannot be used together\");\n\t}\n\n\t// Do not memoize already memoized function\n\tif (hasOwnProperty.call(fn, \"__memoized__\") && !options.force) return fn;\n\n\t// Resolve length;\n\tlength = resolveLength(options.length, fn.length, options.async && extensions.async);\n\n\t// Configure cache map\n\tconf = configure(fn, length, options);\n\n\t// Bind eventual extensions\n\tforEach(extensions, function (extFn, name) {\n\t\tif (options[name]) extFn(options[name], conf, options);\n\t});\n\n\tif (self.__profiler__) self.__profiler__(conf);\n\n\tconf.updateEnv();\n\treturn conf.memoized;\n};\n","/* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n\"use strict\";\n\nvar customError = require(\"es5-ext/error/custom\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , d = require(\"d\")\n , ee = require(\"event-emitter\").methods\n , resolveResolve = require(\"./resolve-resolve\")\n , resolveNormalize = require(\"./resolve-normalize\");\n\nvar apply = Function.prototype.apply\n , call = Function.prototype.call\n , create = Object.create\n , defineProperties = Object.defineProperties\n , on = ee.on\n , emit = ee.emit;\n\nmodule.exports = function (original, length, options) {\n\tvar cache = create(null)\n\t , conf\n\t , memLength\n\t , get\n\t , set\n\t , del\n\t , clear\n\t , extDel\n\t , extGet\n\t , extHas\n\t , normalizer\n\t , getListeners\n\t , setListeners\n\t , deleteListeners\n\t , memoized\n\t , resolve;\n\tif (length !== false) memLength = length;\n\telse if (isNaN(original.length)) memLength = 1;\n\telse memLength = original.length;\n\n\tif (options.normalizer) {\n\t\tnormalizer = resolveNormalize(options.normalizer);\n\t\tget = normalizer.get;\n\t\tset = normalizer.set;\n\t\tdel = normalizer.delete;\n\t\tclear = normalizer.clear;\n\t}\n\tif (options.resolvers != null) resolve = resolveResolve(options.resolvers);\n\n\tif (get) {\n\t\tmemoized = defineLength(function (arg) {\n\t\t\tvar id, result, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id !== null) {\n\t\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\t\treturn cache[id];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (id === null) {\n\t\t\t\tid = get(args);\n\t\t\t\tif (id !== null) throw customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t\tid = set(args);\n\t\t\t} else if (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\tmemoized = function () {\n\t\t\tvar result;\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", \"data\", arguments, this);\n\t\t\t\treturn cache.data;\n\t\t\t}\n\t\t\tif (arguments.length) result = apply.call(original, this, arguments);\n\t\t\telse result = call.call(original, this);\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache.data = result;\n\t\t\tif (setListeners) conf.emit(\"set\", \"data\", null, result);\n\t\t\treturn result;\n\t\t};\n\t} else {\n\t\tmemoized = function (arg) {\n\t\t\tvar result, args = arguments, id;\n\t\t\tif (resolve) args = resolve(arguments);\n\t\t\tid = String(args[0]);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\treturn cache[id];\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t};\n\t}\n\tconf = {\n\t\toriginal: original,\n\t\tmemoized: memoized,\n\t\tprofileName: options.profileName,\n\t\tget: function (args) {\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tif (get) return get(args);\n\t\t\treturn String(args[0]);\n\t\t},\n\t\thas: function (id) { return hasOwnProperty.call(cache, id); },\n\t\tdelete: function (id) {\n\t\t\tvar result;\n\t\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\t\tif (del) del(id);\n\t\t\tresult = cache[id];\n\t\t\tdelete cache[id];\n\t\t\tif (deleteListeners) conf.emit(\"delete\", id, result);\n\t\t},\n\t\tclear: function () {\n\t\t\tvar oldCache = cache;\n\t\t\tif (clear) clear();\n\t\t\tcache = create(null);\n\t\t\tconf.emit(\"clear\", oldCache);\n\t\t},\n\t\ton: function (type, listener) {\n\t\t\tif (type === \"get\") getListeners = true;\n\t\t\telse if (type === \"set\") setListeners = true;\n\t\t\telse if (type === \"delete\") deleteListeners = true;\n\t\t\treturn on.call(this, type, listener);\n\t\t},\n\t\temit: emit,\n\t\tupdateEnv: function () { original = conf.original; },\n\t};\n\tif (get) {\n\t\textDel = defineLength(function (arg) {\n\t\t\tvar id, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id === null) return;\n\t\t\tconf.delete(id);\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\textDel = function () { return conf.delete(\"data\"); };\n\t} else {\n\t\textDel = function (arg) {\n\t\t\tif (resolve) arg = resolve(arguments)[0];\n\t\t\treturn conf.delete(arg);\n\t\t};\n\t}\n\textGet = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return cache.data;\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\treturn cache[id];\n\t});\n\textHas = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return conf.has(\"data\");\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\tif (id === null) return false;\n\t\treturn conf.has(id);\n\t});\n\tdefineProperties(memoized, {\n\t\t__memoized__: d(true),\n\t\tdelete: d(extDel),\n\t\tclear: d(conf.clear),\n\t\t_get: d(extGet),\n\t\t_has: d(extHas),\n\t});\n\treturn conf;\n};\n","\"use strict\";\n\nvar assign = require(\"../object/assign\")\n , isObject = require(\"../object/is-object\")\n , isValue = require(\"../object/is-value\")\n , captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (message /*, code, ext*/) {\n\tvar err = new Error(message), code = arguments[1], ext = arguments[2];\n\tif (!isValue(ext)) {\n\t\tif (isObject(code)) {\n\t\t\text = code;\n\t\t\tcode = null;\n\t\t}\n\t}\n\tif (isValue(ext)) assign(err, ext);\n\tif (isValue(code)) err.code = code;\n\tif (captureStackTrace) captureStackTrace(err, module.exports);\n\treturn err;\n};\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar map = { function: true, object: true };\n\nmodule.exports = function (value) { return (isValue(value) && map[typeof value]) || false; };\n","\"use strict\";\n\nvar toArray = require(\"es5-ext/array/to-array\")\n , isValue = require(\"es5-ext/object/is-value\")\n , callable = require(\"es5-ext/object/valid-callable\");\n\nvar slice = Array.prototype.slice, resolveArgs;\n\nresolveArgs = function (args) {\n\treturn this.map(function (resolve, i) { return resolve ? resolve(args[i]) : args[i]; }).concat(\n\t\tslice.call(args, this.length)\n\t);\n};\n\nmodule.exports = function (resolvers) {\n\tresolvers = toArray(resolvers);\n\tresolvers.forEach(function (resolve) { if (isValue(resolve)) callable(resolve); });\n\treturn resolveArgs.bind(resolvers);\n};\n","\"use strict\";\n\nvar from = require(\"./from\")\n , isArray = Array.isArray;\n\nmodule.exports = function (arrayLike) { return isArray(arrayLike) ? arrayLike : from(arrayLike); };\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\");\n\nmodule.exports = function (userNormalizer) {\n\tvar normalizer;\n\tif (typeof userNormalizer === \"function\") return { set: userNormalizer, get: userNormalizer };\n\tnormalizer = { get: callable(userNormalizer.get) };\n\tif (userNormalizer.set !== undefined) {\n\t\tnormalizer.set = callable(userNormalizer.set);\n\t\tif (userNormalizer.delete) normalizer.delete = callable(userNormalizer.delete);\n\t\tif (userNormalizer.clear) normalizer.clear = callable(userNormalizer.clear);\n\t\treturn normalizer;\n\t}\n\tnormalizer.set = normalizer.get;\n\treturn normalizer;\n};\n","import { homedir } from \"os\"\nimport { join } from \"path\"\nimport { isSudo } from \"admina\"\n\nexport function userHomeDir() {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER)\n } else {\n return join(\"/home/\", process.env.SUDO_USER)\n }\n } else {\n const maybeHomeDir = homedir()\n if (maybeHomeDir === \"\") {\n return undefined\n }\n return maybeHomeDir\n }\n}\n\nconst tildeRegex = /^~(?=$|\\/|\\\\)/\n\n/**\n * Replaces a tilde with the user's home directory\n *\n * @example UntildifyUser(\"~/foo\") // /home/user/foo\n *\n * @param path The path to untildify\n * @returns The untildified path\n */\nexport function untildifyUser(path: string) {\n const maybeHomeDir = userHomeDir()\n if (maybeHomeDir === undefined) {\n return path\n }\n\n return path.replace(tildeRegex, maybeHomeDir)\n}\n","import escapeSpace from \"escape-path-with-spaces\"\nimport escapeQuote from \"escape-quotes\"\n\n/**\n * Escape a string for use in a shell command\n * @param valGiven The string to escape\n * @param shouldEscapeSpace Whether to escape spaces in the string\n *\n * @private\n */\nexport function escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, \"\\\"\", \"\\\\\")\n}\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","import { promises } from \"fs\"\nimport { delimiter } from \"path\"\nimport { addPath as ghAddPath } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\"\nconst { appendFile } = promises\n\n/**\n * The options for adding a PATH variable\n */\nexport type AddPathOptions = {\n /**\n * The path to the RC file that the PATH variables should be added to.\n */\n rcPath: string\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\n\nexport async function addPath(path: string, givenOptions: Partial = {}) {\n const options = { rcPath: defaultRcPath, ...givenOptions }\n\n if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (GITHUB_ACTIONS) {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path, options)\n }\n } else {\n await addPathSystem(path, options)\n }\n } catch (err) {\n error(`${err}\\nFailed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nasync function addPathSystem(path: string, options: AddPathOptions) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options)\n await appendFile(options.rcPath, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${options.rcPath}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\n}\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.39.0\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { untildifyUser } from \"untildify-user\"\nimport { type Inputs, inputs } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function printHelp() {\n info(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: \"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat\" },\n \"build system\": { tools: \"--cmake, --ninja, --meson, --make, --task, --bazel\" },\n \"package manager\": { tools: \"--vcpkg, --conan, --choco, --brew, --nala\" },\n cache: { tools: \"--ccache, --sccache\" },\n documentation: { tools: \"--doxygen, --graphviz\" },\n coverage: { tools: \"--gcovr, --opencppcoverage, --kcov\" },\n other: { tools: \"--python, --powershell, --sevenzip\" },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n\nexport const rcOptions = {\n rcPath: untildifyUser(\"~/.cpprc\"),\n guard: \"cpp\",\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { setupBrew } from \"setup-brew\"\nimport { setupBazel } from \"./bazel/bazel.js\"\nimport { setupCcache } from \"./ccache/ccache.js\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey.js\"\nimport { setupCmake } from \"./cmake/cmake.js\"\nimport { setupConan } from \"./conan/conan.js\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck.js\"\nimport { setupDoxygen } from \"./doxygen/doxygen.js\"\nimport { setupGcc } from \"./gcc/gcc.js\"\nimport { setupGcovr } from \"./gcovr/gcovr.js\"\nimport { setupGraphviz } from \"./graphviz/graphviz.js\"\nimport { setupKcov } from \"./kcov/kcov.js\"\nimport { setupClangFormat, setupClangTools, setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMake } from \"./make/make.js\"\nimport { setupMeson } from \"./meson/meson.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { setupNala } from \"./nala/nala.js\"\nimport { setupNinja } from \"./ninja/ninja.js\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage.js\"\nimport { setupPowershell } from \"./powershell/powershell.js\"\nimport { setupPython } from \"./python/python.js\"\nimport { setupSccache } from \"./sccache/sccache.js\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip.js\"\nimport { setupTask } from \"./task/task.js\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\n\n/** The setup functions */\nexport const setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** An array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\n","export * from \"./install-pack.js\"\nexport * from \"./install.js\"\n","import { join } from \"path\"\nimport { info } from \"ci-log\"\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\n/* eslint-disable require-atomic-updates */\nlet hasBrew = false\n\nexport type BrewPackOptions = {\n /** Whether to overwrite the package if it already exists */\n overwrite?: boolean\n /** Whether to install the package as a cask */\n cask?: boolean\n /** Extra args */\n args?: string[]\n}\n\n/** A function that installs a package using brew\n *\n * @param name The name of the package\n * @param version The version of the package (optional)\n * @param options The options for installing the package\n *\n * @returns The installation information\n */\nexport async function installBrewPack(\n name: string,\n version?: string,\n givenOptions: BrewPackOptions = {},\n): Promise {\n const options = {\n overwrite: true,\n cask: false,\n args: [],\n ...givenOptions,\n }\n\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew()\n hasBrew = true\n }\n\n const binDir = getBrewBinDir()\n const brewPath = join(binDir, \"brew\")\n\n // Args\n const args = [\n \"install\",\n (version !== undefined && version !== \"\") ? `${name}@${version}` : name,\n ]\n if (options.overwrite) {\n args.push(\"--overwrite\")\n }\n if (options.cask) {\n args.push(\"--cask\")\n }\n\n // brew is not thread-safe\n execaSync(brewPath, args, { stdio: \"inherit\" })\n\n return { binDir }\n}\n","import { tmpdir } from \"os\"\nimport { dirname } from \"path\"\nimport { type AddPathOptions, addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\nexport type SetupBrewOptions = {\n /** Options for adding the brew path to the rc file */\n rcOptions?: AddPathOptions\n /** (Unsupported option) The version of brew to install */\n version?: never\n /** (Unsupported option) The directory where brew should be installed */\n setupDir?: never\n /** (Unsupported option) The architecture of the system */\n arch?: never\n}\n\nexport async function setupBrew(options: SetupBrewOptions = {}): Promise {\n // brew is only available on darwin and linux\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n\n // check if the function has already been called\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n // check if brew is already installed\n const maybeBinDir = await which(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }])\n const dl = new DownloaderHelper(\"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\", tmpdir(), {\n fileName: \"install-brew.sh\",\n })\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the brew installer script: ${err}`)\n })\n await dl.start()\n\n // brew installation is not thread-safe\n execaSync(\"/bin/bash\", [dl.getDownloadPath()], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n // add the bin directory to the PATH\n binDir = getBrewBinDir()\n await addPath(binDir, options.rcOptions)\n\n return { binDir }\n}\n\n/**\n * Get the path where brew is installed\n * @returns {string} The path where brew is installed\n *\n * Based on the installation script from https://brew.sh\n */\nexport function getBrewBinDir() {\n if (process.platform === \"darwin\") {\n if (process.arch === \"arm64\") {\n return \"/opt/homebrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\n }\n\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n }\n\n throw new Error(\"Unsupported platform for brew\")\n}\n","'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.DownloaderHelper=exports.DH_STATES=void 0;var _typeof='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&'function'==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?'symbol':typeof a},_createClass=function(){function a(a,b){for(var c,d=0;dthis.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=b||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url)}},{key:'getOptions',value:function a(){return this.__opts}},{key:'getMetadata',value:function a(){return this.__opts.metadata}},{key:'getStats',value:function a(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes}}},{key:'getTotalSize',value:function b(){var a=this;return new Promise(function(b,c){var d=function(b){a.__initProtocol(b);var c=Object.assign({},a.__headers);c.hasOwnProperty('range')&&delete c.range;var d=a.__getReqOptions('HEAD',b,c);return Object.assign({},a.__reqOptions,d)},e=function(f,g){var h=a.__protocol.request(g,function(g){if(a.__isRequireRedirect(g)){var h=/^https?:\\/\\//.test(g.headers.location)?g.headers.location:new _url.URL(g.headers.location,f).href;return a.emit('redirected',h,f),e(h,d(h))}return 200===g.statusCode?void b({name:a.__getFileNameFromHeaders(g.headers,g),total:parseInt(g.headers['content-length'])||null}):c(new Error('Response status was '+g.statusCode))});h.on('error',function(a){return c(a)}),h.on('timeout',function(){return c(new Error('timeout'))}),h.on('uncaughtException',function(a){return c(a)}),h.end()};e(a.url,d(a.url))})}},{key:'getResumeState',value:function a(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total}}},{key:'resumeFromFile',value:function d(a){var b=this,c=1=g))return this.emit('skip',{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:f}),this.__setState(this.__states.SKIPPED),b(!0)}this.__fileStream=fs.createWriteStream(this.__filePath,{})}else this.__fileStream=fs.createWriteStream(this.__filePath,{flags:'a'});this.emit('download',{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date,this.__statsEstimate.throttleTime=new Date,e.on('data',function(a){return d.__calculateStats(a.length)}),this.__pipes.forEach(function(a){e.pipe(a.stream,a.options),e=a.stream}),e.pipe(this.__fileStream),e.on('error',this.__onError(b,c)),this.__fileStream.on('finish',this.__onFinished(b,c)),this.__fileStream.on('error',this.__onError(b,c))}},{key:'__hasFinished',value:function a(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state)}},{key:'__isRequireRedirect',value:function b(a){return 300a.statusCode&&a.headers.hasOwnProperty('location')&&a.headers.location}},{key:'__onFinished',value:function d(a,b){var c=this;return function(){c.__fileStream.close(function(d){if(d)return b(d);if(c.__hasFinished()){var e=!!c.__total&&c.__downloaded!==c.__total;if(e&&c.__isResumable&&c.__opts.resumeOnIncomplete&&c.__resumeRetryCount<=c.__opts.resumeOnIncompleteMaxRetry)return c.__resumeRetryCount++,c.emit('warning',new Error('uncomplete download, retrying')),c.resume();c.__setState(c.__states.FINISHED),c.__pipes=[],c.emit('end',{fileName:c.__fileName,filePath:c.__filePath,totalSize:c.__total,incomplete:e,onDiskSize:c.__getFilesizeInBytes(c.__filePath),downloadedSize:c.__downloaded})}return a(c.__downloaded===c.__total)})}}},{key:'__closeFileStream',value:function b(){var a=this;return this.__fileStream?new Promise(function(b,c){a.__fileStream.close(function(a){return a?c(a):b(!0)})}):Promise.resolve(!0)}},{key:'__onError',value:function e(a,b){var c=this,d=!!(2=g?Promise.reject(b||new Error('reached the maximum retries')):(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit('retry',this.__retryCount,this.__opts.retry,b),this.__response&&(this.__response.unpipe(),this.__pipes.forEach(function(a){return a.stream.unpipe()})),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then(function(){return new Promise(function(b){return a.__retryTimeout=setTimeout(function(){return b(0this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=b,this.emit('progress.throttled',this.getStats())),this.emit('progress',this.getStats()))}},{key:'__setState',value:function b(a){this.state=a,this.emit('stateChanged',this.state)}},{key:'__getReqOptions',value:function f(a,b){var c=2 {\n throw new Error(`Failed to download ${keyUrl}: ${err}`)\n })\n await dl.start()\n\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--import\",\n dlPath,\n ])\n execRootSync(\"chmod\", [\"644\", filePath])\n }\n return filePath\n } catch (err) {\n warning(`Failed to add apt key via download ${keyUrl}: ${err}`)\n return undefined\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nfunction assertGpgFileName(fileName: string) {\n if (!fileName.endsWith(\".gpg\")) {\n throw new Error(`Key file name must end with .gpg: ${fileName}`)\n }\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport type { ExecaError } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { type AddAptKeyOptions, addAptKey } from \"./apt-key.js\"\nimport { addAptRepository } from \"./apt-repository.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\nimport { initAptMemoized } from \"./init-apt.js\"\nimport { filterAndQualifyAptPackages } from \"./qualify-install.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\n/**\n * The information about an installation result\n */\nexport type InstallationInfo = {\n /** The install dir of the package (Defaults to `undefined`) */\n installDir?: string\n /** The bin dir of the package (Defaults to `/usr/bin`) */\n binDir: string\n /** The bin path of the package (Defaults to `undefined`) */\n bin?: string\n}\n\n/**\n * The information about an apt package\n */\nexport type AptPackage = {\n /** The name of the package */\n name: string\n /** The version of the package (optional) */\n version?: string\n /** The repository to add before installing the package (optional) */\n repository?: string\n /** The key to add before installing the package (optional) */\n key?: AddAptKeyOptions\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/**\n * Install a package using apt\n *\n * @param packages The packages to install (name, and optional info like version and repositories)\n * @param update Whether to update the package list before installing (Defaults to `false`)\n *\n * @returns The installation information\n *\n * @example\n * ```ts\n * await installAptPack([{ name: \"ca-certificates\" }, { name: \"gnupg\" }])\n * ```\n *\n * @example\n * ```ts\n await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n * ```\n */\nexport async function installAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\n\n // Update the repos if needed\n if (update) {\n updateAptReposMemoized(apt)\n }\n\n // Add the repos if needed\n await addRepositories(apt, packages)\n\n const needToInstall = await filterAndQualifyAptPackages(packages, apt)\n\n if (needToInstall.length === 0) {\n info(\"All packages are already installed\")\n return { binDir: \"/usr/bin/\" }\n }\n\n // Initialize apt if needed\n await initAptMemoized(apt)\n\n try {\n // Add the keys if needed\n await addAptKeys(packages)\n\n // Install\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...needToInstall], {\n ...defaultExecOptions,\n env: getAptEnv(apt),\n })\n } catch (err) {\n if (isExecaError(err)) {\n if (retryErrors.some((error) => err.stderr.includes(error))) {\n warning(`Failed to install packages ${needToInstall}. Retrying...`)\n execRootSync(\n apt,\n [\"install\", \"--fix-broken\", \"-y\", \"-o\", aptTimeout, ...needToInstall],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function addRepositories(apt: string, packages: AptPackage[]) {\n const allRepositories = [...new Set(packages.flatMap((pack) => pack.repository ?? []))]\n await Promise.all(allRepositories.map((repo) => addAptRepository(repo, apt)))\n}\n\nasync function addAptKeys(packages: AptPackage[]) {\n await Promise.all(packages.map(async (pack) => {\n if (pack.key !== undefined) {\n await addAptKey(pack.key)\n }\n }))\n}\n\nfunction isExecaError(err: unknown): err is ExecaError {\n return typeof (err as ExecaError).stderr === \"string\"\n}\n","/**\n * Get the environment variables to use for the apt command\n * @param apt The apt command to use\n * @private Used internally\n */\n\nexport function getAptEnv(apt: string) {\n const env: NodeJS.ProcessEnv = { ...process.env, DEBIAN_FRONTEND: \"noninteractive\" }\n\n if (apt === \"nala\") {\n // if LANG/LC_ALL is not set, enable utf8 otherwise nala fails because of ASCII encoding\n if (env.LANG === undefined) {\n env.LANG = \"C.UTF-8\"\n }\n if (env.LC_ALL === undefined) {\n env.LC_ALL = \"C.UTF-8\"\n }\n }\n\n return env\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\nimport { initAptMemoized } from \"./init-apt.js\"\nimport { isAptPackInstalled } from \"./is-installed.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\nexport async function addAptRepository(repo: string, apt = getApt()) {\n await initAptMemoized(apt)\n await installAddAptRepo(apt)\n execRootSync(\"add-apt-repository\", [\"-y\", \"--no-update\", repo], { ...defaultExecOptions, env: getAptEnv(apt) })\n\n // Update the repos\n updateAptReposMemoized.clear() // ensure update is called\n updateAptReposMemoized(apt)\n}\n\nexport async function installAddAptRepo(apt: string) {\n if (await isAptPackInstalled(\"software-properties-common\")) {\n return\n }\n execRootSync(\n apt,\n [\"install\", \"-y\", \"--fix-broken\", \"-o\", aptTimeout, \"software-properties-common\"],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n}\n","/**\n * The timeout to use for apt commands\n * Wait up to 300 seconds if the apt-get lock is held\n * @private Used internally\n */\n\nexport const aptTimeout = \"Dpkg::Lock::Timeout=300\"\n","import which from \"which\"\n\n/**\n * Check if nala is installed\n */\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\n/**\n * Get the apt command to use\n * If nala is installed, use that, otherwise use apt-get\n */\nexport function getApt() {\n let apt: string\n if (hasNala()) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport memoize from \"memoizee\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { filterAndQualifyAptPackages } from \"./qualify-install.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\n/** Install gnupg and certificates (usually missing from docker containers) */\nexport async function initApt(apt: string) {\n // Update the repos\n updateAptReposMemoized(apt)\n\n const toInstall = await filterAndQualifyAptPackages([\n { name: \"ca-certificates\" },\n { name: \"gnupg\" },\n { name: \"apt-utils\" },\n ], apt)\n\n if (toInstall.length !== 0) {\n execRootSync(apt, [\"install\", \"-y\", \"--fix-broken\", \"-o\", aptTimeout, ...toInstall], {\n ...defaultExecOptions,\n env: getAptEnv(apt),\n })\n }\n}\n\n/** Install gnupg and certificates (usually missing from docker containers) (memoized) */\nexport const initAptMemoized = memoize(initApt, { promise: true })\n","import { warning } from \"ci-log\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { execa } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { getApt } from \"./get-apt.js\"\nimport type { AptPackage } from \"./install.js\"\nimport { isAptPackInstalled } from \"./is-installed.js\"\nimport { updateAptReposMemoized, updatedRepos } from \"./update.js\"\n\n/**\n * The type of apt package to install\n */\nexport enum AptPackageType {\n NameDashVersion = 0,\n NameEqualsVersion = 1,\n Name = 2,\n None = 3,\n}\n\n/**\n * Filter out the packages that are already installed and qualify the packages into a full package name/version\n */\nexport async function filterAndQualifyAptPackages(packages: AptPackage[], apt: string = getApt()) {\n return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(pack, apt))))\n .filter((pack) => pack !== undefined)\n}\n\n/**\n * Qualify the package into full package name/version.\n * If the package is not installed, return the full package name/version.\n * If the package is already installed, return undefined\n */\nexport async function qualifiedNeededAptPackage(pack: AptPackage, apt: string = getApt()) {\n // Qualify the package into full package name/version\n const qualified = await getAptArg(apt, pack.name, pack.version)\n // filter out the package that are already installed\n return (await isAptPackInstalled(qualified)) ? undefined : qualified\n}\n\nasync function aptPackageType(apt: string, name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ], { env: getAptEnv(apt), stdio: \"pipe\" })\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`], { env: getAptEnv(apt) })\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name], { env: getAptEnv(apt), stdio: \"pipe\" })\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n // If apt-cache fails, update the repos and try again\n if (!updatedRepos) {\n updateAptReposMemoized(apt)\n return aptPackageType(apt, name, version)\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(apt: string, name: string, version: string | undefined) {\n const package_type = await aptPackageType(apt, name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n if (version !== undefined && version !== \"\") {\n warning(`Could not find package ${name} with version ${version}. Installing the latest version.`)\n }\n return name\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n","import { execa } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\n\n/**\n * Check if a package is installed\n * @param pack The package to check\n * @returns `true` if the package is installed, `false` otherwise\n */\nexport async function isAptPackInstalled(pack: string) {\n try {\n // check if a package is installed\n const { stdout } = await execa(\"dpkg\", [\"-s\", pack], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" })\n if (typeof stdout !== \"string\") {\n return false\n }\n const lines = stdout.split(\"\\n\")\n // check if the output contains a line that starts with \"Status: install ok installed\"\n return lines.some((line) => line.startsWith(\"Status: install ok installed\"))\n } catch {\n return false\n }\n}\n\n/**\n * Check if a package matching a regexp is installed\n * @param regexp The regexp to check\n * @returns `true` if a package is installed, `false` otherwise\n */\nexport async function isAptPackRegexInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" })\n if (typeof stdout !== \"string\") {\n return false\n }\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport memoize from \"memoizee\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\n\nexport let updatedRepos = false // eslint-disable-line import/no-mutable-exports\n\n/**\n * Update the apt repositories\n * @param apt The apt command to use (optional)\n */\nexport function updateAptRepos(apt: string = getApt()) {\n execRootSync(\n apt,\n apt !== \"nala\" ? [\"update\", \"-y\", \"-o\", aptTimeout] : [\"update\", \"-o\", aptTimeout],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n\n updatedRepos = true\n}\n\n/**\n * Update the apt repositories (memoized)\n * @param apt The apt command to use (optional)\n */\nexport const updateAptReposMemoized = memoize(updateAptRepos)\n","import { execRootSync } from \"admina\"\nimport { addAptKeyViaURL, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return installBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaURL({\n fileName: \"bazel-archive-keyring.gpg\",\n keyUrl: \"https://bazel.build/bazel-release.pub.gpg\",\n })\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return installAptPack([{ name: \"bazel\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey.js\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n env.TMP = undefined\n env.TEMP = undefined\n env.Path = undefined\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n info(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n","import { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execaSync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" },\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath, rcOptions)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\n}\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\n}\n","import { addExeExt } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverLte from \"semver/functions/lte\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { tmpdir } from \"os\"\nimport { basename } from \"path\"\nimport { cacheDir, downloadTool, find } from \"@actions/tool-cache\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { chmod } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport retry from \"retry-as-promised\"\nimport { maybeGetInput, rcOptions } from \"../../cli-options.js\"\nimport { getArchiveType, getExtractFunction } from \"./extract.js\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: (file: string, dest: string) => Promise\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n bin?: string\n}\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string,\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch,\n )\n\n // Restore from cache (if found).\n if (GITHUB_ACTIONS) {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (await pathExists(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir, rcOptions)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n await downloadExtractInstall(binDir, binFile, name, version, url, setupDir, extractFunction, arch)\n\n await cacheInstallation(setupDir, name, version)\n\n return { installDir, binDir }\n}\n\nasync function downloadExtractInstall(\n binDir: string,\n binFile: string,\n name: string,\n version: string,\n url: string,\n setupDir: string,\n givenExtractFunction: PackageInfo[\"extractFunction\"],\n arch: string,\n) {\n // download ane extract the package into the installation directory.\n if ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n const downloaded = await tryDownload(name, version, url)\n\n info(`Extracting ${downloaded} to ${setupDir}`)\n\n const extractFunction = givenExtractFunction ?? getExtractFunction(getArchiveType(url))\n await extractFunction(downloaded, setupDir)\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir, rcOptions)\n\n // Check if the binary exists after extraction\n if (!(await pathExists(binFile))) {\n throw new Error(`Failed to find the binary ${binFile} after extracting ${name} ${version} ${arch}`)\n }\n\n // make the binary executable on non-windows platforms\n if (process.platform !== \"win32\") {\n try {\n await chmod(binFile, \"755\")\n } catch (err) {\n warning(`Failed to make ${binFile} executable: ${err}`)\n }\n }\n}\n\nasync function tryDownload(name: string, version: string, url: string) {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n const downloadedFilePath = join(process.env.RUNNER_TEMP ?? tmpdir(), `${Date.now()}-${basename(url)}`)\n\n return downloadTool(url, downloadedFilePath)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n return downloaded\n}\n\nasync function cacheInstallation(setupDir: string, name: string, version: string) {\n // check if inside Github Actions. If so, cache the installation\n if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n if (maybeGetInput(\"cache-tools\") === \"true\" || process.env.CACHE_TOOLS === \"true\") {\n await cacheDir(setupDir, name, version)\n }\n }\n}\n",null,null,null,null,"'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { mkdirP } from \"@actions/io\"\nimport { grantUserWriteAccess } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nexport enum ArchiveType {\n Tar = 0,\n TarGz = 1,\n TarXz = 2,\n Zip = 3,\n SevenZip = 4,\n}\n\nexport function getArchiveType(file: string): ArchiveType {\n const ext = file.split(\".\").pop()\n\n if (ext === \"tar\") {\n return ArchiveType.Tar\n }\n\n if (ext === \"gz\" || ext === \"tgz\") {\n return ArchiveType.TarGz\n }\n\n if (ext === \"xz\" || ext === \"txz\") {\n return ArchiveType.TarXz\n }\n\n if (ext === \"zip\") {\n return ArchiveType.Zip\n }\n\n if (ext === \"7z\" || ext === \"exe\") {\n return ArchiveType.SevenZip\n }\n\n // default to 7z\n warning(`Unknown archive type: ${ext}. Defaulting to 7z`)\n return ArchiveType.SevenZip\n}\n\nexport function getExtractFunction(archiveType: ArchiveType) {\n switch (archiveType) {\n case ArchiveType.Tar:\n case ArchiveType.TarGz:\n return extractTarByExe\n case ArchiveType.TarXz:\n return extractTarByExe\n case ArchiveType.Zip:\n return extractZip\n default:\n return extract7Zip\n }\n}\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using unzip or 7z\nexport async function extractZip(file: string, dest: string) {\n // if unzip is available use it\n if (which.sync(\"unzip\", { nothrow: true }) !== null) {\n await execa(\"unzip\", [file, \"-d\", dest], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n }\n\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, stripComponents: number = 0, flags: string[] = []) {\n await installTarDependencies(getArchiveType(file))\n\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, `--strip-components=${stripComponents}`, ...flags], {\n stdio: \"inherit\",\n })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n await grantUserWriteAccess(dest)\n return dest\n}\n\nasync function installTarDependencies(archiveType: ArchiveType) {\n info(\"Installing tar extraction dependencies\")\n\n switch (archiveType) {\n case ArchiveType.TarGz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"gzip\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"gzip\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"gzip\" }, { name: \"tar\" }])\n }\n }\n break\n }\n case ArchiveType.TarXz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"xz\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"xz\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"xz-utils\" }, { name: \"tar\" }])\n }\n }\n break\n }\n default:\n throw new Error(`Unsupported archive type: ${archiveType} for tar extraction`)\n }\n}\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"p7zip-full\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { addPath } from \"envosman\"\nimport { execa, execaSync } from \"execa\"\nimport memoize from \"memoizee\"\nimport { mkdirp } from \"mkdirp\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python.js\"\nimport { getVersion } from \"../../versions/versions.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../env/ubuntu_version.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n const env = process.env\n\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await getPipxHome()\n env.PIPX_BIN_DIR = await getPipxBinDir()\n }\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n env,\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME\n if (pipxHome !== undefined) {\n return pipxHome\n }\n\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = untildifyUser(\"~/.local/pipx\")\n if (await pathExists(compatHome)) {\n return compatHome\n }\n\n switch (process.platform) {\n case \"win32\": {\n pipxHome = untildifyUser(\"~/AppData/Local/pipx\")\n break\n }\n case \"darwin\": {\n pipxHome = untildifyUser(\"~/Library/Application Support/pipx\")\n break\n }\n default: {\n pipxHome = untildifyUser(\"~/.local/share/pipx\")\n break\n }\n }\n\n await mkdirp(pipxHome)\n await mkdirp(join(pipxHome, \"trash\"))\n await mkdirp(join(pipxHome, \"shared\"))\n await mkdirp(join(pipxHome, \"venv\"))\n return pipxHome\n}\nconst getPipxHome = memoize(getPipxHome_raw, { promise: true })\n\nasync function getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) {\n return process.env.PIPX_BIN_DIR\n }\n\n const pipxBinDir = untildifyUser(\"~/.local/bin\")\n await addPath(pipxBinDir, rcOptions)\n await mkdirp(pipxBinDir)\n return pipxBinDir\n}\nconst getPipxBinDir = memoize(getPipxBinDir_raw, { promise: true })\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { promise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(addPythonPrefix ? `python-${name}` : name)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n }\n }\n return null\n}\n",null,"import { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\nimport { pathArg } from './path-arg.js'\nimport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore start */\nexport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nexport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nexport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore stop */\n\nexport const mkdirpSync = (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNativeSync(resolved)\n ? mkdirpNativeSync(path, resolved)\n : mkdirpManualSync(path, resolved)\n}\n\nexport const sync = mkdirpSync\nexport const manual = mkdirpManual\nexport const manualSync = mkdirpManualSync\nexport const native = mkdirpNative\nexport const nativeSync = mkdirpNativeSync\nexport const mkdirp = Object.assign(\n async (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNative(resolved)\n ? mkdirpNative(path, resolved)\n : mkdirpManual(path, resolved)\n },\n {\n mkdirpSync,\n mkdirpNative,\n mkdirpNativeSync,\n mkdirpManual,\n mkdirpManualSync,\n\n sync: mkdirpSync,\n native: mkdirpNative,\n nativeSync: mkdirpNativeSync,\n manual: mkdirpManual,\n manualSync: mkdirpManualSync,\n useNative,\n useNativeSync,\n }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpManualSync = (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n): string | undefined | void => {\n const parent = dirname(path)\n const opts = { ...optsArg(options), recursive: false }\n\n if (parent === path) {\n try {\n return opts.mkdirSync(path, opts)\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n return\n }\n }\n\n try {\n opts.mkdirSync(path, opts)\n return made || path\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts, mkdirpManualSync(parent, opts, made))\n }\n if (fer && fer.code !== 'EEXIST' && fer && fer.code !== 'EROFS') {\n throw er\n }\n try {\n if (!opts.statSync(path).isDirectory()) throw er\n } catch (_) {\n throw er\n }\n }\n}\n\nexport const mkdirpManual = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n ): Promise => {\n const opts = optsArg(options)\n opts.recursive = false\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirAsync(path, opts).catch(er => {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n })\n }\n\n return opts.mkdirAsync(path, opts).then(\n () => made || path,\n async er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(parent, opts).then(\n (made?: string | undefined | void) => mkdirpManual(path, opts, made)\n )\n }\n if (fer && fer.code !== 'EEXIST' && fer.code !== 'EROFS') {\n throw er\n }\n return opts.statAsync(path).then(\n st => {\n if (st.isDirectory()) {\n return made\n } else {\n throw er\n }\n },\n () => {\n throw er\n }\n )\n }\n )\n },\n { sync: mkdirpManualSync }\n)\n",null,"import {\n MakeDirectoryOptions,\n mkdir,\n mkdirSync,\n stat,\n Stats,\n statSync,\n} from 'fs'\n\nexport interface FsProvider {\n stat?: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync?: (path: string) => Stats\n mkdirSync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n}\n\ninterface Options extends FsProvider {\n mode?: number | string\n fs?: FsProvider\n mkdirAsync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise\n statAsync?: (path: string) => Promise\n}\n\nexport type MkdirpOptions = Options | number | string\n\nexport interface MkdirpOptionsResolved {\n mode: number\n fs: FsProvider\n mkdirAsync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise\n statAsync: (path: string) => Promise\n stat: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync: (path: string) => Stats\n mkdirSync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n recursive?: boolean\n}\n\nexport const optsArg = (opts?: MkdirpOptions): MkdirpOptionsResolved => {\n if (!opts) {\n opts = { mode: 0o777 }\n } else if (typeof opts === 'object') {\n opts = { mode: 0o777, ...opts }\n } else if (typeof opts === 'number') {\n opts = { mode: opts }\n } else if (typeof opts === 'string') {\n opts = { mode: parseInt(opts, 8) }\n } else {\n throw new TypeError('invalid options argument')\n }\n\n const resolved = opts as MkdirpOptionsResolved\n const optsFs = opts.fs || {}\n\n opts.mkdir = opts.mkdir || optsFs.mkdir || mkdir\n\n opts.mkdirAsync = opts.mkdirAsync\n ? opts.mkdirAsync\n : async (\n path: string,\n options: MakeDirectoryOptions & { recursive?: boolean }\n ): Promise => {\n return new Promise((res, rej) =>\n resolved.mkdir(path, options, (er, made) =>\n er ? rej(er) : res(made)\n )\n )\n }\n\n opts.stat = opts.stat || optsFs.stat || stat\n opts.statAsync = opts.statAsync\n ? opts.statAsync\n : async (path: string) =>\n new Promise((res, rej) =>\n resolved.stat(path, (err, stats) => (err ? rej(err) : res(stats)))\n )\n\n opts.statSync = opts.statSync || optsFs.statSync || statSync\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || mkdirSync\n\n return resolved\n}\n",null,"import { dirname } from 'path'\nimport { findMade, findMadeSync } from './find-made.js'\nimport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpNativeSync = (\n path: string,\n options?: MkdirpOptions\n): string | void | undefined => {\n const opts = optsArg(options)\n opts.recursive = true\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirSync(path, opts)\n }\n\n const made = findMadeSync(opts, path)\n try {\n opts.mkdirSync(path, opts)\n return made\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts)\n } else {\n throw er\n }\n }\n}\n\nexport const mkdirpNative = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions\n ): Promise => {\n const opts = { ...optsArg(options), recursive: true }\n const parent = dirname(path)\n if (parent === path) {\n return await opts.mkdirAsync(path, opts)\n }\n\n return findMade(opts, path).then((made?: string | undefined) =>\n opts\n .mkdirAsync(path, opts)\n .then(m => made || m)\n .catch(er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(path, opts)\n } else {\n throw er\n }\n })\n )\n },\n { sync: mkdirpNativeSync }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptionsResolved } from './opts-arg.js'\n\nexport const findMade = async (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): Promise => {\n // we never want the 'made' return value to be a root directory\n if (path === parent) {\n return\n }\n\n return opts.statAsync(parent).then(\n st => (st.isDirectory() ? path : undefined), // will fail later\n er => {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMade(opts, dirname(parent), parent)\n : undefined\n }\n )\n}\n\nexport const findMadeSync = (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): undefined | string => {\n if (path === parent) {\n return undefined\n }\n\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMadeSync(opts, dirname(parent), parent)\n : undefined\n }\n}\n",null,"const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform\nimport { parse, resolve } from 'path'\nexport const pathArg = (path: string) => {\n if (/\\0/.test(path)) {\n // simulate same failure that node raises\n throw Object.assign(\n new TypeError('path must be a string without null bytes'),\n {\n path,\n code: 'ERR_INVALID_ARG_VALUE',\n }\n )\n }\n\n path = resolve(path)\n if (platform === 'win32') {\n const badWinChars = /[*|\"<>?:]/\n const { root } = parse(path)\n if (badWinChars.test(path.substring(root.length))) {\n throw Object.assign(new Error('Illegal characters in path.'), {\n path,\n code: 'EINVAL',\n })\n }\n }\n\n return path\n}\n",null,"import { mkdir, mkdirSync } from 'fs'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nconst version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version\nconst versArr = version.replace(/^v/, '').split('.')\nconst hasNative = +versArr[0] > 10 || (+versArr[0] === 10 && +versArr[1] >= 12)\n\nexport const useNativeSync = !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdirSync === mkdirSync\n\nexport const useNative = Object.assign(\n !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdir === mkdir,\n {\n sync: useNativeSync,\n }\n)\n","import assert from \"assert\"\nimport { homedir } from \"os\"\nimport { parse as pathParse } from \"path\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack.js\"\nimport { isBinUptoDate } from \"../utils/setup/version.js\"\nimport { unique } from \"../utils/std/index.js\"\nimport { MinVersions } from \"../versions/default_versions.js\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n try {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n } catch (err) {\n if (setupPipPackSystem(\"pipx\", false) === null) {\n throw new Error(`pipx was not installed correctly ${err}`)\n }\n }\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string): Promise {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python.js\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n installInfo = { bin: foundPython, installDir: dirname(foundPython), binDir: dirname(foundPython) }\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const bin = await findPython(setupDir)\n if (bin === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir, rcOptions)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await installBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix: {\n stdout: string\n stderr: string\n } = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin, rcOptions)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await installAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n\n // On Windows, search in C:\\PythonXX\n if (process.platform === \"win32\") {\n const rootDir = pathParse(homedir()).root\n // find all directories in rootDir using readdir\n const pythonDirs = (await readdir(rootDir)).filter((dir) => dir.startsWith(\"Python\"))\n\n for (const pythonDir of pythonDirs) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, join(rootDir, pythonDir))\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n }\n }\n\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pipPath, MinVersions.pip!)) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error).toString())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error).toString())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { promise: true })\n","import { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverValid from \"semver/functions/valid\"\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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise,\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return Number.parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n\nexport function compareVersion(tag1: string, tag2: string) {\n const v1 = semverCoerce(tag1)\n const v2 = semverCoerce(tag2)\n if (v1 !== null && v2 !== null) {\n // put the latest version first\n return v2.compare(v1)\n }\n\n // if the tags are not semver, compare them as strings, putting the latest tag first\n return tag2.localeCompare(tag1)\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { isArch } from \"../utils/env/isArch.js\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.6\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n // the suffixes relate to the suffix in the llvm releases\n return \"17.0.6-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.6\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.12.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.30.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.2\", // \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.64.1\", // 2.0.17 // https://github.com/conan-io/conan/releases\n meson: \"1.5.1\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.38.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.11.0-4\" : \"1.11.0\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: process.platform === \"win32\"\n ? \"14.2.0posix-18.1.8-12.0.0-ucrt-r1\"\n : \"\", // use the default version on Ubuntu, Fedora, Arch, macOS, etc.\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n powershell: \"7.4.5\", // https://github.com/PowerShell/PowerShell/releases/tag/v7.4.5\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64\n mingw: {\n 24: \"8.0.0-1\",\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n // the suffixes relate to the suffix in the llvm releases\n llvm: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 24: \"6.0\",\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 24: \"1.0.0\",\n 22: \"1.0.0\",\n 20: \"1.0.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 24: \"\",\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 24: \"42-binary\",\n 22: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n doxygen: {\n 24: \"1.11.0\",\n 22: \"1.11.0\",\n 20: \"1.10.0\",\n 18: \"1.10.0\",\n },\n}\n","import type { Opts } from \"../cli-options.js\"\nimport type { Inputs } from \"../tool.js\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions.js\"\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n if (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name] ?? \"\"\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => Number.parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n for (const tool of toolsInUse) {\n opts[tool] = targetVersion\n }\n\n return true\n}\n","import os from \"os\"\nimport { warning } from \"ci-log\"\nimport memoize from \"memoizee\"\nimport { installAptPack } from \"setup-apt\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { isUbuntu } from \"./isUbuntu.js\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await installAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { promise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n if (!(\"version\" in os && typeof os.version === \"function\")) {\n return null\n }\n\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion: string = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = Number.parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = Number.parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = Number.parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"cppcheck\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { setupGraphviz } from \"../graphviz/graphviz.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { macosVersion } from \"../utils/env/macos_version.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { setupDmg } from \"../utils/setup/setupDmg.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n case \"darwin\": {\n const folderName = `Doxygen-${version}`\n return {\n binRelativeDir: \"Doxygen/Doxygen.app/Contents/Resources/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: setupDmg,\n url: `https://doxygen.nl/files/${folderName}.dmg`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n // let installationInfo: InstallationInfo\n // try {\n // installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n // } catch {\n const installationInfo = await installBrewPack(\"doxygen\", undefined)\n // }\n\n // only install graphviz if the macOS version is greater than 11\n if (macosVersion()[0] > 11) {\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n }\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([{ name: \"doxygen\", version }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n try {\n await installAptPack([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n info(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`)\n }\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await installAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (\n const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]\n ) {\n // eslint-disable-next-line no-await-in-loop\n if (await pathExists(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir, rcOptions)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return installBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"graphviz\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import macosRelease from \"macos-release\"\nimport memoize from \"memoizee\"\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */\nfunction macosVersion_raw() {\n if (process.platform !== \"darwin\") {\n return []\n }\n\n const { version } = macosRelease()\n return version.split(\".\").map((v) => Number.parseInt(v, 10))\n}\nexport const macosVersion = memoize(macosVersion_raw)\n","import os from 'node:os';\n\nconst nameMap = new Map([\n\t[24, ['Sequoia', '15']],\n\t[23, ['Sonoma', '14']],\n\t[22, ['Ventura', '13']],\n\t[21, ['Monterey', '12']],\n\t[20, ['Big Sur', '11']],\n\t[19, ['Catalina', '10.15']],\n\t[18, ['Mojave', '10.14']],\n\t[17, ['High Sierra', '10.13']],\n\t[16, ['Sierra', '10.12']],\n\t[15, ['El Capitan', '10.11']],\n\t[14, ['Yosemite', '10.10']],\n\t[13, ['Mavericks', '10.9']],\n\t[12, ['Mountain Lion', '10.8']],\n\t[11, ['Lion', '10.7']],\n\t[10, ['Snow Leopard', '10.6']],\n\t[9, ['Leopard', '10.5']],\n\t[8, ['Tiger', '10.4']],\n\t[7, ['Panther', '10.3']],\n\t[6, ['Jaguar', '10.2']],\n\t[5, ['Puma', '10.1']],\n]);\n\nexport default function macosRelease(release) {\n\trelease = Number((release || os.release()).split('.')[0]);\n\n\tconst [name, version] = nameMap.get(release) || ['Unknown', ''];\n\n\treturn {\n\t\tname,\n\t\tversion,\n\t};\n}\n","import { join } from \"path\"\n\nexport async function setupDmg(path: string, destDir: string) {\n const { ArchiveHdi } = await import(\"@shockpkg/archive-files/esm/archive/hdi.mjs\")\n\n const dmg = new ArchiveHdi(path)\n await dmg.read(async (entry) => {\n await entry.extract(join(destDir, entry.path))\n })\n}\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info, warning } from \"ci-log\"\nimport { addEnv, addPath } from \"envosman\"\nimport { type ExecaReturnValue, execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverMajor from \"semver/functions/major\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { loadGitHubAssetList, matchAsset } from \"../utils/github/load-assets.js\"\nimport { extract7Zip } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { compareVersion } from \"../utils/setup/version.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nasync function getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): Promise {\n switch (platform) {\n case \"win32\": {\n const mingwAssets = await loadGitHubAssetList(\n join(dirname, \"github_brechtsanders_winlibs_mingw.json\"),\n )\n const asset = matchAsset(\n mingwAssets,\n {\n version,\n arch: arch === \"x64\"\n ? \"x86_64\"\n : arch === \"ia32\"\n ? \"i386\"\n : arch,\n filterName: (name) => name.endsWith(\".7z\"),\n },\n )\n\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${asset.tag}/${asset.name}`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupGcc(version: string, setupDir: string, arch: string, priority: number = 40) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = await installBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc\" }, { name: \"g++\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n {\n name: \"g++\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc-multilib\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([{\n name: \"gcc-multilib\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n }])\n }\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return installAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([\n {\n name: \"mingw-w64\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n // Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n // Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n // await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir, rcOptions)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir, rcOptions)\n } else if (await pathExists(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(givenVersion: string, binDir: string, priority: number = 40) {\n const promises: Promise>[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`, rcOptions),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`, rcOptions),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`, rcOptions),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`, rcOptions),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`, rcOptions),\n // )\n\n if (process.platform === \"win32\") {\n promises.push(\n addEnv(\"CC\", addExeExt(`${binDir}/gcc`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${binDir}/g++`), rcOptions),\n )\n } else {\n // if version is empty, get the version from the gcc command\n let version = givenVersion\n if (givenVersion === \"\") {\n version = await getGccCmdVersion(binDir, version)\n info(`Using gcc version ${version}`)\n }\n\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n )\n }\n } else {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${version}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${version}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${version}`, rcOptions, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function getGccCmdVersion(binDir: string, givenVersion: string) {\n // TODO get the version from the package manager\n try {\n let gccExe = \"gcc\"\n if (await pathExists(`${binDir}/gcc`)) {\n gccExe = `${binDir}/gcc`\n } else {\n // try to find the gcc exe in the bin dir\n const files = (await readdir(binDir)).sort(\n (exe1, exe2) => {\n const version1 = exe1.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] ?? \"\"\n const version2 = exe2.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] ?? \"\"\n return compareVersion(version1, version2)\n },\n )\n for (const file of files) {\n if (file.startsWith(\"gcc\")) {\n gccExe = `${binDir}/${file}`\n break\n }\n }\n }\n\n const { stdout: versionStdout } = await execa(gccExe, [\"--version\"], { stdio: \"pipe\" })\n\n // gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\n // gcc-12 (Homebrew GCC 12.4.0) 12.4.0\n // gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0\n\n const versionMatch = (versionStdout as string).match(/gcc.* \\(.*\\) ([\\d.]+)/)\n\n if (versionMatch !== null) {\n return versionMatch[1]\n }\n\n warning(`Failed to parse gcc version from: ${versionStdout}`)\n return givenVersion\n } catch (err) {\n error(`Failed to get gcc version: ${err}`)\n return givenVersion\n }\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(dirname, \"gcc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { error } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim(), rcOptions)\n } else {\n error(\"SDKROOT not set\")\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { readFile } from \"fs/promises\"\n\n/**\n * The list of assets of a GitHub release\n * @key tag The tag of the release\n * @value assets The names of the assets of the release\n */\nexport type Assets = Record\n\nexport async function loadGitHubAssetList(path: string): Promise {\n const data = await readFile(path, \"utf-8\")\n return JSON.parse(data)\n}\n\ntype MatchAssetOpts = {\n version: string\n arch?: string\n filterTag?: (version: string) => boolean\n filterName?: (asset: string) => boolean\n}\n\n/**\n * Match the asset that matches the version and arch\n */\nexport function matchAsset(\n assets: Assets,\n opts: MatchAssetOpts,\n): { tag: string; name: string } {\n // get the list of versions\n let tags = Object.keys(assets)\n\n // filter the versions\n if (opts.filterTag !== undefined) {\n tags = tags.filter(opts.filterTag)\n }\n\n if (tags.length === 0) {\n throw new Error(`no tag found for version ${opts.version}`)\n }\n\n // find the first tag that starts with the version\n // loop over the versions starting with the latest\n let tag: string | undefined\n for (const mingwVersion of tags) {\n if (mingwVersion.startsWith(opts.version)) {\n tag = mingwVersion\n break\n }\n }\n if (tag === undefined) {\n throw new Error(`version ${opts.version} is not supported`)\n }\n\n // get the list of assets\n let matchedNames = assets[tag]\n\n // filter the assets\n if (opts.filterName !== undefined) {\n matchedNames = matchedNames.filter(opts.filterName)\n }\n\n if (matchedNames.length === 0) {\n throw new Error(`no asset found for version ${opts.version} and arch ${opts.arch}`)\n }\n\n // use the first asset if the arch is not specified\n if (opts.arch === undefined) {\n return { tag, name: matchedNames[0] }\n }\n\n // find the asset that matches the arch\n for (const name of matchedNames) {\n // search each asset name for the arch\n if (name.includes(opts.arch)) {\n return { tag, name }\n }\n }\n\n throw new Error(`arch ${opts.arch} could not be found among ${JSON.stringify(matchedNames)}`)\n}\n","import { addEnv } from \"envosman\"\nimport semverMajor from \"semver/functions/major\"\nimport semverValid from \"semver/functions/valid\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\", rcOptions)\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov, rcOptions)\n}\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { info } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake.js\"\nimport { setupNinja } from \"../ninja/ninja.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { extractTarByExe } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, 1)\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\n }\n\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"~\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), join(untildifyUser(\"~\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","import path, { delimiter } from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupGcc } from \"../gcc/gcc.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type InstallationInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer.js\"\nimport { getLLVMPackageInfo } from \"./llvm_url.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM\n const [installationInfo, _1] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n addLLVMLoggingMatcher(),\n ])\n\n // install LLVM dependencies\n await setupLLVMDeps(arch)\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { promise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = Number.parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await installAptPack([{ name: \"libtinfo5\" }])\n } else {\n await installAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { promise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { promise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory, rcOptions),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`, rcOptions),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/lib${delimiter}${dyld}`, rcOptions),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`, rcOptions),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`, rcOptions),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`), rcOptions),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`, rcOptions),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`, rcOptions))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`, rcOptions))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n addUpdateAlternativesToRc(\"cc\", `${directory}/bin/clang`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${directory}/bin/clang++`, rcOptions, priority),\n addUpdateAlternativesToRc(\"clang\", `${directory}/bin/clang`, rcOptions),\n addUpdateAlternativesToRc(\"clang++\", `${directory}/bin/clang++`, rcOptions),\n addUpdateAlternativesToRc(\"lld\", `${directory}/bin/lld`, rcOptions),\n addUpdateAlternativesToRc(\"ld.lld\", `${directory}/bin/ld.lld`, rcOptions),\n addUpdateAlternativesToRc(\"llvm-ar\", `${directory}/bin/llvm-ar`, rcOptions),\n )\n }\n\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(dirname, \"llvm_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n }\n}\n","import { info } from \"console\"\nimport { tmpdir } from \"os\"\nimport { join } from \"path\"\nimport { execRoot } from \"admina\"\nimport { addPath } from \"envosman\"\nimport { chmod, readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { aptTimeout, hasNala, installAptPack, isAptPackRegexInstalled } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { DEFAULT_TIMEOUT } from \"../installTool.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\nexport enum LLVMPackages {\n All = 0,\n ClangFormat = 1,\n Core = 2,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }])\n const dl = new DownloaderHelper(\"https://apt.llvm.org/llvm.sh\", tmpdir(), { fileName: \"llvm.sh\" })\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the LLVM installer script: ${err}`)\n })\n await dl.start()\n const installerScript = await readFile(dl.getDownloadPath(), \"utf-8\")\n\n const installerPath = join(tmpdir(), \"llvm-setup-cpp.sh\")\n const neededPackages = await patchAptLLVMScript(\n installerScript,\n installerPath,\n majorVersion,\n packages,\n )\n await installAptPack(neededPackages)\n await chmod(installerPath, \"755\")\n await execRoot(\n \"bash\",\n [installerPath, `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`, rcOptions)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(\n givenScript: string,\n target_path: string,\n majorVersion: number,\n packages: LLVMPackages,\n) {\n let script = debugScript(givenScript)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (process.env.NODE_DEBUG !== \"1\" && process.env.NODE_DEBUG !== \"true\") {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n `add-apt-repository -y -n \"\\${REPO_NAME}\"\napt-get update -o ${aptTimeout} -y`,\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n `apt-get install -o Dpkg::Options::=\"--force-overwrite\" -o ${aptTimeout} -y --fix-broken`,\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isAptPackRegexInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport pTimeout from \"p-timeout\"\nimport { join } from \"patha\"\nimport { setupBrew } from \"setup-brew\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { type ToolName, setups } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n if (e instanceof Error && e.stack !== undefined) {\n error(e.stack)\n }\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n) {\n // eslint-disable-next-line no-param-reassign\n const hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else if (tool === \"brew\") {\n // eslint-disable no-await-in-loop\n installationInfo = await setupBrew({ rcOptions })\n } else {\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"llvm\" : tool)\n\n const setupVersion = getVersion(tool, version, osVersion)\n\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable no-await-in-loop\n installationInfo = await setupFunction(setupVersion, setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n return hasLLVM\n}\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { pathExists } from \"path-exists\"\nimport { rcOptions } from \"../cli-options.js\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (VCTargetsPath !== undefined && (await pathExists(VCTargetsPath))) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath, rcOptions)\n }\n\n await setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community', 'BuildTools']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\n/**\n * Convert the vs version (e.g. 2022) or year (e.g. 17.0) to the version number (e.g. 17.0)\n * @param {string | undefined} vsversion the year (e.g. 2022) or version number (e.g. 17.0)\n * @returns {string | undefined} the version number (e.g. 17.0)\n */\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\n/**\n * Convert the vs version (e.g. 17.0) or year (e.g. 2022) to the year (e.g. 2022)\n * @param {string} vsversion the version number (e.g. 17.0) or year (e.g. 2022)\n * @returns {string} the year (e.g. 2022)\n */\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\n/**\n * Find MSVC tools with vswhere\n * @param {string} pattern the pattern to search for\n * @param {string} version_pattern the version pattern to search for\n * @returns {string | null} the path to the found MSVC tools\n */\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\n/**\n * Find the vcvarsall.bat file for the given Visual Studio version\n * @param {string | undefined} vsversion the version of Visual Studio to find (year or version number)\n * @returns {string} the path to the vcvarsall.bat file\n */\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/**\n * Setup MSVC Developer Command Prompt\n * @param {string} arch - Target architecture\n * @param {string | undefined} sdk - Windows SDK number to build for\n * @param {string | undefined} toolset - VC++ compiler toolset version\n * @param {boolean | 'true' | 'false' | undefined} uwp - Build for Universal Windows Platform\n * @param {boolean | 'true' | 'false' | undefined} spectre - Enable Spectre mitigations\n * @param {string | undefined} vsversion - The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. \"2019\").\n */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n\n if (uwp && JSON.parse(uwp) === true) {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre && JSON.parse(spectre) === true) {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd\n","import { info, warning } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { addExeExt } from \"patha\"\nimport semverLte from \"semver/functions/lte\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract.js\"\nimport type { PackageInfo } from \"../utils/setup/setupBin.js\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version.js\"\n\n// ================================================\n// Version\n// ================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_X64_MISSING = 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 \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_X64_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n \"18.1.4\": \"-ubuntu-18.04\",\n \"18.1.7\": \"-ubuntu-18.04\",\n \"18.1.8\": \"-ubuntu-18.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"18.1.8\"\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/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_X64_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/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let linuxVersion: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_X64_SUFFIX_MAP) {\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm version: ${specificVersion}`)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction: platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, 1)\n },\n }\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n await installBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\", rcOptions)\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"make\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info, warning } from \"ci-log\"\nimport { findVcvarsall, vsversion_to_versionnumber } from \"msvc-dev-cmd/lib.js\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(dirname, \"msvc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { tmpdir } from \"os\"\nimport { execRootSync } from \"admina\"\nimport { error, info } from \"ci-log\"\nimport { readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { dirname, join } from \"patha\"\nimport { hasNala, installAptPack, qualifiedNeededAptPackage } from \"setup-apt\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n await installAptPack([{ name: \"python3-apt\" }])\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n // If nala is available in the default repositories, install it\n try {\n const nalaPack = await qualifiedNeededAptPackage({ name: \"nala\", version })\n if (nalaPack !== undefined) {\n await installAptPack([{ name: nalaPack }])\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala: ${err}`)\n }\n\n // Nala is not available in the default repositories\n // Check if the legacy version is available\n try {\n const nalaLegacyPack = await qualifiedNeededAptPackage({ name: \"nala-legacy\" })\n if (nalaLegacyPack !== undefined) {\n await installAptPack([{ name: nalaLegacyPack }], true)\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala-legacy: ${err}`)\n }\n\n // Install via the installer script\n await setupNalaViaInstaller()\n\n return { binDir }\n}\n\nasync function setupNalaViaInstaller() {\n const installer = new DownloaderHelper(\n \"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh\",\n tmpdir(),\n { fileName: \"install-nala.sh\" },\n )\n installer.on(\"error\", (err) => {\n throw new Error(`Failed to download install-nala.sh: ${err}`)\n })\n await installer.start()\n\n const installerPath = join(tmpdir(), \"install-nala.sh\")\n\n // Patch the installer script to not use sudo explicitly\n const script = await readFile(installerPath, \"utf8\")\n await writeFile(installerPath, script.replace(/sudo/g, \"\"))\n\n await installAptPack([{ name: \"wget\" }])\n\n try {\n execRootSync(\"bash\", [installerPath])\n } catch (err) {\n error(`Failed to install nala via installer: ${err}`)\n execRootSync(\"apt\", [\"install\", \"-y\", \"-t\", \"nala\", \"nala\"])\n }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\n}\n","import { addPath } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { execRootSync } from \"admina\"\nimport { error } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n/** Get the platform data for cmake */\nfunction getPowerShellPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n return {\n url: getPowershellUrl(platform, arch, version),\n binRelativeDir: \"\",\n binFileName: addExeExt(\"pwsh\"),\n extractedFolderName: \"\",\n }\n}\n\nfunction getPowershellUrl(\n platform: string,\n arch: string,\n version: string,\n) {\n switch (platform) {\n case \"win32\": {\n const osArchStr = ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch))\n ? \"win-x86\"\n : \"win-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/PowerShell-${version}-${osArchStr}.zip`\n }\n case \"darwin\": {\n const osArchStr = [\"arm\", \"arm64\"].includes(arch) ? \"osx-arm64\" : \"osx-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n case \"linux\": {\n const archMap = {\n arm64: \"linux-arm64\",\n arm: \"linux-arm64\",\n arm32: \"linux-arm32\",\n aarch64: \"linux-arm64\",\n x64: \"linux-x64\",\n } as Record\n const osArchStr = archMap[arch] ?? \"linux-x64\"\n // TODO support musl\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string, setupDir: string, arch: string) {\n try {\n return await setupBin(\"pwsh\", version, getPowerShellPackageInfo, setupDir, arch)\n } catch (err) {\n error(`Failed to setup pwsh via download: ${err}. Trying package managers...`)\n return setupPowershellSystem(version, setupDir, arch)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershellSystem(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"powershell\", version, { cask: true, overwrite: false })\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"curl\" }])\n execRootSync(\"/bin/bash\", [\n \"-c\",\n \"curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo\",\n ])\n return setupDnfPack([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"curl\" }])\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaURL(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return installAptPack([{ name: \"powershell\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { installBrewPack } from \"setup-brew\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return installBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const extension = platform === \"win32\" ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { grantUserWriteAccess } from \"admina\"\nimport { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await installAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n // clone if not already exists\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. Skipping the clone`)\n }\n\n // if version specified, checkout the version\n if (version !== \"\" && version !== \"true\") {\n info(`Checking out vcpkg version ${version}`)\n execaSync(\"git\", [\"checkout\", version], {\n cwd: setupDir,\n stdio: \"inherit\",\n })\n }\n\n // bootstrap vcpkg\n execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(setupDir)\n\n await addPath(setupDir, rcOptions)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { join } from \"path\"\nimport { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc.js\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr.js\"\nimport { setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch,\n )\n\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion = compiler === \"mingw\"\n ? getVersion(\"mingw\", version, osVersion)\n : getVersion(\"gcc\", version, osVersion)\n const installationInfo = compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n await activateGcovGCC(gccVersion)\n\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch,\n )\n\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\", rcOptions), addEnv(\"CXX\", \"clang++\", rcOptions)])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";GkMII,CAAAA,CAAA,C8EMAC,CAAA,CmBDAC,CAAA,CWuDAC,CAAA,CgDtDAC,CAAA,C/DRAC,CAAA,CCAAC,CAAA,CCAAC,CAAA,C,8IzFSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO,CAAAO,OAAA,CACT,KAAM,CAAAC,SAAI,CAAU,yBAGtB,MAAO,IAAI,CAAAD,OAAA,CAAQ,SAAUP,CAAO,CAAEC,CAAM,EAC1CK,CAAA,CAAMR,CAAA,CAAMC,CAAA,EAAW,CAAC,EAAG,SAAUD,CAAE,CAAEC,CAAE,EACrCD,CAAA,CACFG,CAAA,CAAOH,CAAA,EAEPE,CAAA,CAAQD,CAAA,CAEZ,GACF,GACF,EAEAU,EAAA,CAAKX,CAAA,CAAMC,CAAA,EAAW,CAAC,EAAG,SAAUD,CAAE,CAAEG,CAAE,EAEpCH,CAAA,GACE,QAAY,GAAZA,CAAA,CAAGY,IAAI,EAAiBX,CAAA,EAAWA,CAAA,CAAQY,YAAY,CAAZ,GAC7Cb,CAAA,CAAK,KACLG,CAAA,CAAK,IAGTD,CAAA,CAAGF,CAAA,CAAIG,CAAA,CACT,GACF,EFrCA,QAAS,CAAAW,EAAsBd,CAAM,CAAEC,CAAc,KAiB7C,CAAAC,CAAA,CAhBJ,GAAM,CAAAC,CAAA,CAAMH,CAAA,CAAOe,OAAO,CAACC,GAAG,EAAIC,OAAA,CAAQD,GAAG,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AAD,CACT,GyBxBiD,CAC/C,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAGK0hB,EAAA,CAA6B,GAAI,CAAA/X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7EiY,EAAA,CAAqB,GAAI,CAAAjY,GAAA,CAAI,CACjC,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAOKkY,EAAA,CAAiC,GAAI,CAAA2lB,GAAA,GAQrCxlB,EAAA,CAAmD,CACvD,QAAS,gBACT,QAAS,GACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,eACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,sBAAuB,gBACvB,sBAAuB,gBACvB,SAAU,gBACV,sBAAuB,gBACvB,SAAU,gBACV,SAAU,UACV,SAA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AAQ,CAAG,CACrB","ignoreList":[]} \ No newline at end of file diff --git a/dist/modern/actions_python.16ae5537.js b/dist/modern/actions_python.16ae5537.js deleted file mode 100644 index b53a10c9..00000000 --- a/dist/modern/actions_python.16ae5537.js +++ /dev/null @@ -1,3 +0,0 @@ -function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $k14yv$path=require("path"),$k14yv$os=require("os"),$k14yv$fs=require("fs"),$k14yv$stream=require("stream"),$k14yv$util=require("util"),$k14yv$assert=require("assert"),$k14yv$child_process=require("child_process"),$k14yv$http=require("http"),$k14yv$https=require("https"),$parcel$global=globalThis,parcelRequire=$parcel$global.parcelRequire810d,parcelRegister=parcelRequire.register;parcelRegister("4kQHk",function(e,t){var r,i,s,n,o,a,h,l,c;function u(e){return e.startsWith("pypy");}async function p(e,t,a){l.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let h=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeof h&&""!==h&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,s.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let i=await(0,r.findPyPyVersion)(e,a,!0,d,!1);t=`${i.resolvedPyPyVersion}-${i.resolvedPythonVersion}`,(0,o.info)(`Successfully set up PyPy ${i.resolvedPyPyVersion} with Python (${i.resolvedPythonVersion})`);}else{let r=await(0,i.useCpythonVersion)(e,a,!0,d,!1);t=r.version,(0,o.info)(`Successfully set up ${r.impl} (${t})`);}}n.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,h.join)(c,"python_matcher.json");if(!(await(0,a.pathExists)(e)))return(0,o.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,o.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("4BQAg"),i=parcelRequire("90sLx"),s=parcelRequire("9yJgU"),n=parcelRequire("9ne19"),o=parcelRequire("ER74K"),a=parcelRequire("dOmbL"),h=parcelRequire("ceI0e"),l=parcelRequire("1FYOu"),c=$k14yv$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRegister("4BQAg",function(e,t){var r,i,s,n,o;async function a(e,t,s,o,a){let c,u,p="",f="",d=l(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(n.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):n.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),c||({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let y=i.IS_WINDOWS?"Scripts":"bin",m=$k14yv$path.join(c,y),g=i.IS_WINDOWS?".exe":"",x=$k14yv$path.join(i.IS_WINDOWS?c:m,"python"+g),w=r.getPyPyBinaryPath(c);return s&&(n.exportVariable("pythonLocation",c),n.exportVariable("Python_ROOT_DIR",c),n.exportVariable("Python2_ROOT_DIR",c),n.exportVariable("Python3_ROOT_DIR",c),n.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),n.addPath(w),n.addPath(m)),n.setOutput("python-version","pypy"+p),n.setOutput("python-path",x),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",l=i.IS_WINDOWS?c(e):o.find("PyPy",e,r);return l&&(h=(0,i.getPyPyVersionFromPath)(l),a=(0,i.readExactPyPyVersionFile)(l),s.satisfies(a,t)||(l=null,a="",h="")),l||n.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:l,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function l(e){let t;let s=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(s[0])){let e=s[0].replace("pypy","");s.splice(0,1,"pypy",e);}if(s.length<2||"pypy"!=s[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let n=s[1];if(t=s.length>2?r.pypyVersionToSemantic(s[2]):"x",!(0,i.validateVersion)(n)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(n))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:t,pythonVersion:n};}function c(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("6zuPC"),i=parcelRequire("1FYOu"),s=parcelRequire("jrMr3"),n=parcelRequire("9yJgU"),o=parcelRequire("4ai2V");}),parcelRegister("6zuPC",function(e,t){var r,i,s,n,o,a;async function h(e,t,s,n,o){let h;if(!(o=o??(await l()))||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,s,!1);if(!n||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${s} not found`,"Trying pre-release versions"].join($k14yv$os.EOL)),d=p(o,t,e,s,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${s} not found`);let{foundAsset:y,resolvedPythonVersion:m,resolvedPyPyVersion:g}=d,x=""+y.download_url;r.info(`Downloading PyPy from "${x}" ...`);try{let e=await i.downloadTool(x);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($k14yv$fs).readdirSync(h)[0],n=$k14yv$path.join(h,t),o=n;(0,a.isNightlyKeyword)(g)||(o=await i.cacheDir(n,"PyPy",m,s)),(0,a.writeExactPyPyVersionFile)(o,g);let l=f(o);return await c(l,m),await u(l),{installDir:o,resolvedPythonVersion:m,resolvedPyPyVersion:g};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function l(){let e="https://downloads.python.org/pypy/versions.json",t=new n.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;}async function c(e,t){let i=s.coerce(t),n=s.major(i),o=s.minor(i),h=2===n?"":"3",l=`${n}.${o}`,c=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`python${n}${c}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,"python"+c,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`pypy${l}${c}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$k14yv$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,n){let o={includePrerelease:n},h=e.filter(e=>{let n=s.satisfies(s.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version)||s.satisfies(d(e.pypy_version),r,o),l=e.files&&(a.IS_WINDOWS?y(e,i):m(e,i,process.platform));return n&&h&&l;});if(0===h.length)return null;let l=h.sort((e,t)=>s.compare(s.coerce(d(t.pypy_version)),s.coerce(d(e.pypy_version)))||s.compare(s.coerce(t.python_version),s.coerce(e.python_version)))[0];return{foundAsset:a.IS_WINDOWS?g(l,i):x(l,i,process.platform),resolvedPythonVersion:l.python_version,resolvedPyPyVersion:l.pypy_version.trim()};}function f(e){let t=$k14yv$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function y(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function m(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function g(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function x(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>l),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("9yJgU"),i=parcelRequire("4ai2V"),s=parcelRequire("jrMr3"),n=parcelRequire("95990"),o=parcelRequire("jlr6Q"),a=parcelRequire("1FYOu");}),parcelRegister("4ai2V",function(e,t){function r(e,t,r,s){return E(this,void 0,void 0,function*(){t=t||j.join(S(),q.default()),yield D.mkdirP(j.dirname(t)),$.debug("Downloading "+e),$.debug("Destination "+t);let n=3,o=O("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=O("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new R.RetryHelper(n,o,a);return yield h.execute(()=>E(this,void 0,void 0,function*(){return yield i(e,t||"",r,s);}),e=>!(e instanceof W)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return E(this,void 0,void 0,function*(){if(M.existsSync(t))throw Error(`Destination file path ${t} already exists`);let s=new V.HttpClient(G,[],{allowRetries:!1});r&&($.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let n=yield s.get(e,i);if(200!==n.message.statusCode){let t=new W(n.message.statusCode);throw $.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t;}let o=H.promisify(F.pipeline),a=O("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>n.message)(),h=!1;try{return yield o(a,M.createWriteStream(t)),$.debug("download complete"),h=!0,t;}finally{if(!h){$.debug("download failed");try{yield D.rmRF(t);}catch(e){$.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function s(e,t,r){return E(this,void 0,void 0,function*(){$k14yv$assert.ok(B,"extract7z() not supported on current OS"),$k14yv$assert.ok(e,'parameter "file" is required'),t=yield m(t);let i=process.cwd();if(process.chdir(t),r)try{let t=$.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],s={silent:!0};yield C.exec(`"${r}"`,i,s);}finally{process.chdir(i);}else{let r=j.join(A,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${r}' -Source '${s}' -Target '${n}'`],a={silent:!0};try{let e=yield D.which("powershell",!0);yield C.exec(`"${e}"`,o,a);}finally{process.chdir(i);}}return t;});}function n(e,t,r="xz"){return E(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield m(t),$.debug("Checking tar --version");let s="";yield C.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>s+=e.toString(),stderr:e=>s+=e.toString()}}),$.debug(s.trim());let n=s.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],$.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return B&&n&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield C.exec("tar",i),t;});}function o(e,t,r=[]){return E(this,void 0,void 0,function*(){let i;$k14yv$assert.ok(J,"extractXar() not supported on current OS"),$k14yv$assert.ok(e,'parameter "file" is required'),t=yield m(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),$.isDebug()&&i.push("-v");let s=yield D.which("xar",!0);return yield C.exec(`"${s}"`,_(i)),t;});}function a(e,t){return E(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield m(t),B?yield h(e,t):yield l(e,t),t;});}function h(e,t){return E(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield D.which("pwsh",!1);if(s){let e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force } else { throw $_ } } ;`];$.debug("Using pwsh at path: "+s),yield C.exec(`"${s}"`,e);}else{let e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`],t=yield D.which("powershell",!0);$.debug("Using powershell at path: "+t),yield C.exec(`"${t}"`,e);}});}function l(e,t){return E(this,void 0,void 0,function*(){let r=yield D.which("unzip",!0),i=[e];$.isDebug()||i.unshift("-q"),i.unshift("-o"),yield C.exec(`"${r}"`,i,{cwd:t});});}function c(e,t,r,i){return E(this,void 0,void 0,function*(){if(r=k.clean(r)||r,i=i||L.arch(),$.debug(`Caching tool ${t} ${r} ${i}`),$.debug("source dir: "+e),!M.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let s=yield g(t,r,i);for(let t of M.readdirSync(e)){let r=j.join(e,t);yield D.cp(r,s,{recursive:!0});}return x(t,r,i),s;});}function u(e,t,r,i,s){return E(this,void 0,void 0,function*(){if(i=k.clean(i)||i,s=s||L.arch(),$.debug(`Caching tool ${r} ${i} ${s}`),$.debug("source file: "+e),!M.statSync(e).isFile())throw Error("sourceFile is not a file");let n=yield g(r,i,s),o=j.join(n,t);return $.debug("destination file "+o),yield D.cp(e,o),x(r,i,s),n;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||L.arch(),w(t)||(t=b(f(e,r),t));let i="";if(t){t=k.clean(t)||"";let s=j.join(v(),e,t,r);$.debug("checking cache: "+s),M.existsSync(s)&&M.existsSync(`${s}.complete`)?($.debug(`Found tool in cache ${e} ${t} ${r}`),i=s):$.debug("not found");}return i;}function f(e,t){let r=[];t=t||L.arch();let i=j.join(v(),e);if(M.existsSync(i)){for(let e of M.readdirSync(i))if(w(e)){let s=j.join(i,e,t||"");M.existsSync(s)&&M.existsSync(`${s}.complete`)&&r.push(e);}}return r;}function d(e,t,r,i="master"){return E(this,void 0,void 0,function*(){let s=[],n=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new V.HttpClient("tool-cache"),a={};r&&($.debug("set auth"),a.authorization=r);let h=yield o.getJson(n,a);if(!h.result)return s;let l="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){l=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield o.get(l,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{s=JSON.parse(c);}catch(e){$.debug("Invalid json");}}return s;});}function y(e,t,r,i=L.arch()){return E(this,void 0,void 0,function*(){return yield U._findMatch(e,t,r,i);});}function m(e){return E(this,void 0,void 0,function*(){return e||(e=j.join(S(),q.default())),yield D.mkdirP(e),e;});}function g(e,t,r){return E(this,void 0,void 0,function*(){let i=j.join(v(),e,k.clean(t)||t,r||"");$.debug("destination "+i);let s=`${i}.complete`;return yield D.rmRF(i),yield D.rmRF(s),yield D.mkdirP(i),i;});}function x(e,t,r){let i=j.join(v(),e,k.clean(t)||t,r||""),s=`${i}.complete`;M.writeFileSync(s,""),$.debug("finished caching tool");}function w(e){let t=k.clean(e)||"";$.debug("isExplicit: "+t);let r=null!=k.valid(t);return $.debug("explicit? "+r),r;}function b(e,t){let r="";$.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>k.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let s=e[i];if(k.satisfies(s,t)){r=s;break;}}return r?$.debug("matched: "+r):$.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $k14yv$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function S(){let e=process.env.RUNNER_TEMP||"";return $k14yv$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function O(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function _(e){return Array.from(new Set(e));}var P,N,T,E,I,C,R,A=$k14yv$path.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib");P=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),N=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),T=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&P(t,e,r);return N(t,e),t;},E=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},I=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let $=T(parcelRequire("9yJgU")),D=T(parcelRequire("fcBgE")),M=T($k14yv$fs),U=T(parcelRequire("eMKvA")),L=T($k14yv$os),j=T($k14yv$path),V=T(parcelRequire("95990")),k=T(parcelRequire("aNgTs")),F=T($k14yv$stream),H=T($k14yv$util),q=I(parcelRequire("dGCqI"));C=parcelRequire("jlr6Q"),R=parcelRequire("8RSsC");class W extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=W;let B="win32"===process.platform,J="darwin"===process.platform,G="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=s,e.exports.extractTar=n,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=c,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=y,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=b;}),parcelRegister("eMKvA",function(e,t){var r,i,s,n,o;function a(t,r,i,s){return n(this,void 0,void 0,function*(){let n,a,h;let l=$k14yv$os.platform();for(let n of i){let i=n.version;if(o.debug(`check ${i} satisfies ${t}`),c.satisfies(i,t)&&(!r||n.stable===r)&&(h=n.files.find(t=>{o.debug(`${t.arch}===${s} && ${t.platform}===${l}`);let r=t.arch===s&&t.platform===l;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||c.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+n.version),a=n;break;}}return a&&h&&((n=Object.assign({},a)).files=[h]),n;});}function h(){let t=$k14yv$os.platform(),r="";if("darwin"===t)r=$k14yv$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;}function l(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $k14yv$fs.existsSync(e)?r=$k14yv$fs.readFileSync(e).toString():$k14yv$fs.existsSync(t)&&(r=$k14yv$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let c=s(parcelRequire("aNgTs"));o=parcelRequire("9yJgU"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=l;}),parcelRegister("95990",function(e,t){var r,i,s,n;let o;function a(e){let t=r.getProxyUrl(new URL(e));return t?t.href:"";}function h(e){return"https:"===new URL(e).protocol;}Object.defineProperty(e.exports,"__esModule",{value:!0}),r=parcelRequire("4TaKt"),function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout";}(i=e.exports.HttpCodes||(e.exports.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type";}(s=e.exports.Headers||(e.exports.Headers={})),function(e){e.ApplicationJson="application/json";}(n=e.exports.MediaTypes||(e.exports.MediaTypes={})),e.exports.getProxyUrl=a;let l=[i.MovedPermanently,i.ResourceMoved,i.SeeOther,i.TemporaryRedirect,i.PermanentRedirect],c=[i.BadGateway,i.ServiceUnavailable,i.GatewayTimeout],u=["OPTIONS","GET","DELETE","HEAD"],p=10,f=5;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 y{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.toString());});});}}e.exports.HttpClientResponse=y,e.exports.isHttps=h;class m{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,i){return this.request(e,t,r,i);}async getJson(e,t={}){t[s.Accept]=this._getExistingOrDefaultHeader(t,s.Accept,n.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions);}async postJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.post(e,i,r);return this._processResponse(o,this.requestOptions);}async putJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.put(e,i,r);return this._processResponse(o,this.requestOptions);}async patchJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.patch(e,i,r);return this._processResponse(o,this.requestOptions);}async request(e,t,r,s){let n;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,s),h=this._allowRetries&&-1!=u.indexOf(e)?this._maxRetries+1:1,p=0;for(;p0;){let i=n.message.headers.location;if(!i)break;let h=new URL(i);if("https:"==o.protocol&&o.protocol!=h.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(await n.readBody(),h.hostname!==o.hostname)for(let e in s)"authorization"===e.toLowerCase()&&delete s[e];a=this._prepareRequest(e,h,s),n=await this.requestRaw(a,r),t--;}if(-1==c.indexOf(n.message.statusCode))break;(p+=1){let s=function(e,t){e&&i(e),r(t);};this.requestRawWithCallback(e,t,s);});}requestRawWithCallback(e,t,r){let i;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t));},o=e.httpModule.request(e.options,e=>{n(null,new y(e));});o.on("socket",e=>{i=e;}),o.setTimeout(this._socketTimeout||18e4,()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path),null);}),o.on("error",function(e){n(e,null);}),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){o.end();}),t.pipe(o)):o.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let i={};i.parsedUrl=t;let s="https:"===i.parsedUrl.protocol;i.httpModule=s?$k14yv$https:$k14yv$http;let n=s?443:80;return i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):n,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers&&this.handlers.forEach(e=>{e.prepareRequest(i.options);}),i;}_mergeHeaders(e){let 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 i;let s=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers&&(i=s(this.requestOptions.headers)[t]),e[t]||i||r;}_getAgent(e){let t;let i=r.getProxyUrl(e),s=i&&i.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;let n="https:"===e.protocol,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||$k14yv$http.globalAgent.maxSockets),s){let e;o||(o=parcelRequire("eYDoL"));let r={maxSockets:a,keepAlive:this._keepAlive,proxy:{...((i.username||i.password)&&{proxyAuth:`${i.username}:${i.password}`}),host:i.hostname,port:i.port}},s="https:"===i.protocol;t=(e=n?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp)(r),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=n?new $k14yv$https.Agent(e):new $k14yv$http.Agent(e),this._agent=t;}return t||(t=n?$k14yv$https.globalAgent:$k14yv$http.globalAgent),n&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){let t=f*Math.pow(2,e=Math.min(p,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,s)=>{let n,o;let a=e.message.statusCode,h={statusCode:a,result:null,headers:{}};a==i.NotFound&&r(h);try{(o=await e.readBody())&&o.length>0&&(n=t&&t.deserializeDates?JSON.parse(o,m.dateTimeDeserializer):JSON.parse(o),h.result=n),h.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new d(e=n&&n.message?n.message:o&&o.length>0?o:"Failed request: ("+a+")",a);t.result=h.result,s(t);}else r(h);});}}e.exports.HttpClient=m;}),parcelRegister("4TaKt",function(e,t){function r(e){let t,r,s="https:"===e.protocol;return i(e)||(r=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)&&(t=new URL(r)),t;}function i(e){let t;if(!e.hostname)return!1;let 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 i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if(i.some(t=>t===e))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=r,e.exports.checkBypass=i;}),parcelRegister("8RSsC",function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.RetryHelper=void 0;let o=s(parcelRequire("9yJgU"));class a{constructor(e,t,r){if(e<1)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 n(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRegister("1FYOu",function(e,t){var r,i,s;function n(e,t,r,i=!1){let s=$k14yv$path.join(e,t),o=$k14yv$path.join(e,r);$parcel$interopDefault($k14yv$fs).existsSync(o)||($parcel$interopDefault($k14yv$fs).symlinkSync(s,o),!m&&i&&$parcel$interopDefault($k14yv$fs).chmodSync(o,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $k14yv$path.basename($k14yv$path.dirname(e));}function l(e){let t="",r=$k14yv$path.join(e,v);return $parcel$interopDefault($k14yv$fs).existsSync(r)&&(t=$parcel$interopDefault($k14yv$fs).readFileSync(r).toString().trim()),t;}function c(e,t){let r=$k14yv$path.join(e,v);$parcel$interopDefault($k14yv$fs).writeFileSync(r,t);}function u(e){return /^\d+\.\d+$/.test(e);}async function p(){let{stdout:e}=await s.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{osName:"Windows",osVersion:e.trim().split(" ")[3]};}async function f(){let{stdout:e}=await s.getExecOutput("sw_vers",["-productVersion"],{silent:!0});return{osName:"macOS",osVersion:e.trim()};}async function d(){let{stdout:e}=await s.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function y(){let e;try{m?e=await p():g?e=await d():x&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>m),$parcel$export(e.exports,"IS_LINUX",()=>g),$parcel$export(e.exports,"IS_MAC",()=>x),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>b),$parcel$export(e.exports,"createSymlinkInFolder",()=>n),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>y),r=parcelRequire("9yJgU"),i=parcelRequire("jrMr3"),parcelRequire("55W4k"),s=parcelRequire("jlr6Q");let m="win32"===process.platform,g="linux"===process.platform,x="darwin"===process.platform,w=["x86","x64"],b=["win32","win64"],v="PYPY_VERSION";}),parcelRegister("55W4k",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("gi4xV"),parcelRequire("5e4iL");}),parcelRegister("gi4xV",function(e,t){e.exports=parcelRequire("hncsJ"),e.exports.async=parcelRequire("leFFm"),e.exports.stream=parcelRequire("bIDnv"),e.exports.prettyError=parcelRequire("ckX77");}),parcelRegister("hncsJ",function(e,t){var r,i;function s(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=s,r=parcelRequire("gEhiJ"),i=parcelRequire("ckX77");}),parcelRegister("gEhiJ",function(module,exports){var $lPmG1,$7kLtX,$i8y9h,$l5l5L;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($i8y9h(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($i8y9h(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($l5l5L(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($l5l5L(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($lPmG1(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($7kLtX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($lPmG1(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($7kLtX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($lPmG1(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("lTZk9")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$lPmG1=parcelRequire("lPmG1"),$7kLtX=parcelRequire("7kLtX"),$i8y9h=parcelRequire("i8y9h"),$l5l5L=parcelRequire("l5l5L");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRegister("lTZk9",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class s{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class n{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new s(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("7kLtX",function(e,t){var r=parcelRequire("fDUHx");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("fDUHx",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new s(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("l5l5L",function(e,t){var r=parcelRequire("fDUHx");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("ckX77",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: -`,t&&t.split){let i=t.split(/\n/),s=(Math.min(i.length,e.line+3)+"").length,n=" ";for(;n.length "+i[t]+"\n"+n+" ";for(let t=0;t=e.length)try{return n(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(s,t+r,r,n,o);}catch(t){o(i(t,e));}}t||(t={});let n=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(s,n,o,e,t);});}e.exports=s,r=parcelRequire("gEhiJ"),i=parcelRequire("ckX77");}),parcelRegister("bIDnv",function(e,t){var r;function i(e){return e?s(e):n(e);}function s(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let s;function n(){if(h=!0,!s)try{r(t.finish());}catch(e){i(e);}}function o(e){l=!0,i(e);}function a(){let r;for(s=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(s=!1,h)return n();l||e.once("readable",a);}let h=!1,l=!1;e.once("end",n),e.once("error",o),a();});}function n(){let e=new r();return new $k14yv$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("gEhiJ");}),parcelRegister("5e4iL",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=c(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function s(){return Error("Array values can't have mixed types");}function n(e){return Object.keys(e).filter(t=>l(e[t]));}function o(e){return Object.keys(e).filter(t=>!l(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=n(r=a(r)),s=o(r);var i,s,h=[],l=t||"";i.forEach(e=>{var t=c(r[e]);"undefined"!==t&&"null"!==t&&h.push(l+u(e)+" = "+g(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return s.forEach(t=>{h.push(E(e,p,t,r[t]));}),h.join("\n");}function l(e){switch(c(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==c(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function c(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+y(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function m(e){let t=e.split(/\n/).map(e=>y(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function g(e,t){let r=c(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),x(e,r);}function x(e,t){switch(t||(t=c(e)),t){case"string-multiline":return m(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return b(e);case"boolean":return v(e);case"datetime":return S(e);case"array":return N(e.filter(e=>"null"!==c(e)&&"undefined"!==c(e)&&"nan"!==c(e)));case"table":return T(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function b(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function S(e){return e.toISOString();}function O(e){return"float"===e||"integer"===e;}function _(e){var t=c(e[0]);return e.every(e=>c(e)===t)?t:e.every(e=>O(c(e)))?"float":"mixed";}function P(e){let t=_(e);if("mixed"===t)throw s();return t;}function N(e){let t=P(e=a(e));var r="[",i=e.map(e=>x(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function T(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+g(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function E(e,t,r,s){var n=c(s);if("array"===n)return I(e,t,r,s);if("table"===n)return C(e,t,r,s);throw i(n);}function I(e,t,r,s){P(s=a(s));var n=c(s[0]);if("table"!==n)throw i(n);var o=e+u(r),l="";return s.forEach(e=>{l.length>0&&(l+="\n"),l+=t+"[["+o+"]]\n"+h(o+".",t,e);}),l;}function C(e,t,r,i){var s=e+u(r),o="";return n(i).length>0&&(o+=t+"["+s+"]\n"),o+h(s+".",t,i);}e.exports=r,e.exports.value=x;}),parcelRegister("90sLx",function(e,t){var r,i,s,n,o;function a(e){return r.IS_WINDOWS?$k14yv$path.join(e,"Scripts"):$k14yv$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,y=u(l(e),f);if(n.debug(`Semantic version spec of ${e} is ${y}`),p){d=await s.getManifest();let e=(await s.findReleaseFromManifest(y,t,d))?.version;e?(y=e,n.info(`Resolved as '${y}'`)):n.info(`Failed to resolve version ${y} from manifest`);}let m=o.find("Python",y,t);if(!m){n.info(`Version ${y} was not found in the local cache`);let e=await s.findReleaseFromManifest(y,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${y} is available for downloading`),await s.installCpythonFromRelease(e),m=o.find("Python",y,t));}if(!m){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+s.MANIFEST_URL].join($k14yv$os.EOL));}let g=a(m),x=r.IS_WINDOWS?".exe":"",w=$k14yv$path.join(r.IS_WINDOWS?m:g,"python"+x);if(h){if(n.exportVariable("pythonLocation",m),n.exportVariable("PKG_CONFIG_PATH",m+"/lib/pkgconfig"),n.exportVariable("pythonLocation",m),n.exportVariable("Python_ROOT_DIR",m),n.exportVariable("Python2_ROOT_DIR",m),n.exportVariable("Python3_ROOT_DIR",m),n.exportVariable("PKG_CONFIG_PATH",m+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$k14yv$path.join(m,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(m),n.addPath(g),r.IS_WINDOWS){let e=$k14yv$path.basename($k14yv$path.dirname(m)),t=i.major(e),r=i.minor(e),s=$k14yv$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}let b=c(m);return n.setOutput("python-version",b),n.setOutput("python-path",w),{impl:"CPython",version:b};}function l(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function c(e){let t=e.split($k14yv$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,s=e.replace(r,"$1-$2");return t&&(s=s.replace(i,"~$1.$2.0-0")),s;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("1FYOu"),i=parcelRequire("jrMr3"),s=parcelRequire("hlY4Y"),n=parcelRequire("9yJgU"),o=parcelRequire("4ai2V");}),parcelRegister("hlY4Y",function(e,t){var r,i,s,n;async function o(e,t,r){return r||(r=await a()),await i.findFromManifest(e,!1,r,t);}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(n.IS_LINUX&&{LD_LIBRARY_PATH:$k14yv$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};n.IS_WINDOWS?await s.exec("powershell",["./setup.ps1"],t):await s.exec("bash",["./setup.sh"],t);}async function l(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let s="";try{let e;s=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=n.IS_WINDOWS?await i.extractZip(s):await i.extractTar(s),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>y),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>l),r=parcelRequire("9yJgU"),i=parcelRequire("4ai2V"),s=parcelRequire("jlr6Q"),n=parcelRequire("1FYOu");let c=r.getInput("token"),u=c?"token "+c:void 0,p="actions",f="python-versions",d="main",y=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}); -//# sourceMappingURL=actions_python.16ae5537.js.map \ No newline at end of file diff --git a/dist/modern/actions_python.16ae5537.js.map b/dist/modern/actions_python.16ae5537.js.map deleted file mode 100644 index 81da0526..00000000 --- a/dist/modern/actions_python.16ae5537.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"actions_python.16ae5537.js","names":["u","e","startsWith","p","t","a","l","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","h","trim","RUNNER_TOOL_CACHE","s","debug","i","r","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","o","info","useCpythonVersion","version","impl","n","GITHUB_ACTIONS","f","join","c","pathExists","warning","getAvailablePyPyVersions","length","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","y","IS_WINDOWS","m","$k14yv$path","g","x","w","getPyPyBinaryPath","exportVariable","addPath","setOutput","find","getPyPyVersionFromPath","readExactPyPyVersionFile","satisfies","split","filter","test","replace","splice","Error","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","forEach","foundAsset","$k14yv$os","EOL","download_url","downloadTool","extractZip","extractTar","$parcel$interopDefault","$k14yv$fs","readdirSync","isNightlyKeyword","cacheDir","writeExactPyPyVersionFile","HTTPError","httpStatusCode","message","stack","HttpClient","getJson","result","coerce","major","minor","createSymlinkInFolder","exec","includePrerelease","python_version","pypy_version","files","platform","sort","compare","some","WINDOWS_PLATFORMS","includes","arch","j","S","q","default","D","mkdirP","dirname","$","O","R","RetryHelper","execute","E","W","M","existsSync","V","G","allowRetries","authorization","get","statusCode","statusMessage","H","promisify","F","pipeline","createWriteStream","rmRF","$k14yv$assert","ok","B","cwd","chdir","isDebug","silent","C","A","which","ignoreReturnCode","listeners","stdout","toString","stderr","toUpperCase","Array","push","J","_","unshift","k","clean","L","statSync","isDirectory","cp","recursive","isFile","b","v","tree","path","url","accept","readBody","JSON","parse","U","_findMatch","writeFileSync","valid","gt","RUNNER_TEMP","$parcel$global","from","Set","T","parcelRequire","$k14yv$stream","$k14yv$util","I","constructor","Object","setPrototypeOf","new","target","prototype","exports","extract7z","extractXar","cacheFile","findAllVersions","getManifestFromRepo","findFromManifest","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$k14yv$child_process","execSync","_readLinuxVersionFile","readFileSync","getProxyUrl","URL","href","protocol","defineProperty","value","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpCodes","Accept","ContentType","Headers","ApplicationJson","MediaTypes","name","HttpClientError","Promise","Buffer","alloc","on","concat","HttpClientResponse","isHttps","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","maxRetries","options","request","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","stringify","putJson","patchJson","_prepareRequest","indexOf","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","toLowerCase","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","setTimeout","end","write","pipe","getAgent","_getAgent","parsedUrl","$k14yv$https","$k14yv$http","host","port","parseInt","pathname","search","method","_mergeHeaders","agent","prepareRequest","keys","reduce","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","pow","min","dateTimeDeserializer","Date","isNaN","valueOf","deserializeDates","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","no_proxy","NO_PROXY","map","checkBypass","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","random","symlinkSync","chmodSync","validRange","basename","getExecOutput","osName","osVersion","async","stream","prettyError","isBuffer","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","descriptor","InlineTable","defineProperties","_type","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","makeParserClass","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","parseKeyword","recordAssignKeyword","state","resultTable","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$i8y9h","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$l5l5L","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$lPmG1","$7kLtX","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","captureStackTrace","fromTOML","wrapped","code","Symbol","configurable","enumerable","utilInspect","eval","custom","asIntN","parser","returned","pos","col","line","_buf","ii","runOne","codePointAt","haveBuffer","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","slice","setImmediate","blocksize","setEncoding","read","once","Transform","objectMode","transform","emit","flush","toJSON","isArray","N","every","P","getManifest","findReleaseFromManifest","installCpythonFromRelease","getOSInfo","MANIFEST_URL","IS_LINUX","LD_LIBRARY_PATH","APPDATA","sep","findIndex","getInput"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-pypy.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-pypy.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/manifest.ts","../../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/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/utils.ts","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-python.ts","../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-python.ts"],"sourcesContent":["var $k14yv$path = require(\"path\");\nvar $k14yv$os = require(\"os\");\nvar $k14yv$fs = require(\"fs\");\nvar $k14yv$stream = require(\"stream\");\nvar $k14yv$util = require(\"util\");\nvar $k14yv$assert = require(\"assert\");\nvar $k14yv$child_process = require(\"child_process\");\nvar $k14yv$http = require(\"http\");\nvar $k14yv$https = require(\"https\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire810d\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"4kQHk\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $e56abd13265dde94$export$5655ebf4048b68d5);\n\nvar $4BQAg = parcelRequire(\"4BQAg\");\n\nvar $90sLx = parcelRequire(\"90sLx\");\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $1FYOu = parcelRequire(\"1FYOu\");\n\nvar $e56abd13265dde94$var$$parcel$__dirname = $k14yv$path.resolve(__dirname, \"../../src/python\");\nfunction $e56abd13265dde94$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $e56abd13265dde94$var$checkLatest = false;\nasync function $e56abd13265dde94$export$5655ebf4048b68d5(version, _setupDir, arch) {\n if (0, $1FYOu.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $9yJgU.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($e56abd13265dde94$var$isPyPyVersion(version)) {\n const installed = await (0, $4BQAg.findPyPyVersion)(version, arch, true, $e56abd13265dde94$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $ER74K.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $90sLx.useCpythonVersion)(version, arch, true, $e56abd13265dde94$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $ER74K.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $9ne19.GITHUB_ACTIONS) await $e56abd13265dde94$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $e56abd13265dde94$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($e56abd13265dde94$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRegister(\"4BQAg\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $0684ac808cbc866b$export$43d689d19c89c31d);\n\n\nvar $6zuPC = parcelRequire(\"6zuPC\");\n\nvar $1FYOu = parcelRequire(\"1FYOu\");\n\nvar $jrMr3 = parcelRequire(\"jrMr3\");\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\nasync function $0684ac808cbc866b$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $0684ac808cbc866b$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $6zuPC.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $6zuPC.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $9yJgU.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $9yJgU.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $0684ac808cbc866b$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $6zuPC.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $1FYOu.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $k14yv$path.join(installDir, pipDir);\n const binaryExtension = (0, $1FYOu.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $k14yv$path.join((0, $1FYOu.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $6zuPC.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $9yJgU.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $9yJgU.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $9yJgU.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $9yJgU.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $9yJgU.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $9yJgU.addPath(pythonLocation);\n $9yJgU.addPath(_binDir);\n }\n $9yJgU.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $9yJgU.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $0684ac808cbc866b$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $1FYOu.IS_WINDOWS) ? $0684ac808cbc866b$export$139298be7eb2bd(pythonVersion) : $4ai2V.find(\"PyPy\", pythonVersion, architecture);\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 = (0, $1FYOu.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $1FYOu.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $jrMr3.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $9yJgU.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $0684ac808cbc866b$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $6zuPC.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $1FYOu.validateVersion)(pythonVersion) || !(0, $1FYOu.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $1FYOu.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $0684ac808cbc866b$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $1FYOu.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $4ai2V.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRegister(\"6zuPC\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $e531f8122a8e2167$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $e531f8122a8e2167$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $e531f8122a8e2167$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $e531f8122a8e2167$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $e531f8122a8e2167$export$4e25ef8c836002b9);\n\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\n\nvar $jrMr3 = parcelRequire(\"jrMr3\");\n\nvar $95990 = parcelRequire(\"95990\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $1FYOu = parcelRequire(\"1FYOu\");\nasync function $e531f8122a8e2167$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases ?? await $e531f8122a8e2167$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $e531f8122a8e2167$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $9yJgU.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($k14yv$os.EOL));\n releaseData = $e531f8122a8e2167$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $9yJgU.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $4ai2V.downloadTool(downloadUrl);\n $9yJgU.info(\"Extracting downloaded archive...\");\n if (0, $1FYOu.IS_WINDOWS) downloadDir = await $4ai2V.extractZip(pypyPath);\n else downloadDir = await $4ai2V.extractTar(pypyPath, undefined, \"x\");\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 = (0, ($parcel$interopDefault($k14yv$fs))).readdirSync(downloadDir)[0];\n const toolDir = $k14yv$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $1FYOu.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $4ai2V.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $1FYOu.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $e531f8122a8e2167$export$a053ce7a690fbb2e(installDir);\n await $e531f8122a8e2167$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $e531f8122a8e2167$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $4ai2V.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $9yJgU.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $9yJgU.info(err.message);\n if (err.stack !== undefined) $9yJgU.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $e531f8122a8e2167$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $95990.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $e531f8122a8e2167$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $jrMr3.coerce(pythonVersion);\n const pythonBinaryPostfix = $jrMr3.major(version);\n const pythonMinor = $jrMr3.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $1FYOu.IS_WINDOWS) ? \".exe\" : \"\";\n $9yJgU.info(\"Creating symlinks...\");\n (0, $1FYOu.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $1FYOu.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $1FYOu.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $e531f8122a8e2167$var$installPip(pythonLocation) {\n $9yJgU.info(\"Installing and updating pip\");\n const pythonBinary = $k14yv$path.join(pythonLocation, \"python\");\n await $jlr6Q.exec(`${pythonBinary} -m ensurepip`);\n await $jlr6Q.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $e531f8122a8e2167$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $jrMr3.satisfies($jrMr3.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $1FYOu.isNightlyKeyword)(pypyVersion) && (0, $1FYOu.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $jrMr3.satisfies($e531f8122a8e2167$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $1FYOu.IS_WINDOWS) ? $e531f8122a8e2167$export$652444ba12a0c7bb(item, architecture) : $e531f8122a8e2167$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $jrMr3.compare($jrMr3.coerce($e531f8122a8e2167$export$4e25ef8c836002b9(current.pypy_version)), $jrMr3.coerce($e531f8122a8e2167$export$4e25ef8c836002b9(previous.pypy_version))) || $jrMr3.compare($jrMr3.coerce(current.python_version), $jrMr3.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $1FYOu.IS_WINDOWS) ? $e531f8122a8e2167$export$672a33957a3c888(foundRelease, architecture) : $e531f8122a8e2167$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $e531f8122a8e2167$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $k14yv$path.join(installDir, \"bin\");\n return (0, $1FYOu.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $e531f8122a8e2167$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $e531f8122a8e2167$export$652444ba12a0c7bb(item, architecture) {\n architecture = $e531f8122a8e2167$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $1FYOu.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $e531f8122a8e2167$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $e531f8122a8e2167$export$672a33957a3c888(releases, architecture) {\n architecture = $e531f8122a8e2167$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $1FYOu.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $e531f8122a8e2167$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $e531f8122a8e2167$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\nparcelRegister(\"4ai2V\", function(module, exports) {\n\nvar $30861833c64e25df$var$$parcel$__dirname = $k14yv$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $30861833c64e25df$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $30861833c64e25df$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $30861833c64e25df$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $30861833c64e25df$var$__createBinding(result, mod, k);\n }\n $30861833c64e25df$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $30861833c64e25df$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $30861833c64e25df$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $30861833c64e25df$var$core = $30861833c64e25df$var$__importStar((parcelRequire(\"9yJgU\")));\n\nconst $30861833c64e25df$var$io = $30861833c64e25df$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $30861833c64e25df$var$fs = $30861833c64e25df$var$__importStar($k14yv$fs);\n\nconst $30861833c64e25df$var$mm = $30861833c64e25df$var$__importStar((parcelRequire(\"eMKvA\")));\n\nconst $30861833c64e25df$var$os = $30861833c64e25df$var$__importStar($k14yv$os);\n\nconst $30861833c64e25df$var$path = $30861833c64e25df$var$__importStar($k14yv$path);\n\nconst $30861833c64e25df$var$httpm = $30861833c64e25df$var$__importStar((parcelRequire(\"95990\")));\n\nconst $30861833c64e25df$var$semver = $30861833c64e25df$var$__importStar((parcelRequire(\"aNgTs\")));\n\nconst $30861833c64e25df$var$stream = $30861833c64e25df$var$__importStar($k14yv$stream);\n\nconst $30861833c64e25df$var$util = $30861833c64e25df$var$__importStar($k14yv$util);\n\nconst $30861833c64e25df$var$v4_1 = $30861833c64e25df$var$__importDefault((parcelRequire(\"dGCqI\")));\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $8RSsC = parcelRequire(\"8RSsC\");\nclass $30861833c64e25df$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $30861833c64e25df$var$HTTPError;\nconst $30861833c64e25df$var$IS_WINDOWS = process.platform === \"win32\";\nconst $30861833c64e25df$var$IS_MAC = process.platform === \"darwin\";\nconst $30861833c64e25df$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $30861833c64e25df$var$downloadTool(url, dest, auth, headers) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $30861833c64e25df$var$path.join($30861833c64e25df$var$_getTempDirectory(), $30861833c64e25df$var$v4_1.default());\n yield $30861833c64e25df$var$io.mkdirP($30861833c64e25df$var$path.dirname(dest));\n $30861833c64e25df$var$core.debug(`Downloading ${url}`);\n $30861833c64e25df$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $30861833c64e25df$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $30861833c64e25df$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $8RSsC.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n return yield $30861833c64e25df$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $30861833c64e25df$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $30861833c64e25df$var$downloadTool;\nfunction $30861833c64e25df$var$downloadToolAttempt(url, dest, auth, headers) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if ($30861833c64e25df$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $30861833c64e25df$var$httpm.HttpClient($30861833c64e25df$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $30861833c64e25df$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $30861833c64e25df$var$HTTPError(response.message.statusCode);\n $30861833c64e25df$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $30861833c64e25df$var$util.promisify($30861833c64e25df$var$stream.pipeline);\n const responseMessageFactory = $30861833c64e25df$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $30861833c64e25df$var$fs.createWriteStream(dest));\n $30861833c64e25df$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $30861833c64e25df$var$core.debug(\"download failed\");\n try {\n yield $30861833c64e25df$var$io.rmRF(dest);\n } catch (err) {\n $30861833c64e25df$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extract7z(file, dest, _7zPath) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n $k14yv$assert.ok($30861833c64e25df$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $k14yv$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $30861833c64e25df$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $jlr6Q.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $30861833c64e25df$var$path.join($30861833c64e25df$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $30861833c64e25df$var$io.which(\"powershell\", true);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $30861833c64e25df$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extractTar(file, dest, flags = \"xz\") {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $30861833c64e25df$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $jlr6Q.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $30861833c64e25df$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($30861833c64e25df$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($30861833c64e25df$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $jlr6Q.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $30861833c64e25df$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extractXar(file, dest, flags = []) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n $k14yv$assert.ok($30861833c64e25df$var$IS_MAC, \"extractXar() not supported on current OS\");\n $k14yv$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($30861833c64e25df$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $30861833c64e25df$var$io.which(\"xar\", true);\n yield $jlr6Q.exec(`\"${xarPath}\"`, $30861833c64e25df$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $30861833c64e25df$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extractZip(file, dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n if ($30861833c64e25df$var$IS_WINDOWS) yield $30861833c64e25df$var$extractZipWin(file, dest);\n else yield $30861833c64e25df$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $30861833c64e25df$var$extractZip;\nfunction $30861833c64e25df$var$extractZipWin(file, dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $30861833c64e25df$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $30861833c64e25df$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $jlr6Q.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $30861833c64e25df$var$io.which(\"powershell\", true);\n $30861833c64e25df$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $30861833c64e25df$var$extractZipNix(file, dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $30861833c64e25df$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$30861833c64e25df$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $jlr6Q.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $30861833c64e25df$var$cacheDir(sourceDir, tool, version, arch) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n version = $30861833c64e25df$var$semver.clean(version) || version;\n arch = arch || $30861833c64e25df$var$os.arch();\n $30861833c64e25df$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $30861833c64e25df$var$core.debug(`source dir: ${sourceDir}`);\n if (!$30861833c64e25df$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $30861833c64e25df$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $30861833c64e25df$var$fs.readdirSync(sourceDir)){\n const s = $30861833c64e25df$var$path.join(sourceDir, itemName);\n yield $30861833c64e25df$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $30861833c64e25df$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $30861833c64e25df$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $30861833c64e25df$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n version = $30861833c64e25df$var$semver.clean(version) || version;\n arch = arch || $30861833c64e25df$var$os.arch();\n $30861833c64e25df$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $30861833c64e25df$var$core.debug(`source file: ${sourceFile}`);\n if (!$30861833c64e25df$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $30861833c64e25df$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $30861833c64e25df$var$path.join(destFolder, targetFile);\n $30861833c64e25df$var$core.debug(`destination file ${destPath}`);\n yield $30861833c64e25df$var$io.cp(sourceFile, destPath);\n // write .complete\n $30861833c64e25df$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $30861833c64e25df$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $30861833c64e25df$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $30861833c64e25df$var$os.arch();\n // attempt to resolve an explicit version\n if (!$30861833c64e25df$var$isExplicitVersion(versionSpec)) {\n const localVersions = $30861833c64e25df$var$findAllVersions(toolName, arch);\n const match = $30861833c64e25df$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $30861833c64e25df$var$semver.clean(versionSpec) || \"\";\n const cachePath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $30861833c64e25df$var$core.debug(`checking cache: ${cachePath}`);\n if ($30861833c64e25df$var$fs.existsSync(cachePath) && $30861833c64e25df$var$fs.existsSync(`${cachePath}.complete`)) {\n $30861833c64e25df$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $30861833c64e25df$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $30861833c64e25df$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $30861833c64e25df$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $30861833c64e25df$var$os.arch();\n const toolPath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), toolName);\n if ($30861833c64e25df$var$fs.existsSync(toolPath)) {\n const children = $30861833c64e25df$var$fs.readdirSync(toolPath);\n for (const child of children)if ($30861833c64e25df$var$isExplicitVersion(child)) {\n const fullPath = $30861833c64e25df$var$path.join(toolPath, child, arch || \"\");\n if ($30861833c64e25df$var$fs.existsSync(fullPath) && $30861833c64e25df$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $30861833c64e25df$var$findAllVersions;\nfunction $30861833c64e25df$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $30861833c64e25df$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $30861833c64e25df$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $30861833c64e25df$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $30861833c64e25df$var$getManifestFromRepo;\nfunction $30861833c64e25df$var$findFromManifest(versionSpec, stable, manifest, archFilter = $30861833c64e25df$var$os.arch()) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $30861833c64e25df$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $30861833c64e25df$var$findFromManifest;\nfunction $30861833c64e25df$var$_createExtractFolder(dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getTempDirectory(), $30861833c64e25df$var$v4_1.default());\n yield $30861833c64e25df$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $30861833c64e25df$var$_createToolPath(tool, version, arch) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), tool, $30861833c64e25df$var$semver.clean(version) || version, arch || \"\");\n $30861833c64e25df$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $30861833c64e25df$var$io.rmRF(folderPath);\n yield $30861833c64e25df$var$io.rmRF(markerPath);\n yield $30861833c64e25df$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $30861833c64e25df$var$_completeToolPath(tool, version, arch) {\n const folderPath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), tool, $30861833c64e25df$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $30861833c64e25df$var$fs.writeFileSync(markerPath, \"\");\n $30861833c64e25df$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $30861833c64e25df$var$isExplicitVersion(versionSpec) {\n const c = $30861833c64e25df$var$semver.clean(versionSpec) || \"\";\n $30861833c64e25df$var$core.debug(`isExplicit: ${c}`);\n const valid = $30861833c64e25df$var$semver.valid(c) != null;\n $30861833c64e25df$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $30861833c64e25df$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $30861833c64e25df$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $30861833c64e25df$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($30861833c64e25df$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $30861833c64e25df$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $30861833c64e25df$var$core.debug(`matched: ${version}`);\n else $30861833c64e25df$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $30861833c64e25df$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $30861833c64e25df$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $k14yv$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $30861833c64e25df$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $k14yv$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $30861833c64e25df$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $30861833c64e25df$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRegister(\"eMKvA\", function(module, exports) {\n\"use strict\";\nvar $ac39a00042463c3f$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ac39a00042463c3f$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ac39a00042463c3f$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ac39a00042463c3f$var$__createBinding(result, mod, k);\n }\n $ac39a00042463c3f$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ac39a00042463c3f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $ac39a00042463c3f$var$semver = $ac39a00042463c3f$var$__importStar((parcelRequire(\"aNgTs\")));\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\n\n\nfunction $ac39a00042463c3f$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $ac39a00042463c3f$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $k14yv$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $9yJgU.debug(`check ${version} satisfies ${versionSpec}`);\n if ($ac39a00042463c3f$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $9yJgU.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $ac39a00042463c3f$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $9yJgU.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $ac39a00042463c3f$var$_findMatch;\nfunction $ac39a00042463c3f$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $k14yv$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $k14yv$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $ac39a00042463c3f$var$_getOsVersion;\nfunction $ac39a00042463c3f$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($k14yv$fs.existsSync(lsbReleaseFile)) contents = $k14yv$fs.readFileSync(lsbReleaseFile).toString();\n else if ($k14yv$fs.existsSync(osReleaseFile)) contents = $k14yv$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $ac39a00042463c3f$var$_readLinuxVersionFile;\n\n});\n\nparcelRegister(\"95990\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\n\n\n\nvar $4TaKt = parcelRequire(\"4TaKt\");\nlet $69cbac88b5c0dafc$var$tunnel;\nvar $69cbac88b5c0dafc$var$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})($69cbac88b5c0dafc$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $69cbac88b5c0dafc$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($69cbac88b5c0dafc$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $69cbac88b5c0dafc$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($69cbac88b5c0dafc$var$MediaTypes = module.exports.MediaTypes || (module.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 */ function $69cbac88b5c0dafc$var$getProxyUrl(serverUrl) {\n let proxyUrl = $4TaKt.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $69cbac88b5c0dafc$var$getProxyUrl;\nconst $69cbac88b5c0dafc$var$HttpRedirectCodes = [\n $69cbac88b5c0dafc$var$HttpCodes.MovedPermanently,\n $69cbac88b5c0dafc$var$HttpCodes.ResourceMoved,\n $69cbac88b5c0dafc$var$HttpCodes.SeeOther,\n $69cbac88b5c0dafc$var$HttpCodes.TemporaryRedirect,\n $69cbac88b5c0dafc$var$HttpCodes.PermanentRedirect\n];\nconst $69cbac88b5c0dafc$var$HttpResponseRetryCodes = [\n $69cbac88b5c0dafc$var$HttpCodes.BadGateway,\n $69cbac88b5c0dafc$var$HttpCodes.ServiceUnavailable,\n $69cbac88b5c0dafc$var$HttpCodes.GatewayTimeout\n];\nconst $69cbac88b5c0dafc$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $69cbac88b5c0dafc$var$ExponentialBackoffCeiling = 10;\nconst $69cbac88b5c0dafc$var$ExponentialBackoffTimeSlice = 5;\nclass $69cbac88b5c0dafc$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $69cbac88b5c0dafc$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $69cbac88b5c0dafc$var$HttpClientError;\nclass $69cbac88b5c0dafc$var$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([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n });\n }\n}\nmodule.exports.HttpClientResponse = $69cbac88b5c0dafc$var$HttpClientResponse;\nfunction $69cbac88b5c0dafc$var$isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $69cbac88b5c0dafc$var$isHttps;\n\nclass $69cbac88b5c0dafc$var$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) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\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 */ async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$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[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.ContentType, $69cbac88b5c0dafc$var$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[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.ContentType, $69cbac88b5c0dafc$var$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[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.ContentType, $69cbac88b5c0dafc$var$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 */ async request(verb, requestUrl, data, headers) {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\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 && $69cbac88b5c0dafc$var$RetryableHttpVerbs.indexOf(verb) != -1 ? this._maxRetries + 1 : 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 && response.message && response.message.statusCode === $69cbac88b5c0dafc$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for(let i = 0; i < this.handlers.length; i++)if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // 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 let redirectsRemaining = this._maxRedirects;\n while($69cbac88b5c0dafc$var$HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == \"https:\" && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) 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 // 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)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\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 ($69cbac88b5c0dafc$var$HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) // If not a retry code, return immediately instead of retrying\n return response;\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 */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return new Promise((resolve, reject)=>{\n let callbackForResult = function(err, res) {\n if (err) reject(err);\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 */ requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === \"string\") info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\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 $69cbac88b5c0dafc$var$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 || 180000, ()=>{\n if (socket) socket.end();\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\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\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 */ 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 ? $k14yv$https : $k14yv$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) this.handlers.forEach((handler)=>{\n handler.prepareRequest(info.options);\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) return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\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) clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = $4TaKt.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (!!agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (!!this.requestOptions) maxSockets = this.requestOptions.maxSockets || $k14yv$http.globalAgent.maxSockets;\n if (useProxy) {\n // If using proxy, need tunnel\n if (!$69cbac88b5c0dafc$var$tunnel) $69cbac88b5c0dafc$var$tunnel = (parcelRequire(\"eYDoL\"));\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) tunnelAgent = overHttps ? $69cbac88b5c0dafc$var$tunnel.httpsOverHttps : $69cbac88b5c0dafc$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $69cbac88b5c0dafc$var$tunnel.httpOverHttps : $69cbac88b5c0dafc$var$tunnel.httpOverHttp;\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 = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $k14yv$https.Agent(options) : new $k14yv$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) agent = usingSsl ? $k14yv$https.globalAgent : $k14yv$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // 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 return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min($69cbac88b5c0dafc$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $69cbac88b5c0dafc$var$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())) return a;\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 == $69cbac88b5c0dafc$var$HttpCodes.NotFound) resolve(response);\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) obj = JSON.parse(contents, $69cbac88b5c0dafc$var$HttpClient.dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\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) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = \"Failed request: (\" + statusCode + \")\";\n let err = new $69cbac88b5c0dafc$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n });\n }\n}\nmodule.exports.HttpClient = $69cbac88b5c0dafc$var$HttpClient;\n\n});\nparcelRegister(\"4TaKt\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nfunction $38f4a2ed383aafc3$var$getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === \"https:\";\n let proxyUrl;\n if ($38f4a2ed383aafc3$var$checkBypass(reqUrl)) return proxyUrl;\n let proxyVar;\n if (usingSsl) proxyVar = process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else proxyVar = process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n if (proxyVar) proxyUrl = new URL(proxyVar);\n return proxyUrl;\n}\nmodule.exports.getProxyUrl = $38f4a2ed383aafc3$var$getProxyUrl;\nfunction $38f4a2ed383aafc3$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n let noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n let upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperReqHosts.some((x)=>x === upperNoProxyItem)) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $38f4a2ed383aafc3$var$checkBypass;\n\n});\n\n\nparcelRegister(\"8RSsC\", function(module, exports) {\n\"use strict\";\nvar $674d84afd8e707d2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $674d84afd8e707d2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $674d84afd8e707d2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $674d84afd8e707d2$var$__createBinding(result, mod, k);\n }\n $674d84afd8e707d2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $674d84afd8e707d2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $674d84afd8e707d2$var$core = $674d84afd8e707d2$var$__importStar((parcelRequire(\"9yJgU\")));\n/**\n * Internal class for retries\n */ class $674d84afd8e707d2$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $674d84afd8e707d2$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $674d84afd8e707d2$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $674d84afd8e707d2$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $674d84afd8e707d2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $674d84afd8e707d2$var$RetryHelper;\n\n});\n\n\nparcelRegister(\"1FYOu\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $36a0be813be224c4$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $36a0be813be224c4$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $36a0be813be224c4$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $36a0be813be224c4$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $36a0be813be224c4$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $36a0be813be224c4$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $36a0be813be224c4$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $36a0be813be224c4$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $36a0be813be224c4$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $36a0be813be224c4$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $36a0be813be224c4$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $36a0be813be224c4$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $36a0be813be224c4$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $9yJgU = parcelRequire(\"9yJgU\");\n\n\n\nvar $jrMr3 = parcelRequire(\"jrMr3\");\n\nvar $55W4k = parcelRequire(\"55W4k\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\nconst $36a0be813be224c4$export$82633ee808573685 = process.platform === \"win32\";\nconst $36a0be813be224c4$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $36a0be813be224c4$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $36a0be813be224c4$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $36a0be813be224c4$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $36a0be813be224c4$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $36a0be813be224c4$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $k14yv$path.join(folderPath, sourceName);\n const targetPath = $k14yv$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($k14yv$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($k14yv$fs))).symlinkSync(sourcePath, targetPath);\n if (!$36a0be813be224c4$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($k14yv$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $36a0be813be224c4$export$7880c8f0bb8a6afd(version) {\n return $36a0be813be224c4$export$ea46fc8abcf9f209(version) || Boolean($jrMr3.validRange(version));\n}\nfunction $36a0be813be224c4$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $36a0be813be224c4$export$8a23ea91582cecbc(installDir) {\n return $k14yv$path.basename($k14yv$path.dirname(installDir));\n}\nfunction $36a0be813be224c4$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $k14yv$path.join(installDir, $36a0be813be224c4$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($k14yv$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $36a0be813be224c4$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $k14yv$path.join(installDir, $36a0be813be224c4$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($k14yv$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $36a0be813be224c4$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $36a0be813be224c4$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $9yJgU.info(`${warningPrefix}${message}`);\n}\nasync function $36a0be813be224c4$var$getWindowsInfo() {\n const { stdout: stdout } = await $jlr6Q.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $36a0be813be224c4$var$getMacOSInfo() {\n const { stdout: stdout } = await $jlr6Q.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $36a0be813be224c4$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $jlr6Q.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $9yJgU.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $36a0be813be224c4$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($36a0be813be224c4$export$82633ee808573685) osInfo = await $36a0be813be224c4$var$getWindowsInfo();\n else if ($36a0be813be224c4$export$25e95d65b6faeb9a) osInfo = await $36a0be813be224c4$export$734019fa9b4b8da();\n else if ($36a0be813be224c4$export$ff23e6b4c4401383) osInfo = await $36a0be813be224c4$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $9yJgU.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $36a0be813be224c4$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $36a0be813be224c4$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $36a0be813be224c4$export$62b63db2b7d00b3a(versionFile) {\n $9yJgU.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $55W4k.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $36a0be813be224c4$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $9yJgU.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$jrMr3.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $9yJgU.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $36a0be813be224c4$export$6bdea68547837ebb(versionFile) {\n $9yJgU.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(versionFile, \"utf8\");\n $9yJgU.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $36a0be813be224c4$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $36a0be813be224c4$export$62b63db2b7d00b3a(versionFile);\n else return $36a0be813be224c4$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRegister(\"55W4k\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $3b5a76a5a5eb95d3$export$98e6a39c04603d36, (v) => $3b5a76a5a5eb95d3$export$98e6a39c04603d36 = v);\nvar $3b5a76a5a5eb95d3$export$98e6a39c04603d36;\nvar $3b5a76a5a5eb95d3$export$fac44ee5b035f737;\n\"use strict\";\n\n$3b5a76a5a5eb95d3$export$98e6a39c04603d36 = (parcelRequire(\"gi4xV\"));\n\n$3b5a76a5a5eb95d3$export$fac44ee5b035f737 = (parcelRequire(\"5e4iL\"));\n\n});\nparcelRegister(\"gi4xV\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"hncsJ\"));\n\nmodule.exports.async = (parcelRequire(\"leFFm\"));\n\nmodule.exports.stream = (parcelRequire(\"bIDnv\"));\n\nmodule.exports.prettyError = (parcelRequire(\"ckX77\"));\n\n});\nparcelRegister(\"hncsJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = $ca5e40670cce0cd1$var$parseString;\n\nvar $gEhiJ = parcelRequire(\"gEhiJ\");\n\nvar $ckX77 = parcelRequire(\"ckX77\");\nfunction $ca5e40670cce0cd1$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $gEhiJ();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $ckX77(err, str);\n }\n}\n\n});\nparcelRegister(\"gEhiJ\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"lTZk9\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg){\n super(msg);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err)=>{\n const terr = new TomlError(err.message);\n terr.code = err.code;\n terr.wrapped = err;\n return terr;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $lPmG1 = parcelRequire(\"lPmG1\");\n\nvar $7kLtX = parcelRequire(\"7kLtX\");\n\nvar $i8y9h = parcelRequire(\"i8y9h\");\n\nvar $l5l5L = parcelRequire(\"l5l5L\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isHexit(cp) {\n return cp >= CHAR_A && cp <= CHAR_F || cp >= CHAR_a && cp <= CHAR_f || cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isBit(cp) {\n return cp === CHAR_1 || cp === CHAR_0;\n}\nfunction isOctit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_APOS || cp === CHAR_QUOT || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj, key) {\n if (hasOwnProperty.call(obj, key)) return true;\n if (key === \"__proto__\") defineProperty(obj, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type\n }\n });\n}\nfunction isInlineList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value);\n } catch (_) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value) {\n let num = Number(value);\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num)) return new BoxedBigInt(value);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value}]`\n }\n });\n}\nfunction isInteger(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value}]`\n }\n });\n}\nfunction isFloat(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === FLOAT;\n}\nfunction tomlType(value) {\n const type = typeof value;\n if (type === \"object\") {\n /* istanbul ignore if */ if (value === null) return \"null\";\n if (value instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value) switch(value[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type;\n}\nfunction makeParserClass(Parser) {\n class TOMLParser extends Parser {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv) {\n let target = this.ctx;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key) {\n if (this.state.resultTable) this.state.resultTable.push(key);\n else this.state.resultTable = [\n key\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) this.ctx[keyword] = List();\n if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword])) {\n const next = Table();\n this.ctx[keyword].push(next);\n this.ctx = next;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value) {\n return this.returnNow(value);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode = \"\\\\u00\";\n if (this.char < 16) displayCode += \"0\";\n displayCode += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`));\n }\n recordMultiEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char) {\n try {\n const codePoint = parseInt(char, 16);\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint));\n } catch (err) {\n throw this.error(TomlError.wrap(err));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($i8y9h(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($i8y9h(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($l5l5L(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($l5l5L(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($lPmG1(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($7kLtX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($lPmG1(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($7kLtX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($lPmG1(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType];\n const valueType = tomlType(value);\n if (listType !== valueType) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`));\n } else this.state.resultArr = InlineList(tomlType(value));\n if (isFloat(value) || isInteger(value)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf());\n else this.state.resultArr.push(value);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv) {\n let target = this.state.resultTable;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser;\n}\n\n});\nparcelRegister(\"lTZk9\", function(module, exports) {\n\"use strict\";\nconst $ff1e4dae10310384$var$ParserEND = 0x110000;\nclass $ff1e4dae10310384$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $ff1e4dae10310384$var$ParserError);\n }\n}\nclass $ff1e4dae10310384$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $ff1e4dae10310384$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $ff1e4dae10310384$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $ff1e4dae10310384$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $ff1e4dae10310384$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $ff1e4dae10310384$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $ff1e4dae10310384$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $ff1e4dae10310384$var$ParserEND) throw this.error(new $ff1e4dae10310384$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $ff1e4dae10310384$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$ff1e4dae10310384$var$Parser.END = $ff1e4dae10310384$var$ParserEND;\n$ff1e4dae10310384$var$Parser.Error = $ff1e4dae10310384$var$ParserError;\nmodule.exports = $ff1e4dae10310384$var$Parser;\n\n});\n\nparcelRegister(\"lPmG1\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"7kLtX\", function(module, exports) {\n\"use strict\";\n\nvar $fDUHx = parcelRequire(\"fDUHx\");\nclass $556f3ba0adfcf535$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$fDUHx(2, this.getUTCMonth() + 1)}-${$fDUHx(2, this.getUTCDate())}`;\n const time = `${$fDUHx(2, this.getUTCHours())}:${$fDUHx(2, this.getUTCMinutes())}:${$fDUHx(2, this.getUTCSeconds())}.${$fDUHx(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $556f3ba0adfcf535$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRegister(\"fDUHx\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRegister(\"i8y9h\", function(module, exports) {\n\"use strict\";\n\nvar $fDUHx = parcelRequire(\"fDUHx\");\nconst $d343769253f79b60$var$DateTime = $parcel$global.Date;\nclass $d343769253f79b60$var$Date extends $d343769253f79b60$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$fDUHx(2, this.getUTCMonth() + 1)}-${$fDUHx(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $d343769253f79b60$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"l5l5L\", function(module, exports) {\n\"use strict\";\n\nvar $fDUHx = parcelRequire(\"fDUHx\");\nclass $f59a6d0c6d3555a7$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$fDUHx(2, this.getUTCHours())}:${$fDUHx(2, this.getUTCMinutes())}:${$fDUHx(2, this.getUTCSeconds())}.${$fDUHx(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $f59a6d0c6d3555a7$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRegister(\"ckX77\", function(module, exports) {\n\"use strict\";\nmodule.exports = $8fb535137a00e031$var$prettyError;\nfunction $8fb535137a00e031$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRegister(\"leFFm\", function(module, exports) {\n\"use strict\";\nmodule.exports = $f75b39cca0bf0e48$var$parseAsync;\n\nvar $gEhiJ = parcelRequire(\"gEhiJ\");\n\nvar $ckX77 = parcelRequire(\"ckX77\");\nfunction $f75b39cca0bf0e48$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $gEhiJ();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($ckX77(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($ckX77(err, str));\n }\n }\n}\n\n});\n\nparcelRegister(\"bIDnv\", function(module, exports) {\n\"use strict\";\nmodule.exports = $888259724693c78d$var$parseStream;\n\n\nvar $gEhiJ = parcelRequire(\"gEhiJ\");\nfunction $888259724693c78d$var$parseStream(stm) {\n if (stm) return $888259724693c78d$var$parseReadable(stm);\n else return $888259724693c78d$var$parseTransform(stm);\n}\nfunction $888259724693c78d$var$parseReadable(stm) {\n const parser = new $gEhiJ();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $888259724693c78d$var$parseTransform() {\n const parser = new $gEhiJ();\n return new $k14yv$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRegister(\"5e4iL\", function(module, exports) {\n\"use strict\";\nmodule.exports = $3ce198c99da0f55f$var$stringify;\nmodule.exports.value = $3ce198c99da0f55f$var$stringifyInline;\nfunction $3ce198c99da0f55f$var$stringify(obj) {\n if (obj === null) throw $3ce198c99da0f55f$var$typeError(\"null\");\n if (obj === void 0) throw $3ce198c99da0f55f$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $3ce198c99da0f55f$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $3ce198c99da0f55f$var$tomlType(obj);\n if (type !== \"table\") throw $3ce198c99da0f55f$var$typeError(type);\n return $3ce198c99da0f55f$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $3ce198c99da0f55f$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $3ce198c99da0f55f$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $3ce198c99da0f55f$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$3ce198c99da0f55f$var$isInline(obj[key]));\n}\nfunction $3ce198c99da0f55f$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$3ce198c99da0f55f$var$isInline(obj[key]));\n}\nfunction $3ce198c99da0f55f$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $3ce198c99da0f55f$var$stringifyObject(prefix, indent, obj) {\n obj = $3ce198c99da0f55f$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $3ce198c99da0f55f$var$getInlineKeys(obj);\n complexKeys = $3ce198c99da0f55f$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $3ce198c99da0f55f$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $3ce198c99da0f55f$var$stringifyKey(key) + \" = \" + $3ce198c99da0f55f$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($3ce198c99da0f55f$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $3ce198c99da0f55f$var$isInline(value) {\n switch($3ce198c99da0f55f$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $3ce198c99da0f55f$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $3ce198c99da0f55f$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $3ce198c99da0f55f$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $3ce198c99da0f55f$var$stringifyBasicString(keyStr);\n}\nfunction $3ce198c99da0f55f$var$stringifyBasicString(str) {\n return '\"' + $3ce198c99da0f55f$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $3ce198c99da0f55f$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $3ce198c99da0f55f$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $3ce198c99da0f55f$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $3ce198c99da0f55f$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $3ce198c99da0f55f$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $3ce198c99da0f55f$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $3ce198c99da0f55f$var$stringifyAnyInline(value, multilineOk) {\n let type = $3ce198c99da0f55f$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $3ce198c99da0f55f$var$stringifyInline(value, type);\n}\nfunction $3ce198c99da0f55f$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $3ce198c99da0f55f$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $3ce198c99da0f55f$var$stringifyMultilineString(value);\n case \"string\":\n return $3ce198c99da0f55f$var$stringifyBasicString(value);\n case \"string-literal\":\n return $3ce198c99da0f55f$var$stringifyLiteralString(value);\n case \"integer\":\n return $3ce198c99da0f55f$var$stringifyInteger(value);\n case \"float\":\n return $3ce198c99da0f55f$var$stringifyFloat(value);\n case \"boolean\":\n return $3ce198c99da0f55f$var$stringifyBoolean(value);\n case \"datetime\":\n return $3ce198c99da0f55f$var$stringifyDatetime(value);\n case \"array\":\n return $3ce198c99da0f55f$var$stringifyInlineArray(value.filter((_)=>$3ce198c99da0f55f$var$tomlType(_) !== \"null\" && $3ce198c99da0f55f$var$tomlType(_) !== \"undefined\" && $3ce198c99da0f55f$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $3ce198c99da0f55f$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $3ce198c99da0f55f$var$typeError(type);\n }\n}\nfunction $3ce198c99da0f55f$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $3ce198c99da0f55f$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $3ce198c99da0f55f$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $3ce198c99da0f55f$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $3ce198c99da0f55f$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $3ce198c99da0f55f$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $3ce198c99da0f55f$var$arrayType(values) {\n var contentType = $3ce198c99da0f55f$var$tomlType(values[0]);\n if (values.every((_)=>$3ce198c99da0f55f$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$3ce198c99da0f55f$var$isNumber($3ce198c99da0f55f$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $3ce198c99da0f55f$var$validateArray(values) {\n const type = $3ce198c99da0f55f$var$arrayType(values);\n if (type === \"mixed\") throw $3ce198c99da0f55f$var$arrayOneTypeError();\n return type;\n}\nfunction $3ce198c99da0f55f$var$stringifyInlineArray(values) {\n values = $3ce198c99da0f55f$var$toJSON(values);\n const type = $3ce198c99da0f55f$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$3ce198c99da0f55f$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $3ce198c99da0f55f$var$stringifyInlineTable(value) {\n value = $3ce198c99da0f55f$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($3ce198c99da0f55f$var$stringifyKey(key) + \" = \" + $3ce198c99da0f55f$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $3ce198c99da0f55f$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $3ce198c99da0f55f$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $3ce198c99da0f55f$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $3ce198c99da0f55f$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $3ce198c99da0f55f$var$typeError(valueType);\n}\nfunction $3ce198c99da0f55f$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $3ce198c99da0f55f$var$toJSON(values);\n $3ce198c99da0f55f$var$validateArray(values);\n var firstValueType = $3ce198c99da0f55f$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $3ce198c99da0f55f$var$typeError(firstValueType);\n var fullKey = prefix + $3ce198c99da0f55f$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $3ce198c99da0f55f$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $3ce198c99da0f55f$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $3ce198c99da0f55f$var$stringifyKey(key);\n var result = \"\";\n if ($3ce198c99da0f55f$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $3ce198c99da0f55f$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\n\n\nparcelRegister(\"90sLx\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $eb236b13816b0222$export$c90655100676e173);\n\n\n\nvar $1FYOu = parcelRequire(\"1FYOu\");\n\nvar $jrMr3 = parcelRequire(\"jrMr3\");\n\nvar $hlY4Y = parcelRequire(\"hlY4Y\");\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\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 separate 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\nfunction $eb236b13816b0222$var$binDir(installDir) {\n if (0, $1FYOu.IS_WINDOWS) return $k14yv$path.join(installDir, \"Scripts\");\n else return $k14yv$path.join(installDir, \"bin\");\n}\nasync function $eb236b13816b0222$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $eb236b13816b0222$var$desugarDevVersion(version);\n let semanticVersionSpec = $eb236b13816b0222$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $9yJgU.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n manifest = await $hlY4Y.getManifest();\n const resolvedVersion = (await $hlY4Y.findReleaseFromManifest(semanticVersionSpec, architecture, manifest))?.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $9yJgU.info(`Resolved as '${semanticVersionSpec}'`);\n } else $9yJgU.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $4ai2V.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $9yJgU.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $hlY4Y.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $9yJgU.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $hlY4Y.installCpythonFromRelease(foundRelease);\n installDir = $4ai2V.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $1FYOu.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$hlY4Y.MANIFEST_URL}`\n ].join($k14yv$os.EOL));\n }\n const _binDir = $eb236b13816b0222$var$binDir(installDir);\n const binaryExtension = (0, $1FYOu.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $k14yv$path.join((0, $1FYOu.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $9yJgU.exportVariable(\"pythonLocation\", installDir);\n $9yJgU.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $9yJgU.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $9yJgU.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $9yJgU.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $9yJgU.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $9yJgU.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $1FYOu.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $k14yv$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $9yJgU.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $9yJgU.addPath(installDir);\n $9yJgU.addPath(_binDir);\n if (0, $1FYOu.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 = $k14yv$path.basename($k14yv$path.dirname(installDir));\n const major = $jrMr3.major(version);\n const minor = $jrMr3.minor(version);\n const userScriptsDir = $k14yv$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $9yJgU.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 = $eb236b13816b0222$var$versionFromPath(installDir);\n $9yJgU.setOutput(\"python-version\", installed);\n $9yJgU.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $eb236b13816b0222$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $eb236b13816b0222$var$versionFromPath(installDir) {\n const parts = installDir.split($k14yv$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $eb236b13816b0222$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRegister(\"hlY4Y\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $8351a77737674b26$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $8351a77737674b26$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $8351a77737674b26$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $8351a77737674b26$export$e1ffa7cd53152881);\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\nvar $1FYOu = parcelRequire(\"1FYOu\");\nconst $8351a77737674b26$var$TOKEN = $9yJgU.getInput(\"token\");\nconst $8351a77737674b26$var$AUTH = !$8351a77737674b26$var$TOKEN ? undefined : `token ${$8351a77737674b26$var$TOKEN}`;\nconst $8351a77737674b26$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $8351a77737674b26$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $8351a77737674b26$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $8351a77737674b26$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$8351a77737674b26$var$MANIFEST_REPO_OWNER}/${$8351a77737674b26$var$MANIFEST_REPO_NAME}/${$8351a77737674b26$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $8351a77737674b26$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $8351a77737674b26$export$39e873de56f329d8();\n const foundRelease = await $4ai2V.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $8351a77737674b26$export$39e873de56f329d8() {\n $9yJgU.debug(`Getting manifest from ${$8351a77737674b26$var$MANIFEST_REPO_OWNER}/${$8351a77737674b26$var$MANIFEST_REPO_NAME}@${$8351a77737674b26$var$MANIFEST_REPO_BRANCH}`);\n return $4ai2V.getManifestFromRepo($8351a77737674b26$var$MANIFEST_REPO_OWNER, $8351a77737674b26$var$MANIFEST_REPO_NAME, $8351a77737674b26$var$AUTH, $8351a77737674b26$var$MANIFEST_REPO_BRANCH);\n}\nasync function $8351a77737674b26$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $1FYOu.IS_LINUX) && {\n LD_LIBRARY_PATH: $k14yv$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $9yJgU.info(data.toString().trim());\n },\n stderr: (data)=>{\n $9yJgU.error(data.toString().trim());\n }\n }\n };\n if (0, $1FYOu.IS_WINDOWS) await $jlr6Q.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $jlr6Q.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $8351a77737674b26$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $9yJgU.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $4ai2V.downloadTool(downloadUrl, undefined, $8351a77737674b26$var$AUTH);\n $9yJgU.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $1FYOu.IS_WINDOWS) pythonExtractedFolder = await $4ai2V.extractZip(pythonPath);\n else pythonExtractedFolder = await $4ai2V.extractTar(pythonPath);\n $9yJgU.info(\"Execute installation script\");\n await $8351a77737674b26$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $4ai2V.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $9yJgU.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $9yJgU.info(err.message);\n if (err.stack) $9yJgU.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.16ae5537.js.map\n","import { findPyPyVersion } from \"setup-python/src/find-pypy.js\"\nimport { useCpythonVersion } from \"setup-python/src/find-python.js\"\n\nimport { debug } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport { IS_MAC } from \"setup-python/src/utils.js\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\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 updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\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 (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\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' or '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 os from 'os';\nimport * 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_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 allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\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 const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\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 } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async 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 pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const 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 createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${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 includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\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(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\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, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\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\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n",null,null,null,null,"\"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",null,null,"/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\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 const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\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\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} 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 separate 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\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\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 manifest\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 const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\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 core.addPath(installDir);\n core.addPath(_binDir);\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\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\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 *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\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 ? 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 manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\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 let pythonPath = '';\n try {\n 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 } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n"],"mappings":"8mBCUA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAU,CAAC,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EACnFC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAAG,+BADrC,EAIA,GAAM,CAAAC,CAAA,CAAuBH,OAAA,CAAQC,GAAG,CAACC,oBAAoB,EAAEE,IAAA,GAO/D,GANoC,UAAhC,MAAO,CAAAD,CAAA,EAAqC,EAAyB,GAAzBA,CAAA,GAC9CH,OAAA,CAAQC,GAAG,CAACI,iBAAiB,CAAGL,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAApB,CAG9C,GAAAI,CAAA,CAAAC,KAAI,EAAE,2CAA2CP,OAAA,CAAQC,GAAG,CAACI,iBAAiB,EAE1EZ,CAAA,CAAS,CACX,GAAI,CAAAG,CAAA,CACJ,GAAIJ,CAAA,CAAcC,CAAA,EAAU,CAC1B,GAAM,CAAAe,CAAA,CAAY,KAAM,GAAAC,CAAA,CAAAC,eAAc,EAAEjB,CAAA,CAASI,CAAA,CAAM,GAAMc,CAAA,CAAa,IAC1Ef,CAAA,CAAgB,GAAGY,CAAA,CAAUI,mBAAmB,IAAIJ,CAAA,CAAUK,qBAAqB,EAAE,CACrF,GAAAC,CAAA,CAAAC,IAAG,EAAE,4BAA4BP,CAAA,CAAUI,mBAAmB,iBAAiBJ,CAAA,CAAUK,qBAAqB,GAAG,CACnH,MAAO,CACL,GAAM,CAAAJ,CAAA,CAAY,KAAM,GAAAD,CAAA,CAAAQ,iBAAgB,EAAEvB,CAA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A,CAAAwD,UAAA,CAAc1D,CAAA,EAEpB,KAAM,CAAAE,CAAA,CAAAyD,UAAA,CAAc3D,CAAA,EAG9CG,CAAA,CAAAM,IAAA,CAAU,+BACV,KAAM,CAAAZ,CAAA,CAAcV,CAAA,CACtB,EAAE,MAAOA,CAAA,CAAK,CAcZ,KAbI,CAAAA,CAAA,WAAe,CAAAe,CAAA,CAAAgE,SAAA,GAEb,GAAuB,GAAvB/E,CAAA,CAAIgF,cAAc,EAAY,GAAuB,GAAvBhF,CAAA,CAAIgF,cAAc,CAClDhE,CAAA,CAAAM,IAAA,CACE,6BAA6BtB,CAAA,CAAIgF,cAAc,4DAA4D,EAG7GhE,CAAA,CAAAM,IAAA,CAAUtB,CAAA,CAAIiF,OAAO,EAEnBjF,CAAA,CAAIkF,KAAK,EACXlE,CAAA,CAAAF,KAAA,CAAWd,CAAA,CAAIkF,KAAK,GAGlBlF,CACR,EACF,C,uTAhGA,GAAM,CAAA8B,CAAA,CAAQd,CAAA,CAAA2nB,QAAA,CAAc,SACtB5oB,CAAA,CAAO+B,CAAC,CAAoB,SAASA,CAAA,CAArB,OAChB5B,CAAA,CAAsB,UACtB0B,CAAA,CAAqB,kBACrBV,CAAA,CAAuB,OAChBsB,CAAA,CAAe,qCAAqCtC,CAAA,IAAuB0B,CAAA,IAAsBV,CAAA,yBAA6C,E","ignoreList":[]} \ No newline at end of file diff --git a/dist/modern/assets/actions_python-mhNRejTS.mjs b/dist/modern/assets/actions_python-mhNRejTS.mjs new file mode 100644 index 00000000..10afaa4d --- /dev/null +++ b/dist/modern/assets/actions_python-mhNRejTS.mjs @@ -0,0 +1,2 @@ +function getProxyUrl(e){let t,r,i="https:"===e.protocol;return checkBypass(e)||(r=i?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY,r&&(t=new URL(r))),t}function checkBypass(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 i=[e.hostname.toUpperCase()];"number"==typeof t&&i.push(`${i[0]}:${t}`);for(let s of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(i.some((e=>e===s)))return!0;return!1}function downloadTool(e,t,r,i){return __awaiter(this,void 0,void 0,(function*(){t=t||path.join(_getTempDirectory(),v4_1.default()),yield io.mkdirP(path.dirname(t)),core.debug("Downloading "+e),core.debug("Destination "+t);const s=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),n=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),o=new retry_helper_1.RetryHelper(3,s,n);return yield o.execute((()=>__awaiter(this,void 0,void 0,(function*(){return yield downloadToolAttempt(e,t||"",r,i)}))),(e=>!(e instanceof HTTPError&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))}function downloadToolAttempt(e,t,r,i){return __awaiter(this,void 0,void 0,(function*(){if(fs.existsSync(t))throw Error(`Destination file path ${t} already exists`);const s=new httpm.HttpClient(userAgent,[],{allowRetries:!1});r&&(core.debug("set auth"),void 0===i&&(i={}),i.authorization=r);const n=yield s.get(e,i);if(200!==n.message.statusCode){const t=new HTTPError(n.message.statusCode);throw core.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t}const o=util.promisify(stream$1.pipeline),a=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>n.message))();let h=!1;try{return yield o(a,fs.createWriteStream(t)),core.debug("download complete"),h=!0,t}finally{if(!h){core.debug("download failed");try{yield io.rmRF(t)}catch(c){core.debug(`Failed to delete '${t}'. ${c.message}`)}}}}))}function extract7z(e,t,r){return __awaiter(this,void 0,void 0,(function*(){assert_1.ok(IS_WINDOWS$1,"extract7z() not supported on current OS"),assert_1.ok(e,'parameter "file" is required'),t=yield _createExtractFolder(t);const i=process.cwd();if(process.chdir(t),r)try{const t=["x",core.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],i={silent:!0};yield exec_1.exec(`"${r}"`,t,i)}finally{process.chdir(i)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${path.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],s={silent:!0};try{const e=yield io.which("powershell",!0);yield exec_1.exec(`"${e}"`,r,s)}finally{process.chdir(i)}}return t}))}function extractTar(e,t,r="xz"){return __awaiter(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield _createExtractFolder(t),core.debug("Checking tar --version");let i="";yield exec_1.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=""+e,stderr:e=>i+=""+e}}),core.debug(i.trim());const s=i.toUpperCase().includes("GNU TAR");let n;n=r instanceof Array?r:[r],core.isDebug()&&!r.includes("v")&&n.push("-v");let o=t,a=e;return IS_WINDOWS$1&&s&&(n.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",o,"-f",a),yield exec_1.exec("tar",n),t}))}function extractXar(e,t,r=[]){return __awaiter(this,void 0,void 0,(function*(){let i;assert_1.ok(IS_MAC$1,"extractXar() not supported on current OS"),assert_1.ok(e,'parameter "file" is required'),t=yield _createExtractFolder(t),i=r instanceof Array?r:[r],i.push("-x","-C",t,"-f",e),core.isDebug()&&i.push("-v");const s=yield io.which("xar",!0);return yield exec_1.exec(`"${s}"`,_unique(i)),t}))}function extractZip(e,t){return __awaiter(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield _createExtractFolder(t),IS_WINDOWS$1?yield extractZipWin(e,t):yield extractZipNix(e,t),t}))}function extractZipWin(e,t){return __awaiter(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield io.which("pwsh",!1);if(s){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force } else { throw $_ } } ;`].join(" ")];core.debug("Using pwsh at path: "+s),yield exec_1.exec(`"${s}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${i}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`].join(" ")],t=yield io.which("powershell",!0);core.debug("Using powershell at path: "+t),yield exec_1.exec(`"${t}"`,e)}}))}function extractZipNix(e,t){return __awaiter(this,void 0,void 0,(function*(){const r=yield io.which("unzip",!0),i=[e];core.isDebug()||i.unshift("-q"),i.unshift("-o"),yield exec_1.exec(`"${r}"`,i,{cwd:t})}))}function cacheDir(e,t,r,i){return __awaiter(this,void 0,void 0,(function*(){if(r=semver.clean(r)||r,i=i||os.arch(),core.debug(`Caching tool ${t} ${r} ${i}`),core.debug("source dir: "+e),!fs.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const s=yield _createToolPath(t,r,i);for(const t of fs.readdirSync(e)){const r=path.join(e,t);yield io.cp(r,s,{recursive:!0})}return _completeToolPath(t,r,i),s}))}function cacheFile(e,t,r,i,s){return __awaiter(this,void 0,void 0,(function*(){if(i=semver.clean(i)||i,s=s||os.arch(),core.debug(`Caching tool ${r} ${i} ${s}`),core.debug("source file: "+e),!fs.statSync(e).isFile())throw Error("sourceFile is not a file");const n=yield _createToolPath(r,i,s),o=path.join(n,t);return core.debug("destination file "+o),yield io.cp(e,o),_completeToolPath(r,i,s),n}))}function find(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||os.arch(),isExplicitVersion(t)||(t=evaluateVersions(findAllVersions(e,r),t));let i="";if(t){t=semver.clean(t)||"";const s=path.join(_getCacheDirectory(),e,t,r);core.debug("checking cache: "+s),fs.existsSync(s)&&fs.existsSync(s+".complete")?(core.debug(`Found tool in cache ${e} ${t} ${r}`),i=s):core.debug("not found")}return i}function findAllVersions(e,t){const r=[];t=t||os.arch();const i=path.join(_getCacheDirectory(),e);if(fs.existsSync(i)){const e=fs.readdirSync(i);for(const s of e)if(isExplicitVersion(s)){const e=path.join(i,s,t||"");fs.existsSync(e)&&fs.existsSync(e+".complete")&&r.push(s)}}return r}function getManifestFromRepo(e,t,r,i="master"){return __awaiter(this,void 0,void 0,(function*(){let s=[];const n=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new httpm.HttpClient("tool-cache"),a={};r&&(core.debug("set auth"),a.authorization=r);const h=yield o.getJson(n,a);if(!h.result)return s;let c="";for(const e of h.result.tree)if("versions-manifest.json"===e.path){c=e.url;break}a.accept="application/vnd.github.VERSION.raw";let l=yield(yield o.get(c,a)).readBody();if(l){l=l.replace(/^\uFEFF/,"");try{s=JSON.parse(l)}catch(u){core.debug("Invalid json")}}return s}))}function findFromManifest(e,t,r,i=os.arch()){return __awaiter(this,void 0,void 0,(function*(){return yield mm._findMatch(e,t,r,i)}))}function _createExtractFolder(e){return __awaiter(this,void 0,void 0,(function*(){return e||(e=path.join(_getTempDirectory(),v4_1.default())),yield io.mkdirP(e),e}))}function _createToolPath(e,t,r){return __awaiter(this,void 0,void 0,(function*(){const i=path.join(_getCacheDirectory(),e,semver.clean(t)||t,r||"");core.debug("destination "+i);const s=i+".complete";return yield io.rmRF(i),yield io.rmRF(s),yield io.mkdirP(i),i}))}function _completeToolPath(e,t,r){const i=path.join(_getCacheDirectory(),e,semver.clean(t)||t,r||"");fs.writeFileSync(i+".complete",""),core.debug("finished caching tool")}function isExplicitVersion(e){const t=semver.clean(e)||"";core.debug("isExplicit: "+t);const r=null!=semver.valid(t);return core.debug("explicit? "+r),r}function evaluateVersions(e,t){let r="";core.debug(`evaluating ${e.length} versions`);for(let i=(e=e.sort(((e,t)=>semver.gt(e,t)?1:-1))).length-1;i>=0;i--){const s=e[i];if(semver.satisfies(s,t)){r=s;break}}return core.debug(r?"matched: "+r:"match not found"),r}function _getCacheDirectory(){const e=process.env.RUNNER_TOOL_CACHE||"";return assert_1.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function _getTempDirectory(){const e=process.env.RUNNER_TEMP||"";return assert_1.ok(e,"Expected RUNNER_TEMP to be defined"),e}function _getGlobal(e,t){const r=commonjsGlobal[e];return void 0!==r?r:t}function _unique(e){return Array.from(new Set(e))}function isDigit(e){return e>=CHAR_0&&CHAR_9>=e}function isHexit(e){return e>=CHAR_A&&CHAR_F>=e||e>=CHAR_a&&CHAR_f>=e||e>=CHAR_0&&CHAR_9>=e}function isBit(e){return e===CHAR_1||e===CHAR_0}function isOctit(e){return e>=CHAR_0&&CHAR_7>=e}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&CHAR_Z>=e||e>=CHAR_a&&CHAR_z>=e||e>=CHAR_0&&CHAR_9>=e||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN}function isAlphaNumHyphen(e){return e>=CHAR_A&&CHAR_Z>=e||e>=CHAR_a&&CHAR_z>=e||e>=CHAR_0&&CHAR_9>=e||e===CHAR_LOWBAR||e===CHAR_HYPHEN}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1)}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}})}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}})}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST}function List(){return Object.defineProperties([],{[_type]:{value:LIST}})}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST}function Integer(e){let t=+e;return Object.is(t,-0)&&(t=0),commonjsGlobal.BigInt&&!Number.isSafeInteger(t)?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this)}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}})}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}})}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT}function tomlType$1(e){const t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}return t}function makeParserClass(e){return class extends e{constructor(){super(),this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new TomlError(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let i of e.key){if(hasKey(t,i)&&(!isTable(t[i])||t[i][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[i]=t[i]||Table()}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return t[r]=isInteger(e.value)||isFloat(e.value)?e.value.valueOf():e.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e})}parseComment(){do{if(this.char===e.END||this.char===CTRL_J)return this.return()}while(this.nextChar())}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e))if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else{if(!isList(this.ctx[e]))throw this.error(new TomlError("Can't redefine existing key"));this.ctx=this.ctx[e][this.ctx[e].length-1]}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext)}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(!isList(this.ctx[e]))throw this.error(new TomlError("Can't redefine an existing key"));{const t=Table();this.ctx[e].push(t),this.ctx=t}return this.next(this.parseListEnd)}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else{if(!isTable(this.ctx[e]))throw this.error(new TomlError("Can't redefine an existing key"));this.ctx=this.ctx[e]}}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext)}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(e){return this.returnNow(e)}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===CHAR_f)return this.return("-"===this.state.buf?-1/0:1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(!isAlphaNumHyphen(this.char)){if(0===this.state.buf.length)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}this.consume()}while(this.nextChar())}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||CTRL_CHAR_BOUNDARY>=this.char&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||CTRL_CHAR_BOUNDARY>=this.char&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||CTRL_CHAR_BOUNDARY>=this.char&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||CTRL_CHAR_BOUNDARY>=this.char&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let e="\\u00";return 16>this.char&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`))}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"))}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char))}parseUnicodeReturn(e){try{const t=parseInt(e,16);if(t>=SURROGATE_FIRST&&SURROGATE_LAST>=t)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t))}catch(t){throw this.error(TomlError.wrap(t))}}parseSmallUnicode(){if(!isHexit(this.char))throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));if(this.consume(),this.state.buf.length>=4)return this.return()}parseLargeUnicode(){if(!isHexit(this.char))throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));if(this.consume(),this.state.buf.length>=8)return this.return()}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf))}parseNumberInteger(){if(!isDigit(this.char)){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{const e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}}this.consume()}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNumberFloat(){return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder,this.parseNumberFloat):isDigit(this.char)?void this.consume():this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char!==CHAR_HYPHEN&&this.char!==CHAR_PLUS)throw this.error(new TomlError("Unexpected character, expected -, + or digit"));this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent)}parseNumberExponent(){if(!isDigit(this.char))return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf));this.consume()}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder,this.parseNumberInteger):isDigit(this.char)?(this.consume(),void(this.state.buf.length>4&&this.next(this.parseNumberInteger))):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_HYPHEN?this.goto(this.parseDateTime):this.char===CHAR_COLON?this.goto(this.parseOnlyTimeHour):this.returnNow(Integer(this.state.buf))}parseDateTimeOnly(){if(4>this.state.buf.length){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"))}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}parseNumberBaseOrDateTime(){return this.char===CHAR_b?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===CHAR_o?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===CHAR_x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===CHAR_PERIOD?this.goto(this.parseNumberInteger):isDigit(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Integer(this.state.buf))}parseIntegerHex(){if(!isHexit(this.char)){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}}this.consume()}parseIntegerOct(){if(!isOctit(this.char)){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}}this.consume()}parseIntegerBin(){if(!isBit(this.char)){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const e=Integer(this.state.buf);if(e.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(e)}}this.consume()}parseDateTime(){if(4>this.state.buf.length)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(2>this.state.buf.length)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));this.consume()}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(2>this.state.buf.length)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));this.consume()}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===CHAR_COLON){if(2>this.state.buf.length)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));this.consume()}parseTimeMin(){if(this.state.buf.length>=2||!isDigit(this.char)){if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new TomlError("Incomplete datetime"))}this.consume()}parseTimeSec(){if(!isDigit(this.char))throw this.error(new TomlError("Incomplete datetime"));if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(2>this.state.buf.length)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length>=2||!isDigit(this.char)){if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new TomlError("Incomplete time"))}this.consume()}parseOnlyTimeSec(){if(!isDigit(this.char))throw this.error(new TomlError("Incomplete time"));if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe)}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return(createTime(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction)}parseOnlyTimeFraction(){if(!isDigit(this.char)){if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}this.consume()}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else{if(this.char!==CHAR_HYPHEN&&this.char!==CHAR_PLUS){if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}this.consume(),this.next(this.parseTimeZoneHour)}}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else{if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char!==CHAR_HYPHEN&&this.char!==CHAR_PLUS){if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}this.consume(),this.next(this.parseTimeZoneHour)}}parseTimeZoneHour(){if(!isDigit(this.char))throw this.error(new TomlError("Unexpected character in datetime, expected digit"));if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}parseTimeZoneSep(){if(this.char!==CHAR_COLON)throw this.error(new TomlError("Unexpected character in datetime, expected colon"));this.consume(),this.next(this.parseTimeZoneMin)}parseTimeZoneMin(){if(!isDigit(this.char))throw this.error(new TomlError("Unexpected character in datetime, expected digit"));if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(e){if(this.state.resultArr){const t=this.state.resultArr[_contentType],r=tomlType$1(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`))}else this.state.resultArr=InlineList(tomlType$1(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let i of e.key){if(hasKey(t,i)&&(!isTable(t[i])||t[i][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[i]=t[i]||Table()}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return t[r]=isInteger(e.value)||isFloat(e.value)?e.value.valueOf():e.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}}function prettyError$2(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}:\n`,t&&t.split){const i=t.split(/\n/),s=(Math.min(i.length,e.line+3)+"").length;let n=" ";for(;s>n.length;)n+=" ";for(let t=Math.max(0,e.line-1);Math.min(i.length,e.line+2)>t;++t){let o=t+1+"";if(s>o.length&&(o=" "+o),e.line===t){r+=o+"> "+i[t]+"\n",r+=n+" ";for(let t=0;e.col>t;++t)r+=" ";r+="^\n"}else r+=o+": "+i[t]+"\n"}}return e.message=r+"\n",e}function parseString(e){commonjsGlobal.Buffer&&commonjsGlobal.Buffer.isBuffer(e)&&(e=e.toString("utf8"));const t=new TOMLParser$2;try{return t.parse(e),t.finish()}catch(r){throw prettyError$1(r,e)}}function parseAsync(e,t){function r(t,i,n,o){if(t>=e.length)try{return n(s.finish())}catch(a){return o(prettyError(a,e))}try{s.parse(e.slice(t,t+i)),setImmediate(r,t+i,i,n,o)}catch(a){o(prettyError(a,e))}}t||(t={});const i=t.blocksize||40960,s=new TOMLParser$1;return new Promise(((e,t)=>{setImmediate(r,0,i,e,t)}))}function parseStream(e){return e?parseReadable(e):parseTransform()}function parseReadable(e){const t=new TOMLParser;return e.setEncoding("utf8"),new Promise(((r,i)=>{function s(){if(a=!0,!o)try{r(t.finish())}catch(e){i(e)}}function n(e){h=!0,i(e)}let o,a=!1,h=!1;e.once("end",s),e.once("error",n),function r(){let i;for(o=!0;null!==(i=e.read());)try{t.parse(i)}catch(c){return n(c)}if(o=!1,a)return s();h||e.once("readable",r)}()}))}function parseTransform(){const e=new TOMLParser;return new stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r))}catch(s){this.emit("error",s)}i()},flush(t){try{this.push(e.finish())}catch(r){this.emit("error",r)}t()}})}function stringify(e){if(null===e)throw typeError("null");if(void 0===e)throw typeError("undefined");if("object"!=typeof e)throw typeError(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;const t=tomlType(e);if("table"!==t)throw typeError(t);return stringifyObject("","",e)}function typeError(e){return Error("Can only stringify objects, not "+e)}function arrayOneTypeError(){return Error("Array values can't have mixed types")}function getInlineKeys(e){return Object.keys(e).filter((t=>isInline(e[t])))}function getComplexKeys(e){return Object.keys(e).filter((t=>!isInline(e[t])))}function toJSON(e){let t=Array.isArray(e)?[]:{}.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))t[r]=e[r]&&"function"==typeof e[r].toJSON&&!("toISOString"in e[r])?e[r].toJSON():e[r];return t}function stringifyObject(e,t,r){var i,s;i=getInlineKeys(r=toJSON(r)),s=getComplexKeys(r);var n=[],o=t||"";i.forEach((e=>{var t=tomlType(r[e]);"undefined"!==t&&"null"!==t&&n.push(o+stringifyKey(e)+" = "+stringifyAnyInline(r[e],!0))})),n.length>0&&n.push("");var a=e&&i.length>0?t+" ":"";return s.forEach((t=>{n.push(stringifyComplex(e,a,t,r[t]))})),n.join("\n")}function isInline(e){switch(tomlType(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==tomlType(e[0]);case"table":return 0===Object.keys(e).length;default:return!1}}function tomlType(e){return void 0===e?"undefined":null===e?"null":"bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0)?"integer":"number"==typeof e?"float":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"toISOString"in e?isNaN(e)?"undefined":"datetime":Array.isArray(e)?"array":"table"}function stringifyKey(e){var t=e+"";return/^[-A-Za-z0-9_]+$/.test(t)?t:stringifyBasicString(t)}function stringifyBasicString(e){return'"'+escapeString(e).replace(/"/g,'\\"')+'"'}function stringifyLiteralString(e){return"'"+e+"'"}function numpad(e,t){for(;e>t.length;)t="0"+t;return t}function escapeString(e){return e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/([\u0000-\u001f\u007f])/,(e=>"\\u"+numpad(4,e.codePointAt(0).toString(16))))}function stringifyMultilineString(e){let t=e.split(/\n/).map((e=>escapeString(e).replace(/"(?="")/g,'\\"'))).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""'}function stringifyAnyInline(e,t){let r=tomlType(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),stringifyInline(e,r)}function stringifyInline(e,t){switch(t||(t=tomlType(e)),t){case"string-multiline":return stringifyMultilineString(e);case"string":return stringifyBasicString(e);case"string-literal":return stringifyLiteralString(e);case"integer":return stringifyInteger(e);case"float":return stringifyFloat(e);case"boolean":return stringifyBoolean(e);case"datetime":return stringifyDatetime(e);case"array":return stringifyInlineArray(e.filter((e=>"null"!==tomlType(e)&&"undefined"!==tomlType(e)&&"nan"!==tomlType(e))));case"table":return stringifyInlineTable(e);default:throw typeError(t)}}function stringifyInteger(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_")}function stringifyFloat(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[1]||0;return stringifyInteger(t[0])+"."+r}function stringifyBoolean(e){return e+""}function stringifyDatetime(e){return e.toISOString()}function isNumber(e){return"float"===e||"integer"===e}function arrayType(e){var t=tomlType(e[0]);return e.every((e=>tomlType(e)===t))?t:e.every((e=>isNumber(tomlType(e))))?"float":"mixed"}function validateArray(e){const t=arrayType(e);if("mixed"===t)throw arrayOneTypeError();return t}function stringifyInlineArray(e){const t=validateArray(e=toJSON(e));var r="[",i=e.map((e=>stringifyInline(e,t)));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]"}function stringifyInlineTable(e){e=toJSON(e);var t=[];return Object.keys(e).forEach((r=>{t.push(stringifyKey(r)+" = "+stringifyAnyInline(e[r],!1))})),"{ "+t.join(", ")+(t.length>0?" ":"")+"}"}function stringifyComplex(e,t,r,i){var s=tomlType(i);if("array"===s)return stringifyArrayOfTables(e,t,r,i);if("table"===s)return stringifyComplexTable(e,t,r,i);throw typeError(s)}function stringifyArrayOfTables(e,t,r,i){validateArray(i=toJSON(i));var s=tomlType(i[0]);if("table"!==s)throw typeError(s);var n=e+stringifyKey(r),o="";return i.forEach((e=>{o.length>0&&(o+="\n"),o+=t+"[["+n+"]]\n",o+=stringifyObject(n+".",t,e)})),o}function stringifyComplexTable(e,t,r,i){var s=e+stringifyKey(r),n="";return getInlineKeys(i).length>0&&(n+=t+"["+s+"]\n"),n+stringifyObject(s+".",t,i)}function createSymlinkInFolder(e,t,r,i=!1){const s=path$1.join(e,t),n=path$1.join(e,r);require$$0$1.existsSync(n)||(require$$0$1.symlinkSync(s,n),!IS_WINDOWS&&i&&require$$0$1.chmodSync(n,"755"))}function validateVersion(e){return isNightlyKeyword(e)||!!semver$1.validRange(e)}function isNightlyKeyword(e){return"nightly"===e}function getPyPyVersionFromPath(e){return path$1.basename(path$1.dirname(e))}function readExactPyPyVersionFile(e){let t="";const r=path$1.join(e,PYPY_VERSION_FILE);return require$$0$1.existsSync(r)&&(t=(""+require$$0$1.readFileSync(r)).trim()),t}function writeExactPyPyVersionFile(e,t){const r=path$1.join(e,PYPY_VERSION_FILE);require$$0$1.writeFileSync(r,t)}function validatePythonVersionFormatForPyPy(e){return/^\d+\.\d+$/.test(e)}async function getWindowsInfo(){const{stdout:e}=await getExecOutput_1('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{osName:"Windows",osVersion:e.trim().split(" ")[3]}}async function getMacOSInfo(){const{stdout:e}=await getExecOutput_1("sw_vers",["-productVersion"],{silent:!0});return{osName:"macOS",osVersion:e.trim()}}async function getLinuxInfo(){const{stdout:e}=await getExecOutput_1("lsb_release",["-i","-r","-s"],{silent:!0}),[t,r]=e.trim().split("\n");return coreExports.debug(`OS Name: ${t}, Version: ${r}`),{osName:t,osVersion:r}}async function getOSInfo(){let e;try{IS_WINDOWS?e=await getWindowsInfo():IS_LINUX?e=await getLinuxInfo():IS_MAC&&(e=await getMacOSInfo())}catch(t){coreExports.debug(t.message)}finally{return e}}async function installPyPy(e,t,r,i,s){let n;if(!(s=s??await getAvailablePyPyVersions())||0===s.length)throw Error("No release was found in PyPy version.json");let o=findRelease(s,t,e,r,!1);if(!o||!o.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${r} not found`);const{foundAsset:a,resolvedPythonVersion:h,resolvedPyPyVersion:c}=o,l=""+a.download_url;coreExports.info(`Downloading PyPy from "${l}" ...`);try{const e=await downloadTool_1(l);coreExports.info("Extracting downloaded archive..."),n=IS_WINDOWS?await extractZip_1(e):await extractTar_1(e,void 0,"x");const t=require$$0$1.readdirSync(n)[0],i=path$1.join(n,t);let s=i;isNightlyKeyword(c)||(s=await cacheDir_1(i,"PyPy",h,r)),writeExactPyPyVersionFile(s,c);const o=getPyPyBinaryPath(s);return await createPyPySymlink(o,h),await installPip(o),{installDir:s,resolvedPythonVersion:h,resolvedPyPyVersion:c}}catch(u){throw u instanceof Error&&(coreExports.info(u instanceof HTTPError_1&&(403===u.httpStatusCode||429===u.httpStatusCode)?`Received HTTP status code ${u.httpStatusCode}. This usually indicates the rate limit has been exceeded`:u.message),void 0!==u.stack&&coreExports.debug(u.stack)),u}}async function getAvailablePyPyVersions(){const e="https://downloads.python.org/pypy/versions.json",t=new httpClient.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}async function createPyPySymlink(e,t){const r=semver$1.coerce(t),i=semver$1.major(r),s=2===i?"":"3",n=`${i}.${semver$1.minor(r)}`,o=IS_WINDOWS?".exe":"";coreExports.info("Creating symlinks..."),createSymlinkInFolder(e,`pypy${s}${o}`,`python${i}${o}`,!0),createSymlinkInFolder(e,`pypy${s}${o}`,"python"+o,!0),createSymlinkInFolder(e,`pypy${s}${o}`,`pypy${n}${o}`,!0)}async function installPip(e){coreExports.info("Installing and updating pip");const t=path$1.join(e,"python");await exec_2(t+" -m ensurepip"),await exec_2(e+"/python -m pip install --ignore-installed pip")}function findRelease(e,t,r,i,s){const n={includePrerelease:s},o=e.filter((e=>{const s=semver$1.satisfies(semver$1.coerce(e.python_version),t),o=isNightlyKeyword(r)&&isNightlyKeyword(e.pypy_version)||semver$1.satisfies(pypyVersionToSemantic(e.pypy_version),r,n),a=e.files&&(IS_WINDOWS?isArchPresentForWindows(e,i):isArchPresentForMacOrLinux(e,i,process.platform));return s&&o&&a}));if(0===o.length)return null;const a=o.sort(((e,t)=>semver$1.compare(semver$1.coerce(pypyVersionToSemantic(t.pypy_version)),semver$1.coerce(pypyVersionToSemantic(e.pypy_version)))||semver$1.compare(semver$1.coerce(t.python_version),semver$1.coerce(e.python_version))))[0];return{foundAsset:IS_WINDOWS?findAssetForWindows(a,i):findAssetForMacOrLinux(a,i,process.platform),resolvedPythonVersion:a.python_version,resolvedPyPyVersion:a.pypy_version.trim()}}function getPyPyBinaryPath(e){const t=path$1.join(e,"bin");return IS_WINDOWS?e:t}function pypyVersionToSemantic(e){return e.replace(/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g,"$1-$2.$3")}function isArchPresentForWindows(e,t){return t=replaceX32toX86(t),e.files.some((e=>WINDOWS_PLATFORMS.includes(e.platform)&&e.arch===t))}function isArchPresentForMacOrLinux(e,t,r){return e.files.some((e=>e.arch===t&&e.platform===r))}function findAssetForWindows(e,t){return t=replaceX32toX86(t),e.files.find((e=>WINDOWS_PLATFORMS.includes(e.platform)&&e.arch===t))}function findAssetForMacOrLinux(e,t,r){return e.files.find((e=>e.arch===t&&e.platform===r))}function replaceX32toX86(e){return"x32"===e&&(e="x86"),e}async function findPyPyVersion(e,t,r,i,s){let n,o="",a="";const h=parsePyPyVersion(e);({installDir:n,resolvedPythonVersion:a,resolvedPyPyVersion:o}=findPyPyToolCache(h.pythonVersion,h.pypyVersion,t)),n||({installDir:n,resolvedPythonVersion:a,resolvedPyPyVersion:o}=await installPyPy(h.pypyVersion,h.pythonVersion,t,s,void 0));const c=path$1.join(n,IS_WINDOWS?"Scripts":"bin"),l=path$1.join(IS_WINDOWS?n:c,"python"+(IS_WINDOWS?".exe":"")),u=getPyPyBinaryPath(n);return coreExports.exportVariable("pythonLocation",n),coreExports.exportVariable("Python_ROOT_DIR",n),coreExports.exportVariable("Python2_ROOT_DIR",n),coreExports.exportVariable("Python3_ROOT_DIR",n),coreExports.exportVariable("PKG_CONFIG_PATH",u+"/lib/pkgconfig"),coreExports.addPath(u),coreExports.addPath(c),coreExports.setOutput("python-version","pypy"+o),coreExports.setOutput("python-path",l),{resolvedPyPyVersion:o,resolvedPythonVersion:a}}function findPyPyToolCache(e,t,r){let i="",s="",n=IS_WINDOWS?findPyPyInstallDirForWindows(e):find_1("PyPy",e,r);return n&&(s=getPyPyVersionFromPath(n),i=readExactPyPyVersionFile(n),semver$1.satisfies(i,t)||(n=null,i="",s="")),n||coreExports.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:n,resolvedPythonVersion:s,resolvedPyPyVersion:i}}function parsePyPyVersion(e){const t=e.split("-").filter((e=>!!e));if(/^(pypy)(.+)/.test(t[0])){const e=t[0].replace("pypy","");t.splice(0,1,"pypy",e)}if(2>t.length||"pypy"!=t[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");const r=t[1];let i;if(i=t.length>2?pypyVersionToSemantic(t[2]):"x",!validateVersion(r)||!validateVersion(i))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!validatePythonVersionFormatForPyPy(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:i,pythonVersion:r}}function findPyPyInstallDirForWindows(e){let t="";return WINDOWS_ARCHS.forEach((r=>t=t||find_1("PyPy",e,r))),t}async function findReleaseFromManifest(e,t,r){return r||(r=await getManifest()),await findFromManifest_1(e,!1,r,t)}function getManifest(){return coreExports.debug(`Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`),getManifestFromRepo_1(MANIFEST_REPO_OWNER,MANIFEST_REPO_NAME,AUTH,MANIFEST_REPO_BRANCH)}async function installPython(e){const t={cwd:e,env:{...process.env,...IS_LINUX&&{LD_LIBRARY_PATH:path$1.join(e,"lib")}},silent:!0,listeners:{stdout:e=>{coreExports.info((""+e).trim())},stderr:e=>{coreExports.error((""+e).trim())}}};IS_WINDOWS?await exec_2("powershell",["./setup.ps1"],t):await exec_2("bash",["./setup.sh"],t)}async function installCpythonFromRelease(e){const t=e.files[0].download_url;coreExports.info(`Download from "${t}"`);let r="";try{let e;r=await downloadTool_1(t,void 0,AUTH),coreExports.info("Extract downloaded archive"),e=IS_WINDOWS?await extractZip_1(r):await extractTar_1(r),coreExports.info("Execute installation script"),await installPython(e)}catch(i){throw i instanceof HTTPError_1&&(coreExports.info(403===i.httpStatusCode||429===i.httpStatusCode?`Received HTTP status code ${i.httpStatusCode}. This usually indicates the rate limit has been exceeded`:i.message),i.stack&&coreExports.debug(i.stack)),i}}function binDir(e){return path$1.join(e,IS_WINDOWS?"Scripts":"bin")}async function useCpythonVersion(e,t,r,i,s){let n=pythonVersionToSemantic(desugarDevVersion(e));coreExports.debug(`Semantic version spec of ${e} is ${n}`);let o=find_1("Python",n,t);if(!o){coreExports.info(`Version ${n} was not found in the local cache`);const e=await findReleaseFromManifest(n,t,null);e&&e.files&&e.files.length>0&&(coreExports.info(`Version ${n} is available for downloading`),await installCpythonFromRelease(e),o=find_1("Python",n,t))}if(!o){const r=await getOSInfo();throw Error([`The version '${e}' with architecture '${t}' was not found for ${r?`${r.osName} ${r.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+MANIFEST_URL].join(os$1.EOL))}const a=binDir(o),h=path$1.join(IS_WINDOWS?o:a,"python"+(IS_WINDOWS?".exe":""));if(coreExports.exportVariable("pythonLocation",o),coreExports.exportVariable("PKG_CONFIG_PATH",o+"/lib/pkgconfig"),coreExports.exportVariable("pythonLocation",o),coreExports.exportVariable("Python_ROOT_DIR",o),coreExports.exportVariable("Python2_ROOT_DIR",o),coreExports.exportVariable("Python3_ROOT_DIR",o),coreExports.exportVariable("PKG_CONFIG_PATH",o+"/lib/pkgconfig"),IS_LINUX){const e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=path$1.join(o,"lib");e.split(":").includes(t)||coreExports.exportVariable("LD_LIBRARY_PATH",t+e)}if(coreExports.addPath(o),coreExports.addPath(a),IS_WINDOWS){const e=path$1.basename(path$1.dirname(o)),t=semver$1.major(e),r=semver$1.minor(e),i=path$1.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");coreExports.addPath(i)}const c=versionFromPath(o);return coreExports.setOutput("python-version",c),coreExports.setOutput("python-path",h),{impl:"CPython",version:c}}function desugarDevVersion(e){return e.replace(/^(\d+)\.(\d+)-dev$/,"~$1.$2.0-0")}function versionFromPath(e){const t=e.split(path$1.sep),r=t.findIndex((e=>"PyPy"===e||"Python"===e));return t[r+1]||""}function pythonVersionToSemantic(e,t){return e.replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2")}function isPyPyVersion(e){return e.startsWith("pypy")}async function setupActionsPython(e,t,r){IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");const i=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeof i&&""!==i&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),coreExports.debug("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(isPyPyVersion(e)){const i=await findPyPyVersion(e,r,!0,checkLatest,!1);t=`${i.resolvedPyPyVersion}-${i.resolvedPythonVersion}`,info(`Successfully set up PyPy ${i.resolvedPyPyVersion} with Python (${i.resolvedPythonVersion})`)}else{const i=await useCpythonVersion(e,r);t=i.version,info(`Successfully set up ${i.impl} (${t})`)}}ciInfo.GITHUB_ACTIONS&&await addPythonLoggingMatcher()}async function addPythonLoggingMatcher(){const e=join(dirname,"python_matcher.json");if(!(await pathExists(e)))return warning("the python_matcher.json file does not exist in the same folder as setup-cpp.js");info("::add-matcher::"+e)}import*as path$1 from"path";import path__default,{join}from"path";import{fileURLToPath}from"url";import{c as commonjsGlobal,s as semverExports,r as requireCore,t as tunnel,i as io$1,v as v4_1$1,e as exec,a as semver$1,b as coreExports,g as getExecOutput_1,d as exec_2,f as info,h as ciInfo,p as pathExists,w as warning}from"../setup-cpp.mjs";import require$$0$1 from"fs";import*as os$1 from"os";import os__default from"os";import require$$0 from"child_process";import http__default from"http";import https__default from"https";import require$$0$2 from"stream";import require$$9 from"util";import require$$0$3 from"assert";import"crypto";import"net";import"tls";import"events";import"buffer";import"node:util";import"node:process";import"fs/promises";import"node:buffer";import"node:path";import"node:child_process";import"node:url";import"node:os";import"node:fs";import"process";import"string_decoder";import"timers";import"console";var toolCache={},manifest={exports:{}};!function(e,t){var r=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),i=commonjsGlobal&&commonjsGlobal.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=commonjsGlobal&&commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t},n=commonjsGlobal&&commonjsGlobal.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(s,n){function o(e){try{h(i.next(e))}catch(t){n(t)}}function a(e){try{h(i.throw(e))}catch(t){n(t)}}function h(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}h((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t._readLinuxVersionFile=t._getOsVersion=t._findMatch=void 0;const o=s(semverExports),a=requireCore(),h=os__default,c=require$$0,l=require$$0$1;t._findMatch=function(t,r,i,s){return n(this,void 0,void 0,(function*(){const n=h.platform();let c,l,u;for(const h of i){const i=h.version;if(a.debug(`check ${i} satisfies ${t}`),o.satisfies(i,t)&&(!r||h.stable===r)&&(u=h.files.find((t=>{a.debug(`${t.arch}===${s} && ${t.platform}===${n}`);let r=t.arch===s&&t.platform===n;if(r&&t.platform_version){const i=e.exports._getOsVersion();r=i===t.platform_version||o.satisfies(i,t.platform_version)}return r})),u)){a.debug("matched "+h.version),l=h;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},t._getOsVersion=function(){const t=h.platform();let r="";if("darwin"===t)r=""+c.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},t._readLinuxVersionFile=function(){const e="/etc/lsb-release",t="/etc/os-release";let r="";return l.existsSync(e)?r=""+l.readFileSync(e):l.existsSync(t)&&(r=""+l.readFileSync(t)),r}}(manifest,manifest.exports);var manifestExports=manifest.exports,httpClient={},proxy={};Object.defineProperty(proxy,"__esModule",{value:!0}),proxy.getProxyUrl=getProxyUrl,proxy.checkBypass=checkBypass,function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=http__default,r=https__default,i=proxy;let s;var n,o,a,h,c;(o=n=e.HttpCodes||(e.HttpCodes={}))[o.OK=200]="OK",o[o.MultipleChoices=300]="MultipleChoices",o[o.MovedPermanently=301]="MovedPermanently",o[o.ResourceMoved=302]="ResourceMoved",o[o.SeeOther=303]="SeeOther",o[o.NotModified=304]="NotModified",o[o.UseProxy=305]="UseProxy",o[o.SwitchProxy=306]="SwitchProxy",o[o.TemporaryRedirect=307]="TemporaryRedirect",o[o.PermanentRedirect=308]="PermanentRedirect",o[o.BadRequest=400]="BadRequest",o[o.Unauthorized=401]="Unauthorized",o[o.PaymentRequired=402]="PaymentRequired",o[o.Forbidden=403]="Forbidden",o[o.NotFound=404]="NotFound",o[o.MethodNotAllowed=405]="MethodNotAllowed",o[o.NotAcceptable=406]="NotAcceptable",o[o.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",o[o.RequestTimeout=408]="RequestTimeout",o[o.Conflict=409]="Conflict",o[o.Gone=410]="Gone",o[o.TooManyRequests=429]="TooManyRequests",o[o.InternalServerError=500]="InternalServerError",o[o.NotImplemented=501]="NotImplemented",o[o.BadGateway=502]="BadGateway",o[o.ServiceUnavailable=503]="ServiceUnavailable",o[o.GatewayTimeout=504]="GatewayTimeout",(h=a=e.Headers||(e.Headers={})).Accept="accept",h.ContentType="content-type",(c=e.MediaTypes||(e.MediaTypes={})).ApplicationJson="application/json",e.getProxyUrl=function(e){let t=i.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 f extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,f.prototype)}}e.HttpClientError=f;class d{constructor(e){this.message=e}readBody(){return new Promise((async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",(e=>{r=Buffer.concat([r,e])})),this.message.on("end",(()=>{e(""+r)}))}))}}e.HttpClientResponse=d,e.isHttps=function(e){return"https:"===new URL(e).protocol};class m{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,i){return this.request(e,t,r,i)}async getJson(e,t={}){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,c.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,c.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,c.ApplicationJson);let s=await this.post(e,i,r);return this._processResponse(s,this.requestOptions)}async putJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,c.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,c.ApplicationJson);let s=await this.put(e,i,r);return this._processResponse(s,this.requestOptions)}async patchJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,c.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,c.ApplicationJson);let s=await this.patch(e,i,r);return this._processResponse(s,this.requestOptions)}async request(e,t,r,i){if(this._disposed)throw Error("Client has already been disposed.");let s,o=new URL(t),a=this._prepareRequest(e,o,i),h=this._allowRetries&&-1!=p.indexOf(e)?this._maxRetries+1:1,c=0;for(;h>c;){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 h=new URL(n);if("https:"==o.protocol&&o.protocol!=h.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(),h.hostname!==o.hostname)for(let e in i)"authorization"===e.toLowerCase()&&delete i[e];a=this._prepareRequest(e,h,i),s=await this.requestRaw(a,r),t--}if(-1==u.indexOf(s.message.statusCode))return s;c+=1,h>c&&(await s.readBody(),await this._performExponentialBackoff(c))}return s}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return new Promise(((r,i)=>{this.requestRawWithCallback(e,t,(function(e,t){e&&i(e),r(t)}))}))}requestRawWithCallback(e,t,r){let i;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t))},o=e.httpModule.request(e.options,(e=>{let t=new d(e);n(null,t)}));o.on("socket",(e=>{i=e})),o.setTimeout(this._socketTimeout||18e4,(()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path),null)})),o.on("error",(function(e){n(e,null)})),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(function(){o.end()})),t.pipe(o)):o.end()}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,i,s){const n={};n.parsedUrl=i;const o="https:"===n.parsedUrl.protocol;n.httpModule=o?r:t;const a=o?443:80;return n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers&&this.handlers.forEach((e=>{e.prepareRequest(n.options)})),n}_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 i;var s;return this.requestOptions&&this.requestOptions.headers&&(i=(s=this.requestOptions.headers,Object.keys(s).reduce(((e,t)=>(e[t.toLowerCase()]=s[t],e)),{}))[t]),e[t]||i||r}_getAgent(e){let n,o=i.getProxyUrl(e),a=o&&o.hostname;if(this._keepAlive&&a&&(n=this._proxyAgent),this._keepAlive&&!a&&(n=this._agent),n)return n;const h="https:"===e.protocol;let c=100;if(this.requestOptions&&(c=this.requestOptions.maxSockets||t.globalAgent.maxSockets),a){s||(s=tunnel);const e={maxSockets:c,keepAlive:this._keepAlive,proxy:{...(o.username||o.password)&&{proxyAuth:`${o.username}:${o.password}`},host:o.hostname,port:o.port}};let t;const r="https:"===o.protocol;t=h?r?s.httpsOverHttps:s.httpsOverHttp:r?s.httpOverHttps:s.httpOverHttp,n=t(e),this._proxyAgent=n}if(this._keepAlive&&!n){const e={keepAlive:this._keepAlive,maxSockets:c};n=h?new r.Agent(e):new t.Agent(e),this._agent=n}return n||(n=h?r.globalAgent:t.globalAgent),h&&this._ignoreSslError&&(n.options=Object.assign(n.options||{},{rejectUnauthorized:!1})),n}_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,i)=>{const s=e.message.statusCode,o={statusCode:s,result:null,headers:{}};let a,h;s==n.NotFound&&r(o);try{h=await e.readBody(),h&&h.length>0&&(a=t&&t.deserializeDates?JSON.parse(h,m.dateTimeDeserializer):JSON.parse(h),o.result=a),o.headers=e.message.headers}catch(c){}if(s>299){let e;e=a&&a.message?a.message:h&&h.length>0?h:"Failed request: ("+s+")";let t=new f(e,s);t.result=o.result,i(t)}else r(o)}))}}e.HttpClient=m}(httpClient);var retryHelper={},__createBinding$1=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),__setModuleDefault$1=commonjsGlobal&&commonjsGlobal.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar$1=commonjsGlobal&&commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&__createBinding$1(t,e,r);return __setModuleDefault$1(t,e),t},__awaiter$1=commonjsGlobal&&commonjsGlobal.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(s,n){function o(e){try{h(i.next(e))}catch(t){n(t)}}function a(e){try{h(i.throw(e))}catch(t){n(t)}}function h(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}h((i=i.apply(e,t||[])).next())}))};Object.defineProperty(retryHelper,"__esModule",{value:!0}),retryHelper.RetryHelper=void 0;const core$1=__importStar$1(requireCore());class RetryHelper{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 __awaiter$1(this,void 0,void 0,(function*(){let r=1;for(;this.maxAttempts>r;){try{return yield e()}catch(i){if(t&&!t(i))throw i;core$1.info(i.message)}const s=this.getSleepAmount();core$1.info(`Waiting ${s} seconds before trying again`),yield this.sleep(s),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return __awaiter$1(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}}retryHelper.RetryHelper=RetryHelper;var __createBinding=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),__setModuleDefault=commonjsGlobal&&commonjsGlobal.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar=commonjsGlobal&&commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&__createBinding(t,e,r);return __setModuleDefault(t,e),t},__awaiter=commonjsGlobal&&commonjsGlobal.__awaiter||function(e,t,r,i){return new(r||(r=Promise))((function(s,n){function o(e){try{h(i.next(e))}catch(t){n(t)}}function a(e){try{h(i.throw(e))}catch(t){n(t)}}function h(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}h((i=i.apply(e,t||[])).next())}))},__importDefault=commonjsGlobal&&commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(toolCache,"__esModule",{value:!0}),toolCache.evaluateVersions=toolCache.isExplicitVersion=findFromManifest_1=toolCache.findFromManifest=getManifestFromRepo_1=toolCache.getManifestFromRepo=toolCache.findAllVersions=find_1=toolCache.find=toolCache.cacheFile=cacheDir_1=toolCache.cacheDir=extractZip_1=toolCache.extractZip=toolCache.extractXar=extractTar_1=toolCache.extractTar=toolCache.extract7z=downloadTool_1=toolCache.downloadTool=HTTPError_1=toolCache.HTTPError=void 0;const core=__importStar(requireCore()),io=__importStar(io$1),fs=__importStar(require$$0$1),mm=__importStar(manifestExports),os=__importStar(os__default),path=__importStar(path__default),httpm=__importStar(httpClient),semver=__importStar(semverExports),stream$1=__importStar(require$$0$2),util=__importStar(require$$9),v4_1=__importDefault(v4_1$1),exec_1=exec,assert_1=require$$0$3,retry_helper_1=retryHelper;class HTTPError extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}var HTTPError_1=toolCache.HTTPError=HTTPError;const IS_WINDOWS$1="win32"===process.platform,IS_MAC$1="darwin"===process.platform,userAgent="actions/tool-cache";var downloadTool_1=toolCache.downloadTool=downloadTool;toolCache.extract7z=extract7z;var extractTar_1=toolCache.extractTar=extractTar;toolCache.extractXar=extractXar;var extractZip_1=toolCache.extractZip=extractZip,cacheDir_1=toolCache.cacheDir=cacheDir;toolCache.cacheFile=cacheFile;var find_1=toolCache.find=find;toolCache.findAllVersions=findAllVersions;var getManifestFromRepo_1=toolCache.getManifestFromRepo=getManifestFromRepo,findFromManifest_1=toolCache.findFromManifest=findFromManifest;toolCache.isExplicitVersion=isExplicitVersion,toolCache.evaluateVersions=evaluateVersions;var parse={exports:{}},tomlParser={exports:{}};const ParserEND=1114112;class ParserError extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,ParserError)}}class State{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}}class Parser{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new State(this.parseStart)}parse(e){if(0===e.length||null==e.length)return;let t;for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this._buf.length>this.ii}runOne(){return this.state.parser.call(this,this.state.returned)}finish(){let e;this.char=ParserEND;do{e=this.state.parser,this.runOne()}while(this.state.parser!==e);return this.ctx=null,this.state=null,this._buf=null,this.obj}next(e){if("function"!=typeof e)throw new ParserError("Tried to set state to non-existent state: "+JSON.stringify(e));this.state.parser=e}goto(e){return this.next(e),this.runOne()}call(e,t){t&&this.next(t),this.stack.push(this.state),this.state=new State(e)}callNow(e,t){return this.call(e,t),this.runOne()}return(e){if(0===this.stack.length)throw this.error(new ParserError("Stack underflow"));void 0===e&&(e=this.state.buf),this.state=this.stack.pop(),this.state.returned=e}returnNow(e){return this.return(e),this.runOne()}consume(){if(this.char===ParserEND)throw this.error(new ParserError("Unexpected end-of-buffer"));this.state.buf+=this._buf[this.ii]}error(e){return e.line=this.line,e.col=this.col,e.pos=this.pos,e}parseStart(){throw new ParserError("Must declare a parseStart method")}}Parser.END=ParserEND,Parser.Error=ParserError;var parser=Parser,createDatetime=e=>{const t=new Date(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t},formatNum=(e,t)=>{for(t+="";e>t.length;)t="0"+t;return t};const f$2=formatNum;class FloatingDateTime extends Date{constructor(e){super(e+"Z"),this.isFloating=!0}toISOString(){return`${this.getUTCFullYear()}-${f$2(2,this.getUTCMonth()+1)}-${f$2(2,this.getUTCDate())}T${f$2(2,this.getUTCHours())}:${f$2(2,this.getUTCMinutes())}:${f$2(2,this.getUTCSeconds())}.${f$2(3,this.getUTCMilliseconds())}`}}var createDatetimeFloat=e=>{const t=new FloatingDateTime(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t};const f$1=formatNum,DateTime=commonjsGlobal.Date;let Date$1=class extends DateTime{constructor(e){super(e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${f$1(2,this.getUTCMonth()+1)}-${f$1(2,this.getUTCDate())}`}};var createDate$1=e=>{const t=new Date$1(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t};const f=formatNum;class Time extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0}toISOString(){return`${f(2,this.getUTCHours())}:${f(2,this.getUTCMinutes())}:${f(2,this.getUTCSeconds())}.${f(3,this.getUTCMilliseconds())}`}}var createTime$1=e=>{const t=new Time(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t};tomlParser.exports=makeParserClass(parser),tomlParser.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null}}TomlError.wrap=e=>{const t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t},tomlParser.exports.TomlError=TomlError;const createDateTime=createDatetime,createDateTimeFloat=createDatetimeFloat,createDate=createDate$1,createTime=createTime$1,CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:"\t",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty={}.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();let _custom;try{const utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(_){}const _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=commonjsGlobal.BigInt.asIntN(64,e)}catch(_){this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return null===this.value}toString(){return this.value+""}[_inspect](){return`[BigInt: ${""+this}]}`}valueOf(){return this.value}}const INTEGER=Symbol(),FLOAT=Symbol();var tomlParserExports=tomlParser.exports,parsePrettyError=prettyError$2,parseString_1=parseString;const TOMLParser$2=tomlParserExports,prettyError$1=parsePrettyError;var parseAsync_1=parseAsync;const TOMLParser$1=tomlParserExports,prettyError=parsePrettyError;var parseStream_1=parseStream;const stream=require$$0$2,TOMLParser=tomlParserExports;parse.exports=parseString_1,parse.exports.async=parseAsync_1,parse.exports.stream=parseStream_1,parse.exports.prettyError=parsePrettyError;var stringify$1={exports:{}};stringify$1.exports=stringify,stringify$1.exports.value=stringifyInline;const IS_WINDOWS="win32"===process.platform,IS_LINUX="linux"===process.platform,IS_MAC="darwin"===process.platform,WINDOWS_ARCHS=["x86","x64"],WINDOWS_PLATFORMS=["win32","win64"],PYPY_VERSION_FILE="PYPY_VERSION",TOKEN=coreExports.getInput("token"),AUTH=TOKEN?"token "+TOKEN:void 0,MANIFEST_REPO_OWNER="actions",MANIFEST_REPO_NAME="python-versions",MANIFEST_REPO_BRANCH="main",MANIFEST_URL=`https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`,dirname="string"==typeof __dirname?__dirname:path__default.dirname(fileURLToPath(import.meta.url)),checkLatest=!1;export{setupActionsPython}; +//# sourceMappingURL=actions_python-mhNRejTS.mjs.map diff --git a/dist/modern/assets/actions_python-mhNRejTS.mjs.map b/dist/modern/assets/actions_python-mhNRejTS.mjs.map new file mode 100644 index 00000000..95d57a07 --- /dev/null +++ b/dist/modern/assets/actions_python-mhNRejTS.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"actions_python-mhNRejTS.mjs","sources":["../../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","../../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/tool-cache.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js","../../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/utils.ts","../../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-pypy.ts","../../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-pypy.ts","../../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/install-python.ts","../../../node_modules/.pnpm/setup-python@https+++codeload.github.com+aminya+setup-python+tar.gz+a783db655c6e40317e2c0c96f_a3mvw4gwshxqvyjibbtov4ravy/node_modules/setup-python/src/find-python.ts","../../../src/python/actions_python.ts","../../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/manifest.js","../../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","../../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/retry-helper.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js","../../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js"],"sourcesContent":["\"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","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst io = __importStar(require(\"@actions/io\"));\nconst fs = __importStar(require(\"fs\"));\nconst mm = __importStar(require(\"./manifest\"));\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst httpm = __importStar(require(\"@actions/http-client\"));\nconst semver = __importStar(require(\"semver\"));\nconst stream = __importStar(require(\"stream\"));\nconst util = __importStar(require(\"util\"));\nconst v4_1 = __importDefault(require(\"uuid/v4\"));\nconst exec_1 = require(\"@actions/exec/lib/exec\");\nconst assert_1 = require(\"assert\");\nconst retry_helper_1 = require(\"./retry-helper\");\nclass HTTPError extends Error {\n constructor(httpStatusCode) {\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nexports.HTTPError = HTTPError;\nconst IS_WINDOWS = process.platform === 'win32';\nconst IS_MAC = process.platform === 'darwin';\nconst userAgent = 'actions/tool-cache';\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */\nfunction downloadTool(url, dest, auth, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n dest = dest || path.join(_getTempDirectory(), v4_1.default());\n yield io.mkdirP(path.dirname(dest));\n core.debug(`Downloading ${url}`);\n core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS', 10);\n const maxSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS', 20);\n const retryHelper = new retry_helper_1.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {\n return yield downloadToolAttempt(url, dest || '', auth, headers);\n }), (err) => {\n if (err instanceof HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 &&\n err.httpStatusCode !== 408 &&\n err.httpStatusCode !== 429) {\n return false;\n }\n }\n // Otherwise retry\n return true;\n });\n });\n}\nexports.downloadTool = downloadTool;\nfunction downloadToolAttempt(url, dest, auth, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (fs.existsSync(dest)) {\n throw new Error(`Destination file path ${dest} already exists`);\n }\n // Get the response headers\n const http = new httpm.HttpClient(userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n core.debug('set auth');\n if (headers === undefined) {\n headers = {};\n }\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new HTTPError(response.message.statusCode);\n core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = util.promisify(stream.pipeline);\n const responseMessageFactory = _getGlobal('TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY', () => response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, fs.createWriteStream(dest));\n core.debug('download complete');\n succeeded = true;\n return dest;\n }\n finally {\n // Error, delete dest before retry\n if (!succeeded) {\n core.debug('download failed');\n try {\n yield io.rmRF(dest);\n }\n catch (err) {\n core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */\nfunction extract7z(file, dest, _7zPath) {\n return __awaiter(this, void 0, void 0, function* () {\n assert_1.ok(IS_WINDOWS, 'extract7z() not supported on current OS');\n assert_1.ok(file, 'parameter \"file\" is required');\n dest = yield _createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) {\n try {\n const logLevel = core.isDebug() ? '-bb1' : '-bb0';\n const args = [\n 'x',\n logLevel,\n '-bd',\n '-sccUTF-8',\n file\n ];\n const options = {\n silent: true\n };\n yield exec_1.exec(`\"${_7zPath}\"`, args, options);\n }\n finally {\n process.chdir(originalCwd);\n }\n }\n else {\n const escapedScript = path\n .join(__dirname, '..', 'scripts', 'Invoke-7zdec.ps1')\n .replace(/'/g, \"''\")\n .replace(/\"|\\n|\\r/g, ''); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n '-NoLogo',\n '-Sta',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield io.which('powershell', true);\n yield exec_1.exec(`\"${powershellPath}\"`, args, options);\n }\n finally {\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nexports.extract7z = extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */\nfunction extractTar(file, dest, flags = 'xz') {\n return __awaiter(this, void 0, void 0, function* () {\n if (!file) {\n throw new Error(\"parameter 'file' is required\");\n }\n // Create dest\n dest = yield _createExtractFolder(dest);\n // Determine whether GNU tar\n core.debug('Checking tar --version');\n let versionOutput = '';\n yield exec_1.exec('tar --version', [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data) => (versionOutput += data.toString()),\n stderr: (data) => (versionOutput += data.toString())\n }\n });\n core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes('GNU TAR');\n // Initialize args\n let args;\n if (flags instanceof Array) {\n args = flags;\n }\n else {\n args = [flags];\n }\n if (core.isDebug() && !flags.includes('v')) {\n args.push('-v');\n }\n let destArg = dest;\n let fileArg = file;\n if (IS_WINDOWS && isGnuTar) {\n args.push('--force-local');\n destArg = dest.replace(/\\\\/g, '/');\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, '/');\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push('--warning=no-unknown-keyword');\n args.push('--overwrite');\n }\n args.push('-C', destArg, '-f', fileArg);\n yield exec_1.exec(`tar`, args);\n return dest;\n });\n}\nexports.extractTar = extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */\nfunction extractXar(file, dest, flags = []) {\n return __awaiter(this, void 0, void 0, function* () {\n assert_1.ok(IS_MAC, 'extractXar() not supported on current OS');\n assert_1.ok(file, 'parameter \"file\" is required');\n dest = yield _createExtractFolder(dest);\n let args;\n if (flags instanceof Array) {\n args = flags;\n }\n else {\n args = [flags];\n }\n args.push('-x', '-C', dest, '-f', file);\n if (core.isDebug()) {\n args.push('-v');\n }\n const xarPath = yield io.which('xar', true);\n yield exec_1.exec(`\"${xarPath}\"`, _unique(args));\n return dest;\n });\n}\nexports.extractXar = extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */\nfunction extractZip(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!file) {\n throw new Error(\"parameter 'file' is required\");\n }\n dest = yield _createExtractFolder(dest);\n if (IS_WINDOWS) {\n yield extractZipWin(file, dest);\n }\n else {\n yield extractZipNix(file, dest);\n }\n return dest;\n });\n}\nexports.extractZip = extractZip;\nfunction extractZipWin(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, ''); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const pwshPath = yield io.which('pwsh', false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(' ');\n const args = [\n '-NoLogo',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n pwshCommand\n ];\n core.debug(`Using pwsh at path: ${pwshPath}`);\n yield exec_1.exec(`\"${pwshPath}\"`, args);\n }\n else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(' ');\n const args = [\n '-NoLogo',\n '-Sta',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n powershellCommand\n ];\n const powershellPath = yield io.which('powershell', true);\n core.debug(`Using powershell at path: ${powershellPath}`);\n yield exec_1.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction extractZipNix(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n const unzipPath = yield io.which('unzip', true);\n const args = [file];\n if (!core.isDebug()) {\n args.unshift('-q');\n }\n args.unshift('-o'); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield exec_1.exec(`\"${unzipPath}\"`, args, { cwd: dest });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */\nfunction cacheDir(sourceDir, tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n version = semver.clean(version) || version;\n arch = arch || os.arch();\n core.debug(`Caching tool ${tool} ${version} ${arch}`);\n core.debug(`source dir: ${sourceDir}`);\n if (!fs.statSync(sourceDir).isDirectory()) {\n throw new Error('sourceDir is not a directory');\n }\n // Create the tool dir\n const destPath = yield _createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of fs.readdirSync(sourceDir)) {\n const s = path.join(sourceDir, itemName);\n yield io.cp(s, destPath, { recursive: true });\n }\n // write .complete\n _completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nexports.cacheDir = cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */\nfunction cacheFile(sourceFile, targetFile, tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n version = semver.clean(version) || version;\n arch = arch || os.arch();\n core.debug(`Caching tool ${tool} ${version} ${arch}`);\n core.debug(`source file: ${sourceFile}`);\n if (!fs.statSync(sourceFile).isFile()) {\n throw new Error('sourceFile is not a file');\n }\n // create the tool dir\n const destFolder = yield _createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = path.join(destFolder, targetFile);\n core.debug(`destination file ${destPath}`);\n yield io.cp(sourceFile, destPath);\n // write .complete\n _completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nexports.cacheFile = cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */\nfunction find(toolName, versionSpec, arch) {\n if (!toolName) {\n throw new Error('toolName parameter is required');\n }\n if (!versionSpec) {\n throw new Error('versionSpec parameter is required');\n }\n arch = arch || os.arch();\n // attempt to resolve an explicit version\n if (!isExplicitVersion(versionSpec)) {\n const localVersions = findAllVersions(toolName, arch);\n const match = evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = '';\n if (versionSpec) {\n versionSpec = semver.clean(versionSpec) || '';\n const cachePath = path.join(_getCacheDirectory(), toolName, versionSpec, arch);\n core.debug(`checking cache: ${cachePath}`);\n if (fs.existsSync(cachePath) && fs.existsSync(`${cachePath}.complete`)) {\n core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n }\n else {\n core.debug('not found');\n }\n }\n return toolPath;\n}\nexports.find = find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */\nfunction findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || os.arch();\n const toolPath = path.join(_getCacheDirectory(), toolName);\n if (fs.existsSync(toolPath)) {\n const children = fs.readdirSync(toolPath);\n for (const child of children) {\n if (isExplicitVersion(child)) {\n const fullPath = path.join(toolPath, child, arch || '');\n if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {\n versions.push(child);\n }\n }\n }\n }\n return versions;\n}\nexports.findAllVersions = findAllVersions;\nfunction getManifestFromRepo(owner, repo, auth, branch = 'master') {\n return __awaiter(this, void 0, void 0, function* () {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new httpm.HttpClient('tool-cache');\n const headers = {};\n if (auth) {\n core.debug('set auth');\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) {\n return releases;\n }\n let manifestUrl = '';\n for (const item of response.result.tree) {\n if (item.path === 'versions-manifest.json') {\n manifestUrl = item.url;\n break;\n }\n }\n headers['accept'] = 'application/vnd.github.VERSION.raw';\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, '');\n try {\n releases = JSON.parse(versionsRaw);\n }\n catch (_a) {\n core.debug('Invalid json');\n }\n }\n return releases;\n });\n}\nexports.getManifestFromRepo = getManifestFromRepo;\nfunction findFromManifest(versionSpec, stable, manifest, archFilter = os.arch()) {\n return __awaiter(this, void 0, void 0, function* () {\n // wrap the internal impl\n const match = yield mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nexports.findFromManifest = findFromManifest;\nfunction _createExtractFolder(dest) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!dest) {\n // create a temp dir\n dest = path.join(_getTempDirectory(), v4_1.default());\n }\n yield io.mkdirP(dest);\n return dest;\n });\n}\nfunction _createToolPath(tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');\n core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield io.rmRF(folderPath);\n yield io.rmRF(markerPath);\n yield io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction _completeToolPath(tool, version, arch) {\n const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');\n const markerPath = `${folderPath}.complete`;\n fs.writeFileSync(markerPath, '');\n core.debug('finished caching tool');\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */\nfunction isExplicitVersion(versionSpec) {\n const c = semver.clean(versionSpec) || '';\n core.debug(`isExplicit: ${c}`);\n const valid = semver.valid(c) != null;\n core.debug(`explicit? ${valid}`);\n return valid;\n}\nexports.isExplicitVersion = isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */\nfunction evaluateVersions(versions, versionSpec) {\n let version = '';\n core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b) => {\n if (semver.gt(a, b)) {\n return 1;\n }\n return -1;\n });\n for (let i = versions.length - 1; i >= 0; i--) {\n const potential = versions[i];\n const satisfied = semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) {\n core.debug(`matched: ${version}`);\n }\n else {\n core.debug('match not found');\n }\n return version;\n}\nexports.evaluateVersions = evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */\nfunction _getCacheDirectory() {\n const cacheDirectory = process.env['RUNNER_TOOL_CACHE'] || '';\n assert_1.ok(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined');\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */\nfunction _getTempDirectory() {\n const tempDirectory = process.env['RUNNER_TEMP'] || '';\n assert_1.ok(tempDirectory, 'Expected RUNNER_TEMP to be defined');\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */\nfunction _getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */\n const value = global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */\n return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */\nfunction _unique(values) {\n return Array.from(new Set(values));\n}\n//# sourceMappingURL=tool-cache.js.map","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\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 const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\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\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","import * as os from 'os';\nimport * 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_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 allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\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 const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\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 } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async 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 pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const 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 createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${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 includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\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(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\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, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\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, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\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\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\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 IPyPyManifestRelease\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 updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\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 (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\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' or '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 ? 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 manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\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 let pythonPath = '';\n try {\n 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 } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} 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 separate 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\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\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 manifest\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 const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\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 core.addPath(installDir);\n core.addPath(_binDir);\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\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\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 *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\n}\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { debug } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy.js\"\nimport { useCpythonVersion } from \"setup-python/src/find-python.js\"\nimport { IS_MAC } from \"setup-python/src/utils.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports._readLinuxVersionFile = exports._getOsVersion = exports._findMatch = void 0;\nconst semver = __importStar(require(\"semver\"));\nconst core_1 = require(\"@actions/core\");\n// needs to be require for core node modules to be mocked\n/* eslint @typescript-eslint/no-require-imports: 0 */\nconst os = require(\"os\");\nconst cp = require(\"child_process\");\nconst fs = require(\"fs\");\nfunction _findMatch(versionSpec, stable, candidates, archFilter) {\n return __awaiter(this, void 0, void 0, function* () {\n const platFilter = os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates) {\n const version = candidate.version;\n core_1.debug(`check ${version} satisfies ${versionSpec}`);\n if (semver.satisfies(version, versionSpec) &&\n (!stable || candidate.stable === stable)) {\n file = candidate.files.find(item => {\n core_1.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) {\n chk = true;\n }\n else {\n chk = semver.satisfies(osVersion, item.platform_version);\n }\n }\n return chk;\n });\n if (file) {\n core_1.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [file];\n }\n return result;\n });\n}\nexports._findMatch = _findMatch;\nfunction _getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = os.platform();\n let version = '';\n if (plat === 'darwin') {\n version = cp.execSync('sw_vers -productVersion').toString();\n }\n else if (plat === 'linux') {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split('\\n');\n for (const line of lines) {\n const parts = line.split('=');\n if (parts.length === 2 &&\n (parts[0].trim() === 'VERSION_ID' ||\n parts[0].trim() === 'DISTRIB_RELEASE')) {\n version = parts[1]\n .trim()\n .replace(/^\"/, '')\n .replace(/\"$/, '');\n break;\n }\n }\n }\n }\n return version;\n}\nexports._getOsVersion = _getOsVersion;\nfunction _readLinuxVersionFile() {\n const lsbReleaseFile = '/etc/lsb-release';\n const osReleaseFile = '/etc/os-release';\n let contents = '';\n if (fs.existsSync(lsbReleaseFile)) {\n contents = fs.readFileSync(lsbReleaseFile).toString();\n }\n else if (fs.existsSync(osReleaseFile)) {\n contents = fs.readFileSync(osReleaseFile).toString();\n }\n return contents;\n}\nexports._readLinuxVersionFile = _readLinuxVersionFile;\n//# sourceMappingURL=manifest.js.map","\"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\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RetryHelper = void 0;\nconst core = __importStar(require(\"@actions/core\"));\n/**\n * Internal class for retries\n */\nclass RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds) {\n if (maxAttempts < 1) {\n throw new Error('max attempts should be greater than or equal to 1');\n }\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) {\n throw new Error('min seconds should be less than or equal to max seconds');\n }\n }\n execute(action, isRetryable) {\n return __awaiter(this, void 0, void 0, function* () {\n let attempt = 1;\n while (attempt < this.maxAttempts) {\n // Try\n try {\n return yield action();\n }\n catch (err) {\n if (isRetryable && !isRetryable(err)) {\n throw err;\n }\n core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return (Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) +\n this.minSeconds);\n }\n sleep(seconds) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => setTimeout(resolve, seconds * 1000));\n });\n }\n}\nexports.RetryHelper = RetryHelper;\n//# sourceMappingURL=retry-helper.js.map","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n"],"names":["getProxyUrl","reqUrl","proxyUrl","proxyVar","usingSsl","protocol","checkBypass","process","env","URL","hostname","reqPort","noProxy","port","upperReqHosts","toUpperCase","push","upperNoProxyItem","split","map","x","trim","filter","some","downloadTool","url","dest","auth","headers","__awaiter","this","path","join","_getTempDirectory","v4_1","default","io","mkdirP","dirname","core","debug","minSeconds","_getGlobal","maxSeconds","retryHelper","retry_helper_1","RetryHelper","execute","downloadToolAttempt","err","HTTPError","httpStatusCode","fs","existsSync","Error","http","httpm","HttpClient","userAgent","allowRetries","authorization","response","get","message","statusCode","statusMessage","pipeline","util","promisify","stream","readStream","responseMessageFactory","succeeded","createWriteStream","rmRF","extract7z","file","_7zPath","assert_1","ok","IS_WINDOWS","_createExtractFolder","originalCwd","cwd","chdir","args","isDebug","options","silent","exec_1","exec","__dirname","replace","powershellPath","which","extractTar","flags","versionOutput","ignoreReturnCode","listeners","stdout","data","stderr","isGnuTar","includes","Array","destArg","fileArg","extractXar","IS_MAC","xarPath","_unique","extractZip","extractZipWin","extractZipNix","escapedFile","escapedDest","pwshPath","unzipPath","unshift","cacheDir","sourceDir","tool","version","arch","semver","clean","os","statSync","isDirectory","destPath","_createToolPath","itemName","readdirSync","s","cp","recursive","_completeToolPath","cacheFile","sourceFile","targetFile","isFile","destFolder","find","toolName","versionSpec","isExplicitVersion","evaluateVersions","findAllVersions","toolPath","cachePath","_getCacheDirectory","versions","children","child","fullPath","getManifestFromRepo","owner","repo","branch","releases","treeUrl","getJson","result","manifestUrl","item","tree","versionsRaw","readBody","JSON","parse","_a","findFromManifest","stable","manifest","archFilter","mm","_findMatch","folderPath","markerPath","writeFileSync","c","valid","length","i","sort","a","b","gt","potential","satisfies","cacheDirectory","tempDirectory","key","defaultValue","value","global","values","from","Set","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","obj","hasOwnProperty","call","defineProperty","descriptor","InlineTable","Object","defineProperties","_type","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","type","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","num","is","BigInt","Number","isSafeInteger","BoxedBigInt","isNaN","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","Date","makeParserClass","Parser","TOMLParser","constructor","super","ctx","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","kv","target","finalKey","pop","kw","valueOf","parseKeyword","recordAssignKeyword","state","resultTable","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","keyword","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","Infinity","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","replacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","displayCode","toString","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","codePoint","parseInt","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","createDate","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","createTime","parseOnlyTimeFraction","parseDateTimeFraction","createDateTime","createDateTimeFloat","parseTimeZoneHour","test","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","listType","valueType","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","prettyError","pos","line","msg","col","lines","lineNumWidth","Math","min","linePadding","ii","max","lineNum","hh","parseString","str","Buffer","isBuffer","parser","finish","parseAsync","opts","parseAsyncNext","index","blocksize","resolve","reject","slice","setImmediate","Promise","parseStream","stm","parseReadable","parseTransform","setEncoding","ended","readable","errored","once","readNext","read","Transform","objectMode","transform","chunk","encoding","cb","emit","flush","stringify","typeError","toJSON","stringifyObject","arrayOneTypeError","getInlineKeys","keys","isInline","getComplexKeys","nobj","isArray","prototype","prop","prefix","indent","inlineKeys","complexKeys","inlineIndent","forEach","stringifyKey","stringifyAnyInline","complexIndent","stringifyComplex","keyStr","stringifyBasicString","escapeString","stringifyLiteralString","numpad","codePointAt","stringifyMultilineString","escaped","multilineOk","stringifyInline","stringifyInteger","stringifyFloat","stringifyBoolean","stringifyDatetime","stringifyInlineArray","_","stringifyInlineTable","chunks","dec","toISOString","isNumber","arrayType","contentType","every","validateArray","stringified","stringifyArrayOfTables","stringifyComplexTable","firstValueType","fullKey","table","createSymlinkInFolder","sourceName","targetName","setExecutable","sourcePath","targetPath","require$$0$1","symlinkSync","chmodSync","validateVersion","isNightlyKeyword","semver.validRange","validRange","pypyVersion","getPyPyVersionFromPath","installDir","basename","readExactPyPyVersionFile","fileVersion","PYPY_VERSION_FILE","readFileSync","writeExactPyPyVersionFile","resolvedPyPyVersion","pypyFilePath","validatePythonVersionFormatForPyPy","async","getWindowsInfo","exec.getExecOutput","osName","osVersion","getMacOSInfo","getLinuxInfo","core.debug","getOSInfo","osInfo","IS_LINUX","installPyPy","pythonVersion","architecture","allowPreReleases","downloadDir","getAvailablePyPyVersions","releaseData","findRelease","foundAsset","resolvedPythonVersion","downloadUrl","download_url","core.info","pypyPath","tc.downloadTool","tc.extractZip","tc.extractTar","archiveName","toolDir","tc.cacheDir","binaryPath","getPyPyBinaryPath","createPyPySymlink","installPip","coreExports","info","tc.HTTPError","stack","httpm.HttpClient","pypyBinaryPath","semver.coerce","pythonBinaryPostfix","semver.major","pypyBinaryPostfix","pypyMajorMinorBinaryPostfix","semver.minor","binaryExtension","pythonLocation","pythonBinary","exec.exec","includePrerelease","filterReleases","isPythonVersionSatisfied","semver.satisfies","coerce","python_version","isPyPyVersionSatisfied","pypy_version","pypyVersionToSemantic","isArchPresent","files","isArchPresentForWindows","isArchPresentForMacOrLinux","platform","foundRelease","previous","current","semver.compare","compare","findAssetForWindows","findAssetForMacOrLinux","_binDir","replaceX32toX86","WINDOWS_PLATFORMS","findPyPyVersion","updateEnvironment","checkLatest","pypyVersionSpec","parsePyPyVersion","findPyPyToolCache","pypyInstall.installPyPy","pythonPath","pypyInstall.getPyPyBinaryPath","core.exportVariable","core.addPath","core.setOutput","findPyPyInstallDirForWindows","tc.find","splice","pypyInstall.pypyVersionToSemantic","WINDOWS_ARCHS","findReleaseFromManifest","semanticVersionSpec","getManifest","tc.findFromManifest","tc.getManifestFromRepo","MANIFEST_REPO_OWNER","MANIFEST_REPO_NAME","MANIFEST_REPO_BRANCH","AUTH","installPython","workingDirectory","LD_LIBRARY_PATH","core.error","installCpythonFromRelease","release","pythonExtractedFolder","binDir","useCpythonVersion","pythonVersionToSemantic","desugarDevVersion","installer.findReleaseFromManifest","installer.installCpythonFromRelease","installer.MANIFEST_URL","EOL","libPath","pyLibPath","major","minor","userScriptsDir","installed","versionFromPath","impl","parts","sep","idx","findIndex","part","isPyPyVersion","startsWith","setupActionsPython","_setupDir","AGENT_TOOLSDIRECTORY","agent_toolsdirectory","RUNNER_TOOL_CACHE","GITHUB_ACTIONS","addPythonLoggingMatcher","matcherPath","pathExists","warning","__createBinding","create","o","m","k","k2","enumerable","__setModuleDefault","v","__importStar","mod","__esModule","thisArg","_arguments","P","generator","fulfilled","step","e","rejected","done","then","apply","exports","_readLinuxVersionFile","_getOsVersion","require$$0","core_1","require$$1","require$$2","require$$3","require$$4","candidates","platFilter","match","candidate","chk","platform_version","module","assign","plat","execSync","lsbContents","lsbReleaseFile","osReleaseFile","contents","proxy","https","pm","tunnel","HttpCodes","Headers","MediaTypes","serverUrl","href","HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","RetryableHttpVerbs","HttpClientError","name","setPrototypeOf","HttpClientResponse","output","alloc","on","concat","isHttps","requestUrl","handlers","requestOptions","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","maxRetries","additionalHeaders","request","del","post","patch","put","head","sendStream","verb","Accept","_getExistingOrDefaultHeader","ApplicationJson","res","_processResponse","postJson","ContentType","putJson","patchJson","parsedUrl","_prepareRequest","maxTries","indexOf","numTries","requestRaw","Unauthorized","authenticationHandler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","header","toLowerCase","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","onResult","socket","byteLength","callbackCalled","handleResult","req","httpModule","sock","setTimeout","end","write","pipe","getAgent","_getAgent","method","defaultPort","host","pathname","search","_mergeHeaders","agent","handler","prepareRequest","lowercaseKeys","reduce","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","dateTimeDeserializer","NotFound","deserializeDates","__createBinding$1","maxAttempts","floor","action","isRetryable","attempt","core$1","seconds","getSleepAmount","sleep","random","__importDefault","toolCache","findFromManifest_1","getManifestFromRepo_1","find_1","cacheDir_1","extractZip_1","extractTar_1","downloadTool_1","HTTPError_1","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13","ParserEND","ParserError","filename","linenumber","code","captureStackTrace","State","returned","_buf","getNext","runOne","haveBuffer","last","fn","returnWith","createDatetime","date","TypeError","formatNum","d","f","FloatingDateTime","isFloating","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","createDatetimeFloat","DateTime","isDate","Time","isTime","tomlParserModule","fromTOML","wrapped","terr","Symbol","configurable","_custom","utilInspect","eval","custom","asIntN","parsePrettyError","parseString_1","parseAsync_1","parseStream_1","parseModule","stringifyModule","TOKEN","core.getInput","MANIFEST_URL","fileURLToPath"],"mappings":"AAEA,SAASA,YAAYC,GACb,IACAC,EAI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EjB,MAAMnZ,OAAS4pB,aACT1d,WAAa4d,kBiBHnByO,MAAA9O,QAAiBG,cACjB2O,MAAA9O,QAAApK,MAAuByK,aACvByO,MAAA9O,QAAAzpB,OAAwB+pB,cACxBwO,MAAA9O,QAAApS,YAA6B2S,8ChBH7BwO,YAAA/O,QAAiBnP,UACjBke,YAAA/O,QAAA3hB,MAAuBwU,gBCMV,MAAA3b,WAAkC,UAArBzE,QAAQmnB,SACrBtD,SAAgC,UAArB7jB,QAAQmnB,SACnB7gB,OAA8B,WAArBtG,QAAQmnB,SACjB2B,cAAgB,CAAC,MAAO,OACxBjB,kBAAoB,CAAC,QAAS,SACrChF,kBAAoB,eGNpB0Z,MAAQC,YAAAA,SAAc,SACtBjT,KAAQgT,MAAoB,SAASA,WAArB,EAChBnT,oBAAsB,UACtBC,mBAAqB,kBACrBC,qBAAuB,OAChBmT,aAAe,qCAAqCrT,uBAAuBC,sBAAsBC,8CEDxGvnB,QAA+B,iBAAdqD,UAAyBA,UAAY5D,cAAKO,QAAQ26B,0BAA0Bx7B,MAM7F8mB,aAAc","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23]} \ No newline at end of file diff --git a/dist/modern/assets/hdi-CLiriP2M.mjs b/dist/modern/assets/hdi-CLiriP2M.mjs new file mode 100644 index 00000000..e8212fe8 --- /dev/null +++ b/dist/modern/assets/hdi-CLiriP2M.mjs @@ -0,0 +1,2 @@ +function e(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}function t(e){return""!==e}function r(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function n(e){if(!e)return[];var n=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(t):[]}(e);return Object.keys(n.reduce(r,{}))}function a(e,t){for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}function i(e,t){var r=e.prototype;if(!(r instanceof t)){let n=function(){};n.prototype=t.prototype,n=new n,a(r,n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}function o(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,vt[e]),this.message=vt[e],Error.captureStackTrace&&Error.captureStackTrace(this,o);return r.code=e,t&&(this.message=this.message+": "+t),r}function s(){}function l(e,t){this._node=e,this._refresh=t,c(this)}function c(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(K(e,"length",r.length),!e.$$length||e.$$length>r.length)for(var n=r.length;n in e;n++)({}).hasOwnProperty.call(e,n)&&delete e[n];a(r,e),e._inc=t}}function u(){}function h(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function p(e,t,r,n){if(n?t[h(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var a=e.ownerDocument;a&&(n&&E(a,e,n),function(e,t,r){e&&e._inc++,r.namespaceURI===it.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}(a,e,r))}}function d(e,t,r){var n=h(t,r);if(0>n)throw new o(Nt,Error(e.tagName+"@"+r));for(var a=t.length-1;a>n;)t[n]=t[++n];if(t.length=a,e){var i=e.ownerDocument;i&&(E(i,e,r),r.ownerElement=null)}}function f(){}function m(){}function g(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function w(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(w(e,t))return!0}while(e=e.nextSibling)}function b(){this.ownerDocument=this}function E(e,t,r,n){e&&e._inc++,r.namespaceURI===it.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function v(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var a=t.firstChild,i=0;a;)n[i++]=a,a=a.nextSibling;n.length=i,delete n[n.length]}}}function y(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,v(e.ownerDocument,e),t}function N(e){return e&&e.nodeType===m.DOCUMENT_TYPE_NODE}function T(e){return e&&e.nodeType===m.ELEMENT_NODE}function x(e){return e&&e.nodeType===m.TEXT_NODE}function S(e,t){var r=e.childNodes||[];if(at(r,T)||N(t))return!1;var n=at(r,N);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function D(e,t){var r=e.childNodes||[];if(at(r,(function(e){return T(e)&&e!==t})))return!1;var n=at(r,N);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function A(e,t,r){var n=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===m.DOCUMENT_FRAGMENT_NODE){var i=a.filter(T);if(i.length>1||at(a,x))throw new o(yt,"More than one element or text in fragment");if(1===i.length&&!S(e,r))throw new o(yt,"Element in fragment can not be inserted before doctype")}if(T(t)&&!S(e,r))throw new o(yt,"Only one element can be added and only after doctype");if(N(t)){if(at(n,N))throw new o(yt,"Only one doctype is allowed");var s=at(n,T);if(r&&n.indexOf(s)1||at(a,x))throw new o(yt,"More than one element or text in fragment");if(1===i.length&&!D(e,r))throw new o(yt,"Element in fragment can not be inserted before doctype")}if(T(t)&&!D(e,r))throw new o(yt,"Only one element can be added and only after doctype");if(N(t)){if(at(n,(function(e){return N(e)&&e!==r})))throw new o(yt,"Only one doctype is allowed");var s=at(n,T);if(r&&n.indexOf(s)h;h++)if("xmlns"===i.item(h).name){u=i.item(h).value;break}if(!u)for(var p=a.length-1;p>=0;p--)if(""===(d=a[p]).prefix&&d.namespace===e.namespaceURI){u=d.namespace;break}if(u!==e.namespaceURI)for(p=a.length-1;p>=0;p--){var d;if((d=a[p]).namespace===e.namespaceURI){d.prefix&&(c=d.prefix+":"+l);break}}}t.push("<",c);for(var f=0;o>f;f++)"xmlns"==(m=i.item(f)).prefix?a.push({prefix:m.localName,namespace:m.value}):"xmlns"==m.nodeName&&a.push({prefix:"",namespace:m.value});for(f=0;o>f;f++){var m,w,b;G(m=i.item(f),0,a)&&(j(t,(w=m.prefix||"")?"xmlns:"+w:"xmlns",b=m.namespaceURI),a.push({prefix:w,namespace:b})),$(m,t,r,n,a)}if(l===c&&G(e,0,a)&&(j(t,(w=e.prefix||"")?"xmlns:"+w:"xmlns",b=e.namespaceURI),a.push({prefix:w,namespace:b})),s||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(t.push(">"),r&&/^script$/i.test(l))for(;s;)s.data?t.push(s.data):$(s,t,r,n,a.slice()),s=s.nextSibling;else for(;s;)$(s,t,r,n,a.slice()),s=s.nextSibling;t.push("")}else t.push("/>");return;case mt:case wt:for(s=e.firstChild;s;)$(s,t,r,n,a.slice()),s=s.nextSibling;return;case lt:return j(t,e.name,e.value);case ct:return t.push(e.data.replace(/[<&>]/g,g));case ut:return t.push("");case ft:return t.push("\x3c!--",e.data,"--\x3e");case gt:var E=e.publicId,v=e.systemId;if(t.push("");else if(v&&"."!=v)t.push(" SYSTEM ",v,">");else{var y=e.internalSubset;y&&t.push(" [",y,"]"),t.push(">")}return;case dt:return t.push("");case ht:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function z(e,t,r){var n;switch(t.nodeType){case st:(n=t.cloneNode(!1)).ownerDocument=e;case wt:break;case lt:r=!0}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,r)for(var a=t.firstChild;a;)n.appendChild(z(e,a,r)),a=a.nextSibling;return n}function Y(e,t,r){var n=new t.constructor;for(var a in t)if({}.hasOwnProperty.call(t,a)){var i=t[a];"object"!=typeof i&&i!=n[a]&&(n[a]=i)}switch(t.childNodes&&(n.childNodes=new s),n.ownerDocument=e,n.nodeType){case st:var o=t.attributes,l=n.attributes=new u,c=o.length;l._ownerElement=n;for(var h=0;c>h;h++)n.setAttributeNode(Y(e,o.item(h),!0));break;case lt:r=!0}if(r)for(var p=t.firstChild;p;)n.appendChild(Y(e,p,r)),p=p.nextSibling;return n}function K(e,t,r){e[t]=r}function Z(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,Z)}function J(){}function W(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function Q(e,t,r,n,a,i){function o(e,t,n){r.attributeNames.hasOwnProperty(e)&&i.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n)}for(var s,l=++t,c=It;;){var u=e.charAt(l);switch(u){case"=":if(c===kt)s=e.slice(t,l),c=Mt;else{if(c!==Ot)throw Error("attribute equal must after attrName");c=Mt}break;case"'":case'"':if(c===Mt||c===kt){if(c===kt&&(i.warning('attribute value must after "="'),s=e.slice(t,l)),0>=(l=e.indexOf(u,t=l+1)))throw Error("attribute value no end '"+u+"' match");o(s,h=e.slice(t,l),t-1),c=Pt}else{if(c!=Ut)throw Error('attribute value must after "="');o(s,h=e.slice(t,l),t),i.warning('attribute "'+s+'" missed start quot('+u+")!!"),t=l+1,c=Pt}break;case"/":switch(c){case It:r.setTagName(e.slice(t,l));case Pt:case Vt:case Ft:c=Ft,r.closed=!0;case Ut:case kt:break;case Ot:r.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),c==It&&r.setTagName(e.slice(t,l)),l;case">":switch(c){case It:r.setTagName(e.slice(t,l));case Pt:case Vt:case Ft:break;case Ut:case kt:"/"===(h=e.slice(t,l)).slice(-1)&&(r.closed=!0,h=h.slice(0,-1));case Ot:c===Ot&&(h=s),c==Ut?(i.warning('attribute "'+h+'" missed quot(")!'),o(s,h,t)):(qt.isHTML(n[""])&&h.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),o(h,h,t));break;case Mt:throw Error("attribute value missed!!")}return l;case"€":u=" ";default:if(u>" ")switch(c){case Ot:qt.isHTML(n[""])&&s.match(/^(?:disabled|checked|selected)$/i)||i.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),o(s,s,t),t=l,c=kt;break;case Pt:i.warning('attribute space is required"'+s+'"!!');case Vt:c=kt,t=l;break;case Mt:c=Ut,t=l;break;case Ft:throw Error("elements closed character '/' and '>' must be connected to")}else switch(c){case It:r.setTagName(e.slice(t,l)),c=Vt;break;case kt:s=e.slice(t,l),c=Ot;break;case Ut:var h=e.slice(t,l);i.warning('attribute "'+h+'" missed quot(")!!'),o(s,h,t);case Pt:c=Vt}}l++}}function ee(e,t,r){for(var n=e.tagName,a=null,i=e.length;i--;){var o=e[i],s=o.qName,l=o.value;if((p=s.indexOf(":"))>0)var c=o.prefix=s.slice(0,p),u=s.slice(p+1),h="xmlns"===c&&u;else u=s,c=null,h="xmlns"===s&&"";o.localName=u,!1!==h&&(null==a&&(a={},ne(r,r={})),r[h]=a[h]=l,o.uri=qt.XMLNS,t.startPrefixMapping(h,l))}for(i=e.length;i--;)(c=(o=e[i]).prefix)&&("xml"===c&&(o.uri=qt.XML),"xmlns"!==c&&(o.uri=r[c||""]));var p;(p=n.indexOf(":"))>0?(c=e.prefix=n.slice(0,p),u=e.localName=n.slice(p+1)):(c=null,u=e.localName=n);var d=e.uri=r[c||""];if(t.startElement(d,u,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=a,!0;if(t.endElement(d,u,n),a)for(c in a)({}).hasOwnProperty.call(a,c)&&t.endPrefixMapping(c)}function te(e,t,r,n,a){if(/^(?:script|textarea)$/i.test(r)){var i=e.indexOf("",t),o=e.substring(t+1,i);if(/[&<]/.test(o))return/^script$/i.test(r)?(a.characters(o,0,o.length),i):(o=o.replace(/&#?\w+;/g,n),a.characters(o,0,o.length),i)}return t+1}function re(e,t,r,n){var a=n[r];return null==a&&(t>(a=e.lastIndexOf(""))&&(a=e.lastIndexOf("a}function ne(e,t){for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}function ae(e,t,r,n){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(a=e.indexOf("--\x3e",t+4))>t?(r.comment(e,t+4,a-t-4),a+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var a=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,a-t-9),r.endCDATA(),a+3}var i=function(e,t){var r,n=[],a=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(a.lastIndex=t,a.exec(e);r=a.exec(e);)if(n.push(r),r[1])return n}(e,t),o=i.length;if(o>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;o>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=o>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var u=i[o-1];return r.startDTD(s,l,c),r.endDTD(),u.index+u[0].length}return-1}function ie(e,t,r){var n=e.indexOf("?>",t);if(n){var a=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return a?(r.processingInstruction(a[1],a[2]),n+2):-1}return-1}function oe(){this.attributeNames={}}function se(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function le(e){this.options=e||{locator:{}}}function ce(){this.cdata=!1}function ue(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function he(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function pe(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function de(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}function fe(e){let t=null,r=null;const n=[],a=new $t({locator:{},errorHandler:{warning:e=>{},error:e=>{n.push(e)},fatalError:e=>{n.push(e)}}}).parseFromString(e,"text/xml");if(n.length)throw Error("XML decode error: "+n[0]);const{childNodes:i}=a,o=a.documentElement||null;for(let s=0,l=i.length;l>s;s++){const e=i[s];if(e===o)break;const n=""+e;/^<\?xml[^>]*\?>$/.test(n)&&(t=n),/^]*>$/.test(n)&&(r=n)}if(!o)throw Error("XML decode error: No document element");return{declaration:t,doctype:r,documentElement:o}}function me(e){const{childNodes:t}=e,r=[];for(let n=0,a=t.length;a>n;n++){const a=t[n];if("tagName"in a){r.push(a);continue}const{nodeValue:i}=a;if(i&&!/^\s*$/.test(i))throw Error("Found text children of: "+e.tagName)}return r}function ge(e){const{childNodes:t}=e;let r=null;for(let n=0,a=t.length;a>n;n++){if(n)throw Error("Multiple child elements in: "+e.tagName);const a=t[n];if("tagName"in a||!("data"in a)||!("nodeValue"in a))throw Error("Unexpected child element in: "+e.tagName);r=a}return r}function we(e,t){if(e.tagName!==t)throw Error("Unexpected tagName: "+t)}function be(e){const t=e.length;let r="";for(let n=0;t>n;){const a=e[n++],i=t>n?e[n++]:null,o=t>n?e[n++]:null,s=a<<16|(i||0)<<8|(o||0);r+=Kt[s>>18]+Kt[s>>12&zt]+Kt[null===i?64:s>>6&zt]+Kt[null===o?64:s&zt]}return r}function Ee(e){if("number"==typeof e&&!Number.isInteger(e))throw Error("Value not an integer: "+e)}function ve(e){return e.replace(/\\/g,"/").replace(/([^/])\/+$/,"$1")}function ye(e){return Ie(e,"..namedfork","rsrc")}async function Ne(e,t){if(!wr)return;const r=await Be(e,mr|gr);try{await r.chmod(t)}finally{await r.close()}}async function Te(e,t,r){await He(e,t,r)}async function xe(e,t,r){if(!br)return;const n=await Be(e,mr|gr);try{await n.utimes(t,r)}finally{await n.close()}}async function Se(e,t){await Xe(e,t)}async function De(e){return(await Pe(e)).sort()}async function Ae(e){return Ve(e)}async function _e(e){try{return await Ae(e)}catch(t){const{code:e}=t;if("ENOENT"===e||"ENOTDIR"===e)return null;throw t}}async function qe(e,t,r={}){const{ignoreUnreadableDirectories:n}=r,a=(await De(e)).reverse();for(;a.length;){const r=a.pop(),o=Ie(e,r),s=await Ae(o),l=await t(r,s);if(null===l)break;if(!1===l||!s.isDirectory())continue;let c=[];try{c=await De(o)}catch(i){if(!i||!n||"EACCES"!==i.code)throw i}for(let e=c.length;e--;)a.push(Ie(r,c[e]))}}import{constants as Re,createWriteStream as Le,createReadStream as Ce}from"node:fs";import{join as Ie,resolve as ke,dirname as Oe,basename as Me}from"node:path";import{readlink as Ue,readdir as Pe,lstat as Ve,symlink as Fe,open as Be,utimes as He,chmod as Xe,rm as Ge,mkdir as je,writeFile as $e}from"node:fs/promises";import{Writable as ze,pipeline as Ye,Readable as Ke}from"node:stream";import{promisify as Ze}from"node:util";import{pipeline as Je}from"node:stream/promises";import{spawn as We,spawnSync as Qe}from"node:child_process";var et={},tt={},rt=e({HTML:"text/html",isHTML:function(e){return e===rt.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),nt=e({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===nt.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});tt.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},tt.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;e.length>n;n++)if({}.hasOwnProperty.call(e,n)){var a=e[n];if(t.call(void 0,a,n,e))return a}},tt.freeze=e,tt.MIME_TYPE=rt,tt.NAMESPACE=nt;var at=tt.find,it=tt.NAMESPACE,ot={},st=ot.ELEMENT_NODE=1,lt=ot.ATTRIBUTE_NODE=2,ct=ot.TEXT_NODE=3,ut=ot.CDATA_SECTION_NODE=4,ht=ot.ENTITY_REFERENCE_NODE=5,pt=ot.ENTITY_NODE=6,dt=ot.PROCESSING_INSTRUCTION_NODE=7,ft=ot.COMMENT_NODE=8,mt=ot.DOCUMENT_NODE=9,gt=ot.DOCUMENT_TYPE_NODE=10,wt=ot.DOCUMENT_FRAGMENT_NODE=11,bt=ot.NOTATION_NODE=12,Et={},vt={};Et.INDEX_SIZE_ERR=(vt[1]="Index size error",1),Et.DOMSTRING_SIZE_ERR=(vt[2]="DOMString size error",2);var yt=Et.HIERARCHY_REQUEST_ERR=(vt[3]="Hierarchy request error",3);Et.WRONG_DOCUMENT_ERR=(vt[4]="Wrong document",4),Et.INVALID_CHARACTER_ERR=(vt[5]="Invalid character",5),Et.NO_DATA_ALLOWED_ERR=(vt[6]="No data allowed",6),Et.NO_MODIFICATION_ALLOWED_ERR=(vt[7]="No modification allowed",7);var Nt=Et.NOT_FOUND_ERR=(vt[8]="Not found",8);Et.NOT_SUPPORTED_ERR=(vt[9]="Not supported",9);var Tt=Et.INUSE_ATTRIBUTE_ERR=(vt[10]="Attribute in use",10);Et.INVALID_STATE_ERR=(vt[11]="Invalid state",11),Et.SYNTAX_ERR=(vt[12]="Syntax error",12),Et.INVALID_MODIFICATION_ERR=(vt[13]="Invalid modification",13),Et.NAMESPACE_ERR=(vt[14]="Invalid namespace",14),Et.INVALID_ACCESS_ERR=(vt[15]="Invalid access",15),o.prototype=Error.prototype,a(Et,o),s.prototype={length:0,item:function(e){return e>=0&&this.length>e?this[e]:null},toString:function(e,t){for(var r=[],n=0;this.length>n;n++)$(this[n],r,e,t);return r.join("")},filter:function(e){return[].filter.call(this,e)},indexOf:function(e){return[].indexOf.call(this,e)}},l.prototype.item=function(e){return c(this),this[e]||null},i(l,s),u.prototype={length:0,item:s.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new o(Tt);var r=this.getNamedItem(e.nodeName);return p(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new o(Tt);return t=this.getNamedItemNS(e.namespaceURI,e.localName),p(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return d(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return d(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},f.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new b;if(n.implementation=this,n.childNodes=new s,n.doctype=r||null,r&&n.appendChild(r),t){var a=n.createElementNS(e,t);n.appendChild(a)}return n},createDocumentType:function(e,t,r){var n=new M;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},m.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return q(this,e,t)},replaceChild:function(e,t){q(this,e,t,_),t&&this.removeChild(t)},removeChild:function(e){return y(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Y(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==ct&&e.nodeType==ct?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if({}.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==lt?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&{}.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==lt?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},a(ot,m),a(ot,m.prototype),b.prototype={nodeName:"#document",nodeType:mt,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==wt){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return q(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===st&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),y(this,e)},replaceChild:function(e,t){q(this,e,t,_),e.ownerDocument=this,t&&this.removeChild(t),T(e)&&(this.documentElement=e)},importNode:function(e,t){return z(this,e,t)},getElementById:function(e){var t=null;return w(this.documentElement,(function(r){if(r.nodeType==st&&r.getAttribute("id")==e)return t=r,!0})),t},getElementsByClassName:function(e){var t=n(e);return new l(this,(function(r){var a=[];return t.length>0&&w(r.documentElement,(function(i){if(i!==r&&i.nodeType===st){var o=i.getAttribute("class");if(o){var s=e===o;if(!s){var l=n(o);s=t.every((c=l,function(e){return c&&-1!==c.indexOf(e)}))}s&&a.push(i)}}var c})),a}))},createElement:function(e){var t=new R;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new s,(t.attributes=new u)._ownerElement=t,t},createDocumentFragment:function(){var e=new F;return e.ownerDocument=this,e.childNodes=new s,e},createTextNode:function(e){var t=new I;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new k;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new O;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new B;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new L;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new V;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new R,n=t.split(":"),a=r.attributes=new u;return r.childNodes=new s,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,a._ownerElement=r,r},createAttributeNS:function(e,t){var r=new L,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},i(b,m),b.prototype.getElementsByTagName=(R.prototype={nodeType:st,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===wt?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,v(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new l(this,(function(t){var r=[];return w(t,(function(n){n===t||n.nodeType!=st||"*"!==e&&n.tagName!=e||r.push(n)})),r}))},getElementsByTagNameNS:function(e,t){return new l(this,(function(r){var n=[];return w(r,(function(a){a===r||a.nodeType!==st||"*"!==e&&a.namespaceURI!==e||"*"!==t&&a.localName!=t||n.push(a)})),n}))}}).getElementsByTagName,b.prototype.getElementsByTagNameNS=R.prototype.getElementsByTagNameNS,i(R,m),L.prototype.nodeType=lt,i(L,m),C.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){this.nodeValue=this.data=e=this.data+e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(vt[yt])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){var n=this.data.substring(0,e),a=this.data.substring(e+t);this.nodeValue=this.data=r=n+r+a,this.length=r.length}},i(C,m),I.prototype={nodeName:"#text",nodeType:ct,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},i(I,C),k.prototype={nodeName:"#comment",nodeType:ft},i(k,C),O.prototype={nodeName:"#cdata-section",nodeType:ut},i(O,C),M.prototype.nodeType=gt,i(M,m),U.prototype.nodeType=bt,i(U,m),P.prototype.nodeType=pt,i(P,m),V.prototype.nodeType=ht,i(V,m),F.prototype.nodeName="#document-fragment",F.prototype.nodeType=wt,i(F,m),B.prototype.nodeType=dt,i(B,m),H.prototype.serializeToString=function(e,t,r){return X.call(e,t,r)},m.prototype.toString=X;try{if(Object.defineProperty){let e=function(t){switch(t.nodeType){case st:case wt:var r=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&r.push(e(t)),t=t.nextSibling;return r.join("");default:return t.nodeValue}};Object.defineProperty(l.prototype,"length",{get:function(){return c(this),this.$$length}}),Object.defineProperty(m.prototype,"textContent",{get:function(){return e(this)},set:function(e){switch(this.nodeType){case st:case wt:for(;this.firstChild;)this.removeChild(this.firstChild);(e||e+"")&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),K=function(e,t,r){e["$$"+t]=r}}}catch(Dr){}et.DocumentType=M,et.DOMException=o,et.DOMImplementation=f,et.Element=R,et.Node=m,et.NodeList=s,et.XMLSerializer=H;var xt,St,Dt={},At={};(xt=At).XML_ENTITIES=(St=tt.freeze)({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),xt.HTML_ENTITIES=St({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),xt.entityMap=xt.HTML_ENTITIES;var _t={},qt=tt.NAMESPACE,Rt=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Lt=RegExp("[\\-\\.0-9"+Rt.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),Ct=RegExp("^"+Rt.source+Lt.source+"*(?::"+Rt.source+Lt.source+"*)?$"),It=0,kt=1,Ot=2,Mt=3,Ut=4,Pt=5,Vt=6,Ft=7;(Z.prototype=Error()).name=Z.name,J.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),ne(t,t={}),function(e,t,r,n,a){function i(e){var t,n=e.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"===n.charAt(0)?(t=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t):(a.error("entity not found:"+e),e)}function o(t){if(t>f){var r=e.substring(f,t).replace(/&#?\w+;/g,i);h&&s(f),n.characters(r,0,t-f),f=t}}function s(t,r){for(;t>=c&&(r=u.exec(e));)c=(l=r.index)+r[0].length,h.lineNumber++;h.columnNumber=t-l+1}for(var l=0,c=0,u=/.*(?:\r\n?|\n)|.*$/g,h=n.locator,p=[{currentNSMap:t}],d={},f=0;;){try{var m=e.indexOf("<",f);if(0>m){if(!e.substr(f).match(/^\s*$/)){var g=n.doc,w=g.createTextNode(e.substr(f));g.appendChild(w),n.currentElement=w}return}switch(m>f&&o(m),e.charAt(m+1)){case"/":var b=e.indexOf(">",m+3),E=e.substring(m+2,b).replace(/[ \t\n\r]+$/g,""),v=p.pop();0>b?(E=e.substring(m+2).replace(/[\s<].*/,""),a.error("end tag name: "+E+" is not complete:"+v.tagName),b=m+1+E.length):E.match(/\s_;_++){var q=x[_];s(q.offset),q.locator=W(h,{})}n.locator=A,ee(x,n,S)&&p.push(x),n.locator=h}else ee(x,n,S)&&p.push(x);qt.isHTML(x.uri)&&!x.closed?b=te(e,b,x.tagName,i,n):b++}}catch(Dr){if(Dr instanceof Z)throw Dr;a.error("element parse error: "+Dr),b=-1}b>f?f=b:o(Math.max(m,f)+1)}}(e,t,r,n,this.errorHandler),n.endDocument()}},oe.prototype={setTagName:function(e){if(!Ct.test(e))throw Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!Ct.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},_t.XMLReader=J,_t.ParseError=Z;var Bt=At,Ht=et.DOMImplementation,Xt=tt.NAMESPACE,Gt=_t.ParseError,jt=_t.XMLReader;le.prototype.parseFromString=function(e,t){var r=this.options,n=new jt,a=r.domBuilder||new ce,i=r.errorHandler,o=r.locator,s=r.xmlns||{},l=/\/x?html?$/.test(t),c=l?Bt.HTML_ENTITIES:Bt.XML_ENTITIES;return o&&a.setDocumentLocator(o),n.errorHandler=function(e,t,r){function n(t){var n=e[t];!n&&i&&(n=2==e.length?function(r){e(t,r)}:e),a[t]=n&&function(e){n("[xmldom "+t+"]\t"+e+he(r))}||function(){}}if(!e){if(t instanceof ce)return t;e=t}var a={},i=e instanceof Function;return r=r||{},n("warning"),n("error"),n("fatalError"),a}(i,a,o),n.domBuilder=r.domBuilder||a,l&&(s[""]=Xt.HTML),s.xml=s.xml||Xt.XML,e&&"string"==typeof e?n.parse((r.normalizeLineEndings||se)(e),s,c):n.errorHandler.error("invalid doc source"),a.doc},ce.prototype={startDocument:function(){this.doc=(new Ht).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var a=this.doc,i=a.createElementNS(e,r||t),o=n.length;de(this,i),this.currentElement=i,this.locator&&ue(this.locator,i);for(var s=0;o>s;s++){e=n.getURI(s);var l=n.getValue(s),c=(r=n.getQName(s),a.createAttributeNS(e,r));this.locator&&ue(n.getLocator(s),c),c.value=c.nodeValue=l,i.setAttributeNode(c)}},endElement:function(e,t,r){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&ue(this.locator,r),de(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=pe.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&ue(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=pe.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&ue(this.locator,n),de(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var a=n.createDocumentType(e,t,r);this.locator&&ue(this.locator,a),de(this,a),this.doc.doctype=a}},warning:function(e){console.warn("[xmldom warning]\t"+e,he(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,he(this.locator))},fatalError:function(e){throw new Gt(e,this.locator)}},Dt.__DOMHandler=ce,Dt.normalizeLineEndings=se,Dt.DOMParser=le;var $t=Dt.DOMParser;const zt=63,Yt=255,Kt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Zt=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],Jt="\t",Wt="\n";class Qt{constructor(){}get type(){return this.constructor.TYPE}castTo(e){return this.type===e.TYPE?this:null}castAs(e){const t=this.castTo(e);if(!t)throw Error(`Cannot cast type '${this.type}' to '${e.TYPE}'`);return t}fromXml(e){const{documentElement:t}=fe(e);this.fromXmlElement(t)}}class er extends Qt{static TYPE="boolean";static TAG_NAMES=["true","false"];value=!1;constructor(e=!1){super(),this.value=e}fromXmlElement(e){switch(function(e){const{childNodes:t}=e;if(t.length)throw Error("Unexpected child nodes: "+e.tagName)}(e),e.tagName){case"true":return void(this.value=!0);case"false":return void(this.value=!1);default:throw we(e,"")}}toXml(e=null,t=0){const r=(e?.indentString??Jt).repeat(t);return this.value?r+"":r+""}}class tr extends Qt{static TYPE="data";static TAG_NAMES=["data"];constructor(e=new Uint8Array(0)){super(),this.value=e}fromXmlElement(e){we(e,"data");const t=ge(e)?.nodeValue||"";this.value=function(e){const t=e.length,r=[];e:for(let n,a,i,o,s,l,c=0;t>c;){for(;;){if((s=Zt[e.charCodeAt(c++)])>=0){n=s;break}if(c>=t)break e}for(;;){if((s=Zt[e.charCodeAt(c++)])>=0){a=s;break}if(c>=t)break e}for(;;){if((s=Zt[e.charCodeAt(c++)])>=0){i=s;break}if(c>=t)break e}for(;;){if((s=Zt[e.charCodeAt(c++)])>=0){o=s;break}if(c>=t)break e}switch(l=(n&zt)<<18|(a&zt)<<12|(i&zt)<<6|o&zt,i>zt?o>zt?2:0:o>zt?1:0){case 0:r.push(l>>16&Yt,l>>8&Yt,l&Yt);break;case 1:r.push(l>>16&Yt,l>>8&Yt);break;case 2:r.push(l>>16&Yt)}}return new Uint8Array(r)}(t)}toXml(e=null,t=0){const r=e?.newlineString??Wt,n=e?.dataColumns??68,a=(e?.indentString??Jt).repeat(t);let i=a+"";if(n>0)for(let o=be(this.value);o;o=o.slice(n))i+=`${r}${a}${o.slice(0,n)}`;else i+=`${r}${a}${be(this.value)}`;return i+=`${r}${a}`,i}}const rr=9007199254740991;class nr extends Qt{static TYPE="integer";static TAG_NAMES=["integer"];value=0;constructor(e=0){super(),Ee(e),this.value=e}asBigInt(){return BigInt(this.value)}asNumber(){return+this.value}fromXmlElement(e){we(e,"integer");const t=ge(e)?.nodeValue||"";if(!/^[+-]?\d+$/.test(t))throw Error("Invalid integer data: "+t);const r=+t;this.value=r>rr||-rr>r?BigInt(t):r}toXml(e=null,t=0){const r=(e?.indentString??Jt).repeat(t),n=this.value;return Ee(n),`${r}${n}`}}class ar extends Qt{static TYPE="real";static TAG_NAMES=["real"];value=0;constructor(e=0){super(),this.value=e}fromXmlElement(e){we(e,"real");const t=ge(e)?.nodeValue||"";if(!/^[+-]?(\d+|\d*\.\d+)$/.test(t))throw Error("Invalid real data: "+t);this.value=+t}toXml(e=null,t=0){return`${(e?.indentString??Jt).repeat(t)}${this.value}`}}class ir extends Qt{static TYPE="string";static TAG_NAMES=["string"];value="";constructor(e=""){super(),this.value=e}fromXmlElement(e){we(e,"string"),this.value=ge(e)?.nodeValue||""}toXml(e=null,t=0){return`${(e?.indentString??Jt).repeat(t)}${this.value.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">")}`}}let or,sr;class lr extends Qt{static TYPE="dict";static TAG_NAMES=["dict"];static get CHILD_TAG_NAMES(){if(!or){or=new Map;for(const e of[cr,er,tr,lr,nr,ar,ir])for(const t of e.TAG_NAMES)or.set(t,e)}return or}value=new Map;constructor(e=new Map){super(),this.value=e}get size(){return this.value.size}has(e){return this.value.has(e)}get(e){return this.value.get(e)||null}getValue(e){const t=this.get(e);if(!t)throw Error("Key is null: "+e);return t}set(e,t){this.value.set(e,t)}delete(e){this.value.delete(e)}clear(){this.value.clear()}fromXmlElement(e){we(e,"dict");const t=me(e),r=t.length;if(r%2)throw Error("Uneven number of child elements: "+r);const n=new Map;for(let a=0;r>a;a+=2){const e=t[a],r=t[a+1];we(e,"key");const i=ge(e)?.nodeValue||"",o=this.childFromXmlElement(r);n.set(i,o)}this.value=n}childFromXmlElement(e){const{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);const a=new n;return a.fromXmlElement(e),a}toXml(e=null,t=0){const r=e?.indentString??Jt,n=e?.newlineString??Wt,a=r.repeat(t),i=this.value;if(!i.size)return a+"";const o=r.repeat(t+1);let s=a+"";for(const[l,c]of i)s+=`${n}${o}${l.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">")}${n}${c.toXml(e,t+1)}`;return s+=`${n}${a}`,s}}class cr extends Qt{static TYPE="array";static TAG_NAMES=["array"];static get CHILD_TAG_NAMES(){if(!sr){sr=new Map;for(const e of[cr,er,tr,lr,nr,ar,ir])for(const t of e.TAG_NAMES)sr.set(t,e)}return sr}value=[];constructor(e=[]){super(),this.value=e}get length(){return this.value.length}get(e){const{value:t}=this;return this.length>e?t[e]:null}getValue(e){const t=this.get(e);if(!t)throw Error("Index out of bounds: "+e);return t}set(e,t){this.value[e]=t}push(...e){this.value.push(...e)}pop(){return this.value.pop()||null}popValue(){const e=this.pop();if(!e)throw Error("Cannot pop empty array");return e}shift(){return this.value.shift()||null}shiftValue(){const e=this.shift();if(!e)throw Error("Cannot shift empty array");return e}fromXmlElement(e){we(e,"array");const t=me(e);this.value=t.map((e=>this.childFromXmlElement(e)))}childFromXmlElement(e){const{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);const a=new n;return a.fromXmlElement(e),a}toXml(e=null,t=0){const r=e?.newlineString??Wt,n=(e?.indentString??Jt).repeat(t),a=this.value;if(!a.length)return n+"";let i=n+"";for(const o of a)i+=`${r}${o.toXml(e,t+1)}`;return i+=`${r}${n}`,i}}const ur='',hr='';class pr{static XML_DECLARATION=ur;static XML_DOCTYPE=hr;xmlDeclaration=ur;xmlDoctype=hr;value=null;constructor(e=null){this.value=e}getValue(){const{value:e}=this;if(!e)throw Error("Value is null");return e}valueCastTo(e){const{value:t}=this;return t?t.castTo(e):null}valueCastAs(e){const t=this.valueCastTo(e);if(!t)throw Error(`Cannot cast value to type '${e.TYPE}'`);return t}fromXml(e){const{declaration:t,doctype:r,documentElement:n}=fe(e);this.fromXmlElement(n,t,r)}fromXmlElement(e,t=null,r=null){const{tagName:n}=e;if("plist"!==n)throw Error("Unexpected root plist tag name: "+n);const a=me(e),i=a.length;if(i>1)throw Error("Multiple root plist child tag: "+i);this.value=i?this.childFromXmlElement(a[0]):null,this.xmlDeclaration=t||"",this.xmlDoctype=r||""}childFromXmlElement(e){return(new lr).childFromXmlElement(e)}toXml(e=null){const t=e?.indentRoot??!1,r=e?.newlineString??Wt,n=this.value;return[...[this.xmlDeclaration,this.xmlDoctype].filter(Boolean),'',...n?[n.toXml(e,t?1:0)]:[],"",""].join(r)}}class dr{constructor(e=null){this.hdiutil=(e?e.hdiutil:null)||"hdiutil"}async attach(e,t=null,r=null){const n=await this._runAttach(this._argsAttach(e,t)),{eject:a,ejectSync:i}=this._createEjects(n);return{devices:n,eject:a,ejectSync:i}}attachSync(e,t=null,r=null){const n=this._runAttachSync(this._argsAttach(e,t)),{eject:a,ejectSync:i}=this._createEjects(n);return{devices:n,eject:a,ejectSync:i}}async eject(e,t=null){await this._runEject(this._argsEject(e,t))}ejectSync(e,t=null){this._runEjectSync(this._argsEject(e,t))}_argsAttach(e,t=null){const r=["attach","-plist"];return t&&(t.readonly&&r.push("-readonly"),t.nobrowse&&r.push("-nobrowse")),r.push(this._fileArg(e)),r}_argsEject(e,t=null){const r=["eject"];return t&&t.force&&r.push("-force"),r.push(this._fileArg(e)),r}async _runAttach(e){const t=[],r=We(this.hdiutil,e);r.stdout.on("data",(e=>{t.push(e)}));const n=await new Promise(((e,t)=>{r.once("exit",e),r.once("error",t)}));if(n)throw Error("Attach failed: hdiutil exit code: "+n);return this._parseDevices(""+Buffer.concat(t))}_runAttachSync(e){const{status:t,error:r,stdout:n}=Qe(this.hdiutil,e);if(r)throw r;if(t)throw Error("Attach failed: hdiutil exit code: "+t);return this._parseDevices(""+n)}async _runEject(e){const t=We(this.hdiutil,e),r=await new Promise(((e,r)=>{t.once("exit",e),t.once("error",r)}));if(r)throw Error("Eject failed: hdiutil exit code: "+r)}_runEjectSync(e){const{status:t,error:r}=Qe(this.hdiutil,e);if(r)throw r;if(t)throw Error("Eject failed: hdiutil exit code: "+t)}_fileArg(e){return e.startsWith("-")?"./"+e:e}_parseDevices(e){const t=new pr;t.fromXml(e);const r=t.valueCastAs(lr).getValue("system-entities").castAs(cr),n=[];for(const a of r.value){const e=a.castAs(lr),t=e.getValue("dev-entry").castAs(ir).value,r=e.getValue("potentially-mountable").castAs(er).value,i=e.get("content-hint"),o=e.get("unmapped-content-hint"),s=e.get("volume-kind"),l=e.get("mount-point"),c={devEntry:t,potentiallyMountable:r};i&&(c.contentHint=i.castAs(ir).value),o&&(c.unmappedContentHint=o.castAs(ir).value),s&&(c.volumeKind=s.castAs(ir).value),l&&(c.mountPoint=l.castAs(ir).value),n.push(c)}return n}_findRootDevice(e){let t=null;for(const r of e)(null===t||t.devEntry.length>r.devEntry.length)&&(t=r);return t}_createEjects(e,t=null){let r=this._findRootDevice(e)?.devEntry,n=null;const a={eject:async(e=null)=>{r&&(await this.eject(r,e),r="",n&&process.off("exit",n))},ejectSync:(e=null)=>{r&&(this.ejectSync(r,e),r="",n&&process.off("exit",n))}};return t&&(n=()=>{a.ejectSync(t)},process.once("exit",n)),a}}let fr=function(e){return e.DIRECTORY="directory",e.FILE="file",e.SYMLINK="symlink",e.RESOURCE_FORK="resource-fork",e}({});const{O_WRONLY:mr,O_SYMLINK:gr}=Re,wr=!!gr,br=!!gr,Er=Ze(Ye);class vr{_triggering=!1;_triggered=!1;_extracted=!1;constructor(e){this.archive=e.archive,this.type=e.type,this.pathRaw=e.pathRaw,this.path=ve(e.pathRaw),this.size=e.size??null,this.sizeComp=e.sizeComp??null,this.mode=e.mode??null,this.uid=e.uid??null,this.gid=e.gid??null,this.uname=e.uname??null,this.gname=e.gname??null,this.atime=e.atime??null,this.mtime=e.mtime??null,this._readData=e.readData??null,this._readRsrc=e.readRsrc??null,this._readSymlink=e.readSymlink??null}get hasNamedVolume(){return this.archive.hasNamedVolumes}get volumeName(){if(this.hasNamedVolume){const{path:e}=this;return e.substring(0,e.indexOf("/"))}return null}get volumePath(){const{path:e}=this;return this.hasNamedVolume?e.substring(e.indexOf("/")+1):e}async stream(){return this._beginExtract(),this._stream()}async read(){this._beginExtract();const e=await this._stream();return e?async function(e){const t=[];let r=0;return await Je(e,new ze({write:(e,n,a)=>{t.push(e),r+=e.length,a()}})),Buffer.concat(t,r)}(e):null}async extract(e,t={}){this._beginExtract(),await this._extract(e,t)}async trigger(e){let t;if(this._triggered)throw Error("Archive entry already triggered");this._triggered=this._triggering=!0;try{t=await e(this)}finally{this._triggering=!1}return t}async setAttributes(e,t=null,r={}){const n=null===t?e:t,{ignorePermissions:a,ignoreTimes:i}=r,{type:o,mode:s,atime:l,mtime:c}=this;let u=!1;switch(o){case fr.FILE:case fr.RESOURCE_FORK:case fr.DIRECTORY:break;case fr.SYMLINK:u=!0;break;default:throw Error("Unsupported path type: "+o)}const h=l||c||null,p=c||l||null;if(!a&&null!==s){const e=u?Ne:Se,t=function(e){return 511&e}(s);await e(n,t)}if(!i&&h&&p){const e=u?xe:Te;await e(n,h,p)}}_beginExtract(){if(!this._triggering)throw Error("Archive entry is not active");if(this._extracted)throw Error("Archive entry can only be extracted once");this._extracted=!0}_errorExtractPathExists(e){return Error("Extract path already exists: "+e)}_errorNoResourceFork(e){return Error("Extract path for resource fork not a file: "+e)}async _extract(e,t){this.archive.afterReadSetAttributesRemove(e);const{type:r}=this;switch(r){case fr.FILE:await this._extractFile(e,t);break;case fr.RESOURCE_FORK:await this._extractResourceFork(e,t);break;case fr.DIRECTORY:await this._extractDirectory(e,t);break;case fr.SYMLINK:await this._extractSymlink(e,t);break;default:throw Error("Unsupported path type: "+r)}}async _extractStreamToFile(e,t,r){const{replace:n}=r;if(await _e(e)){if(!n)throw this._errorExtractPathExists(e);await Ge(e,{recursive:!0,force:!0})}else await je(Oe(e),{recursive:!0});await $e(e,Buffer.alloc(0));const a=await t();a&&await Er(a,Le(e)),await this.setAttributes(e,null,r)}async _extractFile(e,t){const r=this._readData;if(!r)throw Error("Internal error");await this._extractStreamToFile(e,r,t)}async _extractResourceFork(e,t){const r=this._readRsrc;if(!r)throw Error("Internal error");if(t.resourceForkAsFile)return void(await this._extractStreamToFile(e,r,t));const n=await _e(e);if(!n||!n.isFile())throw this._errorNoResourceFork(e);const a=ye(e),i=await r();i?await Er(i,Le(a)):await $e(a,Buffer.alloc(0)),await this.setAttributes(e,null,t)}async _extractDirectory(e,t){const{replace:r}=t,n=await _e(e);if(n){if(!n.isDirectory()){if(!r)throw this._errorExtractPathExists(e);await Ge(e,{recursive:!0,force:!0}),await je(e,{recursive:!0})}}else await je(e,{recursive:!0});this.archive.afterReadSetAttributes(e,this,{...t})}async _extractSymlink(e,t){const r=this._readSymlink;if(!r)throw Error("Internal error");const{replace:n,symlinkAsFile:a}=t;if(await _e(e)){if(!n)throw this._errorExtractPathExists(e);await Ge(e,{recursive:!0,force:!0})}else await je(Oe(e),{recursive:!0});const i=await r();a?await $e(e,i):await async function(e,t){await Fe(t,e)}(e,i),await this.setAttributes(e,null,t)}async _stream(){const{type:e}=this;switch(e){case fr.FILE:return this._streamFile();case fr.RESOURCE_FORK:return this._streamResourceFork();case fr.DIRECTORY:return this._streamDirectory();case fr.SYMLINK:return this._streamSymlink();default:throw Error("Unsupported path type: "+e)}}async _streamFile(){const e=this._readData;if(!e)throw Error("Internal error");return e()}async _streamResourceFork(){const e=this._readRsrc;if(!e)throw Error("Internal error");return e()}async _streamDirectory(){return null}async _streamSymlink(){const e=this._readSymlink;if(!e)throw Error("Internal error");const t=new Ke({read:()=>{e().then((e=>{t.push(e),t.push(null)}),(e=>{t.emit("error",e)}))}});return t}}class yr{static FILE_EXTENSIONS=null;static HAS_NAMED_VOLUMES=!1;Entry=vr;_reading=!1;_afterReadSetAttributes=null;constructor(e){this.path=e}get fileExtensions(){return this.constructor.FILE_EXTENSIONS||null}get hasNamedVolumes(){return this.constructor.HAS_NAMED_VOLUMES}afterReadSetAttributes(e,t,r={}){const n=this._afterReadSetAttributes;if(!n)throw Error("Archive after read callbacks can only be added while reading");n.set(ke(e),{path:e,entry:t,options:r})}afterReadSetAttributesRemove(e){const t=this._afterReadSetAttributes;if(!t)throw Error("Archive after read callbacks can only be removed while reading");t.delete(ke(e))}async read(e){if(this._reading)throw Error("Archive already being read");this._reading=!0,this._afterReadSetAttributes=new Map;try{await this._read(e),await this._afterReadSetAttributesTrigger()}finally{this._afterReadSetAttributes=null,this._reading=!1}}async _afterReadSetAttributesTrigger(){const e=this._afterReadSetAttributes;if(!e)return;const t=[];for(const[r]of e)t.push(r);t.sort(((e,t)=>t.length-e.length));for(const r of t){const t=e.get(r);if(!t)throw Error("Internal error");const{entry:n,path:a,options:i}=t;await n.setAttributes(a,r,i)}}}const Nr={ignoreUnreadableDirectories:!0},Tr={force:!0};class xr extends vr{sizeComp=null;uname=null;gname=null;constructor(e){super(e),this.archive=e.archive,this.size=e.size,this.mode=e.mode,this.uid=e.uid,this.gid=e.gid,this.atime=e.atime,this.mtime=e.mtime}get rsrcPathRaw(){return ye(this.pathRaw)}get rsrcPath(){return ve(ye(this.path))}}class Sr extends yr{static FILE_EXTENSIONS=[".dmg",".iso",".cdr"];static HAS_NAMED_VOLUMES=!0;Entry=xr;mounterMac=new dr;nobrowse=!1;constructor(e){super(e)}async read(e){await super.read(e)}async _read(e){const{mounterMac:t,nobrowse:r}=this,n=async(t,r,n)=>{const a=function(e){return e.isSymbolicLink()?fr.SYMLINK:e.isDirectory()?fr.DIRECTORY:e.isFile()?fr.FILE:null}(n);if(null===a)return!0;const{size:i,mode:o,uid:s,gid:l,atime:c,mtime:u}=n,h=new this.Entry({archive:this,type:a,pathRaw:r,size:i,mode:o,uid:s,gid:l,atime:c,mtime:u,readData:a===fr.FILE?async()=>Ce(t):null,readSymlink:a===fr.SYMLINK?async()=>async function(e){return Ue(e,"buffer")}(t):null}),p=await h.trigger(e);if(!1===p)return null;if(null===p)return!1;if(a===fr.FILE){const n=ye(t),a=await _e(n);if(a){const t=new this.Entry({archive:this,type:fr.RESOURCE_FORK,pathRaw:r,size:a.size,mode:o,uid:s,gid:l,atime:c,mtime:u,readRsrc:async()=>Ce(n)}),i=await t.trigger(e);if(!1===i)return null;if(null===i)return!1}}return!0},a=await t.attach(this.path,{nobrowse:r,readonly:!0},Tr);try{for(const e of a.devices){const{mountPoint:t}=e;if(!t)continue;const r=Me(t);await qe(t,(async(e,a)=>{const i=Ie(t,e),o=Ie(r,e);return n(i,o,a)}),Nr)}}finally{await a.eject(Tr)}}}export{Sr as ArchiveHdi,xr as EntryHdi}; +//# sourceMappingURL=hdi-CLiriP2M.mjs.map diff --git a/dist/modern/assets/hdi-CLiriP2M.mjs.map b/dist/modern/assets/hdi-CLiriP2M.mjs.map new file mode 100644 index 00000000..2764dd81 --- /dev/null +++ b/dist/modern/assets/hdi-CLiriP2M.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"hdi-CLiriP2M.mjs","sources":["../../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/conventions.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/sax.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom-parser.js","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/util.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/integer.mjs","../../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/util.mjs","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/entities.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/index.js","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/options.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/boolean.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/data.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/real.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/string.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/dict.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/array.mjs","../../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/plist.mjs","../../../node_modules/.pnpm/@shockpkg+hdi-mac@3.1.4/node_modules/@shockpkg/hdi-mac/esm/mounter.mjs","../../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/types.mjs","../../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/archive.mjs","../../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/archive/hdi.mjs"],"sourcesContent":["'use strict'\n\n/**\n * Ponyfill for `Array.prototype.find` which is only available in ES6 runtimes.\n *\n * Works with anything that has a `length` property and index access properties, including NodeList.\n *\n * @template {unknown} T\n * @param {Array | ({length:number, [number]: T})} list\n * @param {function (item: T, index: number, list:Array | ({length:number, [number]: T})):boolean} predicate\n * @param {Partial>?} ac `Array.prototype` by default,\n * \t\t\t\tallows injecting a custom implementation in tests\n * @returns {T | undefined}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n * @see https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.find\n */\nfunction find(list, predicate, ac) {\n\tif (ac === undefined) {\n\t\tac = Array.prototype;\n\t}\n\tif (list && typeof ac.find === 'function') {\n\t\treturn ac.find.call(list, predicate);\n\t}\n\tfor (var i = 0; i < list.length; i++) {\n\t\tif (Object.prototype.hasOwnProperty.call(list, i)) {\n\t\t\tvar item = list[i];\n\t\t\tif (predicate.call(undefined, item, i, list)) {\n\t\t\t\treturn item;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * \"Shallow freezes\" an object to render it immutable.\n * Uses `Object.freeze` if available,\n * otherwise the immutability is only in the type.\n *\n * Is used to create \"enum like\" objects.\n *\n * @template T\n * @param {T} object the object to freeze\n * @param {Pick = Object} oc `Object` by default,\n * \t\t\t\tallows to inject custom object constructor for tests\n * @returns {Readonly}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n */\nfunction freeze(object, oc) {\n\tif (oc === undefined) {\n\t\toc = Object\n\t}\n\treturn oc && typeof oc.freeze === 'function' ? oc.freeze(object) : object\n}\n\n/**\n * Since we can not rely on `Object.assign` we provide a simplified version\n * that is sufficient for our needs.\n *\n * @param {Object} target\n * @param {Object | null | undefined} source\n *\n * @returns {Object} target\n * @throws TypeError if target is not an object\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n * @see https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.assign\n */\nfunction assign(target, source) {\n\tif (target === null || typeof target !== 'object') {\n\t\tthrow new TypeError('target is not an object')\n\t}\n\tfor (var key in source) {\n\t\tif (Object.prototype.hasOwnProperty.call(source, key)) {\n\t\t\ttarget[key] = source[key]\n\t\t}\n\t}\n\treturn target\n}\n\n/**\n * All mime types that are allowed as input to `DOMParser.parseFromString`\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#Argument02 MDN\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparsersupportedtype WHATWG HTML Spec\n * @see DOMParser.prototype.parseFromString\n */\nvar MIME_TYPE = freeze({\n\t/**\n\t * `text/html`, the only mime type that triggers treating an XML document as HTML.\n\t *\n\t * @see DOMParser.SupportedType.isHTML\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec\n\t */\n\tHTML: 'text/html',\n\n\t/**\n\t * Helper method to check a mime type if it indicates an HTML document\n\t *\n\t * @param {string} [value]\n\t * @returns {boolean}\n\t *\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring \t */\n\tisHTML: function (value) {\n\t\treturn value === MIME_TYPE.HTML\n\t},\n\n\t/**\n\t * `application/xml`, the standard mime type for XML documents.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */\n\tXML_APPLICATION: 'application/xml',\n\n\t/**\n\t * `text/html`, an alias for `application/xml`.\n\t *\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303\n\t * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */\n\tXML_TEXT: 'text/xml',\n\n\t/**\n\t * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,\n\t * but is parsed as an XML document.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec\n\t * @see https://en.wikipedia.org/wiki/XHTML Wikipedia\n\t */\n\tXML_XHTML_APPLICATION: 'application/xhtml+xml',\n\n\t/**\n\t * `image/svg+xml`,\n\t *\n\t * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration\n\t * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1\n\t * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia\n\t */\n\tXML_SVG_IMAGE: 'image/svg+xml',\n})\n\n/**\n * Namespaces that are used in this code base.\n *\n * @see http://www.w3.org/TR/REC-xml-names\n */\nvar NAMESPACE = freeze({\n\t/**\n\t * The XHTML namespace.\n\t *\n\t * @see http://www.w3.org/1999/xhtml\n\t */\n\tHTML: 'http://www.w3.org/1999/xhtml',\n\n\t/**\n\t * Checks if `uri` equals `NAMESPACE.HTML`.\n\t *\n\t * @param {string} [uri]\n\t *\n\t * @see NAMESPACE.HTML\n\t */\n\tisHTML: function (uri) {\n\t\treturn uri === NAMESPACE.HTML\n\t},\n\n\t/**\n\t * The SVG namespace.\n\t *\n\t * @see http://www.w3.org/2000/svg\n\t */\n\tSVG: 'http://www.w3.org/2000/svg',\n\n\t/**\n\t * The `xml:` namespace.\n\t *\n\t * @see http://www.w3.org/XML/1998/namespace\n\t */\n\tXML: 'http://www.w3.org/XML/1998/namespace',\n\n\t/**\n\t * The `xmlns:` namespace\n\t *\n\t * @see https://www.w3.org/2000/xmlns/\n\t */\n\tXMLNS: 'http://www.w3.org/2000/xmlns/',\n})\n\nexports.assign = assign;\nexports.find = find;\nexports.freeze = freeze;\nexports.MIME_TYPE = MIME_TYPE;\nexports.NAMESPACE = NAMESPACE;\n","var conventions = require(\"./conventions\");\n\nvar find = conventions.find;\nvar NAMESPACE = conventions.NAMESPACE;\n\n/**\n * A prerequisite for `[].filter`, to drop elements that are empty\n * @param {string} input\n * @returns {boolean}\n */\nfunction notEmptyString (input) {\n\treturn input !== ''\n}\n/**\n * @see https://infra.spec.whatwg.org/#split-on-ascii-whitespace\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * @param {string} input\n * @returns {string[]} (can be empty)\n */\nfunction splitOnASCIIWhitespace(input) {\n\t// U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, U+0020 SPACE\n\treturn input ? input.split(/[\\t\\n\\f\\r ]+/).filter(notEmptyString) : []\n}\n\n/**\n * Adds element as a key to current if it is not already present.\n *\n * @param {Record} current\n * @param {string} element\n * @returns {Record}\n */\nfunction orderedSetReducer (current, element) {\n\tif (!current.hasOwnProperty(element)) {\n\t\tcurrent[element] = true;\n\t}\n\treturn current;\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#ordered-set\n * @param {string} input\n * @returns {string[]}\n */\nfunction toOrderedSet(input) {\n\tif (!input) return [];\n\tvar list = splitOnASCIIWhitespace(input);\n\treturn Object.keys(list.reduce(orderedSetReducer, {}))\n}\n\n/**\n * Uses `list.indexOf` to implement something like `Array.prototype.includes`,\n * which we can not rely on being available.\n *\n * @param {any[]} list\n * @returns {function(any): boolean}\n */\nfunction arrayIncludes (list) {\n\treturn function(element) {\n\t\treturn list && list.indexOf(element) !== -1;\n\t}\n}\n\nfunction copy(src,dest){\n\tfor(var p in src){\n\t\tif (Object.prototype.hasOwnProperty.call(src, p)) {\n\t\t\tdest[p] = src[p];\n\t\t}\n\t}\n}\n\n/**\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*((?:.*\\{\\s*?[\\r\\n][\\s\\S]*?^})|\\S.*?(?=[;\\r\\n]));?\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*(\\S.*?(?=[;\\r\\n]));?\n */\nfunction _extends(Class,Super){\n\tvar pt = Class.prototype;\n\tif(!(pt instanceof Super)){\n\t\tfunction t(){};\n\t\tt.prototype = Super.prototype;\n\t\tt = new t();\n\t\tcopy(pt,t);\n\t\tClass.prototype = pt = t;\n\t}\n\tif(pt.constructor != Class){\n\t\tif(typeof Class != 'function'){\n\t\t\tconsole.error(\"unknown Class:\"+Class)\n\t\t}\n\t\tpt.constructor = Class\n\t}\n}\n\n// Node Types\nvar NodeType = {}\nvar ELEMENT_NODE = NodeType.ELEMENT_NODE = 1;\nvar ATTRIBUTE_NODE = NodeType.ATTRIBUTE_NODE = 2;\nvar TEXT_NODE = NodeType.TEXT_NODE = 3;\nvar CDATA_SECTION_NODE = NodeType.CDATA_SECTION_NODE = 4;\nvar ENTITY_REFERENCE_NODE = NodeType.ENTITY_REFERENCE_NODE = 5;\nvar ENTITY_NODE = NodeType.ENTITY_NODE = 6;\nvar PROCESSING_INSTRUCTION_NODE = NodeType.PROCESSING_INSTRUCTION_NODE = 7;\nvar COMMENT_NODE = NodeType.COMMENT_NODE = 8;\nvar DOCUMENT_NODE = NodeType.DOCUMENT_NODE = 9;\nvar DOCUMENT_TYPE_NODE = NodeType.DOCUMENT_TYPE_NODE = 10;\nvar DOCUMENT_FRAGMENT_NODE = NodeType.DOCUMENT_FRAGMENT_NODE = 11;\nvar NOTATION_NODE = NodeType.NOTATION_NODE = 12;\n\n// ExceptionCode\nvar ExceptionCode = {}\nvar ExceptionMessage = {};\nvar INDEX_SIZE_ERR = ExceptionCode.INDEX_SIZE_ERR = ((ExceptionMessage[1]=\"Index size error\"),1);\nvar DOMSTRING_SIZE_ERR = ExceptionCode.DOMSTRING_SIZE_ERR = ((ExceptionMessage[2]=\"DOMString size error\"),2);\nvar HIERARCHY_REQUEST_ERR = ExceptionCode.HIERARCHY_REQUEST_ERR = ((ExceptionMessage[3]=\"Hierarchy request error\"),3);\nvar WRONG_DOCUMENT_ERR = ExceptionCode.WRONG_DOCUMENT_ERR = ((ExceptionMessage[4]=\"Wrong document\"),4);\nvar INVALID_CHARACTER_ERR = ExceptionCode.INVALID_CHARACTER_ERR = ((ExceptionMessage[5]=\"Invalid character\"),5);\nvar NO_DATA_ALLOWED_ERR = ExceptionCode.NO_DATA_ALLOWED_ERR = ((ExceptionMessage[6]=\"No data allowed\"),6);\nvar NO_MODIFICATION_ALLOWED_ERR = ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ((ExceptionMessage[7]=\"No modification allowed\"),7);\nvar NOT_FOUND_ERR = ExceptionCode.NOT_FOUND_ERR = ((ExceptionMessage[8]=\"Not found\"),8);\nvar NOT_SUPPORTED_ERR = ExceptionCode.NOT_SUPPORTED_ERR = ((ExceptionMessage[9]=\"Not supported\"),9);\nvar INUSE_ATTRIBUTE_ERR = ExceptionCode.INUSE_ATTRIBUTE_ERR = ((ExceptionMessage[10]=\"Attribute in use\"),10);\n//level2\nvar INVALID_STATE_ERR \t= ExceptionCode.INVALID_STATE_ERR \t= ((ExceptionMessage[11]=\"Invalid state\"),11);\nvar SYNTAX_ERR \t= ExceptionCode.SYNTAX_ERR \t= ((ExceptionMessage[12]=\"Syntax error\"),12);\nvar INVALID_MODIFICATION_ERR \t= ExceptionCode.INVALID_MODIFICATION_ERR \t= ((ExceptionMessage[13]=\"Invalid modification\"),13);\nvar NAMESPACE_ERR \t= ExceptionCode.NAMESPACE_ERR \t= ((ExceptionMessage[14]=\"Invalid namespace\"),14);\nvar INVALID_ACCESS_ERR \t= ExceptionCode.INVALID_ACCESS_ERR \t= ((ExceptionMessage[15]=\"Invalid access\"),15);\n\n/**\n * DOM Level 2\n * Object DOMException\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html\n * @see http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html\n */\nfunction DOMException(code, message) {\n\tif(message instanceof Error){\n\t\tvar error = message;\n\t}else{\n\t\terror = this;\n\t\tError.call(this, ExceptionMessage[code]);\n\t\tthis.message = ExceptionMessage[code];\n\t\tif(Error.captureStackTrace) Error.captureStackTrace(this, DOMException);\n\t}\n\terror.code = code;\n\tif(message) this.message = this.message + \": \" + message;\n\treturn error;\n};\nDOMException.prototype = Error.prototype;\ncopy(ExceptionCode,DOMException)\n\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177\n * The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.\n * The items in the NodeList are accessible via an integral index, starting from 0.\n */\nfunction NodeList() {\n};\nNodeList.prototype = {\n\t/**\n\t * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.\n\t * @standard level1\n\t */\n\tlength:0,\n\t/**\n\t * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.\n\t * @standard level1\n\t * @param index unsigned long\n\t * Index into the collection.\n\t * @return Node\n\t * \tThe node at the indexth position in the NodeList, or null if that is not a valid index.\n\t */\n\titem: function(index) {\n\t\treturn index >= 0 && index < this.length ? this[index] : null;\n\t},\n\ttoString:function(isHTML,nodeFilter){\n\t\tfor(var buf = [], i = 0;i=0){\n\t\tvar lastIndex = list.length-1\n\t\twhile(i0 || key == 'xmlns'){\n//\t\t\treturn null;\n//\t\t}\n\t\t//console.log()\n\t\tvar i = this.length;\n\t\twhile(i--){\n\t\t\tvar attr = this[i];\n\t\t\t//console.log(attr.nodeName,key)\n\t\t\tif(attr.nodeName == key){\n\t\t\t\treturn attr;\n\t\t\t}\n\t\t}\n\t},\n\tsetNamedItem: function(attr) {\n\t\tvar el = attr.ownerElement;\n\t\tif(el && el!=this._ownerElement){\n\t\t\tthrow new DOMException(INUSE_ATTRIBUTE_ERR);\n\t\t}\n\t\tvar oldAttr = this.getNamedItem(attr.nodeName);\n\t\t_addNamedNode(this._ownerElement,this,attr,oldAttr);\n\t\treturn oldAttr;\n\t},\n\t/* returns Node */\n\tsetNamedItemNS: function(attr) {// raises: WRONG_DOCUMENT_ERR,NO_MODIFICATION_ALLOWED_ERR,INUSE_ATTRIBUTE_ERR\n\t\tvar el = attr.ownerElement, oldAttr;\n\t\tif(el && el!=this._ownerElement){\n\t\t\tthrow new DOMException(INUSE_ATTRIBUTE_ERR);\n\t\t}\n\t\toldAttr = this.getNamedItemNS(attr.namespaceURI,attr.localName);\n\t\t_addNamedNode(this._ownerElement,this,attr,oldAttr);\n\t\treturn oldAttr;\n\t},\n\n\t/* returns Node */\n\tremoveNamedItem: function(key) {\n\t\tvar attr = this.getNamedItem(key);\n\t\t_removeNamedNode(this._ownerElement,this,attr);\n\t\treturn attr;\n\n\n\t},// raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR\n\n\t//for level2\n\tremoveNamedItemNS:function(namespaceURI,localName){\n\t\tvar attr = this.getNamedItemNS(namespaceURI,localName);\n\t\t_removeNamedNode(this._ownerElement,this,attr);\n\t\treturn attr;\n\t},\n\tgetNamedItemNS: function(namespaceURI, localName) {\n\t\tvar i = this.length;\n\t\twhile(i--){\n\t\t\tvar node = this[i];\n\t\t\tif(node.localName == localName && node.namespaceURI == namespaceURI){\n\t\t\t\treturn node;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}\n};\n\n/**\n * The DOMImplementation interface represents an object providing methods\n * which are not dependent on any particular document.\n * Such an object is returned by the `Document.implementation` property.\n *\n * __The individual methods describe the differences compared to the specs.__\n *\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation MDN\n * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490 DOM Level 1 Core (Initial)\n * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-102161490 DOM Level 2 Core\n * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-102161490 DOM Level 3 Core\n * @see https://dom.spec.whatwg.org/#domimplementation DOM Living Standard\n */\nfunction DOMImplementation() {\n}\n\nDOMImplementation.prototype = {\n\t/**\n\t * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.\n\t * The different implementations fairly diverged in what kind of features were reported.\n\t * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.\n\t *\n\t * @deprecated It is deprecated and modern browsers return true in all cases.\n\t *\n\t * @param {string} feature\n\t * @param {string} [version]\n\t * @returns {boolean} always true\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN\n\t * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard\n\t */\n\thasFeature: function(feature, version) {\n\t\t\treturn true;\n\t},\n\t/**\n\t * Creates an XML Document object of the specified type with its document element.\n\t *\n\t * __It behaves slightly different from the description in the living standard__:\n\t * - There is no interface/class `XMLDocument`, it returns a `Document` instance.\n\t * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string|null} namespaceURI\n\t * @param {string} qualifiedName\n\t * @param {DocumentType=null} doctype\n\t * @returns {Document}\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */\n\tcreateDocument: function(namespaceURI, qualifiedName, doctype){\n\t\tvar doc = new Document();\n\t\tdoc.implementation = this;\n\t\tdoc.childNodes = new NodeList();\n\t\tdoc.doctype = doctype || null;\n\t\tif (doctype){\n\t\t\tdoc.appendChild(doctype);\n\t\t}\n\t\tif (qualifiedName){\n\t\t\tvar root = doc.createElementNS(namespaceURI, qualifiedName);\n\t\t\tdoc.appendChild(root);\n\t\t}\n\t\treturn doc;\n\t},\n\t/**\n\t * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.\n\t *\n\t * __This behavior is slightly different from the in the specs__:\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string} qualifiedName\n\t * @param {string} [publicId]\n\t * @param {string} [systemId]\n\t * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation\n\t * \t\t\t\t or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */\n\tcreateDocumentType: function(qualifiedName, publicId, systemId){\n\t\tvar node = new DocumentType();\n\t\tnode.name = qualifiedName;\n\t\tnode.nodeName = qualifiedName;\n\t\tnode.publicId = publicId || '';\n\t\tnode.systemId = systemId || '';\n\n\t\treturn node;\n\t}\n};\n\n\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247\n */\n\nfunction Node() {\n};\n\nNode.prototype = {\n\tfirstChild : null,\n\tlastChild : null,\n\tpreviousSibling : null,\n\tnextSibling : null,\n\tattributes : null,\n\tparentNode : null,\n\tchildNodes : null,\n\townerDocument : null,\n\tnodeValue : null,\n\tnamespaceURI : null,\n\tprefix : null,\n\tlocalName : null,\n\t// Modified in DOM Level 2:\n\tinsertBefore:function(newChild, refChild){//raises\n\t\treturn _insertBefore(this,newChild,refChild);\n\t},\n\treplaceChild:function(newChild, oldChild){//raises\n\t\t_insertBefore(this, newChild,oldChild, assertPreReplacementValidityInDocument);\n\t\tif(oldChild){\n\t\t\tthis.removeChild(oldChild);\n\t\t}\n\t},\n\tremoveChild:function(oldChild){\n\t\treturn _removeChild(this,oldChild);\n\t},\n\tappendChild:function(newChild){\n\t\treturn this.insertBefore(newChild,null);\n\t},\n\thasChildNodes:function(){\n\t\treturn this.firstChild != null;\n\t},\n\tcloneNode:function(deep){\n\t\treturn cloneNode(this.ownerDocument||this,this,deep);\n\t},\n\t// Modified in DOM Level 2:\n\tnormalize:function(){\n\t\tvar child = this.firstChild;\n\t\twhile(child){\n\t\t\tvar next = child.nextSibling;\n\t\t\tif(next && next.nodeType == TEXT_NODE && child.nodeType == TEXT_NODE){\n\t\t\t\tthis.removeChild(next);\n\t\t\t\tchild.appendData(next.data);\n\t\t\t}else{\n\t\t\t\tchild.normalize();\n\t\t\t\tchild = next;\n\t\t\t}\n\t\t}\n\t},\n \t// Introduced in DOM Level 2:\n\tisSupported:function(feature, version){\n\t\treturn this.ownerDocument.implementation.hasFeature(feature,version);\n\t},\n // Introduced in DOM Level 2:\n hasAttributes:function(){\n \treturn this.attributes.length>0;\n },\n\t/**\n\t * Look up the prefix associated to the given namespace URI, starting from this node.\n\t * **The default namespace declarations are ignored by this method.**\n\t * See Namespace Prefix Lookup for details on the algorithm used by this method.\n\t *\n\t * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._\n\t *\n\t * @param {string | null} namespaceURI\n\t * @returns {string | null}\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo\n\t * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix\n\t * @see https://github.com/xmldom/xmldom/issues/322\n\t */\n lookupPrefix:function(namespaceURI){\n \tvar el = this;\n \twhile(el){\n \t\tvar map = el._nsMap;\n \t\t//console.dir(map)\n \t\tif(map){\n \t\t\tfor(var n in map){\n\t\t\t\t\t\tif (Object.prototype.hasOwnProperty.call(map, n) && map[n] === namespaceURI) {\n\t\t\t\t\t\t\treturn n;\n\t\t\t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tel = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;\n \t}\n \treturn null;\n },\n // Introduced in DOM Level 3:\n lookupNamespaceURI:function(prefix){\n \tvar el = this;\n \twhile(el){\n \t\tvar map = el._nsMap;\n \t\t//console.dir(map)\n \t\tif(map){\n \t\t\tif(Object.prototype.hasOwnProperty.call(map, prefix)){\n \t\t\t\treturn map[prefix] ;\n \t\t\t}\n \t\t}\n \t\tel = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;\n \t}\n \treturn null;\n },\n // Introduced in DOM Level 3:\n isDefaultNamespace:function(namespaceURI){\n \tvar prefix = this.lookupPrefix(namespaceURI);\n \treturn prefix == null;\n }\n};\n\n\nfunction _xmlEncoder(c){\n\treturn c == '<' && '<' ||\n c == '>' && '>' ||\n c == '&' && '&' ||\n c == '\"' && '"' ||\n '&#'+c.charCodeAt()+';'\n}\n\n\ncopy(NodeType,Node);\ncopy(NodeType,Node.prototype);\n\n/**\n * @param callback return true for continue,false for break\n * @return boolean true: break visit;\n */\nfunction _visitNode(node,callback){\n\tif(callback(node)){\n\t\treturn true;\n\t}\n\tif(node = node.firstChild){\n\t\tdo{\n\t\t\tif(_visitNode(node,callback)){return true}\n }while(node=node.nextSibling)\n }\n}\n\n\n\nfunction Document(){\n\tthis.ownerDocument = this;\n}\n\nfunction _onAddAttribute(doc,el,newAttr){\n\tdoc && doc._inc++;\n\tvar ns = newAttr.namespaceURI ;\n\tif(ns === NAMESPACE.XMLNS){\n\t\t//update namespace\n\t\tel._nsMap[newAttr.prefix?newAttr.localName:''] = newAttr.value\n\t}\n}\n\nfunction _onRemoveAttribute(doc,el,newAttr,remove){\n\tdoc && doc._inc++;\n\tvar ns = newAttr.namespaceURI ;\n\tif(ns === NAMESPACE.XMLNS){\n\t\t//update namespace\n\t\tdelete el._nsMap[newAttr.prefix?newAttr.localName:'']\n\t}\n}\n\n/**\n * Updates `el.childNodes`, updating the indexed items and it's `length`.\n * Passing `newChild` means it will be appended.\n * Otherwise it's assumed that an item has been removed,\n * and `el.firstNode` and it's `.nextSibling` are used\n * to walk the current list of child nodes.\n *\n * @param {Document} doc\n * @param {Node} el\n * @param {Node} [newChild]\n * @private\n */\nfunction _onUpdateChild (doc, el, newChild) {\n\tif(doc && doc._inc){\n\t\tdoc._inc++;\n\t\t//update childNodes\n\t\tvar cs = el.childNodes;\n\t\tif (newChild) {\n\t\t\tcs[cs.length++] = newChild;\n\t\t} else {\n\t\t\tvar child = el.firstChild;\n\t\t\tvar i = 0;\n\t\t\twhile (child) {\n\t\t\t\tcs[i++] = child;\n\t\t\t\tchild = child.nextSibling;\n\t\t\t}\n\t\t\tcs.length = i;\n\t\t\tdelete cs[cs.length];\n\t\t}\n\t}\n}\n\n/**\n * Removes the connections between `parentNode` and `child`\n * and any existing `child.previousSibling` or `child.nextSibling`.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n *\n * @param {Node} parentNode\n * @param {Node} child\n * @returns {Node} the child that was removed.\n * @private\n */\nfunction _removeChild (parentNode, child) {\n\tvar previous = child.previousSibling;\n\tvar next = child.nextSibling;\n\tif (previous) {\n\t\tprevious.nextSibling = next;\n\t} else {\n\t\tparentNode.firstChild = next;\n\t}\n\tif (next) {\n\t\tnext.previousSibling = previous;\n\t} else {\n\t\tparentNode.lastChild = previous;\n\t}\n\tchild.parentNode = null;\n\tchild.previousSibling = null;\n\tchild.nextSibling = null;\n\t_onUpdateChild(parentNode.ownerDocument, parentNode);\n\treturn child;\n}\n\n/**\n * Returns `true` if `node` can be a parent for insertion.\n * @param {Node} node\n * @returns {boolean}\n */\nfunction hasValidParentNodeType(node) {\n\treturn (\n\t\tnode &&\n\t\t(node.nodeType === Node.DOCUMENT_NODE || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === Node.ELEMENT_NODE)\n\t);\n}\n\n/**\n * Returns `true` if `node` can be inserted according to it's `nodeType`.\n * @param {Node} node\n * @returns {boolean}\n */\nfunction hasInsertableNodeType(node) {\n\treturn (\n\t\tnode &&\n\t\t(isElementNode(node) ||\n\t\t\tisTextNode(node) ||\n\t\t\tisDocTypeNode(node) ||\n\t\t\tnode.nodeType === Node.DOCUMENT_FRAGMENT_NODE ||\n\t\t\tnode.nodeType === Node.COMMENT_NODE ||\n\t\t\tnode.nodeType === Node.PROCESSING_INSTRUCTION_NODE)\n\t);\n}\n\n/**\n * Returns true if `node` is a DOCTYPE node\n * @param {Node} node\n * @returns {boolean}\n */\nfunction isDocTypeNode(node) {\n\treturn node && node.nodeType === Node.DOCUMENT_TYPE_NODE;\n}\n\n/**\n * Returns true if the node is an element\n * @param {Node} node\n * @returns {boolean}\n */\nfunction isElementNode(node) {\n\treturn node && node.nodeType === Node.ELEMENT_NODE;\n}\n/**\n * Returns true if `node` is a text node\n * @param {Node} node\n * @returns {boolean}\n */\nfunction isTextNode(node) {\n\treturn node && node.nodeType === Node.TEXT_NODE;\n}\n\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Document} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */\nfunction isElementInsertionPossible(doc, child) {\n\tvar parentChildNodes = doc.childNodes || [];\n\tif (find(parentChildNodes, isElementNode) || isDocTypeNode(child)) {\n\t\treturn false;\n\t}\n\tvar docTypeNode = find(parentChildNodes, isDocTypeNode);\n\treturn !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Node} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */\nfunction isElementReplacementPossible(doc, child) {\n\tvar parentChildNodes = doc.childNodes || [];\n\n\tfunction hasElementChildThatIsNotChild(node) {\n\t\treturn isElementNode(node) && node !== child;\n\t}\n\n\tif (find(parentChildNodes, hasElementChildThatIsNotChild)) {\n\t\treturn false;\n\t}\n\tvar docTypeNode = find(parentChildNodes, isDocTypeNode);\n\treturn !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n\n/**\n * @private\n * Steps 1-5 of the checks before inserting and before replacing a child are the same.\n *\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */\nfunction assertPreInsertionValidity1to5(parent, node, child) {\n\t// 1. If `parent` is not a Document, DocumentFragment, or Element node, then throw a \"HierarchyRequestError\" DOMException.\n\tif (!hasValidParentNodeType(parent)) {\n\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Unexpected parent node type ' + parent.nodeType);\n\t}\n\t// 2. If `node` is a host-including inclusive ancestor of `parent`, then throw a \"HierarchyRequestError\" DOMException.\n\t// not implemented!\n\t// 3. If `child` is non-null and its parent is not `parent`, then throw a \"NotFoundError\" DOMException.\n\tif (child && child.parentNode !== parent) {\n\t\tthrow new DOMException(NOT_FOUND_ERR, 'child not in parent');\n\t}\n\tif (\n\t\t// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a \"HierarchyRequestError\" DOMException.\n\t\t!hasInsertableNodeType(node) ||\n\t\t// 5. If either `node` is a Text node and `parent` is a document,\n\t\t// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0\n\t\t// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)\n\t\t// or `node` is a doctype and `parent` is not a document, then throw a \"HierarchyRequestError\" DOMException.\n\t\t(isDocTypeNode(node) && parent.nodeType !== Node.DOCUMENT_NODE)\n\t) {\n\t\tthrow new DOMException(\n\t\t\tHIERARCHY_REQUEST_ERR,\n\t\t\t'Unexpected node type ' + node.nodeType + ' for parent node type ' + parent.nodeType\n\t\t);\n\t}\n}\n\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */\nfunction assertPreInsertionValidityInDocument(parent, node, child) {\n\tvar parentChildNodes = parent.childNodes || [];\n\tvar nodeChildNodes = node.childNodes || [];\n\n\t// DocumentFragment\n\tif (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n\t\tvar nodeChildElements = nodeChildNodes.filter(isElementNode);\n\t\t// If node has more than one element child or has a Text node child.\n\t\tif (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');\n\t\t}\n\t\t// Otherwise, if `node` has one element child and either `parent` has an element child,\n\t\t// `child` is a doctype, or `child` is non-null and a doctype is following `child`.\n\t\tif (nodeChildElements.length === 1 && !isElementInsertionPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');\n\t\t}\n\t}\n\t// Element\n\tif (isElementNode(node)) {\n\t\t// `parent` has an element child, `child` is a doctype,\n\t\t// or `child` is non-null and a doctype is following `child`.\n\t\tif (!isElementInsertionPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');\n\t\t}\n\t}\n\t// DocumentType\n\tif (isDocTypeNode(node)) {\n\t\t// `parent` has a doctype child,\n\t\tif (find(parentChildNodes, isDocTypeNode)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');\n\t\t}\n\t\tvar parentElementChild = find(parentChildNodes, isElementNode);\n\t\t// `child` is non-null and an element is preceding `child`,\n\t\tif (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');\n\t\t}\n\t\t// or `child` is null and `parent` has an element child.\n\t\tif (!child && parentElementChild) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can not be appended since element is present');\n\t\t}\n\t}\n}\n\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */\nfunction assertPreReplacementValidityInDocument(parent, node, child) {\n\tvar parentChildNodes = parent.childNodes || [];\n\tvar nodeChildNodes = node.childNodes || [];\n\n\t// DocumentFragment\n\tif (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n\t\tvar nodeChildElements = nodeChildNodes.filter(isElementNode);\n\t\t// If `node` has more than one element child or has a Text node child.\n\t\tif (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');\n\t\t}\n\t\t// Otherwise, if `node` has one element child and either `parent` has an element child that is not `child` or a doctype is following `child`.\n\t\tif (nodeChildElements.length === 1 && !isElementReplacementPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');\n\t\t}\n\t}\n\t// Element\n\tif (isElementNode(node)) {\n\t\t// `parent` has an element child that is not `child` or a doctype is following `child`.\n\t\tif (!isElementReplacementPossible(parent, child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');\n\t\t}\n\t}\n\t// DocumentType\n\tif (isDocTypeNode(node)) {\n\t\tfunction hasDoctypeChildThatIsNotChild(node) {\n\t\t\treturn isDocTypeNode(node) && node !== child;\n\t\t}\n\n\t\t// `parent` has a doctype child that is not `child`,\n\t\tif (find(parentChildNodes, hasDoctypeChildThatIsNotChild)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');\n\t\t}\n\t\tvar parentElementChild = find(parentChildNodes, isElementNode);\n\t\t// or an element is preceding `child`.\n\t\tif (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {\n\t\t\tthrow new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');\n\t\t}\n\t}\n}\n\n/**\n * @private\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */\nfunction _insertBefore(parent, node, child, _inDocumentAssertion) {\n\t// To ensure pre-insertion validity of a node into a parent before a child, run these steps:\n\tassertPreInsertionValidity1to5(parent, node, child);\n\n\t// If parent is a document, and any of the statements below, switched on the interface node implements,\n\t// are true, then throw a \"HierarchyRequestError\" DOMException.\n\tif (parent.nodeType === Node.DOCUMENT_NODE) {\n\t\t(_inDocumentAssertion || assertPreInsertionValidityInDocument)(parent, node, child);\n\t}\n\n\tvar cp = node.parentNode;\n\tif(cp){\n\t\tcp.removeChild(node);//remove and update\n\t}\n\tif(node.nodeType === DOCUMENT_FRAGMENT_NODE){\n\t\tvar newFirst = node.firstChild;\n\t\tif (newFirst == null) {\n\t\t\treturn node;\n\t\t}\n\t\tvar newLast = node.lastChild;\n\t}else{\n\t\tnewFirst = newLast = node;\n\t}\n\tvar pre = child ? child.previousSibling : parent.lastChild;\n\n\tnewFirst.previousSibling = pre;\n\tnewLast.nextSibling = child;\n\n\n\tif(pre){\n\t\tpre.nextSibling = newFirst;\n\t}else{\n\t\tparent.firstChild = newFirst;\n\t}\n\tif(child == null){\n\t\tparent.lastChild = newLast;\n\t}else{\n\t\tchild.previousSibling = newLast;\n\t}\n\tdo{\n\t\tnewFirst.parentNode = parent;\n\t}while(newFirst !== newLast && (newFirst= newFirst.nextSibling))\n\t_onUpdateChild(parent.ownerDocument||parent, parent);\n\t//console.log(parent.lastChild.nextSibling == null)\n\tif (node.nodeType == DOCUMENT_FRAGMENT_NODE) {\n\t\tnode.firstChild = node.lastChild = null;\n\t}\n\treturn node;\n}\n\n/**\n * Appends `newChild` to `parentNode`.\n * If `newChild` is already connected to a `parentNode` it is first removed from it.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n * @param {Node} parentNode\n * @param {Node} newChild\n * @returns {Node}\n * @private\n */\nfunction _appendSingleChild (parentNode, newChild) {\n\tif (newChild.parentNode) {\n\t\tnewChild.parentNode.removeChild(newChild);\n\t}\n\tnewChild.parentNode = parentNode;\n\tnewChild.previousSibling = parentNode.lastChild;\n\tnewChild.nextSibling = null;\n\tif (newChild.previousSibling) {\n\t\tnewChild.previousSibling.nextSibling = newChild;\n\t} else {\n\t\tparentNode.firstChild = newChild;\n\t}\n\tparentNode.lastChild = newChild;\n\t_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);\n\treturn newChild;\n}\n\nDocument.prototype = {\n\t//implementation : null,\n\tnodeName : '#document',\n\tnodeType : DOCUMENT_NODE,\n\t/**\n\t * The DocumentType node of the document.\n\t *\n\t * @readonly\n\t * @type DocumentType\n\t */\n\tdoctype : null,\n\tdocumentElement : null,\n\t_inc : 1,\n\n\tinsertBefore : function(newChild, refChild){//raises\n\t\tif(newChild.nodeType == DOCUMENT_FRAGMENT_NODE){\n\t\t\tvar child = newChild.firstChild;\n\t\t\twhile(child){\n\t\t\t\tvar next = child.nextSibling;\n\t\t\t\tthis.insertBefore(child,refChild);\n\t\t\t\tchild = next;\n\t\t\t}\n\t\t\treturn newChild;\n\t\t}\n\t\t_insertBefore(this, newChild, refChild);\n\t\tnewChild.ownerDocument = this;\n\t\tif (this.documentElement === null && newChild.nodeType === ELEMENT_NODE) {\n\t\t\tthis.documentElement = newChild;\n\t\t}\n\n\t\treturn newChild;\n\t},\n\tremoveChild : function(oldChild){\n\t\tif(this.documentElement == oldChild){\n\t\t\tthis.documentElement = null;\n\t\t}\n\t\treturn _removeChild(this,oldChild);\n\t},\n\treplaceChild: function (newChild, oldChild) {\n\t\t//raises\n\t\t_insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);\n\t\tnewChild.ownerDocument = this;\n\t\tif (oldChild) {\n\t\t\tthis.removeChild(oldChild);\n\t\t}\n\t\tif (isElementNode(newChild)) {\n\t\t\tthis.documentElement = newChild;\n\t\t}\n\t},\n\t// Introduced in DOM Level 2:\n\timportNode : function(importedNode,deep){\n\t\treturn importNode(this,importedNode,deep);\n\t},\n\t// Introduced in DOM Level 2:\n\tgetElementById :\tfunction(id){\n\t\tvar rtv = null;\n\t\t_visitNode(this.documentElement,function(node){\n\t\t\tif(node.nodeType == ELEMENT_NODE){\n\t\t\t\tif(node.getAttribute('id') == id){\n\t\t\t\t\trtv = node;\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\treturn rtv;\n\t},\n\n\t/**\n\t * The `getElementsByClassName` method of `Document` interface returns an array-like object\n\t * of all child elements which have **all** of the given class name(s).\n\t *\n\t * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.\n\t *\n\t *\n\t * Warning: This is a live LiveNodeList.\n\t * Changes in the DOM will reflect in the array as the changes occur.\n\t * If an element selected by this array no longer qualifies for the selector,\n\t * it will automatically be removed. Be aware of this for iteration purposes.\n\t *\n\t * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName\n\t * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname\n\t */\n\tgetElementsByClassName: function(classNames) {\n\t\tvar classNamesSet = toOrderedSet(classNames)\n\t\treturn new LiveNodeList(this, function(base) {\n\t\t\tvar ls = [];\n\t\t\tif (classNamesSet.length > 0) {\n\t\t\t\t_visitNode(base.documentElement, function(node) {\n\t\t\t\t\tif(node !== base && node.nodeType === ELEMENT_NODE) {\n\t\t\t\t\t\tvar nodeClassNames = node.getAttribute('class')\n\t\t\t\t\t\t// can be null if the attribute does not exist\n\t\t\t\t\t\tif (nodeClassNames) {\n\t\t\t\t\t\t\t// before splitting and iterating just compare them for the most common case\n\t\t\t\t\t\t\tvar matches = classNames === nodeClassNames;\n\t\t\t\t\t\t\tif (!matches) {\n\t\t\t\t\t\t\t\tvar nodeClassNamesSet = toOrderedSet(nodeClassNames)\n\t\t\t\t\t\t\t\tmatches = classNamesSet.every(arrayIncludes(nodeClassNamesSet))\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(matches) {\n\t\t\t\t\t\t\t\tls.push(node);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn ls;\n\t\t});\n\t},\n\n\t//document factory method:\n\tcreateElement :\tfunction(tagName){\n\t\tvar node = new Element();\n\t\tnode.ownerDocument = this;\n\t\tnode.nodeName = tagName;\n\t\tnode.tagName = tagName;\n\t\tnode.localName = tagName;\n\t\tnode.childNodes = new NodeList();\n\t\tvar attrs\t= node.attributes = new NamedNodeMap();\n\t\tattrs._ownerElement = node;\n\t\treturn node;\n\t},\n\tcreateDocumentFragment :\tfunction(){\n\t\tvar node = new DocumentFragment();\n\t\tnode.ownerDocument = this;\n\t\tnode.childNodes = new NodeList();\n\t\treturn node;\n\t},\n\tcreateTextNode :\tfunction(data){\n\t\tvar node = new Text();\n\t\tnode.ownerDocument = this;\n\t\tnode.appendData(data)\n\t\treturn node;\n\t},\n\tcreateComment :\tfunction(data){\n\t\tvar node = new Comment();\n\t\tnode.ownerDocument = this;\n\t\tnode.appendData(data)\n\t\treturn node;\n\t},\n\tcreateCDATASection :\tfunction(data){\n\t\tvar node = new CDATASection();\n\t\tnode.ownerDocument = this;\n\t\tnode.appendData(data)\n\t\treturn node;\n\t},\n\tcreateProcessingInstruction :\tfunction(target,data){\n\t\tvar node = new ProcessingInstruction();\n\t\tnode.ownerDocument = this;\n\t\tnode.tagName = node.nodeName = node.target = target;\n\t\tnode.nodeValue = node.data = data;\n\t\treturn node;\n\t},\n\tcreateAttribute :\tfunction(name){\n\t\tvar node = new Attr();\n\t\tnode.ownerDocument\t= this;\n\t\tnode.name = name;\n\t\tnode.nodeName\t= name;\n\t\tnode.localName = name;\n\t\tnode.specified = true;\n\t\treturn node;\n\t},\n\tcreateEntityReference :\tfunction(name){\n\t\tvar node = new EntityReference();\n\t\tnode.ownerDocument\t= this;\n\t\tnode.nodeName\t= name;\n\t\treturn node;\n\t},\n\t// Introduced in DOM Level 2:\n\tcreateElementNS :\tfunction(namespaceURI,qualifiedName){\n\t\tvar node = new Element();\n\t\tvar pl = qualifiedName.split(':');\n\t\tvar attrs\t= node.attributes = new NamedNodeMap();\n\t\tnode.childNodes = new NodeList();\n\t\tnode.ownerDocument = this;\n\t\tnode.nodeName = qualifiedName;\n\t\tnode.tagName = qualifiedName;\n\t\tnode.namespaceURI = namespaceURI;\n\t\tif(pl.length == 2){\n\t\t\tnode.prefix = pl[0];\n\t\t\tnode.localName = pl[1];\n\t\t}else{\n\t\t\t//el.prefix = null;\n\t\t\tnode.localName = qualifiedName;\n\t\t}\n\t\tattrs._ownerElement = node;\n\t\treturn node;\n\t},\n\t// Introduced in DOM Level 2:\n\tcreateAttributeNS :\tfunction(namespaceURI,qualifiedName){\n\t\tvar node = new Attr();\n\t\tvar pl = qualifiedName.split(':');\n\t\tnode.ownerDocument = this;\n\t\tnode.nodeName = qualifiedName;\n\t\tnode.name = qualifiedName;\n\t\tnode.namespaceURI = namespaceURI;\n\t\tnode.specified = true;\n\t\tif(pl.length == 2){\n\t\t\tnode.prefix = pl[0];\n\t\t\tnode.localName = pl[1];\n\t\t}else{\n\t\t\t//el.prefix = null;\n\t\t\tnode.localName = qualifiedName;\n\t\t}\n\t\treturn node;\n\t}\n};\n_extends(Document,Node);\n\n\nfunction Element() {\n\tthis._nsMap = {};\n};\nElement.prototype = {\n\tnodeType : ELEMENT_NODE,\n\thasAttribute : function(name){\n\t\treturn this.getAttributeNode(name)!=null;\n\t},\n\tgetAttribute : function(name){\n\t\tvar attr = this.getAttributeNode(name);\n\t\treturn attr && attr.value || '';\n\t},\n\tgetAttributeNode : function(name){\n\t\treturn this.attributes.getNamedItem(name);\n\t},\n\tsetAttribute : function(name, value){\n\t\tvar attr = this.ownerDocument.createAttribute(name);\n\t\tattr.value = attr.nodeValue = \"\" + value;\n\t\tthis.setAttributeNode(attr)\n\t},\n\tremoveAttribute : function(name){\n\t\tvar attr = this.getAttributeNode(name)\n\t\tattr && this.removeAttributeNode(attr);\n\t},\n\n\t//four real opeartion method\n\tappendChild:function(newChild){\n\t\tif(newChild.nodeType === DOCUMENT_FRAGMENT_NODE){\n\t\t\treturn this.insertBefore(newChild,null);\n\t\t}else{\n\t\t\treturn _appendSingleChild(this,newChild);\n\t\t}\n\t},\n\tsetAttributeNode : function(newAttr){\n\t\treturn this.attributes.setNamedItem(newAttr);\n\t},\n\tsetAttributeNodeNS : function(newAttr){\n\t\treturn this.attributes.setNamedItemNS(newAttr);\n\t},\n\tremoveAttributeNode : function(oldAttr){\n\t\t//console.log(this == oldAttr.ownerElement)\n\t\treturn this.attributes.removeNamedItem(oldAttr.nodeName);\n\t},\n\t//get real attribute name,and remove it by removeAttributeNode\n\tremoveAttributeNS : function(namespaceURI, localName){\n\t\tvar old = this.getAttributeNodeNS(namespaceURI, localName);\n\t\told && this.removeAttributeNode(old);\n\t},\n\n\thasAttributeNS : function(namespaceURI, localName){\n\t\treturn this.getAttributeNodeNS(namespaceURI, localName)!=null;\n\t},\n\tgetAttributeNS : function(namespaceURI, localName){\n\t\tvar attr = this.getAttributeNodeNS(namespaceURI, localName);\n\t\treturn attr && attr.value || '';\n\t},\n\tsetAttributeNS : function(namespaceURI, qualifiedName, value){\n\t\tvar attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);\n\t\tattr.value = attr.nodeValue = \"\" + value;\n\t\tthis.setAttributeNode(attr)\n\t},\n\tgetAttributeNodeNS : function(namespaceURI, localName){\n\t\treturn this.attributes.getNamedItemNS(namespaceURI, localName);\n\t},\n\n\tgetElementsByTagName : function(tagName){\n\t\treturn new LiveNodeList(this,function(base){\n\t\t\tvar ls = [];\n\t\t\t_visitNode(base,function(node){\n\t\t\t\tif(node !== base && node.nodeType == ELEMENT_NODE && (tagName === '*' || node.tagName == tagName)){\n\t\t\t\t\tls.push(node);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn ls;\n\t\t});\n\t},\n\tgetElementsByTagNameNS : function(namespaceURI, localName){\n\t\treturn new LiveNodeList(this,function(base){\n\t\t\tvar ls = [];\n\t\t\t_visitNode(base,function(node){\n\t\t\t\tif(node !== base && node.nodeType === ELEMENT_NODE && (namespaceURI === '*' || node.namespaceURI === namespaceURI) && (localName === '*' || node.localName == localName)){\n\t\t\t\t\tls.push(node);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn ls;\n\n\t\t});\n\t}\n};\nDocument.prototype.getElementsByTagName = Element.prototype.getElementsByTagName;\nDocument.prototype.getElementsByTagNameNS = Element.prototype.getElementsByTagNameNS;\n\n\n_extends(Element,Node);\nfunction Attr() {\n};\nAttr.prototype.nodeType = ATTRIBUTE_NODE;\n_extends(Attr,Node);\n\n\nfunction CharacterData() {\n};\nCharacterData.prototype = {\n\tdata : '',\n\tsubstringData : function(offset, count) {\n\t\treturn this.data.substring(offset, offset+count);\n\t},\n\tappendData: function(text) {\n\t\ttext = this.data+text;\n\t\tthis.nodeValue = this.data = text;\n\t\tthis.length = text.length;\n\t},\n\tinsertData: function(offset,text) {\n\t\tthis.replaceData(offset,0,text);\n\n\t},\n\tappendChild:function(newChild){\n\t\tthrow new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR])\n\t},\n\tdeleteData: function(offset, count) {\n\t\tthis.replaceData(offset,count,\"\");\n\t},\n\treplaceData: function(offset, count, text) {\n\t\tvar start = this.data.substring(0,offset);\n\t\tvar end = this.data.substring(offset+count);\n\t\ttext = start + text + end;\n\t\tthis.nodeValue = this.data = text;\n\t\tthis.length = text.length;\n\t}\n}\n_extends(CharacterData,Node);\nfunction Text() {\n};\nText.prototype = {\n\tnodeName : \"#text\",\n\tnodeType : TEXT_NODE,\n\tsplitText : function(offset) {\n\t\tvar text = this.data;\n\t\tvar newText = text.substring(offset);\n\t\ttext = text.substring(0, offset);\n\t\tthis.data = this.nodeValue = text;\n\t\tthis.length = text.length;\n\t\tvar newNode = this.ownerDocument.createTextNode(newText);\n\t\tif(this.parentNode){\n\t\t\tthis.parentNode.insertBefore(newNode, this.nextSibling);\n\t\t}\n\t\treturn newNode;\n\t}\n}\n_extends(Text,CharacterData);\nfunction Comment() {\n};\nComment.prototype = {\n\tnodeName : \"#comment\",\n\tnodeType : COMMENT_NODE\n}\n_extends(Comment,CharacterData);\n\nfunction CDATASection() {\n};\nCDATASection.prototype = {\n\tnodeName : \"#cdata-section\",\n\tnodeType : CDATA_SECTION_NODE\n}\n_extends(CDATASection,CharacterData);\n\n\nfunction DocumentType() {\n};\nDocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;\n_extends(DocumentType,Node);\n\nfunction Notation() {\n};\nNotation.prototype.nodeType = NOTATION_NODE;\n_extends(Notation,Node);\n\nfunction Entity() {\n};\nEntity.prototype.nodeType = ENTITY_NODE;\n_extends(Entity,Node);\n\nfunction EntityReference() {\n};\nEntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;\n_extends(EntityReference,Node);\n\nfunction DocumentFragment() {\n};\nDocumentFragment.prototype.nodeName =\t\"#document-fragment\";\nDocumentFragment.prototype.nodeType =\tDOCUMENT_FRAGMENT_NODE;\n_extends(DocumentFragment,Node);\n\n\nfunction ProcessingInstruction() {\n}\nProcessingInstruction.prototype.nodeType = PROCESSING_INSTRUCTION_NODE;\n_extends(ProcessingInstruction,Node);\nfunction XMLSerializer(){}\nXMLSerializer.prototype.serializeToString = function(node,isHtml,nodeFilter){\n\treturn nodeSerializeToString.call(node,isHtml,nodeFilter);\n}\nNode.prototype.toString = nodeSerializeToString;\nfunction nodeSerializeToString(isHtml,nodeFilter){\n\tvar buf = [];\n\tvar refNode = this.nodeType == 9 && this.documentElement || this;\n\tvar prefix = refNode.prefix;\n\tvar uri = refNode.namespaceURI;\n\n\tif(uri && prefix == null){\n\t\t//console.log(prefix)\n\t\tvar prefix = refNode.lookupPrefix(uri);\n\t\tif(prefix == null){\n\t\t\t//isHTML = true;\n\t\t\tvar visibleNamespaces=[\n\t\t\t{namespace:uri,prefix:null}\n\t\t\t//{namespace:uri,prefix:''}\n\t\t\t]\n\t\t}\n\t}\n\tserializeToString(this,buf,isHtml,nodeFilter,visibleNamespaces);\n\t//console.log('###',this.nodeType,uri,prefix,buf.join(''))\n\treturn buf.join('');\n}\n\nfunction needNamespaceDefine(node, isHTML, visibleNamespaces) {\n\tvar prefix = node.prefix || '';\n\tvar uri = node.namespaceURI;\n\t// According to [Namespaces in XML 1.0](https://www.w3.org/TR/REC-xml-names/#ns-using) ,\n\t// and more specifically https://www.w3.org/TR/REC-xml-names/#nsc-NoPrefixUndecl :\n\t// > In a namespace declaration for a prefix [...], the attribute value MUST NOT be empty.\n\t// in a similar manner [Namespaces in XML 1.1](https://www.w3.org/TR/xml-names11/#ns-using)\n\t// and more specifically https://www.w3.org/TR/xml-names11/#nsc-NSDeclared :\n\t// > [...] Furthermore, the attribute value [...] must not be an empty string.\n\t// so serializing empty namespace value like xmlns:ds=\"\" would produce an invalid XML document.\n\tif (!uri) {\n\t\treturn false;\n\t}\n\tif (prefix === \"xml\" && uri === NAMESPACE.XML || uri === NAMESPACE.XMLNS) {\n\t\treturn false;\n\t}\n\n\tvar i = visibleNamespaces.length\n\twhile (i--) {\n\t\tvar ns = visibleNamespaces[i];\n\t\t// get namespace prefix\n\t\tif (ns.prefix === prefix) {\n\t\t\treturn ns.namespace !== uri;\n\t\t}\n\t}\n\treturn true;\n}\n/**\n * Well-formed constraint: No < in Attribute Values\n * > The replacement text of any entity referred to directly or indirectly\n * > in an attribute value must not contain a <.\n * @see https://www.w3.org/TR/xml11/#CleanAttrVals\n * @see https://www.w3.org/TR/xml11/#NT-AttValue\n *\n * Literal whitespace other than space that appear in attribute values\n * are serialized as their entity references, so they will be preserved.\n * (In contrast to whitespace literals in the input which are normalized to spaces)\n * @see https://www.w3.org/TR/xml11/#AVNormalize\n * @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes\n */\nfunction addSerializedAttribute(buf, qualifiedName, value) {\n\tbuf.push(' ', qualifiedName, '=\"', value.replace(/[<>&\"\\t\\n\\r]/g, _xmlEncoder), '\"')\n}\n\nfunction serializeToString(node,buf,isHTML,nodeFilter,visibleNamespaces){\n\tif (!visibleNamespaces) {\n\t\tvisibleNamespaces = [];\n\t}\n\n\tif(nodeFilter){\n\t\tnode = nodeFilter(node);\n\t\tif(node){\n\t\t\tif(typeof node == 'string'){\n\t\t\t\tbuf.push(node);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else{\n\t\t\treturn;\n\t\t}\n\t\t//buf.sort.apply(attrs, attributeSorter);\n\t}\n\n\tswitch(node.nodeType){\n\tcase ELEMENT_NODE:\n\t\tvar attrs = node.attributes;\n\t\tvar len = attrs.length;\n\t\tvar child = node.firstChild;\n\t\tvar nodeName = node.tagName;\n\n\t\tisHTML = NAMESPACE.isHTML(node.namespaceURI) || isHTML\n\n\t\tvar prefixedNodeName = nodeName\n\t\tif (!isHTML && !node.prefix && node.namespaceURI) {\n\t\t\tvar defaultNS\n\t\t\t// lookup current default ns from `xmlns` attribute\n\t\t\tfor (var ai = 0; ai < attrs.length; ai++) {\n\t\t\t\tif (attrs.item(ai).name === 'xmlns') {\n\t\t\t\t\tdefaultNS = attrs.item(ai).value\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!defaultNS) {\n\t\t\t\t// lookup current default ns in visibleNamespaces\n\t\t\t\tfor (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {\n\t\t\t\t\tvar namespace = visibleNamespaces[nsi]\n\t\t\t\t\tif (namespace.prefix === '' && namespace.namespace === node.namespaceURI) {\n\t\t\t\t\t\tdefaultNS = namespace.namespace\n\t\t\t\t\t\tbreak\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (defaultNS !== node.namespaceURI) {\n\t\t\t\tfor (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {\n\t\t\t\t\tvar namespace = visibleNamespaces[nsi]\n\t\t\t\t\tif (namespace.namespace === node.namespaceURI) {\n\t\t\t\t\t\tif (namespace.prefix) {\n\t\t\t\t\t\t\tprefixedNodeName = namespace.prefix + ':' + nodeName\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuf.push('<', prefixedNodeName);\n\n\t\tfor(var i=0;i');\n\t\t\t//if is cdata child node\n\t\t\tif(isHTML && /^script$/i.test(nodeName)){\n\t\t\t\twhile(child){\n\t\t\t\t\tif(child.data){\n\t\t\t\t\t\tbuf.push(child.data);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tserializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n\t\t\t\t\t}\n\t\t\t\t\tchild = child.nextSibling;\n\t\t\t\t}\n\t\t\t}else\n\t\t\t{\n\t\t\t\twhile(child){\n\t\t\t\t\tserializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n\t\t\t\t\tchild = child.nextSibling;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbuf.push('');\n\t\t}else{\n\t\t\tbuf.push('/>');\n\t\t}\n\t\t// remove added visible namespaces\n\t\t//visibleNamespaces.length = startVisibleNamespaces;\n\t\treturn;\n\tcase DOCUMENT_NODE:\n\tcase DOCUMENT_FRAGMENT_NODE:\n\t\tvar child = node.firstChild;\n\t\twhile(child){\n\t\t\tserializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n\t\t\tchild = child.nextSibling;\n\t\t}\n\t\treturn;\n\tcase ATTRIBUTE_NODE:\n\t\treturn addSerializedAttribute(buf, node.name, node.value);\n\tcase TEXT_NODE:\n\t\t/**\n\t\t * The ampersand character (&) and the left angle bracket (<) must not appear in their literal form,\n\t\t * except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section.\n\t\t * If they are needed elsewhere, they must be escaped using either numeric character references or the strings\n\t\t * `&` and `<` respectively.\n\t\t * The right angle bracket (>) may be represented using the string \" > \", and must, for compatibility,\n\t\t * be escaped using either `>` or a character reference when it appears in the string `]]>` in content,\n\t\t * when that string is not marking the end of a CDATA section.\n\t\t *\n\t\t * In the content of elements, character data is any string of characters\n\t\t * which does not contain the start-delimiter of any markup\n\t\t * and does not include the CDATA-section-close delimiter, `]]>`.\n\t\t *\n\t\t * @see https://www.w3.org/TR/xml/#NT-CharData\n\t\t * @see https://w3c.github.io/DOM-Parsing/#xml-serializing-a-text-node\n\t\t */\n\t\treturn buf.push(node.data\n\t\t\t.replace(/[<&>]/g,_xmlEncoder)\n\t\t);\n\tcase CDATA_SECTION_NODE:\n\t\treturn buf.push( '');\n\tcase COMMENT_NODE:\n\t\treturn buf.push( \"\");\n\tcase DOCUMENT_TYPE_NODE:\n\t\tvar pubid = node.publicId;\n\t\tvar sysid = node.systemId;\n\t\tbuf.push('');\n\t\t}else if(sysid && sysid!='.'){\n\t\t\tbuf.push(' SYSTEM ', sysid, '>');\n\t\t}else{\n\t\t\tvar sub = node.internalSubset;\n\t\t\tif(sub){\n\t\t\t\tbuf.push(\" [\",sub,\"]\");\n\t\t\t}\n\t\t\tbuf.push(\">\");\n\t\t}\n\t\treturn;\n\tcase PROCESSING_INSTRUCTION_NODE:\n\t\treturn buf.push( \"\");\n\tcase ENTITY_REFERENCE_NODE:\n\t\treturn buf.push( '&',node.nodeName,';');\n\t//case ENTITY_NODE:\n\t//case NOTATION_NODE:\n\tdefault:\n\t\tbuf.push('??',node.nodeName);\n\t}\n}\nfunction importNode(doc,node,deep){\n\tvar node2;\n\tswitch (node.nodeType) {\n\tcase ELEMENT_NODE:\n\t\tnode2 = node.cloneNode(false);\n\t\tnode2.ownerDocument = doc;\n\t\t//var attrs = node2.attributes;\n\t\t//var len = attrs.length;\n\t\t//for(var i=0;i\n\n/**\n * Creates an error that will not be caught by XMLReader aka the SAX parser.\n *\n * @param {string} message\n * @param {any?} locator Optional, can provide details about the location in the source\n * @constructor\n */\nfunction ParseError(message, locator) {\n\tthis.message = message\n\tthis.locator = locator\n\tif(Error.captureStackTrace) Error.captureStackTrace(this, ParseError);\n}\nParseError.prototype = new Error();\nParseError.prototype.name = ParseError.name\n\nfunction XMLReader(){\n\n}\n\nXMLReader.prototype = {\n\tparse:function(source,defaultNSMap,entityMap){\n\t\tvar domBuilder = this.domBuilder;\n\t\tdomBuilder.startDocument();\n\t\t_copy(defaultNSMap ,defaultNSMap = {})\n\t\tparse(source,defaultNSMap,entityMap,\n\t\t\t\tdomBuilder,this.errorHandler);\n\t\tdomBuilder.endDocument();\n\t}\n}\nfunction parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){\n\tfunction fixedFromCharCode(code) {\n\t\t// String.prototype.fromCharCode does not supports\n\t\t// > 2 bytes unicode chars directly\n\t\tif (code > 0xffff) {\n\t\t\tcode -= 0x10000;\n\t\t\tvar surrogate1 = 0xd800 + (code >> 10)\n\t\t\t\t, surrogate2 = 0xdc00 + (code & 0x3ff);\n\n\t\t\treturn String.fromCharCode(surrogate1, surrogate2);\n\t\t} else {\n\t\t\treturn String.fromCharCode(code);\n\t\t}\n\t}\n\tfunction entityReplacer(a){\n\t\tvar k = a.slice(1,-1);\n\t\tif (Object.hasOwnProperty.call(entityMap, k)) {\n\t\t\treturn entityMap[k];\n\t\t}else if(k.charAt(0) === '#'){\n\t\t\treturn fixedFromCharCode(parseInt(k.substr(1).replace('x','0x')))\n\t\t}else{\n\t\t\terrorHandler.error('entity not found:'+a);\n\t\t\treturn a;\n\t\t}\n\t}\n\tfunction appendText(end){//has some bugs\n\t\tif(end>start){\n\t\t\tvar xt = source.substring(start,end).replace(/&#?\\w+;/g,entityReplacer);\n\t\t\tlocator&&position(start);\n\t\t\tdomBuilder.characters(xt,0,end-start);\n\t\t\tstart = end\n\t\t}\n\t}\n\tfunction position(p,m){\n\t\twhile(p>=lineEnd && (m = linePattern.exec(source))){\n\t\t\tlineStart = m.index;\n\t\t\tlineEnd = lineStart + m[0].length;\n\t\t\tlocator.lineNumber++;\n\t\t\t//console.log('line++:',locator,startPos,endPos)\n\t\t}\n\t\tlocator.columnNumber = p-lineStart+1;\n\t}\n\tvar lineStart = 0;\n\tvar lineEnd = 0;\n\tvar linePattern = /.*(?:\\r\\n?|\\n)|.*$/g\n\tvar locator = domBuilder.locator;\n\n\tvar parseStack = [{currentNSMap:defaultNSMapCopy}]\n\tvar closeMap = {};\n\tvar start = 0;\n\twhile(true){\n\t\ttry{\n\t\t\tvar tagStart = source.indexOf('<',start);\n\t\t\tif(tagStart<0){\n\t\t\t\tif(!source.substr(start).match(/^\\s*$/)){\n\t\t\t\t\tvar doc = domBuilder.doc;\n\t \t\t\tvar text = doc.createTextNode(source.substr(start));\n\t \t\t\tdoc.appendChild(text);\n\t \t\t\tdomBuilder.currentElement = text;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(tagStart>start){\n\t\t\t\tappendText(tagStart);\n\t\t\t}\n\t\t\tswitch(source.charAt(tagStart+1)){\n\t\t\tcase '/':\n\t\t\t\tvar end = source.indexOf('>',tagStart+3);\n\t\t\t\tvar tagName = source.substring(tagStart + 2, end).replace(/[ \\t\\n\\r]+$/g, '');\n\t\t\t\tvar config = parseStack.pop();\n\t\t\t\tif(end<0){\n\n\t \t\ttagName = source.substring(tagStart+2).replace(/[\\s<].*/,'');\n\t \t\terrorHandler.error(\"end tag name: \"+tagName+' is not complete:'+config.tagName);\n\t \t\tend = tagStart+1+tagName.length;\n\t \t}else if(tagName.match(/\\s\n\t\t\t\tlocator&&position(tagStart);\n\t\t\t\tend = parseInstruction(source,tagStart,domBuilder);\n\t\t\t\tbreak;\n\t\t\tcase '!':// start){\n\t\t\tstart = end;\n\t\t}else{\n\t\t\t//TODO: 这里有可能sax回退,有位置错误风险\n\t\t\tappendText(Math.max(tagStart,start)+1);\n\t\t}\n\t}\n}\nfunction copyLocator(f,t){\n\tt.lineNumber = f.lineNumber;\n\tt.columnNumber = f.columnNumber;\n\treturn t;\n}\n\n/**\n * @see #appendElement(source,elStartEnd,el,selfClosed,entityReplacer,domBuilder,parseStack);\n * @return end of the elementStartPart(end of elementEndPart for selfClosed el)\n */\nfunction parseElementStartPart(source,start,el,currentNSMap,entityReplacer,errorHandler){\n\n\t/**\n\t * @param {string} qname\n\t * @param {string} value\n\t * @param {number} startIndex\n\t */\n\tfunction addAttribute(qname, value, startIndex) {\n\t\tif (el.attributeNames.hasOwnProperty(qname)) {\n\t\t\terrorHandler.fatalError('Attribute ' + qname + ' redefined')\n\t\t}\n\t\tel.addValue(\n\t\t\tqname,\n\t\t\t// @see https://www.w3.org/TR/xml/#AVNormalize\n\t\t\t// since the xmldom sax parser does not \"interpret\" DTD the following is not implemented:\n\t\t\t// - recursive replacement of (DTD) entity references\n\t\t\t// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA\n\t\t\tvalue.replace(/[\\t\\n\\r]/g, ' ').replace(/&#?\\w+;/g, entityReplacer),\n\t\t\tstartIndex\n\t\t)\n\t}\n\tvar attrName;\n\tvar value;\n\tvar p = ++start;\n\tvar s = S_TAG;//status\n\twhile(true){\n\t\tvar c = source.charAt(p);\n\t\tswitch(c){\n\t\tcase '=':\n\t\t\tif(s === S_ATTR){//attrName\n\t\t\t\tattrName = source.slice(start,p);\n\t\t\t\ts = S_EQ;\n\t\t\t}else if(s === S_ATTR_SPACE){\n\t\t\t\ts = S_EQ;\n\t\t\t}else{\n\t\t\t\t//fatalError: equal must after attrName or space after attrName\n\t\t\t\tthrow new Error('attribute equal must after attrName'); // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase '\\'':\n\t\tcase '\"':\n\t\t\tif(s === S_EQ || s === S_ATTR //|| s == S_ATTR_SPACE\n\t\t\t\t){//equal\n\t\t\t\tif(s === S_ATTR){\n\t\t\t\t\terrorHandler.warning('attribute value must after \"=\"')\n\t\t\t\t\tattrName = source.slice(start,p)\n\t\t\t\t}\n\t\t\t\tstart = p+1;\n\t\t\t\tp = source.indexOf(c,start)\n\t\t\t\tif(p>0){\n\t\t\t\t\tvalue = source.slice(start, p);\n\t\t\t\t\taddAttribute(attrName, value, start-1);\n\t\t\t\t\ts = S_ATTR_END;\n\t\t\t\t}else{\n\t\t\t\t\t//fatalError: no end quot match\n\t\t\t\t\tthrow new Error('attribute value no end \\''+c+'\\' match');\n\t\t\t\t}\n\t\t\t}else if(s == S_ATTR_NOQUOT_VALUE){\n\t\t\t\tvalue = source.slice(start, p);\n\t\t\t\taddAttribute(attrName, value, start);\n\t\t\t\terrorHandler.warning('attribute \"'+attrName+'\" missed start quot('+c+')!!');\n\t\t\t\tstart = p+1;\n\t\t\t\ts = S_ATTR_END\n\t\t\t}else{\n\t\t\t\t//fatalError: no equal before\n\t\t\t\tthrow new Error('attribute value must after \"=\"'); // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase '/':\n\t\t\tswitch(s){\n\t\t\tcase S_TAG:\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\tcase S_ATTR_END:\n\t\t\tcase S_TAG_SPACE:\n\t\t\tcase S_TAG_CLOSE:\n\t\t\t\ts =S_TAG_CLOSE;\n\t\t\t\tel.closed = true;\n\t\t\tcase S_ATTR_NOQUOT_VALUE:\n\t\t\tcase S_ATTR:\n\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_SPACE:\n\t\t\t\t\tel.closed = true;\n\t\t\t\tbreak;\n\t\t\t//case S_EQ:\n\t\t\tdefault:\n\t\t\t\tthrow new Error(\"attribute invalid close char('/')\") // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase ''://end document\n\t\t\terrorHandler.error('unexpected end of input');\n\t\t\tif(s == S_TAG){\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\t}\n\t\t\treturn p;\n\t\tcase '>':\n\t\t\tswitch(s){\n\t\t\tcase S_TAG:\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\tcase S_ATTR_END:\n\t\t\tcase S_TAG_SPACE:\n\t\t\tcase S_TAG_CLOSE:\n\t\t\t\tbreak;//normal\n\t\t\tcase S_ATTR_NOQUOT_VALUE://Compatible state\n\t\t\tcase S_ATTR:\n\t\t\t\tvalue = source.slice(start,p);\n\t\t\t\tif(value.slice(-1) === '/'){\n\t\t\t\t\tel.closed = true;\n\t\t\t\t\tvalue = value.slice(0,-1)\n\t\t\t\t}\n\t\t\tcase S_ATTR_SPACE:\n\t\t\t\tif(s === S_ATTR_SPACE){\n\t\t\t\t\tvalue = attrName;\n\t\t\t\t}\n\t\t\t\tif(s == S_ATTR_NOQUOT_VALUE){\n\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed quot(\")!');\n\t\t\t\t\taddAttribute(attrName, value, start)\n\t\t\t\t}else{\n\t\t\t\t\tif(!NAMESPACE.isHTML(currentNSMap['']) || !value.match(/^(?:disabled|checked|selected)$/i)){\n\t\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed value!! \"'+value+'\" instead!!')\n\t\t\t\t\t}\n\t\t\t\t\taddAttribute(value, value, start)\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase S_EQ:\n\t\t\t\tthrow new Error('attribute value missed!!');\n\t\t\t}\n//\t\t\tconsole.log(tagName,tagNamePattern,tagNamePattern.test(tagName))\n\t\t\treturn p;\n\t\t/*xml space '\\x20' | #x9 | #xD | #xA; */\n\t\tcase '\\u0080':\n\t\t\tc = ' ';\n\t\tdefault:\n\t\t\tif(c<= ' '){//space\n\t\t\t\tswitch(s){\n\t\t\t\tcase S_TAG:\n\t\t\t\t\tel.setTagName(source.slice(start,p));//tagName\n\t\t\t\t\ts = S_TAG_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR:\n\t\t\t\t\tattrName = source.slice(start,p)\n\t\t\t\t\ts = S_ATTR_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_NOQUOT_VALUE:\n\t\t\t\t\tvar value = source.slice(start, p);\n\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed quot(\")!!');\n\t\t\t\t\taddAttribute(attrName, value, start)\n\t\t\t\tcase S_ATTR_END:\n\t\t\t\t\ts = S_TAG_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\t//case S_TAG_SPACE:\n\t\t\t\t//case S_EQ:\n\t\t\t\t//case S_ATTR_SPACE:\n\t\t\t\t//\tvoid();break;\n\t\t\t\t//case S_TAG_CLOSE:\n\t\t\t\t\t//ignore warning\n\t\t\t\t}\n\t\t\t}else{//not space\n//S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n//S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\n\t\t\t\tswitch(s){\n\t\t\t\t//case S_TAG:void();break;\n\t\t\t\t//case S_ATTR:void();break;\n\t\t\t\t//case S_ATTR_NOQUOT_VALUE:void();break;\n\t\t\t\tcase S_ATTR_SPACE:\n\t\t\t\t\tvar tagName = el.tagName;\n\t\t\t\t\tif (!NAMESPACE.isHTML(currentNSMap['']) || !attrName.match(/^(?:disabled|checked|selected)$/i)) {\n\t\t\t\t\t\terrorHandler.warning('attribute \"'+attrName+'\" missed value!! \"'+attrName+'\" instead2!!')\n\t\t\t\t\t}\n\t\t\t\t\taddAttribute(attrName, attrName, start);\n\t\t\t\t\tstart = p;\n\t\t\t\t\ts = S_ATTR;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_END:\n\t\t\t\t\terrorHandler.warning('attribute space is required\"'+attrName+'\"!!')\n\t\t\t\tcase S_TAG_SPACE:\n\t\t\t\t\ts = S_ATTR;\n\t\t\t\t\tstart = p;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_EQ:\n\t\t\t\t\ts = S_ATTR_NOQUOT_VALUE;\n\t\t\t\t\tstart = p;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_TAG_CLOSE:\n\t\t\t\t\tthrow new Error(\"elements closed character '/' and '>' must be connected to\");\n\t\t\t\t}\n\t\t\t}\n\t\t}//end outer switch\n\t\t//console.log('p++',p)\n\t\tp++;\n\t}\n}\n/**\n * @return true if has new namespace define\n */\nfunction appendElement(el,domBuilder,currentNSMap){\n\tvar tagName = el.tagName;\n\tvar localNSMap = null;\n\t//var currentNSMap = parseStack[parseStack.length-1].currentNSMap;\n\tvar i = el.length;\n\twhile(i--){\n\t\tvar a = el[i];\n\t\tvar qName = a.qName;\n\t\tvar value = a.value;\n\t\tvar nsp = qName.indexOf(':');\n\t\tif(nsp>0){\n\t\t\tvar prefix = a.prefix = qName.slice(0,nsp);\n\t\t\tvar localName = qName.slice(nsp+1);\n\t\t\tvar nsPrefix = prefix === 'xmlns' && localName\n\t\t}else{\n\t\t\tlocalName = qName;\n\t\t\tprefix = null\n\t\t\tnsPrefix = qName === 'xmlns' && ''\n\t\t}\n\t\t//can not set prefix,because prefix !== ''\n\t\ta.localName = localName ;\n\t\t//prefix == null for no ns prefix attribute\n\t\tif(nsPrefix !== false){//hack!!\n\t\t\tif(localNSMap == null){\n\t\t\t\tlocalNSMap = {}\n\t\t\t\t//console.log(currentNSMap,0)\n\t\t\t\t_copy(currentNSMap,currentNSMap={})\n\t\t\t\t//console.log(currentNSMap,1)\n\t\t\t}\n\t\t\tcurrentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;\n\t\t\ta.uri = NAMESPACE.XMLNS\n\t\t\tdomBuilder.startPrefixMapping(nsPrefix, value)\n\t\t}\n\t}\n\tvar i = el.length;\n\twhile(i--){\n\t\ta = el[i];\n\t\tvar prefix = a.prefix;\n\t\tif(prefix){//no prefix attribute has no namespace\n\t\t\tif(prefix === 'xml'){\n\t\t\t\ta.uri = NAMESPACE.XML;\n\t\t\t}if(prefix !== 'xmlns'){\n\t\t\t\ta.uri = currentNSMap[prefix || '']\n\n\t\t\t\t//{console.log('###'+a.qName,domBuilder.locator.systemId+'',currentNSMap,a.uri)}\n\t\t\t}\n\t\t}\n\t}\n\tvar nsp = tagName.indexOf(':');\n\tif(nsp>0){\n\t\tprefix = el.prefix = tagName.slice(0,nsp);\n\t\tlocalName = el.localName = tagName.slice(nsp+1);\n\t}else{\n\t\tprefix = null;//important!!\n\t\tlocalName = el.localName = tagName;\n\t}\n\t//no prefix element has default namespace\n\tvar ns = el.uri = currentNSMap[prefix || ''];\n\tdomBuilder.startElement(ns,localName,tagName,el);\n\t//endPrefixMapping and startPrefixMapping have not any help for dom builder\n\t//localNSMap = null\n\tif(el.closed){\n\t\tdomBuilder.endElement(ns,localName,tagName);\n\t\tif(localNSMap){\n\t\t\tfor (prefix in localNSMap) {\n\t\t\t\tif (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {\n\t\t\t\t\tdomBuilder.endPrefixMapping(prefix);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}else{\n\t\tel.currentNSMap = currentNSMap;\n\t\tel.localNSMap = localNSMap;\n\t\t//parseStack.push(el);\n\t\treturn true;\n\t}\n}\nfunction parseHtmlSpecialContent(source,elStartEnd,tagName,entityReplacer,domBuilder){\n\tif(/^(?:script|textarea)$/i.test(tagName)){\n\t\tvar elEndStart = source.indexOf('',elStartEnd);\n\t\tvar text = source.substring(elStartEnd+1,elEndStart);\n\t\tif(/[&<]/.test(text)){\n\t\t\tif(/^script$/i.test(tagName)){\n\t\t\t\t//if(!/\\]\\]>/.test(text)){\n\t\t\t\t\t//lexHandler.startCDATA();\n\t\t\t\t\tdomBuilder.characters(text,0,text.length);\n\t\t\t\t\t//lexHandler.endCDATA();\n\t\t\t\t\treturn elEndStart;\n\t\t\t\t//}\n\t\t\t}//}else{//text area\n\t\t\t\ttext = text.replace(/&#?\\w+;/g,entityReplacer);\n\t\t\t\tdomBuilder.characters(text,0,text.length);\n\t\t\t\treturn elEndStart;\n\t\t\t//}\n\n\t\t}\n\t}\n\treturn elStartEnd+1;\n}\nfunction fixSelfClosed(source,elStartEnd,tagName,closeMap){\n\t//if(tagName in closeMap){\n\tvar pos = closeMap[tagName];\n\tif(pos == null){\n\t\t//console.log(tagName)\n\t\tpos = source.lastIndexOf('')\n\t\tif(pos',start+4);\n\t\t\t//append comment source.substring(4,end)// | item |\n// | item | | item | | item |\n// | ... | | ... | | ... |\n// | item | | item | | item |\n// | item | | item | | item |\n// | [empty] | <-- top | item | | item |\n// | [empty] | | item | | item |\n// | [empty] | | [empty] | <-- top top --> | [empty] |\n// +-----------+ +-----------+ +-----------+\n//\n// Or, if there is only one circular buffer, it looks something\n// like either of these:\n//\n// head tail head tail\n// | | | |\n// v v v v\n// +-----------+ +-----------+\n// | [null] | | [null] |\n// +-----------+ +-----------+\n// | [empty] | | item |\n// | [empty] | | item |\n// | item | <-- bottom top --> | [empty] |\n// | item | | [empty] |\n// | [empty] | <-- top bottom --> | item |\n// | [empty] | | item |\n// +-----------+ +-----------+\n//\n// Adding a value means moving `top` forward by one, removing means\n// moving `bottom` forward by one. After reaching the end, the queue\n// wraps around.\n//\n// When `top === bottom` the current queue is empty and when\n// `top + 1 === bottom` it's full. This wastes a single space of storage\n// but allows much quicker checks.\n\nclass FixedCircularBuffer {\n constructor() {\n this.bottom = 0;\n this.top = 0;\n this.list = new Array(kSize);\n this.next = null;\n }\n\n isEmpty() {\n return this.top === this.bottom;\n }\n\n isFull() {\n return ((this.top + 1) & kMask) === this.bottom;\n }\n\n push(data) {\n this.list[this.top] = data;\n this.top = (this.top + 1) & kMask;\n }\n\n shift() {\n const nextItem = this.list[this.bottom];\n if (nextItem === undefined)\n return null;\n this.list[this.bottom] = undefined;\n this.bottom = (this.bottom + 1) & kMask;\n return nextItem;\n }\n}\n\nmodule.exports = class FixedQueue {\n constructor() {\n this.head = this.tail = new FixedCircularBuffer();\n }\n\n isEmpty() {\n return this.head.isEmpty();\n }\n\n push(data) {\n if (this.head.isFull()) {\n // Head is full: Creates a new queue, sets the old queue's `.next` to it,\n // and sets it as the new main queue.\n this.head = this.head.next = new FixedCircularBuffer();\n }\n this.head.push(data);\n }\n\n shift() {\n const tail = this.tail;\n const next = tail.shift();\n if (tail.isEmpty() && tail.next !== null) {\n // If there is another queue, it forms the new tail.\n this.tail = tail.next;\n }\n return next;\n }\n};\n","const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols')\nconst kPool = Symbol('pool')\n\nclass PoolStats {\n constructor (pool) {\n this[kPool] = pool\n }\n\n get connected () {\n return this[kPool][kConnected]\n }\n\n get free () {\n return this[kPool][kFree]\n }\n\n get pending () {\n return this[kPool][kPending]\n }\n\n get queued () {\n return this[kPool][kQueued]\n }\n\n get running () {\n return this[kPool][kRunning]\n }\n\n get size () {\n return this[kPool][kSize]\n }\n}\n\nmodule.exports = PoolStats\n","'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst FixedQueue = require('./node/fixed-queue')\nconst { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('./core/symbols')\nconst PoolStats = require('./pool-stats')\n\nconst kClients = Symbol('clients')\nconst kNeedDrain = Symbol('needDrain')\nconst kQueue = Symbol('queue')\nconst kClosedResolve = Symbol('closed resolve')\nconst kOnDrain = Symbol('onDrain')\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kGetDispatcher = Symbol('get dispatcher')\nconst kAddClient = Symbol('add client')\nconst kRemoveClient = Symbol('remove client')\nconst kStats = Symbol('stats')\n\nclass PoolBase extends DispatcherBase {\n constructor () {\n super()\n\n this[kQueue] = new FixedQueue()\n this[kClients] = []\n this[kQueued] = 0\n\n const pool = this\n\n this[kOnDrain] = function onDrain (origin, targets) {\n const queue = pool[kQueue]\n\n let needDrain = false\n\n while (!needDrain) {\n const item = queue.shift()\n if (!item) {\n break\n }\n pool[kQueued]--\n needDrain = !this.dispatch(item.opts, item.handler)\n }\n\n this[kNeedDrain] = needDrain\n\n if (!this[kNeedDrain] && pool[kNeedDrain]) {\n pool[kNeedDrain] = false\n pool.emit('drain', origin, [pool, ...targets])\n }\n\n if (pool[kClosedResolve] && queue.isEmpty()) {\n Promise\n .all(pool[kClients].map(c => c.close()))\n .then(pool[kClosedResolve])\n }\n }\n\n this[kOnConnect] = (origin, targets) => {\n pool.emit('connect', origin, [pool, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n pool.emit('disconnect', origin, [pool, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n pool.emit('connectionError', origin, [pool, ...targets], err)\n }\n\n this[kStats] = new PoolStats(this)\n }\n\n get [kBusy] () {\n return this[kNeedDrain]\n }\n\n get [kConnected] () {\n return this[kClients].filter(client => client[kConnected]).length\n }\n\n get [kFree] () {\n return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length\n }\n\n get [kPending] () {\n let ret = this[kQueued]\n for (const { [kPending]: pending } of this[kClients]) {\n ret += pending\n }\n return ret\n }\n\n get [kRunning] () {\n let ret = 0\n for (const { [kRunning]: running } of this[kClients]) {\n ret += running\n }\n return ret\n }\n\n get [kSize] () {\n let ret = this[kQueued]\n for (const { [kSize]: size } of this[kClients]) {\n ret += size\n }\n return ret\n }\n\n get stats () {\n return this[kStats]\n }\n\n async [kClose] () {\n if (this[kQueue].isEmpty()) {\n return Promise.all(this[kClients].map(c => c.close()))\n } else {\n return new Promise((resolve) => {\n this[kClosedResolve] = resolve\n })\n }\n }\n\n async [kDestroy] (err) {\n while (true) {\n const item = this[kQueue].shift()\n if (!item) {\n break\n }\n item.handler.onError(err)\n }\n\n return Promise.all(this[kClients].map(c => c.destroy(err)))\n }\n\n [kDispatch] (opts, handler) {\n const dispatcher = this[kGetDispatcher]()\n\n if (!dispatcher) {\n this[kNeedDrain] = true\n this[kQueue].push({ opts, handler })\n this[kQueued]++\n } else if (!dispatcher.dispatch(opts, handler)) {\n dispatcher[kNeedDrain] = true\n this[kNeedDrain] = !this[kGetDispatcher]()\n }\n\n return !this[kNeedDrain]\n }\n\n [kAddClient] (client) {\n client\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n this[kClients].push(client)\n\n if (this[kNeedDrain]) {\n process.nextTick(() => {\n if (this[kNeedDrain]) {\n this[kOnDrain](client[kUrl], [this, client])\n }\n })\n }\n\n return this\n }\n\n [kRemoveClient] (client) {\n client.close(() => {\n const idx = this[kClients].indexOf(client)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n })\n\n this[kNeedDrain] = this[kClients].some(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n }\n}\n\nmodule.exports = {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n}\n","'use strict'\n\n/** @type {Record} */\nconst headerNameLowerCasedRecord = {}\n\n// https://developer.mozilla.org/docs/Web/HTTP/Headers\nconst wellknownHeaderNames = [\n 'Accept',\n 'Accept-Encoding',\n 'Accept-Language',\n 'Accept-Ranges',\n 'Access-Control-Allow-Credentials',\n 'Access-Control-Allow-Headers',\n 'Access-Control-Allow-Methods',\n 'Access-Control-Allow-Origin',\n 'Access-Control-Expose-Headers',\n 'Access-Control-Max-Age',\n 'Access-Control-Request-Headers',\n 'Access-Control-Request-Method',\n 'Age',\n 'Allow',\n 'Alt-Svc',\n 'Alt-Used',\n 'Authorization',\n 'Cache-Control',\n 'Clear-Site-Data',\n 'Connection',\n 'Content-Disposition',\n 'Content-Encoding',\n 'Content-Language',\n 'Content-Length',\n 'Content-Location',\n 'Content-Range',\n 'Content-Security-Policy',\n 'Content-Security-Policy-Report-Only',\n 'Content-Type',\n 'Cookie',\n 'Cross-Origin-Embedder-Policy',\n 'Cross-Origin-Opener-Policy',\n 'Cross-Origin-Resource-Policy',\n 'Date',\n 'Device-Memory',\n 'Downlink',\n 'ECT',\n 'ETag',\n 'Expect',\n 'Expect-CT',\n 'Expires',\n 'Forwarded',\n 'From',\n 'Host',\n 'If-Match',\n 'If-Modified-Since',\n 'If-None-Match',\n 'If-Range',\n 'If-Unmodified-Since',\n 'Keep-Alive',\n 'Last-Modified',\n 'Link',\n 'Location',\n 'Max-Forwards',\n 'Origin',\n 'Permissions-Policy',\n 'Pragma',\n 'Proxy-Authenticate',\n 'Proxy-Authorization',\n 'RTT',\n 'Range',\n 'Referer',\n 'Referrer-Policy',\n 'Refresh',\n 'Retry-After',\n 'Sec-WebSocket-Accept',\n 'Sec-WebSocket-Extensions',\n 'Sec-WebSocket-Key',\n 'Sec-WebSocket-Protocol',\n 'Sec-WebSocket-Version',\n 'Server',\n 'Server-Timing',\n 'Service-Worker-Allowed',\n 'Service-Worker-Navigation-Preload',\n 'Set-Cookie',\n 'SourceMap',\n 'Strict-Transport-Security',\n 'Supports-Loading-Mode',\n 'TE',\n 'Timing-Allow-Origin',\n 'Trailer',\n 'Transfer-Encoding',\n 'Upgrade',\n 'Upgrade-Insecure-Requests',\n 'User-Agent',\n 'Vary',\n 'Via',\n 'WWW-Authenticate',\n 'X-Content-Type-Options',\n 'X-DNS-Prefetch-Control',\n 'X-Frame-Options',\n 'X-Permitted-Cross-Domain-Policies',\n 'X-Powered-By',\n 'X-Requested-With',\n 'X-XSS-Protection'\n]\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = wellknownHeaderNames[i]\n const lowerCasedKey = key.toLowerCase()\n headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] =\n lowerCasedKey\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(headerNameLowerCasedRecord, null)\n\nmodule.exports = {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n}\n","'use strict'\n\nconst net = require('net')\nconst assert = require('assert')\nconst util = require('./util')\nconst { InvalidArgumentError, ConnectTimeoutError } = require('./errors')\n\nlet tls // include tls conditionally since it is not always available\n\n// TODO: session re-use does not wait for the first\n// connection to resolve the session and might therefore\n// resolve the same servername multiple times even when\n// re-use is enabled.\n\nlet SessionCache\n// FIXME: remove workaround when the Node bug is fixed\n// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\nif (global.FinalizationRegistry && !process.env.NODE_V8_COVERAGE) {\n SessionCache = class WeakSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n this._sessionRegistry = new global.FinalizationRegistry((key) => {\n if (this._sessionCache.size < this._maxCachedSessions) {\n return\n }\n\n const ref = this._sessionCache.get(key)\n if (ref !== undefined && ref.deref() === undefined) {\n this._sessionCache.delete(key)\n }\n })\n }\n\n get (sessionKey) {\n const ref = this._sessionCache.get(sessionKey)\n return ref ? ref.deref() : null\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n this._sessionCache.set(sessionKey, new WeakRef(session))\n this._sessionRegistry.register(session, sessionKey)\n }\n }\n} else {\n SessionCache = class SimpleSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n }\n\n get (sessionKey) {\n return this._sessionCache.get(sessionKey)\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n if (this._sessionCache.size >= this._maxCachedSessions) {\n // remove the oldest session\n const { value: oldestKey } = this._sessionCache.keys().next()\n this._sessionCache.delete(oldestKey)\n }\n\n this._sessionCache.set(sessionKey, session)\n }\n }\n}\n\nfunction buildConnector ({ allowH2, maxCachedSessions, socketPath, timeout, ...opts }) {\n if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) {\n throw new InvalidArgumentError('maxCachedSessions must be a positive integer or zero')\n }\n\n const options = { path: socketPath, ...opts }\n const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions)\n timeout = timeout == null ? 10e3 : timeout\n allowH2 = allowH2 != null ? allowH2 : false\n return function connect ({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) {\n let socket\n if (protocol === 'https:') {\n if (!tls) {\n tls = require('tls')\n }\n servername = servername || options.servername || util.getServerName(host) || null\n\n const sessionKey = servername || hostname\n const session = sessionCache.get(sessionKey) || null\n\n assert(sessionKey)\n\n socket = tls.connect({\n highWaterMark: 16384, // TLS in node can't have bigger HWM anyway...\n ...options,\n servername,\n session,\n localAddress,\n // TODO(HTTP/2): Add support for h2c\n ALPNProtocols: allowH2 ? ['http/1.1', 'h2'] : ['http/1.1'],\n socket: httpSocket, // upgrade socket connection\n port: port || 443,\n host: hostname\n })\n\n socket\n .on('session', function (session) {\n // TODO (fix): Can a session become invalid once established? Don't think so?\n sessionCache.set(sessionKey, session)\n })\n } else {\n assert(!httpSocket, 'httpSocket can only be sent on TLS update')\n socket = net.connect({\n highWaterMark: 64 * 1024, // Same as nodejs fs streams.\n ...options,\n localAddress,\n port: port || 80,\n host: hostname\n })\n }\n\n // Set TCP keep alive options on the socket here instead of in connect() for the case of assigning the socket\n if (options.keepAlive == null || options.keepAlive) {\n const keepAliveInitialDelay = options.keepAliveInitialDelay === undefined ? 60e3 : options.keepAliveInitialDelay\n socket.setKeepAlive(true, keepAliveInitialDelay)\n }\n\n const cancelTimeout = setupTimeout(() => onConnectTimeout(socket), timeout)\n\n socket\n .setNoDelay(true)\n .once(protocol === 'https:' ? 'secureConnect' : 'connect', function () {\n cancelTimeout()\n\n if (callback) {\n const cb = callback\n callback = null\n cb(null, this)\n }\n })\n .on('error', function (err) {\n cancelTimeout()\n\n if (callback) {\n const cb = callback\n callback = null\n cb(err)\n }\n })\n\n return socket\n }\n}\n\nfunction setupTimeout (onConnectTimeout, timeout) {\n if (!timeout) {\n return () => {}\n }\n\n let s1 = null\n let s2 = null\n const timeoutId = setTimeout(() => {\n // setImmediate is added to make sure that we priotorise socket error events over timeouts\n s1 = setImmediate(() => {\n if (process.platform === 'win32') {\n // Windows needs an extra setImmediate probably due to implementation differences in the socket logic\n s2 = setImmediate(() => onConnectTimeout())\n } else {\n onConnectTimeout()\n }\n })\n }, timeout)\n return () => {\n clearTimeout(timeoutId)\n clearImmediate(s1)\n clearImmediate(s2)\n }\n}\n\nfunction onConnectTimeout (socket) {\n util.destroy(socket, new ConnectTimeoutError())\n}\n\nmodule.exports = buildConnector\n","'use strict'\n\nconst RedirectHandler = require('../handler/RedirectHandler')\n\nfunction createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) {\n return (dispatch) => {\n return function Intercept (opts, handler) {\n const { maxRedirections = defaultMaxRedirections } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler)\n opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting.\n return dispatch(opts, redirectHandler)\n }\n }\n}\n\nmodule.exports = createRedirectInterceptor\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0;\nconst utils_1 = require(\"./utils\");\n// C headers\nvar ERROR;\n(function (ERROR) {\n ERROR[ERROR[\"OK\"] = 0] = \"OK\";\n ERROR[ERROR[\"INTERNAL\"] = 1] = \"INTERNAL\";\n ERROR[ERROR[\"STRICT\"] = 2] = \"STRICT\";\n ERROR[ERROR[\"LF_EXPECTED\"] = 3] = \"LF_EXPECTED\";\n ERROR[ERROR[\"UNEXPECTED_CONTENT_LENGTH\"] = 4] = \"UNEXPECTED_CONTENT_LENGTH\";\n ERROR[ERROR[\"CLOSED_CONNECTION\"] = 5] = \"CLOSED_CONNECTION\";\n ERROR[ERROR[\"INVALID_METHOD\"] = 6] = \"INVALID_METHOD\";\n ERROR[ERROR[\"INVALID_URL\"] = 7] = \"INVALID_URL\";\n ERROR[ERROR[\"INVALID_CONSTANT\"] = 8] = \"INVALID_CONSTANT\";\n ERROR[ERROR[\"INVALID_VERSION\"] = 9] = \"INVALID_VERSION\";\n ERROR[ERROR[\"INVALID_HEADER_TOKEN\"] = 10] = \"INVALID_HEADER_TOKEN\";\n ERROR[ERROR[\"INVALID_CONTENT_LENGTH\"] = 11] = \"INVALID_CONTENT_LENGTH\";\n ERROR[ERROR[\"INVALID_CHUNK_SIZE\"] = 12] = \"INVALID_CHUNK_SIZE\";\n ERROR[ERROR[\"INVALID_STATUS\"] = 13] = \"INVALID_STATUS\";\n ERROR[ERROR[\"INVALID_EOF_STATE\"] = 14] = \"INVALID_EOF_STATE\";\n ERROR[ERROR[\"INVALID_TRANSFER_ENCODING\"] = 15] = \"INVALID_TRANSFER_ENCODING\";\n ERROR[ERROR[\"CB_MESSAGE_BEGIN\"] = 16] = \"CB_MESSAGE_BEGIN\";\n ERROR[ERROR[\"CB_HEADERS_COMPLETE\"] = 17] = \"CB_HEADERS_COMPLETE\";\n ERROR[ERROR[\"CB_MESSAGE_COMPLETE\"] = 18] = \"CB_MESSAGE_COMPLETE\";\n ERROR[ERROR[\"CB_CHUNK_HEADER\"] = 19] = \"CB_CHUNK_HEADER\";\n ERROR[ERROR[\"CB_CHUNK_COMPLETE\"] = 20] = \"CB_CHUNK_COMPLETE\";\n ERROR[ERROR[\"PAUSED\"] = 21] = \"PAUSED\";\n ERROR[ERROR[\"PAUSED_UPGRADE\"] = 22] = \"PAUSED_UPGRADE\";\n ERROR[ERROR[\"PAUSED_H2_UPGRADE\"] = 23] = \"PAUSED_H2_UPGRADE\";\n ERROR[ERROR[\"USER\"] = 24] = \"USER\";\n})(ERROR = exports.ERROR || (exports.ERROR = {}));\nvar TYPE;\n(function (TYPE) {\n TYPE[TYPE[\"BOTH\"] = 0] = \"BOTH\";\n TYPE[TYPE[\"REQUEST\"] = 1] = \"REQUEST\";\n TYPE[TYPE[\"RESPONSE\"] = 2] = \"RESPONSE\";\n})(TYPE = exports.TYPE || (exports.TYPE = {}));\nvar FLAGS;\n(function (FLAGS) {\n FLAGS[FLAGS[\"CONNECTION_KEEP_ALIVE\"] = 1] = \"CONNECTION_KEEP_ALIVE\";\n FLAGS[FLAGS[\"CONNECTION_CLOSE\"] = 2] = \"CONNECTION_CLOSE\";\n FLAGS[FLAGS[\"CONNECTION_UPGRADE\"] = 4] = \"CONNECTION_UPGRADE\";\n FLAGS[FLAGS[\"CHUNKED\"] = 8] = \"CHUNKED\";\n FLAGS[FLAGS[\"UPGRADE\"] = 16] = \"UPGRADE\";\n FLAGS[FLAGS[\"CONTENT_LENGTH\"] = 32] = \"CONTENT_LENGTH\";\n FLAGS[FLAGS[\"SKIPBODY\"] = 64] = \"SKIPBODY\";\n FLAGS[FLAGS[\"TRAILING\"] = 128] = \"TRAILING\";\n // 1 << 8 is unused\n FLAGS[FLAGS[\"TRANSFER_ENCODING\"] = 512] = \"TRANSFER_ENCODING\";\n})(FLAGS = exports.FLAGS || (exports.FLAGS = {}));\nvar LENIENT_FLAGS;\n(function (LENIENT_FLAGS) {\n LENIENT_FLAGS[LENIENT_FLAGS[\"HEADERS\"] = 1] = \"HEADERS\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"CHUNKED_LENGTH\"] = 2] = \"CHUNKED_LENGTH\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"KEEP_ALIVE\"] = 4] = \"KEEP_ALIVE\";\n})(LENIENT_FLAGS = exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {}));\nvar METHODS;\n(function (METHODS) {\n METHODS[METHODS[\"DELETE\"] = 0] = \"DELETE\";\n METHODS[METHODS[\"GET\"] = 1] = \"GET\";\n METHODS[METHODS[\"HEAD\"] = 2] = \"HEAD\";\n METHODS[METHODS[\"POST\"] = 3] = \"POST\";\n METHODS[METHODS[\"PUT\"] = 4] = \"PUT\";\n /* pathological */\n METHODS[METHODS[\"CONNECT\"] = 5] = \"CONNECT\";\n METHODS[METHODS[\"OPTIONS\"] = 6] = \"OPTIONS\";\n METHODS[METHODS[\"TRACE\"] = 7] = \"TRACE\";\n /* WebDAV */\n METHODS[METHODS[\"COPY\"] = 8] = \"COPY\";\n METHODS[METHODS[\"LOCK\"] = 9] = \"LOCK\";\n METHODS[METHODS[\"MKCOL\"] = 10] = \"MKCOL\";\n METHODS[METHODS[\"MOVE\"] = 11] = \"MOVE\";\n METHODS[METHODS[\"PROPFIND\"] = 12] = \"PROPFIND\";\n METHODS[METHODS[\"PROPPATCH\"] = 13] = \"PROPPATCH\";\n METHODS[METHODS[\"SEARCH\"] = 14] = \"SEARCH\";\n METHODS[METHODS[\"UNLOCK\"] = 15] = \"UNLOCK\";\n METHODS[METHODS[\"BIND\"] = 16] = \"BIND\";\n METHODS[METHODS[\"REBIND\"] = 17] = \"REBIND\";\n METHODS[METHODS[\"UNBIND\"] = 18] = \"UNBIND\";\n METHODS[METHODS[\"ACL\"] = 19] = \"ACL\";\n /* subversion */\n METHODS[METHODS[\"REPORT\"] = 20] = \"REPORT\";\n METHODS[METHODS[\"MKACTIVITY\"] = 21] = \"MKACTIVITY\";\n METHODS[METHODS[\"CHECKOUT\"] = 22] = \"CHECKOUT\";\n METHODS[METHODS[\"MERGE\"] = 23] = \"MERGE\";\n /* upnp */\n METHODS[METHODS[\"M-SEARCH\"] = 24] = \"M-SEARCH\";\n METHODS[METHODS[\"NOTIFY\"] = 25] = \"NOTIFY\";\n METHODS[METHODS[\"SUBSCRIBE\"] = 26] = \"SUBSCRIBE\";\n METHODS[METHODS[\"UNSUBSCRIBE\"] = 27] = \"UNSUBSCRIBE\";\n /* RFC-5789 */\n METHODS[METHODS[\"PATCH\"] = 28] = \"PATCH\";\n METHODS[METHODS[\"PURGE\"] = 29] = \"PURGE\";\n /* CalDAV */\n METHODS[METHODS[\"MKCALENDAR\"] = 30] = \"MKCALENDAR\";\n /* RFC-2068, section 19.6.1.2 */\n METHODS[METHODS[\"LINK\"] = 31] = \"LINK\";\n METHODS[METHODS[\"UNLINK\"] = 32] = \"UNLINK\";\n /* icecast */\n METHODS[METHODS[\"SOURCE\"] = 33] = \"SOURCE\";\n /* RFC-7540, section 11.6 */\n METHODS[METHODS[\"PRI\"] = 34] = \"PRI\";\n /* RFC-2326 RTSP */\n METHODS[METHODS[\"DESCRIBE\"] = 35] = \"DESCRIBE\";\n METHODS[METHODS[\"ANNOUNCE\"] = 36] = \"ANNOUNCE\";\n METHODS[METHODS[\"SETUP\"] = 37] = \"SETUP\";\n METHODS[METHODS[\"PLAY\"] = 38] = \"PLAY\";\n METHODS[METHODS[\"PAUSE\"] = 39] = \"PAUSE\";\n METHODS[METHODS[\"TEARDOWN\"] = 40] = \"TEARDOWN\";\n METHODS[METHODS[\"GET_PARAMETER\"] = 41] = \"GET_PARAMETER\";\n METHODS[METHODS[\"SET_PARAMETER\"] = 42] = \"SET_PARAMETER\";\n METHODS[METHODS[\"REDIRECT\"] = 43] = \"REDIRECT\";\n METHODS[METHODS[\"RECORD\"] = 44] = \"RECORD\";\n /* RAOP */\n METHODS[METHODS[\"FLUSH\"] = 45] = \"FLUSH\";\n})(METHODS = exports.METHODS || (exports.METHODS = {}));\nexports.METHODS_HTTP = [\n METHODS.DELETE,\n METHODS.GET,\n METHODS.HEAD,\n METHODS.POST,\n METHODS.PUT,\n METHODS.CONNECT,\n METHODS.OPTIONS,\n METHODS.TRACE,\n METHODS.COPY,\n METHODS.LOCK,\n METHODS.MKCOL,\n METHODS.MOVE,\n METHODS.PROPFIND,\n METHODS.PROPPATCH,\n METHODS.SEARCH,\n METHODS.UNLOCK,\n METHODS.BIND,\n METHODS.REBIND,\n METHODS.UNBIND,\n METHODS.ACL,\n METHODS.REPORT,\n METHODS.MKACTIVITY,\n METHODS.CHECKOUT,\n METHODS.MERGE,\n METHODS['M-SEARCH'],\n METHODS.NOTIFY,\n METHODS.SUBSCRIBE,\n METHODS.UNSUBSCRIBE,\n METHODS.PATCH,\n METHODS.PURGE,\n METHODS.MKCALENDAR,\n METHODS.LINK,\n METHODS.UNLINK,\n METHODS.PRI,\n // TODO(indutny): should we allow it with HTTP?\n METHODS.SOURCE,\n];\nexports.METHODS_ICE = [\n METHODS.SOURCE,\n];\nexports.METHODS_RTSP = [\n METHODS.OPTIONS,\n METHODS.DESCRIBE,\n METHODS.ANNOUNCE,\n METHODS.SETUP,\n METHODS.PLAY,\n METHODS.PAUSE,\n METHODS.TEARDOWN,\n METHODS.GET_PARAMETER,\n METHODS.SET_PARAMETER,\n METHODS.REDIRECT,\n METHODS.RECORD,\n METHODS.FLUSH,\n // For AirPlay\n METHODS.GET,\n METHODS.POST,\n];\nexports.METHOD_MAP = utils_1.enumToMap(METHODS);\nexports.H_METHOD_MAP = {};\nObject.keys(exports.METHOD_MAP).forEach((key) => {\n if (/^H/.test(key)) {\n exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key];\n }\n});\nvar FINISH;\n(function (FINISH) {\n FINISH[FINISH[\"SAFE\"] = 0] = \"SAFE\";\n FINISH[FINISH[\"SAFE_WITH_CB\"] = 1] = \"SAFE_WITH_CB\";\n FINISH[FINISH[\"UNSAFE\"] = 2] = \"UNSAFE\";\n})(FINISH = exports.FINISH || (exports.FINISH = {}));\nexports.ALPHA = [];\nfor (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) {\n // Upper case\n exports.ALPHA.push(String.fromCharCode(i));\n // Lower case\n exports.ALPHA.push(String.fromCharCode(i + 0x20));\n}\nexports.NUM_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n};\nexports.HEX_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n A: 0XA, B: 0XB, C: 0XC, D: 0XD, E: 0XE, F: 0XF,\n a: 0xa, b: 0xb, c: 0xc, d: 0xd, e: 0xe, f: 0xf,\n};\nexports.NUM = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n];\nexports.ALPHANUM = exports.ALPHA.concat(exports.NUM);\nexports.MARK = ['-', '_', '.', '!', '~', '*', '\\'', '(', ')'];\nexports.USERINFO_CHARS = exports.ALPHANUM\n .concat(exports.MARK)\n .concat(['%', ';', ':', '&', '=', '+', '$', ',']);\n// TODO(indutny): use RFC\nexports.STRICT_URL_CHAR = [\n '!', '\"', '$', '%', '&', '\\'',\n '(', ')', '*', '+', ',', '-', '.', '/',\n ':', ';', '<', '=', '>',\n '@', '[', '\\\\', ']', '^', '_',\n '`',\n '{', '|', '}', '~',\n].concat(exports.ALPHANUM);\nexports.URL_CHAR = exports.STRICT_URL_CHAR\n .concat(['\\t', '\\f']);\n// All characters with 0x80 bit set to 1\nfor (let i = 0x80; i <= 0xff; i++) {\n exports.URL_CHAR.push(i);\n}\nexports.HEX = exports.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']);\n/* Tokens as defined by rfc 2616. Also lowercases them.\n * token = 1*\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n */\nexports.STRICT_TOKEN = [\n '!', '#', '$', '%', '&', '\\'',\n '*', '+', '-', '.',\n '^', '_', '`',\n '|', '~',\n].concat(exports.ALPHANUM);\nexports.TOKEN = exports.STRICT_TOKEN.concat([' ']);\n/*\n * Verify that a char is a valid visible (printable) US-ASCII\n * character or %x80-FF\n */\nexports.HEADER_CHARS = ['\\t'];\nfor (let i = 32; i <= 255; i++) {\n if (i !== 127) {\n exports.HEADER_CHARS.push(i);\n }\n}\n// ',' = \\x44\nexports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44);\nexports.MAJOR = exports.NUM_MAP;\nexports.MINOR = exports.MAJOR;\nvar HEADER_STATE;\n(function (HEADER_STATE) {\n HEADER_STATE[HEADER_STATE[\"GENERAL\"] = 0] = \"GENERAL\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION\"] = 1] = \"CONNECTION\";\n HEADER_STATE[HEADER_STATE[\"CONTENT_LENGTH\"] = 2] = \"CONTENT_LENGTH\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING\"] = 3] = \"TRANSFER_ENCODING\";\n HEADER_STATE[HEADER_STATE[\"UPGRADE\"] = 4] = \"UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_KEEP_ALIVE\"] = 5] = \"CONNECTION_KEEP_ALIVE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_CLOSE\"] = 6] = \"CONNECTION_CLOSE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_UPGRADE\"] = 7] = \"CONNECTION_UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING_CHUNKED\"] = 8] = \"TRANSFER_ENCODING_CHUNKED\";\n})(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {}));\nexports.SPECIAL_HEADERS = {\n 'connection': HEADER_STATE.CONNECTION,\n 'content-length': HEADER_STATE.CONTENT_LENGTH,\n 'proxy-connection': HEADER_STATE.CONNECTION,\n 'transfer-encoding': HEADER_STATE.TRANSFER_ENCODING,\n 'upgrade': HEADER_STATE.UPGRADE,\n};\n//# sourceMappingURL=constants.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.enumToMap = void 0;\nfunction enumToMap(obj) {\n const res = {};\n Object.keys(obj).forEach((key) => {\n const value = obj[key];\n if (typeof value === 'number') {\n res[key] = value;\n }\n });\n return res;\n}\nexports.enumToMap = enumToMap;\n//# sourceMappingURL=utils.js.map","module.exports = 'AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAA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QELEQECAwQFCwYHNTk3MS8tJyspCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWF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gEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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RAM/wMLIAEiECACRw3dAUHDASEQDP4DCyABIgEgAkcNkAFB9wAhEAz9AwsgASIBIAJHDYYBQe8AIRAM/AMLIAEiASACRw1/QeoAIRAM+wMLIAEiASACRw17QegAIRAM+gMLIAEiASACRw14QeYAIRAM+QMLIAEiASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAA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KkBCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQ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U5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=='\n","'use strict'\n\n/* istanbul ignore file: only for Node 12 */\n\nconst { kConnected, kSize } = require('../core/symbols')\n\nclass CompatWeakRef {\n constructor (value) {\n this.value = value\n }\n\n deref () {\n return this.value[kConnected] === 0 && this.value[kSize] === 0\n ? undefined\n : this.value\n }\n}\n\nclass CompatFinalizer {\n constructor (finalizer) {\n this.finalizer = finalizer\n }\n\n register (dispatcher, key) {\n if (dispatcher.on) {\n dispatcher.on('disconnect', () => {\n if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) {\n this.finalizer(key)\n }\n })\n }\n }\n}\n\nmodule.exports = function () {\n // FIXME: remove workaround when the Node bug is fixed\n // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\n if (process.env.NODE_V8_COVERAGE) {\n return {\n WeakRef: CompatWeakRef,\n FinalizationRegistry: CompatFinalizer\n }\n }\n return {\n WeakRef: global.WeakRef || CompatWeakRef,\n FinalizationRegistry: global.FinalizationRegistry || CompatFinalizer\n }\n}\n"],"names":["isStream","obj","pipe","on","isBlobLike","object","Blob","stream","arrayBuffer","test","Symbol","toStringTag","parseURL","url","URL","origin","protocol","InvalidArgumentError","port","Number","isFinite","parseInt","path","pathname","hostname","search","endsWith","substring","length","startsWith","isDestroyed","destroyed","kDestroyed","isReadableAborted","state","_readableState","endEmitted","isBuffer","buffer","Uint8Array","Buffer","onTimeout","fastNow","Date","now","len","fastTimers","idx","timer","delay","callback","opaque","pop","refreshTimeout","fastNowTimeout","refresh","clearTimeout","setTimeout","unref","SBMH","needle","from","TypeError","needleLength","Error","this","maxMatches","Infinity","matches","_occ","Array","fill","_lookbehind_size","_needle","_bufpos","_lookbehind","alloc","i","inherits","require$$1","require$$0","EventEmitter","prototype","reset","push","chunk","pos","chlen","r","_sbmh_feed","data","lastNeedleChar","ch","_sbmh_lookup_char","_sbmh_memcmp","emit","bytesToCutOff","copy","indexOf","compare","subarray","sbmh","getLimit","limits","name","defaultLimit","isNaN","Dicer","cfg","WritableStream","call","headerFirst","boundary","setBoundary","_bparser","_headerFirst","_dashes","_parts","_finished","_realFinish","_isPreamble","_justMatched","_firstWrite","_inHeader","_part","_cb","_ignoreData","_partOpts","highWaterMark","partHwm","_pause","self","_hparser","HeaderParser","header","Writable","StreamSearch","require$$2","PartStream","opts","ReadableStream","Readable","_read","n","PartStream_1","require$$3","nread","maxed","npairs","maxHeaderPairs","maxHeaderSize","finished","ss","B_DCRLF","isMatch","start","end","toString","_finish","RE_HDR","_parseHeader","lines","split","m","h","posColon","exec","toLowerCase","HeaderParser_1","require$$4","B_ONEDASH","B_CRLF","EMPTY_FN","ev","apply","arguments","process","nextTick","_write","encoding","cb","listenerCount","_ignore","slice","_oninfo","resume","buf","shouldWriteMore","_unpause","Dicer_1","utf8Decoder","TextDecoder","textDecoders","Map","decoders","utf8","sourceEncoding","utf8Slice","latin1","latin1Slice","utf16le","ucs2Slice","base64","base64Slice","other","has","get","decode","decodeText_1","text","destEncoding","charset","lc","bind","getDecoder","encodedReplacer","match","EncodedLookup","decodeText","RE_ENCODED","parseParams_1","str","res","inquote","escaping","p","tmp","char","replace","MessageChannel","receiveMessageOnPort","corsSafeListedMethods","corsSafeListedMethodsSet","Set","redirectStatus","redirectStatusSet","badPorts","badPortsSet","referrerPolicy","referrerPolicySet","safeMethods","safeMethodsSet","forbiddenMethods","forbiddenMethodsSet","subresource","subresourceSet","DOMException","globalThis","atob","err","Object","getPrototypeOf","constructor","channel","structuredClone","value","options","port1","port2","postMessage","transfer","message","constants$2","requestBodyHeader","requestRedirect","requestMode","requestCredentials","requestCache","nullBodyStatus","requestDuplex","responseURL","response","urlList","requestCurrentURL","request","isTokenCharCode","c","isValidHTTPToken","characters","charCodeAt","isValidHeaderValue","potentialValue","includes","stripURLForReferrer","originOnly","assert","username","password","hash","isURLPotentiallyTrustworthy","href","originAsURL","isOriginPotentiallyTrustworthy","parseMetadata","metadata","result","empty","token","parsedToken","parseHashWithOptions","groups","algo","algorithm","supportedHashes","compareBase64Mixed","actualValue","expectedValue","sameOrigin","A","B","async","readAllBytes","reader","bytes","byteLength","done","read","concat","isUint8Array","urlHasHttpsScheme","urlIsHttpHttpsScheme","referrerPolicyTokens","getGlobalOrigin","globalOrigin","for","global","setGlobalOrigin","newOrigin","defineProperty","writable","enumerable","configurable","parsedURL","performance","toUSVString","ReadableStreamFrom","require$$5","crypto","require","possibleRelevantHashes","getHashes","filter","normalizeMethodRecord","delete","DELETE","GET","head","HEAD","OPTIONS","post","POST","put","PUT","setPrototypeOf","esIteratorPrototype","iterator","util$6","isAborted","fetchParams","controller","isCancelled","createDeferredPromise","rej","promise","Promise","resolve","reject","tryUpgradeRequestToAPotentiallyTrustworthyURL","coarsenedSharedCurrentTime","crossOriginIsolatedCapability","determineRequestsReferrer","policy","referrerSource","referrer","referrerURL","referrerOrigin","areSameOrigin","isNonPotentiallyTrustWorthy","currentURL","makePolicyContainer","clonePolicyContainer","policyContainer","appendFetchMetadata","httpRequest","mode","headersList","set","appendRequestOriginHeader","serializedOrigin","responseTainting","append","method","TAOCheck","corsCheck","crossOriginResourcePolicyCheck","createOpaqueTimingInfo","timingInfo","startTime","redirectStartTime","redirectEndTime","postRedirectStartTime","finalServiceWorkerStartTime","finalNetworkResponseStartTime","finalNetworkRequestStartTime","endTime","encodedBodySize","decodedBodySize","finalConnectionTimingInfo","setRequestReferrerPolicyOnRedirect","actualResponse","policyHeader","trim","requestBadPort","responseLocationURL","requestFragment","status","location","isValidReasonPhrase","statusText","normalizeMethod","serializeJavascriptValueToJSONString","JSON","stringify","makeIterator","kind","index","target","next","values","pair","iteratorResult","isValidHeaderName","hasOwn","dict","key","hasOwnProperty","isErrorLike","fullyReadBody","body","processBody","processBodyError","successSteps","errorSteps","getReader","e","bytesMatch","metadataList","parsedMetadata","strongest","getStrongestMetadata","filterMetadataListByAlgorithm","item","createHash","update","digest","isReadableStreamLike","require$$7","tee","readableStreamClose","close","isomorphicEncode","input","isomorphicDecode","String","fromCharCode","reduce","previous","current","urlIsLocal","symbols","kUrl","kHeaders","kSignal","kState","kGuard","kRealm","types","webidl","errors","exception","conversionFailed","context","argument","join","prefix","invalidArgument","type","brandCheck","V","I","strict","argumentLengthCheck","min","ctx","illegalConstructor","util","Type","ConvertToInt","bitLength","signedness","upperBound","lowerBound","Math","pow","x","enforceRange","IntegerPart","clamp","is","max","floor","ceil","abs","sequenceConverter","converter","seq","recordConverter","keyConverter","valueConverter","O","isProxy","keys","typedKey","typedValue","Reflect","ownKeys","desc","getOwnPropertyDescriptor","interfaceConverter","dictionaryConverter","converters","dictionary","defaultValue","required","hasDefault","allowedValues","nullableConverter","DOMString","legacyNullToEmptyString","ByteString","USVString","boolean","any","ArrayBuffer","isAnyArrayBuffer","allowShared","isSharedArrayBuffer","TypedArray","T","isTypedArray","DataView","isDataView","BufferSource","webidl_1","URLSerializer","excludeFragment","hashLength","collectASequenceOfCodePoints","condition","position","collectASequenceOfCodePointsFast","stringPercentDecode","output","byte","bytePoint","percentDecode","encoder","encode","parseMIMEType","removeHTTPWhitespace","HTTP_TOKEN_CODEPOINTS","subtype","typeLowercase","subtypeLowercase","mimeType","parameters","essence","HTTP_WHITESPACE_REGEX","parameterName","parameterValue","collectAnHTTPQuotedString","HTTP_QUOTED_STRING_TOKENS","extractValue","positionStart","quoteOrBackslash","isHTTPWhiteSpace","leading","trailing","lead","trail","isASCIIWhitespace","TextEncoder","dataURL","dataURLProcessor","mimeTypeLength","removeASCIIWhitespace","binary","forgivingBase64","mimeTypeRecord","serializeAMimeType","serialization","entries","convertLineEndingsNative","s","nativeLineEnding","platform","File","NativeFile","kEnumerableProperty","require$$6","fileBits","fileName","d","t","FilePropertyBag","substep","lastModified","super","parts","element","endings","byteOffset","processBlobParts","FileLike","blobLike","args","size","defineProperties","BlobPart","isView","file","isFileLike","extractBody","keepalive","require$$13","pull","enqueue","source","textEncoder","queueMicrotask","action","URLSearchParams","isArrayBuffer","isFormDataLike","random","padStart","escape","normalizeLinefeeds","blobParts","rn","hasUnknownSizeValue","part","asyncIterator","isDisturbed","locked","isErrored","desiredSize","cancel","reason","return","consumeBody","kBodyUsed","throwIfAborted","aborted","specConsumeBody","convertBytesToJSValue","instance","error","utf8DecodeBytes","textDecoder","parseJSONFromBytes","parse","Busboy","headers","streamOptions","autoDestroy","_done","_parser","getParserByHeaders","MultipartParser","Multipart","boy","checkFinished","nends","isPartAFile","fieldName","contentType","parsedConType","defCharset","preservePath","fileOpts","fileHwm","isArray","RE_BOUNDARY","fieldSizeLimit","fileSizeLimit","filesLimit","fieldsLimit","partsLimit","headerPairsLimit","headerSizeLimit","curFile","curField","nfiles","nfields","_needDrain","_nparts","_boy","parser","onPart","removeListener","skipPart","hitPartsLimit","field","removeAllListeners","contype","fieldname","parsed","filename","onData","onEnd","nsize","parseParams","RE_CHARSET","RE_FIELD","RE_NAME","RE_FILENAME","basename","hitFilesLimit","FileStream","extralen","truncated","bytesRead","hitFieldsLimit","sync","detect","write","multipart","UrlencodedParser","UrlEncoded","fieldNameSizeLimit","decoder","Decoder","_fields","_state","_checkingBytes","_bytesKey","_bytesVal","_key","_val","_keyTrunc","_valTrunc","_hitLimit","RE_PLUS","HEX","Decoder_1","idxeq","idxamp","keyTrunc","urlencoded","mainModule","exports","default","FormData","makeEntry","UndiciFile","form","entry","findIndex","getAll","map","forEach","callbackFn","thisArg","formdata","require$$8","require$$9","require$$10","require$$11","require$$12","safelyExtractBody","cloneBody","out1","out2","out2Clone","finalClone","mixinBody","assign","blob","bodyMimeType","json","formData","responseFormData","busboy","chunks","base64chunk","busboyResolve","streamingDecoder","ignoreBOM","cause","processHeaderValue","val","skipAppend","headerCharRegex","processHeader","host","contentLength","NotSupportedError","tokenRegExp","shouldRemoveHeader","removeContent","unknownOrigin","headerNameToString","llhttpWasm","onHttp2SessionError","code","kSocket","kError","onError","kClient","onHttp2FrameError","id","InformationalError","onHttp2SessionEnd","destroy","SocketError","onHTTP2GoAway","client","kHTTP2Session","kPending","requests","kQueue","splice","kRunningIdx","errorRequest","kRunning","kPendingIdx","onParserTimeout","socket","timeoutType","TIMEOUT_HEADERS","kWriting","writableNeedDrain","paused","HeadersTimeoutError","BodyTimeoutError","TIMEOUT_IDLE","kKeepAliveTimeoutValue","onSocketReadable","kParser","readMore","onSocketError","kClient$1","kHTTPConnVersion","statusCode","shouldKeepAlive","onMessageComplete","kSize","onSocketEnd","util$2","getSocketInfo","onSocketClose","connect","kConnecting","ip","net","isIP","channels","beforeConnect","hasSubscribers","publish","connectParams","servername","kServerName","localAddress","kLocalAddress","connector","kConnector","ClientDestroyedError","alpnProtocol","h2ExperimentalWarned","emitWarning","session","http2","createConnection","peerMaxConcurrentStreams","kHTTP2SessionState","maxConcurrentStreams","llhttpInstance","llhttpPromise","kNoRef","kReset","kBlocking","Parser","kCounter","kMaxRequests","connected","connectError","emitDrain","kNeedDrain","kResuming","kClosedResolve","ref","headersTimeout","kHeadersTimeout","kBusy","kPipelining","idempotent","upgrade","bodyLength","isAsyncIterable","_resume","shouldSendContentLength","writeBodyH2","cork","uncork","onBodySent","onRequestSent","writeIterable","h2stream","expectsPayload","writeBlob","writeStream","isIterable","expectContinue","signal","reqHeaders","Request","kHTTP2CopyHeaders","onConnect","completed","RequestAbortedError","h2State","HTTP2_HEADER_AUTHORITY","kHost","HTTP2_HEADER_METHOD","endStream","pending","onUpgrade","openStreams","once","HTTP2_HEADER_PATH","HTTP2_HEADER_SCHEME","kStrictContentLength","RequestContentLengthMismatchError","HTTP2_HEADER_CONTENT_LENGTH","shouldEndStream","HTTP2_HEADER_EXPECT","HTTP2_HEADER_STATUS","realHeaders","onHeaders","pause","onComplete","closed","streams","writeH2","blocking","kHostHeader","sendHeaders","onPipeData","pipeline","writer","AsyncWriter","onDrain","onAbort","onFinished","off","er","isH2","waitForDrain","defaultFactory","Client","connections","Pool","kClose","kDestroy","kDispatch","kConnect","kHeadersList","kKeepAliveDefaultTimeout","kKeepAliveMaxTimeout","kKeepAliveTimeoutThreshold","kKeepAlive","kBodyTimeout","kQueued","kFree","kConnected","kClosed","kMaxHeadersSize","kClients","kOnDestroyed","kMaxRedirections","kProxy","kInterceptors","kMaxResponseSize","kHTTP2BuildRequest","kHTTP1BuildRequest","kRetryHandlerDefaultRetry","kConstruct","UndiciError","ResponseStatusCodeError","captureStackTrace","InvalidReturnValueError","RequestRetryError","HTTPParserError","HeadersOverflowError","ConnectTimeoutError","ClientClosedError","ResponseContentLengthMismatchError","BalancedPoolMissingUpstreamError","ResponseExceededMaxSizeError","Dispatcher","dispatch","kOnClosed","kInterceptedDispatch","dispatcherBase","interceptors","newInterceptors","onClosed","callbacks","then","onDestroyed","handler","kMask","FixedCircularBuffer","bottom","top","list","isEmpty","isFull","shift","nextItem","kPool","DispatcherBase","FixedQueue","tail","PoolStats","pool","free","queued","running","kOnDrain","kOnConnect","kOnDisconnect","kOnConnectionError","kGetDispatcher","kAddClient","kRemoveClient","kStats","poolBase","PoolBase","targets","queue","needDrain","all","ret","kPending$1","kRunning$2","kSize$2","stats","dispatcher","some","headerNameLowerCasedRecord","wellknownHeaderNames","lowerCasedKey","constants","IncomingMessage","nodeUtil","nodeMajor","nodeMinor","versions","node","v","KEEPALIVE_TIMEOUT_EXPR","hasToWellFormed","toWellFormed","create","nop","readableDidRead","dataEmitted","inspect","isReadable","parseOrigin","getServerName","assert$4","strictEqual","getHostname","parseRawHeaders","hasContentLength","contentDispositionIdx","parseHeaders","parseKeepAliveTimeout","objectMode","ended","deepClone","iterable","convertIterableToBuffer","validateHandler","localPort","remoteAddress","remotePort","remoteFamily","timeout","bytesWritten","buildURL","queryParams","stringified","addAbortListener","listener","addEventListener","removeEventListener","addListener","parseRangeHeader","range","nodeHasAutoSelectFamily","safeHTTPMethods","Timeout","clear","timers","invalidPathRegex","kHandler","diagnosticsChannel","channels$1","bodySent","trailers","tls","SessionCache","FinalizationRegistry","env","NODE_V8_COVERAGE","maxCachedSessions","_maxCachedSessions","_sessionCache","_sessionRegistry","deref","sessionKey","WeakRef","register","oldestKey","allowH2","socketPath","isInteger","sessionCache","httpSocket","ALPNProtocols","assert$2","keepAlive","setKeepAlive","keepAliveInitialDelay","cancelTimeout","onConnectTimeout","s1","s2","timeoutId","setImmediate","clearImmediate","setupTimeout","setNoDelay","EE","redirectableStatusCodes","kBody","BodyAsyncIterable","RedirectHandler","maxRedirections","abort","history","pipeTo","parseLocation","assert$1","cleanRequestHeaders","query","redirectInterceptor","defaultMaxRedirections","redirectHandler","http","bodyTimeout","throwOnError","rState","endHandler","errorHandler","bodyStream","util$5","assert$3","onFinally","addHeader","raw","rawHeaders","buildConnector","FastBuffer","species","SPECIAL_HEADERS","HEADER_STATE","MINOR","MAJOR","CONNECTION_TOKEN_CHARS","HEADER_CHARS","TOKEN","STRICT_TOKEN","URL_CHAR","STRICT_URL_CHAR","USERINFO_CHARS","MARK","NUM","HEX_MAP","NUM_MAP","ALPHA","FINISH","H_METHOD_MAP","METHOD_MAP","METHODS_RTSP","METHODS_ICE","METHODS_HTTP","METHODS","LENIENT_FLAGS","FLAGS","TYPE","ERROR","utils_1","utils","enumToMap","CONNECT","TRACE","COPY","LOCK","MKCOL","MOVE","PROPFIND","PROPPATCH","SEARCH","UNLOCK","BIND","REBIND","UNBIND","ACL","REPORT","MKACTIVITY","CHECKOUT","MERGE","NOTIFY","SUBSCRIBE","UNSUBSCRIBE","PATCH","PURGE","MKCALENDAR","LINK","UNLINK","PRI","SOURCE","DESCRIBE","ANNOUNCE","SETUP","PLAY","PAUSE","TEARDOWN","GET_PARAMETER","SET_PARAMETER","REDIRECT","RECORD","FLUSH","C","D","E","F","a","b","f","ALPHANUM","connection","CONNECTION","CONTENT_LENGTH","TRANSFER_ENCODING","UPGRADE","createRedirectInterceptor","require$$14","EMPTY_BUF","llhttpWasmData","JEST_WORKER_ID","require$$15","mod","WebAssembly","compile","llhttp_simdWasm","instantiate","wasm_on_url","at","wasm_on_status","currentParser","ptr","onStatus","currentBufferRef","currentBufferPtr","wasm_on_message_begin","onMessageBegin","wasm_on_header_field","onHeaderField","wasm_on_header_value","onHeaderValue","wasm_on_headers_complete","onHeadersComplete","wasm_on_body","onBody","wasm_on_message_complete","lazyllhttp","catch","currentBufferSize","llhttp","llhttp_alloc","RESPONSE","timeoutValue","headersSize","headersMaxSize","maxResponseSize","llhttp_resume","execute","malloc","memory","llhttp_execute","offset","llhttp_get_error_pos","PAUSED_UPGRADE","PAUSED","unshift","OK","llhttp_get_error_reason","llhttp_free","trackHeader","keepAliveTimeout","socketTimeout","requestTimeout","connectTimeout","idleTimeout","maxKeepAliveTimeout","keepAliveMaxTimeout","keepAliveTimeoutThreshold","pipelining","strictContentLength","maxRequestsPerClient","autoSelectFamily","autoSelectFamilyAttemptTimeout","kOptions","kConnections","kFactory","factory","find","CompatWeakRef","CompatFinalizer","finalizer","kFinalizer","Agent","agent","closePromises","destroyPromises","kAgent","kProxyHeaders","kRequestTls","kProxyTls","kConnectEndpoint","proxyAgent","uri","buildProxyOptions","ProxyAgent","clientFactory","requestTls","proxyTls","resolvedUrl","auth","decodeURIComponent","requestedHost","headersPair","buildHeaders","throwIfProxyAuthIsSent"],"mappings":"oVAiBA,SAASA,EAAUC,GACV,OAAAA,GAAsB,iBAARA,GAAwC,mBAAbA,EAAIC,MAAyC,mBAAXD,EAAIE,EACxF,CAGA,SAASC,EAAYC,GACX,OAAAC,IAAQD,aAAkBC,IAChCD,GACkB,iBAAXA,IACmB,mBAAlBA,EAAOE,QACiB,mBAAvBF,EAAOG,cAChB,gBAAgBC,KAAKJ,EAAOK,OAAOC,aAEvC,CAgBA,SAASC,EAAUC,GACb,GAAe,iBAARA,EAAkB,CAG3B,GAFMA,EAAA,IAAIC,IAAID,IAET,WAAWJ,KAAK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,+BACA,8BACA,gCACA,yBACA,iCACA,gCACA,MACA,QACA,UACA,WACA,gBACA,gBACA,kBACA,aACA,sBACA,mBACA,mBACA,iBACA,mBACA,gBACA,0BACA,sCACA,eACA,SACA,+BACA,6BACA,+BACA,OACA,gBACA,WACA,MACA,OACA,SACA,YACA,UACA,YACA,OACA,OACA,WACA,oBACA,gBACA,WACA,sBACA,aACA,gBACA,OACA,WACA,eACA,SACA,qBACA,SACA,qBACA,sBACA,MACA,QACA,UACA,kBACA,UACA,cACA,uBACA,2BACA,oBACA,yBACA,wBACA,SACA,gBACA,yBACA,oCACA,aACA,YACA,4BACA,wBACA,KACA,sBACA,UACA,oBACA,UACA,4BACA,aACA,OACA,MACA,mBACA,yBACA,yBACA,kBACA,oCACA,eACA,mBACA,oBAGF,IAAA,IAAS19B,GAAI,EAAO09B,GAAqB3gC,OAAzBiD,KAAmCA,GAAG,CAC9C,MAAAqW,EAAMqnB,GAAqB19B,IAC3B29B,EAAgBtnB,EAAI3Q,cAC1B+3B,GAA2BpnB,GAAOonB,GAA2BE,GAC3DA,CACJ,CAGA9yB,OAAOuG,eAAeqsB,GAA4B,MAElD,IAAAG,GAAiB,CACfF,wBACFD,2BAAEA,IrClHF,MAAMzwB,GAAS7M,GACThD,WAAEA,GAAUqnB,UAAEA,IAActkB,IAC5B29B,gBAAEA,IAAoBj6B,EACtBlI,GAAS0I,GACTgtB,GAAMxrB,GACJxJ,qBAAAA,IAAyB+T,IAC3B1U,KAAEA,IAAS2lB,GACX0c,GAAWnmB,IACXlC,UAAEA,IAAciW,IAChB+R,2BAAEA,IAA+B9R,IAEhCoS,GAAWC,IAAa73B,QAAQ83B,SAASC,KAAK74B,MAAM,KAAKgmB,KAAS8S,IAAOA,IA0M1EC,GAAyB,gBAkK/B,IAAIr6B,GA2EJ,MAAMs6B,KAAoBnmB,GAAiBomB,aA8BrCnd,GAA6BtW,OAAA0zB,OAAO,MAC1Cpd,GAAoBtR,YAAa,EAEjC,IAAAqK,GAAiB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xB,EACrE,OAAQuM,GACPvM,EAASuM,EACV,IAGN,CAED,QAAA2vB,CAAUz2B,EAAMm3B,GACd,MAAMzN,KAAEA,GAAS,IAAIvxB,GAAI6H,EAAK5H,QACxBkpB,EA6BV,SAAuBA,GAGjB,GAAA3lB,MAAM8mB,QAAQnB,GAAU,CAE1B,MAAMurB,EAAc,CAAE,EAEtB,IAAA,IAAS3wC,EAAI,EAAOolB,EAAQroB,OAAZiD,EAAoBA,GAAK,EACvC2wC,EAAYvrB,EAAQplB,IAAMolB,EAAQplB,EAAI,GAGjC,OAAA2wC,CACR,CAEM,OAAAvrB,CACT,CA5CoBwrB,CAAa9sC,EAAKshB,SAE3B,OAoDX,SAAiCA,GAG/B,GAFuBA,GAAWva,OAAO+Q,KAAKwJ,GAC3C8pB,MAAM74B,GAA8B,wBAAtBA,EAAI3Q,gBAEb,MAAA,IAAItJ,GAAqB,+DAEnC,CA3DIy0C,CAAuBzrB,GAChBhmB,KAAKuwC,IAAQpV,SAClB,IACKz2B,EACHshB,QAAS,IACJA,EACHoI,SAGJyN,EAEH,CAED,MAAOhD,YACC74B,KAAKuwC,IAAQ73B,cACb1Y,KAAKkvB,IAASxW,OACrB,CAED,MAAOogB,YACC94B,KAAKuwC,IAAQhhB,gBACbvvB,KAAKkvB,IAASK,SACrB","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]} \ No newline at end of file diff --git a/dist/modern/hdi.c1b21e1a.js b/dist/modern/hdi.c1b21e1a.js deleted file mode 100644 index 4657888e..00000000 --- a/dist/modern/hdi.c1b21e1a.js +++ /dev/null @@ -1,2 +0,0 @@ -function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}var t=require("fs"),r=require("path"),n=require("child_process"),a=require("stream"),i=require("util"),o=require("stream"),s=require("util"),l=globalThis.parcelRequire810d,u=l.register;u("4YYb2",function(n,a){e(n.exports,"ArchiveHdi",()=>d);var i=l("7ljpV"),o=l("6y9K7"),s=l("4jPhc"),u=l("iP82Z");let c={ignoreUnreadableDirectories:!0},p={force:!0};class h extends o.Entry{sizeComp=null;uname=null;gname=null;constructor(e){super(e),this.archive=e.archive,this.size=e.size,this.mode=e.mode,this.uid=e.uid,this.gid=e.gid,this.atime=e.atime,this.mtime=e.mtime;}get rsrcPathRaw(){return(0,u.pathResourceFork)(this.pathRaw);}get rsrcPath(){return(0,u.pathNormalize)((0,u.pathResourceFork)(this.path));}}class d extends o.Archive{static FILE_EXTENSIONS=[".dmg",".iso",".cdr"];static HAS_NAMED_VOLUMES=!0;Entry=h;mounterMac=new i.Mounter();nobrowse=!1;constructor(e){super(e);}async read(e){await super.read(e);}async _read(e){let{mounterMac:n,nobrowse:a}=this,i=async(r,n,a)=>{let i=(0,u.statToPathType)(a);if(null===i)return!0;let{size:o,mode:l,uid:c,gid:p,atime:h,mtime:d}=a,f=i===s.PathType.FILE?async()=>(0,t.createReadStream)(r):null,m=i===s.PathType.SYMLINK?async()=>(0,u.fsReadlinkRaw)(r):null,g=new this.Entry({archive:this,type:i,pathRaw:n,size:o,mode:l,uid:c,gid:p,atime:h,mtime:d,readData:f,readSymlink:m}),D=await g.trigger(e);if(!1===D)return null;if(null===D)return!1;if(i===s.PathType.FILE){let a=(0,u.pathResourceFork)(r),i=await(0,u.fsLstatExists)(a);if(i){let r=i.size,o=async()=>(0,t.createReadStream)(a),u=new this.Entry({archive:this,type:s.PathType.RESOURCE_FORK,pathRaw:n,size:r,mode:l,uid:c,gid:p,atime:h,mtime:d,readRsrc:o}),f=await u.trigger(e);if(!1===f)return null;if(null===f)return!1;}}return!0;},o=await n.attach(this.path,{nobrowse:a,readonly:!0},p);try{for(let e of o.devices){let{mountPoint:t}=e;if(!t)continue;let n=(0,r.basename)(t);await(0,u.fsWalk)(t,async(e,a)=>{let o=(0,r.join)(t,e),s=(0,r.join)(n,e);return i(o,s,a);},c);}}finally{await o.eject(p);}}}}),u("7ljpV",function(t,r){e(t.exports,"Mounter",()=>c);var a=l("l3lkg"),i=l("iSugx"),o=l("R5huj"),s=l("lNblq"),u=l("1oJvF");class c{constructor(e=null){this.hdiutil=(e?e.hdiutil:null)||"hdiutil";}async attach(e,t=null,r=null){let n=await this._runAttach(this._argsAttach(e,t)),{eject:a,ejectSync:i}=this._createEjects(n);return{devices:n,eject:a,ejectSync:i};}attachSync(e,t=null,r=null){let n=this._runAttachSync(this._argsAttach(e,t)),{eject:a,ejectSync:i}=this._createEjects(n);return{devices:n,eject:a,ejectSync:i};}async eject(e,t=null){await this._runEject(this._argsEject(e,t));}ejectSync(e,t=null){this._runEjectSync(this._argsEject(e,t));}_argsAttach(e,t=null){let r=["attach","-plist"];return t&&(t.readonly&&r.push("-readonly"),t.nobrowse&&r.push("-nobrowse")),r.push(this._fileArg(e)),r;}_argsEject(e,t=null){let r=["eject"];return t&&t.force&&r.push("-force"),r.push(this._fileArg(e)),r;}async _runAttach(e){let t=[],r=(0,n.spawn)(this.hdiutil,e);r.stdout.on("data",e=>{t.push(e);});let a=await new Promise((e,t)=>{r.once("exit",e),r.once("error",t);});if(a)throw Error("Attach failed: hdiutil exit code: "+a);return this._parseDevices(Buffer.concat(t).toString());}_runAttachSync(e){let{status:t,error:r,stdout:a}=(0,n.spawnSync)(this.hdiutil,e);if(r)throw r;if(t)throw Error("Attach failed: hdiutil exit code: "+t);return this._parseDevices(a.toString());}async _runEject(e){let t=(0,n.spawn)(this.hdiutil,e),r=await new Promise((e,r)=>{t.once("exit",e),t.once("error",r);});if(r)throw Error("Eject failed: hdiutil exit code: "+r);}_runEjectSync(e){let{status:t,error:r}=(0,n.spawnSync)(this.hdiutil,e);if(r)throw r;if(t)throw Error("Eject failed: hdiutil exit code: "+t);}_fileArg(e){return e.startsWith("-")?"./"+e:e;}_parseDevices(e){let t=new a.Plist();t.fromXml(e);let r=t.valueCastAs(s.ValueDict).getValue("system-entities").castAs(i.ValueArray),n=[];for(let e of r.value){let t=e.castAs(s.ValueDict),r=t.getValue("dev-entry").castAs(u.ValueString).value,a=t.getValue("potentially-mountable").castAs(o.ValueBoolean).value,i=t.get("content-hint"),l=t.get("unmapped-content-hint"),c=t.get("volume-kind"),p=t.get("mount-point"),h={devEntry:r,potentiallyMountable:a};i&&(h.contentHint=i.castAs(u.ValueString).value),l&&(h.unmappedContentHint=l.castAs(u.ValueString).value),c&&(h.volumeKind=c.castAs(u.ValueString).value),p&&(h.mountPoint=p.castAs(u.ValueString).value),n.push(h);}return n;}_findRootDevice(e){let t=null;for(let r of e)(null===t||t.devEntry.length>r.devEntry.length)&&(t=r);return t;}_createEjects(e,t=null){let r=this._findRootDevice(e)?.devEntry,n=null,a={eject:async(e=null)=>{r&&(await this.eject(r,e),r="",n&&process.off("exit",n));},ejectSync:(e=null)=>{r&&(this.ejectSync(r,e),r="",n&&process.off("exit",n));}};return t&&(n=()=>{a.ejectSync(t);},process.once("exit",n)),a;}}}),u("l3lkg",function(t,r){e(t.exports,"Plist",()=>u);var n=l("OSpMe"),a=l("11yNJ"),i=l("lNblq");let o='',s='';class u{static XML_DECLARATION=o;static XML_DOCTYPE=s;xmlDeclaration=o;xmlDoctype=s;value=null;constructor(e=null){this.value=e;}getValue(){let{value:e}=this;if(!e)throw Error("Value is null");return e;}valueCastTo(e){let{value:t}=this;return t?t.castTo(e):null;}valueCastAs(e){let t=this.valueCastTo(e);if(!t)throw Error(`Cannot cast value to type '${e.TYPE}'`);return t;}fromXml(e){let{declaration:t,doctype:r,documentElement:n}=(0,a.xmlDecode)(e);this.fromXmlElement(n,t,r);}fromXmlElement(e,t=null,r=null){let{tagName:n}=e;if("plist"!==n)throw Error("Unexpected root plist tag name: "+n);let i=(0,a.xmlElementChildElements)(e),o=i.length;if(o>1)throw Error("Multiple root plist child tag: "+o);this.value=o?this.childFromXmlElement(i[0]):null,this.xmlDeclaration=t||"",this.xmlDoctype=r||"";}childFromXmlElement(e){return new i.ValueDict().childFromXmlElement(e);}toXml(e=null){let t=e?.indentRoot??n.INDENT_ROOT,r=e?.newlineString??n.NEWLINE_STRING,a=this.value;return[...[this.xmlDeclaration,this.xmlDoctype].filter(Boolean),'',...(a?[a.toXml(e,t?1:0)]:[]),"",""].join(r);}}}),u("OSpMe",function(t,r){e(t.exports,"INDENT_STRING",()=>n),e(t.exports,"NEWLINE_STRING",()=>a),e(t.exports,"DATA_COLUMNS",()=>i),e(t.exports,"INDENT_ROOT",()=>o);let n=" ",a="\n",i=68,o=!1;}),u("11yNJ",function(t,r){var n;function a(e){let t=null,r=null,a=[],i=new n.DOMParser({locator:{},errorHandler:{warning(e){},error(e){a.push(e);},fatalError(e){a.push(e);}}}).parseFromString(e,"text/xml");if(a.length)throw Error("XML decode error: "+a[0]);let{childNodes:o}=i,s=i.documentElement||null;for(let e=0,n=o.length;n>e;e++){let n=o[e];if(n===s)break;let a=n.toString();/^<\?xml[^>]*\?>$/.test(a)&&(t=a),/^]*>$/.test(a)&&(r=a);}if(!s)throw Error("XML decode error: No document element");return{declaration:t,doctype:r,documentElement:s};}function i(e){let{childNodes:t}=e,r=[];for(let n=0,a=t.length;a>n;n++){let a=t[n];if("tagName"in a){r.push(a);continue;}let{nodeValue:i}=a;if(i&&!/^\s*$/.test(i))throw Error("Found text children of: "+e.tagName);}return r;}function o(e){let{childNodes:t}=e,r=null;for(let n=0,a=t.length;a>n;n++){if(n)throw Error("Multiple child elements in: "+e.tagName);let a=t[n];if(!("tagName"in a)&&"data"in a&&"nodeValue"in a)r=a;else throw Error("Unexpected child element in: "+e.tagName);}return r;}function s(e,t){if(e.tagName!==t)throw Error("Unexpected tagName: "+t);}function u(e){let{childNodes:t}=e;if(t.length)throw Error("Unexpected child nodes: "+e.tagName);}function c(e){let t=e.length,r="";for(let n=0;t>n;){let a=e[n++],i=t>n?e[n++]:null,o=t>n?e[n++]:null,s=a<<16|(i||0)<<8|(o||0);r+=f[s>>18]+f[s>>12&h]+f[null===i?64:s>>6&h]+f[null===o?64:s&h];}return r;}function p(e){let t=e.length,r=[];e:for(let n,a,i,o,s,l,u=0;t>u;){for(;;){if((s=m[e.charCodeAt(u++)])>=0){n=s;break;}if(u>=t)break e;}for(;;){if((s=m[e.charCodeAt(u++)])>=0){a=s;break;}if(u>=t)break e;}for(;;){if((s=m[e.charCodeAt(u++)])>=0){i=s;break;}if(u>=t)break e;}for(;;){if((s=m[e.charCodeAt(u++)])>=0){o=s;break;}if(u>=t)break e;}switch(l=(n&h)<<18|(a&h)<<12|(i&h)<<6|o&h,i>h?o>h?2:0:o>h?1:0){case 0:r.push(l>>16&d,l>>8&d,l&d);break;case 1:r.push(l>>16&d,l>>8&d);break;case 2:r.push(l>>16&d);}}return new Uint8Array(r);}e(t.exports,"xmlDecode",()=>a),e(t.exports,"xmlElementChildElements",()=>i),e(t.exports,"xmlElementText",()=>o),e(t.exports,"assertXmlTagName",()=>s),e(t.exports,"assertNoXmlElementChildNodes",()=>u),e(t.exports,"base64Encode",()=>c),e(t.exports,"base64Decode",()=>p),n=l("gk2Fw");let h=63,d=255,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",m=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];}),u("gk2Fw",function(t,r){e(t.exports,"DOMParser",()=>n,e=>n=e);var n,a=l("jBFUq");a.DOMImplementation,a.XMLSerializer,n=l("9v8b8").DOMParser;}),u("jBFUq",function(t,r){var n,a,i,o,s,u,c,p,h,d,f,m,g,D,w,b,E,y,v,N,x,T,S;function A(e){return""!==e;}function C(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e;}function _(e){return e?Object.keys((e?e.split(/[\t\n\f\r ]+/).filter(A):[]).reduce(C,{})):[];}function R(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);}function q(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,R(r,n=new n()),e.prototype=r=n;}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e);}function I(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,N[e]),this.message=N[e],Error.captureStackTrace&&Error.captureStackTrace(this,I);return r.code=e,t&&(this.message=this.message+": "+t),r;}function L(){}function k(e,t){this._node=e,this._refresh=t,O(this);}function O(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(ew(e,"length",r.length),!e.$$length||r.length=0){for(var a=t.length-1;a>n;)t[n]=t[++n];if(t.length=a,e){var i=e.ownerDocument;i&&(H(i,e,r),r.ownerElement=null);}}else throw new I(T,Error(e.tagName+"@"+r));}function U(){}function B(){}function j(e){return"<"==e&&"<"||">"==e&&">"||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";";}function G(e,t){if(t(e))return!0;if(e=e.firstChild)do if(G(e,t))return!0;while(e=e.nextSibling);}function X(){this.ownerDocument=this;}function H(e,t,r,n){e&&e._inc++,r.namespaceURI===s.XMLNS&&delete t._nsMap[r.prefix?r.localName:""];}function $(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var a=t.firstChild,i=0;a;)n[i++]=a,a=a.nextSibling;n.length=i,delete n[n.length];}}}function z(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,$(e.ownerDocument,e),t;}function Y(e){return e&&e.nodeType===B.DOCUMENT_TYPE_NODE;}function J(e){return e&&e.nodeType===B.ELEMENT_NODE;}function W(e){return e&&e.nodeType===B.TEXT_NODE;}function K(e,t){var r=e.childNodes||[];if(o(r,J)||Y(t))return!1;var n=o(r,Y);return!(t&&n&&r.indexOf(n)>r.indexOf(t));}function Z(e,t){var r,n=e.childNodes||[];return!o(n,function(e){return J(e)&&e!==t;})&&(r=o(n,Y),!(t&&r&&n.indexOf(r)>n.indexOf(t)));}function Q(e,t,r){var n=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===B.DOCUMENT_FRAGMENT_NODE){var i=a.filter(J);if(i.length>1||o(a,W))throw new I(x,"More than one element or text in fragment");if(1===i.length&&!Z(e,r))throw new I(x,"Element in fragment can not be inserted before doctype");}if(J(t)&&!Z(e,r))throw new I(x,"Only one element can be added and only after doctype");if(Y(t)){if(o(n,function(e){return Y(e)&&e!==r;}))throw new I(x,"Only one doctype is allowed");var s=o(n,J);if(r&&n.indexOf(s)1||o(a,W))throw new I(x,"More than one element or text in fragment");if(1===i.length&&!K(e,r))throw new I(x,"Element in fragment can not be inserted before doctype");}if(J(t)&&!K(e,r))throw new I(x,"Only one element can be added and only after doctype");if(Y(t)){if(o(n,Y))throw new I(x,"Only one doctype is allowed");var s=o(n,J);if(r&&n.indexOf(s)=0;N--){var x=a[N];if(""===x.prefix&&x.namespace===e.namespaceURI){i=x.namespace;break;}}if(i!==e.namespaceURI)for(var N=a.length-1;N>=0;N--){var x=a[N];if(x.namespace===e.namespaceURI){x.prefix&&(y=x.prefix+":"+m);break;}}}t.push("<",y);for(var T=0;l>T;T++){var S=o.item(T);"xmlns"==S.prefix?a.push({prefix:S.localName,namespace:S.value}):"xmlns"==S.nodeName&&a.push({prefix:"",namespace:S.value});}for(var T=0;l>T;T++){var S=o.item(T);if(em(S,r,a)){var A=S.prefix||"",C=S.namespaceURI;eg(t,A?"xmlns:"+A:"xmlns",C),a.push({prefix:A,namespace:C});}eD(S,t,r,n,a);}if(m===y&&em(e,r,a)){var A=e.prefix||"",C=e.namespaceURI;eg(t,A?"xmlns:"+A:"xmlns",C),a.push({prefix:A,namespace:C});}if(u||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(m)){if(t.push(">"),r&&/^script$/i.test(m))for(;u;)u.data?t.push(u.data):eD(u,t,r,n,a.slice()),u=u.nextSibling;else for(;u;)eD(u,t,r,n,a.slice()),u=u.nextSibling;t.push("");}else t.push("/>");return;case w:case E:for(var u=e.firstChild;u;)eD(u,t,r,n,a.slice()),u=u.nextSibling;return;case p:return eg(t,e.name,e.value);case h:return t.push(e.data.replace(/[<&>]/g,j));case d:return t.push("");case D:return t.push("");case b:var _=e.publicId,R=e.systemId;if(t.push("");else if(R&&"."!=R)t.push(" SYSTEM ",R,">");else{var q=e.internalSubset;q&&t.push(" [",q,"]"),t.push(">");}return;case g:return t.push("");case f:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName);}}function ew(e,t,r){e[t]=r;}e(t.exports,"DOMImplementation",()=>n,e=>n=e),e(t.exports,"XMLSerializer",()=>a,e=>a=e),o=(i=l("fa2WO")).find,s=i.NAMESPACE,c=(u={}).ELEMENT_NODE=1,p=u.ATTRIBUTE_NODE=2,h=u.TEXT_NODE=3,d=u.CDATA_SECTION_NODE=4,f=u.ENTITY_REFERENCE_NODE=5,m=u.ENTITY_NODE=6,g=u.PROCESSING_INSTRUCTION_NODE=7,D=u.COMMENT_NODE=8,w=u.DOCUMENT_NODE=9,b=u.DOCUMENT_TYPE_NODE=10,E=u.DOCUMENT_FRAGMENT_NODE=11,y=u.NOTATION_NODE=12,N={},(v={}).INDEX_SIZE_ERR=(N[1]="Index size error",1),v.DOMSTRING_SIZE_ERR=(N[2]="DOMString size error",2),x=v.HIERARCHY_REQUEST_ERR=(N[3]="Hierarchy request error",3),v.WRONG_DOCUMENT_ERR=(N[4]="Wrong document",4),v.INVALID_CHARACTER_ERR=(N[5]="Invalid character",5),v.NO_DATA_ALLOWED_ERR=(N[6]="No data allowed",6),v.NO_MODIFICATION_ALLOWED_ERR=(N[7]="No modification allowed",7),T=v.NOT_FOUND_ERR=(N[8]="Not found",8),v.NOT_SUPPORTED_ERR=(N[9]="Not supported",9),S=v.INUSE_ATTRIBUTE_ERR=(N[10]="Attribute in use",10),v.INVALID_STATE_ERR=(N[11]="Invalid state",11),v.SYNTAX_ERR=(N[12]="Syntax error",12),v.INVALID_MODIFICATION_ERR=(N[13]="Invalid modification",13),v.NAMESPACE_ERR=(N[14]="Invalid namespace",14),v.INVALID_ACCESS_ERR=(N[15]="Invalid access",15),I.prototype=Error.prototype,R(v,I),L.prototype={length:0,item:function(e){return e>=0&&eh;h++)a.setAttributeNode(e(t,s.item(h),!0));break;case p:n=!0;}if(n)for(var d=r.firstChild;d;)a.appendChild(e(t,d,n)),d=d.nextSibling;return a;}(this.ownerDocument||this,this,e);},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==h&&e.nodeType==h?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t);}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t);},hasAttributes:function(){return this.attributes.length>0;},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;}t=t.nodeType==p?t.ownerDocument:t.parentNode;}return null;},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==p?t.ownerDocument:t.parentNode;}return null;},isDefaultNamespace:function(e){return null==this.lookupPrefix(e);}},R(u,B),R(u,B.prototype),X.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==E){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n;}return e;}return ee(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===c&&(this.documentElement=e),e;},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),z(this,e);},replaceChild:function(e,t){ee(this,e,t,Q),e.ownerDocument=this,t&&this.removeChild(t),J(e)&&(this.documentElement=e);},importNode:function(e,t){return function e(t,r,n){var a;switch(r.nodeType){case c:(a=r.cloneNode(!1)).ownerDocument=t;case E:break;case p:n=!0;}if(a||(a=r.cloneNode(!1)),a.ownerDocument=t,a.parentNode=null,n)for(var i=r.firstChild;i;)a.appendChild(e(t,i,n)),i=i.nextSibling;return a;}(this,e,t);},getElementById:function(e){var t=null;return G(this.documentElement,function(r){if(r.nodeType==c&&r.getAttribute("id")==e)return t=r,!0;}),t;},getElementsByClassName:function(e){var t=_(e);return new k(this,function(r){var n=[];return t.length>0&&G(r.documentElement,function(a){if(a!==r&&a.nodeType===c){var i=a.getAttribute("class");if(i){var o=e===i;if(!o){var s=_(i);o=t.every(function(e){return s&&-1!==s.indexOf(e);});}o&&n.push(a);}}}),n;});},createElement:function(e){var t=new et();return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new L(),(t.attributes=new F())._ownerElement=t,t;},createDocumentFragment:function(){var e=new ep();return e.ownerDocument=this,e.childNodes=new L(),e;},createTextNode:function(e){var t=new ea();return t.ownerDocument=this,t.appendData(e),t;},createComment:function(e){var t=new ei();return t.ownerDocument=this,t.appendData(e),t;},createCDATASection:function(e){var t=new eo();return t.ownerDocument=this,t.appendData(e),t;},createProcessingInstruction:function(e,t){var r=new eh();return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r;},createAttribute:function(e){var t=new er();return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t;},createEntityReference:function(e){var t=new ec();return t.ownerDocument=this,t.nodeName=e,t;},createElementNS:function(e,t){var r=new et(),n=t.split(":"),a=r.attributes=new F();return r.childNodes=new L(),r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,a._ownerElement=r,r;},createAttributeNS:function(e,t){var r=new er(),n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r;}},q(X,B),et.prototype={nodeType:c,hasAttribute:function(e){return null!=this.getAttributeNode(e);},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||"";},getAttributeNode:function(e){return this.attributes.getNamedItem(e);},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r);},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t);},appendChild:function(e){return e.nodeType===E?this.insertBefore(e,null):(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,e.previousSibling=this.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:this.firstChild=e,this.lastChild=e,$(this.ownerDocument,this,e),e);},setAttributeNode:function(e){return this.attributes.setNamedItem(e);},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e);},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName);},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r);},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t);},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||"";},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n);},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t);},getElementsByTagName:function(e){return new k(this,function(t){var r=[];return G(t,function(n){n!==t&&n.nodeType==c&&("*"===e||n.tagName==e)&&r.push(n);}),r;});},getElementsByTagNameNS:function(e,t){return new k(this,function(r){var n=[];return G(r,function(a){a!==r&&a.nodeType===c&&("*"===e||a.namespaceURI===e)&&("*"===t||a.localName==t)&&n.push(a);}),n;});}},X.prototype.getElementsByTagName=et.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=et.prototype.getElementsByTagNameNS,q(et,B),er.prototype.nodeType=p,q(er,B),en.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t);},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length;},insertData:function(e,t){this.replaceData(e,0,t);},appendChild:function(e){throw Error(N[x]);},deleteData:function(e,t){this.replaceData(e,t,"");},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length;}},q(en,B),ea.prototype={nodeName:"#text",nodeType:h,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n;}},q(ea,en),ei.prototype={nodeName:"#comment",nodeType:D},q(ei,en),eo.prototype={nodeName:"#cdata-section",nodeType:d},q(eo,en),es.prototype.nodeType=b,q(es,B),el.prototype.nodeType=y,q(el,B),eu.prototype.nodeType=m,q(eu,B),ec.prototype.nodeType=f,q(ec,B),ep.prototype.nodeName="#document-fragment",ep.prototype.nodeType=E,q(ep,B),eh.prototype.nodeType=g,q(eh,B),ed.prototype.serializeToString=function(e,t,r){return ef.call(e,t,r);},B.prototype.toString=ef;try{Object.defineProperty&&(Object.defineProperty(k.prototype,"length",{get:function(){return O(this),this.$$length;}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case c:case E:var r=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&r.push(e(t)),t=t.nextSibling;return r.join("");default:return t.nodeValue;}}(this);},set:function(e){switch(this.nodeType){case c:case E:for(;this.firstChild;)this.removeChild(this.firstChild);(e||e+"")&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e;}}}),ew=function(e,t,r){e["$$"+t]=r;});}catch(e){}n=U,a=ed;}),u("fa2WO",function(t,r){var n,a,i,o,s;function l(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e;}e(t.exports,"find",()=>n,e=>n=e),e(t.exports,"freeze",()=>a,e=>a=e),e(t.exports,"NAMESPACE",()=>i,e=>i=e),o=l({HTML:"text/html",isHTML:function(e){return e===o.HTML;},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=l({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===s.HTML;},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),n=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n=t+r||t?new java.lang.String(e,t,r)+"":e;}function b(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t);}e(t.exports,"DOMParser",()=>n,e=>n=e),a=l("fa2WO"),i=l("jBFUq"),o=l("1lBtW"),s=l("lXVGc"),u=i.DOMImplementation,c=a.NAMESPACE,p=s.ParseError,h=s.XMLReader,f.prototype.parseFromString=function(e,t){var r=this.options,n=new h(),a=r.domBuilder||new m(),i=r.errorHandler,s=r.locator,l=r.xmlns||{},u=/\/x?html?$/.test(t),p=u?o.HTML_ENTITIES:o.XML_ENTITIES;s&&a.setDocumentLocator(s),n.errorHandler=function(e,t,r){var n,a;function i(t){var i=e[t];!i&&a&&(i=2==e.length?function(r){e(t,r);}:e),n[t]=i&&function(e){i("[xmldom "+t+"] "+e+D(r));}||function(){};}if(!e){if(t instanceof m)return t;e=t;}return n={},a=e instanceof Function,r=r||{},i("warning"),i("error"),i("fatalError"),n;}(i,a,s),n.domBuilder=r.domBuilder||a,u&&(l[""]=c.HTML),l.xml=l.xml||c.XML;var f=r.normalizeLineEndings||d;return e&&"string"==typeof e?n.parse(f(e),l,p):n.errorHandler.error("invalid doc source"),a.doc;},m.prototype={startDocument:function(){this.doc=new u().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId);},startElement:function(e,t,r,n){var a=this.doc,i=a.createElementNS(e,r||t),o=n.length;b(this,i),this.currentElement=i,this.locator&&g(this.locator,i);for(var s=0;o>s;s++){var e=n.getURI(s),l=n.getValue(s),r=n.getQName(s),u=a.createAttributeNS(e,r);this.locator&&g(n.getLocator(s),u),u.value=u.nodeValue=l,i.setAttributeNode(u);}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode;},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&g(this.locator,r),b(this,r);},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=w.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else var n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&g(this.locator,n);}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize();},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0);},comment:function(e,t,r){e=w.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&g(this.locator,n),b(this,n);},startCDATA:function(){this.cdata=!0;},endCDATA:function(){this.cdata=!1;},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var a=n.createDocumentType(e,t,r);this.locator&&g(this.locator,a),b(this,a),this.doc.doctype=a;}},warning:function(e){console.warn("[xmldom warning] "+e,D(this.locator));},error:function(e){console.error("[xmldom error] "+e,D(this.locator));},fatalError:function(e){throw new p(e,this.locator);}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){m.prototype[e]=function(){return null;};}),n=f;}),u("1lBtW",function(t,r){e(t.exports,"XML_ENTITIES",()=>n,e=>n=e),e(t.exports,"HTML_ENTITIES",()=>a,e=>a=e);var n,a,i=l("fa2WO").freeze;n=i({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),a=i({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"});}),u("lXVGc",function(t,r){var n,a,i,o,s;function u(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,u);}function c(){}function p(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t;}function h(e,t,r){for(var n=e.tagName,a=null,o=e.length;o--;){var s=e[o],l=s.qName,u=s.value,c=l.indexOf(":");if(c>0)var p=s.prefix=l.slice(0,c),h=l.slice(c+1),f="xmlns"===p&&h;else h=l,p=null,f="xmlns"===l&&"";s.localName=h,!1!==f&&(null==a&&(a={},d(r,r={})),r[f]=a[f]=u,s.uri=i.XMLNS,t.startPrefixMapping(f,u));}for(var o=e.length;o--;){var p=(s=e[o]).prefix;p&&("xml"===p&&(s.uri=i.XML),"xmlns"!==p&&(s.uri=r[p||""]));}var c=n.indexOf(":");c>0?(p=e.prefix=n.slice(0,c),h=e.localName=n.slice(c+1)):(p=null,h=e.localName=n);var m=e.uri=r[p||""];if(t.startElement(m,h,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=a,!0;if(t.endElement(m,h,n),a)for(p in a)Object.prototype.hasOwnProperty.call(a,p)&&t.endPrefixMapping(p);}function d(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);}function f(){this.attributeNames={};}e(t.exports,"XMLReader",()=>n,e=>n=e),e(t.exports,"ParseError",()=>a,e=>a=e),i=l("fa2WO").NAMESPACE,o=RegExp("[\\-\\.0-9"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=RegExp("^"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source+o.source+"*(?::"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source+o.source+"*)?$"),u.prototype=Error(),u.prototype.name="$ffdbd9a831ba40c5$var$ParseError",c.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),d(t,t={}),function(e,t,r,n,a){function o(e){var t,n=e.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"===n.charAt(0)?(t=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t):(a.error("entity not found:"+e),e);}function s(t){if(t>b){var r=e.substring(b,t).replace(/&#?\w+;/g,o);g&&l(b),n.characters(r,0,t-b),b=t;}}function l(t,r){for(;t>=d&&(r=m.exec(e));)d=(c=r.index)+r[0].length,g.lineNumber++;g.columnNumber=t-c+1;}for(var c=0,d=0,m=/.*(?:\r\n?|\n)|.*$/g,g=n.locator,D=[{currentNSMap:t}],w={},b=0;;){try{var E=e.indexOf("<",b);if(E<0){if(!e.substr(b).match(/^\s*$/)){var y=n.doc,v=y.createTextNode(e.substr(b));y.appendChild(v),n.currentElement=v;}return;}switch(E>b&&s(E),e.charAt(E+1)){case"/":var N=e.indexOf(">",E+3),x=e.substring(E+2,N).replace(/[ \t\n\r]+$/g,""),T=D.pop();N<0?(x=e.substring(E+2).replace(/[\s<].*/,""),a.error("end tag name: "+x+" is not complete:"+T.tagName),N=E+1+x.length):x.match(/\s",t);if(n){var a=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(a)return a[0].length,r.processingInstruction(a[1],a[2]),n+2;}return-1;}(e,E,n);break;case"!":g&&l(E),N=function(e,t,r,n){if("-"===e.charAt(t+2)){if("-"===e.charAt(t+3)){var a=e.indexOf("-->",t+4);if(a>t)return r.comment(e,t+4,a-t-4),a+3;n.error("Unclosed comment");}}else{if("CDATA["==e.substr(t+3,6)){var a=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,a-t-9),r.endCDATA(),a+3;}var i=function(e,t){var r,n=[];for(/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.lastIndex=t,/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.exec(e);r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.exec(e);)if(n.push(r),r[1])return n;}(e,t),o=i.length;if(o>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,u=!1;o>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],u=o>4&&i[4][0]):/^system$/i.test(i[2][0])&&(u=i[3][0]));var c=i[o-1];return r.startDTD(s,l,u),r.endDTD(),c.index+c[0].length;}}return-1;}(e,E,n,a);break;default:g&&l(E);var _=new f(),R=D[D.length-1].currentNSMap,N=function(e,t,r,n,a,o){function s(e,t,n){r.attributeNames.hasOwnProperty(e)&&o.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n);}for(var l,u,c=++t,p=0;;){var h=e.charAt(c);switch(h){case"=":if(1===p)l=e.slice(t,c),p=3;else if(2===p)p=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===p||1===p){if(1===p&&(o.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,(c=e.indexOf(h,t))>0)s(l,u=e.slice(t,c),t-1),p=5;else throw Error("attribute value no end '"+h+"' match");}else if(4==p)s(l,u=e.slice(t,c),t),o.warning('attribute "'+l+'" missed start quot('+h+")!!"),t=c+1,p=5;else throw Error('attribute value must after "="');break;case"/":switch(p){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:p=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw Error("attribute invalid close char('/')");}break;case"":return o.error("unexpected end of input"),0==p&&r.setTagName(e.slice(t,c)),c;case">":switch(p){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(u=e.slice(t,c)).slice(-1)&&(r.closed=!0,u=u.slice(0,-1));case 2:2===p&&(u=l),4==p?(o.warning('attribute "'+u+'" missed quot(")!'),s(l,u,t)):(i.isHTML(n[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead!!'),s(u,u,t));break;case 3:throw Error("attribute value missed!!");}return c;case"€":h=" ";default:if(h<=" ")switch(p){case 0:r.setTagName(e.slice(t,c)),p=6;break;case 1:l=e.slice(t,c),p=2;break;case 4:var u=e.slice(t,c);o.warning('attribute "'+u+'" missed quot(")!!'),s(l,u,t);case 5:p=6;}else switch(p){case 2:r.tagName,i.isHTML(n[""])&&l.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=c,p=1;break;case 5:o.warning('attribute space is required"'+l+'"!!');case 6:p=1,t=c;break;case 3:p=4,t=c;break;case 7:throw Error("elements closed character '/' and '>' must be connected to");}}c++;}}(e,E,_,R,o,a),q=_.length;if(!_.closed&&function(e,t,r,n){var a=n[r];return null==a&&((a=e.lastIndexOf(""))L;L++){var k=_[L];l(k.offset),k.locator=p(g,{});}n.locator=I,h(_,n,R)&&D.push(_),n.locator=g;}else h(_,n,R)&&D.push(_);i.isHTML(_.uri)&&!_.closed?N=function(e,t,r,n,a){if(/^(?:script|textarea)$/i.test(r)){var i=e.indexOf("",t),o=e.substring(t+1,i);if(/[&<]/.test(o))return /^script$/i.test(r)||(o=o.replace(/&#?\w+;/g,n)),a.characters(o,0,o.length),i;}return t+1;}(e,N,_.tagName,o,n):N++;}}catch(e){if(e instanceof u)throw e;a.error("element parse error: "+e),N=-1;}N>b?b=N:s(Math.max(E,b)+1);}}(e,t,r,n,this.errorHandler),n.endDocument();}},f.prototype={setTagName:function(e){if(!s.test(e))throw Error("invalid tagName:"+e);this.tagName=e;},addValue:function(e,t,r){if(!s.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r};},length:0,getLocalName:function(e){return this[e].localName;},getLocator:function(e){return this[e].locator;},getQName:function(e){return this[e].qName;},getURI:function(e){return this[e].uri;},getValue:function(e){return this[e].value;}},n=c,a=u;}),u("lNblq",function(t,r){let n;e(t.exports,"ValueDict",()=>f);var a=l("OSpMe"),i=l("11yNJ"),o=l("142MB"),s=l("iSugx"),u=l("R5huj"),c=l("i0Hl1"),p=l("5F86d"),h=l("cFQJC"),d=l("1oJvF");class f extends o.Value{static TYPE="dict";static TAG_NAMES=["dict"];static get CHILD_TAG_NAMES(){if(!n)for(let e of(n=new Map(),[s.ValueArray,u.ValueBoolean,c.ValueData,f,p.ValueInteger,h.ValueReal,d.ValueString]))for(let t of e.TAG_NAMES)n.set(t,e);return n;}value=new Map();constructor(e=new Map()){super(),this.value=e;}get size(){return this.value.size;}has(e){return this.value.has(e);}get(e){return this.value.get(e)||null;}getValue(e){let t=this.get(e);if(!t)throw Error("Key is null: "+e);return t;}set(e,t){this.value.set(e,t);}delete(e){this.value.delete(e);}clear(){this.value.clear();}fromXmlElement(e){(0,i.assertXmlTagName)(e,"dict");let t=(0,i.xmlElementChildElements)(e),r=t.length;if(r%2)throw Error("Uneven number of child elements: "+r);let n=new Map();for(let e=0;r>e;e+=2){let r=t[e],a=t[e+1];(0,i.assertXmlTagName)(r,"key");let o=i.xmlElementText(r)?.nodeValue||"",s=this.childFromXmlElement(a);n.set(o,s);}this.value=n;}childFromXmlElement(e){let{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);let a=new n();return a.fromXmlElement(e),a;}toXml(e=null,t=0){let r=e?.indentString??a.INDENT_STRING,n=e?.newlineString??a.NEWLINE_STRING,i=r.repeat(t),o=this.value;if(!o.size)return`${i}`;let s=r.repeat(t+1),l=`${i}`;for(let[r,a]of o){let i=r.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">");l+=`${n}${s}${i}${n}${a.toXml(e,t+1)}`;}return l+`${n}${i}`;}}}),u("142MB",function(t,r){e(t.exports,"Value",()=>a);var n=l("11yNJ");class a{constructor(){}get type(){return this.constructor.TYPE;}castTo(e){return this.type===e.TYPE?this:null;}castAs(e){let t=this.castTo(e);if(!t)throw Error(`Cannot cast type '${this.type}' to '${e.TYPE}'`);return t;}fromXml(e){let{documentElement:t}=(0,n.xmlDecode)(e);this.fromXmlElement(t);}}}),u("iSugx",function(t,r){let n;e(t.exports,"ValueArray",()=>f);var a=l("OSpMe"),i=l("11yNJ"),o=l("142MB"),s=l("R5huj"),u=l("i0Hl1"),c=l("lNblq"),p=l("5F86d"),h=l("cFQJC"),d=l("1oJvF");class f extends o.Value{static TYPE="array";static TAG_NAMES=["array"];static get CHILD_TAG_NAMES(){if(!n)for(let e of(n=new Map(),[f,s.ValueBoolean,u.ValueData,c.ValueDict,p.ValueInteger,h.ValueReal,d.ValueString]))for(let t of e.TAG_NAMES)n.set(t,e);return n;}value=[];constructor(e=[]){super(),this.value=e;}get length(){return this.value.length;}get(e){let{value:t}=this;return ethis.childFromXmlElement(e));}childFromXmlElement(e){let{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);let a=new n();return a.fromXmlElement(e),a;}toXml(e=null,t=0){let r=e?.newlineString??a.NEWLINE_STRING,n=(e?.indentString??(0,a.INDENT_STRING)).repeat(t),i=this.value;if(!i.length)return`${n}`;let o=`${n}`;for(let n of i)o+=`${r}${n.toXml(e,t+1)}`;return o+`${r}${n}`;}}}),u("R5huj",function(t,r){e(t.exports,"ValueBoolean",()=>o);var n=l("OSpMe"),a=l("11yNJ"),i=l("142MB");class o extends i.Value{static TYPE="boolean";static TAG_NAMES=["true","false"];value=!1;constructor(e=!1){super(),this.value=e;}fromXmlElement(e){switch((0,a.assertNoXmlElementChildNodes)(e),e.tagName){case"true":this.value=!0;return;case"false":this.value=!1;return;default:throw(0,a.assertXmlTagName)(e,"");}}toXml(e=null,t=0){let r=(e?.indentString??(0,n.INDENT_STRING)).repeat(t);return this.value?`${r}`:`${r}`;}}}),u("i0Hl1",function(t,r){e(t.exports,"ValueData",()=>o);var n=l("OSpMe"),a=l("11yNJ"),i=l("142MB");class o extends i.Value{static TYPE="data";static TAG_NAMES=["data"];constructor(e=new Uint8Array(0)){super(),this.value=e;}fromXmlElement(e){(0,a.assertXmlTagName)(e,"data");let t=a.xmlElementText(e)?.nodeValue||"";this.value=(0,a.base64Decode)(t);}toXml(e=null,t=0){let r=e?.newlineString??n.NEWLINE_STRING,i=e?.dataColumns??n.DATA_COLUMNS,o=(e?.indentString??(0,n.INDENT_STRING)).repeat(t),s=`${o}`;if(i>0)for(let e=(0,a.base64Encode)(this.value);e;e=e.slice(i))s+=`${r}${o}${e.slice(0,i)}`;else s+=`${r}${o}${(0,a.base64Encode)(this.value)}`;return s+`${r}${o}`;}}}),u("5F86d",function(t,r){var n,a,i;function o(e){if("number"==typeof e&&!Number.isInteger(e))throw Error("Value not an integer: "+e);}e(t.exports,"ValueInteger",()=>s),n=l("OSpMe"),a=l("11yNJ"),i=l("142MB");class s extends i.Value{static TYPE="integer";static TAG_NAMES=["integer"];value=0;constructor(e=0){super(),o(e),this.value=e;}asBigInt(){return BigInt(this.value);}asNumber(){return+this.value;}fromXmlElement(e){(0,a.assertXmlTagName)(e,"integer");let t=a.xmlElementText(e)?.nodeValue||"";if(!/^[+-]?\d+$/.test(t))throw Error("Invalid integer data: "+t);let r=+t;this.value=r>9007199254740991||r<-9007199254740991?BigInt(t):r;}toXml(e=null,t=0){let r=(e?.indentString??(0,n.INDENT_STRING)).repeat(t),a=this.value;return o(a),`${r}${a}`;}}}),u("cFQJC",function(t,r){e(t.exports,"ValueReal",()=>o);var n=l("OSpMe"),a=l("11yNJ"),i=l("142MB");class o extends i.Value{static TYPE="real";static TAG_NAMES=["real"];value=0;constructor(e=0){super(),this.value=e;}fromXmlElement(e){(0,a.assertXmlTagName)(e,"real");let t=a.xmlElementText(e)?.nodeValue||"";if(!/^[+-]?(\d+|\d*\.\d+)$/.test(t))throw Error("Invalid real data: "+t);this.value=+t;}toXml(e=null,t=0){let r=(e?.indentString??(0,n.INDENT_STRING)).repeat(t),a=this.value;return`${r}${a}`;}}}),u("1oJvF",function(t,r){e(t.exports,"ValueString",()=>o);var n=l("OSpMe"),a=l("11yNJ"),i=l("142MB");class o extends i.Value{static TYPE="string";static TAG_NAMES=["string"];value="";constructor(e=""){super(),this.value=e;}fromXmlElement(e){(0,a.assertXmlTagName)(e,"string"),this.value=a.xmlElementText(e)?.nodeValue||"";}toXml(e=null,t=0){let r=(e?.indentString??(0,n.INDENT_STRING)).repeat(t),a=this.value.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">");return`${r}${a}`;}}}),u("6y9K7",function(n,o){e(n.exports,"Entry",()=>h),e(n.exports,"Archive",()=>d);var s=l("4oHc1"),u=l("4jPhc"),c=l("iP82Z");let p=(0,i.promisify)(a.pipeline);class h{_triggering=!1;_triggered=!1;_extracted=!1;constructor(e){this.archive=e.archive,this.type=e.type,this.pathRaw=e.pathRaw,this.path=(0,c.pathNormalize)(e.pathRaw),this.size=e.size??null,this.sizeComp=e.sizeComp??null,this.mode=e.mode??null,this.uid=e.uid??null,this.gid=e.gid??null,this.uname=e.uname??null,this.gname=e.gname??null,this.atime=e.atime??null,this.mtime=e.mtime??null,this._readData=e.readData??null,this._readRsrc=e.readRsrc??null,this._readSymlink=e.readSymlink??null;}get hasNamedVolume(){return this.archive.hasNamedVolumes;}get volumeName(){if(this.hasNamedVolume){let{path:e}=this;return e.substring(0,e.indexOf("/"));}return null;}get volumePath(){let{path:e}=this;return this.hasNamedVolume?e.substring(e.indexOf("/")+1):e;}async stream(){return this._beginExtract(),this._stream();}async read(){this._beginExtract();let e=await this._stream();return e?(0,c.streamToBuffer)(e):null;}async extract(e,t={}){this._beginExtract(),await this._extract(e,t);}async trigger(e){let t;if(this._triggered)throw Error("Archive entry already triggered");this._triggered=this._triggering=!0;try{t=await e(this);}finally{this._triggering=!1;}return t;}async setAttributes(e,t=null,r={}){let n=null===t?e:t,{ignorePermissions:a,ignoreTimes:i}=r,{type:o,mode:s,atime:l,mtime:p}=this,h=!1;switch(o){case u.PathType.FILE:case u.PathType.RESOURCE_FORK:case u.PathType.DIRECTORY:break;case u.PathType.SYMLINK:h=!0;break;default:throw Error("Unsupported path type: "+o);}let d=l||p||null,f=p||l||null;if(!a&&null!==s){let e=h?c.fsLchmod:c.fsChmod,t=(0,c.modePermissionBits)(s);await e(n,t);}if(!i&&d&&f){let e=h?c.fsLutimes:c.fsUtimes;await e(n,d,f);}}_beginExtract(){if(!this._triggering)throw Error("Archive entry is not active");if(this._extracted)throw Error("Archive entry can only be extracted once");this._extracted=!0;}_errorExtractPathExists(e){return Error("Extract path already exists: "+e);}_errorNoResourceFork(e){return Error("Extract path for resource fork not a file: "+e);}async _extract(e,t){this.archive.afterReadSetAttributesRemove(e);let{type:r}=this;switch(r){case u.PathType.FILE:await this._extractFile(e,t);break;case u.PathType.RESOURCE_FORK:await this._extractResourceFork(e,t);break;case u.PathType.DIRECTORY:await this._extractDirectory(e,t);break;case u.PathType.SYMLINK:await this._extractSymlink(e,t);break;default:throw Error("Unsupported path type: "+r);}}async _extractStreamToFile(e,n,a){let{replace:i}=a;if(await(0,c.fsLstatExists)(e)){if(i)await(0,s.rm)(e,{recursive:!0,force:!0});else throw this._errorExtractPathExists(e);}else await(0,s.mkdir)((0,r.dirname)(e),{recursive:!0});await(0,s.writeFile)(e,Buffer.alloc(0));let o=await n();o&&(await p(o,(0,t.createWriteStream)(e))),await this.setAttributes(e,null,a);}async _extractFile(e,t){let r=this._readData;if(!r)throw Error("Internal error");await this._extractStreamToFile(e,r,t);}async _extractResourceFork(e,r){let n=this._readRsrc;if(!n)throw Error("Internal error");if(r.resourceForkAsFile){await this._extractStreamToFile(e,n,r);return;}let a=await(0,c.fsLstatExists)(e);if(!a||!a.isFile())throw this._errorNoResourceFork(e);let i=(0,c.pathResourceFork)(e),o=await n();o?await p(o,(0,t.createWriteStream)(i)):await(0,s.writeFile)(i,Buffer.alloc(0)),await this.setAttributes(e,null,r);}async _extractDirectory(e,t){let{replace:r}=t,n=await(0,c.fsLstatExists)(e);if(n){if(!n.isDirectory()){if(r)await(0,s.rm)(e,{recursive:!0,force:!0}),await(0,s.mkdir)(e,{recursive:!0});else throw this._errorExtractPathExists(e);}}else await(0,s.mkdir)(e,{recursive:!0});this.archive.afterReadSetAttributes(e,this,{...t});}async _extractSymlink(e,t){let n=this._readSymlink;if(!n)throw Error("Internal error");let{replace:a,symlinkAsFile:i}=t;if(await(0,c.fsLstatExists)(e)){if(a)await(0,s.rm)(e,{recursive:!0,force:!0});else throw this._errorExtractPathExists(e);}else await(0,s.mkdir)((0,r.dirname)(e),{recursive:!0});let o=await n();i?await(0,s.writeFile)(e,o):await(0,c.fsSymlink)(e,o),await this.setAttributes(e,null,t);}async _stream(){let{type:e}=this;switch(e){case u.PathType.FILE:return this._streamFile();case u.PathType.RESOURCE_FORK:return this._streamResourceFork();case u.PathType.DIRECTORY:return this._streamDirectory();case u.PathType.SYMLINK:return this._streamSymlink();default:throw Error("Unsupported path type: "+e);}}async _streamFile(){let e=this._readData;if(!e)throw Error("Internal error");return e();}async _streamResourceFork(){let e=this._readRsrc;if(!e)throw Error("Internal error");return e();}async _streamDirectory(){return null;}async _streamSymlink(){let e=this._readSymlink;if(!e)throw Error("Internal error");let t=new a.Readable({read(){e().then(e=>{t.push(e),t.push(null);},e=>{t.emit("error",e);});}});return t;}}class d{static FILE_EXTENSIONS=null;static HAS_NAMED_VOLUMES=!1;Entry=h;_reading=!1;_afterReadSetAttributes=null;constructor(e){this.path=e;}get fileExtensions(){return this.constructor.FILE_EXTENSIONS||null;}get hasNamedVolumes(){return this.constructor.HAS_NAMED_VOLUMES;}afterReadSetAttributes(e,t,n={}){let a=this._afterReadSetAttributes;if(!a)throw Error("Archive after read callbacks can only be added while reading");a.set((0,r.resolve)(e),{path:e,entry:t,options:n});}afterReadSetAttributesRemove(e){let t=this._afterReadSetAttributes;if(!t)throw Error("Archive after read callbacks can only be removed while reading");t.delete((0,r.resolve)(e));}async read(e){if(this._reading)throw Error("Archive already being read");this._reading=!0,this._afterReadSetAttributes=new Map();try{await this._read(e),await this._afterReadSetAttributesTrigger();}finally{this._afterReadSetAttributes=null,this._reading=!1;}}async _afterReadSetAttributesTrigger(){let e=this._afterReadSetAttributes;if(!e)return;let t=[];for(let[r]of e)t.push(r);for(let r of(t.sort((e,t)=>t.length-e.length),t)){let t=e.get(r);if(!t)throw Error("Internal error");let{entry:n,path:a,options:i}=t;await n.setAttributes(a,r,i);}}}}),u("4jPhc",function(t,r){var n;e(t.exports,"PathType",()=>a);let a=((n={}).DIRECTORY="directory",n.FILE="file",n.SYMLINK="symlink",n.RESOURCE_FORK="resource-fork",n);}),u("iP82Z",function(n,i){var o,s,u;function c(e){return e.replace(/\\/g,"/").replace(/([^/])\/+$/,"$1");}function p(e){return(0,r.join)(e,"..namedfork","rsrc");}function h(e){return e.isSymbolicLink()?u.PathType.SYMLINK:e.isDirectory()?u.PathType.DIRECTORY:e.isFile()?u.PathType.FILE:null;}function d(e){return 511&e;}async function f(e){let t=[],r=0;return await(0,s.pipeline)(e,new a.Writable({write(e,n,a){t.push(e),r+=e.length,a();}})),Buffer.concat(t,r);}async function m(e,t){if(!A)return;let r=await(0,o.open)(e,T|S);try{await r.chmod(t);}finally{await r.close();}}async function g(e,t,r){await(0,o.utimes)(e,t,r);}async function D(e,t,r){if(!C)return;let n=await(0,o.open)(e,T|S);try{await n.utimes(t,r);}finally{await n.close();}}async function w(e){return(0,o.readlink)(e,"buffer");}async function b(e,t){await(0,o.symlink)(t,e);}async function E(e,t){await(0,o.chmod)(e,t);}async function y(e){return(await(0,o.readdir)(e)).sort();}async function v(e){return(0,o.lstat)(e);}async function N(e){try{return await v(e);}catch(t){let{code:e}=t;if("ENOENT"===e||"ENOTDIR"===e)return null;throw t;}}async function x(e,t,n={}){let{ignoreUnreadableDirectories:a}=n,i=(await y(e)).reverse();for(;i.length;){let n=i.pop(),o=(0,r.join)(e,n),s=await v(o),l=await t(n,s);if(null===l)break;if(!1===l||!s.isDirectory())continue;let u=[];try{u=await y(o);}catch(e){if(!(e&&a&&"EACCES"===e.code))throw e;}for(let e=u.length;e--;)i.push((0,r.join)(n,u[e]));}}e(n.exports,"pathNormalize",()=>c),e(n.exports,"pathResourceFork",()=>p),e(n.exports,"statToPathType",()=>h),e(n.exports,"modePermissionBits",()=>d),e(n.exports,"streamToBuffer",()=>f),e(n.exports,"fsLchmod",()=>m),e(n.exports,"fsUtimes",()=>g),e(n.exports,"fsLutimes",()=>D),e(n.exports,"fsReadlinkRaw",()=>w),e(n.exports,"fsSymlink",()=>b),e(n.exports,"fsChmod",()=>E),e(n.exports,"fsLstatExists",()=>N),e(n.exports,"fsWalk",()=>x),o=l("4oHc1"),s=l("kbY42"),u=l("4jPhc");let{O_WRONLY:T,O_SYMLINK:S}=t.constants,A=!!S,C=!!S;}),u("kbY42",function(t,r){e(t.exports,"pipeline",()=>n);let n="promises"in o&&"pipeline"in o.promises?o.promises.pipeline:(0,s.promisify)(o.pipeline);"promises"in o&&"finished"in o.promises?o.promises.finished:(0,s.promisify)(o.finished);}); -//# sourceMappingURL=hdi.c1b21e1a.js.map \ No newline at end of file diff --git a/dist/modern/hdi.c1b21e1a.js.map b/dist/modern/hdi.c1b21e1a.js.map deleted file mode 100644 index 6c9c0b60..00000000 --- a/dist/modern/hdi.c1b21e1a.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"hdi.c1b21e1a.js","names":["c","ignoreUnreadableDirectories","p","force","h","o","Entry","sizeComp","uname","gname","constructor","e","archive","size","mode","uid","gid","atime","mtime","rsrcPathRaw","u","pathResourceFork","pathRaw","rsrcPath","pathNormalize","path","d","Archive","FILE_EXTENSIONS","HAS_NAMED_VOLUMES","mounterMac","i","Mounter","nobrowse","read","_read","n","a","each","r","statToPathType","l","f","s","PathType","FILE","t","createReadStream","m","SYMLINK","fsReadlinkRaw","g","type","readData","readSymlink","D","trigger","fsLstatExists","readRsrc","RESOURCE_FORK","attach","readonly","devices","mountPoint","basename","fsWalk","join","eject","hdiutil","_runAttach","_argsAttach","ejectSync","_createEjects","attachSync","_runAttachSync","_runEject","_argsEject","_runEjectSync","push","_fileArg","spawn","stdout","on","Promise","once","Error","_parseDevices","Buffer","concat","toString","status","error","spawnSync","startsWith","Plist","fromXml","valueCastAs","ValueDict","getValue","castAs","ValueArray","value","ValueString","ValueBoolean","get","devEntry","potentiallyMountable","contentHint","unmappedContentHint","volumeKind","_findRootDevice","length","process","off","XML_DECLARATION","XML_DOCTYPE","xmlDeclaration","xmlDoctype","valueCastTo","castTo","TYPE","declaration","doctype","documentElement","xmlDecode","fromXmlElement","tagName","xmlElementChildElements","childFromXmlElement","toXml","indentRoot","INDENT_ROOT","newlineString","NEWLINE_STRING","filter","Boolean","DOMParser","locator","errorHandler","warning","fatalError","parseFromString","childNodes","test","nodeValue","charCodeAt","Uint8Array","DOMImplementation","XMLSerializer","w","b","E","y","v","N","x","T","S","A","C","hasOwnProperty","_","Object","keys","split","reduce","R","prototype","call","q","console","I","message","captureStackTrace","code","L","k","_node","_refresh","O","_inc","ownerDocument","ew","$$length","F","M","V","ownerElement","H","namespaceURI","XMLNS","_nsMap","prefix","localName","P","U","B","j","G","firstChild","nextSibling","X","$","z","previousSibling","lastChild","parentNode","Y","nodeType","DOCUMENT_TYPE_NODE","J","ELEMENT_NODE","W","TEXT_NODE","K","indexOf","Z","Q","DOCUMENT_FRAGMENT_NODE","ee","DOCUMENT_NODE","COMMENT_NODE","PROCESSING_INSTRUCTION_NODE","removeChild","et","er","en","ea","ei","eo","es","el","eu","ec","ep","eh","ed","ef","lookupPrefix","namespace","eD","em","XML","eg","replace","attributes","isHTML","item","name","nodeName","data","slice","publicId","systemId","internalSubset","target","find","NAMESPACE","ATTRIBUTE_NODE","CDATA_SECTION_NODE","ENTITY_REFERENCE_NODE","ENTITY_NODE","NOTATION_NODE","INDEX_SIZE_ERR","DOMSTRING_SIZE_ERR","HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR","NO_DATA_ALLOWED_ERR","NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR","Array","getNamedItem","setNamedItem","_ownerElement","setNamedItemNS","getNamedItemNS","removeNamedItem","removeNamedItemNS","hasFeature","createDocument","implementation","appendChild","createElementNS","createDocumentType","insertBefore","replaceChild","hasChildNodes","cloneNode","setAttributeNode","normalize","appendData","isSupported","hasAttributes","lookupNamespaceURI","isDefaultNamespace","importNode","getElementById","getAttribute","getElementsByClassName","every","createElement","createDocumentFragment","createTextNode","createComment","createCDATASection","createProcessingInstruction","createAttribute","specified","createEntityReference","createAttributeNS","hasAttribute","getAttributeNode","setAttribute","removeAttribute","removeAttributeNode","setAttributeNodeNS","removeAttributeNS","getAttributeNodeNS","hasAttributeNS","getAttributeNS","setAttributeNS","getElementsByTagName","getElementsByTagNameNS","substringData","substring","insertData","replaceData","deleteData","splitText","serializeToString","defineProperty","set","freeze","HTML","XML_APPLICATION","XML_TEXT","XML_XHTML_APPLICATION","XML_SVG_IMAGE","SVG","options","cdata","lineNumber","columnNumber","substr","java","lang","String","currentElement","doc","ParseError","XMLReader","domBuilder","xmlns","HTML_ENTITIES","XML_ENTITIES","setDocumentLocator","Function","xml","normalizeLineEndings","parse","startDocument","documentURI","startElement","getURI","getQName","getLocator","endElement","startPrefixMapping","endPrefixMapping","processingInstruction","ignorableWhitespace","characters","apply","arguments","skippedEntity","endDocument","comment","startCDATA","endCDATA","startDTD","warn","amp","apos","gt","lt","quot","Aacute","aacute","Abreve","abreve","ac","acd","acE","Acirc","acirc","acute","Acy","acy","AElig","aelig","af","Afr","afr","Agrave","agrave","alefsym","aleph","Alpha","alpha","Amacr","amacr","amalg","AMP","And","and","andand","andd","andslope","andv","ang","ange","angle","angmsd","angmsdaa","angmsdab","angmsdac","angmsdad","angmsdae","angmsdaf","angmsdag","angmsdah","angrt","angrtvb","angrtvbd","angsph","angst","angzarr","Aogon","aogon","Aopf","aopf","ap","apacir","apE","ape","apid","ApplyFunction","approx","approxeq","Aring","aring","Ascr","ascr","Assign","ast","asymp","asympeq","Atilde","atilde","Auml","auml","awconint","awint","backcong","backepsilon","backprime","backsim","backsimeq","Backslash","Barv","barvee","Barwed","barwed","barwedge","bbrk","bbrktbrk","bcong","Bcy","bcy","bdquo","becaus","Because","because","bemptyv","bepsi","bernou","Bernoullis","Beta","beta","beth","between","Bfr","bfr","bigcap","bigcirc","bigcup","bigodot","bigoplus","bigotimes","bigsqcup","bigstar","bigtriangledown","bigtriangleup","biguplus","bigvee","bigwedge","bkarow","blacklozenge","blacksquare","blacktriangle","blacktriangledown","blacktriangleleft","blacktriangleright","blank","blk12","blk14","blk34","block","bne","bnequiv","bNot","bnot","Bopf","bopf","bot","bottom","bowtie","boxbox","boxDL","boxDl","boxdL","boxdl","boxDR","boxDr","boxdR","boxdr","boxH","boxh","boxHD","boxHd","boxhD","boxhd","boxHU","boxHu","boxhU","boxhu","boxminus","boxplus","boxtimes","boxUL","boxUl","boxuL","boxul","boxUR","boxUr","boxuR","boxur","boxV","boxv","boxVH","boxVh","boxvH","boxvh","boxVL","boxVl","boxvL","boxvl","boxVR","boxVr","boxvR","boxvr","bprime","Breve","breve","brvbar","Bscr","bscr","bsemi","bsim","bsime","bsol","bsolb","bsolhsub","bull","bullet","bump","bumpE","bumpe","Bumpeq","bumpeq","Cacute","cacute","Cap","cap","capand","capbrcup","capcap","capcup","capdot","CapitalDifferentialD","caps","caret","caron","Cayleys","ccaps","Ccaron","ccaron","Ccedil","ccedil","Ccirc","ccirc","Cconint","ccups","ccupssm","Cdot","cdot","cedil","Cedilla","cemptyv","cent","CenterDot","centerdot","Cfr","cfr","CHcy","chcy","check","checkmark","Chi","chi","cir","circ","circeq","circlearrowleft","circlearrowright","circledast","circledcirc","circleddash","CircleDot","circledR","circledS","CircleMinus","CirclePlus","CircleTimes","cirE","cire","cirfnint","cirmid","cirscir","ClockwiseContourIntegral","CloseCurlyDoubleQuote","CloseCurlyQuote","clubs","clubsuit","Colon","colon","Colone","colone","coloneq","comma","commat","comp","compfn","complement","complexes","cong","congdot","Congruent","Conint","conint","ContourIntegral","Copf","copf","coprod","Coproduct","COPY","copy","copysr","CounterClockwiseContourIntegral","crarr","Cross","cross","Cscr","cscr","csub","csube","csup","csupe","ctdot","cudarrl","cudarrr","cuepr","cuesc","cularr","cularrp","Cup","cup","cupbrcap","CupCap","cupcap","cupcup","cupdot","cupor","cups","curarr","curarrm","curlyeqprec","curlyeqsucc","curlyvee","curlywedge","curren","curvearrowleft","curvearrowright","cuvee","cuwed","cwconint","cwint","cylcty","Dagger","dagger","daleth","Darr","dArr","darr","dash","Dashv","dashv","dbkarow","dblac","Dcaron","dcaron","Dcy","dcy","DD","dd","ddagger","ddarr","DDotrahd","ddotseq","deg","Del","Delta","delta","demptyv","dfisht","Dfr","dfr","dHar","dharl","dharr","DiacriticalAcute","DiacriticalDot","DiacriticalDoubleAcute","DiacriticalGrave","DiacriticalTilde","diam","Diamond","diamond","diamondsuit","diams","die","DifferentialD","digamma","disin","div","divide","divideontimes","divonx","DJcy","djcy","dlcorn","dlcrop","dollar","Dopf","dopf","Dot","dot","DotDot","doteq","doteqdot","DotEqual","dotminus","dotplus","dotsquare","doublebarwedge","DoubleContourIntegral","DoubleDot","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DownArrow","Downarrow","downarrow","DownArrowBar","DownArrowUpArrow","DownBreve","downdownarrows","downharpoonleft","downharpoonright","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","DownTee","DownTeeArrow","drbkarow","drcorn","drcrop","Dscr","dscr","DScy","dscy","dsol","Dstrok","dstrok","dtdot","dtri","dtrif","duarr","duhar","dwangle","DZcy","dzcy","dzigrarr","Eacute","eacute","easter","Ecaron","ecaron","ecir","Ecirc","ecirc","ecolon","Ecy","ecy","eDDot","Edot","eDot","edot","efDot","Efr","efr","Egrave","egrave","egs","egsdot","Element","elinters","ell","els","elsdot","Emacr","emacr","empty","emptyset","EmptySmallSquare","emptyv","EmptyVerySmallSquare","emsp","emsp13","emsp14","ENG","eng","ensp","Eogon","eogon","Eopf","eopf","epar","eparsl","eplus","epsi","Epsilon","epsilon","epsiv","eqcirc","eqcolon","eqsim","eqslantgtr","eqslantless","Equal","equals","EqualTilde","equest","Equilibrium","equiv","equivDD","eqvparsl","erarr","erDot","Escr","escr","esdot","Esim","esim","Eta","eta","ETH","eth","Euml","euml","euro","excl","exist","Exists","expectation","ExponentialE","exponentiale","fallingdotseq","Fcy","fcy","female","ffilig","fflig","ffllig","Ffr","ffr","filig","FilledSmallSquare","FilledVerySmallSquare","fjlig","flat","fllig","fltns","fnof","Fopf","fopf","ForAll","forall","fork","forkv","Fouriertrf","fpartint","frac12","frac13","frac14","frac15","frac16","frac18","frac23","frac25","frac34","frac35","frac38","frac45","frac56","frac58","frac78","frasl","frown","Fscr","fscr","gacute","Gamma","gamma","Gammad","gammad","gap","Gbreve","gbreve","Gcedil","Gcirc","gcirc","Gcy","gcy","Gdot","gdot","gE","ge","gEl","gel","geq","geqq","geqslant","ges","gescc","gesdot","gesdoto","gesdotol","gesl","gesles","Gfr","gfr","Gg","gg","ggg","gimel","GJcy","gjcy","gl","gla","glE","glj","gnap","gnapprox","gnE","gne","gneq","gneqq","gnsim","Gopf","gopf","grave","GreaterEqual","GreaterEqualLess","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterTilde","Gscr","gscr","gsim","gsime","gsiml","Gt","GT","gtcc","gtcir","gtdot","gtlPar","gtquest","gtrapprox","gtrarr","gtrdot","gtreqless","gtreqqless","gtrless","gtrsim","gvertneqq","gvnE","Hacek","hairsp","half","hamilt","HARDcy","hardcy","hArr","harr","harrcir","harrw","Hat","hbar","Hcirc","hcirc","hearts","heartsuit","hellip","hercon","Hfr","hfr","HilbertSpace","hksearow","hkswarow","hoarr","homtht","hookleftarrow","hookrightarrow","Hopf","hopf","horbar","HorizontalLine","Hscr","hscr","hslash","Hstrok","hstrok","HumpDownHump","HumpEqual","hybull","hyphen","Iacute","iacute","ic","Icirc","icirc","Icy","icy","Idot","IEcy","iecy","iexcl","iff","Ifr","ifr","Igrave","igrave","ii","iiiint","iiint","iinfin","iiota","IJlig","ijlig","Im","Imacr","imacr","image","ImaginaryI","imagline","imagpart","imath","imof","imped","Implies","in","incare","infin","infintie","inodot","Int","int","intcal","integers","Integral","intercal","Intersection","intlarhk","intprod","InvisibleComma","InvisibleTimes","IOcy","iocy","Iogon","iogon","Iopf","iopf","Iota","iota","iprod","iquest","Iscr","iscr","isin","isindot","isinE","isins","isinsv","isinv","it","Itilde","itilde","Iukcy","iukcy","Iuml","iuml","Jcirc","jcirc","Jcy","jcy","Jfr","jfr","jmath","Jopf","jopf","Jscr","jscr","Jsercy","jsercy","Jukcy","jukcy","Kappa","kappa","kappav","Kcedil","kcedil","Kcy","kcy","Kfr","kfr","kgreen","KHcy","khcy","KJcy","kjcy","Kopf","kopf","Kscr","kscr","lAarr","Lacute","lacute","laemptyv","lagran","Lambda","lambda","Lang","langd","langle","lap","Laplacetrf","laquo","Larr","lArr","larr","larrb","larrbfs","larrfs","larrhk","larrlp","larrpl","larrsim","larrtl","lat","lAtail","latail","late","lates","lBarr","lbarr","lbbrk","lbrace","lbrack","lbrke","lbrksld","lbrkslu","Lcaron","lcaron","Lcedil","lcedil","lceil","lcub","Lcy","lcy","ldca","ldquo","ldquor","ldrdhar","ldrushar","ldsh","lE","le","LeftAngleBracket","LeftArrow","Leftarrow","leftarrow","LeftArrowBar","LeftArrowRightArrow","leftarrowtail","LeftCeiling","LeftDoubleBracket","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftFloor","leftharpoondown","leftharpoonup","leftleftarrows","LeftRightArrow","Leftrightarrow","leftrightarrow","leftrightarrows","leftrightharpoons","leftrightsquigarrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","leftthreetimes","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","lEg","leg","leq","leqq","leqslant","les","lescc","lesdot","lesdoto","lesdotor","lesg","lesges","lessapprox","lessdot","lesseqgtr","lesseqqgtr","LessEqualGreater","LessFullEqual","LessGreater","lessgtr","LessLess","lesssim","LessSlantEqual","LessTilde","lfisht","lfloor","Lfr","lfr","lg","lgE","lHar","lhard","lharu","lharul","lhblk","LJcy","ljcy","Ll","ll","llarr","llcorner","Lleftarrow","llhard","lltri","Lmidot","lmidot","lmoust","lmoustache","lnap","lnapprox","lnE","lne","lneq","lneqq","lnsim","loang","loarr","lobrk","LongLeftArrow","Longleftarrow","longleftarrow","LongLeftRightArrow","Longleftrightarrow","longleftrightarrow","longmapsto","LongRightArrow","Longrightarrow","longrightarrow","looparrowleft","looparrowright","lopar","Lopf","lopf","loplus","lotimes","lowast","lowbar","LowerLeftArrow","LowerRightArrow","loz","lozenge","lozf","lpar","lparlt","lrarr","lrcorner","lrhar","lrhard","lrm","lrtri","lsaquo","Lscr","lscr","Lsh","lsh","lsim","lsime","lsimg","lsqb","lsquo","lsquor","Lstrok","lstrok","Lt","LT","ltcc","ltcir","ltdot","lthree","ltimes","ltlarr","ltquest","ltri","ltrie","ltrif","ltrPar","lurdshar","luruhar","lvertneqq","lvnE","macr","male","malt","maltese","Map","map","mapsto","mapstodown","mapstoleft","mapstoup","marker","mcomma","Mcy","mcy","mdash","mDDot","measuredangle","MediumSpace","Mellintrf","Mfr","mfr","mho","micro","mid","midast","midcir","middot","minus","minusb","minusd","minusdu","MinusPlus","mlcp","mldr","mnplus","models","Mopf","mopf","mp","Mscr","mscr","mstpos","Mu","mu","multimap","mumap","nabla","Nacute","nacute","nang","nap","napE","napid","napos","napprox","natur","natural","naturals","nbsp","nbump","nbumpe","ncap","Ncaron","ncaron","Ncedil","ncedil","ncong","ncongdot","ncup","Ncy","ncy","ndash","ne","nearhk","neArr","nearr","nearrow","nedot","NegativeMediumSpace","NegativeThickSpace","NegativeThinSpace","NegativeVeryThinSpace","nequiv","nesear","nesim","NestedGreaterGreater","NestedLessLess","NewLine","nexist","nexists","Nfr","nfr","ngE","nge","ngeq","ngeqq","ngeqslant","nges","nGg","ngsim","nGt","ngt","ngtr","nGtv","nhArr","nharr","nhpar","ni","nis","nisd","niv","NJcy","njcy","nlArr","nlarr","nldr","nlE","nle","nLeftarrow","nleftarrow","nLeftrightarrow","nleftrightarrow","nleq","nleqq","nleqslant","nles","nless","nLl","nlsim","nLt","nlt","nltri","nltrie","nLtv","nmid","NoBreak","NonBreakingSpace","Nopf","nopf","Not","not","NotCongruent","NotCupCap","NotDoubleVerticalBar","NotElement","NotEqual","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","NotHumpDownHump","NotHumpEqual","notin","notindot","notinE","notinva","notinvb","notinvc","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","notni","notniva","notnivb","notnivc","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","npar","nparallel","nparsl","npart","npolint","npr","nprcue","npre","nprec","npreceq","nrArr","nrarr","nrarrc","nrarrw","nRightarrow","nrightarrow","nrtri","nrtrie","nsc","nsccue","nsce","Nscr","nscr","nshortmid","nshortparallel","nsim","nsime","nsimeq","nsmid","nspar","nsqsube","nsqsupe","nsub","nsubE","nsube","nsubset","nsubseteq","nsubseteqq","nsucc","nsucceq","nsup","nsupE","nsupe","nsupset","nsupseteq","nsupseteqq","ntgl","Ntilde","ntilde","ntlg","ntriangleleft","ntrianglelefteq","ntriangleright","ntrianglerighteq","Nu","nu","num","numero","numsp","nvap","nVDash","nVdash","nvDash","nvdash","nvge","nvgt","nvHarr","nvinfin","nvlArr","nvle","nvlt","nvltrie","nvrArr","nvrtrie","nvsim","nwarhk","nwArr","nwarr","nwarrow","nwnear","Oacute","oacute","oast","ocir","Ocirc","ocirc","Ocy","ocy","odash","Odblac","odblac","odiv","odot","odsold","OElig","oelig","ofcir","Ofr","ofr","ogon","Ograve","ograve","ogt","ohbar","ohm","oint","olarr","olcir","olcross","oline","olt","Omacr","omacr","Omega","omega","Omicron","omicron","omid","ominus","Oopf","oopf","opar","OpenCurlyDoubleQuote","OpenCurlyQuote","operp","oplus","Or","or","orarr","ord","order","orderof","ordf","ordm","origof","oror","orslope","orv","oS","Oscr","oscr","Oslash","oslash","osol","Otilde","otilde","Otimes","otimes","otimesas","Ouml","ouml","ovbar","OverBar","OverBrace","OverBracket","OverParenthesis","par","para","parallel","parsim","parsl","part","PartialD","Pcy","pcy","percnt","period","permil","perp","pertenk","Pfr","pfr","Phi","phi","phiv","phmmat","phone","Pi","pi","pitchfork","piv","planck","planckh","plankv","plus","plusacir","plusb","pluscir","plusdo","plusdu","pluse","PlusMinus","plusmn","plussim","plustwo","pm","Poincareplane","pointint","Popf","popf","pound","Pr","pr","prap","prcue","prE","pre","prec","precapprox","preccurlyeq","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","preceq","precnapprox","precneqq","precnsim","precsim","Prime","prime","primes","prnap","prnE","prnsim","prod","Product","profalar","profline","profsurf","prop","Proportion","Proportional","propto","prsim","prurel","Pscr","pscr","Psi","psi","puncsp","Qfr","qfr","qint","Qopf","qopf","qprime","Qscr","qscr","quaternions","quatint","quest","questeq","QUOT","rAarr","race","Racute","racute","radic","raemptyv","Rang","rang","rangd","range","rangle","raquo","Rarr","rArr","rarr","rarrap","rarrb","rarrbfs","rarrc","rarrfs","rarrhk","rarrlp","rarrpl","rarrsim","Rarrtl","rarrtl","rarrw","rAtail","ratail","ratio","rationals","RBarr","rBarr","rbarr","rbbrk","rbrace","rbrack","rbrke","rbrksld","rbrkslu","Rcaron","rcaron","Rcedil","rcedil","rceil","rcub","Rcy","rcy","rdca","rdldhar","rdquo","rdquor","rdsh","Re","real","realine","realpart","reals","rect","REG","reg","ReverseElement","ReverseEquilibrium","ReverseUpEquilibrium","rfisht","rfloor","Rfr","rfr","rHar","rhard","rharu","rharul","Rho","rho","rhov","RightAngleBracket","RightArrow","Rightarrow","rightarrow","RightArrowBar","RightArrowLeftArrow","rightarrowtail","RightCeiling","RightDoubleBracket","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightFloor","rightharpoondown","rightharpoonup","rightleftarrows","rightleftharpoons","rightrightarrows","rightsquigarrow","RightTee","RightTeeArrow","RightTeeVector","rightthreetimes","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","ring","risingdotseq","rlarr","rlhar","rlm","rmoust","rmoustache","rnmid","roang","roarr","robrk","ropar","Ropf","ropf","roplus","rotimes","RoundImplies","rpar","rpargt","rppolint","rrarr","Rrightarrow","rsaquo","Rscr","rscr","Rsh","rsh","rsqb","rsquo","rsquor","rthree","rtimes","rtri","rtrie","rtrif","rtriltri","RuleDelayed","ruluhar","rx","Sacute","sacute","sbquo","Sc","sc","scap","Scaron","scaron","sccue","scE","sce","Scedil","scedil","Scirc","scirc","scnap","scnE","scnsim","scpolint","scsim","Scy","scy","sdot","sdotb","sdote","searhk","seArr","searr","searrow","sect","semi","seswar","setminus","setmn","sext","Sfr","sfr","sfrown","sharp","SHCHcy","shchcy","SHcy","shcy","ShortDownArrow","ShortLeftArrow","shortmid","shortparallel","ShortRightArrow","ShortUpArrow","shy","Sigma","sigma","sigmaf","sigmav","sim","simdot","sime","simeq","simg","simgE","siml","simlE","simne","simplus","simrarr","slarr","SmallCircle","smallsetminus","smashp","smeparsl","smid","smile","smt","smte","smtes","SOFTcy","softcy","sol","solb","solbar","Sopf","sopf","spades","spadesuit","spar","sqcap","sqcaps","sqcup","sqcups","Sqrt","sqsub","sqsube","sqsubset","sqsubseteq","sqsup","sqsupe","sqsupset","sqsupseteq","squ","Square","square","SquareIntersection","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","squarf","squf","srarr","Sscr","sscr","ssetmn","ssmile","sstarf","Star","star","starf","straightepsilon","straightphi","strns","Sub","sub","subdot","subE","sube","subedot","submult","subnE","subne","subplus","subrarr","Subset","subset","subseteq","subseteqq","SubsetEqual","subsetneq","subsetneqq","subsim","subsub","subsup","succ","succapprox","succcurlyeq","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","succeq","succnapprox","succneqq","succnsim","succsim","SuchThat","Sum","sum","sung","Sup","sup","sup1","sup2","sup3","supdot","supdsub","supE","supe","supedot","Superset","SupersetEqual","suphsol","suphsub","suplarr","supmult","supnE","supne","supplus","Supset","supset","supseteq","supseteqq","supsetneq","supsetneqq","supsim","supsub","supsup","swarhk","swArr","swarr","swarrow","swnwar","szlig","Tab","Tau","tau","tbrk","Tcaron","tcaron","Tcedil","tcedil","Tcy","tcy","tdot","telrec","Tfr","tfr","there4","Therefore","therefore","Theta","theta","thetasym","thetav","thickapprox","thicksim","ThickSpace","thinsp","ThinSpace","thkap","thksim","THORN","thorn","Tilde","tilde","TildeEqual","TildeFullEqual","TildeTilde","times","timesb","timesbar","timesd","tint","toea","top","topbot","topcir","Topf","topf","topfork","tosa","tprime","TRADE","trade","triangle","triangledown","triangleleft","trianglelefteq","triangleq","triangleright","trianglerighteq","tridot","trie","triminus","TripleDot","triplus","trisb","tritime","trpezium","Tscr","tscr","TScy","tscy","TSHcy","tshcy","Tstrok","tstrok","twixt","twoheadleftarrow","twoheadrightarrow","Uacute","uacute","Uarr","uArr","uarr","Uarrocir","Ubrcy","ubrcy","Ubreve","ubreve","Ucirc","ucirc","Ucy","ucy","udarr","Udblac","udblac","udhar","ufisht","Ufr","ufr","Ugrave","ugrave","uHar","uharl","uharr","uhblk","ulcorn","ulcorner","ulcrop","ultri","Umacr","umacr","uml","UnderBar","UnderBrace","UnderBracket","UnderParenthesis","Union","UnionPlus","Uogon","uogon","Uopf","uopf","UpArrow","Uparrow","uparrow","UpArrowBar","UpArrowDownArrow","UpDownArrow","Updownarrow","updownarrow","UpEquilibrium","upharpoonleft","upharpoonright","uplus","UpperLeftArrow","UpperRightArrow","Upsi","upsi","upsih","Upsilon","upsilon","UpTee","UpTeeArrow","upuparrows","urcorn","urcorner","urcrop","Uring","uring","urtri","Uscr","uscr","utdot","Utilde","utilde","utri","utrif","uuarr","Uuml","uuml","uwangle","vangrt","varepsilon","varkappa","varnothing","varphi","varpi","varpropto","vArr","varr","varrho","varsigma","varsubsetneq","varsubsetneqq","varsupsetneq","varsupsetneqq","vartheta","vartriangleleft","vartriangleright","Vbar","vBar","vBarv","Vcy","vcy","VDash","Vdash","vDash","vdash","Vdashl","Vee","vee","veebar","veeeq","vellip","Verbar","verbar","Vert","vert","VerticalBar","VerticalLine","VerticalSeparator","VerticalTilde","VeryThinSpace","Vfr","vfr","vltri","vnsub","vnsup","Vopf","vopf","vprop","vrtri","Vscr","vscr","vsubnE","vsubne","vsupnE","vsupne","Vvdash","vzigzag","Wcirc","wcirc","wedbar","Wedge","wedge","wedgeq","weierp","Wfr","wfr","Wopf","wopf","wp","wr","wreath","Wscr","wscr","xcap","xcirc","xcup","xdtri","Xfr","xfr","xhArr","xharr","Xi","xi","xlArr","xlarr","xmap","xnis","xodot","Xopf","xopf","xoplus","xotime","xrArr","xrarr","Xscr","xscr","xsqcup","xuplus","xutri","xvee","xwedge","Yacute","yacute","YAcy","yacy","Ycirc","ycirc","Ycy","ycy","yen","Yfr","yfr","YIcy","yicy","Yopf","yopf","Yscr","yscr","YUcy","yucy","Yuml","yuml","Zacute","zacute","Zcaron","zcaron","Zcy","zcy","Zdot","zdot","zeetrf","ZeroWidthSpace","Zeta","zeta","Zfr","zfr","ZHcy","zhcy","zigrarr","Zopf","zopf","Zscr","zscr","zwj","zwnj","qName","uri","closed","currentNSMap","localNSMap","attributeNames","RegExp","source","charAt","parseInt","fromCharCode","exec","index","match","pop","toLowerCase","lastIndex","endDTD","addValue","setTagName","lastIndexOf","offset","Math","max","getLocalName","Value","TAG_NAMES","CHILD_TAG_NAMES","ValueData","ValueInteger","ValueReal","has","delete","clear","assertXmlTagName","xmlElementText","indentString","INDENT_STRING","repeat","replaceAll","popValue","shift","shiftValue","assertNoXmlElementChildNodes","base64Decode","dataColumns","DATA_COLUMNS","base64Encode","Number","isInteger","asBigInt","BigInt","asNumber","promisify","pipeline","_triggering","_triggered","_extracted","_readData","_readRsrc","_readSymlink","hasNamedVolume","hasNamedVolumes","volumeName","volumePath","stream","_beginExtract","_stream","streamToBuffer","extract","_extract","setAttributes","ignorePermissions","ignoreTimes","DIRECTORY","fsLchmod","fsChmod","modePermissionBits","fsLutimes","fsUtimes","_errorExtractPathExists","_errorNoResourceFork","afterReadSetAttributesRemove","_extractFile","_extractResourceFork","_extractDirectory","_extractSymlink","_extractStreamToFile","rm","recursive","mkdir","dirname","writeFile","alloc","createWriteStream","resourceForkAsFile","isFile","isDirectory","afterReadSetAttributes","symlinkAsFile","fsSymlink","_streamFile","_streamResourceFork","_streamDirectory","_streamSymlink","Readable","then","emit","_reading","_afterReadSetAttributes","fileExtensions","resolve","entry","_afterReadSetAttributesTrigger","sort","isSymbolicLink","Writable","write","open","chmod","close","utimes","readlink","symlink","readdir","lstat","reverse","O_WRONLY","O_SYMLINK","constants","promises","finished"],"sources":["../../","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/archive/hdi.mjs","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/src/archive/hdi.ts","../../node_modules/.pnpm/@shockpkg+hdi-mac@3.1.4/node_modules/@shockpkg/hdi-mac/esm/mounter.mjs","../../node_modules/.pnpm/@shockpkg+hdi-mac@3.1.4/node_modules/@shockpkg/hdi-mac/src/mounter.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/plist.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/plist.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/options.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/options.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/util.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/util.ts","../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/index.js","../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom.js","../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/conventions.js","../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/dom-parser.js","../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/entities.js","../../node_modules/.pnpm/@xmldom+xmldom@0.8.10/node_modules/@xmldom/xmldom/lib/sax.js","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/dict.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value/dict.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/array.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value/array.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/boolean.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value/boolean.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/data.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value/data.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/integer.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value/integer.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/real.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value/real.ts","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/esm/value/string.mjs","../../node_modules/.pnpm/@shockpkg+plist-dom@4.0.7/node_modules/@shockpkg/plist-dom/src/value/string.ts","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/archive.mjs","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/src/archive.ts","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/types.mjs","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/src/types.ts","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/esm/util.mjs","../../node_modules/.pnpm/@shockpkg+archive-files@https+++codeload.github.com+aminya+archive-files+tar.gz+54ec59fad46aca736ac6feb6c7bb526528141b9d/node_modules/@shockpkg/archive-files/src/util.ts","../../src/utils/compat/stream/promises.ts"],"sourcesContent":["var $fmId9$nodefs = require(\"node:fs\");\nvar $fmId9$nodepath = require(\"node:path\");\nvar $fmId9$nodechild_process = require(\"node:child_process\");\nvar $fmId9$nodestream = require(\"node:stream\");\nvar $fmId9$nodeutil = require(\"node:util\");\nvar $fmId9$stream = require(\"stream\");\nvar $fmId9$util = require(\"util\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire810d\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"4YYb2\", function(module, exports) {\n\n$parcel$export(module.exports, \"ArchiveHdi\", () => $d159a58f599189dd$export$c1aa0fd1ad465eab);\n/* eslint-disable max-classes-per-file */ \n\n\nvar $7ljpV = parcelRequire(\"7ljpV\");\n\nvar $6y9K7 = parcelRequire(\"6y9K7\");\n\nvar $4jPhc = parcelRequire(\"4jPhc\");\n\nvar $iP82Z = parcelRequire(\"iP82Z\");\nconst $d159a58f599189dd$var$walkOpts = {\n ignoreUnreadableDirectories: true\n};\nconst $d159a58f599189dd$var$ejectOptions = {\n force: true\n};\nclass $d159a58f599189dd$export$6bde309da83df86d extends (0, $6y9K7.Entry) {\n /**\n * @inheritdoc\n */ /**\n * @inheritdoc\n */ /**\n * @inheritdoc\n */ sizeComp = null;\n /**\n * @inheritdoc\n */ /**\n * @inheritdoc\n */ /**\n * @inheritdoc\n */ /**\n * @inheritdoc\n */ uname = null;\n /**\n * @inheritdoc\n */ gname = null;\n /**\n * @inheritdoc\n */ /**\n * @inheritdoc\n */ /**\n * EntryHdi constructor.\n *\n * @param info Info object.\n */ constructor(info){\n super(info);\n this.archive = info.archive;\n this.size = info.size;\n this.mode = info.mode;\n this.uid = info.uid;\n this.gid = info.gid;\n this.atime = info.atime;\n this.mtime = info.mtime;\n }\n /**\n * Get the path of resource psuedo-file, raw.\n *\n * @returns Path string.\n */ get rsrcPathRaw() {\n return (0, $iP82Z.pathResourceFork)(this.pathRaw);\n }\n /**\n * Get the path of resource psuedo-file, normalized.\n *\n * @returns Path string.\n */ get rsrcPath() {\n return (0, $iP82Z.pathNormalize)((0, $iP82Z.pathResourceFork)(this.path));\n }\n}\nclass $d159a58f599189dd$export$c1aa0fd1ad465eab extends (0, $6y9K7.Archive) {\n /**\n * @inheritdoc\n */ static FILE_EXTENSIONS = [\n \".dmg\",\n \".iso\",\n \".cdr\"\n ];\n /**\n * @inheritdoc\n */ static HAS_NAMED_VOLUMES = true;\n /**\n * @inheritdoc\n */ Entry = $d159a58f599189dd$export$6bde309da83df86d;\n /**\n * Mounter, Mac.\n */ mounterMac = new (0, $7ljpV.Mounter)();\n /**\n * Hide mounted disk image from the file explorers.\n */ nobrowse = false;\n /**\n * ArchiveHdi constructor.\n *\n * @param path File path.\n */ constructor(path){\n super(path);\n }\n /**\n * @inheritdoc\n */ async read(itter) {\n await super.read(itter);\n }\n /**\n * @inheritdoc\n */ async _read(itter) {\n const { mounterMac: mounterMac, nobrowse: nobrowse } = this;\n /**\n * Each itterator.\n *\n * @param pathFull Full path.\n * @param pathRaw Raw path.\n * @param stat Stat object.\n * @returns Recursion hint.\n */ const each = async (pathFull, pathRaw, stat)=>{\n const type = (0, $iP82Z.statToPathType)(stat);\n if (type === null) return true;\n const { size: size, mode: mode, uid: uid, gid: gid, atime: atime, mtime: mtime } = stat;\n const readData = type === (0, $4jPhc.PathType).FILE ? // eslint-disable-next-line max-len\n // eslint-disable-next-line @typescript-eslint/require-await\n async ()=>(0, $fmId9$nodefs.createReadStream)(pathFull) : null;\n const readSymlink = type === (0, $4jPhc.PathType).SYMLINK ? async ()=>(0, $iP82Z.fsReadlinkRaw)(pathFull) : null;\n const entry = new this.Entry({\n archive: this,\n type: type,\n pathRaw: pathRaw,\n size: size,\n mode: mode,\n uid: uid,\n gid: gid,\n atime: atime,\n mtime: mtime,\n readData: readData,\n readSymlink: readSymlink\n });\n const ret = await entry.trigger(itter);\n if (ret === false) return null;\n if (ret === null) return false;\n if (type === (0, $4jPhc.PathType).FILE) {\n const rsrcPathFull = (0, $iP82Z.pathResourceFork)(pathFull);\n const rsrcStat = await (0, $iP82Z.fsLstatExists)(rsrcPathFull);\n if (rsrcStat) {\n const sizeRsrc = rsrcStat.size;\n /**\n * Read RSRC.\n *\n * @returns Read stream.\n */ // eslint-disable-next-line @typescript-eslint/require-await\n const readRsrc = async ()=>(0, $fmId9$nodefs.createReadStream)(rsrcPathFull);\n const entryRsrc = new this.Entry({\n archive: this,\n type: (0, $4jPhc.PathType).RESOURCE_FORK,\n pathRaw: pathRaw,\n size: sizeRsrc,\n mode: mode,\n uid: uid,\n gid: gid,\n atime: atime,\n mtime: mtime,\n readRsrc: readRsrc\n });\n const ret = await entryRsrc.trigger(itter);\n if (ret === false) return null;\n if (ret === null) return false;\n }\n }\n return true;\n };\n // Using auto-eject on normal exit option.\n const info = await mounterMac.attach(this.path, {\n nobrowse: nobrowse,\n readonly: true\n }, $d159a58f599189dd$var$ejectOptions);\n // Eject device when done.\n try {\n for (const device of info.devices){\n const { mountPoint: mountPoint } = device;\n if (!mountPoint) continue;\n const volumeName = (0, $fmId9$nodepath.basename)(mountPoint);\n // eslint-disable-next-line no-await-in-loop\n await (0, $iP82Z.fsWalk)(mountPoint, async (pathRel, stat)=>{\n const pathFull = (0, $fmId9$nodepath.join)(mountPoint, pathRel);\n const pathRaw = (0, $fmId9$nodepath.join)(volumeName, pathRel);\n return each(pathFull, pathRaw, stat);\n }, $d159a58f599189dd$var$walkOpts);\n }\n } finally{\n await info.eject($d159a58f599189dd$var$ejectOptions);\n }\n }\n}\n\n});\nparcelRegister(\"7ljpV\", function(module, exports) {\n\n$parcel$export(module.exports, \"Mounter\", () => $67103a985400a8e3$export$2109cd350bcf6eda);\n\n\nvar $l3lkg = parcelRequire(\"l3lkg\");\nvar $iSugx = parcelRequire(\"iSugx\");\nvar $R5huj = parcelRequire(\"R5huj\");\nvar $lNblq = parcelRequire(\"lNblq\");\nvar $1oJvF = parcelRequire(\"1oJvF\");\nclass $67103a985400a8e3$export$2109cd350bcf6eda {\n /**\n * The path to hdiutil.\n */ /**\n * Mounter constructor.\n *\n * @param options Options object.\n */ constructor(options = null){\n this.hdiutil = (options ? options.hdiutil : null) || \"hdiutil\";\n }\n /**\n * Attach a disk image.\n *\n * @param file Path to disk image.\n * @param options Options object.\n * @param ejectOnExit Eject on exit options, or null.\n * @returns Info object.\n */ async attach(file, options = null, ejectOnExit = null) {\n const devices = await this._runAttach(this._argsAttach(file, options));\n const { eject: eject, ejectSync: ejectSync } = this._createEjects(devices);\n return {\n devices: devices,\n eject: eject,\n ejectSync: ejectSync\n };\n }\n /**\n * Attach a disk image.\n *\n * @param file Path to disk image.\n * @param options Options object.\n * @param ejectOnExit Eject on exit options, or null.\n * @returns Info object.\n */ attachSync(file, options = null, ejectOnExit = null) {\n // eslint-disable-next-line no-sync\n const devices = this._runAttachSync(this._argsAttach(file, options));\n const { eject: eject, ejectSync: ejectSync } = this._createEjects(devices);\n return {\n devices: devices,\n eject: eject,\n ejectSync: ejectSync\n };\n }\n /**\n * Eject a disk image.\n *\n * @param file Path to device file or volume mount point.\n * @param options Options object.\n */ async eject(file, options = null) {\n await this._runEject(this._argsEject(file, options));\n }\n /**\n * Eject a disk image.\n *\n * @param file Path to device file or volume mount point.\n * @param options Options object.\n */ ejectSync(file, options = null) {\n // eslint-disable-next-line no-sync\n this._runEjectSync(this._argsEject(file, options));\n }\n /**\n * Create args for attach.\n *\n * @param file Path to disk image.\n * @param options Options object.\n * @returns Argument list.\n */ _argsAttach(file, options = null) {\n const args = [\n \"attach\",\n \"-plist\"\n ];\n if (options) {\n if (options.readonly) args.push(\"-readonly\");\n if (options.nobrowse) args.push(\"-nobrowse\");\n }\n args.push(this._fileArg(file));\n return args;\n }\n /**\n * Create args for eject.\n *\n * @param file Path to device file or volume mount point.\n * @param options Options object.\n * @returns Argument list.\n */ _argsEject(file, options = null) {\n const args = [\n \"eject\"\n ];\n if (options && options.force) args.push(\"-force\");\n args.push(this._fileArg(file));\n return args;\n }\n /**\n * Run hdiutil attach command, returning the devices list on success.\n *\n * @param args CLI args.\n * @returns Devices list.\n */ async _runAttach(args) {\n const stdouts = [];\n const proc = (0, $fmId9$nodechild_process.spawn)(this.hdiutil, args);\n proc.stdout.on(\"data\", (data)=>{\n stdouts.push(data);\n });\n const code = await new Promise((resolve, reject)=>{\n proc.once(\"exit\", resolve);\n proc.once(\"error\", reject);\n });\n if (code) throw new Error(`Attach failed: hdiutil exit code: ${code}`);\n return this._parseDevices(Buffer.concat(stdouts).toString());\n }\n /**\n * Run hdiutil attach command, returning the devices list on success.\n *\n * @param args CLI args.\n * @returns Devices list.\n */ _runAttachSync(args) {\n const { status: status, error: error, stdout: stdout } = (0, $fmId9$nodechild_process.spawnSync)(this.hdiutil, args);\n if (error) throw error;\n if (status) throw new Error(`Attach failed: hdiutil exit code: ${status}`);\n return this._parseDevices(stdout.toString());\n }\n /**\n * Run hdiutil eject command.\n *\n * @param args CLI args.\n */ async _runEject(args) {\n const proc = (0, $fmId9$nodechild_process.spawn)(this.hdiutil, args);\n const status = await new Promise((resolve, reject)=>{\n proc.once(\"exit\", resolve);\n proc.once(\"error\", reject);\n });\n if (status) throw new Error(`Eject failed: hdiutil exit code: ${status}`);\n }\n /**\n * Run hdiutil eject command.\n *\n * @param args CLI args.\n */ _runEjectSync(args) {\n const { status: status, error: error } = (0, $fmId9$nodechild_process.spawnSync)(this.hdiutil, args);\n if (error) throw error;\n if (status) throw new Error(`Eject failed: hdiutil exit code: ${status}`);\n }\n /**\n * Create file argument from file path.\n *\n * @param file File path.\n * @returns A path for use as argument.\n */ _fileArg(file) {\n // Make sure it will not be recognized as option argument.\n return file.startsWith(\"-\") ? `./${file}` : file;\n }\n /**\n * Parse devices plist into devices list.\n *\n * @param xml XML plist.\n * @returns Devices list.\n */ _parseDevices(xml) {\n const plist = new (0, $l3lkg.Plist)();\n plist.fromXml(xml);\n const systemEntities = plist.valueCastAs((0, $lNblq.ValueDict)).getValue(\"system-entities\").castAs((0, $iSugx.ValueArray));\n const r = [];\n for (const value of systemEntities.value){\n const dict = value.castAs((0, $lNblq.ValueDict));\n const devEntry = dict.getValue(\"dev-entry\").castAs((0, $1oJvF.ValueString)).value;\n const potentiallyMountable = dict.getValue(\"potentially-mountable\").castAs((0, $R5huj.ValueBoolean)).value;\n const contentHint = dict.get(\"content-hint\");\n const unmappedContentHint = dict.get(\"unmapped-content-hint\");\n const volumeKind = dict.get(\"volume-kind\");\n const mountPoint = dict.get(\"mount-point\");\n const device = {\n devEntry: devEntry,\n potentiallyMountable: potentiallyMountable\n };\n if (contentHint) device.contentHint = contentHint.castAs((0, $1oJvF.ValueString)).value;\n if (unmappedContentHint) device.unmappedContentHint = unmappedContentHint.castAs((0, $1oJvF.ValueString)).value;\n if (volumeKind) device.volumeKind = volumeKind.castAs((0, $1oJvF.ValueString)).value;\n if (mountPoint) device.mountPoint = mountPoint.castAs((0, $1oJvF.ValueString)).value;\n r.push(device);\n }\n return r;\n }\n /**\n * Find the root device, null on empty list.\n *\n * @param devices Device list.\n * @returns Root device or null if an empty list.\n */ _findRootDevice(devices) {\n let r = null;\n for (const device of devices)if (r === null || r.devEntry.length > device.devEntry.length) r = device;\n return r;\n }\n /**\n * Create ejects callback from a list of devices.\n *\n * @param devices Device list.\n * @param ejectOnExit Eject on exit options, or null.\n * @returns Callback function.\n */ _createEjects(devices, ejectOnExit = null) {\n // Find the root device, to use to eject (none possible in theory).\n let devEntry = this._findRootDevice(devices)?.devEntry;\n let shutdown = null;\n const info = {\n /**\n * The eject callback function.\n *\n * @param options Eject options.\n */ eject: async (options = null)=>{\n if (devEntry) {\n await this.eject(devEntry, options);\n devEntry = \"\";\n if (shutdown) process.off(\"exit\", shutdown);\n }\n },\n /**\n * The eject callback function.\n *\n * @param options Eject options.\n */ ejectSync: (options = null)=>{\n if (devEntry) {\n // eslint-disable-next-line no-sync\n this.ejectSync(devEntry, options);\n devEntry = \"\";\n if (shutdown) process.off(\"exit\", shutdown);\n }\n }\n };\n if (ejectOnExit) {\n /**\n * Attempt to auto-eject on normal shutdown.\n * Does not catch signals (no clean way in a library).\n * Users can explicitly call process.exit() on signals to use this.\n */ shutdown = ()=>{\n // eslint-disable-next-line no-sync\n info.ejectSync(ejectOnExit);\n };\n process.once(\"exit\", shutdown);\n }\n return info;\n }\n}\n\n});\nparcelRegister(\"l3lkg\", function(module, exports) {\n\n$parcel$export(module.exports, \"Plist\", () => $a627e93d40ba12b8$export$2a65c73fe54050b8);\n\nvar $OSpMe = parcelRequire(\"OSpMe\");\n\nvar $11yNJ = parcelRequire(\"11yNJ\");\n\nvar $lNblq = parcelRequire(\"lNblq\");\nconst $a627e93d40ba12b8$var$xmlDeclaration = '';\nconst $a627e93d40ba12b8$var$xmlDoctype = '';\nclass $a627e93d40ba12b8$export$2a65c73fe54050b8 {\n /**\n * Default XML declaration.\n */ static XML_DECLARATION = $a627e93d40ba12b8$var$xmlDeclaration;\n /**\n * Default XML doctype.\n */ static XML_DOCTYPE = $a627e93d40ba12b8$var$xmlDoctype;\n /**\n * XML declaration.\n */ xmlDeclaration = $a627e93d40ba12b8$var$xmlDeclaration;\n /**\n * XML doctype.\n */ xmlDoctype = $a627e93d40ba12b8$var$xmlDoctype;\n /**\n * Value element.\n */ value = null;\n /**\n * Plist constructor.\n *\n * @param value The value.\n */ constructor(value = null){\n this.value = value;\n }\n /**\n * Get value or throw if null.\n *\n * @returns The value.\n */ getValue() {\n const { value: value } = this;\n if (!value) throw new Error(\"Value is null\");\n return value;\n }\n /**\n * Cast to specific type or null.\n *\n * @param Type Type constructor.\n * @returns The object or null.\n */ valueCastTo(Type) {\n const { value: value } = this;\n return value ? value.castTo(Type) : null;\n }\n /**\n * Cast to specific type or throw.\n *\n * @param Type Type constructor.\n * @returns The object.\n */ valueCastAs(Type) {\n const casted = this.valueCastTo(Type);\n if (!casted) throw new Error(`Cannot cast value to type '${Type.TYPE}'`);\n return casted;\n }\n /**\n * Decode document from string.\n *\n * @param xml XML string.\n */ fromXml(xml) {\n const { declaration: declaration, doctype: doctype, documentElement: documentElement } = (0, $11yNJ.xmlDecode)(xml);\n this.fromXmlElement(documentElement, declaration, doctype);\n }\n /**\n * Decode document from element.\n *\n * @param element XML element.\n * @param declaration XML declaration.\n * @param doctype XML doctype.\n */ fromXmlElement(element, declaration = null, doctype = null) {\n const { tagName: tagName } = element;\n if (tagName !== \"plist\") throw new Error(`Unexpected root plist tag name: ${tagName}`);\n const childElements = (0, $11yNJ.xmlElementChildElements)(element);\n const childElementsL = childElements.length;\n if (childElementsL > 1) throw new Error(`Multiple root plist child tag: ${childElementsL}`);\n this.value = childElementsL ? this.childFromXmlElement(childElements[0]) : null;\n this.xmlDeclaration = declaration || \"\";\n this.xmlDoctype = doctype || \"\";\n }\n /**\n * Decode child element from XML element.\n *\n * @param element XML element.\n * @returns Value element.\n */ childFromXmlElement(element) {\n const a = new (0, $lNblq.ValueDict)();\n return a.childFromXmlElement(element);\n }\n /**\n * Encode documents to string.\n *\n * @param options Options object.\n * @returns XML string.\n */ toXml(options = null) {\n const ir = options?.indentRoot ?? (0, $OSpMe.INDENT_ROOT);\n const n = options?.newlineString ?? (0, $OSpMe.NEWLINE_STRING);\n const v = this.value;\n return [\n ...[\n this.xmlDeclaration,\n this.xmlDoctype\n ].filter(Boolean),\n '',\n ...v ? [\n v.toXml(options, ir ? 1 : 0)\n ] : [],\n \"\",\n \"\"\n ].join(n);\n }\n}\n\n});\nparcelRegister(\"OSpMe\", function(module, exports) {\n\n$parcel$export(module.exports, \"INDENT_STRING\", () => $7444a322ba1ccbdd$export$1e80556a1db28146);\n$parcel$export(module.exports, \"NEWLINE_STRING\", () => $7444a322ba1ccbdd$export$ed174037a9bdff2c);\n$parcel$export(module.exports, \"DATA_COLUMNS\", () => $7444a322ba1ccbdd$export$5c824d2ec83ff619);\n$parcel$export(module.exports, \"INDENT_ROOT\", () => $7444a322ba1ccbdd$export$6d03a526e379b09b);\nconst $7444a322ba1ccbdd$export$1e80556a1db28146 = \"\t\";\nconst $7444a322ba1ccbdd$export$ed174037a9bdff2c = \"\\n\";\nconst $7444a322ba1ccbdd$export$5c824d2ec83ff619 = 68;\nconst $7444a322ba1ccbdd$export$6d03a526e379b09b = false;\n\n});\n\nparcelRegister(\"11yNJ\", function(module, exports) {\n\n$parcel$export(module.exports, \"xmlDecode\", () => $350d709371983aa5$export$18944fc6e74f8282);\n$parcel$export(module.exports, \"xmlElementChildElements\", () => $350d709371983aa5$export$ed00f817df6be0c9);\n$parcel$export(module.exports, \"xmlElementText\", () => $350d709371983aa5$export$17118775901adc6b);\n$parcel$export(module.exports, \"assertXmlTagName\", () => $350d709371983aa5$export$1aae4f5e3a8a9756);\n$parcel$export(module.exports, \"assertNoXmlElementChildNodes\", () => $350d709371983aa5$export$6f0da40b035c9e7a);\n$parcel$export(module.exports, \"base64Encode\", () => $350d709371983aa5$export$e510a73ee562749);\n$parcel$export(module.exports, \"base64Decode\", () => $350d709371983aa5$export$c62426fdd000a97e);\n\nvar $gk2Fw = parcelRequire(\"gk2Fw\");\nconst $350d709371983aa5$var$B6 = 0x3f;\nconst $350d709371983aa5$var$B8 = 0xff;\nconst $350d709371983aa5$var$C64 = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\nconst $350d709371983aa5$var$C64M = [\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 62,\n -1,\n -1,\n -1,\n 63,\n 52,\n 53,\n 54,\n 55,\n 56,\n 57,\n 58,\n 59,\n 60,\n 61,\n -1,\n -1,\n -1,\n 64,\n -1,\n -1,\n -1,\n 0,\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 20,\n 21,\n 22,\n 23,\n 24,\n 25,\n -1,\n -1,\n -1,\n -1,\n -1,\n -1,\n 26,\n 27,\n 28,\n 29,\n 30,\n 31,\n 32,\n 33,\n 34,\n 35,\n 36,\n 37,\n 38,\n 39,\n 40,\n 41,\n 42,\n 43,\n 44,\n 45,\n 46,\n 47,\n 48,\n 49,\n 50,\n 51\n];\nfunction $350d709371983aa5$export$18944fc6e74f8282(xml) {\n let declaration = null;\n let doctype = null;\n const errors = [];\n const parser = new (0, $gk2Fw.DOMParser)({\n locator: {},\n errorHandler: {\n /**\n * Warning callback.\n *\n * @param e Error string.\n */ warning: (e)=>{\n // Ignore warnings.\n },\n /**\n * Error callback.\n *\n * @param e Error string.\n */ error: (e)=>{\n errors.push(e);\n },\n /**\n * Fatal error callback.\n *\n * @param e Error string.\n */ fatalError: (e)=>{\n errors.push(e);\n }\n }\n });\n const doc = parser.parseFromString(xml, \"text/xml\");\n if (errors.length) throw new Error(`XML decode error: ${errors[0]}`);\n const { childNodes: childNodes } = doc;\n const documentElement = doc.documentElement || null;\n for(let i = 0, l = childNodes.length; i < l; i++){\n const childNode = childNodes[i];\n if (childNode === documentElement) break;\n const str = childNode.toString();\n if (/^<\\?xml[^>]*\\?>$/.test(str)) declaration = str;\n if (/^]*>$/.test(str)) doctype = str;\n }\n if (!documentElement) throw new Error(\"XML decode error: No document element\");\n return {\n declaration: declaration,\n doctype: doctype,\n documentElement: documentElement\n };\n}\nfunction $350d709371983aa5$export$ed00f817df6be0c9(element) {\n const { childNodes: childNodes } = element;\n const r = [];\n for(let i = 0, l = childNodes.length; i < l; i++){\n const childNode = childNodes[i];\n if (\"tagName\" in childNode) {\n r.push(childNode);\n continue;\n }\n const { nodeValue: nodeValue } = childNode;\n if (nodeValue && !/^\\s*$/.test(nodeValue)) throw new Error(`Found text children of: ${element.tagName}`);\n }\n return r;\n}\nfunction $350d709371983aa5$export$17118775901adc6b(element) {\n const { childNodes: childNodes } = element;\n let r = null;\n for(let i = 0, l = childNodes.length; i < l; i++){\n if (i) throw new Error(`Multiple child elements in: ${element.tagName}`);\n const childNode = childNodes[i];\n if (!(\"tagName\" in childNode) && \"data\" in childNode && \"nodeValue\" in childNode) r = childNode;\n else throw new Error(`Unexpected child element in: ${element.tagName}`);\n }\n return r;\n}\nfunction $350d709371983aa5$export$1aae4f5e3a8a9756(element, tagName) {\n const tn = element.tagName;\n if (tn !== tagName) throw new Error(`Unexpected tagName: ${tagName}`);\n}\nfunction $350d709371983aa5$export$6f0da40b035c9e7a(element) {\n const { childNodes: childNodes } = element;\n if (childNodes.length) throw new Error(`Unexpected child nodes: ${element.tagName}`);\n}\nfunction $350d709371983aa5$export$e510a73ee562749(data) {\n const l = data.length;\n let r = \"\";\n for(let i = 0; i < l;){\n const a = data[i++];\n const b = i < l ? data[i++] : null;\n const c = i < l ? data[i++] : null;\n // eslint-disable-next-line no-bitwise\n const o = a << 16 | (b || 0) << 8 | (c || 0);\n r += // eslint-disable-next-line no-bitwise\n $350d709371983aa5$var$C64[o >> 18] + // eslint-disable-next-line no-bitwise\n $350d709371983aa5$var$C64[o >> 12 & $350d709371983aa5$var$B6] + // eslint-disable-next-line no-bitwise\n $350d709371983aa5$var$C64[b === null ? 64 : o >> 6 & $350d709371983aa5$var$B6] + // eslint-disable-next-line no-bitwise\n $350d709371983aa5$var$C64[c === null ? 64 : o & $350d709371983aa5$var$B6];\n }\n return r;\n}\nfunction $350d709371983aa5$export$c62426fdd000a97e(base64) {\n const l = base64.length;\n const r = [];\n OUTER: for(let a, b, c, d, m, z, i = 0; i < l;){\n for(;;){\n // eslint-disable-next-line unicorn/prefer-code-point\n if ((m = $350d709371983aa5$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n a = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n for(;;){\n // eslint-disable-next-line unicorn/prefer-code-point\n if ((m = $350d709371983aa5$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n b = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n for(;;){\n // eslint-disable-next-line unicorn/prefer-code-point\n if ((m = $350d709371983aa5$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n c = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n for(;;){\n // eslint-disable-next-line unicorn/prefer-code-point\n if ((m = $350d709371983aa5$var$C64M[base64.charCodeAt(i++)]) >= 0) {\n d = m;\n break;\n }\n if (i >= l) break OUTER;\n }\n // eslint-disable-next-line no-bitwise\n z = (a & $350d709371983aa5$var$B6) << 18 | (b & $350d709371983aa5$var$B6) << 12 | (c & $350d709371983aa5$var$B6) << 6 | d & $350d709371983aa5$var$B6;\n // eslint-disable-next-line default-case, no-nested-ternary\n switch(c > $350d709371983aa5$var$B6 ? d > $350d709371983aa5$var$B6 ? 2 : 0 : d > $350d709371983aa5$var$B6 ? 1 : 0){\n case 0:\n // eslint-disable-next-line no-bitwise\n r.push(z >> 16 & $350d709371983aa5$var$B8, z >> 8 & $350d709371983aa5$var$B8, z & $350d709371983aa5$var$B8);\n break;\n case 1:\n // eslint-disable-next-line no-bitwise\n r.push(z >> 16 & $350d709371983aa5$var$B8, z >> 8 & $350d709371983aa5$var$B8);\n break;\n case 2:\n // eslint-disable-next-line no-bitwise\n r.push(z >> 16 & $350d709371983aa5$var$B8);\n break;\n }\n }\n return new Uint8Array(r);\n}\n\n});\nparcelRegister(\"gk2Fw\", function(module, exports) {\n\n$parcel$export(module.exports, \"DOMParser\", () => $be209589eb89d62d$export$1059c6e7d2ce5669, (v) => $be209589eb89d62d$export$1059c6e7d2ce5669 = v);\nvar $be209589eb89d62d$export$455426655eab1d48;\nvar $be209589eb89d62d$export$64f0bed4ae6f0f24;\nvar $be209589eb89d62d$export$1059c6e7d2ce5669;\n\nvar $jBFUq = parcelRequire(\"jBFUq\");\n$be209589eb89d62d$export$455426655eab1d48 = $jBFUq.DOMImplementation;\n$be209589eb89d62d$export$64f0bed4ae6f0f24 = $jBFUq.XMLSerializer;\n\n$be209589eb89d62d$export$1059c6e7d2ce5669 = (parcelRequire(\"9v8b8\")).DOMParser;\n\n});\nparcelRegister(\"jBFUq\", function(module, exports) {\n\n$parcel$export(module.exports, \"DOMImplementation\", () => $03aeffeca4a927df$export$455426655eab1d48, (v) => $03aeffeca4a927df$export$455426655eab1d48 = v);\n$parcel$export(module.exports, \"XMLSerializer\", () => $03aeffeca4a927df$export$64f0bed4ae6f0f24, (v) => $03aeffeca4a927df$export$64f0bed4ae6f0f24 = v);\n//if(typeof require == 'function'){\nvar $03aeffeca4a927df$export$d1d99cf900472499;\nvar $03aeffeca4a927df$export$fe58bcf938607f6a;\nvar $03aeffeca4a927df$export$455426655eab1d48;\nvar $03aeffeca4a927df$export$db77ccec0bb4ccac;\nvar $03aeffeca4a927df$export$85c928794f8d04d4;\nvar $03aeffeca4a927df$export$79b41aa5d56abdff;\nvar $03aeffeca4a927df$export$64f0bed4ae6f0f24;\n\nvar $fa2WO = parcelRequire(\"fa2WO\");\nvar $03aeffeca4a927df$var$find = $fa2WO.find;\nvar $03aeffeca4a927df$var$NAMESPACE = $fa2WO.NAMESPACE;\n/**\n * A prerequisite for `[].filter`, to drop elements that are empty\n * @param {string} input\n * @returns {boolean}\n */ function $03aeffeca4a927df$var$notEmptyString(input) {\n return input !== \"\";\n}\n/**\n * @see https://infra.spec.whatwg.org/#split-on-ascii-whitespace\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * @param {string} input\n * @returns {string[]} (can be empty)\n */ function $03aeffeca4a927df$var$splitOnASCIIWhitespace(input) {\n // U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, U+0020 SPACE\n return input ? input.split(/[\\t\\n\\f\\r ]+/).filter($03aeffeca4a927df$var$notEmptyString) : [];\n}\n/**\n * Adds element as a key to current if it is not already present.\n *\n * @param {Record} current\n * @param {string} element\n * @returns {Record}\n */ function $03aeffeca4a927df$var$orderedSetReducer(current, element) {\n if (!current.hasOwnProperty(element)) current[element] = true;\n return current;\n}\n/**\n * @see https://infra.spec.whatwg.org/#ordered-set\n * @param {string} input\n * @returns {string[]}\n */ function $03aeffeca4a927df$var$toOrderedSet(input) {\n if (!input) return [];\n var list = $03aeffeca4a927df$var$splitOnASCIIWhitespace(input);\n return Object.keys(list.reduce($03aeffeca4a927df$var$orderedSetReducer, {}));\n}\n/**\n * Uses `list.indexOf` to implement something like `Array.prototype.includes`,\n * which we can not rely on being available.\n *\n * @param {any[]} list\n * @returns {function(any): boolean}\n */ function $03aeffeca4a927df$var$arrayIncludes(list) {\n return function(element) {\n return list && list.indexOf(element) !== -1;\n };\n}\nfunction $03aeffeca4a927df$var$copy(src, dest) {\n for(var p in src)if (Object.prototype.hasOwnProperty.call(src, p)) dest[p] = src[p];\n}\n/**\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*((?:.*\\{\\s*?[\\r\\n][\\s\\S]*?^})|\\S.*?(?=[;\\r\\n]));?\n^\\w+\\.prototype\\.([_\\w]+)\\s*=\\s*(\\S.*?(?=[;\\r\\n]));?\n */ function $03aeffeca4a927df$var$_extends(Class, Super) {\n var pt = Class.prototype;\n if (!(pt instanceof Super)) {\n function t() {}\n t.prototype = Super.prototype;\n t = new t();\n $03aeffeca4a927df$var$copy(pt, t);\n Class.prototype = pt = t;\n }\n if (pt.constructor != Class) {\n if (typeof Class != \"function\") console.error(\"unknown Class:\" + Class);\n pt.constructor = Class;\n }\n}\n// Node Types\nvar $03aeffeca4a927df$var$NodeType = {};\nvar $03aeffeca4a927df$var$ELEMENT_NODE = $03aeffeca4a927df$var$NodeType.ELEMENT_NODE = 1;\nvar $03aeffeca4a927df$var$ATTRIBUTE_NODE = $03aeffeca4a927df$var$NodeType.ATTRIBUTE_NODE = 2;\nvar $03aeffeca4a927df$var$TEXT_NODE = $03aeffeca4a927df$var$NodeType.TEXT_NODE = 3;\nvar $03aeffeca4a927df$var$CDATA_SECTION_NODE = $03aeffeca4a927df$var$NodeType.CDATA_SECTION_NODE = 4;\nvar $03aeffeca4a927df$var$ENTITY_REFERENCE_NODE = $03aeffeca4a927df$var$NodeType.ENTITY_REFERENCE_NODE = 5;\nvar $03aeffeca4a927df$var$ENTITY_NODE = $03aeffeca4a927df$var$NodeType.ENTITY_NODE = 6;\nvar $03aeffeca4a927df$var$PROCESSING_INSTRUCTION_NODE = $03aeffeca4a927df$var$NodeType.PROCESSING_INSTRUCTION_NODE = 7;\nvar $03aeffeca4a927df$var$COMMENT_NODE = $03aeffeca4a927df$var$NodeType.COMMENT_NODE = 8;\nvar $03aeffeca4a927df$var$DOCUMENT_NODE = $03aeffeca4a927df$var$NodeType.DOCUMENT_NODE = 9;\nvar $03aeffeca4a927df$var$DOCUMENT_TYPE_NODE = $03aeffeca4a927df$var$NodeType.DOCUMENT_TYPE_NODE = 10;\nvar $03aeffeca4a927df$var$DOCUMENT_FRAGMENT_NODE = $03aeffeca4a927df$var$NodeType.DOCUMENT_FRAGMENT_NODE = 11;\nvar $03aeffeca4a927df$var$NOTATION_NODE = $03aeffeca4a927df$var$NodeType.NOTATION_NODE = 12;\n// ExceptionCode\nvar $03aeffeca4a927df$var$ExceptionCode = {};\nvar $03aeffeca4a927df$var$ExceptionMessage = {};\nvar $03aeffeca4a927df$var$INDEX_SIZE_ERR = $03aeffeca4a927df$var$ExceptionCode.INDEX_SIZE_ERR = ($03aeffeca4a927df$var$ExceptionMessage[1] = \"Index size error\", 1);\nvar $03aeffeca4a927df$var$DOMSTRING_SIZE_ERR = $03aeffeca4a927df$var$ExceptionCode.DOMSTRING_SIZE_ERR = ($03aeffeca4a927df$var$ExceptionMessage[2] = \"DOMString size error\", 2);\nvar $03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR = $03aeffeca4a927df$var$ExceptionCode.HIERARCHY_REQUEST_ERR = ($03aeffeca4a927df$var$ExceptionMessage[3] = \"Hierarchy request error\", 3);\nvar $03aeffeca4a927df$var$WRONG_DOCUMENT_ERR = $03aeffeca4a927df$var$ExceptionCode.WRONG_DOCUMENT_ERR = ($03aeffeca4a927df$var$ExceptionMessage[4] = \"Wrong document\", 4);\nvar $03aeffeca4a927df$var$INVALID_CHARACTER_ERR = $03aeffeca4a927df$var$ExceptionCode.INVALID_CHARACTER_ERR = ($03aeffeca4a927df$var$ExceptionMessage[5] = \"Invalid character\", 5);\nvar $03aeffeca4a927df$var$NO_DATA_ALLOWED_ERR = $03aeffeca4a927df$var$ExceptionCode.NO_DATA_ALLOWED_ERR = ($03aeffeca4a927df$var$ExceptionMessage[6] = \"No data allowed\", 6);\nvar $03aeffeca4a927df$var$NO_MODIFICATION_ALLOWED_ERR = $03aeffeca4a927df$var$ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ($03aeffeca4a927df$var$ExceptionMessage[7] = \"No modification allowed\", 7);\nvar $03aeffeca4a927df$var$NOT_FOUND_ERR = $03aeffeca4a927df$var$ExceptionCode.NOT_FOUND_ERR = ($03aeffeca4a927df$var$ExceptionMessage[8] = \"Not found\", 8);\nvar $03aeffeca4a927df$var$NOT_SUPPORTED_ERR = $03aeffeca4a927df$var$ExceptionCode.NOT_SUPPORTED_ERR = ($03aeffeca4a927df$var$ExceptionMessage[9] = \"Not supported\", 9);\nvar $03aeffeca4a927df$var$INUSE_ATTRIBUTE_ERR = $03aeffeca4a927df$var$ExceptionCode.INUSE_ATTRIBUTE_ERR = ($03aeffeca4a927df$var$ExceptionMessage[10] = \"Attribute in use\", 10);\n//level2\nvar $03aeffeca4a927df$var$INVALID_STATE_ERR = $03aeffeca4a927df$var$ExceptionCode.INVALID_STATE_ERR = ($03aeffeca4a927df$var$ExceptionMessage[11] = \"Invalid state\", 11);\nvar $03aeffeca4a927df$var$SYNTAX_ERR = $03aeffeca4a927df$var$ExceptionCode.SYNTAX_ERR = ($03aeffeca4a927df$var$ExceptionMessage[12] = \"Syntax error\", 12);\nvar $03aeffeca4a927df$var$INVALID_MODIFICATION_ERR = $03aeffeca4a927df$var$ExceptionCode.INVALID_MODIFICATION_ERR = ($03aeffeca4a927df$var$ExceptionMessage[13] = \"Invalid modification\", 13);\nvar $03aeffeca4a927df$var$NAMESPACE_ERR = $03aeffeca4a927df$var$ExceptionCode.NAMESPACE_ERR = ($03aeffeca4a927df$var$ExceptionMessage[14] = \"Invalid namespace\", 14);\nvar $03aeffeca4a927df$var$INVALID_ACCESS_ERR = $03aeffeca4a927df$var$ExceptionCode.INVALID_ACCESS_ERR = ($03aeffeca4a927df$var$ExceptionMessage[15] = \"Invalid access\", 15);\n/**\n * DOM Level 2\n * Object DOMException\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html\n * @see http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html\n */ function $03aeffeca4a927df$var$DOMException(code, message) {\n if (message instanceof Error) var error = message;\n else {\n error = this;\n Error.call(this, $03aeffeca4a927df$var$ExceptionMessage[code]);\n this.message = $03aeffeca4a927df$var$ExceptionMessage[code];\n if (Error.captureStackTrace) Error.captureStackTrace(this, $03aeffeca4a927df$var$DOMException);\n }\n error.code = code;\n if (message) this.message = this.message + \": \" + message;\n return error;\n}\n$03aeffeca4a927df$var$DOMException.prototype = Error.prototype;\n$03aeffeca4a927df$var$copy($03aeffeca4a927df$var$ExceptionCode, $03aeffeca4a927df$var$DOMException);\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177\n * The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.\n * The items in the NodeList are accessible via an integral index, starting from 0.\n */ function $03aeffeca4a927df$var$NodeList() {}\n$03aeffeca4a927df$var$NodeList.prototype = {\n /**\n\t * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.\n\t * @standard level1\n\t */ length: 0,\n /**\n\t * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.\n\t * @standard level1\n\t * @param index unsigned long\n\t * Index into the collection.\n\t * @return Node\n\t * \tThe node at the indexth position in the NodeList, or null if that is not a valid index.\n\t */ item: function(index) {\n return index >= 0 && index < this.length ? this[index] : null;\n },\n toString: function(isHTML, nodeFilter) {\n for(var buf = [], i = 0; i < this.length; i++)$03aeffeca4a927df$var$serializeToString(this[i], buf, isHTML, nodeFilter);\n return buf.join(\"\");\n },\n /**\n\t * @private\n\t * @param {function (Node):boolean} predicate\n\t * @returns {Node[]}\n\t */ filter: function(predicate) {\n return Array.prototype.filter.call(this, predicate);\n },\n /**\n\t * @private\n\t * @param {Node} item\n\t * @returns {number}\n\t */ indexOf: function(item) {\n return Array.prototype.indexOf.call(this, item);\n }\n};\nfunction $03aeffeca4a927df$var$LiveNodeList(node, refresh) {\n this._node = node;\n this._refresh = refresh;\n $03aeffeca4a927df$var$_updateLiveList(this);\n}\nfunction $03aeffeca4a927df$var$_updateLiveList(list) {\n var inc = list._node._inc || list._node.ownerDocument._inc;\n if (list._inc !== inc) {\n var ls = list._refresh(list._node);\n $03aeffeca4a927df$var$__set__(list, \"length\", ls.length);\n if (!list.$$length || ls.length < list.$$length) {\n for(var i = ls.length; (i in list); i++)if (Object.prototype.hasOwnProperty.call(list, i)) delete list[i];\n }\n $03aeffeca4a927df$var$copy(ls, list);\n list._inc = inc;\n }\n}\n$03aeffeca4a927df$var$LiveNodeList.prototype.item = function(i) {\n $03aeffeca4a927df$var$_updateLiveList(this);\n return this[i] || null;\n};\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$LiveNodeList, $03aeffeca4a927df$var$NodeList);\n/**\n * Objects implementing the NamedNodeMap interface are used\n * to represent collections of nodes that can be accessed by name.\n * Note that NamedNodeMap does not inherit from NodeList;\n * NamedNodeMaps are not maintained in any particular order.\n * Objects contained in an object implementing NamedNodeMap may also be accessed by an ordinal index,\n * but this is simply to allow convenient enumeration of the contents of a NamedNodeMap,\n * and does not imply that the DOM specifies an order to these Nodes.\n * NamedNodeMap objects in the DOM are live.\n * used for attributes or DocumentType entities\n */ function $03aeffeca4a927df$var$NamedNodeMap() {}\nfunction $03aeffeca4a927df$var$_findNodeIndex(list, node) {\n var i = list.length;\n while(i--){\n if (list[i] === node) return i;\n }\n}\nfunction $03aeffeca4a927df$var$_addNamedNode(el, list, newAttr, oldAttr) {\n if (oldAttr) list[$03aeffeca4a927df$var$_findNodeIndex(list, oldAttr)] = newAttr;\n else list[list.length++] = newAttr;\n if (el) {\n newAttr.ownerElement = el;\n var doc = el.ownerDocument;\n if (doc) {\n oldAttr && $03aeffeca4a927df$var$_onRemoveAttribute(doc, el, oldAttr);\n $03aeffeca4a927df$var$_onAddAttribute(doc, el, newAttr);\n }\n }\n}\nfunction $03aeffeca4a927df$var$_removeNamedNode(el, list, attr) {\n //console.log('remove attr:'+attr)\n var i = $03aeffeca4a927df$var$_findNodeIndex(list, attr);\n if (i >= 0) {\n var lastIndex = list.length - 1;\n while(i < lastIndex)list[i] = list[++i];\n list.length = lastIndex;\n if (el) {\n var doc = el.ownerDocument;\n if (doc) {\n $03aeffeca4a927df$var$_onRemoveAttribute(doc, el, attr);\n attr.ownerElement = null;\n }\n }\n } else throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$NOT_FOUND_ERR, new Error(el.tagName + \"@\" + attr));\n}\n$03aeffeca4a927df$var$NamedNodeMap.prototype = {\n length: 0,\n item: $03aeffeca4a927df$var$NodeList.prototype.item,\n getNamedItem: function(key) {\n //\t\tif(key.indexOf(':')>0 || key == 'xmlns'){\n //\t\t\treturn null;\n //\t\t}\n //console.log()\n var i = this.length;\n while(i--){\n var attr = this[i];\n //console.log(attr.nodeName,key)\n if (attr.nodeName == key) return attr;\n }\n },\n setNamedItem: function(attr) {\n var el = attr.ownerElement;\n if (el && el != this._ownerElement) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$INUSE_ATTRIBUTE_ERR);\n var oldAttr = this.getNamedItem(attr.nodeName);\n $03aeffeca4a927df$var$_addNamedNode(this._ownerElement, this, attr, oldAttr);\n return oldAttr;\n },\n /* returns Node */ setNamedItemNS: function(attr) {\n var el = attr.ownerElement, oldAttr;\n if (el && el != this._ownerElement) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$INUSE_ATTRIBUTE_ERR);\n oldAttr = this.getNamedItemNS(attr.namespaceURI, attr.localName);\n $03aeffeca4a927df$var$_addNamedNode(this._ownerElement, this, attr, oldAttr);\n return oldAttr;\n },\n /* returns Node */ removeNamedItem: function(key) {\n var attr = this.getNamedItem(key);\n $03aeffeca4a927df$var$_removeNamedNode(this._ownerElement, this, attr);\n return attr;\n },\n //for level2\n removeNamedItemNS: function(namespaceURI, localName) {\n var attr = this.getNamedItemNS(namespaceURI, localName);\n $03aeffeca4a927df$var$_removeNamedNode(this._ownerElement, this, attr);\n return attr;\n },\n getNamedItemNS: function(namespaceURI, localName) {\n var i = this.length;\n while(i--){\n var node = this[i];\n if (node.localName == localName && node.namespaceURI == namespaceURI) return node;\n }\n return null;\n }\n};\n/**\n * The DOMImplementation interface represents an object providing methods\n * which are not dependent on any particular document.\n * Such an object is returned by the `Document.implementation` property.\n *\n * __The individual methods describe the differences compared to the specs.__\n *\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation MDN\n * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490 DOM Level 1 Core (Initial)\n * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-102161490 DOM Level 2 Core\n * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-102161490 DOM Level 3 Core\n * @see https://dom.spec.whatwg.org/#domimplementation DOM Living Standard\n */ function $03aeffeca4a927df$var$DOMImplementation() {}\n$03aeffeca4a927df$var$DOMImplementation.prototype = {\n /**\n\t * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.\n\t * The different implementations fairly diverged in what kind of features were reported.\n\t * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.\n\t *\n\t * @deprecated It is deprecated and modern browsers return true in all cases.\n\t *\n\t * @param {string} feature\n\t * @param {string} [version]\n\t * @returns {boolean} always true\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN\n\t * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard\n\t */ hasFeature: function(feature, version) {\n return true;\n },\n /**\n\t * Creates an XML Document object of the specified type with its document element.\n\t *\n\t * __It behaves slightly different from the description in the living standard__:\n\t * - There is no interface/class `XMLDocument`, it returns a `Document` instance.\n\t * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string|null} namespaceURI\n\t * @param {string} qualifiedName\n\t * @param {DocumentType=null} doctype\n\t * @returns {Document}\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */ createDocument: function(namespaceURI, qualifiedName, doctype) {\n var doc = new $03aeffeca4a927df$var$Document();\n doc.implementation = this;\n doc.childNodes = new $03aeffeca4a927df$var$NodeList();\n doc.doctype = doctype || null;\n if (doctype) doc.appendChild(doctype);\n if (qualifiedName) {\n var root = doc.createElementNS(namespaceURI, qualifiedName);\n doc.appendChild(root);\n }\n return doc;\n },\n /**\n\t * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.\n\t *\n\t * __This behavior is slightly different from the in the specs__:\n\t * - this implementation is not validating names or qualified names\n\t * (when parsing XML strings, the SAX parser takes care of that)\n\t *\n\t * @param {string} qualifiedName\n\t * @param {string} [publicId]\n\t * @param {string} [systemId]\n\t * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation\n\t * \t\t\t\t or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN\n\t * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard\n\t *\n\t * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract\n\t * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names\n\t * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names\n\t */ createDocumentType: function(qualifiedName, publicId, systemId) {\n var node = new $03aeffeca4a927df$var$DocumentType();\n node.name = qualifiedName;\n node.nodeName = qualifiedName;\n node.publicId = publicId || \"\";\n node.systemId = systemId || \"\";\n return node;\n }\n};\n/**\n * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247\n */ function $03aeffeca4a927df$var$Node() {}\n$03aeffeca4a927df$var$Node.prototype = {\n firstChild: null,\n lastChild: null,\n previousSibling: null,\n nextSibling: null,\n attributes: null,\n parentNode: null,\n childNodes: null,\n ownerDocument: null,\n nodeValue: null,\n namespaceURI: null,\n prefix: null,\n localName: null,\n // Modified in DOM Level 2:\n insertBefore: function(newChild, refChild) {\n return $03aeffeca4a927df$var$_insertBefore(this, newChild, refChild);\n },\n replaceChild: function(newChild, oldChild) {\n $03aeffeca4a927df$var$_insertBefore(this, newChild, oldChild, $03aeffeca4a927df$var$assertPreReplacementValidityInDocument);\n if (oldChild) this.removeChild(oldChild);\n },\n removeChild: function(oldChild) {\n return $03aeffeca4a927df$var$_removeChild(this, oldChild);\n },\n appendChild: function(newChild) {\n return this.insertBefore(newChild, null);\n },\n hasChildNodes: function() {\n return this.firstChild != null;\n },\n cloneNode: function(deep) {\n return $03aeffeca4a927df$var$cloneNode(this.ownerDocument || this, this, deep);\n },\n // Modified in DOM Level 2:\n normalize: function() {\n var child = this.firstChild;\n while(child){\n var next = child.nextSibling;\n if (next && next.nodeType == $03aeffeca4a927df$var$TEXT_NODE && child.nodeType == $03aeffeca4a927df$var$TEXT_NODE) {\n this.removeChild(next);\n child.appendData(next.data);\n } else {\n child.normalize();\n child = next;\n }\n }\n },\n // Introduced in DOM Level 2:\n isSupported: function(feature, version) {\n return this.ownerDocument.implementation.hasFeature(feature, version);\n },\n // Introduced in DOM Level 2:\n hasAttributes: function() {\n return this.attributes.length > 0;\n },\n /**\n\t * Look up the prefix associated to the given namespace URI, starting from this node.\n\t * **The default namespace declarations are ignored by this method.**\n\t * See Namespace Prefix Lookup for details on the algorithm used by this method.\n\t *\n\t * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._\n\t *\n\t * @param {string | null} namespaceURI\n\t * @returns {string | null}\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix\n\t * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo\n\t * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix\n\t * @see https://github.com/xmldom/xmldom/issues/322\n\t */ lookupPrefix: function(namespaceURI) {\n var el = this;\n while(el){\n var map = el._nsMap;\n //console.dir(map)\n if (map) for(var n in map){\n if (Object.prototype.hasOwnProperty.call(map, n) && map[n] === namespaceURI) return n;\n }\n el = el.nodeType == $03aeffeca4a927df$var$ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;\n }\n return null;\n },\n // Introduced in DOM Level 3:\n lookupNamespaceURI: function(prefix) {\n var el = this;\n while(el){\n var map = el._nsMap;\n //console.dir(map)\n if (map) {\n if (Object.prototype.hasOwnProperty.call(map, prefix)) return map[prefix];\n }\n el = el.nodeType == $03aeffeca4a927df$var$ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;\n }\n return null;\n },\n // Introduced in DOM Level 3:\n isDefaultNamespace: function(namespaceURI) {\n var prefix = this.lookupPrefix(namespaceURI);\n return prefix == null;\n }\n};\nfunction $03aeffeca4a927df$var$_xmlEncoder(c) {\n return c == \"<\" && \"<\" || c == \">\" && \">\" || c == \"&\" && \"&\" || c == '\"' && \""\" || \"&#\" + c.charCodeAt() + \";\";\n}\n$03aeffeca4a927df$var$copy($03aeffeca4a927df$var$NodeType, $03aeffeca4a927df$var$Node);\n$03aeffeca4a927df$var$copy($03aeffeca4a927df$var$NodeType, $03aeffeca4a927df$var$Node.prototype);\n/**\n * @param callback return true for continue,false for break\n * @return boolean true: break visit;\n */ function $03aeffeca4a927df$var$_visitNode(node, callback) {\n if (callback(node)) return true;\n if (node = node.firstChild) do {\n if ($03aeffeca4a927df$var$_visitNode(node, callback)) return true;\n }while (node = node.nextSibling);\n}\nfunction $03aeffeca4a927df$var$Document() {\n this.ownerDocument = this;\n}\nfunction $03aeffeca4a927df$var$_onAddAttribute(doc, el, newAttr) {\n doc && doc._inc++;\n var ns = newAttr.namespaceURI;\n if (ns === $03aeffeca4a927df$var$NAMESPACE.XMLNS) //update namespace\n el._nsMap[newAttr.prefix ? newAttr.localName : \"\"] = newAttr.value;\n}\nfunction $03aeffeca4a927df$var$_onRemoveAttribute(doc, el, newAttr, remove) {\n doc && doc._inc++;\n var ns = newAttr.namespaceURI;\n if (ns === $03aeffeca4a927df$var$NAMESPACE.XMLNS) //update namespace\n delete el._nsMap[newAttr.prefix ? newAttr.localName : \"\"];\n}\n/**\n * Updates `el.childNodes`, updating the indexed items and it's `length`.\n * Passing `newChild` means it will be appended.\n * Otherwise it's assumed that an item has been removed,\n * and `el.firstNode` and it's `.nextSibling` are used\n * to walk the current list of child nodes.\n *\n * @param {Document} doc\n * @param {Node} el\n * @param {Node} [newChild]\n * @private\n */ function $03aeffeca4a927df$var$_onUpdateChild(doc, el, newChild) {\n if (doc && doc._inc) {\n doc._inc++;\n //update childNodes\n var cs = el.childNodes;\n if (newChild) cs[cs.length++] = newChild;\n else {\n var child = el.firstChild;\n var i = 0;\n while(child){\n cs[i++] = child;\n child = child.nextSibling;\n }\n cs.length = i;\n delete cs[cs.length];\n }\n }\n}\n/**\n * Removes the connections between `parentNode` and `child`\n * and any existing `child.previousSibling` or `child.nextSibling`.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n *\n * @param {Node} parentNode\n * @param {Node} child\n * @returns {Node} the child that was removed.\n * @private\n */ function $03aeffeca4a927df$var$_removeChild(parentNode, child) {\n var previous = child.previousSibling;\n var next = child.nextSibling;\n if (previous) previous.nextSibling = next;\n else parentNode.firstChild = next;\n if (next) next.previousSibling = previous;\n else parentNode.lastChild = previous;\n child.parentNode = null;\n child.previousSibling = null;\n child.nextSibling = null;\n $03aeffeca4a927df$var$_onUpdateChild(parentNode.ownerDocument, parentNode);\n return child;\n}\n/**\n * Returns `true` if `node` can be a parent for insertion.\n * @param {Node} node\n * @returns {boolean}\n */ function $03aeffeca4a927df$var$hasValidParentNodeType(node) {\n return node && (node.nodeType === $03aeffeca4a927df$var$Node.DOCUMENT_NODE || node.nodeType === $03aeffeca4a927df$var$Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === $03aeffeca4a927df$var$Node.ELEMENT_NODE);\n}\n/**\n * Returns `true` if `node` can be inserted according to it's `nodeType`.\n * @param {Node} node\n * @returns {boolean}\n */ function $03aeffeca4a927df$var$hasInsertableNodeType(node) {\n return node && ($03aeffeca4a927df$var$isElementNode(node) || $03aeffeca4a927df$var$isTextNode(node) || $03aeffeca4a927df$var$isDocTypeNode(node) || node.nodeType === $03aeffeca4a927df$var$Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === $03aeffeca4a927df$var$Node.COMMENT_NODE || node.nodeType === $03aeffeca4a927df$var$Node.PROCESSING_INSTRUCTION_NODE);\n}\n/**\n * Returns true if `node` is a DOCTYPE node\n * @param {Node} node\n * @returns {boolean}\n */ function $03aeffeca4a927df$var$isDocTypeNode(node) {\n return node && node.nodeType === $03aeffeca4a927df$var$Node.DOCUMENT_TYPE_NODE;\n}\n/**\n * Returns true if the node is an element\n * @param {Node} node\n * @returns {boolean}\n */ function $03aeffeca4a927df$var$isElementNode(node) {\n return node && node.nodeType === $03aeffeca4a927df$var$Node.ELEMENT_NODE;\n}\n/**\n * Returns true if `node` is a text node\n * @param {Node} node\n * @returns {boolean}\n */ function $03aeffeca4a927df$var$isTextNode(node) {\n return node && node.nodeType === $03aeffeca4a927df$var$Node.TEXT_NODE;\n}\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Document} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */ function $03aeffeca4a927df$var$isElementInsertionPossible(doc, child) {\n var parentChildNodes = doc.childNodes || [];\n if ($03aeffeca4a927df$var$find(parentChildNodes, $03aeffeca4a927df$var$isElementNode) || $03aeffeca4a927df$var$isDocTypeNode(child)) return false;\n var docTypeNode = $03aeffeca4a927df$var$find(parentChildNodes, $03aeffeca4a927df$var$isDocTypeNode);\n return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n/**\n * Check if en element node can be inserted before `child`, or at the end if child is falsy,\n * according to the presence and position of a doctype node on the same level.\n *\n * @param {Node} doc The document node\n * @param {Node} child the node that would become the nextSibling if the element would be inserted\n * @returns {boolean} `true` if an element can be inserted before child\n * @private\n * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */ function $03aeffeca4a927df$var$isElementReplacementPossible(doc, child) {\n var parentChildNodes = doc.childNodes || [];\n function hasElementChildThatIsNotChild(node) {\n return $03aeffeca4a927df$var$isElementNode(node) && node !== child;\n }\n if ($03aeffeca4a927df$var$find(parentChildNodes, hasElementChildThatIsNotChild)) return false;\n var docTypeNode = $03aeffeca4a927df$var$find(parentChildNodes, $03aeffeca4a927df$var$isDocTypeNode);\n return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));\n}\n/**\n * @private\n * Steps 1-5 of the checks before inserting and before replacing a child are the same.\n *\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */ function $03aeffeca4a927df$var$assertPreInsertionValidity1to5(parent, node, child) {\n // 1. If `parent` is not a Document, DocumentFragment, or Element node, then throw a \"HierarchyRequestError\" DOMException.\n if (!$03aeffeca4a927df$var$hasValidParentNodeType(parent)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Unexpected parent node type \" + parent.nodeType);\n // 2. If `node` is a host-including inclusive ancestor of `parent`, then throw a \"HierarchyRequestError\" DOMException.\n // not implemented!\n // 3. If `child` is non-null and its parent is not `parent`, then throw a \"NotFoundError\" DOMException.\n if (child && child.parentNode !== parent) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$NOT_FOUND_ERR, \"child not in parent\");\n if (// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a \"HierarchyRequestError\" DOMException.\n !$03aeffeca4a927df$var$hasInsertableNodeType(node) || // 5. If either `node` is a Text node and `parent` is a document,\n // the sax parser currently adds top level text nodes, this will be fixed in 0.9.0\n // || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)\n // or `node` is a doctype and `parent` is not a document, then throw a \"HierarchyRequestError\" DOMException.\n $03aeffeca4a927df$var$isDocTypeNode(node) && parent.nodeType !== $03aeffeca4a927df$var$Node.DOCUMENT_NODE) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Unexpected node type \" + node.nodeType + \" for parent node type \" + parent.nodeType);\n}\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */ function $03aeffeca4a927df$var$assertPreInsertionValidityInDocument(parent, node, child) {\n var parentChildNodes = parent.childNodes || [];\n var nodeChildNodes = node.childNodes || [];\n // DocumentFragment\n if (node.nodeType === $03aeffeca4a927df$var$Node.DOCUMENT_FRAGMENT_NODE) {\n var nodeChildElements = nodeChildNodes.filter($03aeffeca4a927df$var$isElementNode);\n // If node has more than one element child or has a Text node child.\n if (nodeChildElements.length > 1 || $03aeffeca4a927df$var$find(nodeChildNodes, $03aeffeca4a927df$var$isTextNode)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"More than one element or text in fragment\");\n // Otherwise, if `node` has one element child and either `parent` has an element child,\n // `child` is a doctype, or `child` is non-null and a doctype is following `child`.\n if (nodeChildElements.length === 1 && !$03aeffeca4a927df$var$isElementInsertionPossible(parent, child)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Element in fragment can not be inserted before doctype\");\n }\n // Element\n if ($03aeffeca4a927df$var$isElementNode(node)) {\n // `parent` has an element child, `child` is a doctype,\n // or `child` is non-null and a doctype is following `child`.\n if (!$03aeffeca4a927df$var$isElementInsertionPossible(parent, child)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Only one element can be added and only after doctype\");\n }\n // DocumentType\n if ($03aeffeca4a927df$var$isDocTypeNode(node)) {\n // `parent` has a doctype child,\n if ($03aeffeca4a927df$var$find(parentChildNodes, $03aeffeca4a927df$var$isDocTypeNode)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Only one doctype is allowed\");\n var parentElementChild = $03aeffeca4a927df$var$find(parentChildNodes, $03aeffeca4a927df$var$isElementNode);\n // `child` is non-null and an element is preceding `child`,\n if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Doctype can only be inserted before an element\");\n // or `child` is null and `parent` has an element child.\n if (!child && parentElementChild) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Doctype can not be appended since element is present\");\n }\n}\n/**\n * @private\n * Step 6 of the checks before inserting and before replacing a child are different.\n *\n * @param {Document} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node | undefined} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n * @see https://dom.spec.whatwg.org/#concept-node-replace\n */ function $03aeffeca4a927df$var$assertPreReplacementValidityInDocument(parent, node, child) {\n var parentChildNodes = parent.childNodes || [];\n var nodeChildNodes = node.childNodes || [];\n // DocumentFragment\n if (node.nodeType === $03aeffeca4a927df$var$Node.DOCUMENT_FRAGMENT_NODE) {\n var nodeChildElements = nodeChildNodes.filter($03aeffeca4a927df$var$isElementNode);\n // If `node` has more than one element child or has a Text node child.\n if (nodeChildElements.length > 1 || $03aeffeca4a927df$var$find(nodeChildNodes, $03aeffeca4a927df$var$isTextNode)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"More than one element or text in fragment\");\n // Otherwise, if `node` has one element child and either `parent` has an element child that is not `child` or a doctype is following `child`.\n if (nodeChildElements.length === 1 && !$03aeffeca4a927df$var$isElementReplacementPossible(parent, child)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Element in fragment can not be inserted before doctype\");\n }\n // Element\n if ($03aeffeca4a927df$var$isElementNode(node)) {\n // `parent` has an element child that is not `child` or a doctype is following `child`.\n if (!$03aeffeca4a927df$var$isElementReplacementPossible(parent, child)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Only one element can be added and only after doctype\");\n }\n // DocumentType\n if ($03aeffeca4a927df$var$isDocTypeNode(node)) {\n function hasDoctypeChildThatIsNotChild(node) {\n return $03aeffeca4a927df$var$isDocTypeNode(node) && node !== child;\n }\n // `parent` has a doctype child that is not `child`,\n if ($03aeffeca4a927df$var$find(parentChildNodes, hasDoctypeChildThatIsNotChild)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Only one doctype is allowed\");\n var parentElementChild = $03aeffeca4a927df$var$find(parentChildNodes, $03aeffeca4a927df$var$isElementNode);\n // or an element is preceding `child`.\n if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) throw new $03aeffeca4a927df$var$DOMException($03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR, \"Doctype can only be inserted before an element\");\n }\n}\n/**\n * @private\n * @param {Node} parent the parent node to insert `node` into\n * @param {Node} node the node to insert\n * @param {Node=} child the node that should become the `nextSibling` of `node`\n * @returns {Node}\n * @throws DOMException for several node combinations that would create a DOM that is not well-formed.\n * @throws DOMException if `child` is provided but is not a child of `parent`.\n * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity\n */ function $03aeffeca4a927df$var$_insertBefore(parent, node, child, _inDocumentAssertion) {\n // To ensure pre-insertion validity of a node into a parent before a child, run these steps:\n $03aeffeca4a927df$var$assertPreInsertionValidity1to5(parent, node, child);\n // If parent is a document, and any of the statements below, switched on the interface node implements,\n // are true, then throw a \"HierarchyRequestError\" DOMException.\n if (parent.nodeType === $03aeffeca4a927df$var$Node.DOCUMENT_NODE) (_inDocumentAssertion || $03aeffeca4a927df$var$assertPreInsertionValidityInDocument)(parent, node, child);\n var cp = node.parentNode;\n if (cp) cp.removeChild(node); //remove and update\n if (node.nodeType === $03aeffeca4a927df$var$DOCUMENT_FRAGMENT_NODE) {\n var newFirst = node.firstChild;\n if (newFirst == null) return node;\n var newLast = node.lastChild;\n } else newFirst = newLast = node;\n var pre = child ? child.previousSibling : parent.lastChild;\n newFirst.previousSibling = pre;\n newLast.nextSibling = child;\n if (pre) pre.nextSibling = newFirst;\n else parent.firstChild = newFirst;\n if (child == null) parent.lastChild = newLast;\n else child.previousSibling = newLast;\n do newFirst.parentNode = parent;\n while (newFirst !== newLast && (newFirst = newFirst.nextSibling));\n $03aeffeca4a927df$var$_onUpdateChild(parent.ownerDocument || parent, parent);\n //console.log(parent.lastChild.nextSibling == null)\n if (node.nodeType == $03aeffeca4a927df$var$DOCUMENT_FRAGMENT_NODE) node.firstChild = node.lastChild = null;\n return node;\n}\n/**\n * Appends `newChild` to `parentNode`.\n * If `newChild` is already connected to a `parentNode` it is first removed from it.\n *\n * @see https://github.com/xmldom/xmldom/issues/135\n * @see https://github.com/xmldom/xmldom/issues/145\n * @param {Node} parentNode\n * @param {Node} newChild\n * @returns {Node}\n * @private\n */ function $03aeffeca4a927df$var$_appendSingleChild(parentNode, newChild) {\n if (newChild.parentNode) newChild.parentNode.removeChild(newChild);\n newChild.parentNode = parentNode;\n newChild.previousSibling = parentNode.lastChild;\n newChild.nextSibling = null;\n if (newChild.previousSibling) newChild.previousSibling.nextSibling = newChild;\n else parentNode.firstChild = newChild;\n parentNode.lastChild = newChild;\n $03aeffeca4a927df$var$_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);\n return newChild;\n}\n$03aeffeca4a927df$var$Document.prototype = {\n //implementation : null,\n nodeName: \"#document\",\n nodeType: $03aeffeca4a927df$var$DOCUMENT_NODE,\n /**\n\t * The DocumentType node of the document.\n\t *\n\t * @readonly\n\t * @type DocumentType\n\t */ doctype: null,\n documentElement: null,\n _inc: 1,\n insertBefore: function(newChild, refChild) {\n if (newChild.nodeType == $03aeffeca4a927df$var$DOCUMENT_FRAGMENT_NODE) {\n var child = newChild.firstChild;\n while(child){\n var next = child.nextSibling;\n this.insertBefore(child, refChild);\n child = next;\n }\n return newChild;\n }\n $03aeffeca4a927df$var$_insertBefore(this, newChild, refChild);\n newChild.ownerDocument = this;\n if (this.documentElement === null && newChild.nodeType === $03aeffeca4a927df$var$ELEMENT_NODE) this.documentElement = newChild;\n return newChild;\n },\n removeChild: function(oldChild) {\n if (this.documentElement == oldChild) this.documentElement = null;\n return $03aeffeca4a927df$var$_removeChild(this, oldChild);\n },\n replaceChild: function(newChild, oldChild) {\n //raises\n $03aeffeca4a927df$var$_insertBefore(this, newChild, oldChild, $03aeffeca4a927df$var$assertPreReplacementValidityInDocument);\n newChild.ownerDocument = this;\n if (oldChild) this.removeChild(oldChild);\n if ($03aeffeca4a927df$var$isElementNode(newChild)) this.documentElement = newChild;\n },\n // Introduced in DOM Level 2:\n importNode: function(importedNode, deep) {\n return $03aeffeca4a927df$var$importNode(this, importedNode, deep);\n },\n // Introduced in DOM Level 2:\n getElementById: function(id) {\n var rtv = null;\n $03aeffeca4a927df$var$_visitNode(this.documentElement, function(node) {\n if (node.nodeType == $03aeffeca4a927df$var$ELEMENT_NODE) {\n if (node.getAttribute(\"id\") == id) {\n rtv = node;\n return true;\n }\n }\n });\n return rtv;\n },\n /**\n\t * The `getElementsByClassName` method of `Document` interface returns an array-like object\n\t * of all child elements which have **all** of the given class name(s).\n\t *\n\t * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.\n\t *\n\t *\n\t * Warning: This is a live LiveNodeList.\n\t * Changes in the DOM will reflect in the array as the changes occur.\n\t * If an element selected by this array no longer qualifies for the selector,\n\t * it will automatically be removed. Be aware of this for iteration purposes.\n\t *\n\t * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace\n\t *\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName\n\t * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname\n\t */ getElementsByClassName: function(classNames) {\n var classNamesSet = $03aeffeca4a927df$var$toOrderedSet(classNames);\n return new $03aeffeca4a927df$var$LiveNodeList(this, function(base) {\n var ls = [];\n if (classNamesSet.length > 0) $03aeffeca4a927df$var$_visitNode(base.documentElement, function(node) {\n if (node !== base && node.nodeType === $03aeffeca4a927df$var$ELEMENT_NODE) {\n var nodeClassNames = node.getAttribute(\"class\");\n // can be null if the attribute does not exist\n if (nodeClassNames) {\n // before splitting and iterating just compare them for the most common case\n var matches = classNames === nodeClassNames;\n if (!matches) {\n var nodeClassNamesSet = $03aeffeca4a927df$var$toOrderedSet(nodeClassNames);\n matches = classNamesSet.every($03aeffeca4a927df$var$arrayIncludes(nodeClassNamesSet));\n }\n if (matches) ls.push(node);\n }\n }\n });\n return ls;\n });\n },\n //document factory method:\n createElement: function(tagName) {\n var node = new $03aeffeca4a927df$var$Element();\n node.ownerDocument = this;\n node.nodeName = tagName;\n node.tagName = tagName;\n node.localName = tagName;\n node.childNodes = new $03aeffeca4a927df$var$NodeList();\n var attrs = node.attributes = new $03aeffeca4a927df$var$NamedNodeMap();\n attrs._ownerElement = node;\n return node;\n },\n createDocumentFragment: function() {\n var node = new $03aeffeca4a927df$var$DocumentFragment();\n node.ownerDocument = this;\n node.childNodes = new $03aeffeca4a927df$var$NodeList();\n return node;\n },\n createTextNode: function(data) {\n var node = new $03aeffeca4a927df$var$Text();\n node.ownerDocument = this;\n node.appendData(data);\n return node;\n },\n createComment: function(data) {\n var node = new $03aeffeca4a927df$var$Comment();\n node.ownerDocument = this;\n node.appendData(data);\n return node;\n },\n createCDATASection: function(data) {\n var node = new $03aeffeca4a927df$var$CDATASection();\n node.ownerDocument = this;\n node.appendData(data);\n return node;\n },\n createProcessingInstruction: function(target, data) {\n var node = new $03aeffeca4a927df$var$ProcessingInstruction();\n node.ownerDocument = this;\n node.tagName = node.nodeName = node.target = target;\n node.nodeValue = node.data = data;\n return node;\n },\n createAttribute: function(name) {\n var node = new $03aeffeca4a927df$var$Attr();\n node.ownerDocument = this;\n node.name = name;\n node.nodeName = name;\n node.localName = name;\n node.specified = true;\n return node;\n },\n createEntityReference: function(name) {\n var node = new $03aeffeca4a927df$var$EntityReference();\n node.ownerDocument = this;\n node.nodeName = name;\n return node;\n },\n // Introduced in DOM Level 2:\n createElementNS: function(namespaceURI, qualifiedName) {\n var node = new $03aeffeca4a927df$var$Element();\n var pl = qualifiedName.split(\":\");\n var attrs = node.attributes = new $03aeffeca4a927df$var$NamedNodeMap();\n node.childNodes = new $03aeffeca4a927df$var$NodeList();\n node.ownerDocument = this;\n node.nodeName = qualifiedName;\n node.tagName = qualifiedName;\n node.namespaceURI = namespaceURI;\n if (pl.length == 2) {\n node.prefix = pl[0];\n node.localName = pl[1];\n } else //el.prefix = null;\n node.localName = qualifiedName;\n attrs._ownerElement = node;\n return node;\n },\n // Introduced in DOM Level 2:\n createAttributeNS: function(namespaceURI, qualifiedName) {\n var node = new $03aeffeca4a927df$var$Attr();\n var pl = qualifiedName.split(\":\");\n node.ownerDocument = this;\n node.nodeName = qualifiedName;\n node.name = qualifiedName;\n node.namespaceURI = namespaceURI;\n node.specified = true;\n if (pl.length == 2) {\n node.prefix = pl[0];\n node.localName = pl[1];\n } else //el.prefix = null;\n node.localName = qualifiedName;\n return node;\n }\n};\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$Document, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$Element() {\n this._nsMap = {};\n}\n$03aeffeca4a927df$var$Element.prototype = {\n nodeType: $03aeffeca4a927df$var$ELEMENT_NODE,\n hasAttribute: function(name) {\n return this.getAttributeNode(name) != null;\n },\n getAttribute: function(name) {\n var attr = this.getAttributeNode(name);\n return attr && attr.value || \"\";\n },\n getAttributeNode: function(name) {\n return this.attributes.getNamedItem(name);\n },\n setAttribute: function(name, value) {\n var attr = this.ownerDocument.createAttribute(name);\n attr.value = attr.nodeValue = \"\" + value;\n this.setAttributeNode(attr);\n },\n removeAttribute: function(name) {\n var attr = this.getAttributeNode(name);\n attr && this.removeAttributeNode(attr);\n },\n //four real opeartion method\n appendChild: function(newChild) {\n if (newChild.nodeType === $03aeffeca4a927df$var$DOCUMENT_FRAGMENT_NODE) return this.insertBefore(newChild, null);\n else return $03aeffeca4a927df$var$_appendSingleChild(this, newChild);\n },\n setAttributeNode: function(newAttr) {\n return this.attributes.setNamedItem(newAttr);\n },\n setAttributeNodeNS: function(newAttr) {\n return this.attributes.setNamedItemNS(newAttr);\n },\n removeAttributeNode: function(oldAttr) {\n //console.log(this == oldAttr.ownerElement)\n return this.attributes.removeNamedItem(oldAttr.nodeName);\n },\n //get real attribute name,and remove it by removeAttributeNode\n removeAttributeNS: function(namespaceURI, localName) {\n var old = this.getAttributeNodeNS(namespaceURI, localName);\n old && this.removeAttributeNode(old);\n },\n hasAttributeNS: function(namespaceURI, localName) {\n return this.getAttributeNodeNS(namespaceURI, localName) != null;\n },\n getAttributeNS: function(namespaceURI, localName) {\n var attr = this.getAttributeNodeNS(namespaceURI, localName);\n return attr && attr.value || \"\";\n },\n setAttributeNS: function(namespaceURI, qualifiedName, value) {\n var attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);\n attr.value = attr.nodeValue = \"\" + value;\n this.setAttributeNode(attr);\n },\n getAttributeNodeNS: function(namespaceURI, localName) {\n return this.attributes.getNamedItemNS(namespaceURI, localName);\n },\n getElementsByTagName: function(tagName) {\n return new $03aeffeca4a927df$var$LiveNodeList(this, function(base) {\n var ls = [];\n $03aeffeca4a927df$var$_visitNode(base, function(node) {\n if (node !== base && node.nodeType == $03aeffeca4a927df$var$ELEMENT_NODE && (tagName === \"*\" || node.tagName == tagName)) ls.push(node);\n });\n return ls;\n });\n },\n getElementsByTagNameNS: function(namespaceURI, localName) {\n return new $03aeffeca4a927df$var$LiveNodeList(this, function(base) {\n var ls = [];\n $03aeffeca4a927df$var$_visitNode(base, function(node) {\n if (node !== base && node.nodeType === $03aeffeca4a927df$var$ELEMENT_NODE && (namespaceURI === \"*\" || node.namespaceURI === namespaceURI) && (localName === \"*\" || node.localName == localName)) ls.push(node);\n });\n return ls;\n });\n }\n};\n$03aeffeca4a927df$var$Document.prototype.getElementsByTagName = $03aeffeca4a927df$var$Element.prototype.getElementsByTagName;\n$03aeffeca4a927df$var$Document.prototype.getElementsByTagNameNS = $03aeffeca4a927df$var$Element.prototype.getElementsByTagNameNS;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$Element, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$Attr() {}\n$03aeffeca4a927df$var$Attr.prototype.nodeType = $03aeffeca4a927df$var$ATTRIBUTE_NODE;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$Attr, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$CharacterData() {}\n$03aeffeca4a927df$var$CharacterData.prototype = {\n data: \"\",\n substringData: function(offset, count) {\n return this.data.substring(offset, offset + count);\n },\n appendData: function(text) {\n text = this.data + text;\n this.nodeValue = this.data = text;\n this.length = text.length;\n },\n insertData: function(offset, text) {\n this.replaceData(offset, 0, text);\n },\n appendChild: function(newChild) {\n throw new Error($03aeffeca4a927df$var$ExceptionMessage[$03aeffeca4a927df$var$HIERARCHY_REQUEST_ERR]);\n },\n deleteData: function(offset, count) {\n this.replaceData(offset, count, \"\");\n },\n replaceData: function(offset, count, text) {\n var start = this.data.substring(0, offset);\n var end = this.data.substring(offset + count);\n text = start + text + end;\n this.nodeValue = this.data = text;\n this.length = text.length;\n }\n};\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$CharacterData, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$Text() {}\n$03aeffeca4a927df$var$Text.prototype = {\n nodeName: \"#text\",\n nodeType: $03aeffeca4a927df$var$TEXT_NODE,\n splitText: function(offset) {\n var text = this.data;\n var newText = text.substring(offset);\n text = text.substring(0, offset);\n this.data = this.nodeValue = text;\n this.length = text.length;\n var newNode = this.ownerDocument.createTextNode(newText);\n if (this.parentNode) this.parentNode.insertBefore(newNode, this.nextSibling);\n return newNode;\n }\n};\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$Text, $03aeffeca4a927df$var$CharacterData);\nfunction $03aeffeca4a927df$var$Comment() {}\n$03aeffeca4a927df$var$Comment.prototype = {\n nodeName: \"#comment\",\n nodeType: $03aeffeca4a927df$var$COMMENT_NODE\n};\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$Comment, $03aeffeca4a927df$var$CharacterData);\nfunction $03aeffeca4a927df$var$CDATASection() {}\n$03aeffeca4a927df$var$CDATASection.prototype = {\n nodeName: \"#cdata-section\",\n nodeType: $03aeffeca4a927df$var$CDATA_SECTION_NODE\n};\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$CDATASection, $03aeffeca4a927df$var$CharacterData);\nfunction $03aeffeca4a927df$var$DocumentType() {}\n$03aeffeca4a927df$var$DocumentType.prototype.nodeType = $03aeffeca4a927df$var$DOCUMENT_TYPE_NODE;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$DocumentType, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$Notation() {}\n$03aeffeca4a927df$var$Notation.prototype.nodeType = $03aeffeca4a927df$var$NOTATION_NODE;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$Notation, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$Entity() {}\n$03aeffeca4a927df$var$Entity.prototype.nodeType = $03aeffeca4a927df$var$ENTITY_NODE;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$Entity, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$EntityReference() {}\n$03aeffeca4a927df$var$EntityReference.prototype.nodeType = $03aeffeca4a927df$var$ENTITY_REFERENCE_NODE;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$EntityReference, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$DocumentFragment() {}\n$03aeffeca4a927df$var$DocumentFragment.prototype.nodeName = \"#document-fragment\";\n$03aeffeca4a927df$var$DocumentFragment.prototype.nodeType = $03aeffeca4a927df$var$DOCUMENT_FRAGMENT_NODE;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$DocumentFragment, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$ProcessingInstruction() {}\n$03aeffeca4a927df$var$ProcessingInstruction.prototype.nodeType = $03aeffeca4a927df$var$PROCESSING_INSTRUCTION_NODE;\n$03aeffeca4a927df$var$_extends($03aeffeca4a927df$var$ProcessingInstruction, $03aeffeca4a927df$var$Node);\nfunction $03aeffeca4a927df$var$XMLSerializer() {}\n$03aeffeca4a927df$var$XMLSerializer.prototype.serializeToString = function(node, isHtml, nodeFilter) {\n return $03aeffeca4a927df$var$nodeSerializeToString.call(node, isHtml, nodeFilter);\n};\n$03aeffeca4a927df$var$Node.prototype.toString = $03aeffeca4a927df$var$nodeSerializeToString;\nfunction $03aeffeca4a927df$var$nodeSerializeToString(isHtml, nodeFilter) {\n var buf = [];\n var refNode = this.nodeType == 9 && this.documentElement || this;\n var prefix = refNode.prefix;\n var uri = refNode.namespaceURI;\n if (uri && prefix == null) {\n //console.log(prefix)\n var prefix = refNode.lookupPrefix(uri);\n if (prefix == null) //isHTML = true;\n var visibleNamespaces = [\n {\n namespace: uri,\n prefix: null\n }\n ];\n }\n $03aeffeca4a927df$var$serializeToString(this, buf, isHtml, nodeFilter, visibleNamespaces);\n //console.log('###',this.nodeType,uri,prefix,buf.join(''))\n return buf.join(\"\");\n}\nfunction $03aeffeca4a927df$var$needNamespaceDefine(node, isHTML, visibleNamespaces) {\n var prefix = node.prefix || \"\";\n var uri = node.namespaceURI;\n // According to [Namespaces in XML 1.0](https://www.w3.org/TR/REC-xml-names/#ns-using) ,\n // and more specifically https://www.w3.org/TR/REC-xml-names/#nsc-NoPrefixUndecl :\n // > In a namespace declaration for a prefix [...], the attribute value MUST NOT be empty.\n // in a similar manner [Namespaces in XML 1.1](https://www.w3.org/TR/xml-names11/#ns-using)\n // and more specifically https://www.w3.org/TR/xml-names11/#nsc-NSDeclared :\n // > [...] Furthermore, the attribute value [...] must not be an empty string.\n // so serializing empty namespace value like xmlns:ds=\"\" would produce an invalid XML document.\n if (!uri) return false;\n if (prefix === \"xml\" && uri === $03aeffeca4a927df$var$NAMESPACE.XML || uri === $03aeffeca4a927df$var$NAMESPACE.XMLNS) return false;\n var i = visibleNamespaces.length;\n while(i--){\n var ns = visibleNamespaces[i];\n // get namespace prefix\n if (ns.prefix === prefix) return ns.namespace !== uri;\n }\n return true;\n}\n/**\n * Well-formed constraint: No < in Attribute Values\n * > The replacement text of any entity referred to directly or indirectly\n * > in an attribute value must not contain a <.\n * @see https://www.w3.org/TR/xml11/#CleanAttrVals\n * @see https://www.w3.org/TR/xml11/#NT-AttValue\n *\n * Literal whitespace other than space that appear in attribute values\n * are serialized as their entity references, so they will be preserved.\n * (In contrast to whitespace literals in the input which are normalized to spaces)\n * @see https://www.w3.org/TR/xml11/#AVNormalize\n * @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes\n */ function $03aeffeca4a927df$var$addSerializedAttribute(buf, qualifiedName, value) {\n buf.push(\" \", qualifiedName, '=\"', value.replace(/[<>&\"\\t\\n\\r]/g, $03aeffeca4a927df$var$_xmlEncoder), '\"');\n}\nfunction $03aeffeca4a927df$var$serializeToString(node, buf, isHTML, nodeFilter, visibleNamespaces) {\n if (!visibleNamespaces) visibleNamespaces = [];\n if (nodeFilter) {\n node = nodeFilter(node);\n if (node) {\n if (typeof node == \"string\") {\n buf.push(node);\n return;\n }\n } else return;\n //buf.sort.apply(attrs, attributeSorter);\n }\n switch(node.nodeType){\n case $03aeffeca4a927df$var$ELEMENT_NODE:\n var attrs = node.attributes;\n var len = attrs.length;\n var child = node.firstChild;\n var nodeName = node.tagName;\n isHTML = $03aeffeca4a927df$var$NAMESPACE.isHTML(node.namespaceURI) || isHTML;\n var prefixedNodeName = nodeName;\n if (!isHTML && !node.prefix && node.namespaceURI) {\n var defaultNS;\n // lookup current default ns from `xmlns` attribute\n for(var ai = 0; ai < attrs.length; ai++)if (attrs.item(ai).name === \"xmlns\") {\n defaultNS = attrs.item(ai).value;\n break;\n }\n if (!defaultNS) // lookup current default ns in visibleNamespaces\n for(var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--){\n var namespace = visibleNamespaces[nsi];\n if (namespace.prefix === \"\" && namespace.namespace === node.namespaceURI) {\n defaultNS = namespace.namespace;\n break;\n }\n }\n if (defaultNS !== node.namespaceURI) for(var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--){\n var namespace = visibleNamespaces[nsi];\n if (namespace.namespace === node.namespaceURI) {\n if (namespace.prefix) prefixedNodeName = namespace.prefix + \":\" + nodeName;\n break;\n }\n }\n }\n buf.push(\"<\", prefixedNodeName);\n for(var i = 0; i < len; i++){\n // add namespaces for attributes\n var attr = attrs.item(i);\n if (attr.prefix == \"xmlns\") visibleNamespaces.push({\n prefix: attr.localName,\n namespace: attr.value\n });\n else if (attr.nodeName == \"xmlns\") visibleNamespaces.push({\n prefix: \"\",\n namespace: attr.value\n });\n }\n for(var i = 0; i < len; i++){\n var attr = attrs.item(i);\n if ($03aeffeca4a927df$var$needNamespaceDefine(attr, isHTML, visibleNamespaces)) {\n var prefix = attr.prefix || \"\";\n var uri = attr.namespaceURI;\n $03aeffeca4a927df$var$addSerializedAttribute(buf, prefix ? \"xmlns:\" + prefix : \"xmlns\", uri);\n visibleNamespaces.push({\n prefix: prefix,\n namespace: uri\n });\n }\n $03aeffeca4a927df$var$serializeToString(attr, buf, isHTML, nodeFilter, visibleNamespaces);\n }\n // add namespace for current node\n if (nodeName === prefixedNodeName && $03aeffeca4a927df$var$needNamespaceDefine(node, isHTML, visibleNamespaces)) {\n var prefix = node.prefix || \"\";\n var uri = node.namespaceURI;\n $03aeffeca4a927df$var$addSerializedAttribute(buf, prefix ? \"xmlns:\" + prefix : \"xmlns\", uri);\n visibleNamespaces.push({\n prefix: prefix,\n namespace: uri\n });\n }\n if (child || isHTML && !/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)) {\n buf.push(\">\");\n //if is cdata child node\n if (isHTML && /^script$/i.test(nodeName)) while(child){\n if (child.data) buf.push(child.data);\n else $03aeffeca4a927df$var$serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n child = child.nextSibling;\n }\n else while(child){\n $03aeffeca4a927df$var$serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n child = child.nextSibling;\n }\n buf.push(\"\");\n } else buf.push(\"/>\");\n // remove added visible namespaces\n //visibleNamespaces.length = startVisibleNamespaces;\n return;\n case $03aeffeca4a927df$var$DOCUMENT_NODE:\n case $03aeffeca4a927df$var$DOCUMENT_FRAGMENT_NODE:\n var child = node.firstChild;\n while(child){\n $03aeffeca4a927df$var$serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());\n child = child.nextSibling;\n }\n return;\n case $03aeffeca4a927df$var$ATTRIBUTE_NODE:\n return $03aeffeca4a927df$var$addSerializedAttribute(buf, node.name, node.value);\n case $03aeffeca4a927df$var$TEXT_NODE:\n /**\n\t\t * The ampersand character (&) and the left angle bracket (<) must not appear in their literal form,\n\t\t * except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section.\n\t\t * If they are needed elsewhere, they must be escaped using either numeric character references or the strings\n\t\t * `&` and `<` respectively.\n\t\t * The right angle bracket (>) may be represented using the string \" > \", and must, for compatibility,\n\t\t * be escaped using either `>` or a character reference when it appears in the string `]]>` in content,\n\t\t * when that string is not marking the end of a CDATA section.\n\t\t *\n\t\t * In the content of elements, character data is any string of characters\n\t\t * which does not contain the start-delimiter of any markup\n\t\t * and does not include the CDATA-section-close delimiter, `]]>`.\n\t\t *\n\t\t * @see https://www.w3.org/TR/xml/#NT-CharData\n\t\t * @see https://w3c.github.io/DOM-Parsing/#xml-serializing-a-text-node\n\t\t */ return buf.push(node.data.replace(/[<&>]/g, $03aeffeca4a927df$var$_xmlEncoder));\n case $03aeffeca4a927df$var$CDATA_SECTION_NODE:\n return buf.push(\"\");\n case $03aeffeca4a927df$var$COMMENT_NODE:\n return buf.push(\"\");\n case $03aeffeca4a927df$var$DOCUMENT_TYPE_NODE:\n var pubid = node.publicId;\n var sysid = node.systemId;\n buf.push(\"\");\n } else if (sysid && sysid != \".\") buf.push(\" SYSTEM \", sysid, \">\");\n else {\n var sub = node.internalSubset;\n if (sub) buf.push(\" [\", sub, \"]\");\n buf.push(\">\");\n }\n return;\n case $03aeffeca4a927df$var$PROCESSING_INSTRUCTION_NODE:\n return buf.push(\"\");\n case $03aeffeca4a927df$var$ENTITY_REFERENCE_NODE:\n return buf.push(\"&\", node.nodeName, \";\");\n //case ENTITY_NODE:\n //case NOTATION_NODE:\n default:\n buf.push(\"??\", node.nodeName);\n }\n}\nfunction $03aeffeca4a927df$var$importNode(doc, node, deep) {\n var node2;\n switch(node.nodeType){\n case $03aeffeca4a927df$var$ELEMENT_NODE:\n node2 = node.cloneNode(false);\n node2.ownerDocument = doc;\n //var attrs = node2.attributes;\n //var len = attrs.length;\n //for(var i=0;i $b09a138549887165$export$71aa6c912b956294, (v) => $b09a138549887165$export$71aa6c912b956294 = v);\n$parcel$export(module.exports, \"freeze\", () => $b09a138549887165$export$792f3d81ea979f55, (v) => $b09a138549887165$export$792f3d81ea979f55 = v);\n$parcel$export(module.exports, \"NAMESPACE\", () => $b09a138549887165$export$6aad947bda0f3f46, (v) => $b09a138549887165$export$6aad947bda0f3f46 = v);\nvar $b09a138549887165$export$e6e34fd1f2686227;\nvar $b09a138549887165$export$71aa6c912b956294;\nvar $b09a138549887165$export$792f3d81ea979f55;\nvar $b09a138549887165$export$c6cb9dd1e3ada1aa;\nvar $b09a138549887165$export$6aad947bda0f3f46;\n\"use strict\";\n/**\n * Ponyfill for `Array.prototype.find` which is only available in ES6 runtimes.\n *\n * Works with anything that has a `length` property and index access properties, including NodeList.\n *\n * @template {unknown} T\n * @param {Array | ({length:number, [number]: T})} list\n * @param {function (item: T, index: number, list:Array | ({length:number, [number]: T})):boolean} predicate\n * @param {Partial>?} ac `Array.prototype` by default,\n * \t\t\t\tallows injecting a custom implementation in tests\n * @returns {T | undefined}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n * @see https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.find\n */ function $b09a138549887165$var$find(list, predicate, ac) {\n if (ac === undefined) ac = Array.prototype;\n if (list && typeof ac.find === \"function\") return ac.find.call(list, predicate);\n for(var i = 0; i < list.length; i++)if (Object.prototype.hasOwnProperty.call(list, i)) {\n var item = list[i];\n if (predicate.call(undefined, item, i, list)) return item;\n }\n}\n/**\n * \"Shallow freezes\" an object to render it immutable.\n * Uses `Object.freeze` if available,\n * otherwise the immutability is only in the type.\n *\n * Is used to create \"enum like\" objects.\n *\n * @template T\n * @param {T} object the object to freeze\n * @param {Pick = Object} oc `Object` by default,\n * \t\t\t\tallows to inject custom object constructor for tests\n * @returns {Readonly}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n */ function $b09a138549887165$var$freeze(object, oc) {\n if (oc === undefined) oc = Object;\n return oc && typeof oc.freeze === \"function\" ? oc.freeze(object) : object;\n}\n/**\n * Since we can not rely on `Object.assign` we provide a simplified version\n * that is sufficient for our needs.\n *\n * @param {Object} target\n * @param {Object | null | undefined} source\n *\n * @returns {Object} target\n * @throws TypeError if target is not an object\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n * @see https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.assign\n */ function $b09a138549887165$var$assign(target, source) {\n if (target === null || typeof target !== \"object\") throw new TypeError(\"target is not an object\");\n for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];\n return target;\n}\n/**\n * All mime types that are allowed as input to `DOMParser.parseFromString`\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#Argument02 MDN\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparsersupportedtype WHATWG HTML Spec\n * @see DOMParser.prototype.parseFromString\n */ var $b09a138549887165$var$MIME_TYPE = $b09a138549887165$var$freeze({\n /**\n\t * `text/html`, the only mime type that triggers treating an XML document as HTML.\n\t *\n\t * @see DOMParser.SupportedType.isHTML\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec\n\t */ HTML: \"text/html\",\n /**\n\t * Helper method to check a mime type if it indicates an HTML document\n\t *\n\t * @param {string} [value]\n\t * @returns {boolean}\n\t *\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring \t */ isHTML: function(value) {\n return value === $b09a138549887165$var$MIME_TYPE.HTML;\n },\n /**\n\t * `application/xml`, the standard mime type for XML documents.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */ XML_APPLICATION: \"application/xml\",\n /**\n\t * `text/html`, an alias for `application/xml`.\n\t *\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303\n\t * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */ XML_TEXT: \"text/xml\",\n /**\n\t * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,\n\t * but is parsed as an XML document.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec\n\t * @see https://en.wikipedia.org/wiki/XHTML Wikipedia\n\t */ XML_XHTML_APPLICATION: \"application/xhtml+xml\",\n /**\n\t * `image/svg+xml`,\n\t *\n\t * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration\n\t * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1\n\t * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia\n\t */ XML_SVG_IMAGE: \"image/svg+xml\"\n});\n/**\n * Namespaces that are used in this code base.\n *\n * @see http://www.w3.org/TR/REC-xml-names\n */ var $b09a138549887165$var$NAMESPACE = $b09a138549887165$var$freeze({\n /**\n\t * The XHTML namespace.\n\t *\n\t * @see http://www.w3.org/1999/xhtml\n\t */ HTML: \"http://www.w3.org/1999/xhtml\",\n /**\n\t * Checks if `uri` equals `NAMESPACE.HTML`.\n\t *\n\t * @param {string} [uri]\n\t *\n\t * @see NAMESPACE.HTML\n\t */ isHTML: function(uri) {\n return uri === $b09a138549887165$var$NAMESPACE.HTML;\n },\n /**\n\t * The SVG namespace.\n\t *\n\t * @see http://www.w3.org/2000/svg\n\t */ SVG: \"http://www.w3.org/2000/svg\",\n /**\n\t * The `xml:` namespace.\n\t *\n\t * @see http://www.w3.org/XML/1998/namespace\n\t */ XML: \"http://www.w3.org/XML/1998/namespace\",\n /**\n\t * The `xmlns:` namespace\n\t *\n\t * @see https://www.w3.org/2000/xmlns/\n\t */ XMLNS: \"http://www.w3.org/2000/xmlns/\"\n});\n$b09a138549887165$export$e6e34fd1f2686227 = $b09a138549887165$var$assign;\n$b09a138549887165$export$71aa6c912b956294 = $b09a138549887165$var$find;\n$b09a138549887165$export$792f3d81ea979f55 = $b09a138549887165$var$freeze;\n$b09a138549887165$export$c6cb9dd1e3ada1aa = $b09a138549887165$var$MIME_TYPE;\n$b09a138549887165$export$6aad947bda0f3f46 = $b09a138549887165$var$NAMESPACE;\n\n});\n\n\nparcelRegister(\"9v8b8\", function(module, exports) {\n\n$parcel$export(module.exports, \"DOMParser\", () => $6ead5a6339de659a$export$1059c6e7d2ce5669, (v) => $6ead5a6339de659a$export$1059c6e7d2ce5669 = v);\nvar $6ead5a6339de659a$export$181392475aa39887;\nvar $6ead5a6339de659a$export$ba13e0e2f19e61a1;\nvar $6ead5a6339de659a$export$1059c6e7d2ce5669;\n\nvar $fa2WO = parcelRequire(\"fa2WO\");\n\nvar $jBFUq = parcelRequire(\"jBFUq\");\n\nvar $1lBtW = parcelRequire(\"1lBtW\");\n\nvar $lXVGc = parcelRequire(\"lXVGc\");\nvar $6ead5a6339de659a$var$DOMImplementation = $jBFUq.DOMImplementation;\nvar $6ead5a6339de659a$var$NAMESPACE = $fa2WO.NAMESPACE;\nvar $6ead5a6339de659a$var$ParseError = $lXVGc.ParseError;\nvar $6ead5a6339de659a$var$XMLReader = $lXVGc.XMLReader;\n/**\n * Normalizes line ending according to https://www.w3.org/TR/xml11/#sec-line-ends:\n *\n * > XML parsed entities are often stored in computer files which,\n * > for editing convenience, are organized into lines.\n * > These lines are typically separated by some combination\n * > of the characters CARRIAGE RETURN (#xD) and LINE FEED (#xA).\n * >\n * > To simplify the tasks of applications, the XML processor must behave\n * > as if it normalized all line breaks in external parsed entities (including the document entity)\n * > on input, before parsing, by translating all of the following to a single #xA character:\n * >\n * > 1. the two-character sequence #xD #xA\n * > 2. the two-character sequence #xD #x85\n * > 3. the single character #x85\n * > 4. the single character #x2028\n * > 5. any #xD character that is not immediately followed by #xA or #x85.\n *\n * @param {string} input\n * @returns {string}\n */ function $6ead5a6339de659a$var$normalizeLineEndings(input) {\n return input.replace(/\\r[\\n\\u0085]/g, \"\\n\").replace(/[\\r\\u0085\\u2028]/g, \"\\n\");\n}\n/**\n * @typedef Locator\n * @property {number} [columnNumber]\n * @property {number} [lineNumber]\n */ /**\n * @typedef DOMParserOptions\n * @property {DOMHandler} [domBuilder]\n * @property {Function} [errorHandler]\n * @property {(string) => string} [normalizeLineEndings] used to replace line endings before parsing\n * \t\t\t\t\t\tdefaults to `normalizeLineEndings`\n * @property {Locator} [locator]\n * @property {Record} [xmlns]\n *\n * @see normalizeLineEndings\n */ /**\n * The DOMParser interface provides the ability to parse XML or HTML source code\n * from a string into a DOM `Document`.\n *\n * _xmldom is different from the spec in that it allows an `options` parameter,\n * to override the default behavior._\n *\n * @param {DOMParserOptions} [options]\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization\n */ function $6ead5a6339de659a$var$DOMParser(options) {\n this.options = options || {\n locator: {}\n };\n}\n$6ead5a6339de659a$var$DOMParser.prototype.parseFromString = function(source, mimeType) {\n var options = this.options;\n var sax = new $6ead5a6339de659a$var$XMLReader();\n var domBuilder = options.domBuilder || new $6ead5a6339de659a$var$DOMHandler(); //contentHandler and LexicalHandler\n var errorHandler = options.errorHandler;\n var locator = options.locator;\n var defaultNSMap = options.xmlns || {};\n var isHTML = /\\/x?html?$/.test(mimeType); //mimeType.toLowerCase().indexOf('html') > -1;\n var entityMap = isHTML ? $1lBtW.HTML_ENTITIES : $1lBtW.XML_ENTITIES;\n if (locator) domBuilder.setDocumentLocator(locator);\n sax.errorHandler = $6ead5a6339de659a$var$buildErrorHandler(errorHandler, domBuilder, locator);\n sax.domBuilder = options.domBuilder || domBuilder;\n if (isHTML) defaultNSMap[\"\"] = $6ead5a6339de659a$var$NAMESPACE.HTML;\n defaultNSMap.xml = defaultNSMap.xml || $6ead5a6339de659a$var$NAMESPACE.XML;\n var normalize = options.normalizeLineEndings || $6ead5a6339de659a$var$normalizeLineEndings;\n if (source && typeof source === \"string\") sax.parse(normalize(source), defaultNSMap, entityMap);\n else sax.errorHandler.error(\"invalid doc source\");\n return domBuilder.doc;\n};\nfunction $6ead5a6339de659a$var$buildErrorHandler(errorImpl, domBuilder, locator) {\n if (!errorImpl) {\n if (domBuilder instanceof $6ead5a6339de659a$var$DOMHandler) return domBuilder;\n errorImpl = domBuilder;\n }\n var errorHandler = {};\n var isCallback = errorImpl instanceof Function;\n locator = locator || {};\n function build(key) {\n var fn = errorImpl[key];\n if (!fn && isCallback) fn = errorImpl.length == 2 ? function(msg) {\n errorImpl(key, msg);\n } : errorImpl;\n errorHandler[key] = fn && function(msg) {\n fn(\"[xmldom \" + key + \"]\t\" + msg + $6ead5a6339de659a$var$_locator(locator));\n } || function() {};\n }\n build(\"warning\");\n build(\"error\");\n build(\"fatalError\");\n return errorHandler;\n}\n//console.log('#\\n\\n\\n\\n\\n\\n\\n####')\n/**\n * +ContentHandler+ErrorHandler\n * +LexicalHandler+EntityResolver2\n * -DeclHandler-DTDHandler\n *\n * DefaultHandler:EntityResolver, DTDHandler, ContentHandler, ErrorHandler\n * DefaultHandler2:DefaultHandler,LexicalHandler, DeclHandler, EntityResolver2\n * @link http://www.saxproject.org/apidoc/org/xml/sax/helpers/DefaultHandler.html\n */ function $6ead5a6339de659a$var$DOMHandler() {\n this.cdata = false;\n}\nfunction $6ead5a6339de659a$var$position(locator, node) {\n node.lineNumber = locator.lineNumber;\n node.columnNumber = locator.columnNumber;\n}\n/**\n * @see org.xml.sax.ContentHandler#startDocument\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html\n */ $6ead5a6339de659a$var$DOMHandler.prototype = {\n startDocument: function() {\n this.doc = new $6ead5a6339de659a$var$DOMImplementation().createDocument(null, null, null);\n if (this.locator) this.doc.documentURI = this.locator.systemId;\n },\n startElement: function(namespaceURI, localName, qName, attrs) {\n var doc = this.doc;\n var el = doc.createElementNS(namespaceURI, qName || localName);\n var len = attrs.length;\n $6ead5a6339de659a$var$appendElement(this, el);\n this.currentElement = el;\n this.locator && $6ead5a6339de659a$var$position(this.locator, el);\n for(var i = 0; i < len; i++){\n var namespaceURI = attrs.getURI(i);\n var value = attrs.getValue(i);\n var qName = attrs.getQName(i);\n var attr = doc.createAttributeNS(namespaceURI, qName);\n this.locator && $6ead5a6339de659a$var$position(attrs.getLocator(i), attr);\n attr.value = attr.nodeValue = value;\n el.setAttributeNode(attr);\n }\n },\n endElement: function(namespaceURI, localName, qName) {\n var current = this.currentElement;\n var tagName = current.tagName;\n this.currentElement = current.parentNode;\n },\n startPrefixMapping: function(prefix, uri) {},\n endPrefixMapping: function(prefix) {},\n processingInstruction: function(target, data) {\n var ins = this.doc.createProcessingInstruction(target, data);\n this.locator && $6ead5a6339de659a$var$position(this.locator, ins);\n $6ead5a6339de659a$var$appendElement(this, ins);\n },\n ignorableWhitespace: function(ch, start, length) {},\n characters: function(chars, start, length) {\n chars = $6ead5a6339de659a$var$_toString.apply(this, arguments);\n //console.log(chars)\n if (chars) {\n if (this.cdata) var charNode = this.doc.createCDATASection(chars);\n else var charNode = this.doc.createTextNode(chars);\n if (this.currentElement) this.currentElement.appendChild(charNode);\n else if (/^\\s*$/.test(chars)) this.doc.appendChild(charNode);\n this.locator && $6ead5a6339de659a$var$position(this.locator, charNode);\n }\n },\n skippedEntity: function(name) {},\n endDocument: function() {\n this.doc.normalize();\n },\n setDocumentLocator: function(locator) {\n if (this.locator = locator) locator.lineNumber = 0;\n },\n //LexicalHandler\n comment: function(chars, start, length) {\n chars = $6ead5a6339de659a$var$_toString.apply(this, arguments);\n var comm = this.doc.createComment(chars);\n this.locator && $6ead5a6339de659a$var$position(this.locator, comm);\n $6ead5a6339de659a$var$appendElement(this, comm);\n },\n startCDATA: function() {\n //used in characters() methods\n this.cdata = true;\n },\n endCDATA: function() {\n this.cdata = false;\n },\n startDTD: function(name, publicId, systemId) {\n var impl = this.doc.implementation;\n if (impl && impl.createDocumentType) {\n var dt = impl.createDocumentType(name, publicId, systemId);\n this.locator && $6ead5a6339de659a$var$position(this.locator, dt);\n $6ead5a6339de659a$var$appendElement(this, dt);\n this.doc.doctype = dt;\n }\n },\n /**\n\t * @see org.xml.sax.ErrorHandler\n\t * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html\n\t */ warning: function(error) {\n console.warn(\"[xmldom warning]\t\" + error, $6ead5a6339de659a$var$_locator(this.locator));\n },\n error: function(error) {\n console.error(\"[xmldom error]\t\" + error, $6ead5a6339de659a$var$_locator(this.locator));\n },\n fatalError: function(error) {\n throw new $6ead5a6339de659a$var$ParseError(error, this.locator);\n }\n};\nfunction $6ead5a6339de659a$var$_locator(l) {\n if (l) return \"\\n@\" + (l.systemId || \"\") + \"#[line:\" + l.lineNumber + \",col:\" + l.columnNumber + \"]\";\n}\nfunction $6ead5a6339de659a$var$_toString(chars, start, length) {\n if (typeof chars == \"string\") return chars.substr(start, length);\n else {\n if (chars.length >= start + length || start) return new java.lang.String(chars, start, length) + \"\";\n return chars;\n }\n}\n/*\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/LexicalHandler.html\n * used method of org.xml.sax.ext.LexicalHandler:\n * #comment(chars, start, length)\n * #startCDATA()\n * #endCDATA()\n * #startDTD(name, publicId, systemId)\n *\n *\n * IGNORED method of org.xml.sax.ext.LexicalHandler:\n * #endDTD()\n * #startEntity(name)\n * #endEntity(name)\n *\n *\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/DeclHandler.html\n * IGNORED method of org.xml.sax.ext.DeclHandler\n * \t#attributeDecl(eName, aName, type, mode, value)\n * #elementDecl(name, model)\n * #externalEntityDecl(name, publicId, systemId)\n * #internalEntityDecl(name, value)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/EntityResolver2.html\n * IGNORED method of org.xml.sax.EntityResolver2\n * #resolveEntity(String name,String publicId,String baseURI,String systemId)\n * #resolveEntity(publicId, systemId)\n * #getExternalSubset(name, baseURI)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/DTDHandler.html\n * IGNORED method of org.xml.sax.DTDHandler\n * #notationDecl(name, publicId, systemId) {};\n * #unparsedEntityDecl(name, publicId, systemId, notationName) {};\n */ \"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl\".replace(/\\w+/g, function(key) {\n $6ead5a6339de659a$var$DOMHandler.prototype[key] = function() {\n return null;\n };\n});\n/* Private static helpers treated below as private instance methods, so don't need to add these to the public API; we might use a Relator to also get rid of non-standard public properties */ function $6ead5a6339de659a$var$appendElement(hander, node) {\n if (!hander.currentElement) hander.doc.appendChild(node);\n else hander.currentElement.appendChild(node);\n} //appendChild and setAttributeNS are preformance key\n$6ead5a6339de659a$export$181392475aa39887 = $6ead5a6339de659a$var$DOMHandler;\n$6ead5a6339de659a$export$ba13e0e2f19e61a1 = $6ead5a6339de659a$var$normalizeLineEndings;\n$6ead5a6339de659a$export$1059c6e7d2ce5669 = $6ead5a6339de659a$var$DOMParser;\n\n});\nparcelRegister(\"1lBtW\", function(module, exports) {\n\n$parcel$export(module.exports, \"XML_ENTITIES\", () => $0fb4d3c0f896b52a$export$91f0e5ff03dc84f, (v) => $0fb4d3c0f896b52a$export$91f0e5ff03dc84f = v);\n$parcel$export(module.exports, \"HTML_ENTITIES\", () => $0fb4d3c0f896b52a$export$b7e4d4631df36afa, (v) => $0fb4d3c0f896b52a$export$b7e4d4631df36afa = v);\n/**\n * The entities that are predefined in every XML document.\n *\n * @see https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-predefined-ent W3C XML 1.1\n * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia\n */ var $0fb4d3c0f896b52a$export$91f0e5ff03dc84f;\n/**\n * A map of all entities that are detected in an HTML document.\n * They contain all entries from `XML_ENTITIES`.\n *\n * @see XML_ENTITIES\n * @see DOMParser.parseFromString\n * @see DOMImplementation.prototype.createHTMLDocument\n * @see https://html.spec.whatwg.org/#named-character-references WHATWG HTML(5) Spec\n * @see https://html.spec.whatwg.org/entities.json JSON\n * @see https://www.w3.org/TR/xml-entity-names/ W3C XML Entity Names\n * @see https://www.w3.org/TR/html4/sgml/entities.html W3C HTML4/SGML\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)\n */ var $0fb4d3c0f896b52a$export$b7e4d4631df36afa;\n/**\n * @deprecated use `HTML_ENTITIES` instead\n * @see HTML_ENTITIES\n */ var $0fb4d3c0f896b52a$export$79451380caed3f98;\n\"use strict\";\n\nvar $fa2WO = parcelRequire(\"fa2WO\");\nvar $0fb4d3c0f896b52a$require$freeze = $fa2WO.freeze;\n$0fb4d3c0f896b52a$export$91f0e5ff03dc84f = $0fb4d3c0f896b52a$require$freeze({\n amp: \"&\",\n apos: \"'\",\n gt: \">\",\n lt: \"<\",\n quot: '\"'\n});\n$0fb4d3c0f896b52a$export$b7e4d4631df36afa = $0fb4d3c0f896b52a$require$freeze({\n Aacute: \"\\xc1\",\n aacute: \"\\xe1\",\n Abreve: \"\\u0102\",\n abreve: \"\\u0103\",\n ac: \"\\u223E\",\n acd: \"\\u223F\",\n acE: \"\\u223E\\u0333\",\n Acirc: \"\\xc2\",\n acirc: \"\\xe2\",\n acute: \"\\xb4\",\n Acy: \"\\u0410\",\n acy: \"\\u0430\",\n AElig: \"\\xc6\",\n aelig: \"\\xe6\",\n af: \"\\u2061\",\n Afr: \"\\uD835\\uDD04\",\n afr: \"\\uD835\\uDD1E\",\n Agrave: \"\\xc0\",\n agrave: \"\\xe0\",\n alefsym: \"\\u2135\",\n aleph: \"\\u2135\",\n Alpha: \"\\u0391\",\n alpha: \"\\u03B1\",\n Amacr: \"\\u0100\",\n amacr: \"\\u0101\",\n amalg: \"\\u2A3F\",\n AMP: \"&\",\n amp: \"&\",\n And: \"\\u2A53\",\n and: \"\\u2227\",\n andand: \"\\u2A55\",\n andd: \"\\u2A5C\",\n andslope: \"\\u2A58\",\n andv: \"\\u2A5A\",\n ang: \"\\u2220\",\n ange: \"\\u29A4\",\n angle: \"\\u2220\",\n angmsd: \"\\u2221\",\n angmsdaa: \"\\u29A8\",\n angmsdab: \"\\u29A9\",\n angmsdac: \"\\u29AA\",\n angmsdad: \"\\u29AB\",\n angmsdae: \"\\u29AC\",\n angmsdaf: \"\\u29AD\",\n angmsdag: \"\\u29AE\",\n angmsdah: \"\\u29AF\",\n angrt: \"\\u221F\",\n angrtvb: \"\\u22BE\",\n angrtvbd: \"\\u299D\",\n angsph: \"\\u2222\",\n angst: \"\\xc5\",\n angzarr: \"\\u237C\",\n Aogon: \"\\u0104\",\n aogon: \"\\u0105\",\n Aopf: \"\\uD835\\uDD38\",\n aopf: \"\\uD835\\uDD52\",\n ap: \"\\u2248\",\n apacir: \"\\u2A6F\",\n apE: \"\\u2A70\",\n ape: \"\\u224A\",\n apid: \"\\u224B\",\n apos: \"'\",\n ApplyFunction: \"\\u2061\",\n approx: \"\\u2248\",\n approxeq: \"\\u224A\",\n Aring: \"\\xc5\",\n aring: \"\\xe5\",\n Ascr: \"\\uD835\\uDC9C\",\n ascr: \"\\uD835\\uDCB6\",\n Assign: \"\\u2254\",\n ast: \"*\",\n asymp: \"\\u2248\",\n asympeq: \"\\u224D\",\n Atilde: \"\\xc3\",\n atilde: \"\\xe3\",\n Auml: \"\\xc4\",\n auml: \"\\xe4\",\n awconint: \"\\u2233\",\n awint: \"\\u2A11\",\n backcong: \"\\u224C\",\n backepsilon: \"\\u03F6\",\n backprime: \"\\u2035\",\n backsim: \"\\u223D\",\n backsimeq: \"\\u22CD\",\n Backslash: \"\\u2216\",\n Barv: \"\\u2AE7\",\n barvee: \"\\u22BD\",\n Barwed: \"\\u2306\",\n barwed: \"\\u2305\",\n barwedge: \"\\u2305\",\n bbrk: \"\\u23B5\",\n bbrktbrk: \"\\u23B6\",\n bcong: \"\\u224C\",\n Bcy: \"\\u0411\",\n bcy: \"\\u0431\",\n bdquo: \"\\u201E\",\n becaus: \"\\u2235\",\n Because: \"\\u2235\",\n because: \"\\u2235\",\n bemptyv: \"\\u29B0\",\n bepsi: \"\\u03F6\",\n bernou: \"\\u212C\",\n Bernoullis: \"\\u212C\",\n Beta: \"\\u0392\",\n beta: \"\\u03B2\",\n beth: \"\\u2136\",\n between: \"\\u226C\",\n Bfr: \"\\uD835\\uDD05\",\n bfr: \"\\uD835\\uDD1F\",\n bigcap: \"\\u22C2\",\n bigcirc: \"\\u25EF\",\n bigcup: \"\\u22C3\",\n bigodot: \"\\u2A00\",\n bigoplus: \"\\u2A01\",\n bigotimes: \"\\u2A02\",\n bigsqcup: \"\\u2A06\",\n bigstar: \"\\u2605\",\n bigtriangledown: \"\\u25BD\",\n bigtriangleup: \"\\u25B3\",\n biguplus: \"\\u2A04\",\n bigvee: \"\\u22C1\",\n bigwedge: \"\\u22C0\",\n bkarow: \"\\u290D\",\n blacklozenge: \"\\u29EB\",\n blacksquare: \"\\u25AA\",\n blacktriangle: \"\\u25B4\",\n blacktriangledown: \"\\u25BE\",\n blacktriangleleft: \"\\u25C2\",\n blacktriangleright: \"\\u25B8\",\n blank: \"\\u2423\",\n blk12: \"\\u2592\",\n blk14: \"\\u2591\",\n blk34: \"\\u2593\",\n block: \"\\u2588\",\n bne: \"=\\u20E5\",\n bnequiv: \"\\u2261\\u20E5\",\n bNot: \"\\u2AED\",\n bnot: \"\\u2310\",\n Bopf: \"\\uD835\\uDD39\",\n bopf: \"\\uD835\\uDD53\",\n bot: \"\\u22A5\",\n bottom: \"\\u22A5\",\n bowtie: \"\\u22C8\",\n boxbox: \"\\u29C9\",\n boxDL: \"\\u2557\",\n boxDl: \"\\u2556\",\n boxdL: \"\\u2555\",\n boxdl: \"\\u2510\",\n boxDR: \"\\u2554\",\n boxDr: \"\\u2553\",\n boxdR: \"\\u2552\",\n boxdr: \"\\u250C\",\n boxH: \"\\u2550\",\n boxh: \"\\u2500\",\n boxHD: \"\\u2566\",\n boxHd: \"\\u2564\",\n boxhD: \"\\u2565\",\n boxhd: \"\\u252C\",\n boxHU: \"\\u2569\",\n boxHu: \"\\u2567\",\n boxhU: \"\\u2568\",\n boxhu: \"\\u2534\",\n boxminus: \"\\u229F\",\n boxplus: \"\\u229E\",\n boxtimes: \"\\u22A0\",\n boxUL: \"\\u255D\",\n boxUl: \"\\u255C\",\n boxuL: \"\\u255B\",\n boxul: \"\\u2518\",\n boxUR: \"\\u255A\",\n boxUr: \"\\u2559\",\n boxuR: \"\\u2558\",\n boxur: \"\\u2514\",\n boxV: \"\\u2551\",\n boxv: \"\\u2502\",\n boxVH: \"\\u256C\",\n boxVh: \"\\u256B\",\n boxvH: \"\\u256A\",\n boxvh: \"\\u253C\",\n boxVL: \"\\u2563\",\n boxVl: \"\\u2562\",\n boxvL: \"\\u2561\",\n boxvl: \"\\u2524\",\n boxVR: \"\\u2560\",\n boxVr: \"\\u255F\",\n boxvR: \"\\u255E\",\n boxvr: \"\\u251C\",\n bprime: \"\\u2035\",\n Breve: \"\\u02D8\",\n breve: \"\\u02D8\",\n brvbar: \"\\xa6\",\n Bscr: \"\\u212C\",\n bscr: \"\\uD835\\uDCB7\",\n bsemi: \"\\u204F\",\n bsim: \"\\u223D\",\n bsime: \"\\u22CD\",\n bsol: \"\\\\\",\n bsolb: \"\\u29C5\",\n bsolhsub: \"\\u27C8\",\n bull: \"\\u2022\",\n bullet: \"\\u2022\",\n bump: \"\\u224E\",\n bumpE: \"\\u2AAE\",\n bumpe: \"\\u224F\",\n Bumpeq: \"\\u224E\",\n bumpeq: \"\\u224F\",\n Cacute: \"\\u0106\",\n cacute: \"\\u0107\",\n Cap: \"\\u22D2\",\n cap: \"\\u2229\",\n capand: \"\\u2A44\",\n capbrcup: \"\\u2A49\",\n capcap: \"\\u2A4B\",\n capcup: \"\\u2A47\",\n capdot: \"\\u2A40\",\n CapitalDifferentialD: \"\\u2145\",\n caps: \"\\u2229\\uFE00\",\n caret: \"\\u2041\",\n caron: \"\\u02C7\",\n Cayleys: \"\\u212D\",\n ccaps: \"\\u2A4D\",\n Ccaron: \"\\u010C\",\n ccaron: \"\\u010D\",\n Ccedil: \"\\xc7\",\n ccedil: \"\\xe7\",\n Ccirc: \"\\u0108\",\n ccirc: \"\\u0109\",\n Cconint: \"\\u2230\",\n ccups: \"\\u2A4C\",\n ccupssm: \"\\u2A50\",\n Cdot: \"\\u010A\",\n cdot: \"\\u010B\",\n cedil: \"\\xb8\",\n Cedilla: \"\\xb8\",\n cemptyv: \"\\u29B2\",\n cent: \"\\xa2\",\n CenterDot: \"\\xb7\",\n centerdot: \"\\xb7\",\n Cfr: \"\\u212D\",\n cfr: \"\\uD835\\uDD20\",\n CHcy: \"\\u0427\",\n chcy: \"\\u0447\",\n check: \"\\u2713\",\n checkmark: \"\\u2713\",\n Chi: \"\\u03A7\",\n chi: \"\\u03C7\",\n cir: \"\\u25CB\",\n circ: \"\\u02C6\",\n circeq: \"\\u2257\",\n circlearrowleft: \"\\u21BA\",\n circlearrowright: \"\\u21BB\",\n circledast: \"\\u229B\",\n circledcirc: \"\\u229A\",\n circleddash: \"\\u229D\",\n CircleDot: \"\\u2299\",\n circledR: \"\\xae\",\n circledS: \"\\u24C8\",\n CircleMinus: \"\\u2296\",\n CirclePlus: \"\\u2295\",\n CircleTimes: \"\\u2297\",\n cirE: \"\\u29C3\",\n cire: \"\\u2257\",\n cirfnint: \"\\u2A10\",\n cirmid: \"\\u2AEF\",\n cirscir: \"\\u29C2\",\n ClockwiseContourIntegral: \"\\u2232\",\n CloseCurlyDoubleQuote: \"\\u201D\",\n CloseCurlyQuote: \"\\u2019\",\n clubs: \"\\u2663\",\n clubsuit: \"\\u2663\",\n Colon: \"\\u2237\",\n colon: \":\",\n Colone: \"\\u2A74\",\n colone: \"\\u2254\",\n coloneq: \"\\u2254\",\n comma: \",\",\n commat: \"@\",\n comp: \"\\u2201\",\n compfn: \"\\u2218\",\n complement: \"\\u2201\",\n complexes: \"\\u2102\",\n cong: \"\\u2245\",\n congdot: \"\\u2A6D\",\n Congruent: \"\\u2261\",\n Conint: \"\\u222F\",\n conint: \"\\u222E\",\n ContourIntegral: \"\\u222E\",\n Copf: \"\\u2102\",\n copf: \"\\uD835\\uDD54\",\n coprod: \"\\u2210\",\n Coproduct: \"\\u2210\",\n COPY: \"\\xa9\",\n copy: \"\\xa9\",\n copysr: \"\\u2117\",\n CounterClockwiseContourIntegral: \"\\u2233\",\n crarr: \"\\u21B5\",\n Cross: \"\\u2A2F\",\n cross: \"\\u2717\",\n Cscr: \"\\uD835\\uDC9E\",\n cscr: \"\\uD835\\uDCB8\",\n csub: \"\\u2ACF\",\n csube: \"\\u2AD1\",\n csup: \"\\u2AD0\",\n csupe: \"\\u2AD2\",\n ctdot: \"\\u22EF\",\n cudarrl: \"\\u2938\",\n cudarrr: \"\\u2935\",\n cuepr: \"\\u22DE\",\n cuesc: \"\\u22DF\",\n cularr: \"\\u21B6\",\n cularrp: \"\\u293D\",\n Cup: \"\\u22D3\",\n cup: \"\\u222A\",\n cupbrcap: \"\\u2A48\",\n CupCap: \"\\u224D\",\n cupcap: \"\\u2A46\",\n cupcup: \"\\u2A4A\",\n cupdot: \"\\u228D\",\n cupor: \"\\u2A45\",\n cups: \"\\u222A\\uFE00\",\n curarr: \"\\u21B7\",\n curarrm: \"\\u293C\",\n curlyeqprec: \"\\u22DE\",\n curlyeqsucc: \"\\u22DF\",\n curlyvee: \"\\u22CE\",\n curlywedge: \"\\u22CF\",\n curren: \"\\xa4\",\n curvearrowleft: \"\\u21B6\",\n curvearrowright: \"\\u21B7\",\n cuvee: \"\\u22CE\",\n cuwed: \"\\u22CF\",\n cwconint: \"\\u2232\",\n cwint: \"\\u2231\",\n cylcty: \"\\u232D\",\n Dagger: \"\\u2021\",\n dagger: \"\\u2020\",\n daleth: \"\\u2138\",\n Darr: \"\\u21A1\",\n dArr: \"\\u21D3\",\n darr: \"\\u2193\",\n dash: \"\\u2010\",\n Dashv: \"\\u2AE4\",\n dashv: \"\\u22A3\",\n dbkarow: \"\\u290F\",\n dblac: \"\\u02DD\",\n Dcaron: \"\\u010E\",\n dcaron: \"\\u010F\",\n Dcy: \"\\u0414\",\n dcy: \"\\u0434\",\n DD: \"\\u2145\",\n dd: \"\\u2146\",\n ddagger: \"\\u2021\",\n ddarr: \"\\u21CA\",\n DDotrahd: \"\\u2911\",\n ddotseq: \"\\u2A77\",\n deg: \"\\xb0\",\n Del: \"\\u2207\",\n Delta: \"\\u0394\",\n delta: \"\\u03B4\",\n demptyv: \"\\u29B1\",\n dfisht: \"\\u297F\",\n Dfr: \"\\uD835\\uDD07\",\n dfr: \"\\uD835\\uDD21\",\n dHar: \"\\u2965\",\n dharl: \"\\u21C3\",\n dharr: \"\\u21C2\",\n DiacriticalAcute: \"\\xb4\",\n DiacriticalDot: \"\\u02D9\",\n DiacriticalDoubleAcute: \"\\u02DD\",\n DiacriticalGrave: \"`\",\n DiacriticalTilde: \"\\u02DC\",\n diam: \"\\u22C4\",\n Diamond: \"\\u22C4\",\n diamond: \"\\u22C4\",\n diamondsuit: \"\\u2666\",\n diams: \"\\u2666\",\n die: \"\\xa8\",\n DifferentialD: \"\\u2146\",\n digamma: \"\\u03DD\",\n disin: \"\\u22F2\",\n div: \"\\xf7\",\n divide: \"\\xf7\",\n divideontimes: \"\\u22C7\",\n divonx: \"\\u22C7\",\n DJcy: \"\\u0402\",\n djcy: \"\\u0452\",\n dlcorn: \"\\u231E\",\n dlcrop: \"\\u230D\",\n dollar: \"$\",\n Dopf: \"\\uD835\\uDD3B\",\n dopf: \"\\uD835\\uDD55\",\n Dot: \"\\xa8\",\n dot: \"\\u02D9\",\n DotDot: \"\\u20DC\",\n doteq: \"\\u2250\",\n doteqdot: \"\\u2251\",\n DotEqual: \"\\u2250\",\n dotminus: \"\\u2238\",\n dotplus: \"\\u2214\",\n dotsquare: \"\\u22A1\",\n doublebarwedge: \"\\u2306\",\n DoubleContourIntegral: \"\\u222F\",\n DoubleDot: \"\\xa8\",\n DoubleDownArrow: \"\\u21D3\",\n DoubleLeftArrow: \"\\u21D0\",\n DoubleLeftRightArrow: \"\\u21D4\",\n DoubleLeftTee: \"\\u2AE4\",\n DoubleLongLeftArrow: \"\\u27F8\",\n DoubleLongLeftRightArrow: \"\\u27FA\",\n DoubleLongRightArrow: \"\\u27F9\",\n DoubleRightArrow: \"\\u21D2\",\n DoubleRightTee: \"\\u22A8\",\n DoubleUpArrow: \"\\u21D1\",\n DoubleUpDownArrow: \"\\u21D5\",\n DoubleVerticalBar: \"\\u2225\",\n DownArrow: \"\\u2193\",\n Downarrow: \"\\u21D3\",\n downarrow: \"\\u2193\",\n DownArrowBar: \"\\u2913\",\n DownArrowUpArrow: \"\\u21F5\",\n DownBreve: \"\\u0311\",\n downdownarrows: \"\\u21CA\",\n downharpoonleft: \"\\u21C3\",\n downharpoonright: \"\\u21C2\",\n DownLeftRightVector: \"\\u2950\",\n DownLeftTeeVector: \"\\u295E\",\n DownLeftVector: \"\\u21BD\",\n DownLeftVectorBar: \"\\u2956\",\n DownRightTeeVector: \"\\u295F\",\n DownRightVector: \"\\u21C1\",\n DownRightVectorBar: \"\\u2957\",\n DownTee: \"\\u22A4\",\n DownTeeArrow: \"\\u21A7\",\n drbkarow: \"\\u2910\",\n drcorn: \"\\u231F\",\n drcrop: \"\\u230C\",\n Dscr: \"\\uD835\\uDC9F\",\n dscr: \"\\uD835\\uDCB9\",\n DScy: \"\\u0405\",\n dscy: \"\\u0455\",\n dsol: \"\\u29F6\",\n Dstrok: \"\\u0110\",\n dstrok: \"\\u0111\",\n dtdot: \"\\u22F1\",\n dtri: \"\\u25BF\",\n dtrif: \"\\u25BE\",\n duarr: \"\\u21F5\",\n duhar: \"\\u296F\",\n dwangle: \"\\u29A6\",\n DZcy: \"\\u040F\",\n dzcy: \"\\u045F\",\n dzigrarr: \"\\u27FF\",\n Eacute: \"\\xc9\",\n eacute: \"\\xe9\",\n easter: \"\\u2A6E\",\n Ecaron: \"\\u011A\",\n ecaron: \"\\u011B\",\n ecir: \"\\u2256\",\n Ecirc: \"\\xca\",\n ecirc: \"\\xea\",\n ecolon: \"\\u2255\",\n Ecy: \"\\u042D\",\n ecy: \"\\u044D\",\n eDDot: \"\\u2A77\",\n Edot: \"\\u0116\",\n eDot: \"\\u2251\",\n edot: \"\\u0117\",\n ee: \"\\u2147\",\n efDot: \"\\u2252\",\n Efr: \"\\uD835\\uDD08\",\n efr: \"\\uD835\\uDD22\",\n eg: \"\\u2A9A\",\n Egrave: \"\\xc8\",\n egrave: \"\\xe8\",\n egs: \"\\u2A96\",\n egsdot: \"\\u2A98\",\n el: \"\\u2A99\",\n Element: \"\\u2208\",\n elinters: \"\\u23E7\",\n ell: \"\\u2113\",\n els: \"\\u2A95\",\n elsdot: \"\\u2A97\",\n Emacr: \"\\u0112\",\n emacr: \"\\u0113\",\n empty: \"\\u2205\",\n emptyset: \"\\u2205\",\n EmptySmallSquare: \"\\u25FB\",\n emptyv: \"\\u2205\",\n EmptyVerySmallSquare: \"\\u25AB\",\n emsp: \"\\u2003\",\n emsp13: \"\\u2004\",\n emsp14: \"\\u2005\",\n ENG: \"\\u014A\",\n eng: \"\\u014B\",\n ensp: \"\\u2002\",\n Eogon: \"\\u0118\",\n eogon: \"\\u0119\",\n Eopf: \"\\uD835\\uDD3C\",\n eopf: \"\\uD835\\uDD56\",\n epar: \"\\u22D5\",\n eparsl: \"\\u29E3\",\n eplus: \"\\u2A71\",\n epsi: \"\\u03B5\",\n Epsilon: \"\\u0395\",\n epsilon: \"\\u03B5\",\n epsiv: \"\\u03F5\",\n eqcirc: \"\\u2256\",\n eqcolon: \"\\u2255\",\n eqsim: \"\\u2242\",\n eqslantgtr: \"\\u2A96\",\n eqslantless: \"\\u2A95\",\n Equal: \"\\u2A75\",\n equals: \"=\",\n EqualTilde: \"\\u2242\",\n equest: \"\\u225F\",\n Equilibrium: \"\\u21CC\",\n equiv: \"\\u2261\",\n equivDD: \"\\u2A78\",\n eqvparsl: \"\\u29E5\",\n erarr: \"\\u2971\",\n erDot: \"\\u2253\",\n Escr: \"\\u2130\",\n escr: \"\\u212F\",\n esdot: \"\\u2250\",\n Esim: \"\\u2A73\",\n esim: \"\\u2242\",\n Eta: \"\\u0397\",\n eta: \"\\u03B7\",\n ETH: \"\\xd0\",\n eth: \"\\xf0\",\n Euml: \"\\xcb\",\n euml: \"\\xeb\",\n euro: \"\\u20AC\",\n excl: \"!\",\n exist: \"\\u2203\",\n Exists: \"\\u2203\",\n expectation: \"\\u2130\",\n ExponentialE: \"\\u2147\",\n exponentiale: \"\\u2147\",\n fallingdotseq: \"\\u2252\",\n Fcy: \"\\u0424\",\n fcy: \"\\u0444\",\n female: \"\\u2640\",\n ffilig: \"\\uFB03\",\n fflig: \"\\uFB00\",\n ffllig: \"\\uFB04\",\n Ffr: \"\\uD835\\uDD09\",\n ffr: \"\\uD835\\uDD23\",\n filig: \"\\uFB01\",\n FilledSmallSquare: \"\\u25FC\",\n FilledVerySmallSquare: \"\\u25AA\",\n fjlig: \"fj\",\n flat: \"\\u266D\",\n fllig: \"\\uFB02\",\n fltns: \"\\u25B1\",\n fnof: \"\\u0192\",\n Fopf: \"\\uD835\\uDD3D\",\n fopf: \"\\uD835\\uDD57\",\n ForAll: \"\\u2200\",\n forall: \"\\u2200\",\n fork: \"\\u22D4\",\n forkv: \"\\u2AD9\",\n Fouriertrf: \"\\u2131\",\n fpartint: \"\\u2A0D\",\n frac12: \"\\xbd\",\n frac13: \"\\u2153\",\n frac14: \"\\xbc\",\n frac15: \"\\u2155\",\n frac16: \"\\u2159\",\n frac18: \"\\u215B\",\n frac23: \"\\u2154\",\n frac25: \"\\u2156\",\n frac34: \"\\xbe\",\n frac35: \"\\u2157\",\n frac38: \"\\u215C\",\n frac45: \"\\u2158\",\n frac56: \"\\u215A\",\n frac58: \"\\u215D\",\n frac78: \"\\u215E\",\n frasl: \"\\u2044\",\n frown: \"\\u2322\",\n Fscr: \"\\u2131\",\n fscr: \"\\uD835\\uDCBB\",\n gacute: \"\\u01F5\",\n Gamma: \"\\u0393\",\n gamma: \"\\u03B3\",\n Gammad: \"\\u03DC\",\n gammad: \"\\u03DD\",\n gap: \"\\u2A86\",\n Gbreve: \"\\u011E\",\n gbreve: \"\\u011F\",\n Gcedil: \"\\u0122\",\n Gcirc: \"\\u011C\",\n gcirc: \"\\u011D\",\n Gcy: \"\\u0413\",\n gcy: \"\\u0433\",\n Gdot: \"\\u0120\",\n gdot: \"\\u0121\",\n gE: \"\\u2267\",\n ge: \"\\u2265\",\n gEl: \"\\u2A8C\",\n gel: \"\\u22DB\",\n geq: \"\\u2265\",\n geqq: \"\\u2267\",\n geqslant: \"\\u2A7E\",\n ges: \"\\u2A7E\",\n gescc: \"\\u2AA9\",\n gesdot: \"\\u2A80\",\n gesdoto: \"\\u2A82\",\n gesdotol: \"\\u2A84\",\n gesl: \"\\u22DB\\uFE00\",\n gesles: \"\\u2A94\",\n Gfr: \"\\uD835\\uDD0A\",\n gfr: \"\\uD835\\uDD24\",\n Gg: \"\\u22D9\",\n gg: \"\\u226B\",\n ggg: \"\\u22D9\",\n gimel: \"\\u2137\",\n GJcy: \"\\u0403\",\n gjcy: \"\\u0453\",\n gl: \"\\u2277\",\n gla: \"\\u2AA5\",\n glE: \"\\u2A92\",\n glj: \"\\u2AA4\",\n gnap: \"\\u2A8A\",\n gnapprox: \"\\u2A8A\",\n gnE: \"\\u2269\",\n gne: \"\\u2A88\",\n gneq: \"\\u2A88\",\n gneqq: \"\\u2269\",\n gnsim: \"\\u22E7\",\n Gopf: \"\\uD835\\uDD3E\",\n gopf: \"\\uD835\\uDD58\",\n grave: \"`\",\n GreaterEqual: \"\\u2265\",\n GreaterEqualLess: \"\\u22DB\",\n GreaterFullEqual: \"\\u2267\",\n GreaterGreater: \"\\u2AA2\",\n GreaterLess: \"\\u2277\",\n GreaterSlantEqual: \"\\u2A7E\",\n GreaterTilde: \"\\u2273\",\n Gscr: \"\\uD835\\uDCA2\",\n gscr: \"\\u210A\",\n gsim: \"\\u2273\",\n gsime: \"\\u2A8E\",\n gsiml: \"\\u2A90\",\n Gt: \"\\u226B\",\n GT: \">\",\n gt: \">\",\n gtcc: \"\\u2AA7\",\n gtcir: \"\\u2A7A\",\n gtdot: \"\\u22D7\",\n gtlPar: \"\\u2995\",\n gtquest: \"\\u2A7C\",\n gtrapprox: \"\\u2A86\",\n gtrarr: \"\\u2978\",\n gtrdot: \"\\u22D7\",\n gtreqless: \"\\u22DB\",\n gtreqqless: \"\\u2A8C\",\n gtrless: \"\\u2277\",\n gtrsim: \"\\u2273\",\n gvertneqq: \"\\u2269\\uFE00\",\n gvnE: \"\\u2269\\uFE00\",\n Hacek: \"\\u02C7\",\n hairsp: \"\\u200A\",\n half: \"\\xbd\",\n hamilt: \"\\u210B\",\n HARDcy: \"\\u042A\",\n hardcy: \"\\u044A\",\n hArr: \"\\u21D4\",\n harr: \"\\u2194\",\n harrcir: \"\\u2948\",\n harrw: \"\\u21AD\",\n Hat: \"^\",\n hbar: \"\\u210F\",\n Hcirc: \"\\u0124\",\n hcirc: \"\\u0125\",\n hearts: \"\\u2665\",\n heartsuit: \"\\u2665\",\n hellip: \"\\u2026\",\n hercon: \"\\u22B9\",\n Hfr: \"\\u210C\",\n hfr: \"\\uD835\\uDD25\",\n HilbertSpace: \"\\u210B\",\n hksearow: \"\\u2925\",\n hkswarow: \"\\u2926\",\n hoarr: \"\\u21FF\",\n homtht: \"\\u223B\",\n hookleftarrow: \"\\u21A9\",\n hookrightarrow: \"\\u21AA\",\n Hopf: \"\\u210D\",\n hopf: \"\\uD835\\uDD59\",\n horbar: \"\\u2015\",\n HorizontalLine: \"\\u2500\",\n Hscr: \"\\u210B\",\n hscr: \"\\uD835\\uDCBD\",\n hslash: \"\\u210F\",\n Hstrok: \"\\u0126\",\n hstrok: \"\\u0127\",\n HumpDownHump: \"\\u224E\",\n HumpEqual: \"\\u224F\",\n hybull: \"\\u2043\",\n hyphen: \"\\u2010\",\n Iacute: \"\\xcd\",\n iacute: \"\\xed\",\n ic: \"\\u2063\",\n Icirc: \"\\xce\",\n icirc: \"\\xee\",\n Icy: \"\\u0418\",\n icy: \"\\u0438\",\n Idot: \"\\u0130\",\n IEcy: \"\\u0415\",\n iecy: \"\\u0435\",\n iexcl: \"\\xa1\",\n iff: \"\\u21D4\",\n Ifr: \"\\u2111\",\n ifr: \"\\uD835\\uDD26\",\n Igrave: \"\\xcc\",\n igrave: \"\\xec\",\n ii: \"\\u2148\",\n iiiint: \"\\u2A0C\",\n iiint: \"\\u222D\",\n iinfin: \"\\u29DC\",\n iiota: \"\\u2129\",\n IJlig: \"\\u0132\",\n ijlig: \"\\u0133\",\n Im: \"\\u2111\",\n Imacr: \"\\u012A\",\n imacr: \"\\u012B\",\n image: \"\\u2111\",\n ImaginaryI: \"\\u2148\",\n imagline: \"\\u2110\",\n imagpart: \"\\u2111\",\n imath: \"\\u0131\",\n imof: \"\\u22B7\",\n imped: \"\\u01B5\",\n Implies: \"\\u21D2\",\n in: \"\\u2208\",\n incare: \"\\u2105\",\n infin: \"\\u221E\",\n infintie: \"\\u29DD\",\n inodot: \"\\u0131\",\n Int: \"\\u222C\",\n int: \"\\u222B\",\n intcal: \"\\u22BA\",\n integers: \"\\u2124\",\n Integral: \"\\u222B\",\n intercal: \"\\u22BA\",\n Intersection: \"\\u22C2\",\n intlarhk: \"\\u2A17\",\n intprod: \"\\u2A3C\",\n InvisibleComma: \"\\u2063\",\n InvisibleTimes: \"\\u2062\",\n IOcy: \"\\u0401\",\n iocy: \"\\u0451\",\n Iogon: \"\\u012E\",\n iogon: \"\\u012F\",\n Iopf: \"\\uD835\\uDD40\",\n iopf: \"\\uD835\\uDD5A\",\n Iota: \"\\u0399\",\n iota: \"\\u03B9\",\n iprod: \"\\u2A3C\",\n iquest: \"\\xbf\",\n Iscr: \"\\u2110\",\n iscr: \"\\uD835\\uDCBE\",\n isin: \"\\u2208\",\n isindot: \"\\u22F5\",\n isinE: \"\\u22F9\",\n isins: \"\\u22F4\",\n isinsv: \"\\u22F3\",\n isinv: \"\\u2208\",\n it: \"\\u2062\",\n Itilde: \"\\u0128\",\n itilde: \"\\u0129\",\n Iukcy: \"\\u0406\",\n iukcy: \"\\u0456\",\n Iuml: \"\\xcf\",\n iuml: \"\\xef\",\n Jcirc: \"\\u0134\",\n jcirc: \"\\u0135\",\n Jcy: \"\\u0419\",\n jcy: \"\\u0439\",\n Jfr: \"\\uD835\\uDD0D\",\n jfr: \"\\uD835\\uDD27\",\n jmath: \"\\u0237\",\n Jopf: \"\\uD835\\uDD41\",\n jopf: \"\\uD835\\uDD5B\",\n Jscr: \"\\uD835\\uDCA5\",\n jscr: \"\\uD835\\uDCBF\",\n Jsercy: \"\\u0408\",\n jsercy: \"\\u0458\",\n Jukcy: \"\\u0404\",\n jukcy: \"\\u0454\",\n Kappa: \"\\u039A\",\n kappa: \"\\u03BA\",\n kappav: \"\\u03F0\",\n Kcedil: \"\\u0136\",\n kcedil: \"\\u0137\",\n Kcy: \"\\u041A\",\n kcy: \"\\u043A\",\n Kfr: \"\\uD835\\uDD0E\",\n kfr: \"\\uD835\\uDD28\",\n kgreen: \"\\u0138\",\n KHcy: \"\\u0425\",\n khcy: \"\\u0445\",\n KJcy: \"\\u040C\",\n kjcy: \"\\u045C\",\n Kopf: \"\\uD835\\uDD42\",\n kopf: \"\\uD835\\uDD5C\",\n Kscr: \"\\uD835\\uDCA6\",\n kscr: \"\\uD835\\uDCC0\",\n lAarr: \"\\u21DA\",\n Lacute: \"\\u0139\",\n lacute: \"\\u013A\",\n laemptyv: \"\\u29B4\",\n lagran: \"\\u2112\",\n Lambda: \"\\u039B\",\n lambda: \"\\u03BB\",\n Lang: \"\\u27EA\",\n lang: \"\\u27E8\",\n langd: \"\\u2991\",\n langle: \"\\u27E8\",\n lap: \"\\u2A85\",\n Laplacetrf: \"\\u2112\",\n laquo: \"\\xab\",\n Larr: \"\\u219E\",\n lArr: \"\\u21D0\",\n larr: \"\\u2190\",\n larrb: \"\\u21E4\",\n larrbfs: \"\\u291F\",\n larrfs: \"\\u291D\",\n larrhk: \"\\u21A9\",\n larrlp: \"\\u21AB\",\n larrpl: \"\\u2939\",\n larrsim: \"\\u2973\",\n larrtl: \"\\u21A2\",\n lat: \"\\u2AAB\",\n lAtail: \"\\u291B\",\n latail: \"\\u2919\",\n late: \"\\u2AAD\",\n lates: \"\\u2AAD\\uFE00\",\n lBarr: \"\\u290E\",\n lbarr: \"\\u290C\",\n lbbrk: \"\\u2772\",\n lbrace: \"{\",\n lbrack: \"[\",\n lbrke: \"\\u298B\",\n lbrksld: \"\\u298F\",\n lbrkslu: \"\\u298D\",\n Lcaron: \"\\u013D\",\n lcaron: \"\\u013E\",\n Lcedil: \"\\u013B\",\n lcedil: \"\\u013C\",\n lceil: \"\\u2308\",\n lcub: \"{\",\n Lcy: \"\\u041B\",\n lcy: \"\\u043B\",\n ldca: \"\\u2936\",\n ldquo: \"\\u201C\",\n ldquor: \"\\u201E\",\n ldrdhar: \"\\u2967\",\n ldrushar: \"\\u294B\",\n ldsh: \"\\u21B2\",\n lE: \"\\u2266\",\n le: \"\\u2264\",\n LeftAngleBracket: \"\\u27E8\",\n LeftArrow: \"\\u2190\",\n Leftarrow: \"\\u21D0\",\n leftarrow: \"\\u2190\",\n LeftArrowBar: \"\\u21E4\",\n LeftArrowRightArrow: \"\\u21C6\",\n leftarrowtail: \"\\u21A2\",\n LeftCeiling: \"\\u2308\",\n LeftDoubleBracket: \"\\u27E6\",\n LeftDownTeeVector: \"\\u2961\",\n LeftDownVector: \"\\u21C3\",\n LeftDownVectorBar: \"\\u2959\",\n LeftFloor: \"\\u230A\",\n leftharpoondown: \"\\u21BD\",\n leftharpoonup: \"\\u21BC\",\n leftleftarrows: \"\\u21C7\",\n LeftRightArrow: \"\\u2194\",\n Leftrightarrow: \"\\u21D4\",\n leftrightarrow: \"\\u2194\",\n leftrightarrows: \"\\u21C6\",\n leftrightharpoons: \"\\u21CB\",\n leftrightsquigarrow: \"\\u21AD\",\n LeftRightVector: \"\\u294E\",\n LeftTee: \"\\u22A3\",\n LeftTeeArrow: \"\\u21A4\",\n LeftTeeVector: \"\\u295A\",\n leftthreetimes: \"\\u22CB\",\n LeftTriangle: \"\\u22B2\",\n LeftTriangleBar: \"\\u29CF\",\n LeftTriangleEqual: \"\\u22B4\",\n LeftUpDownVector: \"\\u2951\",\n LeftUpTeeVector: \"\\u2960\",\n LeftUpVector: \"\\u21BF\",\n LeftUpVectorBar: \"\\u2958\",\n LeftVector: \"\\u21BC\",\n LeftVectorBar: \"\\u2952\",\n lEg: \"\\u2A8B\",\n leg: \"\\u22DA\",\n leq: \"\\u2264\",\n leqq: \"\\u2266\",\n leqslant: \"\\u2A7D\",\n les: \"\\u2A7D\",\n lescc: \"\\u2AA8\",\n lesdot: \"\\u2A7F\",\n lesdoto: \"\\u2A81\",\n lesdotor: \"\\u2A83\",\n lesg: \"\\u22DA\\uFE00\",\n lesges: \"\\u2A93\",\n lessapprox: \"\\u2A85\",\n lessdot: \"\\u22D6\",\n lesseqgtr: \"\\u22DA\",\n lesseqqgtr: \"\\u2A8B\",\n LessEqualGreater: \"\\u22DA\",\n LessFullEqual: \"\\u2266\",\n LessGreater: \"\\u2276\",\n lessgtr: \"\\u2276\",\n LessLess: \"\\u2AA1\",\n lesssim: \"\\u2272\",\n LessSlantEqual: \"\\u2A7D\",\n LessTilde: \"\\u2272\",\n lfisht: \"\\u297C\",\n lfloor: \"\\u230A\",\n Lfr: \"\\uD835\\uDD0F\",\n lfr: \"\\uD835\\uDD29\",\n lg: \"\\u2276\",\n lgE: \"\\u2A91\",\n lHar: \"\\u2962\",\n lhard: \"\\u21BD\",\n lharu: \"\\u21BC\",\n lharul: \"\\u296A\",\n lhblk: \"\\u2584\",\n LJcy: \"\\u0409\",\n ljcy: \"\\u0459\",\n Ll: \"\\u22D8\",\n ll: \"\\u226A\",\n llarr: \"\\u21C7\",\n llcorner: \"\\u231E\",\n Lleftarrow: \"\\u21DA\",\n llhard: \"\\u296B\",\n lltri: \"\\u25FA\",\n Lmidot: \"\\u013F\",\n lmidot: \"\\u0140\",\n lmoust: \"\\u23B0\",\n lmoustache: \"\\u23B0\",\n lnap: \"\\u2A89\",\n lnapprox: \"\\u2A89\",\n lnE: \"\\u2268\",\n lne: \"\\u2A87\",\n lneq: \"\\u2A87\",\n lneqq: \"\\u2268\",\n lnsim: \"\\u22E6\",\n loang: \"\\u27EC\",\n loarr: \"\\u21FD\",\n lobrk: \"\\u27E6\",\n LongLeftArrow: \"\\u27F5\",\n Longleftarrow: \"\\u27F8\",\n longleftarrow: \"\\u27F5\",\n LongLeftRightArrow: \"\\u27F7\",\n Longleftrightarrow: \"\\u27FA\",\n longleftrightarrow: \"\\u27F7\",\n longmapsto: \"\\u27FC\",\n LongRightArrow: \"\\u27F6\",\n Longrightarrow: \"\\u27F9\",\n longrightarrow: \"\\u27F6\",\n looparrowleft: \"\\u21AB\",\n looparrowright: \"\\u21AC\",\n lopar: \"\\u2985\",\n Lopf: \"\\uD835\\uDD43\",\n lopf: \"\\uD835\\uDD5D\",\n loplus: \"\\u2A2D\",\n lotimes: \"\\u2A34\",\n lowast: \"\\u2217\",\n lowbar: \"_\",\n LowerLeftArrow: \"\\u2199\",\n LowerRightArrow: \"\\u2198\",\n loz: \"\\u25CA\",\n lozenge: \"\\u25CA\",\n lozf: \"\\u29EB\",\n lpar: \"(\",\n lparlt: \"\\u2993\",\n lrarr: \"\\u21C6\",\n lrcorner: \"\\u231F\",\n lrhar: \"\\u21CB\",\n lrhard: \"\\u296D\",\n lrm: \"\\u200E\",\n lrtri: \"\\u22BF\",\n lsaquo: \"\\u2039\",\n Lscr: \"\\u2112\",\n lscr: \"\\uD835\\uDCC1\",\n Lsh: \"\\u21B0\",\n lsh: \"\\u21B0\",\n lsim: \"\\u2272\",\n lsime: \"\\u2A8D\",\n lsimg: \"\\u2A8F\",\n lsqb: \"[\",\n lsquo: \"\\u2018\",\n lsquor: \"\\u201A\",\n Lstrok: \"\\u0141\",\n lstrok: \"\\u0142\",\n Lt: \"\\u226A\",\n LT: \"<\",\n lt: \"<\",\n ltcc: \"\\u2AA6\",\n ltcir: \"\\u2A79\",\n ltdot: \"\\u22D6\",\n lthree: \"\\u22CB\",\n ltimes: \"\\u22C9\",\n ltlarr: \"\\u2976\",\n ltquest: \"\\u2A7B\",\n ltri: \"\\u25C3\",\n ltrie: \"\\u22B4\",\n ltrif: \"\\u25C2\",\n ltrPar: \"\\u2996\",\n lurdshar: \"\\u294A\",\n luruhar: \"\\u2966\",\n lvertneqq: \"\\u2268\\uFE00\",\n lvnE: \"\\u2268\\uFE00\",\n macr: \"\\xaf\",\n male: \"\\u2642\",\n malt: \"\\u2720\",\n maltese: \"\\u2720\",\n Map: \"\\u2905\",\n map: \"\\u21A6\",\n mapsto: \"\\u21A6\",\n mapstodown: \"\\u21A7\",\n mapstoleft: \"\\u21A4\",\n mapstoup: \"\\u21A5\",\n marker: \"\\u25AE\",\n mcomma: \"\\u2A29\",\n Mcy: \"\\u041C\",\n mcy: \"\\u043C\",\n mdash: \"\\u2014\",\n mDDot: \"\\u223A\",\n measuredangle: \"\\u2221\",\n MediumSpace: \"\\u205F\",\n Mellintrf: \"\\u2133\",\n Mfr: \"\\uD835\\uDD10\",\n mfr: \"\\uD835\\uDD2A\",\n mho: \"\\u2127\",\n micro: \"\\xb5\",\n mid: \"\\u2223\",\n midast: \"*\",\n midcir: \"\\u2AF0\",\n middot: \"\\xb7\",\n minus: \"\\u2212\",\n minusb: \"\\u229F\",\n minusd: \"\\u2238\",\n minusdu: \"\\u2A2A\",\n MinusPlus: \"\\u2213\",\n mlcp: \"\\u2ADB\",\n mldr: \"\\u2026\",\n mnplus: \"\\u2213\",\n models: \"\\u22A7\",\n Mopf: \"\\uD835\\uDD44\",\n mopf: \"\\uD835\\uDD5E\",\n mp: \"\\u2213\",\n Mscr: \"\\u2133\",\n mscr: \"\\uD835\\uDCC2\",\n mstpos: \"\\u223E\",\n Mu: \"\\u039C\",\n mu: \"\\u03BC\",\n multimap: \"\\u22B8\",\n mumap: \"\\u22B8\",\n nabla: \"\\u2207\",\n Nacute: \"\\u0143\",\n nacute: \"\\u0144\",\n nang: \"\\u2220\\u20D2\",\n nap: \"\\u2249\",\n napE: \"\\u2A70\\u0338\",\n napid: \"\\u224B\\u0338\",\n napos: \"\\u0149\",\n napprox: \"\\u2249\",\n natur: \"\\u266E\",\n natural: \"\\u266E\",\n naturals: \"\\u2115\",\n nbsp: \"\\xa0\",\n nbump: \"\\u224E\\u0338\",\n nbumpe: \"\\u224F\\u0338\",\n ncap: \"\\u2A43\",\n Ncaron: \"\\u0147\",\n ncaron: \"\\u0148\",\n Ncedil: \"\\u0145\",\n ncedil: \"\\u0146\",\n ncong: \"\\u2247\",\n ncongdot: \"\\u2A6D\\u0338\",\n ncup: \"\\u2A42\",\n Ncy: \"\\u041D\",\n ncy: \"\\u043D\",\n ndash: \"\\u2013\",\n ne: \"\\u2260\",\n nearhk: \"\\u2924\",\n neArr: \"\\u21D7\",\n nearr: \"\\u2197\",\n nearrow: \"\\u2197\",\n nedot: \"\\u2250\\u0338\",\n NegativeMediumSpace: \"\\u200B\",\n NegativeThickSpace: \"\\u200B\",\n NegativeThinSpace: \"\\u200B\",\n NegativeVeryThinSpace: \"\\u200B\",\n nequiv: \"\\u2262\",\n nesear: \"\\u2928\",\n nesim: \"\\u2242\\u0338\",\n NestedGreaterGreater: \"\\u226B\",\n NestedLessLess: \"\\u226A\",\n NewLine: \"\\n\",\n nexist: \"\\u2204\",\n nexists: \"\\u2204\",\n Nfr: \"\\uD835\\uDD11\",\n nfr: \"\\uD835\\uDD2B\",\n ngE: \"\\u2267\\u0338\",\n nge: \"\\u2271\",\n ngeq: \"\\u2271\",\n ngeqq: \"\\u2267\\u0338\",\n ngeqslant: \"\\u2A7E\\u0338\",\n nges: \"\\u2A7E\\u0338\",\n nGg: \"\\u22D9\\u0338\",\n ngsim: \"\\u2275\",\n nGt: \"\\u226B\\u20D2\",\n ngt: \"\\u226F\",\n ngtr: \"\\u226F\",\n nGtv: \"\\u226B\\u0338\",\n nhArr: \"\\u21CE\",\n nharr: \"\\u21AE\",\n nhpar: \"\\u2AF2\",\n ni: \"\\u220B\",\n nis: \"\\u22FC\",\n nisd: \"\\u22FA\",\n niv: \"\\u220B\",\n NJcy: \"\\u040A\",\n njcy: \"\\u045A\",\n nlArr: \"\\u21CD\",\n nlarr: \"\\u219A\",\n nldr: \"\\u2025\",\n nlE: \"\\u2266\\u0338\",\n nle: \"\\u2270\",\n nLeftarrow: \"\\u21CD\",\n nleftarrow: \"\\u219A\",\n nLeftrightarrow: \"\\u21CE\",\n nleftrightarrow: \"\\u21AE\",\n nleq: \"\\u2270\",\n nleqq: \"\\u2266\\u0338\",\n nleqslant: \"\\u2A7D\\u0338\",\n nles: \"\\u2A7D\\u0338\",\n nless: \"\\u226E\",\n nLl: \"\\u22D8\\u0338\",\n nlsim: \"\\u2274\",\n nLt: \"\\u226A\\u20D2\",\n nlt: \"\\u226E\",\n nltri: \"\\u22EA\",\n nltrie: \"\\u22EC\",\n nLtv: \"\\u226A\\u0338\",\n nmid: \"\\u2224\",\n NoBreak: \"\\u2060\",\n NonBreakingSpace: \"\\xa0\",\n Nopf: \"\\u2115\",\n nopf: \"\\uD835\\uDD5F\",\n Not: \"\\u2AEC\",\n not: \"\\xac\",\n NotCongruent: \"\\u2262\",\n NotCupCap: \"\\u226D\",\n NotDoubleVerticalBar: \"\\u2226\",\n NotElement: \"\\u2209\",\n NotEqual: \"\\u2260\",\n NotEqualTilde: \"\\u2242\\u0338\",\n NotExists: \"\\u2204\",\n NotGreater: \"\\u226F\",\n NotGreaterEqual: \"\\u2271\",\n NotGreaterFullEqual: \"\\u2267\\u0338\",\n NotGreaterGreater: \"\\u226B\\u0338\",\n NotGreaterLess: \"\\u2279\",\n NotGreaterSlantEqual: \"\\u2A7E\\u0338\",\n NotGreaterTilde: \"\\u2275\",\n NotHumpDownHump: \"\\u224E\\u0338\",\n NotHumpEqual: \"\\u224F\\u0338\",\n notin: \"\\u2209\",\n notindot: \"\\u22F5\\u0338\",\n notinE: \"\\u22F9\\u0338\",\n notinva: \"\\u2209\",\n notinvb: \"\\u22F7\",\n notinvc: \"\\u22F6\",\n NotLeftTriangle: \"\\u22EA\",\n NotLeftTriangleBar: \"\\u29CF\\u0338\",\n NotLeftTriangleEqual: \"\\u22EC\",\n NotLess: \"\\u226E\",\n NotLessEqual: \"\\u2270\",\n NotLessGreater: \"\\u2278\",\n NotLessLess: \"\\u226A\\u0338\",\n NotLessSlantEqual: \"\\u2A7D\\u0338\",\n NotLessTilde: \"\\u2274\",\n NotNestedGreaterGreater: \"\\u2AA2\\u0338\",\n NotNestedLessLess: \"\\u2AA1\\u0338\",\n notni: \"\\u220C\",\n notniva: \"\\u220C\",\n notnivb: \"\\u22FE\",\n notnivc: \"\\u22FD\",\n NotPrecedes: \"\\u2280\",\n NotPrecedesEqual: \"\\u2AAF\\u0338\",\n NotPrecedesSlantEqual: \"\\u22E0\",\n NotReverseElement: \"\\u220C\",\n NotRightTriangle: \"\\u22EB\",\n NotRightTriangleBar: \"\\u29D0\\u0338\",\n NotRightTriangleEqual: \"\\u22ED\",\n NotSquareSubset: \"\\u228F\\u0338\",\n NotSquareSubsetEqual: \"\\u22E2\",\n NotSquareSuperset: \"\\u2290\\u0338\",\n NotSquareSupersetEqual: \"\\u22E3\",\n NotSubset: \"\\u2282\\u20D2\",\n NotSubsetEqual: \"\\u2288\",\n NotSucceeds: \"\\u2281\",\n NotSucceedsEqual: \"\\u2AB0\\u0338\",\n NotSucceedsSlantEqual: \"\\u22E1\",\n NotSucceedsTilde: \"\\u227F\\u0338\",\n NotSuperset: \"\\u2283\\u20D2\",\n NotSupersetEqual: \"\\u2289\",\n NotTilde: \"\\u2241\",\n NotTildeEqual: \"\\u2244\",\n NotTildeFullEqual: \"\\u2247\",\n NotTildeTilde: \"\\u2249\",\n NotVerticalBar: \"\\u2224\",\n npar: \"\\u2226\",\n nparallel: \"\\u2226\",\n nparsl: \"\\u2AFD\\u20E5\",\n npart: \"\\u2202\\u0338\",\n npolint: \"\\u2A14\",\n npr: \"\\u2280\",\n nprcue: \"\\u22E0\",\n npre: \"\\u2AAF\\u0338\",\n nprec: \"\\u2280\",\n npreceq: \"\\u2AAF\\u0338\",\n nrArr: \"\\u21CF\",\n nrarr: \"\\u219B\",\n nrarrc: \"\\u2933\\u0338\",\n nrarrw: \"\\u219D\\u0338\",\n nRightarrow: \"\\u21CF\",\n nrightarrow: \"\\u219B\",\n nrtri: \"\\u22EB\",\n nrtrie: \"\\u22ED\",\n nsc: \"\\u2281\",\n nsccue: \"\\u22E1\",\n nsce: \"\\u2AB0\\u0338\",\n Nscr: \"\\uD835\\uDCA9\",\n nscr: \"\\uD835\\uDCC3\",\n nshortmid: \"\\u2224\",\n nshortparallel: \"\\u2226\",\n nsim: \"\\u2241\",\n nsime: \"\\u2244\",\n nsimeq: \"\\u2244\",\n nsmid: \"\\u2224\",\n nspar: \"\\u2226\",\n nsqsube: \"\\u22E2\",\n nsqsupe: \"\\u22E3\",\n nsub: \"\\u2284\",\n nsubE: \"\\u2AC5\\u0338\",\n nsube: \"\\u2288\",\n nsubset: \"\\u2282\\u20D2\",\n nsubseteq: \"\\u2288\",\n nsubseteqq: \"\\u2AC5\\u0338\",\n nsucc: \"\\u2281\",\n nsucceq: \"\\u2AB0\\u0338\",\n nsup: \"\\u2285\",\n nsupE: \"\\u2AC6\\u0338\",\n nsupe: \"\\u2289\",\n nsupset: \"\\u2283\\u20D2\",\n nsupseteq: \"\\u2289\",\n nsupseteqq: \"\\u2AC6\\u0338\",\n ntgl: \"\\u2279\",\n Ntilde: \"\\xd1\",\n ntilde: \"\\xf1\",\n ntlg: \"\\u2278\",\n ntriangleleft: \"\\u22EA\",\n ntrianglelefteq: \"\\u22EC\",\n ntriangleright: \"\\u22EB\",\n ntrianglerighteq: \"\\u22ED\",\n Nu: \"\\u039D\",\n nu: \"\\u03BD\",\n num: \"#\",\n numero: \"\\u2116\",\n numsp: \"\\u2007\",\n nvap: \"\\u224D\\u20D2\",\n nVDash: \"\\u22AF\",\n nVdash: \"\\u22AE\",\n nvDash: \"\\u22AD\",\n nvdash: \"\\u22AC\",\n nvge: \"\\u2265\\u20D2\",\n nvgt: \">\\u20D2\",\n nvHarr: \"\\u2904\",\n nvinfin: \"\\u29DE\",\n nvlArr: \"\\u2902\",\n nvle: \"\\u2264\\u20D2\",\n nvlt: \"<\\u20D2\",\n nvltrie: \"\\u22B4\\u20D2\",\n nvrArr: \"\\u2903\",\n nvrtrie: \"\\u22B5\\u20D2\",\n nvsim: \"\\u223C\\u20D2\",\n nwarhk: \"\\u2923\",\n nwArr: \"\\u21D6\",\n nwarr: \"\\u2196\",\n nwarrow: \"\\u2196\",\n nwnear: \"\\u2927\",\n Oacute: \"\\xd3\",\n oacute: \"\\xf3\",\n oast: \"\\u229B\",\n ocir: \"\\u229A\",\n Ocirc: \"\\xd4\",\n ocirc: \"\\xf4\",\n Ocy: \"\\u041E\",\n ocy: \"\\u043E\",\n odash: \"\\u229D\",\n Odblac: \"\\u0150\",\n odblac: \"\\u0151\",\n odiv: \"\\u2A38\",\n odot: \"\\u2299\",\n odsold: \"\\u29BC\",\n OElig: \"\\u0152\",\n oelig: \"\\u0153\",\n ofcir: \"\\u29BF\",\n Ofr: \"\\uD835\\uDD12\",\n ofr: \"\\uD835\\uDD2C\",\n ogon: \"\\u02DB\",\n Ograve: \"\\xd2\",\n ograve: \"\\xf2\",\n ogt: \"\\u29C1\",\n ohbar: \"\\u29B5\",\n ohm: \"\\u03A9\",\n oint: \"\\u222E\",\n olarr: \"\\u21BA\",\n olcir: \"\\u29BE\",\n olcross: \"\\u29BB\",\n oline: \"\\u203E\",\n olt: \"\\u29C0\",\n Omacr: \"\\u014C\",\n omacr: \"\\u014D\",\n Omega: \"\\u03A9\",\n omega: \"\\u03C9\",\n Omicron: \"\\u039F\",\n omicron: \"\\u03BF\",\n omid: \"\\u29B6\",\n ominus: \"\\u2296\",\n Oopf: \"\\uD835\\uDD46\",\n oopf: \"\\uD835\\uDD60\",\n opar: \"\\u29B7\",\n OpenCurlyDoubleQuote: \"\\u201C\",\n OpenCurlyQuote: \"\\u2018\",\n operp: \"\\u29B9\",\n oplus: \"\\u2295\",\n Or: \"\\u2A54\",\n or: \"\\u2228\",\n orarr: \"\\u21BB\",\n ord: \"\\u2A5D\",\n order: \"\\u2134\",\n orderof: \"\\u2134\",\n ordf: \"\\xaa\",\n ordm: \"\\xba\",\n origof: \"\\u22B6\",\n oror: \"\\u2A56\",\n orslope: \"\\u2A57\",\n orv: \"\\u2A5B\",\n oS: \"\\u24C8\",\n Oscr: \"\\uD835\\uDCAA\",\n oscr: \"\\u2134\",\n Oslash: \"\\xd8\",\n oslash: \"\\xf8\",\n osol: \"\\u2298\",\n Otilde: \"\\xd5\",\n otilde: \"\\xf5\",\n Otimes: \"\\u2A37\",\n otimes: \"\\u2297\",\n otimesas: \"\\u2A36\",\n Ouml: \"\\xd6\",\n ouml: \"\\xf6\",\n ovbar: \"\\u233D\",\n OverBar: \"\\u203E\",\n OverBrace: \"\\u23DE\",\n OverBracket: \"\\u23B4\",\n OverParenthesis: \"\\u23DC\",\n par: \"\\u2225\",\n para: \"\\xb6\",\n parallel: \"\\u2225\",\n parsim: \"\\u2AF3\",\n parsl: \"\\u2AFD\",\n part: \"\\u2202\",\n PartialD: \"\\u2202\",\n Pcy: \"\\u041F\",\n pcy: \"\\u043F\",\n percnt: \"%\",\n period: \".\",\n permil: \"\\u2030\",\n perp: \"\\u22A5\",\n pertenk: \"\\u2031\",\n Pfr: \"\\uD835\\uDD13\",\n pfr: \"\\uD835\\uDD2D\",\n Phi: \"\\u03A6\",\n phi: \"\\u03C6\",\n phiv: \"\\u03D5\",\n phmmat: \"\\u2133\",\n phone: \"\\u260E\",\n Pi: \"\\u03A0\",\n pi: \"\\u03C0\",\n pitchfork: \"\\u22D4\",\n piv: \"\\u03D6\",\n planck: \"\\u210F\",\n planckh: \"\\u210E\",\n plankv: \"\\u210F\",\n plus: \"+\",\n plusacir: \"\\u2A23\",\n plusb: \"\\u229E\",\n pluscir: \"\\u2A22\",\n plusdo: \"\\u2214\",\n plusdu: \"\\u2A25\",\n pluse: \"\\u2A72\",\n PlusMinus: \"\\xb1\",\n plusmn: \"\\xb1\",\n plussim: \"\\u2A26\",\n plustwo: \"\\u2A27\",\n pm: \"\\xb1\",\n Poincareplane: \"\\u210C\",\n pointint: \"\\u2A15\",\n Popf: \"\\u2119\",\n popf: \"\\uD835\\uDD61\",\n pound: \"\\xa3\",\n Pr: \"\\u2ABB\",\n pr: \"\\u227A\",\n prap: \"\\u2AB7\",\n prcue: \"\\u227C\",\n prE: \"\\u2AB3\",\n pre: \"\\u2AAF\",\n prec: \"\\u227A\",\n precapprox: \"\\u2AB7\",\n preccurlyeq: \"\\u227C\",\n Precedes: \"\\u227A\",\n PrecedesEqual: \"\\u2AAF\",\n PrecedesSlantEqual: \"\\u227C\",\n PrecedesTilde: \"\\u227E\",\n preceq: \"\\u2AAF\",\n precnapprox: \"\\u2AB9\",\n precneqq: \"\\u2AB5\",\n precnsim: \"\\u22E8\",\n precsim: \"\\u227E\",\n Prime: \"\\u2033\",\n prime: \"\\u2032\",\n primes: \"\\u2119\",\n prnap: \"\\u2AB9\",\n prnE: \"\\u2AB5\",\n prnsim: \"\\u22E8\",\n prod: \"\\u220F\",\n Product: \"\\u220F\",\n profalar: \"\\u232E\",\n profline: \"\\u2312\",\n profsurf: \"\\u2313\",\n prop: \"\\u221D\",\n Proportion: \"\\u2237\",\n Proportional: \"\\u221D\",\n propto: \"\\u221D\",\n prsim: \"\\u227E\",\n prurel: \"\\u22B0\",\n Pscr: \"\\uD835\\uDCAB\",\n pscr: \"\\uD835\\uDCC5\",\n Psi: \"\\u03A8\",\n psi: \"\\u03C8\",\n puncsp: \"\\u2008\",\n Qfr: \"\\uD835\\uDD14\",\n qfr: \"\\uD835\\uDD2E\",\n qint: \"\\u2A0C\",\n Qopf: \"\\u211A\",\n qopf: \"\\uD835\\uDD62\",\n qprime: \"\\u2057\",\n Qscr: \"\\uD835\\uDCAC\",\n qscr: \"\\uD835\\uDCC6\",\n quaternions: \"\\u210D\",\n quatint: \"\\u2A16\",\n quest: \"?\",\n questeq: \"\\u225F\",\n QUOT: '\"',\n quot: '\"',\n rAarr: \"\\u21DB\",\n race: \"\\u223D\\u0331\",\n Racute: \"\\u0154\",\n racute: \"\\u0155\",\n radic: \"\\u221A\",\n raemptyv: \"\\u29B3\",\n Rang: \"\\u27EB\",\n rang: \"\\u27E9\",\n rangd: \"\\u2992\",\n range: \"\\u29A5\",\n rangle: \"\\u27E9\",\n raquo: \"\\xbb\",\n Rarr: \"\\u21A0\",\n rArr: \"\\u21D2\",\n rarr: \"\\u2192\",\n rarrap: \"\\u2975\",\n rarrb: \"\\u21E5\",\n rarrbfs: \"\\u2920\",\n rarrc: \"\\u2933\",\n rarrfs: \"\\u291E\",\n rarrhk: \"\\u21AA\",\n rarrlp: \"\\u21AC\",\n rarrpl: \"\\u2945\",\n rarrsim: \"\\u2974\",\n Rarrtl: \"\\u2916\",\n rarrtl: \"\\u21A3\",\n rarrw: \"\\u219D\",\n rAtail: \"\\u291C\",\n ratail: \"\\u291A\",\n ratio: \"\\u2236\",\n rationals: \"\\u211A\",\n RBarr: \"\\u2910\",\n rBarr: \"\\u290F\",\n rbarr: \"\\u290D\",\n rbbrk: \"\\u2773\",\n rbrace: \"}\",\n rbrack: \"]\",\n rbrke: \"\\u298C\",\n rbrksld: \"\\u298E\",\n rbrkslu: \"\\u2990\",\n Rcaron: \"\\u0158\",\n rcaron: \"\\u0159\",\n Rcedil: \"\\u0156\",\n rcedil: \"\\u0157\",\n rceil: \"\\u2309\",\n rcub: \"}\",\n Rcy: \"\\u0420\",\n rcy: \"\\u0440\",\n rdca: \"\\u2937\",\n rdldhar: \"\\u2969\",\n rdquo: \"\\u201D\",\n rdquor: \"\\u201D\",\n rdsh: \"\\u21B3\",\n Re: \"\\u211C\",\n real: \"\\u211C\",\n realine: \"\\u211B\",\n realpart: \"\\u211C\",\n reals: \"\\u211D\",\n rect: \"\\u25AD\",\n REG: \"\\xae\",\n reg: \"\\xae\",\n ReverseElement: \"\\u220B\",\n ReverseEquilibrium: \"\\u21CB\",\n ReverseUpEquilibrium: \"\\u296F\",\n rfisht: \"\\u297D\",\n rfloor: \"\\u230B\",\n Rfr: \"\\u211C\",\n rfr: \"\\uD835\\uDD2F\",\n rHar: \"\\u2964\",\n rhard: \"\\u21C1\",\n rharu: \"\\u21C0\",\n rharul: \"\\u296C\",\n Rho: \"\\u03A1\",\n rho: \"\\u03C1\",\n rhov: \"\\u03F1\",\n RightAngleBracket: \"\\u27E9\",\n RightArrow: \"\\u2192\",\n Rightarrow: \"\\u21D2\",\n rightarrow: \"\\u2192\",\n RightArrowBar: \"\\u21E5\",\n RightArrowLeftArrow: \"\\u21C4\",\n rightarrowtail: \"\\u21A3\",\n RightCeiling: \"\\u2309\",\n RightDoubleBracket: \"\\u27E7\",\n RightDownTeeVector: \"\\u295D\",\n RightDownVector: \"\\u21C2\",\n RightDownVectorBar: \"\\u2955\",\n RightFloor: \"\\u230B\",\n rightharpoondown: \"\\u21C1\",\n rightharpoonup: \"\\u21C0\",\n rightleftarrows: \"\\u21C4\",\n rightleftharpoons: \"\\u21CC\",\n rightrightarrows: \"\\u21C9\",\n rightsquigarrow: \"\\u219D\",\n RightTee: \"\\u22A2\",\n RightTeeArrow: \"\\u21A6\",\n RightTeeVector: \"\\u295B\",\n rightthreetimes: \"\\u22CC\",\n RightTriangle: \"\\u22B3\",\n RightTriangleBar: \"\\u29D0\",\n RightTriangleEqual: \"\\u22B5\",\n RightUpDownVector: \"\\u294F\",\n RightUpTeeVector: \"\\u295C\",\n RightUpVector: \"\\u21BE\",\n RightUpVectorBar: \"\\u2954\",\n RightVector: \"\\u21C0\",\n RightVectorBar: \"\\u2953\",\n ring: \"\\u02DA\",\n risingdotseq: \"\\u2253\",\n rlarr: \"\\u21C4\",\n rlhar: \"\\u21CC\",\n rlm: \"\\u200F\",\n rmoust: \"\\u23B1\",\n rmoustache: \"\\u23B1\",\n rnmid: \"\\u2AEE\",\n roang: \"\\u27ED\",\n roarr: \"\\u21FE\",\n robrk: \"\\u27E7\",\n ropar: \"\\u2986\",\n Ropf: \"\\u211D\",\n ropf: \"\\uD835\\uDD63\",\n roplus: \"\\u2A2E\",\n rotimes: \"\\u2A35\",\n RoundImplies: \"\\u2970\",\n rpar: \")\",\n rpargt: \"\\u2994\",\n rppolint: \"\\u2A12\",\n rrarr: \"\\u21C9\",\n Rrightarrow: \"\\u21DB\",\n rsaquo: \"\\u203A\",\n Rscr: \"\\u211B\",\n rscr: \"\\uD835\\uDCC7\",\n Rsh: \"\\u21B1\",\n rsh: \"\\u21B1\",\n rsqb: \"]\",\n rsquo: \"\\u2019\",\n rsquor: \"\\u2019\",\n rthree: \"\\u22CC\",\n rtimes: \"\\u22CA\",\n rtri: \"\\u25B9\",\n rtrie: \"\\u22B5\",\n rtrif: \"\\u25B8\",\n rtriltri: \"\\u29CE\",\n RuleDelayed: \"\\u29F4\",\n ruluhar: \"\\u2968\",\n rx: \"\\u211E\",\n Sacute: \"\\u015A\",\n sacute: \"\\u015B\",\n sbquo: \"\\u201A\",\n Sc: \"\\u2ABC\",\n sc: \"\\u227B\",\n scap: \"\\u2AB8\",\n Scaron: \"\\u0160\",\n scaron: \"\\u0161\",\n sccue: \"\\u227D\",\n scE: \"\\u2AB4\",\n sce: \"\\u2AB0\",\n Scedil: \"\\u015E\",\n scedil: \"\\u015F\",\n Scirc: \"\\u015C\",\n scirc: \"\\u015D\",\n scnap: \"\\u2ABA\",\n scnE: \"\\u2AB6\",\n scnsim: \"\\u22E9\",\n scpolint: \"\\u2A13\",\n scsim: \"\\u227F\",\n Scy: \"\\u0421\",\n scy: \"\\u0441\",\n sdot: \"\\u22C5\",\n sdotb: \"\\u22A1\",\n sdote: \"\\u2A66\",\n searhk: \"\\u2925\",\n seArr: \"\\u21D8\",\n searr: \"\\u2198\",\n searrow: \"\\u2198\",\n sect: \"\\xa7\",\n semi: \";\",\n seswar: \"\\u2929\",\n setminus: \"\\u2216\",\n setmn: \"\\u2216\",\n sext: \"\\u2736\",\n Sfr: \"\\uD835\\uDD16\",\n sfr: \"\\uD835\\uDD30\",\n sfrown: \"\\u2322\",\n sharp: \"\\u266F\",\n SHCHcy: \"\\u0429\",\n shchcy: \"\\u0449\",\n SHcy: \"\\u0428\",\n shcy: \"\\u0448\",\n ShortDownArrow: \"\\u2193\",\n ShortLeftArrow: \"\\u2190\",\n shortmid: \"\\u2223\",\n shortparallel: \"\\u2225\",\n ShortRightArrow: \"\\u2192\",\n ShortUpArrow: \"\\u2191\",\n shy: \"\\xad\",\n Sigma: \"\\u03A3\",\n sigma: \"\\u03C3\",\n sigmaf: \"\\u03C2\",\n sigmav: \"\\u03C2\",\n sim: \"\\u223C\",\n simdot: \"\\u2A6A\",\n sime: \"\\u2243\",\n simeq: \"\\u2243\",\n simg: \"\\u2A9E\",\n simgE: \"\\u2AA0\",\n siml: \"\\u2A9D\",\n simlE: \"\\u2A9F\",\n simne: \"\\u2246\",\n simplus: \"\\u2A24\",\n simrarr: \"\\u2972\",\n slarr: \"\\u2190\",\n SmallCircle: \"\\u2218\",\n smallsetminus: \"\\u2216\",\n smashp: \"\\u2A33\",\n smeparsl: \"\\u29E4\",\n smid: \"\\u2223\",\n smile: \"\\u2323\",\n smt: \"\\u2AAA\",\n smte: \"\\u2AAC\",\n smtes: \"\\u2AAC\\uFE00\",\n SOFTcy: \"\\u042C\",\n softcy: \"\\u044C\",\n sol: \"/\",\n solb: \"\\u29C4\",\n solbar: \"\\u233F\",\n Sopf: \"\\uD835\\uDD4A\",\n sopf: \"\\uD835\\uDD64\",\n spades: \"\\u2660\",\n spadesuit: \"\\u2660\",\n spar: \"\\u2225\",\n sqcap: \"\\u2293\",\n sqcaps: \"\\u2293\\uFE00\",\n sqcup: \"\\u2294\",\n sqcups: \"\\u2294\\uFE00\",\n Sqrt: \"\\u221A\",\n sqsub: \"\\u228F\",\n sqsube: \"\\u2291\",\n sqsubset: \"\\u228F\",\n sqsubseteq: \"\\u2291\",\n sqsup: \"\\u2290\",\n sqsupe: \"\\u2292\",\n sqsupset: \"\\u2290\",\n sqsupseteq: \"\\u2292\",\n squ: \"\\u25A1\",\n Square: \"\\u25A1\",\n square: \"\\u25A1\",\n SquareIntersection: \"\\u2293\",\n SquareSubset: \"\\u228F\",\n SquareSubsetEqual: \"\\u2291\",\n SquareSuperset: \"\\u2290\",\n SquareSupersetEqual: \"\\u2292\",\n SquareUnion: \"\\u2294\",\n squarf: \"\\u25AA\",\n squf: \"\\u25AA\",\n srarr: \"\\u2192\",\n Sscr: \"\\uD835\\uDCAE\",\n sscr: \"\\uD835\\uDCC8\",\n ssetmn: \"\\u2216\",\n ssmile: \"\\u2323\",\n sstarf: \"\\u22C6\",\n Star: \"\\u22C6\",\n star: \"\\u2606\",\n starf: \"\\u2605\",\n straightepsilon: \"\\u03F5\",\n straightphi: \"\\u03D5\",\n strns: \"\\xaf\",\n Sub: \"\\u22D0\",\n sub: \"\\u2282\",\n subdot: \"\\u2ABD\",\n subE: \"\\u2AC5\",\n sube: \"\\u2286\",\n subedot: \"\\u2AC3\",\n submult: \"\\u2AC1\",\n subnE: \"\\u2ACB\",\n subne: \"\\u228A\",\n subplus: \"\\u2ABF\",\n subrarr: \"\\u2979\",\n Subset: \"\\u22D0\",\n subset: \"\\u2282\",\n subseteq: \"\\u2286\",\n subseteqq: \"\\u2AC5\",\n SubsetEqual: \"\\u2286\",\n subsetneq: \"\\u228A\",\n subsetneqq: \"\\u2ACB\",\n subsim: \"\\u2AC7\",\n subsub: \"\\u2AD5\",\n subsup: \"\\u2AD3\",\n succ: \"\\u227B\",\n succapprox: \"\\u2AB8\",\n succcurlyeq: \"\\u227D\",\n Succeeds: \"\\u227B\",\n SucceedsEqual: \"\\u2AB0\",\n SucceedsSlantEqual: \"\\u227D\",\n SucceedsTilde: \"\\u227F\",\n succeq: \"\\u2AB0\",\n succnapprox: \"\\u2ABA\",\n succneqq: \"\\u2AB6\",\n succnsim: \"\\u22E9\",\n succsim: \"\\u227F\",\n SuchThat: \"\\u220B\",\n Sum: \"\\u2211\",\n sum: \"\\u2211\",\n sung: \"\\u266A\",\n Sup: \"\\u22D1\",\n sup: \"\\u2283\",\n sup1: \"\\xb9\",\n sup2: \"\\xb2\",\n sup3: \"\\xb3\",\n supdot: \"\\u2ABE\",\n supdsub: \"\\u2AD8\",\n supE: \"\\u2AC6\",\n supe: \"\\u2287\",\n supedot: \"\\u2AC4\",\n Superset: \"\\u2283\",\n SupersetEqual: \"\\u2287\",\n suphsol: \"\\u27C9\",\n suphsub: \"\\u2AD7\",\n suplarr: \"\\u297B\",\n supmult: \"\\u2AC2\",\n supnE: \"\\u2ACC\",\n supne: \"\\u228B\",\n supplus: \"\\u2AC0\",\n Supset: \"\\u22D1\",\n supset: \"\\u2283\",\n supseteq: \"\\u2287\",\n supseteqq: \"\\u2AC6\",\n supsetneq: \"\\u228B\",\n supsetneqq: \"\\u2ACC\",\n supsim: \"\\u2AC8\",\n supsub: \"\\u2AD4\",\n supsup: \"\\u2AD6\",\n swarhk: \"\\u2926\",\n swArr: \"\\u21D9\",\n swarr: \"\\u2199\",\n swarrow: \"\\u2199\",\n swnwar: \"\\u292A\",\n szlig: \"\\xdf\",\n Tab: \"\t\",\n target: \"\\u2316\",\n Tau: \"\\u03A4\",\n tau: \"\\u03C4\",\n tbrk: \"\\u23B4\",\n Tcaron: \"\\u0164\",\n tcaron: \"\\u0165\",\n Tcedil: \"\\u0162\",\n tcedil: \"\\u0163\",\n Tcy: \"\\u0422\",\n tcy: \"\\u0442\",\n tdot: \"\\u20DB\",\n telrec: \"\\u2315\",\n Tfr: \"\\uD835\\uDD17\",\n tfr: \"\\uD835\\uDD31\",\n there4: \"\\u2234\",\n Therefore: \"\\u2234\",\n therefore: \"\\u2234\",\n Theta: \"\\u0398\",\n theta: \"\\u03B8\",\n thetasym: \"\\u03D1\",\n thetav: \"\\u03D1\",\n thickapprox: \"\\u2248\",\n thicksim: \"\\u223C\",\n ThickSpace: \"\\u205F\\u200A\",\n thinsp: \"\\u2009\",\n ThinSpace: \"\\u2009\",\n thkap: \"\\u2248\",\n thksim: \"\\u223C\",\n THORN: \"\\xde\",\n thorn: \"\\xfe\",\n Tilde: \"\\u223C\",\n tilde: \"\\u02DC\",\n TildeEqual: \"\\u2243\",\n TildeFullEqual: \"\\u2245\",\n TildeTilde: \"\\u2248\",\n times: \"\\xd7\",\n timesb: \"\\u22A0\",\n timesbar: \"\\u2A31\",\n timesd: \"\\u2A30\",\n tint: \"\\u222D\",\n toea: \"\\u2928\",\n top: \"\\u22A4\",\n topbot: \"\\u2336\",\n topcir: \"\\u2AF1\",\n Topf: \"\\uD835\\uDD4B\",\n topf: \"\\uD835\\uDD65\",\n topfork: \"\\u2ADA\",\n tosa: \"\\u2929\",\n tprime: \"\\u2034\",\n TRADE: \"\\u2122\",\n trade: \"\\u2122\",\n triangle: \"\\u25B5\",\n triangledown: \"\\u25BF\",\n triangleleft: \"\\u25C3\",\n trianglelefteq: \"\\u22B4\",\n triangleq: \"\\u225C\",\n triangleright: \"\\u25B9\",\n trianglerighteq: \"\\u22B5\",\n tridot: \"\\u25EC\",\n trie: \"\\u225C\",\n triminus: \"\\u2A3A\",\n TripleDot: \"\\u20DB\",\n triplus: \"\\u2A39\",\n trisb: \"\\u29CD\",\n tritime: \"\\u2A3B\",\n trpezium: \"\\u23E2\",\n Tscr: \"\\uD835\\uDCAF\",\n tscr: \"\\uD835\\uDCC9\",\n TScy: \"\\u0426\",\n tscy: \"\\u0446\",\n TSHcy: \"\\u040B\",\n tshcy: \"\\u045B\",\n Tstrok: \"\\u0166\",\n tstrok: \"\\u0167\",\n twixt: \"\\u226C\",\n twoheadleftarrow: \"\\u219E\",\n twoheadrightarrow: \"\\u21A0\",\n Uacute: \"\\xda\",\n uacute: \"\\xfa\",\n Uarr: \"\\u219F\",\n uArr: \"\\u21D1\",\n uarr: \"\\u2191\",\n Uarrocir: \"\\u2949\",\n Ubrcy: \"\\u040E\",\n ubrcy: \"\\u045E\",\n Ubreve: \"\\u016C\",\n ubreve: \"\\u016D\",\n Ucirc: \"\\xdb\",\n ucirc: \"\\xfb\",\n Ucy: \"\\u0423\",\n ucy: \"\\u0443\",\n udarr: \"\\u21C5\",\n Udblac: \"\\u0170\",\n udblac: \"\\u0171\",\n udhar: \"\\u296E\",\n ufisht: \"\\u297E\",\n Ufr: \"\\uD835\\uDD18\",\n ufr: \"\\uD835\\uDD32\",\n Ugrave: \"\\xd9\",\n ugrave: \"\\xf9\",\n uHar: \"\\u2963\",\n uharl: \"\\u21BF\",\n uharr: \"\\u21BE\",\n uhblk: \"\\u2580\",\n ulcorn: \"\\u231C\",\n ulcorner: \"\\u231C\",\n ulcrop: \"\\u230F\",\n ultri: \"\\u25F8\",\n Umacr: \"\\u016A\",\n umacr: \"\\u016B\",\n uml: \"\\xa8\",\n UnderBar: \"_\",\n UnderBrace: \"\\u23DF\",\n UnderBracket: \"\\u23B5\",\n UnderParenthesis: \"\\u23DD\",\n Union: \"\\u22C3\",\n UnionPlus: \"\\u228E\",\n Uogon: \"\\u0172\",\n uogon: \"\\u0173\",\n Uopf: \"\\uD835\\uDD4C\",\n uopf: \"\\uD835\\uDD66\",\n UpArrow: \"\\u2191\",\n Uparrow: \"\\u21D1\",\n uparrow: \"\\u2191\",\n UpArrowBar: \"\\u2912\",\n UpArrowDownArrow: \"\\u21C5\",\n UpDownArrow: \"\\u2195\",\n Updownarrow: \"\\u21D5\",\n updownarrow: \"\\u2195\",\n UpEquilibrium: \"\\u296E\",\n upharpoonleft: \"\\u21BF\",\n upharpoonright: \"\\u21BE\",\n uplus: \"\\u228E\",\n UpperLeftArrow: \"\\u2196\",\n UpperRightArrow: \"\\u2197\",\n Upsi: \"\\u03D2\",\n upsi: \"\\u03C5\",\n upsih: \"\\u03D2\",\n Upsilon: \"\\u03A5\",\n upsilon: \"\\u03C5\",\n UpTee: \"\\u22A5\",\n UpTeeArrow: \"\\u21A5\",\n upuparrows: \"\\u21C8\",\n urcorn: \"\\u231D\",\n urcorner: \"\\u231D\",\n urcrop: \"\\u230E\",\n Uring: \"\\u016E\",\n uring: \"\\u016F\",\n urtri: \"\\u25F9\",\n Uscr: \"\\uD835\\uDCB0\",\n uscr: \"\\uD835\\uDCCA\",\n utdot: \"\\u22F0\",\n Utilde: \"\\u0168\",\n utilde: \"\\u0169\",\n utri: \"\\u25B5\",\n utrif: \"\\u25B4\",\n uuarr: \"\\u21C8\",\n Uuml: \"\\xdc\",\n uuml: \"\\xfc\",\n uwangle: \"\\u29A7\",\n vangrt: \"\\u299C\",\n varepsilon: \"\\u03F5\",\n varkappa: \"\\u03F0\",\n varnothing: \"\\u2205\",\n varphi: \"\\u03D5\",\n varpi: \"\\u03D6\",\n varpropto: \"\\u221D\",\n vArr: \"\\u21D5\",\n varr: \"\\u2195\",\n varrho: \"\\u03F1\",\n varsigma: \"\\u03C2\",\n varsubsetneq: \"\\u228A\\uFE00\",\n varsubsetneqq: \"\\u2ACB\\uFE00\",\n varsupsetneq: \"\\u228B\\uFE00\",\n varsupsetneqq: \"\\u2ACC\\uFE00\",\n vartheta: \"\\u03D1\",\n vartriangleleft: \"\\u22B2\",\n vartriangleright: \"\\u22B3\",\n Vbar: \"\\u2AEB\",\n vBar: \"\\u2AE8\",\n vBarv: \"\\u2AE9\",\n Vcy: \"\\u0412\",\n vcy: \"\\u0432\",\n VDash: \"\\u22AB\",\n Vdash: \"\\u22A9\",\n vDash: \"\\u22A8\",\n vdash: \"\\u22A2\",\n Vdashl: \"\\u2AE6\",\n Vee: \"\\u22C1\",\n vee: \"\\u2228\",\n veebar: \"\\u22BB\",\n veeeq: \"\\u225A\",\n vellip: \"\\u22EE\",\n Verbar: \"\\u2016\",\n verbar: \"|\",\n Vert: \"\\u2016\",\n vert: \"|\",\n VerticalBar: \"\\u2223\",\n VerticalLine: \"|\",\n VerticalSeparator: \"\\u2758\",\n VerticalTilde: \"\\u2240\",\n VeryThinSpace: \"\\u200A\",\n Vfr: \"\\uD835\\uDD19\",\n vfr: \"\\uD835\\uDD33\",\n vltri: \"\\u22B2\",\n vnsub: \"\\u2282\\u20D2\",\n vnsup: \"\\u2283\\u20D2\",\n Vopf: \"\\uD835\\uDD4D\",\n vopf: \"\\uD835\\uDD67\",\n vprop: \"\\u221D\",\n vrtri: \"\\u22B3\",\n Vscr: \"\\uD835\\uDCB1\",\n vscr: \"\\uD835\\uDCCB\",\n vsubnE: \"\\u2ACB\\uFE00\",\n vsubne: \"\\u228A\\uFE00\",\n vsupnE: \"\\u2ACC\\uFE00\",\n vsupne: \"\\u228B\\uFE00\",\n Vvdash: \"\\u22AA\",\n vzigzag: \"\\u299A\",\n Wcirc: \"\\u0174\",\n wcirc: \"\\u0175\",\n wedbar: \"\\u2A5F\",\n Wedge: \"\\u22C0\",\n wedge: \"\\u2227\",\n wedgeq: \"\\u2259\",\n weierp: \"\\u2118\",\n Wfr: \"\\uD835\\uDD1A\",\n wfr: \"\\uD835\\uDD34\",\n Wopf: \"\\uD835\\uDD4E\",\n wopf: \"\\uD835\\uDD68\",\n wp: \"\\u2118\",\n wr: \"\\u2240\",\n wreath: \"\\u2240\",\n Wscr: \"\\uD835\\uDCB2\",\n wscr: \"\\uD835\\uDCCC\",\n xcap: \"\\u22C2\",\n xcirc: \"\\u25EF\",\n xcup: \"\\u22C3\",\n xdtri: \"\\u25BD\",\n Xfr: \"\\uD835\\uDD1B\",\n xfr: \"\\uD835\\uDD35\",\n xhArr: \"\\u27FA\",\n xharr: \"\\u27F7\",\n Xi: \"\\u039E\",\n xi: \"\\u03BE\",\n xlArr: \"\\u27F8\",\n xlarr: \"\\u27F5\",\n xmap: \"\\u27FC\",\n xnis: \"\\u22FB\",\n xodot: \"\\u2A00\",\n Xopf: \"\\uD835\\uDD4F\",\n xopf: \"\\uD835\\uDD69\",\n xoplus: \"\\u2A01\",\n xotime: \"\\u2A02\",\n xrArr: \"\\u27F9\",\n xrarr: \"\\u27F6\",\n Xscr: \"\\uD835\\uDCB3\",\n xscr: \"\\uD835\\uDCCD\",\n xsqcup: \"\\u2A06\",\n xuplus: \"\\u2A04\",\n xutri: \"\\u25B3\",\n xvee: \"\\u22C1\",\n xwedge: \"\\u22C0\",\n Yacute: \"\\xdd\",\n yacute: \"\\xfd\",\n YAcy: \"\\u042F\",\n yacy: \"\\u044F\",\n Ycirc: \"\\u0176\",\n ycirc: \"\\u0177\",\n Ycy: \"\\u042B\",\n ycy: \"\\u044B\",\n yen: \"\\xa5\",\n Yfr: \"\\uD835\\uDD1C\",\n yfr: \"\\uD835\\uDD36\",\n YIcy: \"\\u0407\",\n yicy: \"\\u0457\",\n Yopf: \"\\uD835\\uDD50\",\n yopf: \"\\uD835\\uDD6A\",\n Yscr: \"\\uD835\\uDCB4\",\n yscr: \"\\uD835\\uDCCE\",\n YUcy: \"\\u042E\",\n yucy: \"\\u044E\",\n Yuml: \"\\u0178\",\n yuml: \"\\xff\",\n Zacute: \"\\u0179\",\n zacute: \"\\u017A\",\n Zcaron: \"\\u017D\",\n zcaron: \"\\u017E\",\n Zcy: \"\\u0417\",\n zcy: \"\\u0437\",\n Zdot: \"\\u017B\",\n zdot: \"\\u017C\",\n zeetrf: \"\\u2128\",\n ZeroWidthSpace: \"\\u200B\",\n Zeta: \"\\u0396\",\n zeta: \"\\u03B6\",\n Zfr: \"\\u2128\",\n zfr: \"\\uD835\\uDD37\",\n ZHcy: \"\\u0416\",\n zhcy: \"\\u0436\",\n zigrarr: \"\\u21DD\",\n Zopf: \"\\u2124\",\n zopf: \"\\uD835\\uDD6B\",\n Zscr: \"\\uD835\\uDCB5\",\n zscr: \"\\uD835\\uDCCF\",\n zwj: \"\\u200D\",\n zwnj: \"\\u200C\"\n});\n$0fb4d3c0f896b52a$export$79451380caed3f98 = $0fb4d3c0f896b52a$export$b7e4d4631df36afa;\n\n});\n\nparcelRegister(\"lXVGc\", function(module, exports) {\n\n$parcel$export(module.exports, \"XMLReader\", () => $ffdbd9a831ba40c5$export$ccbc9f9f018333e9, (v) => $ffdbd9a831ba40c5$export$ccbc9f9f018333e9 = v);\n$parcel$export(module.exports, \"ParseError\", () => $ffdbd9a831ba40c5$export$f9c837a54db411d, (v) => $ffdbd9a831ba40c5$export$f9c837a54db411d = v);\nvar $ffdbd9a831ba40c5$export$ccbc9f9f018333e9;\nvar $ffdbd9a831ba40c5$export$f9c837a54db411d;\n\nvar $fa2WO = parcelRequire(\"fa2WO\");\nvar $ffdbd9a831ba40c5$require$NAMESPACE = $fa2WO.NAMESPACE;\n//[4] \tNameStartChar\t ::= \t\":\" | [A-Z] | \"_\" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]\n//[4a] \tNameChar\t ::= \tNameStartChar | \"-\" | \".\" | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]\n//[5] \tName\t ::= \tNameStartChar (NameChar)*\nvar $ffdbd9a831ba40c5$var$nameStartChar = /[A-Z_a-z\\xC0-\\xD6\\xD8-\\xF6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/ //\\u10000-\\uEFFFF\n;\nvar $ffdbd9a831ba40c5$var$nameChar = new RegExp(\"[\\\\-\\\\.0-9\" + $ffdbd9a831ba40c5$var$nameStartChar.source.slice(1, -1) + \"\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]\");\nvar $ffdbd9a831ba40c5$var$tagNamePattern = new RegExp(\"^\" + $ffdbd9a831ba40c5$var$nameStartChar.source + $ffdbd9a831ba40c5$var$nameChar.source + \"*(?::\" + $ffdbd9a831ba40c5$var$nameStartChar.source + $ffdbd9a831ba40c5$var$nameChar.source + \"*)?$\");\n//var tagNamePattern = /^[a-zA-Z_][\\w\\-\\.]*(?:\\:[a-zA-Z_][\\w\\-\\.]*)?$/\n//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')\n//S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n//S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\nvar $ffdbd9a831ba40c5$var$S_TAG = 0; //tag name offerring\nvar $ffdbd9a831ba40c5$var$S_ATTR = 1; //attr name offerring\nvar $ffdbd9a831ba40c5$var$S_ATTR_SPACE = 2; //attr name end and space offer\nvar $ffdbd9a831ba40c5$var$S_EQ = 3; //=space?\nvar $ffdbd9a831ba40c5$var$S_ATTR_NOQUOT_VALUE = 4; //attr value(no quot value only)\nvar $ffdbd9a831ba40c5$var$S_ATTR_END = 5; //attr value end and no space(quot end)\nvar $ffdbd9a831ba40c5$var$S_TAG_SPACE = 6; //(attr value end || tag end ) && (space offer)\nvar $ffdbd9a831ba40c5$var$S_TAG_CLOSE = 7; //closed el\n/**\n * Creates an error that will not be caught by XMLReader aka the SAX parser.\n *\n * @param {string} message\n * @param {any?} locator Optional, can provide details about the location in the source\n * @constructor\n */ function $ffdbd9a831ba40c5$var$ParseError(message, locator) {\n this.message = message;\n this.locator = locator;\n if (Error.captureStackTrace) Error.captureStackTrace(this, $ffdbd9a831ba40c5$var$ParseError);\n}\n$ffdbd9a831ba40c5$var$ParseError.prototype = new Error();\n$ffdbd9a831ba40c5$var$ParseError.prototype.name = $ffdbd9a831ba40c5$var$ParseError.name;\nfunction $ffdbd9a831ba40c5$var$XMLReader() {}\n$ffdbd9a831ba40c5$var$XMLReader.prototype = {\n parse: function(source, defaultNSMap, entityMap) {\n var domBuilder = this.domBuilder;\n domBuilder.startDocument();\n $ffdbd9a831ba40c5$var$_copy(defaultNSMap, defaultNSMap = {});\n $ffdbd9a831ba40c5$var$parse(source, defaultNSMap, entityMap, domBuilder, this.errorHandler);\n domBuilder.endDocument();\n }\n};\nfunction $ffdbd9a831ba40c5$var$parse(source, defaultNSMapCopy, entityMap, domBuilder, errorHandler) {\n function fixedFromCharCode(code) {\n // String.prototype.fromCharCode does not supports\n // > 2 bytes unicode chars directly\n if (code > 0xffff) {\n code -= 0x10000;\n var surrogate1 = 0xd800 + (code >> 10), surrogate2 = 0xdc00 + (code & 0x3ff);\n return String.fromCharCode(surrogate1, surrogate2);\n } else return String.fromCharCode(code);\n }\n function entityReplacer(a) {\n var k = a.slice(1, -1);\n if (Object.hasOwnProperty.call(entityMap, k)) return entityMap[k];\n else if (k.charAt(0) === \"#\") return fixedFromCharCode(parseInt(k.substr(1).replace(\"x\", \"0x\")));\n else {\n errorHandler.error(\"entity not found:\" + a);\n return a;\n }\n }\n function appendText(end) {\n if (end > start) {\n var xt = source.substring(start, end).replace(/&#?\\w+;/g, entityReplacer);\n locator && position(start);\n domBuilder.characters(xt, 0, end - start);\n start = end;\n }\n }\n function position(p, m) {\n while(p >= lineEnd && (m = linePattern.exec(source))){\n lineStart = m.index;\n lineEnd = lineStart + m[0].length;\n locator.lineNumber++;\n //console.log('line++:',locator,startPos,endPos)\n }\n locator.columnNumber = p - lineStart + 1;\n }\n var lineStart = 0;\n var lineEnd = 0;\n var linePattern = /.*(?:\\r\\n?|\\n)|.*$/g;\n var locator = domBuilder.locator;\n var parseStack = [\n {\n currentNSMap: defaultNSMapCopy\n }\n ];\n var closeMap = {};\n var start = 0;\n while(true){\n try {\n var tagStart = source.indexOf(\"<\", start);\n if (tagStart < 0) {\n if (!source.substr(start).match(/^\\s*$/)) {\n var doc = domBuilder.doc;\n var text = doc.createTextNode(source.substr(start));\n doc.appendChild(text);\n domBuilder.currentElement = text;\n }\n return;\n }\n if (tagStart > start) appendText(tagStart);\n switch(source.charAt(tagStart + 1)){\n case \"/\":\n var end = source.indexOf(\">\", tagStart + 3);\n var tagName = source.substring(tagStart + 2, end).replace(/[ \\t\\n\\r]+$/g, \"\");\n var config = parseStack.pop();\n if (end < 0) {\n tagName = source.substring(tagStart + 2).replace(/[\\s<].*/, \"\");\n errorHandler.error(\"end tag name: \" + tagName + \" is not complete:\" + config.tagName);\n end = tagStart + 1 + tagName.length;\n } else if (tagName.match(/\\s start) start = end;\n else //TODO: 这里有可能sax回退,有位置错误风险\n appendText(Math.max(tagStart, start) + 1);\n }\n}\nfunction $ffdbd9a831ba40c5$var$copyLocator(f, t) {\n t.lineNumber = f.lineNumber;\n t.columnNumber = f.columnNumber;\n return t;\n}\n/**\n * @see #appendElement(source,elStartEnd,el,selfClosed,entityReplacer,domBuilder,parseStack);\n * @return end of the elementStartPart(end of elementEndPart for selfClosed el)\n */ function $ffdbd9a831ba40c5$var$parseElementStartPart(source, start, el, currentNSMap, entityReplacer, errorHandler) {\n /**\n\t * @param {string} qname\n\t * @param {string} value\n\t * @param {number} startIndex\n\t */ function addAttribute(qname, value, startIndex) {\n if (el.attributeNames.hasOwnProperty(qname)) errorHandler.fatalError(\"Attribute \" + qname + \" redefined\");\n el.addValue(qname, // @see https://www.w3.org/TR/xml/#AVNormalize\n // since the xmldom sax parser does not \"interpret\" DTD the following is not implemented:\n // - recursive replacement of (DTD) entity references\n // - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA\n value.replace(/[\\t\\n\\r]/g, \" \").replace(/&#?\\w+;/g, entityReplacer), startIndex);\n }\n var attrName;\n var value;\n var p = ++start;\n var s = $ffdbd9a831ba40c5$var$S_TAG; //status\n while(true){\n var c = source.charAt(p);\n switch(c){\n case \"=\":\n if (s === $ffdbd9a831ba40c5$var$S_ATTR) {\n attrName = source.slice(start, p);\n s = $ffdbd9a831ba40c5$var$S_EQ;\n } else if (s === $ffdbd9a831ba40c5$var$S_ATTR_SPACE) s = $ffdbd9a831ba40c5$var$S_EQ;\n else //fatalError: equal must after attrName or space after attrName\n throw new Error(\"attribute equal must after attrName\"); // No known test case\n break;\n case \"'\":\n case '\"':\n if (s === $ffdbd9a831ba40c5$var$S_EQ || s === $ffdbd9a831ba40c5$var$S_ATTR //|| s == S_ATTR_SPACE\n ) {\n if (s === $ffdbd9a831ba40c5$var$S_ATTR) {\n errorHandler.warning('attribute value must after \"=\"');\n attrName = source.slice(start, p);\n }\n start = p + 1;\n p = source.indexOf(c, start);\n if (p > 0) {\n value = source.slice(start, p);\n addAttribute(attrName, value, start - 1);\n s = $ffdbd9a831ba40c5$var$S_ATTR_END;\n } else //fatalError: no end quot match\n throw new Error(\"attribute value no end '\" + c + \"' match\");\n } else if (s == $ffdbd9a831ba40c5$var$S_ATTR_NOQUOT_VALUE) {\n value = source.slice(start, p);\n addAttribute(attrName, value, start);\n errorHandler.warning('attribute \"' + attrName + '\" missed start quot(' + c + \")!!\");\n start = p + 1;\n s = $ffdbd9a831ba40c5$var$S_ATTR_END;\n } else //fatalError: no equal before\n throw new Error('attribute value must after \"=\"'); // No known test case\n break;\n case \"/\":\n switch(s){\n case $ffdbd9a831ba40c5$var$S_TAG:\n el.setTagName(source.slice(start, p));\n case $ffdbd9a831ba40c5$var$S_ATTR_END:\n case $ffdbd9a831ba40c5$var$S_TAG_SPACE:\n case $ffdbd9a831ba40c5$var$S_TAG_CLOSE:\n s = $ffdbd9a831ba40c5$var$S_TAG_CLOSE;\n el.closed = true;\n case $ffdbd9a831ba40c5$var$S_ATTR_NOQUOT_VALUE:\n case $ffdbd9a831ba40c5$var$S_ATTR:\n break;\n case $ffdbd9a831ba40c5$var$S_ATTR_SPACE:\n el.closed = true;\n break;\n //case S_EQ:\n default:\n throw new Error(\"attribute invalid close char('/')\") // No known test case\n ;\n }\n break;\n case \"\":\n errorHandler.error(\"unexpected end of input\");\n if (s == $ffdbd9a831ba40c5$var$S_TAG) el.setTagName(source.slice(start, p));\n return p;\n case \">\":\n switch(s){\n case $ffdbd9a831ba40c5$var$S_TAG:\n el.setTagName(source.slice(start, p));\n case $ffdbd9a831ba40c5$var$S_ATTR_END:\n case $ffdbd9a831ba40c5$var$S_TAG_SPACE:\n case $ffdbd9a831ba40c5$var$S_TAG_CLOSE:\n break; //normal\n case $ffdbd9a831ba40c5$var$S_ATTR_NOQUOT_VALUE:\n case $ffdbd9a831ba40c5$var$S_ATTR:\n value = source.slice(start, p);\n if (value.slice(-1) === \"/\") {\n el.closed = true;\n value = value.slice(0, -1);\n }\n case $ffdbd9a831ba40c5$var$S_ATTR_SPACE:\n if (s === $ffdbd9a831ba40c5$var$S_ATTR_SPACE) value = attrName;\n if (s == $ffdbd9a831ba40c5$var$S_ATTR_NOQUOT_VALUE) {\n errorHandler.warning('attribute \"' + value + '\" missed quot(\")!');\n addAttribute(attrName, value, start);\n } else {\n if (!$ffdbd9a831ba40c5$require$NAMESPACE.isHTML(currentNSMap[\"\"]) || !value.match(/^(?:disabled|checked|selected)$/i)) errorHandler.warning('attribute \"' + value + '\" missed value!! \"' + value + '\" instead!!');\n addAttribute(value, value, start);\n }\n break;\n case $ffdbd9a831ba40c5$var$S_EQ:\n throw new Error(\"attribute value missed!!\");\n }\n //\t\t\tconsole.log(tagName,tagNamePattern,tagNamePattern.test(tagName))\n return p;\n /*xml space '\\x20' | #x9 | #xD | #xA; */ case \"\\x80\":\n c = \" \";\n default:\n if (c <= \" \") switch(s){\n case $ffdbd9a831ba40c5$var$S_TAG:\n el.setTagName(source.slice(start, p)); //tagName\n s = $ffdbd9a831ba40c5$var$S_TAG_SPACE;\n break;\n case $ffdbd9a831ba40c5$var$S_ATTR:\n attrName = source.slice(start, p);\n s = $ffdbd9a831ba40c5$var$S_ATTR_SPACE;\n break;\n case $ffdbd9a831ba40c5$var$S_ATTR_NOQUOT_VALUE:\n var value = source.slice(start, p);\n errorHandler.warning('attribute \"' + value + '\" missed quot(\")!!');\n addAttribute(attrName, value, start);\n case $ffdbd9a831ba40c5$var$S_ATTR_END:\n s = $ffdbd9a831ba40c5$var$S_TAG_SPACE;\n break;\n }\n else //S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n //S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\n switch(s){\n //case S_TAG:void();break;\n //case S_ATTR:void();break;\n //case S_ATTR_NOQUOT_VALUE:void();break;\n case $ffdbd9a831ba40c5$var$S_ATTR_SPACE:\n var tagName = el.tagName;\n if (!$ffdbd9a831ba40c5$require$NAMESPACE.isHTML(currentNSMap[\"\"]) || !attrName.match(/^(?:disabled|checked|selected)$/i)) errorHandler.warning('attribute \"' + attrName + '\" missed value!! \"' + attrName + '\" instead2!!');\n addAttribute(attrName, attrName, start);\n start = p;\n s = $ffdbd9a831ba40c5$var$S_ATTR;\n break;\n case $ffdbd9a831ba40c5$var$S_ATTR_END:\n errorHandler.warning('attribute space is required\"' + attrName + '\"!!');\n case $ffdbd9a831ba40c5$var$S_TAG_SPACE:\n s = $ffdbd9a831ba40c5$var$S_ATTR;\n start = p;\n break;\n case $ffdbd9a831ba40c5$var$S_EQ:\n s = $ffdbd9a831ba40c5$var$S_ATTR_NOQUOT_VALUE;\n start = p;\n break;\n case $ffdbd9a831ba40c5$var$S_TAG_CLOSE:\n throw new Error(\"elements closed character '/' and '>' must be connected to\");\n }\n } //end outer switch\n //console.log('p++',p)\n p++;\n }\n}\n/**\n * @return true if has new namespace define\n */ function $ffdbd9a831ba40c5$var$appendElement(el, domBuilder, currentNSMap) {\n var tagName = el.tagName;\n var localNSMap = null;\n //var currentNSMap = parseStack[parseStack.length-1].currentNSMap;\n var i = el.length;\n while(i--){\n var a = el[i];\n var qName = a.qName;\n var value = a.value;\n var nsp = qName.indexOf(\":\");\n if (nsp > 0) {\n var prefix = a.prefix = qName.slice(0, nsp);\n var localName = qName.slice(nsp + 1);\n var nsPrefix = prefix === \"xmlns\" && localName;\n } else {\n localName = qName;\n prefix = null;\n nsPrefix = qName === \"xmlns\" && \"\";\n }\n //can not set prefix,because prefix !== ''\n a.localName = localName;\n //prefix == null for no ns prefix attribute\n if (nsPrefix !== false) {\n if (localNSMap == null) {\n localNSMap = {};\n //console.log(currentNSMap,0)\n $ffdbd9a831ba40c5$var$_copy(currentNSMap, currentNSMap = {});\n //console.log(currentNSMap,1)\n }\n currentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;\n a.uri = $ffdbd9a831ba40c5$require$NAMESPACE.XMLNS;\n domBuilder.startPrefixMapping(nsPrefix, value);\n }\n }\n var i = el.length;\n while(i--){\n a = el[i];\n var prefix = a.prefix;\n if (prefix) {\n if (prefix === \"xml\") a.uri = $ffdbd9a831ba40c5$require$NAMESPACE.XML;\n if (prefix !== \"xmlns\") a.uri = currentNSMap[prefix || \"\"];\n }\n }\n var nsp = tagName.indexOf(\":\");\n if (nsp > 0) {\n prefix = el.prefix = tagName.slice(0, nsp);\n localName = el.localName = tagName.slice(nsp + 1);\n } else {\n prefix = null; //important!!\n localName = el.localName = tagName;\n }\n //no prefix element has default namespace\n var ns = el.uri = currentNSMap[prefix || \"\"];\n domBuilder.startElement(ns, localName, tagName, el);\n //endPrefixMapping and startPrefixMapping have not any help for dom builder\n //localNSMap = null\n if (el.closed) {\n domBuilder.endElement(ns, localName, tagName);\n if (localNSMap) {\n for(prefix in localNSMap)if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) domBuilder.endPrefixMapping(prefix);\n }\n } else {\n el.currentNSMap = currentNSMap;\n el.localNSMap = localNSMap;\n //parseStack.push(el);\n return true;\n }\n}\nfunction $ffdbd9a831ba40c5$var$parseHtmlSpecialContent(source, elStartEnd, tagName, entityReplacer, domBuilder) {\n if (/^(?:script|textarea)$/i.test(tagName)) {\n var elEndStart = source.indexOf(\"\", elStartEnd);\n var text = source.substring(elStartEnd + 1, elEndStart);\n if (/[&<]/.test(text)) {\n if (/^script$/i.test(tagName)) {\n //if(!/\\]\\]>/.test(text)){\n //lexHandler.startCDATA();\n domBuilder.characters(text, 0, text.length);\n //lexHandler.endCDATA();\n return elEndStart;\n //}\n } //}else{//text area\n text = text.replace(/&#?\\w+;/g, entityReplacer);\n domBuilder.characters(text, 0, text.length);\n return elEndStart;\n //}\n }\n }\n return elStartEnd + 1;\n}\nfunction $ffdbd9a831ba40c5$var$fixSelfClosed(source, elStartEnd, tagName, closeMap) {\n //if(tagName in closeMap){\n var pos = closeMap[tagName];\n if (pos == null) {\n //console.log(tagName)\n pos = source.lastIndexOf(\"\");\n if (pos < elStartEnd) pos = source.lastIndexOf(\"\", start + 4);\n //append comment source.substring(4,end)//\");\n\tcase DOCUMENT_TYPE_NODE:\n\t\tvar pubid = node.publicId;\n\t\tvar sysid = node.systemId;\n\t\tbuf.push('');\n\t\t}else if(sysid && sysid!='.'){\n\t\t\tbuf.push(' SYSTEM ', sysid, '>');\n\t\t}else{\n\t\t\tvar sub = node.internalSubset;\n\t\t\tif(sub){\n\t\t\t\tbuf.push(\" [\",sub,\"]\");\n\t\t\t}\n\t\t\tbuf.push(\">\");\n\t\t}\n\t\treturn;\n\tcase PROCESSING_INSTRUCTION_NODE:\n\t\treturn buf.push( \"\");\n\tcase ENTITY_REFERENCE_NODE:\n\t\treturn buf.push( '&',node.nodeName,';');\n\t//case ENTITY_NODE:\n\t//case NOTATION_NODE:\n\tdefault:\n\t\tbuf.push('??',node.nodeName);\n\t}\n}\nfunction importNode(doc,node,deep){\n\tvar node2;\n\tswitch (node.nodeType) {\n\tcase ELEMENT_NODE:\n\t\tnode2 = node.cloneNode(false);\n\t\tnode2.ownerDocument = doc;\n\t\t//var attrs = node2.attributes;\n\t\t//var len = attrs.length;\n\t\t//for(var i=0;i | ({length:number, [number]: T})} list\n * @param {function (item: T, index: number, list:Array | ({length:number, [number]: T})):boolean} predicate\n * @param {Partial>?} ac `Array.prototype` by default,\n * \t\t\t\tallows injecting a custom implementation in tests\n * @returns {T | undefined}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n * @see https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.find\n */\nfunction find(list, predicate, ac) {\n\tif (ac === undefined) {\n\t\tac = Array.prototype;\n\t}\n\tif (list && typeof ac.find === 'function') {\n\t\treturn ac.find.call(list, predicate);\n\t}\n\tfor (var i = 0; i < list.length; i++) {\n\t\tif (Object.prototype.hasOwnProperty.call(list, i)) {\n\t\t\tvar item = list[i];\n\t\t\tif (predicate.call(undefined, item, i, list)) {\n\t\t\t\treturn item;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * \"Shallow freezes\" an object to render it immutable.\n * Uses `Object.freeze` if available,\n * otherwise the immutability is only in the type.\n *\n * Is used to create \"enum like\" objects.\n *\n * @template T\n * @param {T} object the object to freeze\n * @param {Pick = Object} oc `Object` by default,\n * \t\t\t\tallows to inject custom object constructor for tests\n * @returns {Readonly}\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n */\nfunction freeze(object, oc) {\n\tif (oc === undefined) {\n\t\toc = Object\n\t}\n\treturn oc && typeof oc.freeze === 'function' ? oc.freeze(object) : object\n}\n\n/**\n * Since we can not rely on `Object.assign` we provide a simplified version\n * that is sufficient for our needs.\n *\n * @param {Object} target\n * @param {Object | null | undefined} source\n *\n * @returns {Object} target\n * @throws TypeError if target is not an object\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n * @see https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.assign\n */\nfunction assign(target, source) {\n\tif (target === null || typeof target !== 'object') {\n\t\tthrow new TypeError('target is not an object')\n\t}\n\tfor (var key in source) {\n\t\tif (Object.prototype.hasOwnProperty.call(source, key)) {\n\t\t\ttarget[key] = source[key]\n\t\t}\n\t}\n\treturn target\n}\n\n/**\n * All mime types that are allowed as input to `DOMParser.parseFromString`\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#Argument02 MDN\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparsersupportedtype WHATWG HTML Spec\n * @see DOMParser.prototype.parseFromString\n */\nvar MIME_TYPE = freeze({\n\t/**\n\t * `text/html`, the only mime type that triggers treating an XML document as HTML.\n\t *\n\t * @see DOMParser.SupportedType.isHTML\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec\n\t */\n\tHTML: 'text/html',\n\n\t/**\n\t * Helper method to check a mime type if it indicates an HTML document\n\t *\n\t * @param {string} [value]\n\t * @returns {boolean}\n\t *\n\t * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/HTML Wikipedia\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN\n\t * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring \t */\n\tisHTML: function (value) {\n\t\treturn value === MIME_TYPE.HTML\n\t},\n\n\t/**\n\t * `application/xml`, the standard mime type for XML documents.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */\n\tXML_APPLICATION: 'application/xml',\n\n\t/**\n\t * `text/html`, an alias for `application/xml`.\n\t *\n\t * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303\n\t * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration\n\t * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia\n\t */\n\tXML_TEXT: 'text/xml',\n\n\t/**\n\t * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,\n\t * but is parsed as an XML document.\n\t *\n\t * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration\n\t * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec\n\t * @see https://en.wikipedia.org/wiki/XHTML Wikipedia\n\t */\n\tXML_XHTML_APPLICATION: 'application/xhtml+xml',\n\n\t/**\n\t * `image/svg+xml`,\n\t *\n\t * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration\n\t * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1\n\t * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia\n\t */\n\tXML_SVG_IMAGE: 'image/svg+xml',\n})\n\n/**\n * Namespaces that are used in this code base.\n *\n * @see http://www.w3.org/TR/REC-xml-names\n */\nvar NAMESPACE = freeze({\n\t/**\n\t * The XHTML namespace.\n\t *\n\t * @see http://www.w3.org/1999/xhtml\n\t */\n\tHTML: 'http://www.w3.org/1999/xhtml',\n\n\t/**\n\t * Checks if `uri` equals `NAMESPACE.HTML`.\n\t *\n\t * @param {string} [uri]\n\t *\n\t * @see NAMESPACE.HTML\n\t */\n\tisHTML: function (uri) {\n\t\treturn uri === NAMESPACE.HTML\n\t},\n\n\t/**\n\t * The SVG namespace.\n\t *\n\t * @see http://www.w3.org/2000/svg\n\t */\n\tSVG: 'http://www.w3.org/2000/svg',\n\n\t/**\n\t * The `xml:` namespace.\n\t *\n\t * @see http://www.w3.org/XML/1998/namespace\n\t */\n\tXML: 'http://www.w3.org/XML/1998/namespace',\n\n\t/**\n\t * The `xmlns:` namespace\n\t *\n\t * @see https://www.w3.org/2000/xmlns/\n\t */\n\tXMLNS: 'http://www.w3.org/2000/xmlns/',\n})\n\nexports.assign = assign;\nexports.find = find;\nexports.freeze = freeze;\nexports.MIME_TYPE = MIME_TYPE;\nexports.NAMESPACE = NAMESPACE;\n","var conventions = require(\"./conventions\");\nvar dom = require('./dom')\nvar entities = require('./entities');\nvar sax = require('./sax');\n\nvar DOMImplementation = dom.DOMImplementation;\n\nvar NAMESPACE = conventions.NAMESPACE;\n\nvar ParseError = sax.ParseError;\nvar XMLReader = sax.XMLReader;\n\n/**\n * Normalizes line ending according to https://www.w3.org/TR/xml11/#sec-line-ends:\n *\n * > XML parsed entities are often stored in computer files which,\n * > for editing convenience, are organized into lines.\n * > These lines are typically separated by some combination\n * > of the characters CARRIAGE RETURN (#xD) and LINE FEED (#xA).\n * >\n * > To simplify the tasks of applications, the XML processor must behave\n * > as if it normalized all line breaks in external parsed entities (including the document entity)\n * > on input, before parsing, by translating all of the following to a single #xA character:\n * >\n * > 1. the two-character sequence #xD #xA\n * > 2. the two-character sequence #xD #x85\n * > 3. the single character #x85\n * > 4. the single character #x2028\n * > 5. any #xD character that is not immediately followed by #xA or #x85.\n *\n * @param {string} input\n * @returns {string}\n */\nfunction normalizeLineEndings(input) {\n\treturn input\n\t\t.replace(/\\r[\\n\\u0085]/g, '\\n')\n\t\t.replace(/[\\r\\u0085\\u2028]/g, '\\n')\n}\n\n/**\n * @typedef Locator\n * @property {number} [columnNumber]\n * @property {number} [lineNumber]\n */\n\n/**\n * @typedef DOMParserOptions\n * @property {DOMHandler} [domBuilder]\n * @property {Function} [errorHandler]\n * @property {(string) => string} [normalizeLineEndings] used to replace line endings before parsing\n * \t\t\t\t\t\tdefaults to `normalizeLineEndings`\n * @property {Locator} [locator]\n * @property {Record} [xmlns]\n *\n * @see normalizeLineEndings\n */\n\n/**\n * The DOMParser interface provides the ability to parse XML or HTML source code\n * from a string into a DOM `Document`.\n *\n * _xmldom is different from the spec in that it allows an `options` parameter,\n * to override the default behavior._\n *\n * @param {DOMParserOptions} [options]\n * @constructor\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser\n * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization\n */\nfunction DOMParser(options){\n\tthis.options = options ||{locator:{}};\n}\n\nDOMParser.prototype.parseFromString = function(source,mimeType){\n\tvar options = this.options;\n\tvar sax = new XMLReader();\n\tvar domBuilder = options.domBuilder || new DOMHandler();//contentHandler and LexicalHandler\n\tvar errorHandler = options.errorHandler;\n\tvar locator = options.locator;\n\tvar defaultNSMap = options.xmlns||{};\n\tvar isHTML = /\\/x?html?$/.test(mimeType);//mimeType.toLowerCase().indexOf('html') > -1;\n \tvar entityMap = isHTML ? entities.HTML_ENTITIES : entities.XML_ENTITIES;\n\tif(locator){\n\t\tdomBuilder.setDocumentLocator(locator)\n\t}\n\n\tsax.errorHandler = buildErrorHandler(errorHandler,domBuilder,locator);\n\tsax.domBuilder = options.domBuilder || domBuilder;\n\tif(isHTML){\n\t\tdefaultNSMap[''] = NAMESPACE.HTML;\n\t}\n\tdefaultNSMap.xml = defaultNSMap.xml || NAMESPACE.XML;\n\tvar normalize = options.normalizeLineEndings || normalizeLineEndings;\n\tif (source && typeof source === 'string') {\n\t\tsax.parse(\n\t\t\tnormalize(source),\n\t\t\tdefaultNSMap,\n\t\t\tentityMap\n\t\t)\n\t} else {\n\t\tsax.errorHandler.error('invalid doc source')\n\t}\n\treturn domBuilder.doc;\n}\nfunction buildErrorHandler(errorImpl,domBuilder,locator){\n\tif(!errorImpl){\n\t\tif(domBuilder instanceof DOMHandler){\n\t\t\treturn domBuilder;\n\t\t}\n\t\terrorImpl = domBuilder ;\n\t}\n\tvar errorHandler = {}\n\tvar isCallback = errorImpl instanceof Function;\n\tlocator = locator||{}\n\tfunction build(key){\n\t\tvar fn = errorImpl[key];\n\t\tif(!fn && isCallback){\n\t\t\tfn = errorImpl.length == 2?function(msg){errorImpl(key,msg)}:errorImpl;\n\t\t}\n\t\terrorHandler[key] = fn && function(msg){\n\t\t\tfn('[xmldom '+key+']\\t'+msg+_locator(locator));\n\t\t}||function(){};\n\t}\n\tbuild('warning');\n\tbuild('error');\n\tbuild('fatalError');\n\treturn errorHandler;\n}\n\n//console.log('#\\n\\n\\n\\n\\n\\n\\n####')\n/**\n * +ContentHandler+ErrorHandler\n * +LexicalHandler+EntityResolver2\n * -DeclHandler-DTDHandler\n *\n * DefaultHandler:EntityResolver, DTDHandler, ContentHandler, ErrorHandler\n * DefaultHandler2:DefaultHandler,LexicalHandler, DeclHandler, EntityResolver2\n * @link http://www.saxproject.org/apidoc/org/xml/sax/helpers/DefaultHandler.html\n */\nfunction DOMHandler() {\n this.cdata = false;\n}\nfunction position(locator,node){\n\tnode.lineNumber = locator.lineNumber;\n\tnode.columnNumber = locator.columnNumber;\n}\n/**\n * @see org.xml.sax.ContentHandler#startDocument\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html\n */\nDOMHandler.prototype = {\n\tstartDocument : function() {\n \tthis.doc = new DOMImplementation().createDocument(null, null, null);\n \tif (this.locator) {\n \tthis.doc.documentURI = this.locator.systemId;\n \t}\n\t},\n\tstartElement:function(namespaceURI, localName, qName, attrs) {\n\t\tvar doc = this.doc;\n\t var el = doc.createElementNS(namespaceURI, qName||localName);\n\t var len = attrs.length;\n\t appendElement(this, el);\n\t this.currentElement = el;\n\n\t\tthis.locator && position(this.locator,el)\n\t for (var i = 0 ; i < len; i++) {\n\t var namespaceURI = attrs.getURI(i);\n\t var value = attrs.getValue(i);\n\t var qName = attrs.getQName(i);\n\t\t\tvar attr = doc.createAttributeNS(namespaceURI, qName);\n\t\t\tthis.locator &&position(attrs.getLocator(i),attr);\n\t\t\tattr.value = attr.nodeValue = value;\n\t\t\tel.setAttributeNode(attr)\n\t }\n\t},\n\tendElement:function(namespaceURI, localName, qName) {\n\t\tvar current = this.currentElement\n\t\tvar tagName = current.tagName;\n\t\tthis.currentElement = current.parentNode;\n\t},\n\tstartPrefixMapping:function(prefix, uri) {\n\t},\n\tendPrefixMapping:function(prefix) {\n\t},\n\tprocessingInstruction:function(target, data) {\n\t var ins = this.doc.createProcessingInstruction(target, data);\n\t this.locator && position(this.locator,ins)\n\t appendElement(this, ins);\n\t},\n\tignorableWhitespace:function(ch, start, length) {\n\t},\n\tcharacters:function(chars, start, length) {\n\t\tchars = _toString.apply(this,arguments)\n\t\t//console.log(chars)\n\t\tif(chars){\n\t\t\tif (this.cdata) {\n\t\t\t\tvar charNode = this.doc.createCDATASection(chars);\n\t\t\t} else {\n\t\t\t\tvar charNode = this.doc.createTextNode(chars);\n\t\t\t}\n\t\t\tif(this.currentElement){\n\t\t\t\tthis.currentElement.appendChild(charNode);\n\t\t\t}else if(/^\\s*$/.test(chars)){\n\t\t\t\tthis.doc.appendChild(charNode);\n\t\t\t\t//process xml\n\t\t\t}\n\t\t\tthis.locator && position(this.locator,charNode)\n\t\t}\n\t},\n\tskippedEntity:function(name) {\n\t},\n\tendDocument:function() {\n\t\tthis.doc.normalize();\n\t},\n\tsetDocumentLocator:function (locator) {\n\t if(this.locator = locator){// && !('lineNumber' in locator)){\n\t \tlocator.lineNumber = 0;\n\t }\n\t},\n\t//LexicalHandler\n\tcomment:function(chars, start, length) {\n\t\tchars = _toString.apply(this,arguments)\n\t var comm = this.doc.createComment(chars);\n\t this.locator && position(this.locator,comm)\n\t appendElement(this, comm);\n\t},\n\n\tstartCDATA:function() {\n\t //used in characters() methods\n\t this.cdata = true;\n\t},\n\tendCDATA:function() {\n\t this.cdata = false;\n\t},\n\n\tstartDTD:function(name, publicId, systemId) {\n\t\tvar impl = this.doc.implementation;\n\t if (impl && impl.createDocumentType) {\n\t var dt = impl.createDocumentType(name, publicId, systemId);\n\t this.locator && position(this.locator,dt)\n\t appendElement(this, dt);\n\t\t\t\t\tthis.doc.doctype = dt;\n\t }\n\t},\n\t/**\n\t * @see org.xml.sax.ErrorHandler\n\t * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html\n\t */\n\twarning:function(error) {\n\t\tconsole.warn('[xmldom warning]\\t'+error,_locator(this.locator));\n\t},\n\terror:function(error) {\n\t\tconsole.error('[xmldom error]\\t'+error,_locator(this.locator));\n\t},\n\tfatalError:function(error) {\n\t\tthrow new ParseError(error, this.locator);\n\t}\n}\nfunction _locator(l){\n\tif(l){\n\t\treturn '\\n@'+(l.systemId ||'')+'#[line:'+l.lineNumber+',col:'+l.columnNumber+']'\n\t}\n}\nfunction _toString(chars,start,length){\n\tif(typeof chars == 'string'){\n\t\treturn chars.substr(start,length)\n\t}else{//java sax connect width xmldom on rhino(what about: \"? && !(chars instanceof String)\")\n\t\tif(chars.length >= start+length || start){\n\t\t\treturn new java.lang.String(chars,start,length)+'';\n\t\t}\n\t\treturn chars;\n\t}\n}\n\n/*\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/LexicalHandler.html\n * used method of org.xml.sax.ext.LexicalHandler:\n * #comment(chars, start, length)\n * #startCDATA()\n * #endCDATA()\n * #startDTD(name, publicId, systemId)\n *\n *\n * IGNORED method of org.xml.sax.ext.LexicalHandler:\n * #endDTD()\n * #startEntity(name)\n * #endEntity(name)\n *\n *\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/DeclHandler.html\n * IGNORED method of org.xml.sax.ext.DeclHandler\n * \t#attributeDecl(eName, aName, type, mode, value)\n * #elementDecl(name, model)\n * #externalEntityDecl(name, publicId, systemId)\n * #internalEntityDecl(name, value)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/EntityResolver2.html\n * IGNORED method of org.xml.sax.EntityResolver2\n * #resolveEntity(String name,String publicId,String baseURI,String systemId)\n * #resolveEntity(publicId, systemId)\n * #getExternalSubset(name, baseURI)\n * @link http://www.saxproject.org/apidoc/org/xml/sax/DTDHandler.html\n * IGNORED method of org.xml.sax.DTDHandler\n * #notationDecl(name, publicId, systemId) {};\n * #unparsedEntityDecl(name, publicId, systemId, notationName) {};\n */\n\"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl\".replace(/\\w+/g,function(key){\n\tDOMHandler.prototype[key] = function(){return null}\n})\n\n/* Private static helpers treated below as private instance methods, so don't need to add these to the public API; we might use a Relator to also get rid of non-standard public properties */\nfunction appendElement (hander,node) {\n if (!hander.currentElement) {\n hander.doc.appendChild(node);\n } else {\n hander.currentElement.appendChild(node);\n }\n}//appendChild and setAttributeNS are preformance key\n\nexports.__DOMHandler = DOMHandler;\nexports.normalizeLineEndings = normalizeLineEndings;\nexports.DOMParser = DOMParser;\n","'use strict';\n\nvar freeze = require('./conventions').freeze;\n\n/**\n * The entities that are predefined in every XML document.\n *\n * @see https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-predefined-ent W3C XML 1.1\n * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia\n */\nexports.XML_ENTITIES = freeze({\n\tamp: '&',\n\tapos: \"'\",\n\tgt: '>',\n\tlt: '<',\n\tquot: '\"',\n});\n\n/**\n * A map of all entities that are detected in an HTML document.\n * They contain all entries from `XML_ENTITIES`.\n *\n * @see XML_ENTITIES\n * @see DOMParser.parseFromString\n * @see DOMImplementation.prototype.createHTMLDocument\n * @see https://html.spec.whatwg.org/#named-character-references WHATWG HTML(5) Spec\n * @see https://html.spec.whatwg.org/entities.json JSON\n * @see https://www.w3.org/TR/xml-entity-names/ W3C XML Entity Names\n * @see https://www.w3.org/TR/html4/sgml/entities.html W3C HTML4/SGML\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)\n * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)\n */\nexports.HTML_ENTITIES = freeze({\n\tAacute: '\\u00C1',\n\taacute: '\\u00E1',\n\tAbreve: '\\u0102',\n\tabreve: '\\u0103',\n\tac: '\\u223E',\n\tacd: '\\u223F',\n\tacE: '\\u223E\\u0333',\n\tAcirc: '\\u00C2',\n\tacirc: '\\u00E2',\n\tacute: '\\u00B4',\n\tAcy: '\\u0410',\n\tacy: '\\u0430',\n\tAElig: '\\u00C6',\n\taelig: '\\u00E6',\n\taf: '\\u2061',\n\tAfr: '\\uD835\\uDD04',\n\tafr: '\\uD835\\uDD1E',\n\tAgrave: '\\u00C0',\n\tagrave: '\\u00E0',\n\talefsym: '\\u2135',\n\taleph: '\\u2135',\n\tAlpha: '\\u0391',\n\talpha: '\\u03B1',\n\tAmacr: '\\u0100',\n\tamacr: '\\u0101',\n\tamalg: '\\u2A3F',\n\tAMP: '\\u0026',\n\tamp: '\\u0026',\n\tAnd: '\\u2A53',\n\tand: '\\u2227',\n\tandand: '\\u2A55',\n\tandd: '\\u2A5C',\n\tandslope: '\\u2A58',\n\tandv: '\\u2A5A',\n\tang: '\\u2220',\n\tange: '\\u29A4',\n\tangle: '\\u2220',\n\tangmsd: '\\u2221',\n\tangmsdaa: '\\u29A8',\n\tangmsdab: '\\u29A9',\n\tangmsdac: '\\u29AA',\n\tangmsdad: '\\u29AB',\n\tangmsdae: '\\u29AC',\n\tangmsdaf: '\\u29AD',\n\tangmsdag: '\\u29AE',\n\tangmsdah: '\\u29AF',\n\tangrt: '\\u221F',\n\tangrtvb: '\\u22BE',\n\tangrtvbd: '\\u299D',\n\tangsph: '\\u2222',\n\tangst: '\\u00C5',\n\tangzarr: '\\u237C',\n\tAogon: '\\u0104',\n\taogon: '\\u0105',\n\tAopf: '\\uD835\\uDD38',\n\taopf: '\\uD835\\uDD52',\n\tap: '\\u2248',\n\tapacir: '\\u2A6F',\n\tapE: '\\u2A70',\n\tape: '\\u224A',\n\tapid: '\\u224B',\n\tapos: '\\u0027',\n\tApplyFunction: '\\u2061',\n\tapprox: '\\u2248',\n\tapproxeq: '\\u224A',\n\tAring: '\\u00C5',\n\taring: '\\u00E5',\n\tAscr: '\\uD835\\uDC9C',\n\tascr: '\\uD835\\uDCB6',\n\tAssign: '\\u2254',\n\tast: '\\u002A',\n\tasymp: '\\u2248',\n\tasympeq: '\\u224D',\n\tAtilde: '\\u00C3',\n\tatilde: '\\u00E3',\n\tAuml: '\\u00C4',\n\tauml: '\\u00E4',\n\tawconint: '\\u2233',\n\tawint: '\\u2A11',\n\tbackcong: '\\u224C',\n\tbackepsilon: '\\u03F6',\n\tbackprime: '\\u2035',\n\tbacksim: '\\u223D',\n\tbacksimeq: '\\u22CD',\n\tBackslash: '\\u2216',\n\tBarv: '\\u2AE7',\n\tbarvee: '\\u22BD',\n\tBarwed: '\\u2306',\n\tbarwed: '\\u2305',\n\tbarwedge: '\\u2305',\n\tbbrk: '\\u23B5',\n\tbbrktbrk: '\\u23B6',\n\tbcong: '\\u224C',\n\tBcy: '\\u0411',\n\tbcy: '\\u0431',\n\tbdquo: '\\u201E',\n\tbecaus: '\\u2235',\n\tBecause: '\\u2235',\n\tbecause: '\\u2235',\n\tbemptyv: '\\u29B0',\n\tbepsi: '\\u03F6',\n\tbernou: '\\u212C',\n\tBernoullis: '\\u212C',\n\tBeta: '\\u0392',\n\tbeta: '\\u03B2',\n\tbeth: '\\u2136',\n\tbetween: '\\u226C',\n\tBfr: '\\uD835\\uDD05',\n\tbfr: '\\uD835\\uDD1F',\n\tbigcap: '\\u22C2',\n\tbigcirc: '\\u25EF',\n\tbigcup: '\\u22C3',\n\tbigodot: '\\u2A00',\n\tbigoplus: '\\u2A01',\n\tbigotimes: '\\u2A02',\n\tbigsqcup: '\\u2A06',\n\tbigstar: '\\u2605',\n\tbigtriangledown: '\\u25BD',\n\tbigtriangleup: '\\u25B3',\n\tbiguplus: '\\u2A04',\n\tbigvee: '\\u22C1',\n\tbigwedge: '\\u22C0',\n\tbkarow: '\\u290D',\n\tblacklozenge: '\\u29EB',\n\tblacksquare: '\\u25AA',\n\tblacktriangle: '\\u25B4',\n\tblacktriangledown: '\\u25BE',\n\tblacktriangleleft: '\\u25C2',\n\tblacktriangleright: '\\u25B8',\n\tblank: '\\u2423',\n\tblk12: '\\u2592',\n\tblk14: '\\u2591',\n\tblk34: '\\u2593',\n\tblock: '\\u2588',\n\tbne: '\\u003D\\u20E5',\n\tbnequiv: '\\u2261\\u20E5',\n\tbNot: '\\u2AED',\n\tbnot: '\\u2310',\n\tBopf: '\\uD835\\uDD39',\n\tbopf: '\\uD835\\uDD53',\n\tbot: '\\u22A5',\n\tbottom: '\\u22A5',\n\tbowtie: '\\u22C8',\n\tboxbox: '\\u29C9',\n\tboxDL: '\\u2557',\n\tboxDl: '\\u2556',\n\tboxdL: '\\u2555',\n\tboxdl: '\\u2510',\n\tboxDR: '\\u2554',\n\tboxDr: '\\u2553',\n\tboxdR: '\\u2552',\n\tboxdr: '\\u250C',\n\tboxH: '\\u2550',\n\tboxh: '\\u2500',\n\tboxHD: '\\u2566',\n\tboxHd: '\\u2564',\n\tboxhD: '\\u2565',\n\tboxhd: '\\u252C',\n\tboxHU: '\\u2569',\n\tboxHu: '\\u2567',\n\tboxhU: '\\u2568',\n\tboxhu: '\\u2534',\n\tboxminus: '\\u229F',\n\tboxplus: '\\u229E',\n\tboxtimes: '\\u22A0',\n\tboxUL: '\\u255D',\n\tboxUl: '\\u255C',\n\tboxuL: '\\u255B',\n\tboxul: '\\u2518',\n\tboxUR: '\\u255A',\n\tboxUr: '\\u2559',\n\tboxuR: '\\u2558',\n\tboxur: '\\u2514',\n\tboxV: '\\u2551',\n\tboxv: '\\u2502',\n\tboxVH: '\\u256C',\n\tboxVh: '\\u256B',\n\tboxvH: '\\u256A',\n\tboxvh: '\\u253C',\n\tboxVL: '\\u2563',\n\tboxVl: '\\u2562',\n\tboxvL: '\\u2561',\n\tboxvl: '\\u2524',\n\tboxVR: '\\u2560',\n\tboxVr: '\\u255F',\n\tboxvR: '\\u255E',\n\tboxvr: '\\u251C',\n\tbprime: '\\u2035',\n\tBreve: '\\u02D8',\n\tbreve: '\\u02D8',\n\tbrvbar: '\\u00A6',\n\tBscr: '\\u212C',\n\tbscr: '\\uD835\\uDCB7',\n\tbsemi: '\\u204F',\n\tbsim: '\\u223D',\n\tbsime: '\\u22CD',\n\tbsol: '\\u005C',\n\tbsolb: '\\u29C5',\n\tbsolhsub: '\\u27C8',\n\tbull: '\\u2022',\n\tbullet: '\\u2022',\n\tbump: '\\u224E',\n\tbumpE: '\\u2AAE',\n\tbumpe: '\\u224F',\n\tBumpeq: '\\u224E',\n\tbumpeq: '\\u224F',\n\tCacute: '\\u0106',\n\tcacute: '\\u0107',\n\tCap: '\\u22D2',\n\tcap: '\\u2229',\n\tcapand: '\\u2A44',\n\tcapbrcup: '\\u2A49',\n\tcapcap: '\\u2A4B',\n\tcapcup: '\\u2A47',\n\tcapdot: '\\u2A40',\n\tCapitalDifferentialD: '\\u2145',\n\tcaps: '\\u2229\\uFE00',\n\tcaret: '\\u2041',\n\tcaron: '\\u02C7',\n\tCayleys: '\\u212D',\n\tccaps: '\\u2A4D',\n\tCcaron: '\\u010C',\n\tccaron: '\\u010D',\n\tCcedil: '\\u00C7',\n\tccedil: '\\u00E7',\n\tCcirc: '\\u0108',\n\tccirc: '\\u0109',\n\tCconint: '\\u2230',\n\tccups: '\\u2A4C',\n\tccupssm: '\\u2A50',\n\tCdot: '\\u010A',\n\tcdot: '\\u010B',\n\tcedil: '\\u00B8',\n\tCedilla: '\\u00B8',\n\tcemptyv: '\\u29B2',\n\tcent: '\\u00A2',\n\tCenterDot: '\\u00B7',\n\tcenterdot: '\\u00B7',\n\tCfr: '\\u212D',\n\tcfr: '\\uD835\\uDD20',\n\tCHcy: '\\u0427',\n\tchcy: '\\u0447',\n\tcheck: '\\u2713',\n\tcheckmark: '\\u2713',\n\tChi: '\\u03A7',\n\tchi: '\\u03C7',\n\tcir: '\\u25CB',\n\tcirc: '\\u02C6',\n\tcirceq: '\\u2257',\n\tcirclearrowleft: '\\u21BA',\n\tcirclearrowright: '\\u21BB',\n\tcircledast: '\\u229B',\n\tcircledcirc: '\\u229A',\n\tcircleddash: '\\u229D',\n\tCircleDot: '\\u2299',\n\tcircledR: '\\u00AE',\n\tcircledS: '\\u24C8',\n\tCircleMinus: '\\u2296',\n\tCirclePlus: '\\u2295',\n\tCircleTimes: '\\u2297',\n\tcirE: '\\u29C3',\n\tcire: '\\u2257',\n\tcirfnint: '\\u2A10',\n\tcirmid: '\\u2AEF',\n\tcirscir: '\\u29C2',\n\tClockwiseContourIntegral: '\\u2232',\n\tCloseCurlyDoubleQuote: '\\u201D',\n\tCloseCurlyQuote: '\\u2019',\n\tclubs: '\\u2663',\n\tclubsuit: '\\u2663',\n\tColon: '\\u2237',\n\tcolon: '\\u003A',\n\tColone: '\\u2A74',\n\tcolone: '\\u2254',\n\tcoloneq: '\\u2254',\n\tcomma: '\\u002C',\n\tcommat: '\\u0040',\n\tcomp: '\\u2201',\n\tcompfn: '\\u2218',\n\tcomplement: '\\u2201',\n\tcomplexes: '\\u2102',\n\tcong: '\\u2245',\n\tcongdot: '\\u2A6D',\n\tCongruent: '\\u2261',\n\tConint: '\\u222F',\n\tconint: '\\u222E',\n\tContourIntegral: '\\u222E',\n\tCopf: '\\u2102',\n\tcopf: '\\uD835\\uDD54',\n\tcoprod: '\\u2210',\n\tCoproduct: '\\u2210',\n\tCOPY: '\\u00A9',\n\tcopy: '\\u00A9',\n\tcopysr: '\\u2117',\n\tCounterClockwiseContourIntegral: '\\u2233',\n\tcrarr: '\\u21B5',\n\tCross: '\\u2A2F',\n\tcross: '\\u2717',\n\tCscr: '\\uD835\\uDC9E',\n\tcscr: '\\uD835\\uDCB8',\n\tcsub: '\\u2ACF',\n\tcsube: '\\u2AD1',\n\tcsup: '\\u2AD0',\n\tcsupe: '\\u2AD2',\n\tctdot: '\\u22EF',\n\tcudarrl: '\\u2938',\n\tcudarrr: '\\u2935',\n\tcuepr: '\\u22DE',\n\tcuesc: '\\u22DF',\n\tcularr: '\\u21B6',\n\tcularrp: '\\u293D',\n\tCup: '\\u22D3',\n\tcup: '\\u222A',\n\tcupbrcap: '\\u2A48',\n\tCupCap: '\\u224D',\n\tcupcap: '\\u2A46',\n\tcupcup: '\\u2A4A',\n\tcupdot: '\\u228D',\n\tcupor: '\\u2A45',\n\tcups: '\\u222A\\uFE00',\n\tcurarr: '\\u21B7',\n\tcurarrm: '\\u293C',\n\tcurlyeqprec: '\\u22DE',\n\tcurlyeqsucc: '\\u22DF',\n\tcurlyvee: '\\u22CE',\n\tcurlywedge: '\\u22CF',\n\tcurren: '\\u00A4',\n\tcurvearrowleft: '\\u21B6',\n\tcurvearrowright: '\\u21B7',\n\tcuvee: '\\u22CE',\n\tcuwed: '\\u22CF',\n\tcwconint: '\\u2232',\n\tcwint: '\\u2231',\n\tcylcty: '\\u232D',\n\tDagger: '\\u2021',\n\tdagger: '\\u2020',\n\tdaleth: '\\u2138',\n\tDarr: '\\u21A1',\n\tdArr: '\\u21D3',\n\tdarr: '\\u2193',\n\tdash: '\\u2010',\n\tDashv: '\\u2AE4',\n\tdashv: '\\u22A3',\n\tdbkarow: '\\u290F',\n\tdblac: '\\u02DD',\n\tDcaron: '\\u010E',\n\tdcaron: '\\u010F',\n\tDcy: '\\u0414',\n\tdcy: '\\u0434',\n\tDD: '\\u2145',\n\tdd: '\\u2146',\n\tddagger: '\\u2021',\n\tddarr: '\\u21CA',\n\tDDotrahd: '\\u2911',\n\tddotseq: '\\u2A77',\n\tdeg: '\\u00B0',\n\tDel: '\\u2207',\n\tDelta: '\\u0394',\n\tdelta: '\\u03B4',\n\tdemptyv: '\\u29B1',\n\tdfisht: '\\u297F',\n\tDfr: '\\uD835\\uDD07',\n\tdfr: '\\uD835\\uDD21',\n\tdHar: '\\u2965',\n\tdharl: '\\u21C3',\n\tdharr: '\\u21C2',\n\tDiacriticalAcute: '\\u00B4',\n\tDiacriticalDot: '\\u02D9',\n\tDiacriticalDoubleAcute: '\\u02DD',\n\tDiacriticalGrave: '\\u0060',\n\tDiacriticalTilde: '\\u02DC',\n\tdiam: '\\u22C4',\n\tDiamond: '\\u22C4',\n\tdiamond: '\\u22C4',\n\tdiamondsuit: '\\u2666',\n\tdiams: '\\u2666',\n\tdie: '\\u00A8',\n\tDifferentialD: '\\u2146',\n\tdigamma: '\\u03DD',\n\tdisin: '\\u22F2',\n\tdiv: '\\u00F7',\n\tdivide: '\\u00F7',\n\tdivideontimes: '\\u22C7',\n\tdivonx: '\\u22C7',\n\tDJcy: '\\u0402',\n\tdjcy: '\\u0452',\n\tdlcorn: '\\u231E',\n\tdlcrop: '\\u230D',\n\tdollar: '\\u0024',\n\tDopf: '\\uD835\\uDD3B',\n\tdopf: '\\uD835\\uDD55',\n\tDot: '\\u00A8',\n\tdot: '\\u02D9',\n\tDotDot: '\\u20DC',\n\tdoteq: '\\u2250',\n\tdoteqdot: '\\u2251',\n\tDotEqual: '\\u2250',\n\tdotminus: '\\u2238',\n\tdotplus: '\\u2214',\n\tdotsquare: '\\u22A1',\n\tdoublebarwedge: '\\u2306',\n\tDoubleContourIntegral: '\\u222F',\n\tDoubleDot: '\\u00A8',\n\tDoubleDownArrow: '\\u21D3',\n\tDoubleLeftArrow: '\\u21D0',\n\tDoubleLeftRightArrow: '\\u21D4',\n\tDoubleLeftTee: '\\u2AE4',\n\tDoubleLongLeftArrow: '\\u27F8',\n\tDoubleLongLeftRightArrow: '\\u27FA',\n\tDoubleLongRightArrow: '\\u27F9',\n\tDoubleRightArrow: '\\u21D2',\n\tDoubleRightTee: '\\u22A8',\n\tDoubleUpArrow: '\\u21D1',\n\tDoubleUpDownArrow: '\\u21D5',\n\tDoubleVerticalBar: '\\u2225',\n\tDownArrow: '\\u2193',\n\tDownarrow: '\\u21D3',\n\tdownarrow: '\\u2193',\n\tDownArrowBar: '\\u2913',\n\tDownArrowUpArrow: '\\u21F5',\n\tDownBreve: '\\u0311',\n\tdowndownarrows: '\\u21CA',\n\tdownharpoonleft: '\\u21C3',\n\tdownharpoonright: '\\u21C2',\n\tDownLeftRightVector: '\\u2950',\n\tDownLeftTeeVector: '\\u295E',\n\tDownLeftVector: '\\u21BD',\n\tDownLeftVectorBar: '\\u2956',\n\tDownRightTeeVector: '\\u295F',\n\tDownRightVector: '\\u21C1',\n\tDownRightVectorBar: '\\u2957',\n\tDownTee: '\\u22A4',\n\tDownTeeArrow: '\\u21A7',\n\tdrbkarow: '\\u2910',\n\tdrcorn: '\\u231F',\n\tdrcrop: '\\u230C',\n\tDscr: '\\uD835\\uDC9F',\n\tdscr: '\\uD835\\uDCB9',\n\tDScy: '\\u0405',\n\tdscy: '\\u0455',\n\tdsol: '\\u29F6',\n\tDstrok: '\\u0110',\n\tdstrok: '\\u0111',\n\tdtdot: '\\u22F1',\n\tdtri: '\\u25BF',\n\tdtrif: '\\u25BE',\n\tduarr: '\\u21F5',\n\tduhar: '\\u296F',\n\tdwangle: '\\u29A6',\n\tDZcy: '\\u040F',\n\tdzcy: '\\u045F',\n\tdzigrarr: '\\u27FF',\n\tEacute: '\\u00C9',\n\teacute: '\\u00E9',\n\teaster: '\\u2A6E',\n\tEcaron: '\\u011A',\n\tecaron: '\\u011B',\n\tecir: '\\u2256',\n\tEcirc: '\\u00CA',\n\tecirc: '\\u00EA',\n\tecolon: '\\u2255',\n\tEcy: '\\u042D',\n\tecy: '\\u044D',\n\teDDot: '\\u2A77',\n\tEdot: '\\u0116',\n\teDot: '\\u2251',\n\tedot: '\\u0117',\n\tee: '\\u2147',\n\tefDot: '\\u2252',\n\tEfr: '\\uD835\\uDD08',\n\tefr: '\\uD835\\uDD22',\n\teg: '\\u2A9A',\n\tEgrave: '\\u00C8',\n\tegrave: '\\u00E8',\n\tegs: '\\u2A96',\n\tegsdot: '\\u2A98',\n\tel: '\\u2A99',\n\tElement: '\\u2208',\n\telinters: '\\u23E7',\n\tell: '\\u2113',\n\tels: '\\u2A95',\n\telsdot: '\\u2A97',\n\tEmacr: '\\u0112',\n\temacr: '\\u0113',\n\tempty: '\\u2205',\n\temptyset: '\\u2205',\n\tEmptySmallSquare: '\\u25FB',\n\temptyv: '\\u2205',\n\tEmptyVerySmallSquare: '\\u25AB',\n\temsp: '\\u2003',\n\temsp13: '\\u2004',\n\temsp14: '\\u2005',\n\tENG: '\\u014A',\n\teng: '\\u014B',\n\tensp: '\\u2002',\n\tEogon: '\\u0118',\n\teogon: '\\u0119',\n\tEopf: '\\uD835\\uDD3C',\n\teopf: '\\uD835\\uDD56',\n\tepar: '\\u22D5',\n\teparsl: '\\u29E3',\n\teplus: '\\u2A71',\n\tepsi: '\\u03B5',\n\tEpsilon: '\\u0395',\n\tepsilon: '\\u03B5',\n\tepsiv: '\\u03F5',\n\teqcirc: '\\u2256',\n\teqcolon: '\\u2255',\n\teqsim: '\\u2242',\n\teqslantgtr: '\\u2A96',\n\teqslantless: '\\u2A95',\n\tEqual: '\\u2A75',\n\tequals: '\\u003D',\n\tEqualTilde: '\\u2242',\n\tequest: '\\u225F',\n\tEquilibrium: '\\u21CC',\n\tequiv: '\\u2261',\n\tequivDD: '\\u2A78',\n\teqvparsl: '\\u29E5',\n\terarr: '\\u2971',\n\terDot: '\\u2253',\n\tEscr: '\\u2130',\n\tescr: '\\u212F',\n\tesdot: '\\u2250',\n\tEsim: '\\u2A73',\n\tesim: '\\u2242',\n\tEta: '\\u0397',\n\teta: '\\u03B7',\n\tETH: '\\u00D0',\n\teth: '\\u00F0',\n\tEuml: '\\u00CB',\n\teuml: '\\u00EB',\n\teuro: '\\u20AC',\n\texcl: '\\u0021',\n\texist: '\\u2203',\n\tExists: '\\u2203',\n\texpectation: '\\u2130',\n\tExponentialE: '\\u2147',\n\texponentiale: '\\u2147',\n\tfallingdotseq: '\\u2252',\n\tFcy: '\\u0424',\n\tfcy: '\\u0444',\n\tfemale: '\\u2640',\n\tffilig: '\\uFB03',\n\tfflig: '\\uFB00',\n\tffllig: '\\uFB04',\n\tFfr: '\\uD835\\uDD09',\n\tffr: '\\uD835\\uDD23',\n\tfilig: '\\uFB01',\n\tFilledSmallSquare: '\\u25FC',\n\tFilledVerySmallSquare: '\\u25AA',\n\tfjlig: '\\u0066\\u006A',\n\tflat: '\\u266D',\n\tfllig: '\\uFB02',\n\tfltns: '\\u25B1',\n\tfnof: '\\u0192',\n\tFopf: '\\uD835\\uDD3D',\n\tfopf: '\\uD835\\uDD57',\n\tForAll: '\\u2200',\n\tforall: '\\u2200',\n\tfork: '\\u22D4',\n\tforkv: '\\u2AD9',\n\tFouriertrf: '\\u2131',\n\tfpartint: '\\u2A0D',\n\tfrac12: '\\u00BD',\n\tfrac13: '\\u2153',\n\tfrac14: '\\u00BC',\n\tfrac15: '\\u2155',\n\tfrac16: '\\u2159',\n\tfrac18: '\\u215B',\n\tfrac23: '\\u2154',\n\tfrac25: '\\u2156',\n\tfrac34: '\\u00BE',\n\tfrac35: '\\u2157',\n\tfrac38: '\\u215C',\n\tfrac45: '\\u2158',\n\tfrac56: '\\u215A',\n\tfrac58: '\\u215D',\n\tfrac78: '\\u215E',\n\tfrasl: '\\u2044',\n\tfrown: '\\u2322',\n\tFscr: '\\u2131',\n\tfscr: '\\uD835\\uDCBB',\n\tgacute: '\\u01F5',\n\tGamma: '\\u0393',\n\tgamma: '\\u03B3',\n\tGammad: '\\u03DC',\n\tgammad: '\\u03DD',\n\tgap: '\\u2A86',\n\tGbreve: '\\u011E',\n\tgbreve: '\\u011F',\n\tGcedil: '\\u0122',\n\tGcirc: '\\u011C',\n\tgcirc: '\\u011D',\n\tGcy: '\\u0413',\n\tgcy: '\\u0433',\n\tGdot: '\\u0120',\n\tgdot: '\\u0121',\n\tgE: '\\u2267',\n\tge: '\\u2265',\n\tgEl: '\\u2A8C',\n\tgel: '\\u22DB',\n\tgeq: '\\u2265',\n\tgeqq: '\\u2267',\n\tgeqslant: '\\u2A7E',\n\tges: '\\u2A7E',\n\tgescc: '\\u2AA9',\n\tgesdot: '\\u2A80',\n\tgesdoto: '\\u2A82',\n\tgesdotol: '\\u2A84',\n\tgesl: '\\u22DB\\uFE00',\n\tgesles: '\\u2A94',\n\tGfr: '\\uD835\\uDD0A',\n\tgfr: '\\uD835\\uDD24',\n\tGg: '\\u22D9',\n\tgg: '\\u226B',\n\tggg: '\\u22D9',\n\tgimel: '\\u2137',\n\tGJcy: '\\u0403',\n\tgjcy: '\\u0453',\n\tgl: '\\u2277',\n\tgla: '\\u2AA5',\n\tglE: '\\u2A92',\n\tglj: '\\u2AA4',\n\tgnap: '\\u2A8A',\n\tgnapprox: '\\u2A8A',\n\tgnE: '\\u2269',\n\tgne: '\\u2A88',\n\tgneq: '\\u2A88',\n\tgneqq: '\\u2269',\n\tgnsim: '\\u22E7',\n\tGopf: '\\uD835\\uDD3E',\n\tgopf: '\\uD835\\uDD58',\n\tgrave: '\\u0060',\n\tGreaterEqual: '\\u2265',\n\tGreaterEqualLess: '\\u22DB',\n\tGreaterFullEqual: '\\u2267',\n\tGreaterGreater: '\\u2AA2',\n\tGreaterLess: '\\u2277',\n\tGreaterSlantEqual: '\\u2A7E',\n\tGreaterTilde: '\\u2273',\n\tGscr: '\\uD835\\uDCA2',\n\tgscr: '\\u210A',\n\tgsim: '\\u2273',\n\tgsime: '\\u2A8E',\n\tgsiml: '\\u2A90',\n\tGt: '\\u226B',\n\tGT: '\\u003E',\n\tgt: '\\u003E',\n\tgtcc: '\\u2AA7',\n\tgtcir: '\\u2A7A',\n\tgtdot: '\\u22D7',\n\tgtlPar: '\\u2995',\n\tgtquest: '\\u2A7C',\n\tgtrapprox: '\\u2A86',\n\tgtrarr: '\\u2978',\n\tgtrdot: '\\u22D7',\n\tgtreqless: '\\u22DB',\n\tgtreqqless: '\\u2A8C',\n\tgtrless: '\\u2277',\n\tgtrsim: '\\u2273',\n\tgvertneqq: '\\u2269\\uFE00',\n\tgvnE: '\\u2269\\uFE00',\n\tHacek: '\\u02C7',\n\thairsp: '\\u200A',\n\thalf: '\\u00BD',\n\thamilt: '\\u210B',\n\tHARDcy: '\\u042A',\n\thardcy: '\\u044A',\n\thArr: '\\u21D4',\n\tharr: '\\u2194',\n\tharrcir: '\\u2948',\n\tharrw: '\\u21AD',\n\tHat: '\\u005E',\n\thbar: '\\u210F',\n\tHcirc: '\\u0124',\n\thcirc: '\\u0125',\n\thearts: '\\u2665',\n\theartsuit: '\\u2665',\n\thellip: '\\u2026',\n\thercon: '\\u22B9',\n\tHfr: '\\u210C',\n\thfr: '\\uD835\\uDD25',\n\tHilbertSpace: '\\u210B',\n\thksearow: '\\u2925',\n\thkswarow: '\\u2926',\n\thoarr: '\\u21FF',\n\thomtht: '\\u223B',\n\thookleftarrow: '\\u21A9',\n\thookrightarrow: '\\u21AA',\n\tHopf: '\\u210D',\n\thopf: '\\uD835\\uDD59',\n\thorbar: '\\u2015',\n\tHorizontalLine: '\\u2500',\n\tHscr: '\\u210B',\n\thscr: '\\uD835\\uDCBD',\n\thslash: '\\u210F',\n\tHstrok: '\\u0126',\n\thstrok: '\\u0127',\n\tHumpDownHump: '\\u224E',\n\tHumpEqual: '\\u224F',\n\thybull: '\\u2043',\n\thyphen: '\\u2010',\n\tIacute: '\\u00CD',\n\tiacute: '\\u00ED',\n\tic: '\\u2063',\n\tIcirc: '\\u00CE',\n\ticirc: '\\u00EE',\n\tIcy: '\\u0418',\n\ticy: '\\u0438',\n\tIdot: '\\u0130',\n\tIEcy: '\\u0415',\n\tiecy: '\\u0435',\n\tiexcl: '\\u00A1',\n\tiff: '\\u21D4',\n\tIfr: '\\u2111',\n\tifr: '\\uD835\\uDD26',\n\tIgrave: '\\u00CC',\n\tigrave: '\\u00EC',\n\tii: '\\u2148',\n\tiiiint: '\\u2A0C',\n\tiiint: '\\u222D',\n\tiinfin: '\\u29DC',\n\tiiota: '\\u2129',\n\tIJlig: '\\u0132',\n\tijlig: '\\u0133',\n\tIm: '\\u2111',\n\tImacr: '\\u012A',\n\timacr: '\\u012B',\n\timage: '\\u2111',\n\tImaginaryI: '\\u2148',\n\timagline: '\\u2110',\n\timagpart: '\\u2111',\n\timath: '\\u0131',\n\timof: '\\u22B7',\n\timped: '\\u01B5',\n\tImplies: '\\u21D2',\n\tin: '\\u2208',\n\tincare: '\\u2105',\n\tinfin: '\\u221E',\n\tinfintie: '\\u29DD',\n\tinodot: '\\u0131',\n\tInt: '\\u222C',\n\tint: '\\u222B',\n\tintcal: '\\u22BA',\n\tintegers: '\\u2124',\n\tIntegral: '\\u222B',\n\tintercal: '\\u22BA',\n\tIntersection: '\\u22C2',\n\tintlarhk: '\\u2A17',\n\tintprod: '\\u2A3C',\n\tInvisibleComma: '\\u2063',\n\tInvisibleTimes: '\\u2062',\n\tIOcy: '\\u0401',\n\tiocy: '\\u0451',\n\tIogon: '\\u012E',\n\tiogon: '\\u012F',\n\tIopf: '\\uD835\\uDD40',\n\tiopf: '\\uD835\\uDD5A',\n\tIota: '\\u0399',\n\tiota: '\\u03B9',\n\tiprod: '\\u2A3C',\n\tiquest: '\\u00BF',\n\tIscr: '\\u2110',\n\tiscr: '\\uD835\\uDCBE',\n\tisin: '\\u2208',\n\tisindot: '\\u22F5',\n\tisinE: '\\u22F9',\n\tisins: '\\u22F4',\n\tisinsv: '\\u22F3',\n\tisinv: '\\u2208',\n\tit: '\\u2062',\n\tItilde: '\\u0128',\n\titilde: '\\u0129',\n\tIukcy: '\\u0406',\n\tiukcy: '\\u0456',\n\tIuml: '\\u00CF',\n\tiuml: '\\u00EF',\n\tJcirc: '\\u0134',\n\tjcirc: '\\u0135',\n\tJcy: '\\u0419',\n\tjcy: '\\u0439',\n\tJfr: '\\uD835\\uDD0D',\n\tjfr: '\\uD835\\uDD27',\n\tjmath: '\\u0237',\n\tJopf: '\\uD835\\uDD41',\n\tjopf: '\\uD835\\uDD5B',\n\tJscr: '\\uD835\\uDCA5',\n\tjscr: '\\uD835\\uDCBF',\n\tJsercy: '\\u0408',\n\tjsercy: '\\u0458',\n\tJukcy: '\\u0404',\n\tjukcy: '\\u0454',\n\tKappa: '\\u039A',\n\tkappa: '\\u03BA',\n\tkappav: '\\u03F0',\n\tKcedil: '\\u0136',\n\tkcedil: '\\u0137',\n\tKcy: '\\u041A',\n\tkcy: '\\u043A',\n\tKfr: '\\uD835\\uDD0E',\n\tkfr: '\\uD835\\uDD28',\n\tkgreen: '\\u0138',\n\tKHcy: '\\u0425',\n\tkhcy: '\\u0445',\n\tKJcy: '\\u040C',\n\tkjcy: '\\u045C',\n\tKopf: '\\uD835\\uDD42',\n\tkopf: '\\uD835\\uDD5C',\n\tKscr: '\\uD835\\uDCA6',\n\tkscr: '\\uD835\\uDCC0',\n\tlAarr: '\\u21DA',\n\tLacute: '\\u0139',\n\tlacute: '\\u013A',\n\tlaemptyv: '\\u29B4',\n\tlagran: '\\u2112',\n\tLambda: '\\u039B',\n\tlambda: '\\u03BB',\n\tLang: '\\u27EA',\n\tlang: '\\u27E8',\n\tlangd: '\\u2991',\n\tlangle: '\\u27E8',\n\tlap: '\\u2A85',\n\tLaplacetrf: '\\u2112',\n\tlaquo: '\\u00AB',\n\tLarr: '\\u219E',\n\tlArr: '\\u21D0',\n\tlarr: '\\u2190',\n\tlarrb: '\\u21E4',\n\tlarrbfs: '\\u291F',\n\tlarrfs: '\\u291D',\n\tlarrhk: '\\u21A9',\n\tlarrlp: '\\u21AB',\n\tlarrpl: '\\u2939',\n\tlarrsim: '\\u2973',\n\tlarrtl: '\\u21A2',\n\tlat: '\\u2AAB',\n\tlAtail: '\\u291B',\n\tlatail: '\\u2919',\n\tlate: '\\u2AAD',\n\tlates: '\\u2AAD\\uFE00',\n\tlBarr: '\\u290E',\n\tlbarr: '\\u290C',\n\tlbbrk: '\\u2772',\n\tlbrace: '\\u007B',\n\tlbrack: '\\u005B',\n\tlbrke: '\\u298B',\n\tlbrksld: '\\u298F',\n\tlbrkslu: '\\u298D',\n\tLcaron: '\\u013D',\n\tlcaron: '\\u013E',\n\tLcedil: '\\u013B',\n\tlcedil: '\\u013C',\n\tlceil: '\\u2308',\n\tlcub: '\\u007B',\n\tLcy: '\\u041B',\n\tlcy: '\\u043B',\n\tldca: '\\u2936',\n\tldquo: '\\u201C',\n\tldquor: '\\u201E',\n\tldrdhar: '\\u2967',\n\tldrushar: '\\u294B',\n\tldsh: '\\u21B2',\n\tlE: '\\u2266',\n\tle: '\\u2264',\n\tLeftAngleBracket: '\\u27E8',\n\tLeftArrow: '\\u2190',\n\tLeftarrow: '\\u21D0',\n\tleftarrow: '\\u2190',\n\tLeftArrowBar: '\\u21E4',\n\tLeftArrowRightArrow: '\\u21C6',\n\tleftarrowtail: '\\u21A2',\n\tLeftCeiling: '\\u2308',\n\tLeftDoubleBracket: '\\u27E6',\n\tLeftDownTeeVector: '\\u2961',\n\tLeftDownVector: '\\u21C3',\n\tLeftDownVectorBar: '\\u2959',\n\tLeftFloor: '\\u230A',\n\tleftharpoondown: '\\u21BD',\n\tleftharpoonup: '\\u21BC',\n\tleftleftarrows: '\\u21C7',\n\tLeftRightArrow: '\\u2194',\n\tLeftrightarrow: '\\u21D4',\n\tleftrightarrow: '\\u2194',\n\tleftrightarrows: '\\u21C6',\n\tleftrightharpoons: '\\u21CB',\n\tleftrightsquigarrow: '\\u21AD',\n\tLeftRightVector: '\\u294E',\n\tLeftTee: '\\u22A3',\n\tLeftTeeArrow: '\\u21A4',\n\tLeftTeeVector: '\\u295A',\n\tleftthreetimes: '\\u22CB',\n\tLeftTriangle: '\\u22B2',\n\tLeftTriangleBar: '\\u29CF',\n\tLeftTriangleEqual: '\\u22B4',\n\tLeftUpDownVector: '\\u2951',\n\tLeftUpTeeVector: '\\u2960',\n\tLeftUpVector: '\\u21BF',\n\tLeftUpVectorBar: '\\u2958',\n\tLeftVector: '\\u21BC',\n\tLeftVectorBar: '\\u2952',\n\tlEg: '\\u2A8B',\n\tleg: '\\u22DA',\n\tleq: '\\u2264',\n\tleqq: '\\u2266',\n\tleqslant: '\\u2A7D',\n\tles: '\\u2A7D',\n\tlescc: '\\u2AA8',\n\tlesdot: '\\u2A7F',\n\tlesdoto: '\\u2A81',\n\tlesdotor: '\\u2A83',\n\tlesg: '\\u22DA\\uFE00',\n\tlesges: '\\u2A93',\n\tlessapprox: '\\u2A85',\n\tlessdot: '\\u22D6',\n\tlesseqgtr: '\\u22DA',\n\tlesseqqgtr: '\\u2A8B',\n\tLessEqualGreater: '\\u22DA',\n\tLessFullEqual: '\\u2266',\n\tLessGreater: '\\u2276',\n\tlessgtr: '\\u2276',\n\tLessLess: '\\u2AA1',\n\tlesssim: '\\u2272',\n\tLessSlantEqual: '\\u2A7D',\n\tLessTilde: '\\u2272',\n\tlfisht: '\\u297C',\n\tlfloor: '\\u230A',\n\tLfr: '\\uD835\\uDD0F',\n\tlfr: '\\uD835\\uDD29',\n\tlg: '\\u2276',\n\tlgE: '\\u2A91',\n\tlHar: '\\u2962',\n\tlhard: '\\u21BD',\n\tlharu: '\\u21BC',\n\tlharul: '\\u296A',\n\tlhblk: '\\u2584',\n\tLJcy: '\\u0409',\n\tljcy: '\\u0459',\n\tLl: '\\u22D8',\n\tll: '\\u226A',\n\tllarr: '\\u21C7',\n\tllcorner: '\\u231E',\n\tLleftarrow: '\\u21DA',\n\tllhard: '\\u296B',\n\tlltri: '\\u25FA',\n\tLmidot: '\\u013F',\n\tlmidot: '\\u0140',\n\tlmoust: '\\u23B0',\n\tlmoustache: '\\u23B0',\n\tlnap: '\\u2A89',\n\tlnapprox: '\\u2A89',\n\tlnE: '\\u2268',\n\tlne: '\\u2A87',\n\tlneq: '\\u2A87',\n\tlneqq: '\\u2268',\n\tlnsim: '\\u22E6',\n\tloang: '\\u27EC',\n\tloarr: '\\u21FD',\n\tlobrk: '\\u27E6',\n\tLongLeftArrow: '\\u27F5',\n\tLongleftarrow: '\\u27F8',\n\tlongleftarrow: '\\u27F5',\n\tLongLeftRightArrow: '\\u27F7',\n\tLongleftrightarrow: '\\u27FA',\n\tlongleftrightarrow: '\\u27F7',\n\tlongmapsto: '\\u27FC',\n\tLongRightArrow: '\\u27F6',\n\tLongrightarrow: '\\u27F9',\n\tlongrightarrow: '\\u27F6',\n\tlooparrowleft: '\\u21AB',\n\tlooparrowright: '\\u21AC',\n\tlopar: '\\u2985',\n\tLopf: '\\uD835\\uDD43',\n\tlopf: '\\uD835\\uDD5D',\n\tloplus: '\\u2A2D',\n\tlotimes: '\\u2A34',\n\tlowast: '\\u2217',\n\tlowbar: '\\u005F',\n\tLowerLeftArrow: '\\u2199',\n\tLowerRightArrow: '\\u2198',\n\tloz: '\\u25CA',\n\tlozenge: '\\u25CA',\n\tlozf: '\\u29EB',\n\tlpar: '\\u0028',\n\tlparlt: '\\u2993',\n\tlrarr: '\\u21C6',\n\tlrcorner: '\\u231F',\n\tlrhar: '\\u21CB',\n\tlrhard: '\\u296D',\n\tlrm: '\\u200E',\n\tlrtri: '\\u22BF',\n\tlsaquo: '\\u2039',\n\tLscr: '\\u2112',\n\tlscr: '\\uD835\\uDCC1',\n\tLsh: '\\u21B0',\n\tlsh: '\\u21B0',\n\tlsim: '\\u2272',\n\tlsime: '\\u2A8D',\n\tlsimg: '\\u2A8F',\n\tlsqb: '\\u005B',\n\tlsquo: '\\u2018',\n\tlsquor: '\\u201A',\n\tLstrok: '\\u0141',\n\tlstrok: '\\u0142',\n\tLt: '\\u226A',\n\tLT: '\\u003C',\n\tlt: '\\u003C',\n\tltcc: '\\u2AA6',\n\tltcir: '\\u2A79',\n\tltdot: '\\u22D6',\n\tlthree: '\\u22CB',\n\tltimes: '\\u22C9',\n\tltlarr: '\\u2976',\n\tltquest: '\\u2A7B',\n\tltri: '\\u25C3',\n\tltrie: '\\u22B4',\n\tltrif: '\\u25C2',\n\tltrPar: '\\u2996',\n\tlurdshar: '\\u294A',\n\tluruhar: '\\u2966',\n\tlvertneqq: '\\u2268\\uFE00',\n\tlvnE: '\\u2268\\uFE00',\n\tmacr: '\\u00AF',\n\tmale: '\\u2642',\n\tmalt: '\\u2720',\n\tmaltese: '\\u2720',\n\tMap: '\\u2905',\n\tmap: '\\u21A6',\n\tmapsto: '\\u21A6',\n\tmapstodown: '\\u21A7',\n\tmapstoleft: '\\u21A4',\n\tmapstoup: '\\u21A5',\n\tmarker: '\\u25AE',\n\tmcomma: '\\u2A29',\n\tMcy: '\\u041C',\n\tmcy: '\\u043C',\n\tmdash: '\\u2014',\n\tmDDot: '\\u223A',\n\tmeasuredangle: '\\u2221',\n\tMediumSpace: '\\u205F',\n\tMellintrf: '\\u2133',\n\tMfr: '\\uD835\\uDD10',\n\tmfr: '\\uD835\\uDD2A',\n\tmho: '\\u2127',\n\tmicro: '\\u00B5',\n\tmid: '\\u2223',\n\tmidast: '\\u002A',\n\tmidcir: '\\u2AF0',\n\tmiddot: '\\u00B7',\n\tminus: '\\u2212',\n\tminusb: '\\u229F',\n\tminusd: '\\u2238',\n\tminusdu: '\\u2A2A',\n\tMinusPlus: '\\u2213',\n\tmlcp: '\\u2ADB',\n\tmldr: '\\u2026',\n\tmnplus: '\\u2213',\n\tmodels: '\\u22A7',\n\tMopf: '\\uD835\\uDD44',\n\tmopf: '\\uD835\\uDD5E',\n\tmp: '\\u2213',\n\tMscr: '\\u2133',\n\tmscr: '\\uD835\\uDCC2',\n\tmstpos: '\\u223E',\n\tMu: '\\u039C',\n\tmu: '\\u03BC',\n\tmultimap: '\\u22B8',\n\tmumap: '\\u22B8',\n\tnabla: '\\u2207',\n\tNacute: '\\u0143',\n\tnacute: '\\u0144',\n\tnang: '\\u2220\\u20D2',\n\tnap: '\\u2249',\n\tnapE: '\\u2A70\\u0338',\n\tnapid: '\\u224B\\u0338',\n\tnapos: '\\u0149',\n\tnapprox: '\\u2249',\n\tnatur: '\\u266E',\n\tnatural: '\\u266E',\n\tnaturals: '\\u2115',\n\tnbsp: '\\u00A0',\n\tnbump: '\\u224E\\u0338',\n\tnbumpe: '\\u224F\\u0338',\n\tncap: '\\u2A43',\n\tNcaron: '\\u0147',\n\tncaron: '\\u0148',\n\tNcedil: '\\u0145',\n\tncedil: '\\u0146',\n\tncong: '\\u2247',\n\tncongdot: '\\u2A6D\\u0338',\n\tncup: '\\u2A42',\n\tNcy: '\\u041D',\n\tncy: '\\u043D',\n\tndash: '\\u2013',\n\tne: '\\u2260',\n\tnearhk: '\\u2924',\n\tneArr: '\\u21D7',\n\tnearr: '\\u2197',\n\tnearrow: '\\u2197',\n\tnedot: '\\u2250\\u0338',\n\tNegativeMediumSpace: '\\u200B',\n\tNegativeThickSpace: '\\u200B',\n\tNegativeThinSpace: '\\u200B',\n\tNegativeVeryThinSpace: '\\u200B',\n\tnequiv: '\\u2262',\n\tnesear: '\\u2928',\n\tnesim: '\\u2242\\u0338',\n\tNestedGreaterGreater: '\\u226B',\n\tNestedLessLess: '\\u226A',\n\tNewLine: '\\u000A',\n\tnexist: '\\u2204',\n\tnexists: '\\u2204',\n\tNfr: '\\uD835\\uDD11',\n\tnfr: '\\uD835\\uDD2B',\n\tngE: '\\u2267\\u0338',\n\tnge: '\\u2271',\n\tngeq: '\\u2271',\n\tngeqq: '\\u2267\\u0338',\n\tngeqslant: '\\u2A7E\\u0338',\n\tnges: '\\u2A7E\\u0338',\n\tnGg: '\\u22D9\\u0338',\n\tngsim: '\\u2275',\n\tnGt: '\\u226B\\u20D2',\n\tngt: '\\u226F',\n\tngtr: '\\u226F',\n\tnGtv: '\\u226B\\u0338',\n\tnhArr: '\\u21CE',\n\tnharr: '\\u21AE',\n\tnhpar: '\\u2AF2',\n\tni: '\\u220B',\n\tnis: '\\u22FC',\n\tnisd: '\\u22FA',\n\tniv: '\\u220B',\n\tNJcy: '\\u040A',\n\tnjcy: '\\u045A',\n\tnlArr: '\\u21CD',\n\tnlarr: '\\u219A',\n\tnldr: '\\u2025',\n\tnlE: '\\u2266\\u0338',\n\tnle: '\\u2270',\n\tnLeftarrow: '\\u21CD',\n\tnleftarrow: '\\u219A',\n\tnLeftrightarrow: '\\u21CE',\n\tnleftrightarrow: '\\u21AE',\n\tnleq: '\\u2270',\n\tnleqq: '\\u2266\\u0338',\n\tnleqslant: '\\u2A7D\\u0338',\n\tnles: '\\u2A7D\\u0338',\n\tnless: '\\u226E',\n\tnLl: '\\u22D8\\u0338',\n\tnlsim: '\\u2274',\n\tnLt: '\\u226A\\u20D2',\n\tnlt: '\\u226E',\n\tnltri: '\\u22EA',\n\tnltrie: '\\u22EC',\n\tnLtv: '\\u226A\\u0338',\n\tnmid: '\\u2224',\n\tNoBreak: '\\u2060',\n\tNonBreakingSpace: '\\u00A0',\n\tNopf: '\\u2115',\n\tnopf: '\\uD835\\uDD5F',\n\tNot: '\\u2AEC',\n\tnot: '\\u00AC',\n\tNotCongruent: '\\u2262',\n\tNotCupCap: '\\u226D',\n\tNotDoubleVerticalBar: '\\u2226',\n\tNotElement: '\\u2209',\n\tNotEqual: '\\u2260',\n\tNotEqualTilde: '\\u2242\\u0338',\n\tNotExists: '\\u2204',\n\tNotGreater: '\\u226F',\n\tNotGreaterEqual: '\\u2271',\n\tNotGreaterFullEqual: '\\u2267\\u0338',\n\tNotGreaterGreater: '\\u226B\\u0338',\n\tNotGreaterLess: '\\u2279',\n\tNotGreaterSlantEqual: '\\u2A7E\\u0338',\n\tNotGreaterTilde: '\\u2275',\n\tNotHumpDownHump: '\\u224E\\u0338',\n\tNotHumpEqual: '\\u224F\\u0338',\n\tnotin: '\\u2209',\n\tnotindot: '\\u22F5\\u0338',\n\tnotinE: '\\u22F9\\u0338',\n\tnotinva: '\\u2209',\n\tnotinvb: '\\u22F7',\n\tnotinvc: '\\u22F6',\n\tNotLeftTriangle: '\\u22EA',\n\tNotLeftTriangleBar: '\\u29CF\\u0338',\n\tNotLeftTriangleEqual: '\\u22EC',\n\tNotLess: '\\u226E',\n\tNotLessEqual: '\\u2270',\n\tNotLessGreater: '\\u2278',\n\tNotLessLess: '\\u226A\\u0338',\n\tNotLessSlantEqual: '\\u2A7D\\u0338',\n\tNotLessTilde: '\\u2274',\n\tNotNestedGreaterGreater: '\\u2AA2\\u0338',\n\tNotNestedLessLess: '\\u2AA1\\u0338',\n\tnotni: '\\u220C',\n\tnotniva: '\\u220C',\n\tnotnivb: '\\u22FE',\n\tnotnivc: '\\u22FD',\n\tNotPrecedes: '\\u2280',\n\tNotPrecedesEqual: '\\u2AAF\\u0338',\n\tNotPrecedesSlantEqual: '\\u22E0',\n\tNotReverseElement: '\\u220C',\n\tNotRightTriangle: '\\u22EB',\n\tNotRightTriangleBar: '\\u29D0\\u0338',\n\tNotRightTriangleEqual: '\\u22ED',\n\tNotSquareSubset: '\\u228F\\u0338',\n\tNotSquareSubsetEqual: '\\u22E2',\n\tNotSquareSuperset: '\\u2290\\u0338',\n\tNotSquareSupersetEqual: '\\u22E3',\n\tNotSubset: '\\u2282\\u20D2',\n\tNotSubsetEqual: '\\u2288',\n\tNotSucceeds: '\\u2281',\n\tNotSucceedsEqual: '\\u2AB0\\u0338',\n\tNotSucceedsSlantEqual: '\\u22E1',\n\tNotSucceedsTilde: '\\u227F\\u0338',\n\tNotSuperset: '\\u2283\\u20D2',\n\tNotSupersetEqual: '\\u2289',\n\tNotTilde: '\\u2241',\n\tNotTildeEqual: '\\u2244',\n\tNotTildeFullEqual: '\\u2247',\n\tNotTildeTilde: '\\u2249',\n\tNotVerticalBar: '\\u2224',\n\tnpar: '\\u2226',\n\tnparallel: '\\u2226',\n\tnparsl: '\\u2AFD\\u20E5',\n\tnpart: '\\u2202\\u0338',\n\tnpolint: '\\u2A14',\n\tnpr: '\\u2280',\n\tnprcue: '\\u22E0',\n\tnpre: '\\u2AAF\\u0338',\n\tnprec: '\\u2280',\n\tnpreceq: '\\u2AAF\\u0338',\n\tnrArr: '\\u21CF',\n\tnrarr: '\\u219B',\n\tnrarrc: '\\u2933\\u0338',\n\tnrarrw: '\\u219D\\u0338',\n\tnRightarrow: '\\u21CF',\n\tnrightarrow: '\\u219B',\n\tnrtri: '\\u22EB',\n\tnrtrie: '\\u22ED',\n\tnsc: '\\u2281',\n\tnsccue: '\\u22E1',\n\tnsce: '\\u2AB0\\u0338',\n\tNscr: '\\uD835\\uDCA9',\n\tnscr: '\\uD835\\uDCC3',\n\tnshortmid: '\\u2224',\n\tnshortparallel: '\\u2226',\n\tnsim: '\\u2241',\n\tnsime: '\\u2244',\n\tnsimeq: '\\u2244',\n\tnsmid: '\\u2224',\n\tnspar: '\\u2226',\n\tnsqsube: '\\u22E2',\n\tnsqsupe: '\\u22E3',\n\tnsub: '\\u2284',\n\tnsubE: '\\u2AC5\\u0338',\n\tnsube: '\\u2288',\n\tnsubset: '\\u2282\\u20D2',\n\tnsubseteq: '\\u2288',\n\tnsubseteqq: '\\u2AC5\\u0338',\n\tnsucc: '\\u2281',\n\tnsucceq: '\\u2AB0\\u0338',\n\tnsup: '\\u2285',\n\tnsupE: '\\u2AC6\\u0338',\n\tnsupe: '\\u2289',\n\tnsupset: '\\u2283\\u20D2',\n\tnsupseteq: '\\u2289',\n\tnsupseteqq: '\\u2AC6\\u0338',\n\tntgl: '\\u2279',\n\tNtilde: '\\u00D1',\n\tntilde: '\\u00F1',\n\tntlg: '\\u2278',\n\tntriangleleft: '\\u22EA',\n\tntrianglelefteq: '\\u22EC',\n\tntriangleright: '\\u22EB',\n\tntrianglerighteq: '\\u22ED',\n\tNu: '\\u039D',\n\tnu: '\\u03BD',\n\tnum: '\\u0023',\n\tnumero: '\\u2116',\n\tnumsp: '\\u2007',\n\tnvap: '\\u224D\\u20D2',\n\tnVDash: '\\u22AF',\n\tnVdash: '\\u22AE',\n\tnvDash: '\\u22AD',\n\tnvdash: '\\u22AC',\n\tnvge: '\\u2265\\u20D2',\n\tnvgt: '\\u003E\\u20D2',\n\tnvHarr: '\\u2904',\n\tnvinfin: '\\u29DE',\n\tnvlArr: '\\u2902',\n\tnvle: '\\u2264\\u20D2',\n\tnvlt: '\\u003C\\u20D2',\n\tnvltrie: '\\u22B4\\u20D2',\n\tnvrArr: '\\u2903',\n\tnvrtrie: '\\u22B5\\u20D2',\n\tnvsim: '\\u223C\\u20D2',\n\tnwarhk: '\\u2923',\n\tnwArr: '\\u21D6',\n\tnwarr: '\\u2196',\n\tnwarrow: '\\u2196',\n\tnwnear: '\\u2927',\n\tOacute: '\\u00D3',\n\toacute: '\\u00F3',\n\toast: '\\u229B',\n\tocir: '\\u229A',\n\tOcirc: '\\u00D4',\n\tocirc: '\\u00F4',\n\tOcy: '\\u041E',\n\tocy: '\\u043E',\n\todash: '\\u229D',\n\tOdblac: '\\u0150',\n\todblac: '\\u0151',\n\todiv: '\\u2A38',\n\todot: '\\u2299',\n\todsold: '\\u29BC',\n\tOElig: '\\u0152',\n\toelig: '\\u0153',\n\tofcir: '\\u29BF',\n\tOfr: '\\uD835\\uDD12',\n\tofr: '\\uD835\\uDD2C',\n\togon: '\\u02DB',\n\tOgrave: '\\u00D2',\n\tograve: '\\u00F2',\n\togt: '\\u29C1',\n\tohbar: '\\u29B5',\n\tohm: '\\u03A9',\n\toint: '\\u222E',\n\tolarr: '\\u21BA',\n\tolcir: '\\u29BE',\n\tolcross: '\\u29BB',\n\toline: '\\u203E',\n\tolt: '\\u29C0',\n\tOmacr: '\\u014C',\n\tomacr: '\\u014D',\n\tOmega: '\\u03A9',\n\tomega: '\\u03C9',\n\tOmicron: '\\u039F',\n\tomicron: '\\u03BF',\n\tomid: '\\u29B6',\n\tominus: '\\u2296',\n\tOopf: '\\uD835\\uDD46',\n\toopf: '\\uD835\\uDD60',\n\topar: '\\u29B7',\n\tOpenCurlyDoubleQuote: '\\u201C',\n\tOpenCurlyQuote: '\\u2018',\n\toperp: '\\u29B9',\n\toplus: '\\u2295',\n\tOr: '\\u2A54',\n\tor: '\\u2228',\n\torarr: '\\u21BB',\n\tord: '\\u2A5D',\n\torder: '\\u2134',\n\torderof: '\\u2134',\n\tordf: '\\u00AA',\n\tordm: '\\u00BA',\n\torigof: '\\u22B6',\n\toror: '\\u2A56',\n\torslope: '\\u2A57',\n\torv: '\\u2A5B',\n\toS: '\\u24C8',\n\tOscr: '\\uD835\\uDCAA',\n\toscr: '\\u2134',\n\tOslash: '\\u00D8',\n\toslash: '\\u00F8',\n\tosol: '\\u2298',\n\tOtilde: '\\u00D5',\n\totilde: '\\u00F5',\n\tOtimes: '\\u2A37',\n\totimes: '\\u2297',\n\totimesas: '\\u2A36',\n\tOuml: '\\u00D6',\n\touml: '\\u00F6',\n\tovbar: '\\u233D',\n\tOverBar: '\\u203E',\n\tOverBrace: '\\u23DE',\n\tOverBracket: '\\u23B4',\n\tOverParenthesis: '\\u23DC',\n\tpar: '\\u2225',\n\tpara: '\\u00B6',\n\tparallel: '\\u2225',\n\tparsim: '\\u2AF3',\n\tparsl: '\\u2AFD',\n\tpart: '\\u2202',\n\tPartialD: '\\u2202',\n\tPcy: '\\u041F',\n\tpcy: '\\u043F',\n\tpercnt: '\\u0025',\n\tperiod: '\\u002E',\n\tpermil: '\\u2030',\n\tperp: '\\u22A5',\n\tpertenk: '\\u2031',\n\tPfr: '\\uD835\\uDD13',\n\tpfr: '\\uD835\\uDD2D',\n\tPhi: '\\u03A6',\n\tphi: '\\u03C6',\n\tphiv: '\\u03D5',\n\tphmmat: '\\u2133',\n\tphone: '\\u260E',\n\tPi: '\\u03A0',\n\tpi: '\\u03C0',\n\tpitchfork: '\\u22D4',\n\tpiv: '\\u03D6',\n\tplanck: '\\u210F',\n\tplanckh: '\\u210E',\n\tplankv: '\\u210F',\n\tplus: '\\u002B',\n\tplusacir: '\\u2A23',\n\tplusb: '\\u229E',\n\tpluscir: '\\u2A22',\n\tplusdo: '\\u2214',\n\tplusdu: '\\u2A25',\n\tpluse: '\\u2A72',\n\tPlusMinus: '\\u00B1',\n\tplusmn: '\\u00B1',\n\tplussim: '\\u2A26',\n\tplustwo: '\\u2A27',\n\tpm: '\\u00B1',\n\tPoincareplane: '\\u210C',\n\tpointint: '\\u2A15',\n\tPopf: '\\u2119',\n\tpopf: '\\uD835\\uDD61',\n\tpound: '\\u00A3',\n\tPr: '\\u2ABB',\n\tpr: '\\u227A',\n\tprap: '\\u2AB7',\n\tprcue: '\\u227C',\n\tprE: '\\u2AB3',\n\tpre: '\\u2AAF',\n\tprec: '\\u227A',\n\tprecapprox: '\\u2AB7',\n\tpreccurlyeq: '\\u227C',\n\tPrecedes: '\\u227A',\n\tPrecedesEqual: '\\u2AAF',\n\tPrecedesSlantEqual: '\\u227C',\n\tPrecedesTilde: '\\u227E',\n\tpreceq: '\\u2AAF',\n\tprecnapprox: '\\u2AB9',\n\tprecneqq: '\\u2AB5',\n\tprecnsim: '\\u22E8',\n\tprecsim: '\\u227E',\n\tPrime: '\\u2033',\n\tprime: '\\u2032',\n\tprimes: '\\u2119',\n\tprnap: '\\u2AB9',\n\tprnE: '\\u2AB5',\n\tprnsim: '\\u22E8',\n\tprod: '\\u220F',\n\tProduct: '\\u220F',\n\tprofalar: '\\u232E',\n\tprofline: '\\u2312',\n\tprofsurf: '\\u2313',\n\tprop: '\\u221D',\n\tProportion: '\\u2237',\n\tProportional: '\\u221D',\n\tpropto: '\\u221D',\n\tprsim: '\\u227E',\n\tprurel: '\\u22B0',\n\tPscr: '\\uD835\\uDCAB',\n\tpscr: '\\uD835\\uDCC5',\n\tPsi: '\\u03A8',\n\tpsi: '\\u03C8',\n\tpuncsp: '\\u2008',\n\tQfr: '\\uD835\\uDD14',\n\tqfr: '\\uD835\\uDD2E',\n\tqint: '\\u2A0C',\n\tQopf: '\\u211A',\n\tqopf: '\\uD835\\uDD62',\n\tqprime: '\\u2057',\n\tQscr: '\\uD835\\uDCAC',\n\tqscr: '\\uD835\\uDCC6',\n\tquaternions: '\\u210D',\n\tquatint: '\\u2A16',\n\tquest: '\\u003F',\n\tquesteq: '\\u225F',\n\tQUOT: '\\u0022',\n\tquot: '\\u0022',\n\trAarr: '\\u21DB',\n\trace: '\\u223D\\u0331',\n\tRacute: '\\u0154',\n\tracute: '\\u0155',\n\tradic: '\\u221A',\n\traemptyv: '\\u29B3',\n\tRang: '\\u27EB',\n\trang: '\\u27E9',\n\trangd: '\\u2992',\n\trange: '\\u29A5',\n\trangle: '\\u27E9',\n\traquo: '\\u00BB',\n\tRarr: '\\u21A0',\n\trArr: '\\u21D2',\n\trarr: '\\u2192',\n\trarrap: '\\u2975',\n\trarrb: '\\u21E5',\n\trarrbfs: '\\u2920',\n\trarrc: '\\u2933',\n\trarrfs: '\\u291E',\n\trarrhk: '\\u21AA',\n\trarrlp: '\\u21AC',\n\trarrpl: '\\u2945',\n\trarrsim: '\\u2974',\n\tRarrtl: '\\u2916',\n\trarrtl: '\\u21A3',\n\trarrw: '\\u219D',\n\trAtail: '\\u291C',\n\tratail: '\\u291A',\n\tratio: '\\u2236',\n\trationals: '\\u211A',\n\tRBarr: '\\u2910',\n\trBarr: '\\u290F',\n\trbarr: '\\u290D',\n\trbbrk: '\\u2773',\n\trbrace: '\\u007D',\n\trbrack: '\\u005D',\n\trbrke: '\\u298C',\n\trbrksld: '\\u298E',\n\trbrkslu: '\\u2990',\n\tRcaron: '\\u0158',\n\trcaron: '\\u0159',\n\tRcedil: '\\u0156',\n\trcedil: '\\u0157',\n\trceil: '\\u2309',\n\trcub: '\\u007D',\n\tRcy: '\\u0420',\n\trcy: '\\u0440',\n\trdca: '\\u2937',\n\trdldhar: '\\u2969',\n\trdquo: '\\u201D',\n\trdquor: '\\u201D',\n\trdsh: '\\u21B3',\n\tRe: '\\u211C',\n\treal: '\\u211C',\n\trealine: '\\u211B',\n\trealpart: '\\u211C',\n\treals: '\\u211D',\n\trect: '\\u25AD',\n\tREG: '\\u00AE',\n\treg: '\\u00AE',\n\tReverseElement: '\\u220B',\n\tReverseEquilibrium: '\\u21CB',\n\tReverseUpEquilibrium: '\\u296F',\n\trfisht: '\\u297D',\n\trfloor: '\\u230B',\n\tRfr: '\\u211C',\n\trfr: '\\uD835\\uDD2F',\n\trHar: '\\u2964',\n\trhard: '\\u21C1',\n\trharu: '\\u21C0',\n\trharul: '\\u296C',\n\tRho: '\\u03A1',\n\trho: '\\u03C1',\n\trhov: '\\u03F1',\n\tRightAngleBracket: '\\u27E9',\n\tRightArrow: '\\u2192',\n\tRightarrow: '\\u21D2',\n\trightarrow: '\\u2192',\n\tRightArrowBar: '\\u21E5',\n\tRightArrowLeftArrow: '\\u21C4',\n\trightarrowtail: '\\u21A3',\n\tRightCeiling: '\\u2309',\n\tRightDoubleBracket: '\\u27E7',\n\tRightDownTeeVector: '\\u295D',\n\tRightDownVector: '\\u21C2',\n\tRightDownVectorBar: '\\u2955',\n\tRightFloor: '\\u230B',\n\trightharpoondown: '\\u21C1',\n\trightharpoonup: '\\u21C0',\n\trightleftarrows: '\\u21C4',\n\trightleftharpoons: '\\u21CC',\n\trightrightarrows: '\\u21C9',\n\trightsquigarrow: '\\u219D',\n\tRightTee: '\\u22A2',\n\tRightTeeArrow: '\\u21A6',\n\tRightTeeVector: '\\u295B',\n\trightthreetimes: '\\u22CC',\n\tRightTriangle: '\\u22B3',\n\tRightTriangleBar: '\\u29D0',\n\tRightTriangleEqual: '\\u22B5',\n\tRightUpDownVector: '\\u294F',\n\tRightUpTeeVector: '\\u295C',\n\tRightUpVector: '\\u21BE',\n\tRightUpVectorBar: '\\u2954',\n\tRightVector: '\\u21C0',\n\tRightVectorBar: '\\u2953',\n\tring: '\\u02DA',\n\trisingdotseq: '\\u2253',\n\trlarr: '\\u21C4',\n\trlhar: '\\u21CC',\n\trlm: '\\u200F',\n\trmoust: '\\u23B1',\n\trmoustache: '\\u23B1',\n\trnmid: '\\u2AEE',\n\troang: '\\u27ED',\n\troarr: '\\u21FE',\n\trobrk: '\\u27E7',\n\tropar: '\\u2986',\n\tRopf: '\\u211D',\n\tropf: '\\uD835\\uDD63',\n\troplus: '\\u2A2E',\n\trotimes: '\\u2A35',\n\tRoundImplies: '\\u2970',\n\trpar: '\\u0029',\n\trpargt: '\\u2994',\n\trppolint: '\\u2A12',\n\trrarr: '\\u21C9',\n\tRrightarrow: '\\u21DB',\n\trsaquo: '\\u203A',\n\tRscr: '\\u211B',\n\trscr: '\\uD835\\uDCC7',\n\tRsh: '\\u21B1',\n\trsh: '\\u21B1',\n\trsqb: '\\u005D',\n\trsquo: '\\u2019',\n\trsquor: '\\u2019',\n\trthree: '\\u22CC',\n\trtimes: '\\u22CA',\n\trtri: '\\u25B9',\n\trtrie: '\\u22B5',\n\trtrif: '\\u25B8',\n\trtriltri: '\\u29CE',\n\tRuleDelayed: '\\u29F4',\n\truluhar: '\\u2968',\n\trx: '\\u211E',\n\tSacute: '\\u015A',\n\tsacute: '\\u015B',\n\tsbquo: '\\u201A',\n\tSc: '\\u2ABC',\n\tsc: '\\u227B',\n\tscap: '\\u2AB8',\n\tScaron: '\\u0160',\n\tscaron: '\\u0161',\n\tsccue: '\\u227D',\n\tscE: '\\u2AB4',\n\tsce: '\\u2AB0',\n\tScedil: '\\u015E',\n\tscedil: '\\u015F',\n\tScirc: '\\u015C',\n\tscirc: '\\u015D',\n\tscnap: '\\u2ABA',\n\tscnE: '\\u2AB6',\n\tscnsim: '\\u22E9',\n\tscpolint: '\\u2A13',\n\tscsim: '\\u227F',\n\tScy: '\\u0421',\n\tscy: '\\u0441',\n\tsdot: '\\u22C5',\n\tsdotb: '\\u22A1',\n\tsdote: '\\u2A66',\n\tsearhk: '\\u2925',\n\tseArr: '\\u21D8',\n\tsearr: '\\u2198',\n\tsearrow: '\\u2198',\n\tsect: '\\u00A7',\n\tsemi: '\\u003B',\n\tseswar: '\\u2929',\n\tsetminus: '\\u2216',\n\tsetmn: '\\u2216',\n\tsext: '\\u2736',\n\tSfr: '\\uD835\\uDD16',\n\tsfr: '\\uD835\\uDD30',\n\tsfrown: '\\u2322',\n\tsharp: '\\u266F',\n\tSHCHcy: '\\u0429',\n\tshchcy: '\\u0449',\n\tSHcy: '\\u0428',\n\tshcy: '\\u0448',\n\tShortDownArrow: '\\u2193',\n\tShortLeftArrow: '\\u2190',\n\tshortmid: '\\u2223',\n\tshortparallel: '\\u2225',\n\tShortRightArrow: '\\u2192',\n\tShortUpArrow: '\\u2191',\n\tshy: '\\u00AD',\n\tSigma: '\\u03A3',\n\tsigma: '\\u03C3',\n\tsigmaf: '\\u03C2',\n\tsigmav: '\\u03C2',\n\tsim: '\\u223C',\n\tsimdot: '\\u2A6A',\n\tsime: '\\u2243',\n\tsimeq: '\\u2243',\n\tsimg: '\\u2A9E',\n\tsimgE: '\\u2AA0',\n\tsiml: '\\u2A9D',\n\tsimlE: '\\u2A9F',\n\tsimne: '\\u2246',\n\tsimplus: '\\u2A24',\n\tsimrarr: '\\u2972',\n\tslarr: '\\u2190',\n\tSmallCircle: '\\u2218',\n\tsmallsetminus: '\\u2216',\n\tsmashp: '\\u2A33',\n\tsmeparsl: '\\u29E4',\n\tsmid: '\\u2223',\n\tsmile: '\\u2323',\n\tsmt: '\\u2AAA',\n\tsmte: '\\u2AAC',\n\tsmtes: '\\u2AAC\\uFE00',\n\tSOFTcy: '\\u042C',\n\tsoftcy: '\\u044C',\n\tsol: '\\u002F',\n\tsolb: '\\u29C4',\n\tsolbar: '\\u233F',\n\tSopf: '\\uD835\\uDD4A',\n\tsopf: '\\uD835\\uDD64',\n\tspades: '\\u2660',\n\tspadesuit: '\\u2660',\n\tspar: '\\u2225',\n\tsqcap: '\\u2293',\n\tsqcaps: '\\u2293\\uFE00',\n\tsqcup: '\\u2294',\n\tsqcups: '\\u2294\\uFE00',\n\tSqrt: '\\u221A',\n\tsqsub: '\\u228F',\n\tsqsube: '\\u2291',\n\tsqsubset: '\\u228F',\n\tsqsubseteq: '\\u2291',\n\tsqsup: '\\u2290',\n\tsqsupe: '\\u2292',\n\tsqsupset: '\\u2290',\n\tsqsupseteq: '\\u2292',\n\tsqu: '\\u25A1',\n\tSquare: '\\u25A1',\n\tsquare: '\\u25A1',\n\tSquareIntersection: '\\u2293',\n\tSquareSubset: '\\u228F',\n\tSquareSubsetEqual: '\\u2291',\n\tSquareSuperset: '\\u2290',\n\tSquareSupersetEqual: '\\u2292',\n\tSquareUnion: '\\u2294',\n\tsquarf: '\\u25AA',\n\tsquf: '\\u25AA',\n\tsrarr: '\\u2192',\n\tSscr: '\\uD835\\uDCAE',\n\tsscr: '\\uD835\\uDCC8',\n\tssetmn: '\\u2216',\n\tssmile: '\\u2323',\n\tsstarf: '\\u22C6',\n\tStar: '\\u22C6',\n\tstar: '\\u2606',\n\tstarf: '\\u2605',\n\tstraightepsilon: '\\u03F5',\n\tstraightphi: '\\u03D5',\n\tstrns: '\\u00AF',\n\tSub: '\\u22D0',\n\tsub: '\\u2282',\n\tsubdot: '\\u2ABD',\n\tsubE: '\\u2AC5',\n\tsube: '\\u2286',\n\tsubedot: '\\u2AC3',\n\tsubmult: '\\u2AC1',\n\tsubnE: '\\u2ACB',\n\tsubne: '\\u228A',\n\tsubplus: '\\u2ABF',\n\tsubrarr: '\\u2979',\n\tSubset: '\\u22D0',\n\tsubset: '\\u2282',\n\tsubseteq: '\\u2286',\n\tsubseteqq: '\\u2AC5',\n\tSubsetEqual: '\\u2286',\n\tsubsetneq: '\\u228A',\n\tsubsetneqq: '\\u2ACB',\n\tsubsim: '\\u2AC7',\n\tsubsub: '\\u2AD5',\n\tsubsup: '\\u2AD3',\n\tsucc: '\\u227B',\n\tsuccapprox: '\\u2AB8',\n\tsucccurlyeq: '\\u227D',\n\tSucceeds: '\\u227B',\n\tSucceedsEqual: '\\u2AB0',\n\tSucceedsSlantEqual: '\\u227D',\n\tSucceedsTilde: '\\u227F',\n\tsucceq: '\\u2AB0',\n\tsuccnapprox: '\\u2ABA',\n\tsuccneqq: '\\u2AB6',\n\tsuccnsim: '\\u22E9',\n\tsuccsim: '\\u227F',\n\tSuchThat: '\\u220B',\n\tSum: '\\u2211',\n\tsum: '\\u2211',\n\tsung: '\\u266A',\n\tSup: '\\u22D1',\n\tsup: '\\u2283',\n\tsup1: '\\u00B9',\n\tsup2: '\\u00B2',\n\tsup3: '\\u00B3',\n\tsupdot: '\\u2ABE',\n\tsupdsub: '\\u2AD8',\n\tsupE: '\\u2AC6',\n\tsupe: '\\u2287',\n\tsupedot: '\\u2AC4',\n\tSuperset: '\\u2283',\n\tSupersetEqual: '\\u2287',\n\tsuphsol: '\\u27C9',\n\tsuphsub: '\\u2AD7',\n\tsuplarr: '\\u297B',\n\tsupmult: '\\u2AC2',\n\tsupnE: '\\u2ACC',\n\tsupne: '\\u228B',\n\tsupplus: '\\u2AC0',\n\tSupset: '\\u22D1',\n\tsupset: '\\u2283',\n\tsupseteq: '\\u2287',\n\tsupseteqq: '\\u2AC6',\n\tsupsetneq: '\\u228B',\n\tsupsetneqq: '\\u2ACC',\n\tsupsim: '\\u2AC8',\n\tsupsub: '\\u2AD4',\n\tsupsup: '\\u2AD6',\n\tswarhk: '\\u2926',\n\tswArr: '\\u21D9',\n\tswarr: '\\u2199',\n\tswarrow: '\\u2199',\n\tswnwar: '\\u292A',\n\tszlig: '\\u00DF',\n\tTab: '\\u0009',\n\ttarget: '\\u2316',\n\tTau: '\\u03A4',\n\ttau: '\\u03C4',\n\ttbrk: '\\u23B4',\n\tTcaron: '\\u0164',\n\ttcaron: '\\u0165',\n\tTcedil: '\\u0162',\n\ttcedil: '\\u0163',\n\tTcy: '\\u0422',\n\ttcy: '\\u0442',\n\ttdot: '\\u20DB',\n\ttelrec: '\\u2315',\n\tTfr: '\\uD835\\uDD17',\n\ttfr: '\\uD835\\uDD31',\n\tthere4: '\\u2234',\n\tTherefore: '\\u2234',\n\ttherefore: '\\u2234',\n\tTheta: '\\u0398',\n\ttheta: '\\u03B8',\n\tthetasym: '\\u03D1',\n\tthetav: '\\u03D1',\n\tthickapprox: '\\u2248',\n\tthicksim: '\\u223C',\n\tThickSpace: '\\u205F\\u200A',\n\tthinsp: '\\u2009',\n\tThinSpace: '\\u2009',\n\tthkap: '\\u2248',\n\tthksim: '\\u223C',\n\tTHORN: '\\u00DE',\n\tthorn: '\\u00FE',\n\tTilde: '\\u223C',\n\ttilde: '\\u02DC',\n\tTildeEqual: '\\u2243',\n\tTildeFullEqual: '\\u2245',\n\tTildeTilde: '\\u2248',\n\ttimes: '\\u00D7',\n\ttimesb: '\\u22A0',\n\ttimesbar: '\\u2A31',\n\ttimesd: '\\u2A30',\n\ttint: '\\u222D',\n\ttoea: '\\u2928',\n\ttop: '\\u22A4',\n\ttopbot: '\\u2336',\n\ttopcir: '\\u2AF1',\n\tTopf: '\\uD835\\uDD4B',\n\ttopf: '\\uD835\\uDD65',\n\ttopfork: '\\u2ADA',\n\ttosa: '\\u2929',\n\ttprime: '\\u2034',\n\tTRADE: '\\u2122',\n\ttrade: '\\u2122',\n\ttriangle: '\\u25B5',\n\ttriangledown: '\\u25BF',\n\ttriangleleft: '\\u25C3',\n\ttrianglelefteq: '\\u22B4',\n\ttriangleq: '\\u225C',\n\ttriangleright: '\\u25B9',\n\ttrianglerighteq: '\\u22B5',\n\ttridot: '\\u25EC',\n\ttrie: '\\u225C',\n\ttriminus: '\\u2A3A',\n\tTripleDot: '\\u20DB',\n\ttriplus: '\\u2A39',\n\ttrisb: '\\u29CD',\n\ttritime: '\\u2A3B',\n\ttrpezium: '\\u23E2',\n\tTscr: '\\uD835\\uDCAF',\n\ttscr: '\\uD835\\uDCC9',\n\tTScy: '\\u0426',\n\ttscy: '\\u0446',\n\tTSHcy: '\\u040B',\n\ttshcy: '\\u045B',\n\tTstrok: '\\u0166',\n\ttstrok: '\\u0167',\n\ttwixt: '\\u226C',\n\ttwoheadleftarrow: '\\u219E',\n\ttwoheadrightarrow: '\\u21A0',\n\tUacute: '\\u00DA',\n\tuacute: '\\u00FA',\n\tUarr: '\\u219F',\n\tuArr: '\\u21D1',\n\tuarr: '\\u2191',\n\tUarrocir: '\\u2949',\n\tUbrcy: '\\u040E',\n\tubrcy: '\\u045E',\n\tUbreve: '\\u016C',\n\tubreve: '\\u016D',\n\tUcirc: '\\u00DB',\n\tucirc: '\\u00FB',\n\tUcy: '\\u0423',\n\tucy: '\\u0443',\n\tudarr: '\\u21C5',\n\tUdblac: '\\u0170',\n\tudblac: '\\u0171',\n\tudhar: '\\u296E',\n\tufisht: '\\u297E',\n\tUfr: '\\uD835\\uDD18',\n\tufr: '\\uD835\\uDD32',\n\tUgrave: '\\u00D9',\n\tugrave: '\\u00F9',\n\tuHar: '\\u2963',\n\tuharl: '\\u21BF',\n\tuharr: '\\u21BE',\n\tuhblk: '\\u2580',\n\tulcorn: '\\u231C',\n\tulcorner: '\\u231C',\n\tulcrop: '\\u230F',\n\tultri: '\\u25F8',\n\tUmacr: '\\u016A',\n\tumacr: '\\u016B',\n\tuml: '\\u00A8',\n\tUnderBar: '\\u005F',\n\tUnderBrace: '\\u23DF',\n\tUnderBracket: '\\u23B5',\n\tUnderParenthesis: '\\u23DD',\n\tUnion: '\\u22C3',\n\tUnionPlus: '\\u228E',\n\tUogon: '\\u0172',\n\tuogon: '\\u0173',\n\tUopf: '\\uD835\\uDD4C',\n\tuopf: '\\uD835\\uDD66',\n\tUpArrow: '\\u2191',\n\tUparrow: '\\u21D1',\n\tuparrow: '\\u2191',\n\tUpArrowBar: '\\u2912',\n\tUpArrowDownArrow: '\\u21C5',\n\tUpDownArrow: '\\u2195',\n\tUpdownarrow: '\\u21D5',\n\tupdownarrow: '\\u2195',\n\tUpEquilibrium: '\\u296E',\n\tupharpoonleft: '\\u21BF',\n\tupharpoonright: '\\u21BE',\n\tuplus: '\\u228E',\n\tUpperLeftArrow: '\\u2196',\n\tUpperRightArrow: '\\u2197',\n\tUpsi: '\\u03D2',\n\tupsi: '\\u03C5',\n\tupsih: '\\u03D2',\n\tUpsilon: '\\u03A5',\n\tupsilon: '\\u03C5',\n\tUpTee: '\\u22A5',\n\tUpTeeArrow: '\\u21A5',\n\tupuparrows: '\\u21C8',\n\turcorn: '\\u231D',\n\turcorner: '\\u231D',\n\turcrop: '\\u230E',\n\tUring: '\\u016E',\n\turing: '\\u016F',\n\turtri: '\\u25F9',\n\tUscr: '\\uD835\\uDCB0',\n\tuscr: '\\uD835\\uDCCA',\n\tutdot: '\\u22F0',\n\tUtilde: '\\u0168',\n\tutilde: '\\u0169',\n\tutri: '\\u25B5',\n\tutrif: '\\u25B4',\n\tuuarr: '\\u21C8',\n\tUuml: '\\u00DC',\n\tuuml: '\\u00FC',\n\tuwangle: '\\u29A7',\n\tvangrt: '\\u299C',\n\tvarepsilon: '\\u03F5',\n\tvarkappa: '\\u03F0',\n\tvarnothing: '\\u2205',\n\tvarphi: '\\u03D5',\n\tvarpi: '\\u03D6',\n\tvarpropto: '\\u221D',\n\tvArr: '\\u21D5',\n\tvarr: '\\u2195',\n\tvarrho: '\\u03F1',\n\tvarsigma: '\\u03C2',\n\tvarsubsetneq: '\\u228A\\uFE00',\n\tvarsubsetneqq: '\\u2ACB\\uFE00',\n\tvarsupsetneq: '\\u228B\\uFE00',\n\tvarsupsetneqq: '\\u2ACC\\uFE00',\n\tvartheta: '\\u03D1',\n\tvartriangleleft: '\\u22B2',\n\tvartriangleright: '\\u22B3',\n\tVbar: '\\u2AEB',\n\tvBar: '\\u2AE8',\n\tvBarv: '\\u2AE9',\n\tVcy: '\\u0412',\n\tvcy: '\\u0432',\n\tVDash: '\\u22AB',\n\tVdash: '\\u22A9',\n\tvDash: '\\u22A8',\n\tvdash: '\\u22A2',\n\tVdashl: '\\u2AE6',\n\tVee: '\\u22C1',\n\tvee: '\\u2228',\n\tveebar: '\\u22BB',\n\tveeeq: '\\u225A',\n\tvellip: '\\u22EE',\n\tVerbar: '\\u2016',\n\tverbar: '\\u007C',\n\tVert: '\\u2016',\n\tvert: '\\u007C',\n\tVerticalBar: '\\u2223',\n\tVerticalLine: '\\u007C',\n\tVerticalSeparator: '\\u2758',\n\tVerticalTilde: '\\u2240',\n\tVeryThinSpace: '\\u200A',\n\tVfr: '\\uD835\\uDD19',\n\tvfr: '\\uD835\\uDD33',\n\tvltri: '\\u22B2',\n\tvnsub: '\\u2282\\u20D2',\n\tvnsup: '\\u2283\\u20D2',\n\tVopf: '\\uD835\\uDD4D',\n\tvopf: '\\uD835\\uDD67',\n\tvprop: '\\u221D',\n\tvrtri: '\\u22B3',\n\tVscr: '\\uD835\\uDCB1',\n\tvscr: '\\uD835\\uDCCB',\n\tvsubnE: '\\u2ACB\\uFE00',\n\tvsubne: '\\u228A\\uFE00',\n\tvsupnE: '\\u2ACC\\uFE00',\n\tvsupne: '\\u228B\\uFE00',\n\tVvdash: '\\u22AA',\n\tvzigzag: '\\u299A',\n\tWcirc: '\\u0174',\n\twcirc: '\\u0175',\n\twedbar: '\\u2A5F',\n\tWedge: '\\u22C0',\n\twedge: '\\u2227',\n\twedgeq: '\\u2259',\n\tweierp: '\\u2118',\n\tWfr: '\\uD835\\uDD1A',\n\twfr: '\\uD835\\uDD34',\n\tWopf: '\\uD835\\uDD4E',\n\twopf: '\\uD835\\uDD68',\n\twp: '\\u2118',\n\twr: '\\u2240',\n\twreath: '\\u2240',\n\tWscr: '\\uD835\\uDCB2',\n\twscr: '\\uD835\\uDCCC',\n\txcap: '\\u22C2',\n\txcirc: '\\u25EF',\n\txcup: '\\u22C3',\n\txdtri: '\\u25BD',\n\tXfr: '\\uD835\\uDD1B',\n\txfr: '\\uD835\\uDD35',\n\txhArr: '\\u27FA',\n\txharr: '\\u27F7',\n\tXi: '\\u039E',\n\txi: '\\u03BE',\n\txlArr: '\\u27F8',\n\txlarr: '\\u27F5',\n\txmap: '\\u27FC',\n\txnis: '\\u22FB',\n\txodot: '\\u2A00',\n\tXopf: '\\uD835\\uDD4F',\n\txopf: '\\uD835\\uDD69',\n\txoplus: '\\u2A01',\n\txotime: '\\u2A02',\n\txrArr: '\\u27F9',\n\txrarr: '\\u27F6',\n\tXscr: '\\uD835\\uDCB3',\n\txscr: '\\uD835\\uDCCD',\n\txsqcup: '\\u2A06',\n\txuplus: '\\u2A04',\n\txutri: '\\u25B3',\n\txvee: '\\u22C1',\n\txwedge: '\\u22C0',\n\tYacute: '\\u00DD',\n\tyacute: '\\u00FD',\n\tYAcy: '\\u042F',\n\tyacy: '\\u044F',\n\tYcirc: '\\u0176',\n\tycirc: '\\u0177',\n\tYcy: '\\u042B',\n\tycy: '\\u044B',\n\tyen: '\\u00A5',\n\tYfr: '\\uD835\\uDD1C',\n\tyfr: '\\uD835\\uDD36',\n\tYIcy: '\\u0407',\n\tyicy: '\\u0457',\n\tYopf: '\\uD835\\uDD50',\n\tyopf: '\\uD835\\uDD6A',\n\tYscr: '\\uD835\\uDCB4',\n\tyscr: '\\uD835\\uDCCE',\n\tYUcy: '\\u042E',\n\tyucy: '\\u044E',\n\tYuml: '\\u0178',\n\tyuml: '\\u00FF',\n\tZacute: '\\u0179',\n\tzacute: '\\u017A',\n\tZcaron: '\\u017D',\n\tzcaron: '\\u017E',\n\tZcy: '\\u0417',\n\tzcy: '\\u0437',\n\tZdot: '\\u017B',\n\tzdot: '\\u017C',\n\tzeetrf: '\\u2128',\n\tZeroWidthSpace: '\\u200B',\n\tZeta: '\\u0396',\n\tzeta: '\\u03B6',\n\tZfr: '\\u2128',\n\tzfr: '\\uD835\\uDD37',\n\tZHcy: '\\u0416',\n\tzhcy: '\\u0436',\n\tzigrarr: '\\u21DD',\n\tZopf: '\\u2124',\n\tzopf: '\\uD835\\uDD6B',\n\tZscr: '\\uD835\\uDCB5',\n\tzscr: '\\uD835\\uDCCF',\n\tzwj: '\\u200D',\n\tzwnj: '\\u200C',\n});\n\n/**\n * @deprecated use `HTML_ENTITIES` instead\n * @see HTML_ENTITIES\n */\nexports.entityMap = exports.HTML_ENTITIES;\n","var NAMESPACE = require(\"./conventions\").NAMESPACE;\n\n//[4] \tNameStartChar\t ::= \t\":\" | [A-Z] | \"_\" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]\n//[4a] \tNameChar\t ::= \tNameStartChar | \"-\" | \".\" | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]\n//[5] \tName\t ::= \tNameStartChar (NameChar)*\nvar nameStartChar = /[A-Z_a-z\\xC0-\\xD6\\xD8-\\xF6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]///\\u10000-\\uEFFFF\nvar nameChar = new RegExp(\"[\\\\-\\\\.0-9\"+nameStartChar.source.slice(1,-1)+\"\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]\");\nvar tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\\:'+nameStartChar.source+nameChar.source+'*)?$');\n//var tagNamePattern = /^[a-zA-Z_][\\w\\-\\.]*(?:\\:[a-zA-Z_][\\w\\-\\.]*)?$/\n//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')\n\n//S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n//S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\nvar S_TAG = 0;//tag name offerring\nvar S_ATTR = 1;//attr name offerring\nvar S_ATTR_SPACE=2;//attr name end and space offer\nvar S_EQ = 3;//=space?\nvar S_ATTR_NOQUOT_VALUE = 4;//attr value(no quot value only)\nvar S_ATTR_END = 5;//attr value end and no space(quot end)\nvar S_TAG_SPACE = 6;//(attr value end || tag end ) && (space offer)\nvar S_TAG_CLOSE = 7;//closed el\n\n/**\n * Creates an error that will not be caught by XMLReader aka the SAX parser.\n *\n * @param {string} message\n * @param {any?} locator Optional, can provide details about the location in the source\n * @constructor\n */\nfunction ParseError(message, locator) {\n\tthis.message = message\n\tthis.locator = locator\n\tif(Error.captureStackTrace) Error.captureStackTrace(this, ParseError);\n}\nParseError.prototype = new Error();\nParseError.prototype.name = ParseError.name\n\nfunction XMLReader(){\n\n}\n\nXMLReader.prototype = {\n\tparse:function(source,defaultNSMap,entityMap){\n\t\tvar domBuilder = this.domBuilder;\n\t\tdomBuilder.startDocument();\n\t\t_copy(defaultNSMap ,defaultNSMap = {})\n\t\tparse(source,defaultNSMap,entityMap,\n\t\t\t\tdomBuilder,this.errorHandler);\n\t\tdomBuilder.endDocument();\n\t}\n}\nfunction parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){\n\tfunction fixedFromCharCode(code) {\n\t\t// String.prototype.fromCharCode does not supports\n\t\t// > 2 bytes unicode chars directly\n\t\tif (code > 0xffff) {\n\t\t\tcode -= 0x10000;\n\t\t\tvar surrogate1 = 0xd800 + (code >> 10)\n\t\t\t\t, surrogate2 = 0xdc00 + (code & 0x3ff);\n\n\t\t\treturn String.fromCharCode(surrogate1, surrogate2);\n\t\t} else {\n\t\t\treturn String.fromCharCode(code);\n\t\t}\n\t}\n\tfunction entityReplacer(a){\n\t\tvar k = a.slice(1,-1);\n\t\tif (Object.hasOwnProperty.call(entityMap, k)) {\n\t\t\treturn entityMap[k];\n\t\t}else if(k.charAt(0) === '#'){\n\t\t\treturn fixedFromCharCode(parseInt(k.substr(1).replace('x','0x')))\n\t\t}else{\n\t\t\terrorHandler.error('entity not found:'+a);\n\t\t\treturn a;\n\t\t}\n\t}\n\tfunction appendText(end){//has some bugs\n\t\tif(end>start){\n\t\t\tvar xt = source.substring(start,end).replace(/&#?\\w+;/g,entityReplacer);\n\t\t\tlocator&&position(start);\n\t\t\tdomBuilder.characters(xt,0,end-start);\n\t\t\tstart = end\n\t\t}\n\t}\n\tfunction position(p,m){\n\t\twhile(p>=lineEnd && (m = linePattern.exec(source))){\n\t\t\tlineStart = m.index;\n\t\t\tlineEnd = lineStart + m[0].length;\n\t\t\tlocator.lineNumber++;\n\t\t\t//console.log('line++:',locator,startPos,endPos)\n\t\t}\n\t\tlocator.columnNumber = p-lineStart+1;\n\t}\n\tvar lineStart = 0;\n\tvar lineEnd = 0;\n\tvar linePattern = /.*(?:\\r\\n?|\\n)|.*$/g\n\tvar locator = domBuilder.locator;\n\n\tvar parseStack = [{currentNSMap:defaultNSMapCopy}]\n\tvar closeMap = {};\n\tvar start = 0;\n\twhile(true){\n\t\ttry{\n\t\t\tvar tagStart = source.indexOf('<',start);\n\t\t\tif(tagStart<0){\n\t\t\t\tif(!source.substr(start).match(/^\\s*$/)){\n\t\t\t\t\tvar doc = domBuilder.doc;\n\t \t\t\tvar text = doc.createTextNode(source.substr(start));\n\t \t\t\tdoc.appendChild(text);\n\t \t\t\tdomBuilder.currentElement = text;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif(tagStart>start){\n\t\t\t\tappendText(tagStart);\n\t\t\t}\n\t\t\tswitch(source.charAt(tagStart+1)){\n\t\t\tcase '/':\n\t\t\t\tvar end = source.indexOf('>',tagStart+3);\n\t\t\t\tvar tagName = source.substring(tagStart + 2, end).replace(/[ \\t\\n\\r]+$/g, '');\n\t\t\t\tvar config = parseStack.pop();\n\t\t\t\tif(end<0){\n\n\t \t\ttagName = source.substring(tagStart+2).replace(/[\\s<].*/,'');\n\t \t\terrorHandler.error(\"end tag name: \"+tagName+' is not complete:'+config.tagName);\n\t \t\tend = tagStart+1+tagName.length;\n\t \t}else if(tagName.match(/\\s\n\t\t\t\tlocator&&position(tagStart);\n\t\t\t\tend = parseInstruction(source,tagStart,domBuilder);\n\t\t\t\tbreak;\n\t\t\tcase '!':// start){\n\t\t\tstart = end;\n\t\t}else{\n\t\t\t//TODO: 这里有可能sax回退,有位置错误风险\n\t\t\tappendText(Math.max(tagStart,start)+1);\n\t\t}\n\t}\n}\nfunction copyLocator(f,t){\n\tt.lineNumber = f.lineNumber;\n\tt.columnNumber = f.columnNumber;\n\treturn t;\n}\n\n/**\n * @see #appendElement(source,elStartEnd,el,selfClosed,entityReplacer,domBuilder,parseStack);\n * @return end of the elementStartPart(end of elementEndPart for selfClosed el)\n */\nfunction parseElementStartPart(source,start,el,currentNSMap,entityReplacer,errorHandler){\n\n\t/**\n\t * @param {string} qname\n\t * @param {string} value\n\t * @param {number} startIndex\n\t */\n\tfunction addAttribute(qname, value, startIndex) {\n\t\tif (el.attributeNames.hasOwnProperty(qname)) {\n\t\t\terrorHandler.fatalError('Attribute ' + qname + ' redefined')\n\t\t}\n\t\tel.addValue(\n\t\t\tqname,\n\t\t\t// @see https://www.w3.org/TR/xml/#AVNormalize\n\t\t\t// since the xmldom sax parser does not \"interpret\" DTD the following is not implemented:\n\t\t\t// - recursive replacement of (DTD) entity references\n\t\t\t// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA\n\t\t\tvalue.replace(/[\\t\\n\\r]/g, ' ').replace(/&#?\\w+;/g, entityReplacer),\n\t\t\tstartIndex\n\t\t)\n\t}\n\tvar attrName;\n\tvar value;\n\tvar p = ++start;\n\tvar s = S_TAG;//status\n\twhile(true){\n\t\tvar c = source.charAt(p);\n\t\tswitch(c){\n\t\tcase '=':\n\t\t\tif(s === S_ATTR){//attrName\n\t\t\t\tattrName = source.slice(start,p);\n\t\t\t\ts = S_EQ;\n\t\t\t}else if(s === S_ATTR_SPACE){\n\t\t\t\ts = S_EQ;\n\t\t\t}else{\n\t\t\t\t//fatalError: equal must after attrName or space after attrName\n\t\t\t\tthrow new Error('attribute equal must after attrName'); // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase '\\'':\n\t\tcase '\"':\n\t\t\tif(s === S_EQ || s === S_ATTR //|| s == S_ATTR_SPACE\n\t\t\t\t){//equal\n\t\t\t\tif(s === S_ATTR){\n\t\t\t\t\terrorHandler.warning('attribute value must after \"=\"')\n\t\t\t\t\tattrName = source.slice(start,p)\n\t\t\t\t}\n\t\t\t\tstart = p+1;\n\t\t\t\tp = source.indexOf(c,start)\n\t\t\t\tif(p>0){\n\t\t\t\t\tvalue = source.slice(start, p);\n\t\t\t\t\taddAttribute(attrName, value, start-1);\n\t\t\t\t\ts = S_ATTR_END;\n\t\t\t\t}else{\n\t\t\t\t\t//fatalError: no end quot match\n\t\t\t\t\tthrow new Error('attribute value no end \\''+c+'\\' match');\n\t\t\t\t}\n\t\t\t}else if(s == S_ATTR_NOQUOT_VALUE){\n\t\t\t\tvalue = source.slice(start, p);\n\t\t\t\taddAttribute(attrName, value, start);\n\t\t\t\terrorHandler.warning('attribute \"'+attrName+'\" missed start quot('+c+')!!');\n\t\t\t\tstart = p+1;\n\t\t\t\ts = S_ATTR_END\n\t\t\t}else{\n\t\t\t\t//fatalError: no equal before\n\t\t\t\tthrow new Error('attribute value must after \"=\"'); // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase '/':\n\t\t\tswitch(s){\n\t\t\tcase S_TAG:\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\tcase S_ATTR_END:\n\t\t\tcase S_TAG_SPACE:\n\t\t\tcase S_TAG_CLOSE:\n\t\t\t\ts =S_TAG_CLOSE;\n\t\t\t\tel.closed = true;\n\t\t\tcase S_ATTR_NOQUOT_VALUE:\n\t\t\tcase S_ATTR:\n\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_SPACE:\n\t\t\t\t\tel.closed = true;\n\t\t\t\tbreak;\n\t\t\t//case S_EQ:\n\t\t\tdefault:\n\t\t\t\tthrow new Error(\"attribute invalid close char('/')\") // No known test case\n\t\t\t}\n\t\t\tbreak;\n\t\tcase ''://end document\n\t\t\terrorHandler.error('unexpected end of input');\n\t\t\tif(s == S_TAG){\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\t}\n\t\t\treturn p;\n\t\tcase '>':\n\t\t\tswitch(s){\n\t\t\tcase S_TAG:\n\t\t\t\tel.setTagName(source.slice(start,p));\n\t\t\tcase S_ATTR_END:\n\t\t\tcase S_TAG_SPACE:\n\t\t\tcase S_TAG_CLOSE:\n\t\t\t\tbreak;//normal\n\t\t\tcase S_ATTR_NOQUOT_VALUE://Compatible state\n\t\t\tcase S_ATTR:\n\t\t\t\tvalue = source.slice(start,p);\n\t\t\t\tif(value.slice(-1) === '/'){\n\t\t\t\t\tel.closed = true;\n\t\t\t\t\tvalue = value.slice(0,-1)\n\t\t\t\t}\n\t\t\tcase S_ATTR_SPACE:\n\t\t\t\tif(s === S_ATTR_SPACE){\n\t\t\t\t\tvalue = attrName;\n\t\t\t\t}\n\t\t\t\tif(s == S_ATTR_NOQUOT_VALUE){\n\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed quot(\")!');\n\t\t\t\t\taddAttribute(attrName, value, start)\n\t\t\t\t}else{\n\t\t\t\t\tif(!NAMESPACE.isHTML(currentNSMap['']) || !value.match(/^(?:disabled|checked|selected)$/i)){\n\t\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed value!! \"'+value+'\" instead!!')\n\t\t\t\t\t}\n\t\t\t\t\taddAttribute(value, value, start)\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase S_EQ:\n\t\t\t\tthrow new Error('attribute value missed!!');\n\t\t\t}\n//\t\t\tconsole.log(tagName,tagNamePattern,tagNamePattern.test(tagName))\n\t\t\treturn p;\n\t\t/*xml space '\\x20' | #x9 | #xD | #xA; */\n\t\tcase '\\u0080':\n\t\t\tc = ' ';\n\t\tdefault:\n\t\t\tif(c<= ' '){//space\n\t\t\t\tswitch(s){\n\t\t\t\tcase S_TAG:\n\t\t\t\t\tel.setTagName(source.slice(start,p));//tagName\n\t\t\t\t\ts = S_TAG_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR:\n\t\t\t\t\tattrName = source.slice(start,p)\n\t\t\t\t\ts = S_ATTR_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_NOQUOT_VALUE:\n\t\t\t\t\tvar value = source.slice(start, p);\n\t\t\t\t\terrorHandler.warning('attribute \"'+value+'\" missed quot(\")!!');\n\t\t\t\t\taddAttribute(attrName, value, start)\n\t\t\t\tcase S_ATTR_END:\n\t\t\t\t\ts = S_TAG_SPACE;\n\t\t\t\t\tbreak;\n\t\t\t\t//case S_TAG_SPACE:\n\t\t\t\t//case S_EQ:\n\t\t\t\t//case S_ATTR_SPACE:\n\t\t\t\t//\tvoid();break;\n\t\t\t\t//case S_TAG_CLOSE:\n\t\t\t\t\t//ignore warning\n\t\t\t\t}\n\t\t\t}else{//not space\n//S_TAG,\tS_ATTR,\tS_EQ,\tS_ATTR_NOQUOT_VALUE\n//S_ATTR_SPACE,\tS_ATTR_END,\tS_TAG_SPACE, S_TAG_CLOSE\n\t\t\t\tswitch(s){\n\t\t\t\t//case S_TAG:void();break;\n\t\t\t\t//case S_ATTR:void();break;\n\t\t\t\t//case S_ATTR_NOQUOT_VALUE:void();break;\n\t\t\t\tcase S_ATTR_SPACE:\n\t\t\t\t\tvar tagName = el.tagName;\n\t\t\t\t\tif (!NAMESPACE.isHTML(currentNSMap['']) || !attrName.match(/^(?:disabled|checked|selected)$/i)) {\n\t\t\t\t\t\terrorHandler.warning('attribute \"'+attrName+'\" missed value!! \"'+attrName+'\" instead2!!')\n\t\t\t\t\t}\n\t\t\t\t\taddAttribute(attrName, attrName, start);\n\t\t\t\t\tstart = p;\n\t\t\t\t\ts = S_ATTR;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_ATTR_END:\n\t\t\t\t\terrorHandler.warning('attribute space is required\"'+attrName+'\"!!')\n\t\t\t\tcase S_TAG_SPACE:\n\t\t\t\t\ts = S_ATTR;\n\t\t\t\t\tstart = p;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_EQ:\n\t\t\t\t\ts = S_ATTR_NOQUOT_VALUE;\n\t\t\t\t\tstart = p;\n\t\t\t\t\tbreak;\n\t\t\t\tcase S_TAG_CLOSE:\n\t\t\t\t\tthrow new Error(\"elements closed character '/' and '>' must be connected to\");\n\t\t\t\t}\n\t\t\t}\n\t\t}//end outer switch\n\t\t//console.log('p++',p)\n\t\tp++;\n\t}\n}\n/**\n * @return true if has new namespace define\n */\nfunction appendElement(el,domBuilder,currentNSMap){\n\tvar tagName = el.tagName;\n\tvar localNSMap = null;\n\t//var currentNSMap = parseStack[parseStack.length-1].currentNSMap;\n\tvar i = el.length;\n\twhile(i--){\n\t\tvar a = el[i];\n\t\tvar qName = a.qName;\n\t\tvar value = a.value;\n\t\tvar nsp = qName.indexOf(':');\n\t\tif(nsp>0){\n\t\t\tvar prefix = a.prefix = qName.slice(0,nsp);\n\t\t\tvar localName = qName.slice(nsp+1);\n\t\t\tvar nsPrefix = prefix === 'xmlns' && localName\n\t\t}else{\n\t\t\tlocalName = qName;\n\t\t\tprefix = null\n\t\t\tnsPrefix = qName === 'xmlns' && ''\n\t\t}\n\t\t//can not set prefix,because prefix !== ''\n\t\ta.localName = localName ;\n\t\t//prefix == null for no ns prefix attribute\n\t\tif(nsPrefix !== false){//hack!!\n\t\t\tif(localNSMap == null){\n\t\t\t\tlocalNSMap = {}\n\t\t\t\t//console.log(currentNSMap,0)\n\t\t\t\t_copy(currentNSMap,currentNSMap={})\n\t\t\t\t//console.log(currentNSMap,1)\n\t\t\t}\n\t\t\tcurrentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;\n\t\t\ta.uri = NAMESPACE.XMLNS\n\t\t\tdomBuilder.startPrefixMapping(nsPrefix, value)\n\t\t}\n\t}\n\tvar i = el.length;\n\twhile(i--){\n\t\ta = el[i];\n\t\tvar prefix = a.prefix;\n\t\tif(prefix){//no prefix attribute has no namespace\n\t\t\tif(prefix === 'xml'){\n\t\t\t\ta.uri = NAMESPACE.XML;\n\t\t\t}if(prefix !== 'xmlns'){\n\t\t\t\ta.uri = currentNSMap[prefix || '']\n\n\t\t\t\t//{console.log('###'+a.qName,domBuilder.locator.systemId+'',currentNSMap,a.uri)}\n\t\t\t}\n\t\t}\n\t}\n\tvar nsp = tagName.indexOf(':');\n\tif(nsp>0){\n\t\tprefix = el.prefix = tagName.slice(0,nsp);\n\t\tlocalName = el.localName = tagName.slice(nsp+1);\n\t}else{\n\t\tprefix = null;//important!!\n\t\tlocalName = el.localName = tagName;\n\t}\n\t//no prefix element has default namespace\n\tvar ns = el.uri = currentNSMap[prefix || ''];\n\tdomBuilder.startElement(ns,localName,tagName,el);\n\t//endPrefixMapping and startPrefixMapping have not any help for dom builder\n\t//localNSMap = null\n\tif(el.closed){\n\t\tdomBuilder.endElement(ns,localName,tagName);\n\t\tif(localNSMap){\n\t\t\tfor (prefix in localNSMap) {\n\t\t\t\tif (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {\n\t\t\t\t\tdomBuilder.endPrefixMapping(prefix);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}else{\n\t\tel.currentNSMap = currentNSMap;\n\t\tel.localNSMap = localNSMap;\n\t\t//parseStack.push(el);\n\t\treturn true;\n\t}\n}\nfunction parseHtmlSpecialContent(source,elStartEnd,tagName,entityReplacer,domBuilder){\n\tif(/^(?:script|textarea)$/i.test(tagName)){\n\t\tvar elEndStart = source.indexOf('',elStartEnd);\n\t\tvar text = source.substring(elStartEnd+1,elEndStart);\n\t\tif(/[&<]/.test(text)){\n\t\t\tif(/^script$/i.test(tagName)){\n\t\t\t\t//if(!/\\]\\]>/.test(text)){\n\t\t\t\t\t//lexHandler.startCDATA();\n\t\t\t\t\tdomBuilder.characters(text,0,text.length);\n\t\t\t\t\t//lexHandler.endCDATA();\n\t\t\t\t\treturn elEndStart;\n\t\t\t\t//}\n\t\t\t}//}else{//text area\n\t\t\t\ttext = text.replace(/&#?\\w+;/g,entityReplacer);\n\t\t\t\tdomBuilder.characters(text,0,text.length);\n\t\t\t\treturn elEndStart;\n\t\t\t//}\n\n\t\t}\n\t}\n\treturn elStartEnd+1;\n}\nfunction fixSelfClosed(source,elStartEnd,tagName,closeMap){\n\t//if(tagName in closeMap){\n\tvar pos = closeMap[tagName];\n\tif(pos == null){\n\t\t//console.log(tagName)\n\t\tpos = source.lastIndexOf('')\n\t\tif(pos',start+4);\n\t\t\t//append comment source.substring(4,end)// | item |\n// | item | | item | | item |\n// | ... | | ... | | ... |\n// | item | | item | | item |\n// | item | | item | | item |\n// | [empty] | <-- top | item | | item |\n// | [empty] | | item | | item |\n// | [empty] | | [empty] | <-- top top --> | [empty] |\n// +-----------+ +-----------+ +-----------+\n//\n// Or, if there is only one circular buffer, it looks something\n// like either of these:\n//\n// head tail head tail\n// | | | |\n// v v v v\n// +-----------+ +-----------+\n// | [null] | | [null] |\n// +-----------+ +-----------+\n// | [empty] | | item |\n// | [empty] | | item |\n// | item | <-- bottom top --> | [empty] |\n// | item | | [empty] |\n// | [empty] | <-- top bottom --> | item |\n// | [empty] | | item |\n// +-----------+ +-----------+\n//\n// Adding a value means moving `top` forward by one, removing means\n// moving `bottom` forward by one. After reaching the end, the queue\n// wraps around.\n//\n// When `top === bottom` the current queue is empty and when\n// `top + 1 === bottom` it's full. This wastes a single space of storage\n// but allows much quicker checks.\nclass $550943014aab3ab9$var$FixedCircularBuffer {\n constructor(){\n this.bottom = 0;\n this.top = 0;\n this.list = new Array($550943014aab3ab9$var$kSize);\n this.next = null;\n }\n isEmpty() {\n return this.top === this.bottom;\n }\n isFull() {\n return (this.top + 1 & $550943014aab3ab9$var$kMask) === this.bottom;\n }\n push(data) {\n this.list[this.top] = data;\n this.top = this.top + 1 & $550943014aab3ab9$var$kMask;\n }\n shift() {\n const nextItem = this.list[this.bottom];\n if (nextItem === undefined) return null;\n this.list[this.bottom] = undefined;\n this.bottom = this.bottom + 1 & $550943014aab3ab9$var$kMask;\n return nextItem;\n }\n}\nmodule.exports = class FixedQueue {\n constructor(){\n this.head = this.tail = new $550943014aab3ab9$var$FixedCircularBuffer();\n }\n isEmpty() {\n return this.head.isEmpty();\n }\n push(data) {\n if (this.head.isFull()) // Head is full: Creates a new queue, sets the old queue's `.next` to it,\n // and sets it as the new main queue.\n this.head = this.head.next = new $550943014aab3ab9$var$FixedCircularBuffer();\n this.head.push(data);\n }\n shift() {\n const tail = this.tail;\n const next = tail.shift();\n if (tail.isEmpty() && tail.next !== null) // If there is another queue, it forms the new tail.\n this.tail = tail.next;\n return next;\n }\n};\n\n});\n\nparcelRegister(\"34mtO\", function(module, exports) {\n\nvar $heqcE = parcelRequire(\"heqcE\");\nvar $23c32edf82560e13$require$kFree = $heqcE.kFree;\nvar $23c32edf82560e13$require$kConnected = $heqcE.kConnected;\nvar $23c32edf82560e13$require$kPending = $heqcE.kPending;\nvar $23c32edf82560e13$require$kQueued = $heqcE.kQueued;\nvar $23c32edf82560e13$require$kRunning = $heqcE.kRunning;\nvar $23c32edf82560e13$require$kSize = $heqcE.kSize;\nconst $23c32edf82560e13$var$kPool = Symbol(\"pool\");\nclass $23c32edf82560e13$var$PoolStats {\n constructor(pool){\n this[$23c32edf82560e13$var$kPool] = pool;\n }\n get connected() {\n return this[$23c32edf82560e13$var$kPool][$23c32edf82560e13$require$kConnected];\n }\n get free() {\n return this[$23c32edf82560e13$var$kPool][$23c32edf82560e13$require$kFree];\n }\n get pending() {\n return this[$23c32edf82560e13$var$kPool][$23c32edf82560e13$require$kPending];\n }\n get queued() {\n return this[$23c32edf82560e13$var$kPool][$23c32edf82560e13$require$kQueued];\n }\n get running() {\n return this[$23c32edf82560e13$var$kPool][$23c32edf82560e13$require$kRunning];\n }\n get size() {\n return this[$23c32edf82560e13$var$kPool][$23c32edf82560e13$require$kSize];\n }\n}\nmodule.exports = $23c32edf82560e13$var$PoolStats;\n\n});\n\n\nparcelRegister(\"3109b\", function(module, exports) {\n// @ts-check\n\"use strict\";\n\n\n\n\nvar $2321944cfe4ffd56$require$pipeline = $7rf7a$stream.pipeline;\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\n\nvar $8zzvT = parcelRequire(\"8zzvT\");\n\nvar $8XvZr = parcelRequire(\"8XvZr\");\n\nvar $8jk4s = parcelRequire(\"8jk4s\");\n\nvar $eCuXV = parcelRequire(\"eCuXV\");\nvar $2321944cfe4ffd56$require$RequestContentLengthMismatchError = $eCuXV.RequestContentLengthMismatchError;\nvar $2321944cfe4ffd56$require$ResponseContentLengthMismatchError = $eCuXV.ResponseContentLengthMismatchError;\nvar $2321944cfe4ffd56$require$InvalidArgumentError = $eCuXV.InvalidArgumentError;\nvar $2321944cfe4ffd56$require$RequestAbortedError = $eCuXV.RequestAbortedError;\nvar $2321944cfe4ffd56$require$HeadersTimeoutError = $eCuXV.HeadersTimeoutError;\nvar $2321944cfe4ffd56$require$HeadersOverflowError = $eCuXV.HeadersOverflowError;\nvar $2321944cfe4ffd56$require$SocketError = $eCuXV.SocketError;\nvar $2321944cfe4ffd56$require$InformationalError = $eCuXV.InformationalError;\nvar $2321944cfe4ffd56$require$BodyTimeoutError = $eCuXV.BodyTimeoutError;\nvar $2321944cfe4ffd56$require$HTTPParserError = $eCuXV.HTTPParserError;\nvar $2321944cfe4ffd56$require$ResponseExceededMaxSizeError = $eCuXV.ResponseExceededMaxSizeError;\nvar $2321944cfe4ffd56$require$ClientDestroyedError = $eCuXV.ClientDestroyedError;\n\nvar $8fhlK = parcelRequire(\"8fhlK\");\n\nvar $heqcE = parcelRequire(\"heqcE\");\nvar $2321944cfe4ffd56$require$kUrl = $heqcE.kUrl;\nvar $2321944cfe4ffd56$require$kReset = $heqcE.kReset;\nvar $2321944cfe4ffd56$require$kServerName = $heqcE.kServerName;\nvar $2321944cfe4ffd56$require$kClient = $heqcE.kClient;\nvar $2321944cfe4ffd56$require$kBusy = $heqcE.kBusy;\nvar $2321944cfe4ffd56$require$kParser = $heqcE.kParser;\nvar $2321944cfe4ffd56$require$kConnect = $heqcE.kConnect;\nvar $2321944cfe4ffd56$require$kBlocking = $heqcE.kBlocking;\nvar $2321944cfe4ffd56$require$kResuming = $heqcE.kResuming;\nvar $2321944cfe4ffd56$require$kRunning = $heqcE.kRunning;\nvar $2321944cfe4ffd56$require$kPending = $heqcE.kPending;\nvar $2321944cfe4ffd56$require$kSize = $heqcE.kSize;\nvar $2321944cfe4ffd56$require$kWriting = $heqcE.kWriting;\nvar $2321944cfe4ffd56$require$kQueue = $heqcE.kQueue;\nvar $2321944cfe4ffd56$require$kConnected = $heqcE.kConnected;\nvar $2321944cfe4ffd56$require$kConnecting = $heqcE.kConnecting;\nvar $2321944cfe4ffd56$require$kNeedDrain = $heqcE.kNeedDrain;\nvar $2321944cfe4ffd56$require$kNoRef = $heqcE.kNoRef;\nvar $2321944cfe4ffd56$require$kKeepAliveDefaultTimeout = $heqcE.kKeepAliveDefaultTimeout;\nvar $2321944cfe4ffd56$require$kHostHeader = $heqcE.kHostHeader;\nvar $2321944cfe4ffd56$require$kPendingIdx = $heqcE.kPendingIdx;\nvar $2321944cfe4ffd56$require$kRunningIdx = $heqcE.kRunningIdx;\nvar $2321944cfe4ffd56$require$kError = $heqcE.kError;\nvar $2321944cfe4ffd56$require$kPipelining = $heqcE.kPipelining;\nvar $2321944cfe4ffd56$require$kSocket = $heqcE.kSocket;\nvar $2321944cfe4ffd56$require$kKeepAliveTimeoutValue = $heqcE.kKeepAliveTimeoutValue;\nvar $2321944cfe4ffd56$require$kMaxHeadersSize = $heqcE.kMaxHeadersSize;\nvar $2321944cfe4ffd56$require$kKeepAliveMaxTimeout = $heqcE.kKeepAliveMaxTimeout;\nvar $2321944cfe4ffd56$require$kKeepAliveTimeoutThreshold = $heqcE.kKeepAliveTimeoutThreshold;\nvar $2321944cfe4ffd56$require$kHeadersTimeout = $heqcE.kHeadersTimeout;\nvar $2321944cfe4ffd56$require$kBodyTimeout = $heqcE.kBodyTimeout;\nvar $2321944cfe4ffd56$require$kStrictContentLength = $heqcE.kStrictContentLength;\nvar $2321944cfe4ffd56$require$kConnector = $heqcE.kConnector;\nvar $2321944cfe4ffd56$require$kMaxRedirections = $heqcE.kMaxRedirections;\nvar $2321944cfe4ffd56$require$kMaxRequests = $heqcE.kMaxRequests;\nvar $2321944cfe4ffd56$require$kCounter = $heqcE.kCounter;\nvar $2321944cfe4ffd56$require$kClose = $heqcE.kClose;\nvar $2321944cfe4ffd56$require$kDestroy = $heqcE.kDestroy;\nvar $2321944cfe4ffd56$require$kDispatch = $heqcE.kDispatch;\nvar $2321944cfe4ffd56$require$kInterceptors = $heqcE.kInterceptors;\nvar $2321944cfe4ffd56$require$kLocalAddress = $heqcE.kLocalAddress;\nvar $2321944cfe4ffd56$require$kMaxResponseSize = $heqcE.kMaxResponseSize;\nvar $2321944cfe4ffd56$require$kHTTPConnVersion = $heqcE.kHTTPConnVersion;\nvar $2321944cfe4ffd56$require$kHost = $heqcE.kHost;\nvar $2321944cfe4ffd56$require$kHTTP2Session = $heqcE.kHTTP2Session;\nvar $2321944cfe4ffd56$require$kHTTP2SessionState = $heqcE.kHTTP2SessionState;\nvar $2321944cfe4ffd56$require$kHTTP2BuildRequest = $heqcE.kHTTP2BuildRequest;\nvar $2321944cfe4ffd56$require$kHTTP2CopyHeaders = $heqcE.kHTTP2CopyHeaders;\nvar $2321944cfe4ffd56$require$kHTTP1BuildRequest = $heqcE.kHTTP1BuildRequest;\n/** @type {import('http2')} */ let $2321944cfe4ffd56$var$http2;\n\ntry {\n $2321944cfe4ffd56$var$http2 = $2321944cfe4ffd56$import$44c8f355160d282b;\n} catch {\n // @ts-ignore\n $2321944cfe4ffd56$var$http2 = {\n constants: {}\n };\n}\nconst { constants: { HTTP2_HEADER_AUTHORITY: $2321944cfe4ffd56$var$HTTP2_HEADER_AUTHORITY, HTTP2_HEADER_METHOD: $2321944cfe4ffd56$var$HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH: $2321944cfe4ffd56$var$HTTP2_HEADER_PATH, HTTP2_HEADER_SCHEME: $2321944cfe4ffd56$var$HTTP2_HEADER_SCHEME, HTTP2_HEADER_CONTENT_LENGTH: $2321944cfe4ffd56$var$HTTP2_HEADER_CONTENT_LENGTH, HTTP2_HEADER_EXPECT: $2321944cfe4ffd56$var$HTTP2_HEADER_EXPECT, HTTP2_HEADER_STATUS: $2321944cfe4ffd56$var$HTTP2_HEADER_STATUS } } = $2321944cfe4ffd56$var$http2;\n// Experimental\nlet $2321944cfe4ffd56$var$h2ExperimentalWarned = false;\nconst $2321944cfe4ffd56$var$FastBuffer = Buffer[Symbol.species];\nconst $2321944cfe4ffd56$var$kClosedResolve = Symbol(\"kClosedResolve\");\nconst $2321944cfe4ffd56$var$channels = {};\n\ntry {\n const diagnosticsChannel = (parcelRequire(\"dfobN\"));\n $2321944cfe4ffd56$var$channels.sendHeaders = diagnosticsChannel.channel(\"undici:client:sendHeaders\");\n $2321944cfe4ffd56$var$channels.beforeConnect = diagnosticsChannel.channel(\"undici:client:beforeConnect\");\n $2321944cfe4ffd56$var$channels.connectError = diagnosticsChannel.channel(\"undici:client:connectError\");\n $2321944cfe4ffd56$var$channels.connected = diagnosticsChannel.channel(\"undici:client:connected\");\n} catch {\n $2321944cfe4ffd56$var$channels.sendHeaders = {\n hasSubscribers: false\n };\n $2321944cfe4ffd56$var$channels.beforeConnect = {\n hasSubscribers: false\n };\n $2321944cfe4ffd56$var$channels.connectError = {\n hasSubscribers: false\n };\n $2321944cfe4ffd56$var$channels.connected = {\n hasSubscribers: false\n };\n}\n/**\n * @type {import('../types/client').default}\n */ class $2321944cfe4ffd56$var$Client extends $8jk4s {\n /**\n *\n * @param {string|URL} url\n * @param {import('../types/client').Client.Options} options\n */ constructor(url, { interceptors: interceptors, maxHeaderSize: maxHeaderSize, headersTimeout: headersTimeout, socketTimeout: socketTimeout, requestTimeout: requestTimeout, connectTimeout: connectTimeout, bodyTimeout: bodyTimeout, idleTimeout: idleTimeout, keepAlive: keepAlive, keepAliveTimeout: keepAliveTimeout, maxKeepAliveTimeout: maxKeepAliveTimeout, keepAliveMaxTimeout: keepAliveMaxTimeout, keepAliveTimeoutThreshold: keepAliveTimeoutThreshold, socketPath: socketPath, pipelining: pipelining, tls: tls, strictContentLength: strictContentLength, maxCachedSessions: maxCachedSessions, maxRedirections: maxRedirections, connect: connect, maxRequestsPerClient: maxRequestsPerClient, localAddress: localAddress, maxResponseSize: maxResponseSize, autoSelectFamily: autoSelectFamily, autoSelectFamilyAttemptTimeout: autoSelectFamilyAttemptTimeout, allowH2: // h2\n allowH2, maxConcurrentStreams: maxConcurrentStreams } = {}){\n super();\n if (keepAlive !== undefined) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"unsupported keepAlive, use pipelining=0 instead\");\n if (socketTimeout !== undefined) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"unsupported socketTimeout, use headersTimeout & bodyTimeout instead\");\n if (requestTimeout !== undefined) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"unsupported requestTimeout, use headersTimeout & bodyTimeout instead\");\n if (idleTimeout !== undefined) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"unsupported idleTimeout, use keepAliveTimeout instead\");\n if (maxKeepAliveTimeout !== undefined) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead\");\n if (maxHeaderSize != null && !Number.isFinite(maxHeaderSize)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"invalid maxHeaderSize\");\n if (socketPath != null && typeof socketPath !== \"string\") throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"invalid socketPath\");\n if (connectTimeout != null && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"invalid connectTimeout\");\n if (keepAliveTimeout != null && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"invalid keepAliveTimeout\");\n if (keepAliveMaxTimeout != null && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"invalid keepAliveMaxTimeout\");\n if (keepAliveTimeoutThreshold != null && !Number.isFinite(keepAliveTimeoutThreshold)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"invalid keepAliveTimeoutThreshold\");\n if (headersTimeout != null && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"headersTimeout must be a positive integer or zero\");\n if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"bodyTimeout must be a positive integer or zero\");\n if (connect != null && typeof connect !== \"function\" && typeof connect !== \"object\") throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"connect must be a function or an object\");\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"maxRedirections must be a positive number\");\n if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"maxRequestsPerClient must be a positive number\");\n if (localAddress != null && (typeof localAddress !== \"string\" || $7rf7a$net.isIP(localAddress) === 0)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"localAddress must be valid string IP address\");\n if (maxResponseSize != null && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"maxResponseSize must be a positive number\");\n if (autoSelectFamilyAttemptTimeout != null && (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"autoSelectFamilyAttemptTimeout must be a positive number\");\n // h2\n if (allowH2 != null && typeof allowH2 !== \"boolean\") throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"allowH2 must be a valid boolean value\");\n if (maxConcurrentStreams != null && (typeof maxConcurrentStreams !== \"number\" || maxConcurrentStreams < 1)) throw new $2321944cfe4ffd56$require$InvalidArgumentError(\"maxConcurrentStreams must be a possitive integer, greater than 0\");\n if (typeof connect !== \"function\") connect = $8fhlK({\n ...tls,\n maxCachedSessions: maxCachedSessions,\n allowH2: allowH2,\n socketPath: socketPath,\n timeout: connectTimeout,\n ...$jqWlt.nodeHasAutoSelectFamily && autoSelectFamily ? {\n autoSelectFamily: autoSelectFamily,\n autoSelectFamilyAttemptTimeout: autoSelectFamilyAttemptTimeout\n } : undefined,\n ...connect\n });\n this[$2321944cfe4ffd56$require$kInterceptors] = interceptors && interceptors.Client && Array.isArray(interceptors.Client) ? interceptors.Client : [\n $lx1W2({\n maxRedirections: maxRedirections\n })\n ];\n this[$2321944cfe4ffd56$require$kUrl] = $jqWlt.parseOrigin(url);\n this[$2321944cfe4ffd56$require$kConnector] = connect;\n this[$2321944cfe4ffd56$require$kSocket] = null;\n this[$2321944cfe4ffd56$require$kPipelining] = pipelining != null ? pipelining : 1;\n this[$2321944cfe4ffd56$require$kMaxHeadersSize] = maxHeaderSize || $7rf7a$http.maxHeaderSize;\n this[$2321944cfe4ffd56$require$kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4e3 : keepAliveTimeout;\n this[$2321944cfe4ffd56$require$kKeepAliveMaxTimeout] = keepAliveMaxTimeout == null ? 600e3 : keepAliveMaxTimeout;\n this[$2321944cfe4ffd56$require$kKeepAliveTimeoutThreshold] = keepAliveTimeoutThreshold == null ? 1e3 : keepAliveTimeoutThreshold;\n this[$2321944cfe4ffd56$require$kKeepAliveTimeoutValue] = this[$2321944cfe4ffd56$require$kKeepAliveDefaultTimeout];\n this[$2321944cfe4ffd56$require$kServerName] = null;\n this[$2321944cfe4ffd56$require$kLocalAddress] = localAddress != null ? localAddress : null;\n this[$2321944cfe4ffd56$require$kResuming] = 0 // 0, idle, 1, scheduled, 2 resuming\n ;\n this[$2321944cfe4ffd56$require$kNeedDrain] = 0 // 0, idle, 1, scheduled, 2 resuming\n ;\n this[$2321944cfe4ffd56$require$kHostHeader] = `host: ${this[$2321944cfe4ffd56$require$kUrl].hostname}${this[$2321944cfe4ffd56$require$kUrl].port ? `:${this[$2321944cfe4ffd56$require$kUrl].port}` : \"\"}\\r\\n`;\n this[$2321944cfe4ffd56$require$kBodyTimeout] = bodyTimeout != null ? bodyTimeout : 300e3;\n this[$2321944cfe4ffd56$require$kHeadersTimeout] = headersTimeout != null ? headersTimeout : 300e3;\n this[$2321944cfe4ffd56$require$kStrictContentLength] = strictContentLength == null ? true : strictContentLength;\n this[$2321944cfe4ffd56$require$kMaxRedirections] = maxRedirections;\n this[$2321944cfe4ffd56$require$kMaxRequests] = maxRequestsPerClient;\n this[$2321944cfe4ffd56$var$kClosedResolve] = null;\n this[$2321944cfe4ffd56$require$kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1;\n this[$2321944cfe4ffd56$require$kHTTPConnVersion] = \"h1\";\n // HTTP/2\n this[$2321944cfe4ffd56$require$kHTTP2Session] = null;\n this[$2321944cfe4ffd56$require$kHTTP2SessionState] = !allowH2 ? null : {\n // streams: null, // Fixed queue of streams - For future support of `push`\n openStreams: 0,\n maxConcurrentStreams: maxConcurrentStreams != null ? maxConcurrentStreams : 100 // Max peerConcurrentStreams for a Node h2 server\n };\n this[$2321944cfe4ffd56$require$kHost] = `${this[$2321944cfe4ffd56$require$kUrl].hostname}${this[$2321944cfe4ffd56$require$kUrl].port ? `:${this[$2321944cfe4ffd56$require$kUrl].port}` : \"\"}`;\n // kQueue is built up of 3 sections separated by\n // the kRunningIdx and kPendingIdx indices.\n // | complete | running | pending |\n // ^ kRunningIdx ^ kPendingIdx ^ kQueue.length\n // kRunningIdx points to the first running element.\n // kPendingIdx points to the first pending element.\n // This implements a fast queue with an amortized\n // time of O(1).\n this[$2321944cfe4ffd56$require$kQueue] = [];\n this[$2321944cfe4ffd56$require$kRunningIdx] = 0;\n this[$2321944cfe4ffd56$require$kPendingIdx] = 0;\n }\n get pipelining() {\n return this[$2321944cfe4ffd56$require$kPipelining];\n }\n set pipelining(value) {\n this[$2321944cfe4ffd56$require$kPipelining] = value;\n $2321944cfe4ffd56$var$resume(this, true);\n }\n get [$2321944cfe4ffd56$require$kPending]() {\n return this[$2321944cfe4ffd56$require$kQueue].length - this[$2321944cfe4ffd56$require$kPendingIdx];\n }\n get [$2321944cfe4ffd56$require$kRunning]() {\n return this[$2321944cfe4ffd56$require$kPendingIdx] - this[$2321944cfe4ffd56$require$kRunningIdx];\n }\n get [$2321944cfe4ffd56$require$kSize]() {\n return this[$2321944cfe4ffd56$require$kQueue].length - this[$2321944cfe4ffd56$require$kRunningIdx];\n }\n get [$2321944cfe4ffd56$require$kConnected]() {\n return !!this[$2321944cfe4ffd56$require$kSocket] && !this[$2321944cfe4ffd56$require$kConnecting] && !this[$2321944cfe4ffd56$require$kSocket].destroyed;\n }\n get [$2321944cfe4ffd56$require$kBusy]() {\n const socket = this[$2321944cfe4ffd56$require$kSocket];\n return socket && (socket[$2321944cfe4ffd56$require$kReset] || socket[$2321944cfe4ffd56$require$kWriting] || socket[$2321944cfe4ffd56$require$kBlocking]) || this[$2321944cfe4ffd56$require$kSize] >= (this[$2321944cfe4ffd56$require$kPipelining] || 1) || this[$2321944cfe4ffd56$require$kPending] > 0;\n }\n /* istanbul ignore: only used for test */ [$2321944cfe4ffd56$require$kConnect](cb) {\n $2321944cfe4ffd56$var$connect(this);\n this.once(\"connect\", cb);\n }\n [$2321944cfe4ffd56$require$kDispatch](opts, handler) {\n const origin = opts.origin || this[$2321944cfe4ffd56$require$kUrl].origin;\n const request = this[$2321944cfe4ffd56$require$kHTTPConnVersion] === \"h2\" ? $8XvZr[$2321944cfe4ffd56$require$kHTTP2BuildRequest](origin, opts, handler) : $8XvZr[$2321944cfe4ffd56$require$kHTTP1BuildRequest](origin, opts, handler);\n this[$2321944cfe4ffd56$require$kQueue].push(request);\n if (this[$2321944cfe4ffd56$require$kResuming]) ;\n else if ($jqWlt.bodyLength(request.body) == null && $jqWlt.isIterable(request.body)) {\n // Wait a tick in case stream/iterator is ended in the same tick.\n this[$2321944cfe4ffd56$require$kResuming] = 1;\n process.nextTick($2321944cfe4ffd56$var$resume, this);\n } else $2321944cfe4ffd56$var$resume(this, true);\n if (this[$2321944cfe4ffd56$require$kResuming] && this[$2321944cfe4ffd56$require$kNeedDrain] !== 2 && this[$2321944cfe4ffd56$require$kBusy]) this[$2321944cfe4ffd56$require$kNeedDrain] = 2;\n return this[$2321944cfe4ffd56$require$kNeedDrain] < 2;\n }\n async [$2321944cfe4ffd56$require$kClose]() {\n // TODO: for H2 we need to gracefully flush the remaining enqueued\n // request and close each stream.\n return new Promise((resolve)=>{\n if (!this[$2321944cfe4ffd56$require$kSize]) resolve(null);\n else this[$2321944cfe4ffd56$var$kClosedResolve] = resolve;\n });\n }\n async [$2321944cfe4ffd56$require$kDestroy](err) {\n return new Promise((resolve)=>{\n const requests = this[$2321944cfe4ffd56$require$kQueue].splice(this[$2321944cfe4ffd56$require$kPendingIdx]);\n for(let i = 0; i < requests.length; i++){\n const request = requests[i];\n $2321944cfe4ffd56$var$errorRequest(this, request, err);\n }\n const callback = ()=>{\n if (this[$2321944cfe4ffd56$var$kClosedResolve]) {\n // TODO (fix): Should we error here with ClientDestroyedError?\n this[$2321944cfe4ffd56$var$kClosedResolve]();\n this[$2321944cfe4ffd56$var$kClosedResolve] = null;\n }\n resolve();\n };\n if (this[$2321944cfe4ffd56$require$kHTTP2Session] != null) {\n $jqWlt.destroy(this[$2321944cfe4ffd56$require$kHTTP2Session], err);\n this[$2321944cfe4ffd56$require$kHTTP2Session] = null;\n this[$2321944cfe4ffd56$require$kHTTP2SessionState] = null;\n }\n if (!this[$2321944cfe4ffd56$require$kSocket]) queueMicrotask(callback);\n else $jqWlt.destroy(this[$2321944cfe4ffd56$require$kSocket].on(\"close\", callback), err);\n $2321944cfe4ffd56$var$resume(this);\n });\n }\n}\nfunction $2321944cfe4ffd56$var$onHttp2SessionError(err) {\n $7rf7a$assert(err.code !== \"ERR_TLS_CERT_ALTNAME_INVALID\");\n this[$2321944cfe4ffd56$require$kSocket][$2321944cfe4ffd56$require$kError] = err;\n $2321944cfe4ffd56$var$onError(this[$2321944cfe4ffd56$require$kClient], err);\n}\nfunction $2321944cfe4ffd56$var$onHttp2FrameError(type, code, id) {\n const err = new $2321944cfe4ffd56$require$InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`);\n if (id === 0) {\n this[$2321944cfe4ffd56$require$kSocket][$2321944cfe4ffd56$require$kError] = err;\n $2321944cfe4ffd56$var$onError(this[$2321944cfe4ffd56$require$kClient], err);\n }\n}\nfunction $2321944cfe4ffd56$var$onHttp2SessionEnd() {\n $jqWlt.destroy(this, new $2321944cfe4ffd56$require$SocketError(\"other side closed\"));\n $jqWlt.destroy(this[$2321944cfe4ffd56$require$kSocket], new $2321944cfe4ffd56$require$SocketError(\"other side closed\"));\n}\nfunction $2321944cfe4ffd56$var$onHTTP2GoAway(code) {\n const client = this[$2321944cfe4ffd56$require$kClient];\n const err = new $2321944cfe4ffd56$require$InformationalError(`HTTP/2: \"GOAWAY\" frame received with code ${code}`);\n client[$2321944cfe4ffd56$require$kSocket] = null;\n client[$2321944cfe4ffd56$require$kHTTP2Session] = null;\n if (client.destroyed) {\n $7rf7a$assert(this[$2321944cfe4ffd56$require$kPending] === 0);\n // Fail entire queue.\n const requests = client[$2321944cfe4ffd56$require$kQueue].splice(client[$2321944cfe4ffd56$require$kRunningIdx]);\n for(let i = 0; i < requests.length; i++){\n const request = requests[i];\n $2321944cfe4ffd56$var$errorRequest(this, request, err);\n }\n } else if (client[$2321944cfe4ffd56$require$kRunning] > 0) {\n // Fail head of pipeline.\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]++] = null;\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n }\n client[$2321944cfe4ffd56$require$kPendingIdx] = client[$2321944cfe4ffd56$require$kRunningIdx];\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kRunning] === 0);\n client.emit(\"disconnect\", client[$2321944cfe4ffd56$require$kUrl], [\n client\n ], err);\n $2321944cfe4ffd56$var$resume(client);\n}\n\nvar $51KgU = parcelRequire(\"51KgU\");\n\nvar $lx1W2 = parcelRequire(\"lx1W2\");\nconst $2321944cfe4ffd56$var$EMPTY_BUF = Buffer.alloc(0);\n\n\n\nasync function $2321944cfe4ffd56$var$lazyllhttp() {\n const llhttpWasmData = process.env.JEST_WORKER_ID ? (parcelRequire(\"7Bk3T\")) : undefined;\n let mod;\n try {\n mod = await WebAssembly.compile(Buffer.from((parcelRequire(\"7jx6f\")), \"base64\"));\n } catch (e) {\n /* istanbul ignore next */ // We could check if the error was caused by the simd option not\n // being enabled, but the occurring of this other error\n // * https://github.com/emscripten-core/emscripten/issues/11495\n // got me to remove that check to avoid breaking Node 12.\n mod = await WebAssembly.compile(Buffer.from(llhttpWasmData || (parcelRequire(\"7Bk3T\")), \"base64\"));\n }\n return await WebAssembly.instantiate(mod, {\n env: {\n /* eslint-disable camelcase */ wasm_on_url: (p, at, len)=>{\n /* istanbul ignore next */ return 0;\n },\n wasm_on_status: (p, at, len)=>{\n $7rf7a$assert.strictEqual($2321944cfe4ffd56$var$currentParser.ptr, p);\n const start = at - $2321944cfe4ffd56$var$currentBufferPtr + $2321944cfe4ffd56$var$currentBufferRef.byteOffset;\n return $2321944cfe4ffd56$var$currentParser.onStatus(new $2321944cfe4ffd56$var$FastBuffer($2321944cfe4ffd56$var$currentBufferRef.buffer, start, len)) || 0;\n },\n wasm_on_message_begin: (p)=>{\n $7rf7a$assert.strictEqual($2321944cfe4ffd56$var$currentParser.ptr, p);\n return $2321944cfe4ffd56$var$currentParser.onMessageBegin() || 0;\n },\n wasm_on_header_field: (p, at, len)=>{\n $7rf7a$assert.strictEqual($2321944cfe4ffd56$var$currentParser.ptr, p);\n const start = at - $2321944cfe4ffd56$var$currentBufferPtr + $2321944cfe4ffd56$var$currentBufferRef.byteOffset;\n return $2321944cfe4ffd56$var$currentParser.onHeaderField(new $2321944cfe4ffd56$var$FastBuffer($2321944cfe4ffd56$var$currentBufferRef.buffer, start, len)) || 0;\n },\n wasm_on_header_value: (p, at, len)=>{\n $7rf7a$assert.strictEqual($2321944cfe4ffd56$var$currentParser.ptr, p);\n const start = at - $2321944cfe4ffd56$var$currentBufferPtr + $2321944cfe4ffd56$var$currentBufferRef.byteOffset;\n return $2321944cfe4ffd56$var$currentParser.onHeaderValue(new $2321944cfe4ffd56$var$FastBuffer($2321944cfe4ffd56$var$currentBufferRef.buffer, start, len)) || 0;\n },\n wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive)=>{\n $7rf7a$assert.strictEqual($2321944cfe4ffd56$var$currentParser.ptr, p);\n return $2321944cfe4ffd56$var$currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0;\n },\n wasm_on_body: (p, at, len)=>{\n $7rf7a$assert.strictEqual($2321944cfe4ffd56$var$currentParser.ptr, p);\n const start = at - $2321944cfe4ffd56$var$currentBufferPtr + $2321944cfe4ffd56$var$currentBufferRef.byteOffset;\n return $2321944cfe4ffd56$var$currentParser.onBody(new $2321944cfe4ffd56$var$FastBuffer($2321944cfe4ffd56$var$currentBufferRef.buffer, start, len)) || 0;\n },\n wasm_on_message_complete: (p)=>{\n $7rf7a$assert.strictEqual($2321944cfe4ffd56$var$currentParser.ptr, p);\n return $2321944cfe4ffd56$var$currentParser.onMessageComplete() || 0;\n }\n }\n });\n}\nlet $2321944cfe4ffd56$var$llhttpInstance = null;\nlet $2321944cfe4ffd56$var$llhttpPromise = $2321944cfe4ffd56$var$lazyllhttp();\n$2321944cfe4ffd56$var$llhttpPromise.catch();\nlet $2321944cfe4ffd56$var$currentParser = null;\nlet $2321944cfe4ffd56$var$currentBufferRef = null;\nlet $2321944cfe4ffd56$var$currentBufferSize = 0;\nlet $2321944cfe4ffd56$var$currentBufferPtr = null;\nconst $2321944cfe4ffd56$var$TIMEOUT_HEADERS = 1;\nconst $2321944cfe4ffd56$var$TIMEOUT_BODY = 2;\nconst $2321944cfe4ffd56$var$TIMEOUT_IDLE = 3;\nclass $2321944cfe4ffd56$var$Parser {\n constructor(client, socket, { exports: exports }){\n $7rf7a$assert(Number.isFinite(client[$2321944cfe4ffd56$require$kMaxHeadersSize]) && client[$2321944cfe4ffd56$require$kMaxHeadersSize] > 0);\n this.llhttp = exports;\n this.ptr = this.llhttp.llhttp_alloc($51KgU.TYPE.RESPONSE);\n this.client = client;\n this.socket = socket;\n this.timeout = null;\n this.timeoutValue = null;\n this.timeoutType = null;\n this.statusCode = null;\n this.statusText = \"\";\n this.upgrade = false;\n this.headers = [];\n this.headersSize = 0;\n this.headersMaxSize = client[$2321944cfe4ffd56$require$kMaxHeadersSize];\n this.shouldKeepAlive = false;\n this.paused = false;\n this.resume = this.resume.bind(this);\n this.bytesRead = 0;\n this.keepAlive = \"\";\n this.contentLength = \"\";\n this.connection = \"\";\n this.maxResponseSize = client[$2321944cfe4ffd56$require$kMaxResponseSize];\n }\n setTimeout(value, type) {\n this.timeoutType = type;\n if (value !== this.timeoutValue) {\n $8zzvT.clearTimeout(this.timeout);\n if (value) {\n this.timeout = $8zzvT.setTimeout($2321944cfe4ffd56$var$onParserTimeout, value, this);\n // istanbul ignore else: only for jest\n if (this.timeout.unref) this.timeout.unref();\n } else this.timeout = null;\n this.timeoutValue = value;\n } else if (this.timeout) // istanbul ignore else: only for jest\n {\n if (this.timeout.refresh) this.timeout.refresh();\n }\n }\n resume() {\n if (this.socket.destroyed || !this.paused) return;\n $7rf7a$assert(this.ptr != null);\n $7rf7a$assert($2321944cfe4ffd56$var$currentParser == null);\n this.llhttp.llhttp_resume(this.ptr);\n $7rf7a$assert(this.timeoutType === $2321944cfe4ffd56$var$TIMEOUT_BODY);\n if (this.timeout) // istanbul ignore else: only for jest\n {\n if (this.timeout.refresh) this.timeout.refresh();\n }\n this.paused = false;\n this.execute(this.socket.read() || $2321944cfe4ffd56$var$EMPTY_BUF) // Flush parser.\n ;\n this.readMore();\n }\n readMore() {\n while(!this.paused && this.ptr){\n const chunk = this.socket.read();\n if (chunk === null) break;\n this.execute(chunk);\n }\n }\n execute(data) {\n $7rf7a$assert(this.ptr != null);\n $7rf7a$assert($2321944cfe4ffd56$var$currentParser == null);\n $7rf7a$assert(!this.paused);\n const { socket: socket, llhttp: llhttp } = this;\n if (data.length > $2321944cfe4ffd56$var$currentBufferSize) {\n if ($2321944cfe4ffd56$var$currentBufferPtr) llhttp.free($2321944cfe4ffd56$var$currentBufferPtr);\n $2321944cfe4ffd56$var$currentBufferSize = Math.ceil(data.length / 4096) * 4096;\n $2321944cfe4ffd56$var$currentBufferPtr = llhttp.malloc($2321944cfe4ffd56$var$currentBufferSize);\n }\n new Uint8Array(llhttp.memory.buffer, $2321944cfe4ffd56$var$currentBufferPtr, $2321944cfe4ffd56$var$currentBufferSize).set(data);\n // Call `execute` on the wasm parser.\n // We pass the `llhttp_parser` pointer address, the pointer address of buffer view data,\n // and finally the length of bytes to parse.\n // The return value is an error code or `constants.ERROR.OK`.\n try {\n let ret;\n try {\n $2321944cfe4ffd56$var$currentBufferRef = data;\n $2321944cfe4ffd56$var$currentParser = this;\n ret = llhttp.llhttp_execute(this.ptr, $2321944cfe4ffd56$var$currentBufferPtr, data.length);\n /* eslint-disable-next-line no-useless-catch */ } catch (err) {\n /* istanbul ignore next: difficult to make a test case for */ throw err;\n } finally{\n $2321944cfe4ffd56$var$currentParser = null;\n $2321944cfe4ffd56$var$currentBufferRef = null;\n }\n const offset = llhttp.llhttp_get_error_pos(this.ptr) - $2321944cfe4ffd56$var$currentBufferPtr;\n if (ret === $51KgU.ERROR.PAUSED_UPGRADE) this.onUpgrade(data.slice(offset));\n else if (ret === $51KgU.ERROR.PAUSED) {\n this.paused = true;\n socket.unshift(data.slice(offset));\n } else if (ret !== $51KgU.ERROR.OK) {\n const ptr = llhttp.llhttp_get_error_reason(this.ptr);\n let message = \"\";\n /* istanbul ignore else: difficult to make a test case for */ if (ptr) {\n const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0);\n message = \"Response does not match the HTTP/1.1 protocol (\" + Buffer.from(llhttp.memory.buffer, ptr, len).toString() + \")\";\n }\n throw new $2321944cfe4ffd56$require$HTTPParserError(message, $51KgU.ERROR[ret], data.slice(offset));\n }\n } catch (err) {\n $jqWlt.destroy(socket, err);\n }\n }\n destroy() {\n $7rf7a$assert(this.ptr != null);\n $7rf7a$assert($2321944cfe4ffd56$var$currentParser == null);\n this.llhttp.llhttp_free(this.ptr);\n this.ptr = null;\n $8zzvT.clearTimeout(this.timeout);\n this.timeout = null;\n this.timeoutValue = null;\n this.timeoutType = null;\n this.paused = false;\n }\n onStatus(buf) {\n this.statusText = buf.toString();\n }\n onMessageBegin() {\n const { socket: socket, client: client } = this;\n /* istanbul ignore next: difficult to make a test case for */ if (socket.destroyed) return -1;\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n if (!request) return -1;\n }\n onHeaderField(buf) {\n const len = this.headers.length;\n if ((len & 1) === 0) this.headers.push(buf);\n else this.headers[len - 1] = Buffer.concat([\n this.headers[len - 1],\n buf\n ]);\n this.trackHeader(buf.length);\n }\n onHeaderValue(buf) {\n let len = this.headers.length;\n if ((len & 1) === 1) {\n this.headers.push(buf);\n len += 1;\n } else this.headers[len - 1] = Buffer.concat([\n this.headers[len - 1],\n buf\n ]);\n const key = this.headers[len - 2];\n if (key.length === 10 && key.toString().toLowerCase() === \"keep-alive\") this.keepAlive += buf.toString();\n else if (key.length === 10 && key.toString().toLowerCase() === \"connection\") this.connection += buf.toString();\n else if (key.length === 14 && key.toString().toLowerCase() === \"content-length\") this.contentLength += buf.toString();\n this.trackHeader(buf.length);\n }\n trackHeader(len) {\n this.headersSize += len;\n if (this.headersSize >= this.headersMaxSize) $jqWlt.destroy(this.socket, new $2321944cfe4ffd56$require$HeadersOverflowError());\n }\n onUpgrade(head) {\n const { upgrade: upgrade, client: client, socket: socket, headers: headers, statusCode: statusCode } = this;\n $7rf7a$assert(upgrade);\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n $7rf7a$assert(request);\n $7rf7a$assert(!socket.destroyed);\n $7rf7a$assert(socket === client[$2321944cfe4ffd56$require$kSocket]);\n $7rf7a$assert(!this.paused);\n $7rf7a$assert(request.upgrade || request.method === \"CONNECT\");\n this.statusCode = null;\n this.statusText = \"\";\n this.shouldKeepAlive = null;\n $7rf7a$assert(this.headers.length % 2 === 0);\n this.headers = [];\n this.headersSize = 0;\n socket.unshift(head);\n socket[$2321944cfe4ffd56$require$kParser].destroy();\n socket[$2321944cfe4ffd56$require$kParser] = null;\n socket[$2321944cfe4ffd56$require$kClient] = null;\n socket[$2321944cfe4ffd56$require$kError] = null;\n socket.removeListener(\"error\", $2321944cfe4ffd56$var$onSocketError).removeListener(\"readable\", $2321944cfe4ffd56$var$onSocketReadable).removeListener(\"end\", $2321944cfe4ffd56$var$onSocketEnd).removeListener(\"close\", $2321944cfe4ffd56$var$onSocketClose);\n client[$2321944cfe4ffd56$require$kSocket] = null;\n client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]++] = null;\n client.emit(\"disconnect\", client[$2321944cfe4ffd56$require$kUrl], [\n client\n ], new $2321944cfe4ffd56$require$InformationalError(\"upgrade\"));\n try {\n request.onUpgrade(statusCode, headers, socket);\n } catch (err) {\n $jqWlt.destroy(socket, err);\n }\n $2321944cfe4ffd56$var$resume(client);\n }\n onHeadersComplete(statusCode, upgrade, shouldKeepAlive) {\n const { client: client, socket: socket, headers: headers, statusText: statusText } = this;\n /* istanbul ignore next: difficult to make a test case for */ if (socket.destroyed) return -1;\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n /* istanbul ignore next: difficult to make a test case for */ if (!request) return -1;\n $7rf7a$assert(!this.upgrade);\n $7rf7a$assert(this.statusCode < 200);\n if (statusCode === 100) {\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$SocketError(\"bad response\", $jqWlt.getSocketInfo(socket)));\n return -1;\n }\n /* this can only happen if server is misbehaving */ if (upgrade && !request.upgrade) {\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$SocketError(\"bad upgrade\", $jqWlt.getSocketInfo(socket)));\n return -1;\n }\n $7rf7a$assert.strictEqual(this.timeoutType, $2321944cfe4ffd56$var$TIMEOUT_HEADERS);\n this.statusCode = statusCode;\n this.shouldKeepAlive = shouldKeepAlive || // Override llhttp value which does not allow keepAlive for HEAD.\n request.method === \"HEAD\" && !socket[$2321944cfe4ffd56$require$kReset] && this.connection.toLowerCase() === \"keep-alive\";\n if (this.statusCode >= 200) {\n const bodyTimeout = request.bodyTimeout != null ? request.bodyTimeout : client[$2321944cfe4ffd56$require$kBodyTimeout];\n this.setTimeout(bodyTimeout, $2321944cfe4ffd56$var$TIMEOUT_BODY);\n } else if (this.timeout) // istanbul ignore else: only for jest\n {\n if (this.timeout.refresh) this.timeout.refresh();\n }\n if (request.method === \"CONNECT\") {\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kRunning] === 1);\n this.upgrade = true;\n return 2;\n }\n if (upgrade) {\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kRunning] === 1);\n this.upgrade = true;\n return 2;\n }\n $7rf7a$assert(this.headers.length % 2 === 0);\n this.headers = [];\n this.headersSize = 0;\n if (this.shouldKeepAlive && client[$2321944cfe4ffd56$require$kPipelining]) {\n const keepAliveTimeout = this.keepAlive ? $jqWlt.parseKeepAliveTimeout(this.keepAlive) : null;\n if (keepAliveTimeout != null) {\n const timeout = Math.min(keepAliveTimeout - client[$2321944cfe4ffd56$require$kKeepAliveTimeoutThreshold], client[$2321944cfe4ffd56$require$kKeepAliveMaxTimeout]);\n if (timeout <= 0) socket[$2321944cfe4ffd56$require$kReset] = true;\n else client[$2321944cfe4ffd56$require$kKeepAliveTimeoutValue] = timeout;\n } else client[$2321944cfe4ffd56$require$kKeepAliveTimeoutValue] = client[$2321944cfe4ffd56$require$kKeepAliveDefaultTimeout];\n } else // Stop more requests from being dispatched.\n socket[$2321944cfe4ffd56$require$kReset] = true;\n const pause = request.onHeaders(statusCode, headers, this.resume, statusText) === false;\n if (request.aborted) return -1;\n if (request.method === \"HEAD\") return 1;\n if (statusCode < 200) return 1;\n if (socket[$2321944cfe4ffd56$require$kBlocking]) {\n socket[$2321944cfe4ffd56$require$kBlocking] = false;\n $2321944cfe4ffd56$var$resume(client);\n }\n return pause ? $51KgU.ERROR.PAUSED : 0;\n }\n onBody(buf) {\n const { client: client, socket: socket, statusCode: statusCode, maxResponseSize: maxResponseSize } = this;\n if (socket.destroyed) return -1;\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n $7rf7a$assert(request);\n $7rf7a$assert.strictEqual(this.timeoutType, $2321944cfe4ffd56$var$TIMEOUT_BODY);\n if (this.timeout) // istanbul ignore else: only for jest\n {\n if (this.timeout.refresh) this.timeout.refresh();\n }\n $7rf7a$assert(statusCode >= 200);\n if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) {\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$ResponseExceededMaxSizeError());\n return -1;\n }\n this.bytesRead += buf.length;\n if (request.onData(buf) === false) return $51KgU.ERROR.PAUSED;\n }\n onMessageComplete() {\n const { client: client, socket: socket, statusCode: statusCode, upgrade: upgrade, headers: headers, contentLength: contentLength, bytesRead: bytesRead, shouldKeepAlive: shouldKeepAlive } = this;\n if (socket.destroyed && (!statusCode || shouldKeepAlive)) return -1;\n if (upgrade) return;\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n $7rf7a$assert(request);\n $7rf7a$assert(statusCode >= 100);\n this.statusCode = null;\n this.statusText = \"\";\n this.bytesRead = 0;\n this.contentLength = \"\";\n this.keepAlive = \"\";\n this.connection = \"\";\n $7rf7a$assert(this.headers.length % 2 === 0);\n this.headers = [];\n this.headersSize = 0;\n if (statusCode < 200) return;\n /* istanbul ignore next: should be handled by llhttp? */ if (request.method !== \"HEAD\" && contentLength && bytesRead !== parseInt(contentLength, 10)) {\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$ResponseContentLengthMismatchError());\n return -1;\n }\n request.onComplete(headers);\n client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]++] = null;\n if (socket[$2321944cfe4ffd56$require$kWriting]) {\n $7rf7a$assert.strictEqual(client[$2321944cfe4ffd56$require$kRunning], 0);\n // Response completed before request.\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$InformationalError(\"reset\"));\n return $51KgU.ERROR.PAUSED;\n } else if (!shouldKeepAlive) {\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$InformationalError(\"reset\"));\n return $51KgU.ERROR.PAUSED;\n } else if (socket[$2321944cfe4ffd56$require$kReset] && client[$2321944cfe4ffd56$require$kRunning] === 0) {\n // Destroy socket once all requests have completed.\n // The request at the tail of the pipeline is the one\n // that requested reset and no further requests should\n // have been queued since then.\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$InformationalError(\"reset\"));\n return $51KgU.ERROR.PAUSED;\n } else if (client[$2321944cfe4ffd56$require$kPipelining] === 1) // We must wait a full event loop cycle to reuse this socket to make sure\n // that non-spec compliant servers are not closing the connection even if they\n // said they won't.\n setImmediate($2321944cfe4ffd56$var$resume, client);\n else $2321944cfe4ffd56$var$resume(client);\n }\n}\nfunction $2321944cfe4ffd56$var$onParserTimeout(parser) {\n const { socket: socket, timeoutType: timeoutType, client: client } = parser;\n /* istanbul ignore else */ if (timeoutType === $2321944cfe4ffd56$var$TIMEOUT_HEADERS) {\n if (!socket[$2321944cfe4ffd56$require$kWriting] || socket.writableNeedDrain || client[$2321944cfe4ffd56$require$kRunning] > 1) {\n $7rf7a$assert(!parser.paused, \"cannot be paused while waiting for headers\");\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$HeadersTimeoutError());\n }\n } else if (timeoutType === $2321944cfe4ffd56$var$TIMEOUT_BODY) {\n if (!parser.paused) $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$BodyTimeoutError());\n } else if (timeoutType === $2321944cfe4ffd56$var$TIMEOUT_IDLE) {\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kRunning] === 0 && client[$2321944cfe4ffd56$require$kKeepAliveTimeoutValue]);\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$InformationalError(\"socket idle timeout\"));\n }\n}\nfunction $2321944cfe4ffd56$var$onSocketReadable() {\n const { [$2321944cfe4ffd56$require$kParser]: parser } = this;\n if (parser) parser.readMore();\n}\nfunction $2321944cfe4ffd56$var$onSocketError(err) {\n const { [$2321944cfe4ffd56$require$kClient]: client, [$2321944cfe4ffd56$require$kParser]: parser } = this;\n $7rf7a$assert(err.code !== \"ERR_TLS_CERT_ALTNAME_INVALID\");\n if (client[$2321944cfe4ffd56$require$kHTTPConnVersion] !== \"h2\") // On Mac OS, we get an ECONNRESET even if there is a full body to be forwarded\n // to the user.\n {\n if (err.code === \"ECONNRESET\" && parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so for as a valid response.\n parser.onMessageComplete();\n return;\n }\n }\n this[$2321944cfe4ffd56$require$kError] = err;\n $2321944cfe4ffd56$var$onError(this[$2321944cfe4ffd56$require$kClient], err);\n}\nfunction $2321944cfe4ffd56$var$onError(client, err) {\n if (client[$2321944cfe4ffd56$require$kRunning] === 0 && err.code !== \"UND_ERR_INFO\" && err.code !== \"UND_ERR_SOCKET\") {\n // Error is not caused by running request and not a recoverable\n // socket error.\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kPendingIdx] === client[$2321944cfe4ffd56$require$kRunningIdx]);\n const requests = client[$2321944cfe4ffd56$require$kQueue].splice(client[$2321944cfe4ffd56$require$kRunningIdx]);\n for(let i = 0; i < requests.length; i++){\n const request = requests[i];\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n }\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kSize] === 0);\n }\n}\nfunction $2321944cfe4ffd56$var$onSocketEnd() {\n const { [$2321944cfe4ffd56$require$kParser]: parser, [$2321944cfe4ffd56$require$kClient]: client } = this;\n if (client[$2321944cfe4ffd56$require$kHTTPConnVersion] !== \"h2\") {\n if (parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so far as a valid response.\n parser.onMessageComplete();\n return;\n }\n }\n $jqWlt.destroy(this, new $2321944cfe4ffd56$require$SocketError(\"other side closed\", $jqWlt.getSocketInfo(this)));\n}\nfunction $2321944cfe4ffd56$var$onSocketClose() {\n const { [$2321944cfe4ffd56$require$kClient]: client, [$2321944cfe4ffd56$require$kParser]: parser } = this;\n if (client[$2321944cfe4ffd56$require$kHTTPConnVersion] === \"h1\" && parser) {\n if (!this[$2321944cfe4ffd56$require$kError] && parser.statusCode && !parser.shouldKeepAlive) // We treat all incoming data so far as a valid response.\n parser.onMessageComplete();\n this[$2321944cfe4ffd56$require$kParser].destroy();\n this[$2321944cfe4ffd56$require$kParser] = null;\n }\n const err = this[$2321944cfe4ffd56$require$kError] || new $2321944cfe4ffd56$require$SocketError(\"closed\", $jqWlt.getSocketInfo(this));\n client[$2321944cfe4ffd56$require$kSocket] = null;\n if (client.destroyed) {\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kPending] === 0);\n // Fail entire queue.\n const requests = client[$2321944cfe4ffd56$require$kQueue].splice(client[$2321944cfe4ffd56$require$kRunningIdx]);\n for(let i = 0; i < requests.length; i++){\n const request = requests[i];\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n }\n } else if (client[$2321944cfe4ffd56$require$kRunning] > 0 && err.code !== \"UND_ERR_INFO\") {\n // Fail head of pipeline.\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]++] = null;\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n }\n client[$2321944cfe4ffd56$require$kPendingIdx] = client[$2321944cfe4ffd56$require$kRunningIdx];\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kRunning] === 0);\n client.emit(\"disconnect\", client[$2321944cfe4ffd56$require$kUrl], [\n client\n ], err);\n $2321944cfe4ffd56$var$resume(client);\n}\nasync function $2321944cfe4ffd56$var$connect(client) {\n $7rf7a$assert(!client[$2321944cfe4ffd56$require$kConnecting]);\n $7rf7a$assert(!client[$2321944cfe4ffd56$require$kSocket]);\n let { host: host, hostname: hostname, protocol: protocol, port: port } = client[$2321944cfe4ffd56$require$kUrl];\n // Resolve ipv6\n if (hostname[0] === \"[\") {\n const idx = hostname.indexOf(\"]\");\n $7rf7a$assert(idx !== -1);\n const ip = hostname.substring(1, idx);\n $7rf7a$assert($7rf7a$net.isIP(ip));\n hostname = ip;\n }\n client[$2321944cfe4ffd56$require$kConnecting] = true;\n if ($2321944cfe4ffd56$var$channels.beforeConnect.hasSubscribers) $2321944cfe4ffd56$var$channels.beforeConnect.publish({\n connectParams: {\n host: host,\n hostname: hostname,\n protocol: protocol,\n port: port,\n servername: client[$2321944cfe4ffd56$require$kServerName],\n localAddress: client[$2321944cfe4ffd56$require$kLocalAddress]\n },\n connector: client[$2321944cfe4ffd56$require$kConnector]\n });\n try {\n const socket = await new Promise((resolve, reject)=>{\n client[$2321944cfe4ffd56$require$kConnector]({\n host: host,\n hostname: hostname,\n protocol: protocol,\n port: port,\n servername: client[$2321944cfe4ffd56$require$kServerName],\n localAddress: client[$2321944cfe4ffd56$require$kLocalAddress]\n }, (err, socket)=>{\n if (err) reject(err);\n else resolve(socket);\n });\n });\n if (client.destroyed) {\n $jqWlt.destroy(socket.on(\"error\", ()=>{}), new $2321944cfe4ffd56$require$ClientDestroyedError());\n return;\n }\n client[$2321944cfe4ffd56$require$kConnecting] = false;\n $7rf7a$assert(socket);\n const isH2 = socket.alpnProtocol === \"h2\";\n if (isH2) {\n if (!$2321944cfe4ffd56$var$h2ExperimentalWarned) {\n $2321944cfe4ffd56$var$h2ExperimentalWarned = true;\n process.emitWarning(\"H2 support is experimental, expect them to change at any time.\", {\n code: \"UNDICI-H2\"\n });\n }\n const session = $2321944cfe4ffd56$var$http2.connect(client[$2321944cfe4ffd56$require$kUrl], {\n createConnection: ()=>socket,\n peerMaxConcurrentStreams: client[$2321944cfe4ffd56$require$kHTTP2SessionState].maxConcurrentStreams\n });\n client[$2321944cfe4ffd56$require$kHTTPConnVersion] = \"h2\";\n session[$2321944cfe4ffd56$require$kClient] = client;\n session[$2321944cfe4ffd56$require$kSocket] = socket;\n session.on(\"error\", $2321944cfe4ffd56$var$onHttp2SessionError);\n session.on(\"frameError\", $2321944cfe4ffd56$var$onHttp2FrameError);\n session.on(\"end\", $2321944cfe4ffd56$var$onHttp2SessionEnd);\n session.on(\"goaway\", $2321944cfe4ffd56$var$onHTTP2GoAway);\n session.on(\"close\", $2321944cfe4ffd56$var$onSocketClose);\n session.unref();\n client[$2321944cfe4ffd56$require$kHTTP2Session] = session;\n socket[$2321944cfe4ffd56$require$kHTTP2Session] = session;\n } else {\n if (!$2321944cfe4ffd56$var$llhttpInstance) {\n $2321944cfe4ffd56$var$llhttpInstance = await $2321944cfe4ffd56$var$llhttpPromise;\n $2321944cfe4ffd56$var$llhttpPromise = null;\n }\n socket[$2321944cfe4ffd56$require$kNoRef] = false;\n socket[$2321944cfe4ffd56$require$kWriting] = false;\n socket[$2321944cfe4ffd56$require$kReset] = false;\n socket[$2321944cfe4ffd56$require$kBlocking] = false;\n socket[$2321944cfe4ffd56$require$kParser] = new $2321944cfe4ffd56$var$Parser(client, socket, $2321944cfe4ffd56$var$llhttpInstance);\n }\n socket[$2321944cfe4ffd56$require$kCounter] = 0;\n socket[$2321944cfe4ffd56$require$kMaxRequests] = client[$2321944cfe4ffd56$require$kMaxRequests];\n socket[$2321944cfe4ffd56$require$kClient] = client;\n socket[$2321944cfe4ffd56$require$kError] = null;\n socket.on(\"error\", $2321944cfe4ffd56$var$onSocketError).on(\"readable\", $2321944cfe4ffd56$var$onSocketReadable).on(\"end\", $2321944cfe4ffd56$var$onSocketEnd).on(\"close\", $2321944cfe4ffd56$var$onSocketClose);\n client[$2321944cfe4ffd56$require$kSocket] = socket;\n if ($2321944cfe4ffd56$var$channels.connected.hasSubscribers) $2321944cfe4ffd56$var$channels.connected.publish({\n connectParams: {\n host: host,\n hostname: hostname,\n protocol: protocol,\n port: port,\n servername: client[$2321944cfe4ffd56$require$kServerName],\n localAddress: client[$2321944cfe4ffd56$require$kLocalAddress]\n },\n connector: client[$2321944cfe4ffd56$require$kConnector],\n socket: socket\n });\n client.emit(\"connect\", client[$2321944cfe4ffd56$require$kUrl], [\n client\n ]);\n } catch (err) {\n if (client.destroyed) return;\n client[$2321944cfe4ffd56$require$kConnecting] = false;\n if ($2321944cfe4ffd56$var$channels.connectError.hasSubscribers) $2321944cfe4ffd56$var$channels.connectError.publish({\n connectParams: {\n host: host,\n hostname: hostname,\n protocol: protocol,\n port: port,\n servername: client[$2321944cfe4ffd56$require$kServerName],\n localAddress: client[$2321944cfe4ffd56$require$kLocalAddress]\n },\n connector: client[$2321944cfe4ffd56$require$kConnector],\n error: err\n });\n if (err.code === \"ERR_TLS_CERT_ALTNAME_INVALID\") {\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kRunning] === 0);\n while(client[$2321944cfe4ffd56$require$kPending] > 0 && client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kPendingIdx]].servername === client[$2321944cfe4ffd56$require$kServerName]){\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kPendingIdx]++];\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n }\n } else $2321944cfe4ffd56$var$onError(client, err);\n client.emit(\"connectionError\", client[$2321944cfe4ffd56$require$kUrl], [\n client\n ], err);\n }\n $2321944cfe4ffd56$var$resume(client);\n}\nfunction $2321944cfe4ffd56$var$emitDrain(client) {\n client[$2321944cfe4ffd56$require$kNeedDrain] = 0;\n client.emit(\"drain\", client[$2321944cfe4ffd56$require$kUrl], [\n client\n ]);\n}\nfunction $2321944cfe4ffd56$var$resume(client, sync) {\n if (client[$2321944cfe4ffd56$require$kResuming] === 2) return;\n client[$2321944cfe4ffd56$require$kResuming] = 2;\n $2321944cfe4ffd56$var$_resume(client, sync);\n client[$2321944cfe4ffd56$require$kResuming] = 0;\n if (client[$2321944cfe4ffd56$require$kRunningIdx] > 256) {\n client[$2321944cfe4ffd56$require$kQueue].splice(0, client[$2321944cfe4ffd56$require$kRunningIdx]);\n client[$2321944cfe4ffd56$require$kPendingIdx] -= client[$2321944cfe4ffd56$require$kRunningIdx];\n client[$2321944cfe4ffd56$require$kRunningIdx] = 0;\n }\n}\nfunction $2321944cfe4ffd56$var$_resume(client, sync) {\n while(true){\n if (client.destroyed) {\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kPending] === 0);\n return;\n }\n if (client[$2321944cfe4ffd56$var$kClosedResolve] && !client[$2321944cfe4ffd56$require$kSize]) {\n client[$2321944cfe4ffd56$var$kClosedResolve]();\n client[$2321944cfe4ffd56$var$kClosedResolve] = null;\n return;\n }\n const socket = client[$2321944cfe4ffd56$require$kSocket];\n if (socket && !socket.destroyed && socket.alpnProtocol !== \"h2\") {\n if (client[$2321944cfe4ffd56$require$kSize] === 0) {\n if (!socket[$2321944cfe4ffd56$require$kNoRef] && socket.unref) {\n socket.unref();\n socket[$2321944cfe4ffd56$require$kNoRef] = true;\n }\n } else if (socket[$2321944cfe4ffd56$require$kNoRef] && socket.ref) {\n socket.ref();\n socket[$2321944cfe4ffd56$require$kNoRef] = false;\n }\n if (client[$2321944cfe4ffd56$require$kSize] === 0) {\n if (socket[$2321944cfe4ffd56$require$kParser].timeoutType !== $2321944cfe4ffd56$var$TIMEOUT_IDLE) socket[$2321944cfe4ffd56$require$kParser].setTimeout(client[$2321944cfe4ffd56$require$kKeepAliveTimeoutValue], $2321944cfe4ffd56$var$TIMEOUT_IDLE);\n } else if (client[$2321944cfe4ffd56$require$kRunning] > 0 && socket[$2321944cfe4ffd56$require$kParser].statusCode < 200) {\n if (socket[$2321944cfe4ffd56$require$kParser].timeoutType !== $2321944cfe4ffd56$var$TIMEOUT_HEADERS) {\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kRunningIdx]];\n const headersTimeout = request.headersTimeout != null ? request.headersTimeout : client[$2321944cfe4ffd56$require$kHeadersTimeout];\n socket[$2321944cfe4ffd56$require$kParser].setTimeout(headersTimeout, $2321944cfe4ffd56$var$TIMEOUT_HEADERS);\n }\n }\n }\n if (client[$2321944cfe4ffd56$require$kBusy]) client[$2321944cfe4ffd56$require$kNeedDrain] = 2;\n else if (client[$2321944cfe4ffd56$require$kNeedDrain] === 2) {\n if (sync) {\n client[$2321944cfe4ffd56$require$kNeedDrain] = 1;\n process.nextTick($2321944cfe4ffd56$var$emitDrain, client);\n } else $2321944cfe4ffd56$var$emitDrain(client);\n continue;\n }\n if (client[$2321944cfe4ffd56$require$kPending] === 0) return;\n if (client[$2321944cfe4ffd56$require$kRunning] >= (client[$2321944cfe4ffd56$require$kPipelining] || 1)) return;\n const request = client[$2321944cfe4ffd56$require$kQueue][client[$2321944cfe4ffd56$require$kPendingIdx]];\n if (client[$2321944cfe4ffd56$require$kUrl].protocol === \"https:\" && client[$2321944cfe4ffd56$require$kServerName] !== request.servername) {\n if (client[$2321944cfe4ffd56$require$kRunning] > 0) return;\n client[$2321944cfe4ffd56$require$kServerName] = request.servername;\n if (socket && socket.servername !== request.servername) {\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$InformationalError(\"servername changed\"));\n return;\n }\n }\n if (client[$2321944cfe4ffd56$require$kConnecting]) return;\n if (!socket && !client[$2321944cfe4ffd56$require$kHTTP2Session]) {\n $2321944cfe4ffd56$var$connect(client);\n return;\n }\n if (socket.destroyed || socket[$2321944cfe4ffd56$require$kWriting] || socket[$2321944cfe4ffd56$require$kReset] || socket[$2321944cfe4ffd56$require$kBlocking]) return;\n if (client[$2321944cfe4ffd56$require$kRunning] > 0 && !request.idempotent) // Non-idempotent request cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return;\n if (client[$2321944cfe4ffd56$require$kRunning] > 0 && (request.upgrade || request.method === \"CONNECT\")) // Don't dispatch an upgrade until all preceding requests have completed.\n // A misbehaving server might upgrade the connection before all pipelined\n // request has completed.\n return;\n if (client[$2321944cfe4ffd56$require$kRunning] > 0 && $jqWlt.bodyLength(request.body) !== 0 && ($jqWlt.isStream(request.body) || $jqWlt.isAsyncIterable(request.body))) // Request with stream or iterator body can error while other requests\n // are inflight and indirectly error those as well.\n // Ensure this doesn't happen by waiting for inflight\n // to complete before dispatching.\n // Request with stream or iterator body cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return;\n if (!request.aborted && $2321944cfe4ffd56$var$write(client, request)) client[$2321944cfe4ffd56$require$kPendingIdx]++;\n else client[$2321944cfe4ffd56$require$kQueue].splice(client[$2321944cfe4ffd56$require$kPendingIdx], 1);\n }\n}\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction $2321944cfe4ffd56$var$shouldSendContentLength(method) {\n return method !== \"GET\" && method !== \"HEAD\" && method !== \"OPTIONS\" && method !== \"TRACE\" && method !== \"CONNECT\";\n}\nfunction $2321944cfe4ffd56$var$write(client, request) {\n if (client[$2321944cfe4ffd56$require$kHTTPConnVersion] === \"h2\") {\n $2321944cfe4ffd56$var$writeH2(client, client[$2321944cfe4ffd56$require$kHTTP2Session], request);\n return;\n }\n const { body: body, method: method, path: path, host: host, upgrade: upgrade, headers: headers, blocking: blocking, reset: reset } = request;\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n const expectsPayload = method === \"PUT\" || method === \"POST\" || method === \"PATCH\";\n if (body && typeof body.read === \"function\") // Try to read EOF in order to get length.\n body.read(0);\n const bodyLength = $jqWlt.bodyLength(body);\n let contentLength = bodyLength;\n if (contentLength === null) contentLength = request.contentLength;\n if (contentLength === 0 && !expectsPayload) // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n contentLength = null;\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if ($2321944cfe4ffd56$var$shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) {\n if (client[$2321944cfe4ffd56$require$kStrictContentLength]) {\n $2321944cfe4ffd56$var$errorRequest(client, request, new $2321944cfe4ffd56$require$RequestContentLengthMismatchError());\n return false;\n }\n process.emitWarning(new $2321944cfe4ffd56$require$RequestContentLengthMismatchError());\n }\n const socket = client[$2321944cfe4ffd56$require$kSocket];\n try {\n request.onConnect((err)=>{\n if (request.aborted || request.completed) return;\n $2321944cfe4ffd56$var$errorRequest(client, request, err || new $2321944cfe4ffd56$require$RequestAbortedError());\n $jqWlt.destroy(socket, new $2321944cfe4ffd56$require$InformationalError(\"aborted\"));\n });\n } catch (err) {\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n }\n if (request.aborted) return false;\n if (method === \"HEAD\") // https://github.com/mcollina/undici/issues/258\n // Close after a HEAD request to interop with misbehaving servers\n // that may send a body in the response.\n socket[$2321944cfe4ffd56$require$kReset] = true;\n if (upgrade || method === \"CONNECT\") // On CONNECT or upgrade, block pipeline from dispatching further\n // requests on this connection.\n socket[$2321944cfe4ffd56$require$kReset] = true;\n if (reset != null) socket[$2321944cfe4ffd56$require$kReset] = reset;\n if (client[$2321944cfe4ffd56$require$kMaxRequests] && socket[$2321944cfe4ffd56$require$kCounter]++ >= client[$2321944cfe4ffd56$require$kMaxRequests]) socket[$2321944cfe4ffd56$require$kReset] = true;\n if (blocking) socket[$2321944cfe4ffd56$require$kBlocking] = true;\n let header = `${method} ${path} HTTP/1.1\\r\\n`;\n if (typeof host === \"string\") header += `host: ${host}\\r\\n`;\n else header += client[$2321944cfe4ffd56$require$kHostHeader];\n if (upgrade) header += `connection: upgrade\\r\\nupgrade: ${upgrade}\\r\\n`;\n else if (client[$2321944cfe4ffd56$require$kPipelining] && !socket[$2321944cfe4ffd56$require$kReset]) header += \"connection: keep-alive\\r\\n\";\n else header += \"connection: close\\r\\n\";\n if (headers) header += headers;\n if ($2321944cfe4ffd56$var$channels.sendHeaders.hasSubscribers) $2321944cfe4ffd56$var$channels.sendHeaders.publish({\n request: request,\n headers: header,\n socket: socket\n });\n /* istanbul ignore else: assertion */ if (!body || bodyLength === 0) {\n if (contentLength === 0) socket.write(`${header}content-length: 0\\r\\n\\r\\n`, \"latin1\");\n else {\n $7rf7a$assert(contentLength === null, \"no body must not have content length\");\n socket.write(`${header}\\r\\n`, \"latin1\");\n }\n request.onRequestSent();\n } else if ($jqWlt.isBuffer(body)) {\n $7rf7a$assert(contentLength === body.byteLength, \"buffer body must have content length\");\n socket.cork();\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, \"latin1\");\n socket.write(body);\n socket.uncork();\n request.onBodySent(body);\n request.onRequestSent();\n if (!expectsPayload) socket[$2321944cfe4ffd56$require$kReset] = true;\n } else if ($jqWlt.isBlobLike(body)) {\n if (typeof body.stream === \"function\") $2321944cfe4ffd56$var$writeIterable({\n body: body.stream(),\n client: client,\n request: request,\n socket: socket,\n contentLength: contentLength,\n header: header,\n expectsPayload: expectsPayload\n });\n else $2321944cfe4ffd56$var$writeBlob({\n body: body,\n client: client,\n request: request,\n socket: socket,\n contentLength: contentLength,\n header: header,\n expectsPayload: expectsPayload\n });\n } else if ($jqWlt.isStream(body)) $2321944cfe4ffd56$var$writeStream({\n body: body,\n client: client,\n request: request,\n socket: socket,\n contentLength: contentLength,\n header: header,\n expectsPayload: expectsPayload\n });\n else if ($jqWlt.isIterable(body)) $2321944cfe4ffd56$var$writeIterable({\n body: body,\n client: client,\n request: request,\n socket: socket,\n contentLength: contentLength,\n header: header,\n expectsPayload: expectsPayload\n });\n else $7rf7a$assert(false);\n return true;\n}\nfunction $2321944cfe4ffd56$var$writeH2(client, session, request) {\n const { body: body, method: method, path: path, host: host, upgrade: upgrade, expectContinue: expectContinue, signal: signal, headers: reqHeaders } = request;\n let headers;\n if (typeof reqHeaders === \"string\") headers = $8XvZr[$2321944cfe4ffd56$require$kHTTP2CopyHeaders](reqHeaders.trim());\n else headers = reqHeaders;\n if (upgrade) {\n $2321944cfe4ffd56$var$errorRequest(client, request, new Error(\"Upgrade not supported for H2\"));\n return false;\n }\n try {\n // TODO(HTTP/2): Should we call onConnect immediately or on stream ready event?\n request.onConnect((err)=>{\n if (request.aborted || request.completed) return;\n $2321944cfe4ffd56$var$errorRequest(client, request, err || new $2321944cfe4ffd56$require$RequestAbortedError());\n });\n } catch (err) {\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n }\n if (request.aborted) return false;\n /** @type {import('node:http2').ClientHttp2Stream} */ let stream;\n const h2State = client[$2321944cfe4ffd56$require$kHTTP2SessionState];\n headers[$2321944cfe4ffd56$var$HTTP2_HEADER_AUTHORITY] = host || client[$2321944cfe4ffd56$require$kHost];\n headers[$2321944cfe4ffd56$var$HTTP2_HEADER_METHOD] = method;\n if (method === \"CONNECT\") {\n session.ref();\n // we are already connected, streams are pending, first request\n // will create a new stream. We trigger a request to create the stream and wait until\n // `ready` event is triggered\n // We disabled endStream to allow the user to write to the stream\n stream = session.request(headers, {\n endStream: false,\n signal: signal\n });\n if (stream.id && !stream.pending) {\n request.onUpgrade(null, null, stream);\n ++h2State.openStreams;\n } else stream.once(\"ready\", ()=>{\n request.onUpgrade(null, null, stream);\n ++h2State.openStreams;\n });\n stream.once(\"close\", ()=>{\n h2State.openStreams -= 1;\n // TODO(HTTP/2): unref only if current streams count is 0\n if (h2State.openStreams === 0) session.unref();\n });\n return true;\n }\n // https://tools.ietf.org/html/rfc7540#section-8.3\n // :path and :scheme headers must be omited when sending CONNECT\n headers[$2321944cfe4ffd56$var$HTTP2_HEADER_PATH] = path;\n headers[$2321944cfe4ffd56$var$HTTP2_HEADER_SCHEME] = \"https\";\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n const expectsPayload = method === \"PUT\" || method === \"POST\" || method === \"PATCH\";\n if (body && typeof body.read === \"function\") // Try to read EOF in order to get length.\n body.read(0);\n let contentLength = $jqWlt.bodyLength(body);\n if (contentLength == null) contentLength = request.contentLength;\n if (contentLength === 0 || !expectsPayload) // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n contentLength = null;\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if ($2321944cfe4ffd56$var$shouldSendContentLength(method) && contentLength > 0 && request.contentLength != null && request.contentLength !== contentLength) {\n if (client[$2321944cfe4ffd56$require$kStrictContentLength]) {\n $2321944cfe4ffd56$var$errorRequest(client, request, new $2321944cfe4ffd56$require$RequestContentLengthMismatchError());\n return false;\n }\n process.emitWarning(new $2321944cfe4ffd56$require$RequestContentLengthMismatchError());\n }\n if (contentLength != null) {\n $7rf7a$assert(body, \"no body must not have content length\");\n headers[$2321944cfe4ffd56$var$HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`;\n }\n session.ref();\n const shouldEndStream = method === \"GET\" || method === \"HEAD\";\n if (expectContinue) {\n headers[$2321944cfe4ffd56$var$HTTP2_HEADER_EXPECT] = \"100-continue\";\n stream = session.request(headers, {\n endStream: shouldEndStream,\n signal: signal\n });\n stream.once(\"continue\", writeBodyH2);\n } else {\n stream = session.request(headers, {\n endStream: shouldEndStream,\n signal: signal\n });\n writeBodyH2();\n }\n // Increment counter as we have new several streams open\n ++h2State.openStreams;\n stream.once(\"response\", (headers)=>{\n const { [$2321944cfe4ffd56$var$HTTP2_HEADER_STATUS]: statusCode, ...realHeaders } = headers;\n if (request.onHeaders(Number(statusCode), realHeaders, stream.resume.bind(stream), \"\") === false) stream.pause();\n });\n stream.once(\"end\", ()=>{\n request.onComplete([]);\n });\n stream.on(\"data\", (chunk)=>{\n if (request.onData(chunk) === false) stream.pause();\n });\n stream.once(\"close\", ()=>{\n h2State.openStreams -= 1;\n // TODO(HTTP/2): unref only if current streams count is 0\n if (h2State.openStreams === 0) session.unref();\n });\n stream.once(\"error\", function(err) {\n if (client[$2321944cfe4ffd56$require$kHTTP2Session] && !client[$2321944cfe4ffd56$require$kHTTP2Session].destroyed && !this.closed && !this.destroyed) {\n h2State.streams -= 1;\n $jqWlt.destroy(stream, err);\n }\n });\n stream.once(\"frameError\", (type, code)=>{\n const err = new $2321944cfe4ffd56$require$InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`);\n $2321944cfe4ffd56$var$errorRequest(client, request, err);\n if (client[$2321944cfe4ffd56$require$kHTTP2Session] && !client[$2321944cfe4ffd56$require$kHTTP2Session].destroyed && !this.closed && !this.destroyed) {\n h2State.streams -= 1;\n $jqWlt.destroy(stream, err);\n }\n });\n // stream.on('aborted', () => {\n // // TODO(HTTP/2): Support aborted\n // })\n // stream.on('timeout', () => {\n // // TODO(HTTP/2): Support timeout\n // })\n // stream.on('push', headers => {\n // // TODO(HTTP/2): Suppor push\n // })\n // stream.on('trailers', headers => {\n // // TODO(HTTP/2): Support trailers\n // })\n return true;\n function writeBodyH2() {\n /* istanbul ignore else: assertion */ if (!body) request.onRequestSent();\n else if ($jqWlt.isBuffer(body)) {\n $7rf7a$assert(contentLength === body.byteLength, \"buffer body must have content length\");\n stream.cork();\n stream.write(body);\n stream.uncork();\n stream.end();\n request.onBodySent(body);\n request.onRequestSent();\n } else if ($jqWlt.isBlobLike(body)) {\n if (typeof body.stream === \"function\") $2321944cfe4ffd56$var$writeIterable({\n client: client,\n request: request,\n contentLength: contentLength,\n h2stream: stream,\n expectsPayload: expectsPayload,\n body: body.stream(),\n socket: client[$2321944cfe4ffd56$require$kSocket],\n header: \"\"\n });\n else $2321944cfe4ffd56$var$writeBlob({\n body: body,\n client: client,\n request: request,\n contentLength: contentLength,\n expectsPayload: expectsPayload,\n h2stream: stream,\n header: \"\",\n socket: client[$2321944cfe4ffd56$require$kSocket]\n });\n } else if ($jqWlt.isStream(body)) $2321944cfe4ffd56$var$writeStream({\n body: body,\n client: client,\n request: request,\n contentLength: contentLength,\n expectsPayload: expectsPayload,\n socket: client[$2321944cfe4ffd56$require$kSocket],\n h2stream: stream,\n header: \"\"\n });\n else if ($jqWlt.isIterable(body)) $2321944cfe4ffd56$var$writeIterable({\n body: body,\n client: client,\n request: request,\n contentLength: contentLength,\n expectsPayload: expectsPayload,\n header: \"\",\n h2stream: stream,\n socket: client[$2321944cfe4ffd56$require$kSocket]\n });\n else $7rf7a$assert(false);\n }\n}\nfunction $2321944cfe4ffd56$var$writeStream({ h2stream: h2stream, body: body, client: client, request: request, socket: socket, contentLength: contentLength, header: header, expectsPayload: expectsPayload }) {\n $7rf7a$assert(contentLength !== 0 || client[$2321944cfe4ffd56$require$kRunning] === 0, \"stream body cannot be pipelined\");\n if (client[$2321944cfe4ffd56$require$kHTTPConnVersion] === \"h2\") {\n // For HTTP/2, is enough to pipe the stream\n const pipe = $2321944cfe4ffd56$require$pipeline(body, h2stream, (err)=>{\n if (err) {\n $jqWlt.destroy(body, err);\n $jqWlt.destroy(h2stream, err);\n } else request.onRequestSent();\n });\n pipe.on(\"data\", onPipeData);\n pipe.once(\"end\", ()=>{\n pipe.removeListener(\"data\", onPipeData);\n $jqWlt.destroy(pipe);\n });\n function onPipeData(chunk) {\n request.onBodySent(chunk);\n }\n return;\n }\n let finished = false;\n const writer = new $2321944cfe4ffd56$var$AsyncWriter({\n socket: socket,\n request: request,\n contentLength: contentLength,\n client: client,\n expectsPayload: expectsPayload,\n header: header\n });\n const onData = function(chunk) {\n if (finished) return;\n try {\n if (!writer.write(chunk) && this.pause) this.pause();\n } catch (err) {\n $jqWlt.destroy(this, err);\n }\n };\n const onDrain = function() {\n if (finished) return;\n if (body.resume) body.resume();\n };\n const onAbort = function() {\n if (finished) return;\n const err = new $2321944cfe4ffd56$require$RequestAbortedError();\n queueMicrotask(()=>onFinished(err));\n };\n const onFinished = function(err) {\n if (finished) return;\n finished = true;\n $7rf7a$assert(socket.destroyed || socket[$2321944cfe4ffd56$require$kWriting] && client[$2321944cfe4ffd56$require$kRunning] <= 1);\n socket.off(\"drain\", onDrain).off(\"error\", onFinished);\n body.removeListener(\"data\", onData).removeListener(\"end\", onFinished).removeListener(\"error\", onFinished).removeListener(\"close\", onAbort);\n if (!err) try {\n writer.end();\n } catch (er) {\n err = er;\n }\n writer.destroy(err);\n if (err && (err.code !== \"UND_ERR_INFO\" || err.message !== \"reset\")) $jqWlt.destroy(body, err);\n else $jqWlt.destroy(body);\n };\n body.on(\"data\", onData).on(\"end\", onFinished).on(\"error\", onFinished).on(\"close\", onAbort);\n if (body.resume) body.resume();\n socket.on(\"drain\", onDrain).on(\"error\", onFinished);\n}\nasync function $2321944cfe4ffd56$var$writeBlob({ h2stream: h2stream, body: body, client: client, request: request, socket: socket, contentLength: contentLength, header: header, expectsPayload: expectsPayload }) {\n $7rf7a$assert(contentLength === body.size, \"blob body must have content length\");\n const isH2 = client[$2321944cfe4ffd56$require$kHTTPConnVersion] === \"h2\";\n try {\n if (contentLength != null && contentLength !== body.size) throw new $2321944cfe4ffd56$require$RequestContentLengthMismatchError();\n const buffer = Buffer.from(await body.arrayBuffer());\n if (isH2) {\n h2stream.cork();\n h2stream.write(buffer);\n h2stream.uncork();\n } else {\n socket.cork();\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, \"latin1\");\n socket.write(buffer);\n socket.uncork();\n }\n request.onBodySent(buffer);\n request.onRequestSent();\n if (!expectsPayload) socket[$2321944cfe4ffd56$require$kReset] = true;\n $2321944cfe4ffd56$var$resume(client);\n } catch (err) {\n $jqWlt.destroy(isH2 ? h2stream : socket, err);\n }\n}\nasync function $2321944cfe4ffd56$var$writeIterable({ h2stream: h2stream, body: body, client: client, request: request, socket: socket, contentLength: contentLength, header: header, expectsPayload: expectsPayload }) {\n $7rf7a$assert(contentLength !== 0 || client[$2321944cfe4ffd56$require$kRunning] === 0, \"iterator body cannot be pipelined\");\n let callback = null;\n function onDrain() {\n if (callback) {\n const cb = callback;\n callback = null;\n cb();\n }\n }\n const waitForDrain = ()=>new Promise((resolve, reject)=>{\n $7rf7a$assert(callback === null);\n if (socket[$2321944cfe4ffd56$require$kError]) reject(socket[$2321944cfe4ffd56$require$kError]);\n else callback = resolve;\n });\n if (client[$2321944cfe4ffd56$require$kHTTPConnVersion] === \"h2\") {\n h2stream.on(\"close\", onDrain).on(\"drain\", onDrain);\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body){\n if (socket[$2321944cfe4ffd56$require$kError]) throw socket[$2321944cfe4ffd56$require$kError];\n const res = h2stream.write(chunk);\n request.onBodySent(chunk);\n if (!res) await waitForDrain();\n }\n } catch (err) {\n h2stream.destroy(err);\n } finally{\n request.onRequestSent();\n h2stream.end();\n h2stream.off(\"close\", onDrain).off(\"drain\", onDrain);\n }\n return;\n }\n socket.on(\"close\", onDrain).on(\"drain\", onDrain);\n const writer = new $2321944cfe4ffd56$var$AsyncWriter({\n socket: socket,\n request: request,\n contentLength: contentLength,\n client: client,\n expectsPayload: expectsPayload,\n header: header\n });\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body){\n if (socket[$2321944cfe4ffd56$require$kError]) throw socket[$2321944cfe4ffd56$require$kError];\n if (!writer.write(chunk)) await waitForDrain();\n }\n writer.end();\n } catch (err) {\n writer.destroy(err);\n } finally{\n socket.off(\"close\", onDrain).off(\"drain\", onDrain);\n }\n}\nclass $2321944cfe4ffd56$var$AsyncWriter {\n constructor({ socket: socket, request: request, contentLength: contentLength, client: client, expectsPayload: expectsPayload, header: header }){\n this.socket = socket;\n this.request = request;\n this.contentLength = contentLength;\n this.client = client;\n this.bytesWritten = 0;\n this.expectsPayload = expectsPayload;\n this.header = header;\n socket[$2321944cfe4ffd56$require$kWriting] = true;\n }\n write(chunk) {\n const { socket: socket, request: request, contentLength: contentLength, client: client, bytesWritten: bytesWritten, expectsPayload: expectsPayload, header: header } = this;\n if (socket[$2321944cfe4ffd56$require$kError]) throw socket[$2321944cfe4ffd56$require$kError];\n if (socket.destroyed) return false;\n const len = Buffer.byteLength(chunk);\n if (!len) return true;\n // We should defer writing chunks.\n if (contentLength !== null && bytesWritten + len > contentLength) {\n if (client[$2321944cfe4ffd56$require$kStrictContentLength]) throw new $2321944cfe4ffd56$require$RequestContentLengthMismatchError();\n process.emitWarning(new $2321944cfe4ffd56$require$RequestContentLengthMismatchError());\n }\n socket.cork();\n if (bytesWritten === 0) {\n if (!expectsPayload) socket[$2321944cfe4ffd56$require$kReset] = true;\n if (contentLength === null) socket.write(`${header}transfer-encoding: chunked\\r\\n`, \"latin1\");\n else socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, \"latin1\");\n }\n if (contentLength === null) socket.write(`\\r\\n${len.toString(16)}\\r\\n`, \"latin1\");\n this.bytesWritten += len;\n const ret = socket.write(chunk);\n socket.uncork();\n request.onBodySent(chunk);\n if (!ret) {\n if (socket[$2321944cfe4ffd56$require$kParser].timeout && socket[$2321944cfe4ffd56$require$kParser].timeoutType === $2321944cfe4ffd56$var$TIMEOUT_HEADERS) // istanbul ignore else: only for jest\n {\n if (socket[$2321944cfe4ffd56$require$kParser].timeout.refresh) socket[$2321944cfe4ffd56$require$kParser].timeout.refresh();\n }\n }\n return ret;\n }\n end() {\n const { socket: socket, contentLength: contentLength, client: client, bytesWritten: bytesWritten, expectsPayload: expectsPayload, header: header, request: request } = this;\n request.onRequestSent();\n socket[$2321944cfe4ffd56$require$kWriting] = false;\n if (socket[$2321944cfe4ffd56$require$kError]) throw socket[$2321944cfe4ffd56$require$kError];\n if (socket.destroyed) return;\n if (bytesWritten === 0) {\n if (expectsPayload) // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD send a Content-Length in a request message when\n // no Transfer-Encoding is sent and the request method defines a meaning\n // for an enclosed payload body.\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, \"latin1\");\n else socket.write(`${header}\\r\\n`, \"latin1\");\n } else if (contentLength === null) socket.write(\"\\r\\n0\\r\\n\\r\\n\", \"latin1\");\n if (contentLength !== null && bytesWritten !== contentLength) {\n if (client[$2321944cfe4ffd56$require$kStrictContentLength]) throw new $2321944cfe4ffd56$require$RequestContentLengthMismatchError();\n else process.emitWarning(new $2321944cfe4ffd56$require$RequestContentLengthMismatchError());\n }\n if (socket[$2321944cfe4ffd56$require$kParser].timeout && socket[$2321944cfe4ffd56$require$kParser].timeoutType === $2321944cfe4ffd56$var$TIMEOUT_HEADERS) // istanbul ignore else: only for jest\n {\n if (socket[$2321944cfe4ffd56$require$kParser].timeout.refresh) socket[$2321944cfe4ffd56$require$kParser].timeout.refresh();\n }\n $2321944cfe4ffd56$var$resume(client);\n }\n destroy(err) {\n const { socket: socket, client: client } = this;\n socket[$2321944cfe4ffd56$require$kWriting] = false;\n if (err) {\n $7rf7a$assert(client[$2321944cfe4ffd56$require$kRunning] <= 1, \"pipeline should only contain this request\");\n $jqWlt.destroy(socket, err);\n }\n }\n}\nfunction $2321944cfe4ffd56$var$errorRequest(client, request, err) {\n try {\n request.onError(err);\n $7rf7a$assert(request.aborted);\n } catch (err) {\n client.emit(\"error\", err);\n }\n}\nmodule.exports = $2321944cfe4ffd56$var$Client;\n\n});\nparcelRegister(\"jqWlt\", function(module, exports) {\n\"use strict\";\n\n\nvar $heqcE = parcelRequire(\"heqcE\");\nvar $e25db434c6c435b6$require$kDestroyed = $heqcE.kDestroyed;\nvar $e25db434c6c435b6$require$kBodyUsed = $heqcE.kBodyUsed;\n\nvar $e25db434c6c435b6$require$IncomingMessage = $7rf7a$http.IncomingMessage;\n\n\n\nvar $eCuXV = parcelRequire(\"eCuXV\");\nvar $e25db434c6c435b6$require$InvalidArgumentError = $eCuXV.InvalidArgumentError;\n\nvar $e25db434c6c435b6$require$Blob = $7rf7a$buffer.Blob;\n\n\nvar $e25db434c6c435b6$require$stringify = $7rf7a$querystring.stringify;\n\nvar $9yhov = parcelRequire(\"9yhov\");\nvar $e25db434c6c435b6$require$headerNameLowerCasedRecord = $9yhov.headerNameLowerCasedRecord;\nconst [$e25db434c6c435b6$var$nodeMajor, $e25db434c6c435b6$var$nodeMinor] = process.versions.node.split(\".\").map((v)=>Number(v));\nfunction $e25db434c6c435b6$var$nop() {}\nfunction $e25db434c6c435b6$var$isStream(obj) {\n return obj && typeof obj === \"object\" && typeof obj.pipe === \"function\" && typeof obj.on === \"function\";\n}\n// based on https://github.com/node-fetch/fetch-blob/blob/8ab587d34080de94140b54f07168451e7d0b655e/index.js#L229-L241 (MIT License)\nfunction $e25db434c6c435b6$var$isBlobLike(object) {\n return $e25db434c6c435b6$require$Blob && object instanceof $e25db434c6c435b6$require$Blob || object && typeof object === \"object\" && (typeof object.stream === \"function\" || typeof object.arrayBuffer === \"function\") && /^(Blob|File)$/.test(object[Symbol.toStringTag]);\n}\nfunction $e25db434c6c435b6$var$buildURL(url, queryParams) {\n if (url.includes(\"?\") || url.includes(\"#\")) throw new Error('Query params cannot be passed when url already contains \"?\" or \"#\".');\n const stringified = $e25db434c6c435b6$require$stringify(queryParams);\n if (stringified) url += \"?\" + stringified;\n return url;\n}\nfunction $e25db434c6c435b6$var$parseURL(url) {\n if (typeof url === \"string\") {\n url = new URL(url);\n if (!/^https?:/.test(url.origin || url.protocol)) throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL protocol: the URL must start with `http:` or `https:`.\");\n return url;\n }\n if (!url || typeof url !== \"object\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL: The URL argument must be a non-null object.\");\n if (!/^https?:/.test(url.origin || url.protocol)) throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL protocol: the URL must start with `http:` or `https:`.\");\n if (!(url instanceof URL)) {\n if (url.port != null && url.port !== \"\" && !Number.isFinite(parseInt(url.port))) throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL: port must be a valid integer or a string representation of an integer.\");\n if (url.path != null && typeof url.path !== \"string\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL path: the path must be a string or null/undefined.\");\n if (url.pathname != null && typeof url.pathname !== \"string\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL pathname: the pathname must be a string or null/undefined.\");\n if (url.hostname != null && typeof url.hostname !== \"string\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL hostname: the hostname must be a string or null/undefined.\");\n if (url.origin != null && typeof url.origin !== \"string\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"Invalid URL origin: the origin must be a string or null/undefined.\");\n const port = url.port != null ? url.port : url.protocol === \"https:\" ? 443 : 80;\n let origin = url.origin != null ? url.origin : `${url.protocol}//${url.hostname}:${port}`;\n let path = url.path != null ? url.path : `${url.pathname || \"\"}${url.search || \"\"}`;\n if (origin.endsWith(\"/\")) origin = origin.substring(0, origin.length - 1);\n if (path && !path.startsWith(\"/\")) path = `/${path}`;\n // new URL(path, origin) is unsafe when `path` contains an absolute URL\n // From https://developer.mozilla.org/en-US/docs/Web/API/URL/URL:\n // If first parameter is a relative URL, second param is required, and will be used as the base URL.\n // If first parameter is an absolute URL, a given second param will be ignored.\n url = new URL(origin + path);\n }\n return url;\n}\nfunction $e25db434c6c435b6$var$parseOrigin(url) {\n url = $e25db434c6c435b6$var$parseURL(url);\n if (url.pathname !== \"/\" || url.search || url.hash) throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid url\");\n return url;\n}\nfunction $e25db434c6c435b6$var$getHostname(host) {\n if (host[0] === \"[\") {\n const idx = host.indexOf(\"]\");\n $7rf7a$assert(idx !== -1);\n return host.substring(1, idx);\n }\n const idx = host.indexOf(\":\");\n if (idx === -1) return host;\n return host.substring(0, idx);\n}\n// IP addresses are not valid server names per RFC6066\n// > Currently, the only server names supported are DNS hostnames\nfunction $e25db434c6c435b6$var$getServerName(host) {\n if (!host) return null;\n $7rf7a$assert.strictEqual(typeof host, \"string\");\n const servername = $e25db434c6c435b6$var$getHostname(host);\n if ($7rf7a$net.isIP(servername)) return \"\";\n return servername;\n}\nfunction $e25db434c6c435b6$var$deepClone(obj) {\n return JSON.parse(JSON.stringify(obj));\n}\nfunction $e25db434c6c435b6$var$isAsyncIterable(obj) {\n return !!(obj != null && typeof obj[Symbol.asyncIterator] === \"function\");\n}\nfunction $e25db434c6c435b6$var$isIterable(obj) {\n return !!(obj != null && (typeof obj[Symbol.iterator] === \"function\" || typeof obj[Symbol.asyncIterator] === \"function\"));\n}\nfunction $e25db434c6c435b6$var$bodyLength(body) {\n if (body == null) return 0;\n else if ($e25db434c6c435b6$var$isStream(body)) {\n const state = body._readableState;\n return state && state.objectMode === false && state.ended === true && Number.isFinite(state.length) ? state.length : null;\n } else if ($e25db434c6c435b6$var$isBlobLike(body)) return body.size != null ? body.size : null;\n else if ($e25db434c6c435b6$var$isBuffer(body)) return body.byteLength;\n return null;\n}\nfunction $e25db434c6c435b6$var$isDestroyed(stream) {\n return !stream || !!(stream.destroyed || stream[$e25db434c6c435b6$require$kDestroyed]);\n}\nfunction $e25db434c6c435b6$var$isReadableAborted(stream) {\n const state = stream && stream._readableState;\n return $e25db434c6c435b6$var$isDestroyed(stream) && state && !state.endEmitted;\n}\nfunction $e25db434c6c435b6$var$destroy(stream, err) {\n if (stream == null || !$e25db434c6c435b6$var$isStream(stream) || $e25db434c6c435b6$var$isDestroyed(stream)) return;\n if (typeof stream.destroy === \"function\") {\n if (Object.getPrototypeOf(stream).constructor === $e25db434c6c435b6$require$IncomingMessage) // See: https://github.com/nodejs/node/pull/38505/files\n stream.socket = null;\n stream.destroy(err);\n } else if (err) process.nextTick((stream, err)=>{\n stream.emit(\"error\", err);\n }, stream, err);\n if (stream.destroyed !== true) stream[$e25db434c6c435b6$require$kDestroyed] = true;\n}\nconst $e25db434c6c435b6$var$KEEPALIVE_TIMEOUT_EXPR = /timeout=(\\d+)/;\nfunction $e25db434c6c435b6$var$parseKeepAliveTimeout(val) {\n const m = val.toString().match($e25db434c6c435b6$var$KEEPALIVE_TIMEOUT_EXPR);\n return m ? parseInt(m[1], 10) * 1000 : null;\n}\n/**\n * Retrieves a header name and returns its lowercase value.\n * @param {string | Buffer} value Header name\n * @returns {string}\n */ function $e25db434c6c435b6$var$headerNameToString(value) {\n return $e25db434c6c435b6$require$headerNameLowerCasedRecord[value] || value.toLowerCase();\n}\nfunction $e25db434c6c435b6$var$parseHeaders(headers, obj = {}) {\n // For H2 support\n if (!Array.isArray(headers)) return headers;\n for(let i = 0; i < headers.length; i += 2){\n const key = headers[i].toString().toLowerCase();\n let val = obj[key];\n if (!val) {\n if (Array.isArray(headers[i + 1])) obj[key] = headers[i + 1].map((x)=>x.toString(\"utf8\"));\n else obj[key] = headers[i + 1].toString(\"utf8\");\n } else {\n if (!Array.isArray(val)) {\n val = [\n val\n ];\n obj[key] = val;\n }\n val.push(headers[i + 1].toString(\"utf8\"));\n }\n }\n // See https://github.com/nodejs/node/pull/46528\n if (\"content-length\" in obj && \"content-disposition\" in obj) obj[\"content-disposition\"] = Buffer.from(obj[\"content-disposition\"]).toString(\"latin1\");\n return obj;\n}\nfunction $e25db434c6c435b6$var$parseRawHeaders(headers) {\n const ret = [];\n let hasContentLength = false;\n let contentDispositionIdx = -1;\n for(let n = 0; n < headers.length; n += 2){\n const key = headers[n + 0].toString();\n const val = headers[n + 1].toString(\"utf8\");\n if (key.length === 14 && (key === \"content-length\" || key.toLowerCase() === \"content-length\")) {\n ret.push(key, val);\n hasContentLength = true;\n } else if (key.length === 19 && (key === \"content-disposition\" || key.toLowerCase() === \"content-disposition\")) contentDispositionIdx = ret.push(key, val) - 1;\n else ret.push(key, val);\n }\n // See https://github.com/nodejs/node/pull/46528\n if (hasContentLength && contentDispositionIdx !== -1) ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString(\"latin1\");\n return ret;\n}\nfunction $e25db434c6c435b6$var$isBuffer(buffer) {\n // See, https://github.com/mcollina/undici/pull/319\n return buffer instanceof Uint8Array || Buffer.isBuffer(buffer);\n}\nfunction $e25db434c6c435b6$var$validateHandler(handler, method, upgrade) {\n if (!handler || typeof handler !== \"object\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"handler must be an object\");\n if (typeof handler.onConnect !== \"function\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid onConnect method\");\n if (typeof handler.onError !== \"function\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid onError method\");\n if (typeof handler.onBodySent !== \"function\" && handler.onBodySent !== undefined) throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid onBodySent method\");\n if (upgrade || method === \"CONNECT\") {\n if (typeof handler.onUpgrade !== \"function\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid onUpgrade method\");\n } else {\n if (typeof handler.onHeaders !== \"function\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid onHeaders method\");\n if (typeof handler.onData !== \"function\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid onData method\");\n if (typeof handler.onComplete !== \"function\") throw new $e25db434c6c435b6$require$InvalidArgumentError(\"invalid onComplete method\");\n }\n}\n// A body is disturbed if it has been read from and it cannot\n// be re-used without losing state or data.\nfunction $e25db434c6c435b6$var$isDisturbed(body) {\n return !!(body && ($7rf7a$stream.isDisturbed ? $7rf7a$stream.isDisturbed(body) || body[$e25db434c6c435b6$require$kBodyUsed] // TODO (fix): Why is body[kBodyUsed] needed?\n : body[$e25db434c6c435b6$require$kBodyUsed] || body.readableDidRead || body._readableState && body._readableState.dataEmitted || $e25db434c6c435b6$var$isReadableAborted(body)));\n}\nfunction $e25db434c6c435b6$var$isErrored(body) {\n return !!(body && ($7rf7a$stream.isErrored ? $7rf7a$stream.isErrored(body) : /state: 'errored'/.test($7rf7a$util.inspect(body))));\n}\nfunction $e25db434c6c435b6$var$isReadable(body) {\n return !!(body && ($7rf7a$stream.isReadable ? $7rf7a$stream.isReadable(body) : /state: 'readable'/.test($7rf7a$util.inspect(body))));\n}\nfunction $e25db434c6c435b6$var$getSocketInfo(socket) {\n return {\n localAddress: socket.localAddress,\n localPort: socket.localPort,\n remoteAddress: socket.remoteAddress,\n remotePort: socket.remotePort,\n remoteFamily: socket.remoteFamily,\n timeout: socket.timeout,\n bytesWritten: socket.bytesWritten,\n bytesRead: socket.bytesRead\n };\n}\nasync function* $e25db434c6c435b6$var$convertIterableToBuffer(iterable) {\n for await (const chunk of iterable)yield Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);\n}\nlet $e25db434c6c435b6$var$ReadableStream;\n\nfunction $e25db434c6c435b6$var$ReadableStreamFrom(iterable) {\n if (!$e25db434c6c435b6$var$ReadableStream) $e25db434c6c435b6$var$ReadableStream = (parcelRequire(\"j5cOJ\")).ReadableStream;\n if ($e25db434c6c435b6$var$ReadableStream.from) return $e25db434c6c435b6$var$ReadableStream.from($e25db434c6c435b6$var$convertIterableToBuffer(iterable));\n let iterator;\n return new $e25db434c6c435b6$var$ReadableStream({\n async start () {\n iterator = iterable[Symbol.asyncIterator]();\n },\n async pull (controller) {\n const { done: done, value: value } = await iterator.next();\n if (done) queueMicrotask(()=>{\n controller.close();\n });\n else {\n const buf = Buffer.isBuffer(value) ? value : Buffer.from(value);\n controller.enqueue(new Uint8Array(buf));\n }\n return controller.desiredSize > 0;\n },\n async cancel (reason) {\n await iterator.return();\n }\n }, 0);\n}\n// The chunk should be a FormData instance and contains\n// all the required methods.\nfunction $e25db434c6c435b6$var$isFormDataLike(object) {\n return object && typeof object === \"object\" && typeof object.append === \"function\" && typeof object.delete === \"function\" && typeof object.get === \"function\" && typeof object.getAll === \"function\" && typeof object.has === \"function\" && typeof object.set === \"function\" && object[Symbol.toStringTag] === \"FormData\";\n}\nfunction $e25db434c6c435b6$var$throwIfAborted(signal) {\n if (!signal) return;\n if (typeof signal.throwIfAborted === \"function\") signal.throwIfAborted();\n else if (signal.aborted) {\n // DOMException not available < v17.0.0\n const err = new Error(\"The operation was aborted\");\n err.name = \"AbortError\";\n throw err;\n }\n}\nfunction $e25db434c6c435b6$var$addAbortListener(signal, listener) {\n if (\"addEventListener\" in signal) {\n signal.addEventListener(\"abort\", listener, {\n once: true\n });\n return ()=>signal.removeEventListener(\"abort\", listener);\n }\n signal.addListener(\"abort\", listener);\n return ()=>signal.removeListener(\"abort\", listener);\n}\nconst $e25db434c6c435b6$var$hasToWellFormed = !!String.prototype.toWellFormed;\n/**\n * @param {string} val\n */ function $e25db434c6c435b6$var$toUSVString(val) {\n if ($e25db434c6c435b6$var$hasToWellFormed) return `${val}`.toWellFormed();\n else if ($7rf7a$util.toUSVString) return $7rf7a$util.toUSVString(val);\n return `${val}`;\n}\n// Parsed accordingly to RFC 9110\n// https://www.rfc-editor.org/rfc/rfc9110#field.content-range\nfunction $e25db434c6c435b6$var$parseRangeHeader(range) {\n if (range == null || range === \"\") return {\n start: 0,\n end: null,\n size: null\n };\n const m = range ? range.match(/^bytes (\\d+)-(\\d+)\\/(\\d+)?$/) : null;\n return m ? {\n start: parseInt(m[1]),\n end: m[2] ? parseInt(m[2]) : null,\n size: m[3] ? parseInt(m[3]) : null\n } : null;\n}\nconst $e25db434c6c435b6$var$kEnumerableProperty = Object.create(null);\n$e25db434c6c435b6$var$kEnumerableProperty.enumerable = true;\nmodule.exports = {\n kEnumerableProperty: $e25db434c6c435b6$var$kEnumerableProperty,\n nop: $e25db434c6c435b6$var$nop,\n isDisturbed: $e25db434c6c435b6$var$isDisturbed,\n isErrored: $e25db434c6c435b6$var$isErrored,\n isReadable: $e25db434c6c435b6$var$isReadable,\n toUSVString: $e25db434c6c435b6$var$toUSVString,\n isReadableAborted: $e25db434c6c435b6$var$isReadableAborted,\n isBlobLike: $e25db434c6c435b6$var$isBlobLike,\n parseOrigin: $e25db434c6c435b6$var$parseOrigin,\n parseURL: $e25db434c6c435b6$var$parseURL,\n getServerName: $e25db434c6c435b6$var$getServerName,\n isStream: $e25db434c6c435b6$var$isStream,\n isIterable: $e25db434c6c435b6$var$isIterable,\n isAsyncIterable: $e25db434c6c435b6$var$isAsyncIterable,\n isDestroyed: $e25db434c6c435b6$var$isDestroyed,\n headerNameToString: $e25db434c6c435b6$var$headerNameToString,\n parseRawHeaders: $e25db434c6c435b6$var$parseRawHeaders,\n parseHeaders: $e25db434c6c435b6$var$parseHeaders,\n parseKeepAliveTimeout: $e25db434c6c435b6$var$parseKeepAliveTimeout,\n destroy: $e25db434c6c435b6$var$destroy,\n bodyLength: $e25db434c6c435b6$var$bodyLength,\n deepClone: $e25db434c6c435b6$var$deepClone,\n ReadableStreamFrom: $e25db434c6c435b6$var$ReadableStreamFrom,\n isBuffer: $e25db434c6c435b6$var$isBuffer,\n validateHandler: $e25db434c6c435b6$var$validateHandler,\n getSocketInfo: $e25db434c6c435b6$var$getSocketInfo,\n isFormDataLike: $e25db434c6c435b6$var$isFormDataLike,\n buildURL: $e25db434c6c435b6$var$buildURL,\n throwIfAborted: $e25db434c6c435b6$var$throwIfAborted,\n addAbortListener: $e25db434c6c435b6$var$addAbortListener,\n parseRangeHeader: $e25db434c6c435b6$var$parseRangeHeader,\n nodeMajor: $e25db434c6c435b6$var$nodeMajor,\n nodeMinor: $e25db434c6c435b6$var$nodeMinor,\n nodeHasAutoSelectFamily: $e25db434c6c435b6$var$nodeMajor > 18 || $e25db434c6c435b6$var$nodeMajor === 18 && $e25db434c6c435b6$var$nodeMinor >= 13,\n safeHTTPMethods: [\n \"GET\",\n \"HEAD\",\n \"OPTIONS\",\n \"TRACE\"\n ]\n};\n\n});\nparcelRegister(\"9yhov\", function(module, exports) {\n\"use strict\";\n/** @type {Record} */ const $6f44c82e9f1e84b6$var$headerNameLowerCasedRecord = {};\n// https://developer.mozilla.org/docs/Web/HTTP/Headers\nconst $6f44c82e9f1e84b6$var$wellknownHeaderNames = [\n \"Accept\",\n \"Accept-Encoding\",\n \"Accept-Language\",\n \"Accept-Ranges\",\n \"Access-Control-Allow-Credentials\",\n \"Access-Control-Allow-Headers\",\n \"Access-Control-Allow-Methods\",\n \"Access-Control-Allow-Origin\",\n \"Access-Control-Expose-Headers\",\n \"Access-Control-Max-Age\",\n \"Access-Control-Request-Headers\",\n \"Access-Control-Request-Method\",\n \"Age\",\n \"Allow\",\n \"Alt-Svc\",\n \"Alt-Used\",\n \"Authorization\",\n \"Cache-Control\",\n \"Clear-Site-Data\",\n \"Connection\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-Length\",\n \"Content-Location\",\n \"Content-Range\",\n \"Content-Security-Policy\",\n \"Content-Security-Policy-Report-Only\",\n \"Content-Type\",\n \"Cookie\",\n \"Cross-Origin-Embedder-Policy\",\n \"Cross-Origin-Opener-Policy\",\n \"Cross-Origin-Resource-Policy\",\n \"Date\",\n \"Device-Memory\",\n \"Downlink\",\n \"ECT\",\n \"ETag\",\n \"Expect\",\n \"Expect-CT\",\n \"Expires\",\n \"Forwarded\",\n \"From\",\n \"Host\",\n \"If-Match\",\n \"If-Modified-Since\",\n \"If-None-Match\",\n \"If-Range\",\n \"If-Unmodified-Since\",\n \"Keep-Alive\",\n \"Last-Modified\",\n \"Link\",\n \"Location\",\n \"Max-Forwards\",\n \"Origin\",\n \"Permissions-Policy\",\n \"Pragma\",\n \"Proxy-Authenticate\",\n \"Proxy-Authorization\",\n \"RTT\",\n \"Range\",\n \"Referer\",\n \"Referrer-Policy\",\n \"Refresh\",\n \"Retry-After\",\n \"Sec-WebSocket-Accept\",\n \"Sec-WebSocket-Extensions\",\n \"Sec-WebSocket-Key\",\n \"Sec-WebSocket-Protocol\",\n \"Sec-WebSocket-Version\",\n \"Server\",\n \"Server-Timing\",\n \"Service-Worker-Allowed\",\n \"Service-Worker-Navigation-Preload\",\n \"Set-Cookie\",\n \"SourceMap\",\n \"Strict-Transport-Security\",\n \"Supports-Loading-Mode\",\n \"TE\",\n \"Timing-Allow-Origin\",\n \"Trailer\",\n \"Transfer-Encoding\",\n \"Upgrade\",\n \"Upgrade-Insecure-Requests\",\n \"User-Agent\",\n \"Vary\",\n \"Via\",\n \"WWW-Authenticate\",\n \"X-Content-Type-Options\",\n \"X-DNS-Prefetch-Control\",\n \"X-Frame-Options\",\n \"X-Permitted-Cross-Domain-Policies\",\n \"X-Powered-By\",\n \"X-Requested-With\",\n \"X-XSS-Protection\"\n];\nfor(let i = 0; i < $6f44c82e9f1e84b6$var$wellknownHeaderNames.length; ++i){\n const key = $6f44c82e9f1e84b6$var$wellknownHeaderNames[i];\n const lowerCasedKey = key.toLowerCase();\n $6f44c82e9f1e84b6$var$headerNameLowerCasedRecord[key] = $6f44c82e9f1e84b6$var$headerNameLowerCasedRecord[lowerCasedKey] = lowerCasedKey;\n}\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf($6f44c82e9f1e84b6$var$headerNameLowerCasedRecord, null);\nmodule.exports = {\n wellknownHeaderNames: $6f44c82e9f1e84b6$var$wellknownHeaderNames,\n headerNameLowerCasedRecord: $6f44c82e9f1e84b6$var$headerNameLowerCasedRecord\n};\n\n});\n\nparcelRegister(\"j5cOJ\", function(module, exports) {\n\n$parcel$export(module.exports, \"ReadableStream\", () => $bcc01eff481d2983$export$5d3e1e5268af5f76);\n/**\n * @license\n * web-streams-polyfill v4.0.0\n * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.\n * This code is released under the MIT license.\n * SPDX-License-Identifier: MIT\n */ function $bcc01eff481d2983$var$e() {}\nfunction $bcc01eff481d2983$var$t(e) {\n return \"object\" == typeof e && null !== e || \"function\" == typeof e;\n}\nconst $bcc01eff481d2983$var$r = $bcc01eff481d2983$var$e;\nfunction $bcc01eff481d2983$var$o(e, t) {\n try {\n Object.defineProperty(e, \"name\", {\n value: t,\n configurable: !0\n });\n } catch (e) {}\n}\nconst $bcc01eff481d2983$var$n = Promise, $bcc01eff481d2983$var$a = Promise.resolve.bind($bcc01eff481d2983$var$n), $bcc01eff481d2983$var$i = Promise.prototype.then, $bcc01eff481d2983$var$l = Promise.reject.bind($bcc01eff481d2983$var$n), $bcc01eff481d2983$var$s = $bcc01eff481d2983$var$a;\nfunction $bcc01eff481d2983$var$u(e) {\n return new $bcc01eff481d2983$var$n(e);\n}\nfunction $bcc01eff481d2983$var$c(e) {\n return $bcc01eff481d2983$var$u((t)=>t(e));\n}\nfunction $bcc01eff481d2983$var$d(e) {\n return $bcc01eff481d2983$var$l(e);\n}\nfunction $bcc01eff481d2983$var$f(e, t, r) {\n return $bcc01eff481d2983$var$i.call(e, t, r);\n}\nfunction $bcc01eff481d2983$var$b(e, t, o) {\n $bcc01eff481d2983$var$f($bcc01eff481d2983$var$f(e, t, o), void 0, $bcc01eff481d2983$var$r);\n}\nfunction $bcc01eff481d2983$var$h(e, t) {\n $bcc01eff481d2983$var$b(e, t);\n}\nfunction $bcc01eff481d2983$var$m(e, t) {\n $bcc01eff481d2983$var$b(e, void 0, t);\n}\nfunction $bcc01eff481d2983$var$_(e, t, r) {\n return $bcc01eff481d2983$var$f(e, t, r);\n}\nfunction $bcc01eff481d2983$var$p(e) {\n $bcc01eff481d2983$var$f(e, void 0, $bcc01eff481d2983$var$r);\n}\nlet $bcc01eff481d2983$var$y = (e)=>{\n if (\"function\" == typeof queueMicrotask) $bcc01eff481d2983$var$y = queueMicrotask;\n else {\n const e = $bcc01eff481d2983$var$c(void 0);\n $bcc01eff481d2983$var$y = (t)=>$bcc01eff481d2983$var$f(e, t);\n }\n return $bcc01eff481d2983$var$y(e);\n};\nfunction $bcc01eff481d2983$var$S(e, t, r) {\n if (\"function\" != typeof e) throw new TypeError(\"Argument is not a function\");\n return Function.prototype.apply.call(e, t, r);\n}\nfunction $bcc01eff481d2983$var$g(e, t, r) {\n try {\n return $bcc01eff481d2983$var$c($bcc01eff481d2983$var$S(e, t, r));\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n}\nclass $bcc01eff481d2983$var$v {\n constructor(){\n this._cursor = 0, this._size = 0, this._front = {\n _elements: [],\n _next: void 0\n }, this._back = this._front, this._cursor = 0, this._size = 0;\n }\n get length() {\n return this._size;\n }\n push(e) {\n const t = this._back;\n let r = t;\n 16383 === t._elements.length && (r = {\n _elements: [],\n _next: void 0\n }), t._elements.push(e), r !== t && (this._back = r, t._next = r), ++this._size;\n }\n shift() {\n const e = this._front;\n let t = e;\n const r = this._cursor;\n let o = r + 1;\n const n = e._elements, a = n[r];\n return 16384 === o && (t = e._next, o = 0), --this._size, this._cursor = o, e !== t && (this._front = t), n[r] = void 0, a;\n }\n forEach(e) {\n let t = this._cursor, r = this._front, o = r._elements;\n for(; !(t === o.length && void 0 === r._next || t === o.length && (r = r._next, o = r._elements, t = 0, 0 === o.length));)e(o[t]), ++t;\n }\n peek() {\n const e = this._front, t = this._cursor;\n return e._elements[t];\n }\n}\nconst $bcc01eff481d2983$var$w = Symbol(\"[[AbortSteps]]\"), $bcc01eff481d2983$var$R = Symbol(\"[[ErrorSteps]]\"), $bcc01eff481d2983$var$T = Symbol(\"[[CancelSteps]]\"), $bcc01eff481d2983$var$C = Symbol(\"[[PullSteps]]\"), $bcc01eff481d2983$var$P = Symbol(\"[[ReleaseSteps]]\");\nfunction $bcc01eff481d2983$var$q(e, t) {\n e._ownerReadableStream = t, t._reader = e, \"readable\" === t._state ? $bcc01eff481d2983$var$B(e) : \"closed\" === t._state ? function(e) {\n $bcc01eff481d2983$var$B(e), $bcc01eff481d2983$var$A(e);\n }(e) : $bcc01eff481d2983$var$k(e, t._storedError);\n}\nfunction $bcc01eff481d2983$var$E(e, t) {\n return $bcc01eff481d2983$var$Or(e._ownerReadableStream, t);\n}\nfunction $bcc01eff481d2983$var$W(e) {\n const t = e._ownerReadableStream;\n \"readable\" === t._state ? $bcc01eff481d2983$var$j(e, new TypeError(\"Reader was released and can no longer be used to monitor the stream's closedness\")) : function(e, t) {\n $bcc01eff481d2983$var$k(e, t);\n }(e, new TypeError(\"Reader was released and can no longer be used to monitor the stream's closedness\")), t._readableStreamController[$bcc01eff481d2983$var$P](), t._reader = void 0, e._ownerReadableStream = void 0;\n}\nfunction $bcc01eff481d2983$var$O(e) {\n return new TypeError(\"Cannot \" + e + \" a stream using a released reader\");\n}\nfunction $bcc01eff481d2983$var$B(e) {\n e._closedPromise = $bcc01eff481d2983$var$u((t, r)=>{\n e._closedPromise_resolve = t, e._closedPromise_reject = r;\n });\n}\nfunction $bcc01eff481d2983$var$k(e, t) {\n $bcc01eff481d2983$var$B(e), $bcc01eff481d2983$var$j(e, t);\n}\nfunction $bcc01eff481d2983$var$j(e, t) {\n void 0 !== e._closedPromise_reject && ($bcc01eff481d2983$var$p(e._closedPromise), e._closedPromise_reject(t), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0);\n}\nfunction $bcc01eff481d2983$var$A(e) {\n void 0 !== e._closedPromise_resolve && (e._closedPromise_resolve(void 0), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0);\n}\nconst $bcc01eff481d2983$var$z = Number.isFinite || function(e) {\n return \"number\" == typeof e && isFinite(e);\n}, $bcc01eff481d2983$var$D = Math.trunc || function(e) {\n return e < 0 ? Math.ceil(e) : Math.floor(e);\n};\nfunction $bcc01eff481d2983$var$L(e, t) {\n if (void 0 !== e && \"object\" != typeof (r = e) && \"function\" != typeof r) throw new TypeError(`${t} is not an object.`);\n var r;\n}\nfunction $bcc01eff481d2983$var$F(e, t) {\n if (\"function\" != typeof e) throw new TypeError(`${t} is not a function.`);\n}\nfunction $bcc01eff481d2983$var$I(e, t) {\n if (!function(e) {\n return \"object\" == typeof e && null !== e || \"function\" == typeof e;\n }(e)) throw new TypeError(`${t} is not an object.`);\n}\nfunction $bcc01eff481d2983$var$$(e, t, r) {\n if (void 0 === e) throw new TypeError(`Parameter ${t} is required in '${r}'.`);\n}\nfunction $bcc01eff481d2983$var$M(e, t, r) {\n if (void 0 === e) throw new TypeError(`${t} is required in '${r}'.`);\n}\nfunction $bcc01eff481d2983$var$Y(e) {\n return Number(e);\n}\nfunction $bcc01eff481d2983$var$x(e) {\n return 0 === e ? 0 : e;\n}\nfunction $bcc01eff481d2983$var$Q(e, t) {\n const r = Number.MAX_SAFE_INTEGER;\n let o = Number(e);\n if (o = $bcc01eff481d2983$var$x(o), !$bcc01eff481d2983$var$z(o)) throw new TypeError(`${t} is not a finite number`);\n if (o = function(e) {\n return $bcc01eff481d2983$var$x($bcc01eff481d2983$var$D(e));\n }(o), o < 0 || o > r) throw new TypeError(`${t} is outside the accepted range of 0 to ${r}, inclusive`);\n return $bcc01eff481d2983$var$z(o) && 0 !== o ? o : 0;\n}\nfunction $bcc01eff481d2983$var$N(e, t) {\n if (!$bcc01eff481d2983$var$Er(e)) throw new TypeError(`${t} is not a ReadableStream.`);\n}\nfunction $bcc01eff481d2983$var$H(e) {\n return new $bcc01eff481d2983$export$a890bf36e2af9168(e);\n}\nfunction $bcc01eff481d2983$var$V(e, t) {\n e._reader._readRequests.push(t);\n}\nfunction $bcc01eff481d2983$var$U(e, t, r) {\n const o = e._reader._readRequests.shift();\n r ? o._closeSteps() : o._chunkSteps(t);\n}\nfunction $bcc01eff481d2983$var$G(e) {\n return e._reader._readRequests.length;\n}\nfunction $bcc01eff481d2983$var$X(e) {\n const t = e._reader;\n return void 0 !== t && !!$bcc01eff481d2983$var$J(t);\n}\nclass $bcc01eff481d2983$export$a890bf36e2af9168 {\n constructor(e){\n if ($bcc01eff481d2983$var$$(e, 1, \"ReadableStreamDefaultReader\"), $bcc01eff481d2983$var$N(e, \"First parameter\"), $bcc01eff481d2983$var$Wr(e)) throw new TypeError(\"This stream has already been locked for exclusive reading by another reader\");\n $bcc01eff481d2983$var$q(this, e), this._readRequests = new $bcc01eff481d2983$var$v;\n }\n get closed() {\n return $bcc01eff481d2983$var$J(this) ? this._closedPromise : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$ee(\"closed\"));\n }\n cancel(e) {\n return $bcc01eff481d2983$var$J(this) ? void 0 === this._ownerReadableStream ? $bcc01eff481d2983$var$d($bcc01eff481d2983$var$O(\"cancel\")) : $bcc01eff481d2983$var$E(this, e) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$ee(\"cancel\"));\n }\n read() {\n if (!$bcc01eff481d2983$var$J(this)) return $bcc01eff481d2983$var$d($bcc01eff481d2983$var$ee(\"read\"));\n if (void 0 === this._ownerReadableStream) return $bcc01eff481d2983$var$d($bcc01eff481d2983$var$O(\"read from\"));\n let e, t;\n const r = $bcc01eff481d2983$var$u((r, o)=>{\n e = r, t = o;\n });\n return $bcc01eff481d2983$var$K(this, {\n _chunkSteps: (t)=>e({\n value: t,\n done: !1\n }),\n _closeSteps: ()=>e({\n value: void 0,\n done: !0\n }),\n _errorSteps: (e)=>t(e)\n }), r;\n }\n releaseLock() {\n if (!$bcc01eff481d2983$var$J(this)) throw $bcc01eff481d2983$var$ee(\"releaseLock\");\n void 0 !== this._ownerReadableStream && function(e) {\n $bcc01eff481d2983$var$W(e);\n const t = new TypeError(\"Reader was released\");\n $bcc01eff481d2983$var$Z(e, t);\n }(this);\n }\n}\nfunction $bcc01eff481d2983$var$J(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_readRequests\") && e instanceof $bcc01eff481d2983$export$a890bf36e2af9168;\n}\nfunction $bcc01eff481d2983$var$K(e, t) {\n const r = e._ownerReadableStream;\n r._disturbed = !0, \"closed\" === r._state ? t._closeSteps() : \"errored\" === r._state ? t._errorSteps(r._storedError) : r._readableStreamController[$bcc01eff481d2983$var$C](t);\n}\nfunction $bcc01eff481d2983$var$Z(e, t) {\n const r = e._readRequests;\n e._readRequests = new $bcc01eff481d2983$var$v, r.forEach((e)=>{\n e._errorSteps(t);\n });\n}\nfunction $bcc01eff481d2983$var$ee(e) {\n return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`);\n}\nvar $bcc01eff481d2983$var$te, $bcc01eff481d2983$var$re, $bcc01eff481d2983$var$oe;\nfunction $bcc01eff481d2983$var$ne(e) {\n return e.slice();\n}\nfunction $bcc01eff481d2983$var$ae(e, t, r, o, n) {\n new Uint8Array(e).set(new Uint8Array(r, o, n), t);\n}\nObject.defineProperties($bcc01eff481d2983$export$a890bf36e2af9168.prototype, {\n cancel: {\n enumerable: !0\n },\n read: {\n enumerable: !0\n },\n releaseLock: {\n enumerable: !0\n },\n closed: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$a890bf36e2af9168.prototype.cancel, \"cancel\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$a890bf36e2af9168.prototype.read, \"read\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$a890bf36e2af9168.prototype.releaseLock, \"releaseLock\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$a890bf36e2af9168.prototype, Symbol.toStringTag, {\n value: \"ReadableStreamDefaultReader\",\n configurable: !0\n});\nlet $bcc01eff481d2983$var$ie = (e)=>($bcc01eff481d2983$var$ie = \"function\" == typeof e.transfer ? (e)=>e.transfer() : \"function\" == typeof structuredClone ? (e)=>structuredClone(e, {\n transfer: [\n e\n ]\n }) : (e)=>e, $bcc01eff481d2983$var$ie(e)), $bcc01eff481d2983$var$le = (e)=>($bcc01eff481d2983$var$le = \"boolean\" == typeof e.detached ? (e)=>e.detached : (e)=>0 === e.byteLength, $bcc01eff481d2983$var$le(e));\nfunction $bcc01eff481d2983$var$se(e, t, r) {\n if (e.slice) return e.slice(t, r);\n const o = r - t, n = new ArrayBuffer(o);\n return $bcc01eff481d2983$var$ae(n, 0, e, t, o), n;\n}\nfunction $bcc01eff481d2983$var$ue(e, t) {\n const r = e[t];\n if (null != r) {\n if (\"function\" != typeof r) throw new TypeError(`${String(t)} is not a function`);\n return r;\n }\n}\nfunction $bcc01eff481d2983$var$ce(e) {\n try {\n const t = e.done, r = e.value;\n return $bcc01eff481d2983$var$f($bcc01eff481d2983$var$s(r), (e)=>({\n done: t,\n value: e\n }));\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n}\nconst $bcc01eff481d2983$var$de = null !== ($bcc01eff481d2983$var$oe = null !== ($bcc01eff481d2983$var$te = Symbol.asyncIterator) && void 0 !== $bcc01eff481d2983$var$te ? $bcc01eff481d2983$var$te : null === ($bcc01eff481d2983$var$re = Symbol.for) || void 0 === $bcc01eff481d2983$var$re ? void 0 : $bcc01eff481d2983$var$re.call(Symbol, \"Symbol.asyncIterator\")) && void 0 !== $bcc01eff481d2983$var$oe ? $bcc01eff481d2983$var$oe : \"@@asyncIterator\";\nfunction $bcc01eff481d2983$var$fe(e, r = \"sync\", o) {\n if (void 0 === o) {\n if (\"async\" === r) {\n if (void 0 === (o = $bcc01eff481d2983$var$ue(e, $bcc01eff481d2983$var$de))) return function(e) {\n const r = {\n next () {\n let t;\n try {\n t = $bcc01eff481d2983$var$be(e);\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n return $bcc01eff481d2983$var$ce(t);\n },\n return (r) {\n let o;\n try {\n const t = $bcc01eff481d2983$var$ue(e.iterator, \"return\");\n if (void 0 === t) return $bcc01eff481d2983$var$c({\n done: !0,\n value: r\n });\n o = $bcc01eff481d2983$var$S(t, e.iterator, [\n r\n ]);\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n return $bcc01eff481d2983$var$t(o) ? $bcc01eff481d2983$var$ce(o) : $bcc01eff481d2983$var$d(new TypeError(\"The iterator.return() method must return an object\"));\n }\n };\n return {\n iterator: r,\n nextMethod: r.next,\n done: !1\n };\n }($bcc01eff481d2983$var$fe(e, \"sync\", $bcc01eff481d2983$var$ue(e, Symbol.iterator)));\n } else o = $bcc01eff481d2983$var$ue(e, Symbol.iterator);\n }\n if (void 0 === o) throw new TypeError(\"The object is not iterable\");\n const n = $bcc01eff481d2983$var$S(o, e, []);\n if (!$bcc01eff481d2983$var$t(n)) throw new TypeError(\"The iterator method must return an object\");\n return {\n iterator: n,\n nextMethod: n.next,\n done: !1\n };\n}\nfunction $bcc01eff481d2983$var$be(e) {\n const r = $bcc01eff481d2983$var$S(e.nextMethod, e.iterator, []);\n if (!$bcc01eff481d2983$var$t(r)) throw new TypeError(\"The iterator.next() method must return an object\");\n return r;\n}\nclass $bcc01eff481d2983$var$he {\n constructor(e, t){\n this._ongoingPromise = void 0, this._isFinished = !1, this._reader = e, this._preventCancel = t;\n }\n next() {\n const e = ()=>this._nextSteps();\n return this._ongoingPromise = this._ongoingPromise ? $bcc01eff481d2983$var$_(this._ongoingPromise, e, e) : e(), this._ongoingPromise;\n }\n return(e) {\n const t = ()=>this._returnSteps(e);\n return this._ongoingPromise ? $bcc01eff481d2983$var$_(this._ongoingPromise, t, t) : t();\n }\n _nextSteps() {\n if (this._isFinished) return Promise.resolve({\n value: void 0,\n done: !0\n });\n const e = this._reader;\n let t, r;\n const o = $bcc01eff481d2983$var$u((e, o)=>{\n t = e, r = o;\n });\n return $bcc01eff481d2983$var$K(e, {\n _chunkSteps: (e)=>{\n this._ongoingPromise = void 0, $bcc01eff481d2983$var$y(()=>t({\n value: e,\n done: !1\n }));\n },\n _closeSteps: ()=>{\n this._ongoingPromise = void 0, this._isFinished = !0, $bcc01eff481d2983$var$W(e), t({\n value: void 0,\n done: !0\n });\n },\n _errorSteps: (t)=>{\n this._ongoingPromise = void 0, this._isFinished = !0, $bcc01eff481d2983$var$W(e), r(t);\n }\n }), o;\n }\n _returnSteps(e) {\n if (this._isFinished) return Promise.resolve({\n value: e,\n done: !0\n });\n this._isFinished = !0;\n const t = this._reader;\n if (!this._preventCancel) {\n const r = $bcc01eff481d2983$var$E(t, e);\n return $bcc01eff481d2983$var$W(t), $bcc01eff481d2983$var$_(r, ()=>({\n value: e,\n done: !0\n }));\n }\n return $bcc01eff481d2983$var$W(t), $bcc01eff481d2983$var$c({\n value: e,\n done: !0\n });\n }\n}\nconst $bcc01eff481d2983$var$me = {\n next () {\n return $bcc01eff481d2983$var$_e(this) ? this._asyncIteratorImpl.next() : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$pe(\"next\"));\n },\n return (e) {\n return $bcc01eff481d2983$var$_e(this) ? this._asyncIteratorImpl.return(e) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$pe(\"return\"));\n },\n [$bcc01eff481d2983$var$de] () {\n return this;\n }\n};\nfunction $bcc01eff481d2983$var$_e(e) {\n if (!$bcc01eff481d2983$var$t(e)) return !1;\n if (!Object.prototype.hasOwnProperty.call(e, \"_asyncIteratorImpl\")) return !1;\n try {\n return e._asyncIteratorImpl instanceof $bcc01eff481d2983$var$he;\n } catch (e) {\n return !1;\n }\n}\nfunction $bcc01eff481d2983$var$pe(e) {\n return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`);\n}\nObject.defineProperty($bcc01eff481d2983$var$me, $bcc01eff481d2983$var$de, {\n enumerable: !1\n});\nconst $bcc01eff481d2983$var$ye = Number.isNaN || function(e) {\n return e != e;\n};\nfunction $bcc01eff481d2983$var$Se(e) {\n const t = $bcc01eff481d2983$var$se(e.buffer, e.byteOffset, e.byteOffset + e.byteLength);\n return new Uint8Array(t);\n}\nfunction $bcc01eff481d2983$var$ge(e) {\n const t = e._queue.shift();\n return e._queueTotalSize -= t.size, e._queueTotalSize < 0 && (e._queueTotalSize = 0), t.value;\n}\nfunction $bcc01eff481d2983$var$ve(e, t, r) {\n if (\"number\" != typeof (o = r) || $bcc01eff481d2983$var$ye(o) || o < 0 || r === 1 / 0) throw new RangeError(\"Size must be a finite, non-NaN, non-negative number.\");\n var o;\n e._queue.push({\n value: t,\n size: r\n }), e._queueTotalSize += r;\n}\nfunction $bcc01eff481d2983$var$we(e) {\n e._queue = new $bcc01eff481d2983$var$v, e._queueTotalSize = 0;\n}\nfunction $bcc01eff481d2983$var$Re(e) {\n return e === DataView;\n}\nclass $bcc01eff481d2983$export$fbcf11583158d2c {\n constructor(){\n throw new TypeError(\"Illegal constructor\");\n }\n get view() {\n if (!$bcc01eff481d2983$var$Ce(this)) throw $bcc01eff481d2983$var$Je(\"view\");\n return this._view;\n }\n respond(e) {\n if (!$bcc01eff481d2983$var$Ce(this)) throw $bcc01eff481d2983$var$Je(\"respond\");\n if ($bcc01eff481d2983$var$$(e, 1, \"respond\"), e = $bcc01eff481d2983$var$Q(e, \"First parameter\"), void 0 === this._associatedReadableByteStreamController) throw new TypeError(\"This BYOB request has been invalidated\");\n if ($bcc01eff481d2983$var$le(this._view.buffer)) throw new TypeError(\"The BYOB request's buffer has been detached and so cannot be used as a response\");\n $bcc01eff481d2983$var$Ue(this._associatedReadableByteStreamController, e);\n }\n respondWithNewView(e) {\n if (!$bcc01eff481d2983$var$Ce(this)) throw $bcc01eff481d2983$var$Je(\"respondWithNewView\");\n if ($bcc01eff481d2983$var$$(e, 1, \"respondWithNewView\"), !ArrayBuffer.isView(e)) throw new TypeError(\"You can only respond with array buffer views\");\n if (void 0 === this._associatedReadableByteStreamController) throw new TypeError(\"This BYOB request has been invalidated\");\n if ($bcc01eff481d2983$var$le(e.buffer)) throw new TypeError(\"The given view's buffer has been detached and so cannot be used as a response\");\n $bcc01eff481d2983$var$Ge(this._associatedReadableByteStreamController, e);\n }\n}\nObject.defineProperties($bcc01eff481d2983$export$fbcf11583158d2c.prototype, {\n respond: {\n enumerable: !0\n },\n respondWithNewView: {\n enumerable: !0\n },\n view: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$fbcf11583158d2c.prototype.respond, \"respond\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$fbcf11583158d2c.prototype.respondWithNewView, \"respondWithNewView\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$fbcf11583158d2c.prototype, Symbol.toStringTag, {\n value: \"ReadableStreamBYOBRequest\",\n configurable: !0\n});\nclass $bcc01eff481d2983$export$2047cf34091e94ac {\n constructor(){\n throw new TypeError(\"Illegal constructor\");\n }\n get byobRequest() {\n if (!$bcc01eff481d2983$var$Te(this)) throw $bcc01eff481d2983$var$Ke(\"byobRequest\");\n return $bcc01eff481d2983$var$He(this);\n }\n get desiredSize() {\n if (!$bcc01eff481d2983$var$Te(this)) throw $bcc01eff481d2983$var$Ke(\"desiredSize\");\n return $bcc01eff481d2983$var$Ve(this);\n }\n close() {\n if (!$bcc01eff481d2983$var$Te(this)) throw $bcc01eff481d2983$var$Ke(\"close\");\n if (this._closeRequested) throw new TypeError(\"The stream has already been closed; do not close it again!\");\n const e = this._controlledReadableByteStream._state;\n if (\"readable\" !== e) throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);\n $bcc01eff481d2983$var$Ye(this);\n }\n enqueue(e) {\n if (!$bcc01eff481d2983$var$Te(this)) throw $bcc01eff481d2983$var$Ke(\"enqueue\");\n if ($bcc01eff481d2983$var$$(e, 1, \"enqueue\"), !ArrayBuffer.isView(e)) throw new TypeError(\"chunk must be an array buffer view\");\n if (0 === e.byteLength) throw new TypeError(\"chunk must have non-zero byteLength\");\n if (0 === e.buffer.byteLength) throw new TypeError(\"chunk's buffer must have non-zero byteLength\");\n if (this._closeRequested) throw new TypeError(\"stream is closed or draining\");\n const t = this._controlledReadableByteStream._state;\n if (\"readable\" !== t) throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);\n $bcc01eff481d2983$var$xe(this, e);\n }\n error(e) {\n if (!$bcc01eff481d2983$var$Te(this)) throw $bcc01eff481d2983$var$Ke(\"error\");\n $bcc01eff481d2983$var$Qe(this, e);\n }\n [$bcc01eff481d2983$var$T](e) {\n $bcc01eff481d2983$var$qe(this), $bcc01eff481d2983$var$we(this);\n const t = this._cancelAlgorithm(e);\n return $bcc01eff481d2983$var$Me(this), t;\n }\n [$bcc01eff481d2983$var$C](e) {\n const t = this._controlledReadableByteStream;\n if (this._queueTotalSize > 0) return void $bcc01eff481d2983$var$Ne(this, e);\n const r = this._autoAllocateChunkSize;\n if (void 0 !== r) {\n let t;\n try {\n t = new ArrayBuffer(r);\n } catch (t) {\n return void e._errorSteps(t);\n }\n const o = {\n buffer: t,\n bufferByteLength: r,\n byteOffset: 0,\n byteLength: r,\n bytesFilled: 0,\n minimumFill: 1,\n elementSize: 1,\n viewConstructor: Uint8Array,\n readerType: \"default\"\n };\n this._pendingPullIntos.push(o);\n }\n $bcc01eff481d2983$var$V(t, e), $bcc01eff481d2983$var$Pe(this);\n }\n [$bcc01eff481d2983$var$P]() {\n if (this._pendingPullIntos.length > 0) {\n const e = this._pendingPullIntos.peek();\n e.readerType = \"none\", this._pendingPullIntos = new $bcc01eff481d2983$var$v, this._pendingPullIntos.push(e);\n }\n }\n}\nfunction $bcc01eff481d2983$var$Te(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_controlledReadableByteStream\") && e instanceof $bcc01eff481d2983$export$2047cf34091e94ac;\n}\nfunction $bcc01eff481d2983$var$Ce(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_associatedReadableByteStreamController\") && e instanceof $bcc01eff481d2983$export$fbcf11583158d2c;\n}\nfunction $bcc01eff481d2983$var$Pe(e) {\n const t = function(e) {\n const t = e._controlledReadableByteStream;\n if (\"readable\" !== t._state) return !1;\n if (e._closeRequested) return !1;\n if (!e._started) return !1;\n if ($bcc01eff481d2983$var$X(t) && $bcc01eff481d2983$var$G(t) > 0) return !0;\n if ($bcc01eff481d2983$var$ot(t) && $bcc01eff481d2983$var$rt(t) > 0) return !0;\n const r = $bcc01eff481d2983$var$Ve(e);\n if (r > 0) return !0;\n return !1;\n }(e);\n if (!t) return;\n if (e._pulling) return void (e._pullAgain = !0);\n e._pulling = !0;\n $bcc01eff481d2983$var$b(e._pullAlgorithm(), ()=>(e._pulling = !1, e._pullAgain && (e._pullAgain = !1, $bcc01eff481d2983$var$Pe(e)), null), (t)=>($bcc01eff481d2983$var$Qe(e, t), null));\n}\nfunction $bcc01eff481d2983$var$qe(e) {\n $bcc01eff481d2983$var$De(e), e._pendingPullIntos = new $bcc01eff481d2983$var$v;\n}\nfunction $bcc01eff481d2983$var$Ee(e, t) {\n let r = !1;\n \"closed\" === e._state && (r = !0);\n const o = $bcc01eff481d2983$var$We(t);\n \"default\" === t.readerType ? $bcc01eff481d2983$var$U(e, o, r) : function(e, t, r) {\n const o = e._reader, n = o._readIntoRequests.shift();\n r ? n._closeSteps(t) : n._chunkSteps(t);\n }(e, o, r);\n}\nfunction $bcc01eff481d2983$var$We(e) {\n const t = e.bytesFilled, r = e.elementSize;\n return new e.viewConstructor(e.buffer, e.byteOffset, t / r);\n}\nfunction $bcc01eff481d2983$var$Oe(e, t, r, o) {\n e._queue.push({\n buffer: t,\n byteOffset: r,\n byteLength: o\n }), e._queueTotalSize += o;\n}\nfunction $bcc01eff481d2983$var$Be(e, t, r, o) {\n let n;\n try {\n n = $bcc01eff481d2983$var$se(t, r, r + o);\n } catch (t) {\n throw $bcc01eff481d2983$var$Qe(e, t), t;\n }\n $bcc01eff481d2983$var$Oe(e, n, 0, o);\n}\nfunction $bcc01eff481d2983$var$ke(e, t) {\n t.bytesFilled > 0 && $bcc01eff481d2983$var$Be(e, t.buffer, t.byteOffset, t.bytesFilled), $bcc01eff481d2983$var$$e(e);\n}\nfunction $bcc01eff481d2983$var$je(e, t) {\n const r = Math.min(e._queueTotalSize, t.byteLength - t.bytesFilled), o = t.bytesFilled + r;\n let n = r, a = !1;\n const i = o - o % t.elementSize;\n i >= t.minimumFill && (n = i - t.bytesFilled, a = !0);\n const l = e._queue;\n for(; n > 0;){\n const r = l.peek(), o = Math.min(n, r.byteLength), a = t.byteOffset + t.bytesFilled;\n $bcc01eff481d2983$var$ae(t.buffer, a, r.buffer, r.byteOffset, o), r.byteLength === o ? l.shift() : (r.byteOffset += o, r.byteLength -= o), e._queueTotalSize -= o, $bcc01eff481d2983$var$Ae(e, o, t), n -= o;\n }\n return a;\n}\nfunction $bcc01eff481d2983$var$Ae(e, t, r) {\n r.bytesFilled += t;\n}\nfunction $bcc01eff481d2983$var$ze(e) {\n 0 === e._queueTotalSize && e._closeRequested ? ($bcc01eff481d2983$var$Me(e), $bcc01eff481d2983$var$Br(e._controlledReadableByteStream)) : $bcc01eff481d2983$var$Pe(e);\n}\nfunction $bcc01eff481d2983$var$De(e) {\n null !== e._byobRequest && (e._byobRequest._associatedReadableByteStreamController = void 0, e._byobRequest._view = null, e._byobRequest = null);\n}\nfunction $bcc01eff481d2983$var$Le(e) {\n for(; e._pendingPullIntos.length > 0;){\n if (0 === e._queueTotalSize) return;\n const t = e._pendingPullIntos.peek();\n $bcc01eff481d2983$var$je(e, t) && ($bcc01eff481d2983$var$$e(e), $bcc01eff481d2983$var$Ee(e._controlledReadableByteStream, t));\n }\n}\nfunction $bcc01eff481d2983$var$Fe(e, t, r, o) {\n const n = e._controlledReadableByteStream, a = t.constructor, i = function(e) {\n return $bcc01eff481d2983$var$Re(e) ? 1 : e.BYTES_PER_ELEMENT;\n }(a), { byteOffset: l, byteLength: s } = t, u = r * i;\n let c;\n try {\n c = $bcc01eff481d2983$var$ie(t.buffer);\n } catch (e) {\n return void o._errorSteps(e);\n }\n const d = {\n buffer: c,\n bufferByteLength: c.byteLength,\n byteOffset: l,\n byteLength: s,\n bytesFilled: 0,\n minimumFill: u,\n elementSize: i,\n viewConstructor: a,\n readerType: \"byob\"\n };\n if (e._pendingPullIntos.length > 0) return e._pendingPullIntos.push(d), void $bcc01eff481d2983$var$tt(n, o);\n if (\"closed\" !== n._state) {\n if (e._queueTotalSize > 0) {\n if ($bcc01eff481d2983$var$je(e, d)) {\n const t = $bcc01eff481d2983$var$We(d);\n return $bcc01eff481d2983$var$ze(e), void o._chunkSteps(t);\n }\n if (e._closeRequested) {\n const t = new TypeError(\"Insufficient bytes to fill elements in the given buffer\");\n return $bcc01eff481d2983$var$Qe(e, t), void o._errorSteps(t);\n }\n }\n e._pendingPullIntos.push(d), $bcc01eff481d2983$var$tt(n, o), $bcc01eff481d2983$var$Pe(e);\n } else {\n const e = new a(d.buffer, d.byteOffset, 0);\n o._closeSteps(e);\n }\n}\nfunction $bcc01eff481d2983$var$Ie(e, t) {\n const r = e._pendingPullIntos.peek();\n $bcc01eff481d2983$var$De(e);\n \"closed\" === e._controlledReadableByteStream._state ? function(e, t) {\n \"none\" === t.readerType && $bcc01eff481d2983$var$$e(e);\n const r = e._controlledReadableByteStream;\n if ($bcc01eff481d2983$var$ot(r)) for(; $bcc01eff481d2983$var$rt(r) > 0;)$bcc01eff481d2983$var$Ee(r, $bcc01eff481d2983$var$$e(e));\n }(e, r) : function(e, t, r) {\n if ($bcc01eff481d2983$var$Ae(0, t, r), \"none\" === r.readerType) return $bcc01eff481d2983$var$ke(e, r), void $bcc01eff481d2983$var$Le(e);\n if (r.bytesFilled < r.minimumFill) return;\n $bcc01eff481d2983$var$$e(e);\n const o = r.bytesFilled % r.elementSize;\n if (o > 0) {\n const t = r.byteOffset + r.bytesFilled;\n $bcc01eff481d2983$var$Be(e, r.buffer, t - o, o);\n }\n r.bytesFilled -= o, $bcc01eff481d2983$var$Ee(e._controlledReadableByteStream, r), $bcc01eff481d2983$var$Le(e);\n }(e, t, r), $bcc01eff481d2983$var$Pe(e);\n}\nfunction $bcc01eff481d2983$var$$e(e) {\n return e._pendingPullIntos.shift();\n}\nfunction $bcc01eff481d2983$var$Me(e) {\n e._pullAlgorithm = void 0, e._cancelAlgorithm = void 0;\n}\nfunction $bcc01eff481d2983$var$Ye(e) {\n const t = e._controlledReadableByteStream;\n if (!e._closeRequested && \"readable\" === t._state) {\n if (e._queueTotalSize > 0) e._closeRequested = !0;\n else {\n if (e._pendingPullIntos.length > 0) {\n const t = e._pendingPullIntos.peek();\n if (t.bytesFilled % t.elementSize != 0) {\n const t = new TypeError(\"Insufficient bytes to fill elements in the given buffer\");\n throw $bcc01eff481d2983$var$Qe(e, t), t;\n }\n }\n $bcc01eff481d2983$var$Me(e), $bcc01eff481d2983$var$Br(t);\n }\n }\n}\nfunction $bcc01eff481d2983$var$xe(e, t) {\n const r = e._controlledReadableByteStream;\n if (e._closeRequested || \"readable\" !== r._state) return;\n const { buffer: o, byteOffset: n, byteLength: a } = t;\n if ($bcc01eff481d2983$var$le(o)) throw new TypeError(\"chunk's buffer is detached and so cannot be enqueued\");\n const i = $bcc01eff481d2983$var$ie(o);\n if (e._pendingPullIntos.length > 0) {\n const t = e._pendingPullIntos.peek();\n if ($bcc01eff481d2983$var$le(t.buffer)) throw new TypeError(\"The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk\");\n $bcc01eff481d2983$var$De(e), t.buffer = $bcc01eff481d2983$var$ie(t.buffer), \"none\" === t.readerType && $bcc01eff481d2983$var$ke(e, t);\n }\n if ($bcc01eff481d2983$var$X(r)) {\n if (function(e) {\n const t = e._controlledReadableByteStream._reader;\n for(; t._readRequests.length > 0;){\n if (0 === e._queueTotalSize) return;\n $bcc01eff481d2983$var$Ne(e, t._readRequests.shift());\n }\n }(e), 0 === $bcc01eff481d2983$var$G(r)) $bcc01eff481d2983$var$Oe(e, i, n, a);\n else {\n e._pendingPullIntos.length > 0 && $bcc01eff481d2983$var$$e(e);\n $bcc01eff481d2983$var$U(r, new Uint8Array(i, n, a), !1);\n }\n } else $bcc01eff481d2983$var$ot(r) ? ($bcc01eff481d2983$var$Oe(e, i, n, a), $bcc01eff481d2983$var$Le(e)) : $bcc01eff481d2983$var$Oe(e, i, n, a);\n $bcc01eff481d2983$var$Pe(e);\n}\nfunction $bcc01eff481d2983$var$Qe(e, t) {\n const r = e._controlledReadableByteStream;\n \"readable\" === r._state && ($bcc01eff481d2983$var$qe(e), $bcc01eff481d2983$var$we(e), $bcc01eff481d2983$var$Me(e), $bcc01eff481d2983$var$kr(r, t));\n}\nfunction $bcc01eff481d2983$var$Ne(e, t) {\n const r = e._queue.shift();\n e._queueTotalSize -= r.byteLength, $bcc01eff481d2983$var$ze(e);\n const o = new Uint8Array(r.buffer, r.byteOffset, r.byteLength);\n t._chunkSteps(o);\n}\nfunction $bcc01eff481d2983$var$He(e) {\n if (null === e._byobRequest && e._pendingPullIntos.length > 0) {\n const t = e._pendingPullIntos.peek(), r = new Uint8Array(t.buffer, t.byteOffset + t.bytesFilled, t.byteLength - t.bytesFilled), o = Object.create($bcc01eff481d2983$export$fbcf11583158d2c.prototype);\n !function(e, t, r) {\n e._associatedReadableByteStreamController = t, e._view = r;\n }(o, e, r), e._byobRequest = o;\n }\n return e._byobRequest;\n}\nfunction $bcc01eff481d2983$var$Ve(e) {\n const t = e._controlledReadableByteStream._state;\n return \"errored\" === t ? null : \"closed\" === t ? 0 : e._strategyHWM - e._queueTotalSize;\n}\nfunction $bcc01eff481d2983$var$Ue(e, t) {\n const r = e._pendingPullIntos.peek();\n if (\"closed\" === e._controlledReadableByteStream._state) {\n if (0 !== t) throw new TypeError(\"bytesWritten must be 0 when calling respond() on a closed stream\");\n } else {\n if (0 === t) throw new TypeError(\"bytesWritten must be greater than 0 when calling respond() on a readable stream\");\n if (r.bytesFilled + t > r.byteLength) throw new RangeError(\"bytesWritten out of range\");\n }\n r.buffer = $bcc01eff481d2983$var$ie(r.buffer), $bcc01eff481d2983$var$Ie(e, t);\n}\nfunction $bcc01eff481d2983$var$Ge(e, t) {\n const r = e._pendingPullIntos.peek();\n if (\"closed\" === e._controlledReadableByteStream._state) {\n if (0 !== t.byteLength) throw new TypeError(\"The view's length must be 0 when calling respondWithNewView() on a closed stream\");\n } else if (0 === t.byteLength) throw new TypeError(\"The view's length must be greater than 0 when calling respondWithNewView() on a readable stream\");\n if (r.byteOffset + r.bytesFilled !== t.byteOffset) throw new RangeError(\"The region specified by view does not match byobRequest\");\n if (r.bufferByteLength !== t.buffer.byteLength) throw new RangeError(\"The buffer of view has different capacity than byobRequest\");\n if (r.bytesFilled + t.byteLength > r.byteLength) throw new RangeError(\"The region specified by view is larger than byobRequest\");\n const o = t.byteLength;\n r.buffer = $bcc01eff481d2983$var$ie(t.buffer), $bcc01eff481d2983$var$Ie(e, o);\n}\nfunction $bcc01eff481d2983$var$Xe(e, t, r, o, n, a, i) {\n t._controlledReadableByteStream = e, t._pullAgain = !1, t._pulling = !1, t._byobRequest = null, t._queue = t._queueTotalSize = void 0, $bcc01eff481d2983$var$we(t), t._closeRequested = !1, t._started = !1, t._strategyHWM = a, t._pullAlgorithm = o, t._cancelAlgorithm = n, t._autoAllocateChunkSize = i, t._pendingPullIntos = new $bcc01eff481d2983$var$v, e._readableStreamController = t;\n $bcc01eff481d2983$var$b($bcc01eff481d2983$var$c(r()), ()=>(t._started = !0, $bcc01eff481d2983$var$Pe(t), null), (e)=>($bcc01eff481d2983$var$Qe(t, e), null));\n}\nfunction $bcc01eff481d2983$var$Je(e) {\n return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`);\n}\nfunction $bcc01eff481d2983$var$Ke(e) {\n return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`);\n}\nfunction $bcc01eff481d2983$var$Ze(e, t) {\n if (\"byob\" !== (e = `${e}`)) throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);\n return e;\n}\nfunction $bcc01eff481d2983$var$et(e) {\n return new $bcc01eff481d2983$export$20068a30393fcc28(e);\n}\nfunction $bcc01eff481d2983$var$tt(e, t) {\n e._reader._readIntoRequests.push(t);\n}\nfunction $bcc01eff481d2983$var$rt(e) {\n return e._reader._readIntoRequests.length;\n}\nfunction $bcc01eff481d2983$var$ot(e) {\n const t = e._reader;\n return void 0 !== t && !!$bcc01eff481d2983$var$nt(t);\n}\nObject.defineProperties($bcc01eff481d2983$export$2047cf34091e94ac.prototype, {\n close: {\n enumerable: !0\n },\n enqueue: {\n enumerable: !0\n },\n error: {\n enumerable: !0\n },\n byobRequest: {\n enumerable: !0\n },\n desiredSize: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$2047cf34091e94ac.prototype.close, \"close\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$2047cf34091e94ac.prototype.enqueue, \"enqueue\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$2047cf34091e94ac.prototype.error, \"error\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$2047cf34091e94ac.prototype, Symbol.toStringTag, {\n value: \"ReadableByteStreamController\",\n configurable: !0\n});\nclass $bcc01eff481d2983$export$20068a30393fcc28 {\n constructor(e){\n if ($bcc01eff481d2983$var$$(e, 1, \"ReadableStreamBYOBReader\"), $bcc01eff481d2983$var$N(e, \"First parameter\"), $bcc01eff481d2983$var$Wr(e)) throw new TypeError(\"This stream has already been locked for exclusive reading by another reader\");\n if (!$bcc01eff481d2983$var$Te(e._readableStreamController)) throw new TypeError(\"Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source\");\n $bcc01eff481d2983$var$q(this, e), this._readIntoRequests = new $bcc01eff481d2983$var$v;\n }\n get closed() {\n return $bcc01eff481d2983$var$nt(this) ? this._closedPromise : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$lt(\"closed\"));\n }\n cancel(e) {\n return $bcc01eff481d2983$var$nt(this) ? void 0 === this._ownerReadableStream ? $bcc01eff481d2983$var$d($bcc01eff481d2983$var$O(\"cancel\")) : $bcc01eff481d2983$var$E(this, e) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$lt(\"cancel\"));\n }\n read(e, t = {}) {\n if (!$bcc01eff481d2983$var$nt(this)) return $bcc01eff481d2983$var$d($bcc01eff481d2983$var$lt(\"read\"));\n if (!ArrayBuffer.isView(e)) return $bcc01eff481d2983$var$d(new TypeError(\"view must be an array buffer view\"));\n if (0 === e.byteLength) return $bcc01eff481d2983$var$d(new TypeError(\"view must have non-zero byteLength\"));\n if (0 === e.buffer.byteLength) return $bcc01eff481d2983$var$d(new TypeError(\"view's buffer must have non-zero byteLength\"));\n if ($bcc01eff481d2983$var$le(e.buffer)) return $bcc01eff481d2983$var$d(new TypeError(\"view's buffer has been detached\"));\n let r;\n try {\n r = function(e, t) {\n var r;\n return $bcc01eff481d2983$var$L(e, t), {\n min: $bcc01eff481d2983$var$Q(null !== (r = null == e ? void 0 : e.min) && void 0 !== r ? r : 1, `${t} has member 'min' that`)\n };\n }(t, \"options\");\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n const o = r.min;\n if (0 === o) return $bcc01eff481d2983$var$d(new TypeError(\"options.min must be greater than 0\"));\n if (function(e) {\n return $bcc01eff481d2983$var$Re(e.constructor);\n }(e)) {\n if (o > e.byteLength) return $bcc01eff481d2983$var$d(new RangeError(\"options.min must be less than or equal to view's byteLength\"));\n } else if (o > e.length) return $bcc01eff481d2983$var$d(new RangeError(\"options.min must be less than or equal to view's length\"));\n if (void 0 === this._ownerReadableStream) return $bcc01eff481d2983$var$d($bcc01eff481d2983$var$O(\"read from\"));\n let n, a;\n const i = $bcc01eff481d2983$var$u((e, t)=>{\n n = e, a = t;\n });\n return $bcc01eff481d2983$var$at(this, e, o, {\n _chunkSteps: (e)=>n({\n value: e,\n done: !1\n }),\n _closeSteps: (e)=>n({\n value: e,\n done: !0\n }),\n _errorSteps: (e)=>a(e)\n }), i;\n }\n releaseLock() {\n if (!$bcc01eff481d2983$var$nt(this)) throw $bcc01eff481d2983$var$lt(\"releaseLock\");\n void 0 !== this._ownerReadableStream && function(e) {\n $bcc01eff481d2983$var$W(e);\n const t = new TypeError(\"Reader was released\");\n $bcc01eff481d2983$var$it(e, t);\n }(this);\n }\n}\nfunction $bcc01eff481d2983$var$nt(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_readIntoRequests\") && e instanceof $bcc01eff481d2983$export$20068a30393fcc28;\n}\nfunction $bcc01eff481d2983$var$at(e, t, r, o) {\n const n = e._ownerReadableStream;\n n._disturbed = !0, \"errored\" === n._state ? o._errorSteps(n._storedError) : $bcc01eff481d2983$var$Fe(n._readableStreamController, t, r, o);\n}\nfunction $bcc01eff481d2983$var$it(e, t) {\n const r = e._readIntoRequests;\n e._readIntoRequests = new $bcc01eff481d2983$var$v, r.forEach((e)=>{\n e._errorSteps(t);\n });\n}\nfunction $bcc01eff481d2983$var$lt(e) {\n return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`);\n}\nfunction $bcc01eff481d2983$var$st(e, t) {\n const { highWaterMark: r } = e;\n if (void 0 === r) return t;\n if ($bcc01eff481d2983$var$ye(r) || r < 0) throw new RangeError(\"Invalid highWaterMark\");\n return r;\n}\nfunction $bcc01eff481d2983$var$ut(e) {\n const { size: t } = e;\n return t || (()=>1);\n}\nfunction $bcc01eff481d2983$var$ct(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.highWaterMark, o = null == e ? void 0 : e.size;\n return {\n highWaterMark: void 0 === r ? void 0 : $bcc01eff481d2983$var$Y(r),\n size: void 0 === o ? void 0 : $bcc01eff481d2983$var$dt(o, `${t} has member 'size' that`)\n };\n}\nfunction $bcc01eff481d2983$var$dt(e, t) {\n return $bcc01eff481d2983$var$F(e, t), (t)=>$bcc01eff481d2983$var$Y(e(t));\n}\nfunction $bcc01eff481d2983$var$ft(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$g(e, t, [\n r\n ]);\n}\nfunction $bcc01eff481d2983$var$bt(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), ()=>$bcc01eff481d2983$var$g(e, t, []);\n}\nfunction $bcc01eff481d2983$var$ht(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$S(e, t, [\n r\n ]);\n}\nfunction $bcc01eff481d2983$var$mt(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r, o)=>$bcc01eff481d2983$var$g(e, t, [\n r,\n o\n ]);\n}\nfunction $bcc01eff481d2983$var$_t(e, t) {\n if (!$bcc01eff481d2983$var$gt(e)) throw new TypeError(`${t} is not a WritableStream.`);\n}\nObject.defineProperties($bcc01eff481d2983$export$20068a30393fcc28.prototype, {\n cancel: {\n enumerable: !0\n },\n read: {\n enumerable: !0\n },\n releaseLock: {\n enumerable: !0\n },\n closed: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$20068a30393fcc28.prototype.cancel, \"cancel\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$20068a30393fcc28.prototype.read, \"read\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$20068a30393fcc28.prototype.releaseLock, \"releaseLock\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$20068a30393fcc28.prototype, Symbol.toStringTag, {\n value: \"ReadableStreamBYOBReader\",\n configurable: !0\n});\nconst $bcc01eff481d2983$var$pt = \"function\" == typeof AbortController;\nclass $bcc01eff481d2983$export$826849241f7970f8 {\n constructor(e = {}, t = {}){\n void 0 === e ? e = null : $bcc01eff481d2983$var$I(e, \"First parameter\");\n const r = $bcc01eff481d2983$var$ct(t, \"Second parameter\"), o = function(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.abort, o = null == e ? void 0 : e.close, n = null == e ? void 0 : e.start, a = null == e ? void 0 : e.type, i = null == e ? void 0 : e.write;\n return {\n abort: void 0 === r ? void 0 : $bcc01eff481d2983$var$ft(r, e, `${t} has member 'abort' that`),\n close: void 0 === o ? void 0 : $bcc01eff481d2983$var$bt(o, e, `${t} has member 'close' that`),\n start: void 0 === n ? void 0 : $bcc01eff481d2983$var$ht(n, e, `${t} has member 'start' that`),\n write: void 0 === i ? void 0 : $bcc01eff481d2983$var$mt(i, e, `${t} has member 'write' that`),\n type: a\n };\n }(e, \"First parameter\");\n $bcc01eff481d2983$var$St(this);\n if (void 0 !== o.type) throw new RangeError(\"Invalid type is specified\");\n const n = $bcc01eff481d2983$var$ut(r);\n !function(e, t, r, o) {\n const n = Object.create($bcc01eff481d2983$export$9e6890cb9a51c7c2.prototype);\n let a, i, l, s;\n a = void 0 !== t.start ? ()=>t.start(n) : ()=>{};\n i = void 0 !== t.write ? (e)=>t.write(e, n) : ()=>$bcc01eff481d2983$var$c(void 0);\n l = void 0 !== t.close ? ()=>t.close() : ()=>$bcc01eff481d2983$var$c(void 0);\n s = void 0 !== t.abort ? (e)=>t.abort(e) : ()=>$bcc01eff481d2983$var$c(void 0);\n $bcc01eff481d2983$var$Ft(e, n, a, i, l, s, r, o);\n }(this, o, $bcc01eff481d2983$var$st(r, 1), n);\n }\n get locked() {\n if (!$bcc01eff481d2983$var$gt(this)) throw $bcc01eff481d2983$var$Nt(\"locked\");\n return $bcc01eff481d2983$var$vt(this);\n }\n abort(e) {\n return $bcc01eff481d2983$var$gt(this) ? $bcc01eff481d2983$var$vt(this) ? $bcc01eff481d2983$var$d(new TypeError(\"Cannot abort a stream that already has a writer\")) : $bcc01eff481d2983$var$wt(this, e) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Nt(\"abort\"));\n }\n close() {\n return $bcc01eff481d2983$var$gt(this) ? $bcc01eff481d2983$var$vt(this) ? $bcc01eff481d2983$var$d(new TypeError(\"Cannot close a stream that already has a writer\")) : $bcc01eff481d2983$var$qt(this) ? $bcc01eff481d2983$var$d(new TypeError(\"Cannot close an already-closing stream\")) : $bcc01eff481d2983$var$Rt(this) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Nt(\"close\"));\n }\n getWriter() {\n if (!$bcc01eff481d2983$var$gt(this)) throw $bcc01eff481d2983$var$Nt(\"getWriter\");\n return $bcc01eff481d2983$var$yt(this);\n }\n}\nfunction $bcc01eff481d2983$var$yt(e) {\n return new $bcc01eff481d2983$export$9295348f005d6054(e);\n}\nfunction $bcc01eff481d2983$var$St(e) {\n e._state = \"writable\", e._storedError = void 0, e._writer = void 0, e._writableStreamController = void 0, e._writeRequests = new $bcc01eff481d2983$var$v, e._inFlightWriteRequest = void 0, e._closeRequest = void 0, e._inFlightCloseRequest = void 0, e._pendingAbortRequest = void 0, e._backpressure = !1;\n}\nfunction $bcc01eff481d2983$var$gt(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_writableStreamController\") && e instanceof $bcc01eff481d2983$export$826849241f7970f8;\n}\nfunction $bcc01eff481d2983$var$vt(e) {\n return void 0 !== e._writer;\n}\nfunction $bcc01eff481d2983$var$wt(e, t) {\n var r;\n if (\"closed\" === e._state || \"errored\" === e._state) return $bcc01eff481d2983$var$c(void 0);\n e._writableStreamController._abortReason = t, null === (r = e._writableStreamController._abortController) || void 0 === r || r.abort(t);\n const o = e._state;\n if (\"closed\" === o || \"errored\" === o) return $bcc01eff481d2983$var$c(void 0);\n if (void 0 !== e._pendingAbortRequest) return e._pendingAbortRequest._promise;\n let n = !1;\n \"erroring\" === o && (n = !0, t = void 0);\n const a = $bcc01eff481d2983$var$u((r, o)=>{\n e._pendingAbortRequest = {\n _promise: void 0,\n _resolve: r,\n _reject: o,\n _reason: t,\n _wasAlreadyErroring: n\n };\n });\n return e._pendingAbortRequest._promise = a, n || $bcc01eff481d2983$var$Ct(e, t), a;\n}\nfunction $bcc01eff481d2983$var$Rt(e) {\n const t = e._state;\n if (\"closed\" === t || \"errored\" === t) return $bcc01eff481d2983$var$d(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));\n const r = $bcc01eff481d2983$var$u((t, r)=>{\n const o = {\n _resolve: t,\n _reject: r\n };\n e._closeRequest = o;\n }), o = e._writer;\n var n;\n return void 0 !== o && e._backpressure && \"writable\" === t && $bcc01eff481d2983$var$or(o), $bcc01eff481d2983$var$ve(n = e._writableStreamController, $bcc01eff481d2983$var$Dt, 0), $bcc01eff481d2983$var$Mt(n), r;\n}\nfunction $bcc01eff481d2983$var$Tt(e, t) {\n \"writable\" !== e._state ? $bcc01eff481d2983$var$Pt(e) : $bcc01eff481d2983$var$Ct(e, t);\n}\nfunction $bcc01eff481d2983$var$Ct(e, t) {\n const r = e._writableStreamController;\n e._state = \"erroring\", e._storedError = t;\n const o = e._writer;\n void 0 !== o && $bcc01eff481d2983$var$jt(o, t), !function(e) {\n if (void 0 === e._inFlightWriteRequest && void 0 === e._inFlightCloseRequest) return !1;\n return !0;\n }(e) && r._started && $bcc01eff481d2983$var$Pt(e);\n}\nfunction $bcc01eff481d2983$var$Pt(e) {\n e._state = \"errored\", e._writableStreamController[$bcc01eff481d2983$var$R]();\n const t = e._storedError;\n if (e._writeRequests.forEach((e)=>{\n e._reject(t);\n }), e._writeRequests = new $bcc01eff481d2983$var$v, void 0 === e._pendingAbortRequest) return void $bcc01eff481d2983$var$Et(e);\n const r = e._pendingAbortRequest;\n if (e._pendingAbortRequest = void 0, r._wasAlreadyErroring) return r._reject(t), void $bcc01eff481d2983$var$Et(e);\n $bcc01eff481d2983$var$b(e._writableStreamController[$bcc01eff481d2983$var$w](r._reason), ()=>(r._resolve(), $bcc01eff481d2983$var$Et(e), null), (t)=>(r._reject(t), $bcc01eff481d2983$var$Et(e), null));\n}\nfunction $bcc01eff481d2983$var$qt(e) {\n return void 0 !== e._closeRequest || void 0 !== e._inFlightCloseRequest;\n}\nfunction $bcc01eff481d2983$var$Et(e) {\n void 0 !== e._closeRequest && (e._closeRequest._reject(e._storedError), e._closeRequest = void 0);\n const t = e._writer;\n void 0 !== t && $bcc01eff481d2983$var$Jt(t, e._storedError);\n}\nfunction $bcc01eff481d2983$var$Wt(e, t) {\n const r = e._writer;\n void 0 !== r && t !== e._backpressure && (t ? function(e) {\n $bcc01eff481d2983$var$Zt(e);\n }(r) : $bcc01eff481d2983$var$or(r)), e._backpressure = t;\n}\nObject.defineProperties($bcc01eff481d2983$export$826849241f7970f8.prototype, {\n abort: {\n enumerable: !0\n },\n close: {\n enumerable: !0\n },\n getWriter: {\n enumerable: !0\n },\n locked: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$826849241f7970f8.prototype.abort, \"abort\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$826849241f7970f8.prototype.close, \"close\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$826849241f7970f8.prototype.getWriter, \"getWriter\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$826849241f7970f8.prototype, Symbol.toStringTag, {\n value: \"WritableStream\",\n configurable: !0\n});\nclass $bcc01eff481d2983$export$9295348f005d6054 {\n constructor(e){\n if ($bcc01eff481d2983$var$$(e, 1, \"WritableStreamDefaultWriter\"), $bcc01eff481d2983$var$_t(e, \"First parameter\"), $bcc01eff481d2983$var$vt(e)) throw new TypeError(\"This stream has already been locked for exclusive writing by another writer\");\n this._ownerWritableStream = e, e._writer = this;\n const t = e._state;\n if (\"writable\" === t) !$bcc01eff481d2983$var$qt(e) && e._backpressure ? $bcc01eff481d2983$var$Zt(this) : $bcc01eff481d2983$var$tr(this), $bcc01eff481d2983$var$Gt(this);\n else if (\"erroring\" === t) $bcc01eff481d2983$var$er(this, e._storedError), $bcc01eff481d2983$var$Gt(this);\n else if (\"closed\" === t) $bcc01eff481d2983$var$tr(this), $bcc01eff481d2983$var$Gt(r = this), $bcc01eff481d2983$var$Kt(r);\n else {\n const t = e._storedError;\n $bcc01eff481d2983$var$er(this, t), $bcc01eff481d2983$var$Xt(this, t);\n }\n var r;\n }\n get closed() {\n return $bcc01eff481d2983$var$Ot(this) ? this._closedPromise : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Vt(\"closed\"));\n }\n get desiredSize() {\n if (!$bcc01eff481d2983$var$Ot(this)) throw $bcc01eff481d2983$var$Vt(\"desiredSize\");\n if (void 0 === this._ownerWritableStream) throw $bcc01eff481d2983$var$Ut(\"desiredSize\");\n return function(e) {\n const t = e._ownerWritableStream, r = t._state;\n if (\"errored\" === r || \"erroring\" === r) return null;\n if (\"closed\" === r) return 0;\n return $bcc01eff481d2983$var$$t(t._writableStreamController);\n }(this);\n }\n get ready() {\n return $bcc01eff481d2983$var$Ot(this) ? this._readyPromise : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Vt(\"ready\"));\n }\n abort(e) {\n return $bcc01eff481d2983$var$Ot(this) ? void 0 === this._ownerWritableStream ? $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Ut(\"abort\")) : function(e, t) {\n return $bcc01eff481d2983$var$wt(e._ownerWritableStream, t);\n }(this, e) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Vt(\"abort\"));\n }\n close() {\n if (!$bcc01eff481d2983$var$Ot(this)) return $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Vt(\"close\"));\n const e = this._ownerWritableStream;\n return void 0 === e ? $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Ut(\"close\")) : $bcc01eff481d2983$var$qt(e) ? $bcc01eff481d2983$var$d(new TypeError(\"Cannot close an already-closing stream\")) : $bcc01eff481d2983$var$Bt(this);\n }\n releaseLock() {\n if (!$bcc01eff481d2983$var$Ot(this)) throw $bcc01eff481d2983$var$Vt(\"releaseLock\");\n void 0 !== this._ownerWritableStream && $bcc01eff481d2983$var$At(this);\n }\n write(e) {\n return $bcc01eff481d2983$var$Ot(this) ? void 0 === this._ownerWritableStream ? $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Ut(\"write to\")) : $bcc01eff481d2983$var$zt(this, e) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Vt(\"write\"));\n }\n}\nfunction $bcc01eff481d2983$var$Ot(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_ownerWritableStream\") && e instanceof $bcc01eff481d2983$export$9295348f005d6054;\n}\nfunction $bcc01eff481d2983$var$Bt(e) {\n return $bcc01eff481d2983$var$Rt(e._ownerWritableStream);\n}\nfunction $bcc01eff481d2983$var$kt(e, t) {\n \"pending\" === e._closedPromiseState ? $bcc01eff481d2983$var$Jt(e, t) : function(e, t) {\n $bcc01eff481d2983$var$Xt(e, t);\n }(e, t);\n}\nfunction $bcc01eff481d2983$var$jt(e, t) {\n \"pending\" === e._readyPromiseState ? $bcc01eff481d2983$var$rr(e, t) : function(e, t) {\n $bcc01eff481d2983$var$er(e, t);\n }(e, t);\n}\nfunction $bcc01eff481d2983$var$At(e) {\n const t = e._ownerWritableStream, r = new TypeError(\"Writer was released and can no longer be used to monitor the stream's closedness\");\n $bcc01eff481d2983$var$jt(e, r), $bcc01eff481d2983$var$kt(e, r), t._writer = void 0, e._ownerWritableStream = void 0;\n}\nfunction $bcc01eff481d2983$var$zt(e, t) {\n const r = e._ownerWritableStream, o = r._writableStreamController, n = function(e, t) {\n try {\n return e._strategySizeAlgorithm(t);\n } catch (t) {\n return $bcc01eff481d2983$var$Yt(e, t), 1;\n }\n }(o, t);\n if (r !== e._ownerWritableStream) return $bcc01eff481d2983$var$d($bcc01eff481d2983$var$Ut(\"write to\"));\n const a = r._state;\n if (\"errored\" === a) return $bcc01eff481d2983$var$d(r._storedError);\n if ($bcc01eff481d2983$var$qt(r) || \"closed\" === a) return $bcc01eff481d2983$var$d(new TypeError(\"The stream is closing or closed and cannot be written to\"));\n if (\"erroring\" === a) return $bcc01eff481d2983$var$d(r._storedError);\n const i = function(e) {\n return $bcc01eff481d2983$var$u((t, r)=>{\n const o = {\n _resolve: t,\n _reject: r\n };\n e._writeRequests.push(o);\n });\n }(r);\n return function(e, t, r) {\n try {\n $bcc01eff481d2983$var$ve(e, t, r);\n } catch (t) {\n return void $bcc01eff481d2983$var$Yt(e, t);\n }\n const o = e._controlledWritableStream;\n if (!$bcc01eff481d2983$var$qt(o) && \"writable\" === o._state) $bcc01eff481d2983$var$Wt(o, $bcc01eff481d2983$var$xt(e));\n $bcc01eff481d2983$var$Mt(e);\n }(o, t, n), i;\n}\nObject.defineProperties($bcc01eff481d2983$export$9295348f005d6054.prototype, {\n abort: {\n enumerable: !0\n },\n close: {\n enumerable: !0\n },\n releaseLock: {\n enumerable: !0\n },\n write: {\n enumerable: !0\n },\n closed: {\n enumerable: !0\n },\n desiredSize: {\n enumerable: !0\n },\n ready: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$9295348f005d6054.prototype.abort, \"abort\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$9295348f005d6054.prototype.close, \"close\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$9295348f005d6054.prototype.releaseLock, \"releaseLock\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$9295348f005d6054.prototype.write, \"write\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$9295348f005d6054.prototype, Symbol.toStringTag, {\n value: \"WritableStreamDefaultWriter\",\n configurable: !0\n});\nconst $bcc01eff481d2983$var$Dt = {};\nclass $bcc01eff481d2983$export$9e6890cb9a51c7c2 {\n constructor(){\n throw new TypeError(\"Illegal constructor\");\n }\n get abortReason() {\n if (!$bcc01eff481d2983$var$Lt(this)) throw $bcc01eff481d2983$var$Ht(\"abortReason\");\n return this._abortReason;\n }\n get signal() {\n if (!$bcc01eff481d2983$var$Lt(this)) throw $bcc01eff481d2983$var$Ht(\"signal\");\n if (void 0 === this._abortController) throw new TypeError(\"WritableStreamDefaultController.prototype.signal is not supported\");\n return this._abortController.signal;\n }\n error(e) {\n if (!$bcc01eff481d2983$var$Lt(this)) throw $bcc01eff481d2983$var$Ht(\"error\");\n \"writable\" === this._controlledWritableStream._state && $bcc01eff481d2983$var$Qt(this, e);\n }\n [$bcc01eff481d2983$var$w](e) {\n const t = this._abortAlgorithm(e);\n return $bcc01eff481d2983$var$It(this), t;\n }\n [$bcc01eff481d2983$var$R]() {\n $bcc01eff481d2983$var$we(this);\n }\n}\nfunction $bcc01eff481d2983$var$Lt(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_controlledWritableStream\") && e instanceof $bcc01eff481d2983$export$9e6890cb9a51c7c2;\n}\nfunction $bcc01eff481d2983$var$Ft(e, t, r, o, n, a, i, l) {\n t._controlledWritableStream = e, e._writableStreamController = t, t._queue = void 0, t._queueTotalSize = void 0, $bcc01eff481d2983$var$we(t), t._abortReason = void 0, t._abortController = function() {\n if ($bcc01eff481d2983$var$pt) return new AbortController;\n }(), t._started = !1, t._strategySizeAlgorithm = l, t._strategyHWM = i, t._writeAlgorithm = o, t._closeAlgorithm = n, t._abortAlgorithm = a;\n const s = $bcc01eff481d2983$var$xt(t);\n $bcc01eff481d2983$var$Wt(e, s);\n $bcc01eff481d2983$var$b($bcc01eff481d2983$var$c(r()), ()=>(t._started = !0, $bcc01eff481d2983$var$Mt(t), null), (r)=>(t._started = !0, $bcc01eff481d2983$var$Tt(e, r), null));\n}\nfunction $bcc01eff481d2983$var$It(e) {\n e._writeAlgorithm = void 0, e._closeAlgorithm = void 0, e._abortAlgorithm = void 0, e._strategySizeAlgorithm = void 0;\n}\nfunction $bcc01eff481d2983$var$$t(e) {\n return e._strategyHWM - e._queueTotalSize;\n}\nfunction $bcc01eff481d2983$var$Mt(e) {\n const t = e._controlledWritableStream;\n if (!e._started) return;\n if (void 0 !== t._inFlightWriteRequest) return;\n if (\"erroring\" === t._state) return void $bcc01eff481d2983$var$Pt(t);\n if (0 === e._queue.length) return;\n const r = e._queue.peek().value;\n r === $bcc01eff481d2983$var$Dt ? function(e) {\n const t = e._controlledWritableStream;\n (function(e) {\n e._inFlightCloseRequest = e._closeRequest, e._closeRequest = void 0;\n })(t), $bcc01eff481d2983$var$ge(e);\n const r = e._closeAlgorithm();\n $bcc01eff481d2983$var$It(e), $bcc01eff481d2983$var$b(r, ()=>((function(e) {\n e._inFlightCloseRequest._resolve(void 0), e._inFlightCloseRequest = void 0, \"erroring\" === e._state && (e._storedError = void 0, void 0 !== e._pendingAbortRequest && (e._pendingAbortRequest._resolve(), e._pendingAbortRequest = void 0)), e._state = \"closed\";\n const t = e._writer;\n void 0 !== t && $bcc01eff481d2983$var$Kt(t);\n })(t), null), (e)=>((function(e, t) {\n e._inFlightCloseRequest._reject(t), e._inFlightCloseRequest = void 0, void 0 !== e._pendingAbortRequest && (e._pendingAbortRequest._reject(t), e._pendingAbortRequest = void 0), $bcc01eff481d2983$var$Tt(e, t);\n })(t, e), null));\n }(e) : function(e, t) {\n const r = e._controlledWritableStream;\n !function(e) {\n e._inFlightWriteRequest = e._writeRequests.shift();\n }(r);\n const o = e._writeAlgorithm(t);\n $bcc01eff481d2983$var$b(o, ()=>{\n !function(e) {\n e._inFlightWriteRequest._resolve(void 0), e._inFlightWriteRequest = void 0;\n }(r);\n const t = r._state;\n if ($bcc01eff481d2983$var$ge(e), !$bcc01eff481d2983$var$qt(r) && \"writable\" === t) {\n const t = $bcc01eff481d2983$var$xt(e);\n $bcc01eff481d2983$var$Wt(r, t);\n }\n return $bcc01eff481d2983$var$Mt(e), null;\n }, (t)=>(\"writable\" === r._state && $bcc01eff481d2983$var$It(e), function(e, t) {\n e._inFlightWriteRequest._reject(t), e._inFlightWriteRequest = void 0, $bcc01eff481d2983$var$Tt(e, t);\n }(r, t), null));\n }(e, r);\n}\nfunction $bcc01eff481d2983$var$Yt(e, t) {\n \"writable\" === e._controlledWritableStream._state && $bcc01eff481d2983$var$Qt(e, t);\n}\nfunction $bcc01eff481d2983$var$xt(e) {\n return $bcc01eff481d2983$var$$t(e) <= 0;\n}\nfunction $bcc01eff481d2983$var$Qt(e, t) {\n const r = e._controlledWritableStream;\n $bcc01eff481d2983$var$It(e), $bcc01eff481d2983$var$Ct(r, t);\n}\nfunction $bcc01eff481d2983$var$Nt(e) {\n return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`);\n}\nfunction $bcc01eff481d2983$var$Ht(e) {\n return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`);\n}\nfunction $bcc01eff481d2983$var$Vt(e) {\n return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`);\n}\nfunction $bcc01eff481d2983$var$Ut(e) {\n return new TypeError(\"Cannot \" + e + \" a stream using a released writer\");\n}\nfunction $bcc01eff481d2983$var$Gt(e) {\n e._closedPromise = $bcc01eff481d2983$var$u((t, r)=>{\n e._closedPromise_resolve = t, e._closedPromise_reject = r, e._closedPromiseState = \"pending\";\n });\n}\nfunction $bcc01eff481d2983$var$Xt(e, t) {\n $bcc01eff481d2983$var$Gt(e), $bcc01eff481d2983$var$Jt(e, t);\n}\nfunction $bcc01eff481d2983$var$Jt(e, t) {\n void 0 !== e._closedPromise_reject && ($bcc01eff481d2983$var$p(e._closedPromise), e._closedPromise_reject(t), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = \"rejected\");\n}\nfunction $bcc01eff481d2983$var$Kt(e) {\n void 0 !== e._closedPromise_resolve && (e._closedPromise_resolve(void 0), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = \"resolved\");\n}\nfunction $bcc01eff481d2983$var$Zt(e) {\n e._readyPromise = $bcc01eff481d2983$var$u((t, r)=>{\n e._readyPromise_resolve = t, e._readyPromise_reject = r;\n }), e._readyPromiseState = \"pending\";\n}\nfunction $bcc01eff481d2983$var$er(e, t) {\n $bcc01eff481d2983$var$Zt(e), $bcc01eff481d2983$var$rr(e, t);\n}\nfunction $bcc01eff481d2983$var$tr(e) {\n $bcc01eff481d2983$var$Zt(e), $bcc01eff481d2983$var$or(e);\n}\nfunction $bcc01eff481d2983$var$rr(e, t) {\n void 0 !== e._readyPromise_reject && ($bcc01eff481d2983$var$p(e._readyPromise), e._readyPromise_reject(t), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = \"rejected\");\n}\nfunction $bcc01eff481d2983$var$or(e) {\n void 0 !== e._readyPromise_resolve && (e._readyPromise_resolve(void 0), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = \"fulfilled\");\n}\nObject.defineProperties($bcc01eff481d2983$export$9e6890cb9a51c7c2.prototype, {\n abortReason: {\n enumerable: !0\n },\n signal: {\n enumerable: !0\n },\n error: {\n enumerable: !0\n }\n}), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$9e6890cb9a51c7c2.prototype, Symbol.toStringTag, {\n value: \"WritableStreamDefaultController\",\n configurable: !0\n});\nconst $bcc01eff481d2983$var$nr = \"undefined\" != typeof globalThis ? globalThis : \"undefined\" != typeof self ? self : \"undefined\" != typeof $parcel$global ? $parcel$global : void 0;\nconst $bcc01eff481d2983$var$ar = function() {\n const e = null == $bcc01eff481d2983$var$nr ? void 0 : $bcc01eff481d2983$var$nr.DOMException;\n return function(e) {\n if (\"function\" != typeof e && \"object\" != typeof e) return !1;\n if (\"DOMException\" !== e.name) return !1;\n try {\n return new e, !0;\n } catch (e) {\n return !1;\n }\n }(e) ? e : void 0;\n}() || function() {\n const e = function(e, t) {\n this.message = e || \"\", this.name = t || \"Error\", Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);\n };\n return $bcc01eff481d2983$var$o(e, \"DOMException\"), e.prototype = Object.create(Error.prototype), Object.defineProperty(e.prototype, \"constructor\", {\n value: e,\n writable: !0,\n configurable: !0\n }), e;\n}();\nfunction $bcc01eff481d2983$var$ir(t, r, o, n, a, i) {\n const l = $bcc01eff481d2983$var$H(t), s = $bcc01eff481d2983$var$yt(r);\n t._disturbed = !0;\n let _ = !1, y = $bcc01eff481d2983$var$c(void 0);\n return $bcc01eff481d2983$var$u((S, g)=>{\n let v;\n if (void 0 !== i) {\n if (v = ()=>{\n const e = void 0 !== i.reason ? i.reason : new $bcc01eff481d2983$var$ar(\"Aborted\", \"AbortError\"), o = [];\n n || o.push(()=>\"writable\" === r._state ? $bcc01eff481d2983$var$wt(r, e) : $bcc01eff481d2983$var$c(void 0)), a || o.push(()=>\"readable\" === t._state ? $bcc01eff481d2983$var$Or(t, e) : $bcc01eff481d2983$var$c(void 0)), q(()=>Promise.all(o.map((e)=>e())), !0, e);\n }, i.aborted) return void v();\n i.addEventListener(\"abort\", v);\n }\n var w, R, T;\n if (P(t, l._closedPromise, (e)=>(n ? E(!0, e) : q(()=>$bcc01eff481d2983$var$wt(r, e), !0, e), null)), P(r, s._closedPromise, (e)=>(a ? E(!0, e) : q(()=>$bcc01eff481d2983$var$Or(t, e), !0, e), null)), w = t, R = l._closedPromise, T = ()=>(o ? E() : q(()=>(function(e) {\n const t = e._ownerWritableStream, r = t._state;\n return $bcc01eff481d2983$var$qt(t) || \"closed\" === r ? $bcc01eff481d2983$var$c(void 0) : \"errored\" === r ? $bcc01eff481d2983$var$d(t._storedError) : $bcc01eff481d2983$var$Bt(e);\n })(s)), null), \"closed\" === w._state ? T() : $bcc01eff481d2983$var$h(R, T), $bcc01eff481d2983$var$qt(r) || \"closed\" === r._state) {\n const e = new TypeError(\"the destination writable stream closed before all data could be piped to it\");\n a ? E(!0, e) : q(()=>$bcc01eff481d2983$var$Or(t, e), !0, e);\n }\n function C() {\n const e = y;\n return $bcc01eff481d2983$var$f(y, ()=>e !== y ? C() : void 0);\n }\n function P(e, t, r) {\n \"errored\" === e._state ? r(e._storedError) : $bcc01eff481d2983$var$m(t, r);\n }\n function q(e, t, o) {\n function n() {\n return $bcc01eff481d2983$var$b(e(), ()=>O(t, o), (e)=>O(!0, e)), null;\n }\n _ || (_ = !0, \"writable\" !== r._state || $bcc01eff481d2983$var$qt(r) ? n() : $bcc01eff481d2983$var$h(C(), n));\n }\n function E(e, t) {\n _ || (_ = !0, \"writable\" !== r._state || $bcc01eff481d2983$var$qt(r) ? O(e, t) : $bcc01eff481d2983$var$h(C(), ()=>O(e, t)));\n }\n function O(e, t) {\n return $bcc01eff481d2983$var$At(s), $bcc01eff481d2983$var$W(l), void 0 !== i && i.removeEventListener(\"abort\", v), e ? g(t) : S(void 0), null;\n }\n $bcc01eff481d2983$var$p($bcc01eff481d2983$var$u((t, r)=>{\n !function o(n) {\n n ? t() : $bcc01eff481d2983$var$f(_ ? $bcc01eff481d2983$var$c(!0) : $bcc01eff481d2983$var$f(s._readyPromise, ()=>$bcc01eff481d2983$var$u((t, r)=>{\n $bcc01eff481d2983$var$K(l, {\n _chunkSteps: (r)=>{\n y = $bcc01eff481d2983$var$f($bcc01eff481d2983$var$zt(s, r), void 0, $bcc01eff481d2983$var$e), t(!1);\n },\n _closeSteps: ()=>t(!0),\n _errorSteps: r\n });\n })), o, r);\n }(!1);\n }));\n });\n}\nclass $bcc01eff481d2983$export$b0bb6d0989d67700 {\n constructor(){\n throw new TypeError(\"Illegal constructor\");\n }\n get desiredSize() {\n if (!$bcc01eff481d2983$var$lr(this)) throw $bcc01eff481d2983$var$pr(\"desiredSize\");\n return $bcc01eff481d2983$var$hr(this);\n }\n close() {\n if (!$bcc01eff481d2983$var$lr(this)) throw $bcc01eff481d2983$var$pr(\"close\");\n if (!$bcc01eff481d2983$var$mr(this)) throw new TypeError(\"The stream is not in a state that permits close\");\n $bcc01eff481d2983$var$dr(this);\n }\n enqueue(e) {\n if (!$bcc01eff481d2983$var$lr(this)) throw $bcc01eff481d2983$var$pr(\"enqueue\");\n if (!$bcc01eff481d2983$var$mr(this)) throw new TypeError(\"The stream is not in a state that permits enqueue\");\n return $bcc01eff481d2983$var$fr(this, e);\n }\n error(e) {\n if (!$bcc01eff481d2983$var$lr(this)) throw $bcc01eff481d2983$var$pr(\"error\");\n $bcc01eff481d2983$var$br(this, e);\n }\n [$bcc01eff481d2983$var$T](e) {\n $bcc01eff481d2983$var$we(this);\n const t = this._cancelAlgorithm(e);\n return $bcc01eff481d2983$var$cr(this), t;\n }\n [$bcc01eff481d2983$var$C](e) {\n const t = this._controlledReadableStream;\n if (this._queue.length > 0) {\n const r = $bcc01eff481d2983$var$ge(this);\n this._closeRequested && 0 === this._queue.length ? ($bcc01eff481d2983$var$cr(this), $bcc01eff481d2983$var$Br(t)) : $bcc01eff481d2983$var$sr(this), e._chunkSteps(r);\n } else $bcc01eff481d2983$var$V(t, e), $bcc01eff481d2983$var$sr(this);\n }\n [$bcc01eff481d2983$var$P]() {}\n}\nfunction $bcc01eff481d2983$var$lr(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_controlledReadableStream\") && e instanceof $bcc01eff481d2983$export$b0bb6d0989d67700;\n}\nfunction $bcc01eff481d2983$var$sr(e) {\n if (!$bcc01eff481d2983$var$ur(e)) return;\n if (e._pulling) return void (e._pullAgain = !0);\n e._pulling = !0;\n $bcc01eff481d2983$var$b(e._pullAlgorithm(), ()=>(e._pulling = !1, e._pullAgain && (e._pullAgain = !1, $bcc01eff481d2983$var$sr(e)), null), (t)=>($bcc01eff481d2983$var$br(e, t), null));\n}\nfunction $bcc01eff481d2983$var$ur(e) {\n const t = e._controlledReadableStream;\n if (!$bcc01eff481d2983$var$mr(e)) return !1;\n if (!e._started) return !1;\n if ($bcc01eff481d2983$var$Wr(t) && $bcc01eff481d2983$var$G(t) > 0) return !0;\n return $bcc01eff481d2983$var$hr(e) > 0;\n}\nfunction $bcc01eff481d2983$var$cr(e) {\n e._pullAlgorithm = void 0, e._cancelAlgorithm = void 0, e._strategySizeAlgorithm = void 0;\n}\nfunction $bcc01eff481d2983$var$dr(e) {\n if (!$bcc01eff481d2983$var$mr(e)) return;\n const t = e._controlledReadableStream;\n e._closeRequested = !0, 0 === e._queue.length && ($bcc01eff481d2983$var$cr(e), $bcc01eff481d2983$var$Br(t));\n}\nfunction $bcc01eff481d2983$var$fr(e, t) {\n if (!$bcc01eff481d2983$var$mr(e)) return;\n const r = e._controlledReadableStream;\n if ($bcc01eff481d2983$var$Wr(r) && $bcc01eff481d2983$var$G(r) > 0) $bcc01eff481d2983$var$U(r, t, !1);\n else {\n let r;\n try {\n r = e._strategySizeAlgorithm(t);\n } catch (t) {\n throw $bcc01eff481d2983$var$br(e, t), t;\n }\n try {\n $bcc01eff481d2983$var$ve(e, t, r);\n } catch (t) {\n throw $bcc01eff481d2983$var$br(e, t), t;\n }\n }\n $bcc01eff481d2983$var$sr(e);\n}\nfunction $bcc01eff481d2983$var$br(e, t) {\n const r = e._controlledReadableStream;\n \"readable\" === r._state && ($bcc01eff481d2983$var$we(e), $bcc01eff481d2983$var$cr(e), $bcc01eff481d2983$var$kr(r, t));\n}\nfunction $bcc01eff481d2983$var$hr(e) {\n const t = e._controlledReadableStream._state;\n return \"errored\" === t ? null : \"closed\" === t ? 0 : e._strategyHWM - e._queueTotalSize;\n}\nfunction $bcc01eff481d2983$var$mr(e) {\n const t = e._controlledReadableStream._state;\n return !e._closeRequested && \"readable\" === t;\n}\nfunction $bcc01eff481d2983$var$_r(e, t, r, o, n, a, i) {\n t._controlledReadableStream = e, t._queue = void 0, t._queueTotalSize = void 0, $bcc01eff481d2983$var$we(t), t._started = !1, t._closeRequested = !1, t._pullAgain = !1, t._pulling = !1, t._strategySizeAlgorithm = i, t._strategyHWM = a, t._pullAlgorithm = o, t._cancelAlgorithm = n, e._readableStreamController = t;\n $bcc01eff481d2983$var$b($bcc01eff481d2983$var$c(r()), ()=>(t._started = !0, $bcc01eff481d2983$var$sr(t), null), (e)=>($bcc01eff481d2983$var$br(t, e), null));\n}\nfunction $bcc01eff481d2983$var$pr(e) {\n return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`);\n}\nfunction $bcc01eff481d2983$var$yr(e, t) {\n return $bcc01eff481d2983$var$Te(e._readableStreamController) ? function(e) {\n let t, r, o, n, a, i = $bcc01eff481d2983$var$H(e), l = !1, s = !1, d = !1, f = !1, b = !1;\n const h = $bcc01eff481d2983$var$u((e)=>{\n a = e;\n });\n function _(e) {\n $bcc01eff481d2983$var$m(e._closedPromise, (t)=>(e !== i || ($bcc01eff481d2983$var$Qe(o._readableStreamController, t), $bcc01eff481d2983$var$Qe(n._readableStreamController, t), f && b || a(void 0)), null));\n }\n function p() {\n $bcc01eff481d2983$var$nt(i) && ($bcc01eff481d2983$var$W(i), i = $bcc01eff481d2983$var$H(e), _(i));\n $bcc01eff481d2983$var$K(i, {\n _chunkSteps: (t)=>{\n $bcc01eff481d2983$var$y(()=>{\n s = !1, d = !1;\n const r = t;\n let i = t;\n if (!f && !b) try {\n i = $bcc01eff481d2983$var$Se(t);\n } catch (t) {\n return $bcc01eff481d2983$var$Qe(o._readableStreamController, t), $bcc01eff481d2983$var$Qe(n._readableStreamController, t), void a($bcc01eff481d2983$var$Or(e, t));\n }\n f || $bcc01eff481d2983$var$xe(o._readableStreamController, r), b || $bcc01eff481d2983$var$xe(n._readableStreamController, i), l = !1, s ? g() : d && v();\n });\n },\n _closeSteps: ()=>{\n l = !1, f || $bcc01eff481d2983$var$Ye(o._readableStreamController), b || $bcc01eff481d2983$var$Ye(n._readableStreamController), o._readableStreamController._pendingPullIntos.length > 0 && $bcc01eff481d2983$var$Ue(o._readableStreamController, 0), n._readableStreamController._pendingPullIntos.length > 0 && $bcc01eff481d2983$var$Ue(n._readableStreamController, 0), f && b || a(void 0);\n },\n _errorSteps: ()=>{\n l = !1;\n }\n });\n }\n function S(t, r) {\n $bcc01eff481d2983$var$J(i) && ($bcc01eff481d2983$var$W(i), i = $bcc01eff481d2983$var$et(e), _(i));\n const u = r ? n : o, c = r ? o : n;\n $bcc01eff481d2983$var$at(i, t, 1, {\n _chunkSteps: (t)=>{\n $bcc01eff481d2983$var$y(()=>{\n s = !1, d = !1;\n const o = r ? b : f;\n if (r ? f : b) o || $bcc01eff481d2983$var$Ge(u._readableStreamController, t);\n else {\n let r;\n try {\n r = $bcc01eff481d2983$var$Se(t);\n } catch (t) {\n return $bcc01eff481d2983$var$Qe(u._readableStreamController, t), $bcc01eff481d2983$var$Qe(c._readableStreamController, t), void a($bcc01eff481d2983$var$Or(e, t));\n }\n o || $bcc01eff481d2983$var$Ge(u._readableStreamController, t), $bcc01eff481d2983$var$xe(c._readableStreamController, r);\n }\n l = !1, s ? g() : d && v();\n });\n },\n _closeSteps: (e)=>{\n l = !1;\n const t = r ? b : f, o = r ? f : b;\n t || $bcc01eff481d2983$var$Ye(u._readableStreamController), o || $bcc01eff481d2983$var$Ye(c._readableStreamController), void 0 !== e && (t || $bcc01eff481d2983$var$Ge(u._readableStreamController, e), !o && c._readableStreamController._pendingPullIntos.length > 0 && $bcc01eff481d2983$var$Ue(c._readableStreamController, 0)), t && o || a(void 0);\n },\n _errorSteps: ()=>{\n l = !1;\n }\n });\n }\n function g() {\n if (l) return s = !0, $bcc01eff481d2983$var$c(void 0);\n l = !0;\n const e = $bcc01eff481d2983$var$He(o._readableStreamController);\n return null === e ? p() : S(e._view, !1), $bcc01eff481d2983$var$c(void 0);\n }\n function v() {\n if (l) return d = !0, $bcc01eff481d2983$var$c(void 0);\n l = !0;\n const e = $bcc01eff481d2983$var$He(n._readableStreamController);\n return null === e ? p() : S(e._view, !0), $bcc01eff481d2983$var$c(void 0);\n }\n function w(o) {\n if (f = !0, t = o, b) {\n const o = $bcc01eff481d2983$var$ne([\n t,\n r\n ]), n = $bcc01eff481d2983$var$Or(e, o);\n a(n);\n }\n return h;\n }\n function R(o) {\n if (b = !0, r = o, f) {\n const o = $bcc01eff481d2983$var$ne([\n t,\n r\n ]), n = $bcc01eff481d2983$var$Or(e, o);\n a(n);\n }\n return h;\n }\n function T() {}\n return o = $bcc01eff481d2983$var$Pr(T, g, w), n = $bcc01eff481d2983$var$Pr(T, v, R), _(i), [\n o,\n n\n ];\n }(e) : function(e, t) {\n const r = $bcc01eff481d2983$var$H(e);\n let o, n, a, i, l, s = !1, d = !1, f = !1, b = !1;\n const h = $bcc01eff481d2983$var$u((e)=>{\n l = e;\n });\n function _() {\n if (s) return d = !0, $bcc01eff481d2983$var$c(void 0);\n s = !0;\n return $bcc01eff481d2983$var$K(r, {\n _chunkSteps: (e)=>{\n $bcc01eff481d2983$var$y(()=>{\n d = !1;\n const t = e, r = e;\n f || $bcc01eff481d2983$var$fr(a._readableStreamController, t), b || $bcc01eff481d2983$var$fr(i._readableStreamController, r), s = !1, d && _();\n });\n },\n _closeSteps: ()=>{\n s = !1, f || $bcc01eff481d2983$var$dr(a._readableStreamController), b || $bcc01eff481d2983$var$dr(i._readableStreamController), f && b || l(void 0);\n },\n _errorSteps: ()=>{\n s = !1;\n }\n }), $bcc01eff481d2983$var$c(void 0);\n }\n function p(t) {\n if (f = !0, o = t, b) {\n const t = $bcc01eff481d2983$var$ne([\n o,\n n\n ]), r = $bcc01eff481d2983$var$Or(e, t);\n l(r);\n }\n return h;\n }\n function S(t) {\n if (b = !0, n = t, f) {\n const t = $bcc01eff481d2983$var$ne([\n o,\n n\n ]), r = $bcc01eff481d2983$var$Or(e, t);\n l(r);\n }\n return h;\n }\n function g() {}\n return a = $bcc01eff481d2983$var$Cr(g, _, p), i = $bcc01eff481d2983$var$Cr(g, _, S), $bcc01eff481d2983$var$m(r._closedPromise, (e)=>($bcc01eff481d2983$var$br(a._readableStreamController, e), $bcc01eff481d2983$var$br(i._readableStreamController, e), f && b || l(void 0), null)), [\n a,\n i\n ];\n }(e);\n}\nfunction $bcc01eff481d2983$var$Sr(r) {\n var o;\n return $bcc01eff481d2983$var$t(o = r) && void 0 !== o.getReader ? function(r) {\n let o;\n function n() {\n let e;\n try {\n e = r.read();\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n return $bcc01eff481d2983$var$_(e, (e)=>{\n if (!$bcc01eff481d2983$var$t(e)) throw new TypeError(\"The promise returned by the reader.read() method must fulfill with an object\");\n if (e.done) $bcc01eff481d2983$var$dr(o._readableStreamController);\n else {\n const t = e.value;\n $bcc01eff481d2983$var$fr(o._readableStreamController, t);\n }\n });\n }\n function a(e) {\n try {\n return $bcc01eff481d2983$var$c(r.cancel(e));\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n }\n return o = $bcc01eff481d2983$var$Cr($bcc01eff481d2983$var$e, n, a, 0), o;\n }(r.getReader()) : function(r) {\n let o;\n const n = $bcc01eff481d2983$var$fe(r, \"async\");\n function a() {\n let e;\n try {\n e = $bcc01eff481d2983$var$be(n);\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n return $bcc01eff481d2983$var$_($bcc01eff481d2983$var$c(e), (e)=>{\n if (!$bcc01eff481d2983$var$t(e)) throw new TypeError(\"The promise returned by the iterator.next() method must fulfill with an object\");\n if (e.done) $bcc01eff481d2983$var$dr(o._readableStreamController);\n else {\n const t = e.value;\n $bcc01eff481d2983$var$fr(o._readableStreamController, t);\n }\n });\n }\n function i(e) {\n const r = n.iterator;\n let o;\n try {\n o = $bcc01eff481d2983$var$ue(r, \"return\");\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n if (void 0 === o) return $bcc01eff481d2983$var$c(void 0);\n return $bcc01eff481d2983$var$_($bcc01eff481d2983$var$g(o, r, [\n e\n ]), (e)=>{\n if (!$bcc01eff481d2983$var$t(e)) throw new TypeError(\"The promise returned by the iterator.return() method must fulfill with an object\");\n });\n }\n return o = $bcc01eff481d2983$var$Cr($bcc01eff481d2983$var$e, a, i, 0), o;\n }(r);\n}\nfunction $bcc01eff481d2983$var$gr(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$g(e, t, [\n r\n ]);\n}\nfunction $bcc01eff481d2983$var$vr(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$g(e, t, [\n r\n ]);\n}\nfunction $bcc01eff481d2983$var$wr(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$S(e, t, [\n r\n ]);\n}\nfunction $bcc01eff481d2983$var$Rr(e, t) {\n if (\"bytes\" !== (e = `${e}`)) throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);\n return e;\n}\nfunction $bcc01eff481d2983$var$Tr(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.preventAbort, o = null == e ? void 0 : e.preventCancel, n = null == e ? void 0 : e.preventClose, a = null == e ? void 0 : e.signal;\n return void 0 !== a && function(e, t) {\n if (!function(e) {\n if (\"object\" != typeof e || null === e) return !1;\n try {\n return \"boolean\" == typeof e.aborted;\n } catch (e) {\n return !1;\n }\n }(e)) throw new TypeError(`${t} is not an AbortSignal.`);\n }(a, `${t} has member 'signal' that`), {\n preventAbort: Boolean(r),\n preventCancel: Boolean(o),\n preventClose: Boolean(n),\n signal: a\n };\n}\nObject.defineProperties($bcc01eff481d2983$export$b0bb6d0989d67700.prototype, {\n close: {\n enumerable: !0\n },\n enqueue: {\n enumerable: !0\n },\n error: {\n enumerable: !0\n },\n desiredSize: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$b0bb6d0989d67700.prototype.close, \"close\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$b0bb6d0989d67700.prototype.enqueue, \"enqueue\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$b0bb6d0989d67700.prototype.error, \"error\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$b0bb6d0989d67700.prototype, Symbol.toStringTag, {\n value: \"ReadableStreamDefaultController\",\n configurable: !0\n});\nclass $bcc01eff481d2983$export$5d3e1e5268af5f76 {\n constructor(e = {}, t = {}){\n void 0 === e ? e = null : $bcc01eff481d2983$var$I(e, \"First parameter\");\n const r = $bcc01eff481d2983$var$ct(t, \"Second parameter\"), o = function(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = e, o = null == r ? void 0 : r.autoAllocateChunkSize, n = null == r ? void 0 : r.cancel, a = null == r ? void 0 : r.pull, i = null == r ? void 0 : r.start, l = null == r ? void 0 : r.type;\n return {\n autoAllocateChunkSize: void 0 === o ? void 0 : $bcc01eff481d2983$var$Q(o, `${t} has member 'autoAllocateChunkSize' that`),\n cancel: void 0 === n ? void 0 : $bcc01eff481d2983$var$gr(n, r, `${t} has member 'cancel' that`),\n pull: void 0 === a ? void 0 : $bcc01eff481d2983$var$vr(a, r, `${t} has member 'pull' that`),\n start: void 0 === i ? void 0 : $bcc01eff481d2983$var$wr(i, r, `${t} has member 'start' that`),\n type: void 0 === l ? void 0 : $bcc01eff481d2983$var$Rr(l, `${t} has member 'type' that`)\n };\n }(e, \"First parameter\");\n if ($bcc01eff481d2983$var$qr(this), \"bytes\" === o.type) {\n if (void 0 !== r.size) throw new RangeError(\"The strategy for a byte stream cannot have a size function\");\n !function(e, t, r) {\n const o = Object.create($bcc01eff481d2983$export$2047cf34091e94ac.prototype);\n let n, a, i;\n n = void 0 !== t.start ? ()=>t.start(o) : ()=>{}, a = void 0 !== t.pull ? ()=>t.pull(o) : ()=>$bcc01eff481d2983$var$c(void 0), i = void 0 !== t.cancel ? (e)=>t.cancel(e) : ()=>$bcc01eff481d2983$var$c(void 0);\n const l = t.autoAllocateChunkSize;\n if (0 === l) throw new TypeError(\"autoAllocateChunkSize must be greater than 0\");\n $bcc01eff481d2983$var$Xe(e, o, n, a, i, r, l);\n }(this, o, $bcc01eff481d2983$var$st(r, 0));\n } else {\n const e = $bcc01eff481d2983$var$ut(r);\n !function(e, t, r, o) {\n const n = Object.create($bcc01eff481d2983$export$b0bb6d0989d67700.prototype);\n let a, i, l;\n a = void 0 !== t.start ? ()=>t.start(n) : ()=>{}, i = void 0 !== t.pull ? ()=>t.pull(n) : ()=>$bcc01eff481d2983$var$c(void 0), l = void 0 !== t.cancel ? (e)=>t.cancel(e) : ()=>$bcc01eff481d2983$var$c(void 0), $bcc01eff481d2983$var$_r(e, n, a, i, l, r, o);\n }(this, o, $bcc01eff481d2983$var$st(r, 1), e);\n }\n }\n get locked() {\n if (!$bcc01eff481d2983$var$Er(this)) throw $bcc01eff481d2983$var$jr(\"locked\");\n return $bcc01eff481d2983$var$Wr(this);\n }\n cancel(e) {\n return $bcc01eff481d2983$var$Er(this) ? $bcc01eff481d2983$var$Wr(this) ? $bcc01eff481d2983$var$d(new TypeError(\"Cannot cancel a stream that already has a reader\")) : $bcc01eff481d2983$var$Or(this, e) : $bcc01eff481d2983$var$d($bcc01eff481d2983$var$jr(\"cancel\"));\n }\n getReader(e) {\n if (!$bcc01eff481d2983$var$Er(this)) throw $bcc01eff481d2983$var$jr(\"getReader\");\n return void 0 === function(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.mode;\n return {\n mode: void 0 === r ? void 0 : $bcc01eff481d2983$var$Ze(r, `${t} has member 'mode' that`)\n };\n }(e, \"First parameter\").mode ? $bcc01eff481d2983$var$H(this) : $bcc01eff481d2983$var$et(this);\n }\n pipeThrough(e, t = {}) {\n if (!$bcc01eff481d2983$var$Er(this)) throw $bcc01eff481d2983$var$jr(\"pipeThrough\");\n $bcc01eff481d2983$var$$(e, 1, \"pipeThrough\");\n const r = function(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.readable;\n $bcc01eff481d2983$var$M(r, \"readable\", \"ReadableWritablePair\"), $bcc01eff481d2983$var$N(r, `${t} has member 'readable' that`);\n const o = null == e ? void 0 : e.writable;\n return $bcc01eff481d2983$var$M(o, \"writable\", \"ReadableWritablePair\"), $bcc01eff481d2983$var$_t(o, `${t} has member 'writable' that`), {\n readable: r,\n writable: o\n };\n }(e, \"First parameter\"), o = $bcc01eff481d2983$var$Tr(t, \"Second parameter\");\n if ($bcc01eff481d2983$var$Wr(this)) throw new TypeError(\"ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream\");\n if ($bcc01eff481d2983$var$vt(r.writable)) throw new TypeError(\"ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream\");\n return $bcc01eff481d2983$var$p($bcc01eff481d2983$var$ir(this, r.writable, o.preventClose, o.preventAbort, o.preventCancel, o.signal)), r.readable;\n }\n pipeTo(e, t = {}) {\n if (!$bcc01eff481d2983$var$Er(this)) return $bcc01eff481d2983$var$d($bcc01eff481d2983$var$jr(\"pipeTo\"));\n if (void 0 === e) return $bcc01eff481d2983$var$d(\"Parameter 1 is required in 'pipeTo'.\");\n if (!$bcc01eff481d2983$var$gt(e)) return $bcc01eff481d2983$var$d(new TypeError(\"ReadableStream.prototype.pipeTo's first argument must be a WritableStream\"));\n let r;\n try {\n r = $bcc01eff481d2983$var$Tr(t, \"Second parameter\");\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n return $bcc01eff481d2983$var$Wr(this) ? $bcc01eff481d2983$var$d(new TypeError(\"ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream\")) : $bcc01eff481d2983$var$vt(e) ? $bcc01eff481d2983$var$d(new TypeError(\"ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream\")) : $bcc01eff481d2983$var$ir(this, e, r.preventClose, r.preventAbort, r.preventCancel, r.signal);\n }\n tee() {\n if (!$bcc01eff481d2983$var$Er(this)) throw $bcc01eff481d2983$var$jr(\"tee\");\n return $bcc01eff481d2983$var$ne($bcc01eff481d2983$var$yr(this));\n }\n values(e) {\n if (!$bcc01eff481d2983$var$Er(this)) throw $bcc01eff481d2983$var$jr(\"values\");\n return function(e, t) {\n const r = $bcc01eff481d2983$var$H(e), o = new $bcc01eff481d2983$var$he(r, t), n = Object.create($bcc01eff481d2983$var$me);\n return n._asyncIteratorImpl = o, n;\n }(this, function(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.preventCancel;\n return {\n preventCancel: Boolean(r)\n };\n }(e, \"First parameter\").preventCancel);\n }\n [$bcc01eff481d2983$var$de](e) {\n return this.values(e);\n }\n static from(e) {\n return $bcc01eff481d2983$var$Sr(e);\n }\n}\nfunction $bcc01eff481d2983$var$Cr(e, t, r, o = 1, n = ()=>1) {\n const a = Object.create($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype);\n $bcc01eff481d2983$var$qr(a);\n return $bcc01eff481d2983$var$_r(a, Object.create($bcc01eff481d2983$export$b0bb6d0989d67700.prototype), e, t, r, o, n), a;\n}\nfunction $bcc01eff481d2983$var$Pr(e, t, r) {\n const o = Object.create($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype);\n $bcc01eff481d2983$var$qr(o);\n return $bcc01eff481d2983$var$Xe(o, Object.create($bcc01eff481d2983$export$2047cf34091e94ac.prototype), e, t, r, 0, void 0), o;\n}\nfunction $bcc01eff481d2983$var$qr(e) {\n e._state = \"readable\", e._reader = void 0, e._storedError = void 0, e._disturbed = !1;\n}\nfunction $bcc01eff481d2983$var$Er(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_readableStreamController\") && e instanceof $bcc01eff481d2983$export$5d3e1e5268af5f76;\n}\nfunction $bcc01eff481d2983$var$Wr(e) {\n return void 0 !== e._reader;\n}\nfunction $bcc01eff481d2983$var$Or(t, r) {\n if (t._disturbed = !0, \"closed\" === t._state) return $bcc01eff481d2983$var$c(void 0);\n if (\"errored\" === t._state) return $bcc01eff481d2983$var$d(t._storedError);\n $bcc01eff481d2983$var$Br(t);\n const o = t._reader;\n if (void 0 !== o && $bcc01eff481d2983$var$nt(o)) {\n const e = o._readIntoRequests;\n o._readIntoRequests = new $bcc01eff481d2983$var$v, e.forEach((e)=>{\n e._closeSteps(void 0);\n });\n }\n return $bcc01eff481d2983$var$_(t._readableStreamController[$bcc01eff481d2983$var$T](r), $bcc01eff481d2983$var$e);\n}\nfunction $bcc01eff481d2983$var$Br(e) {\n e._state = \"closed\";\n const t = e._reader;\n if (void 0 !== t && ($bcc01eff481d2983$var$A(t), $bcc01eff481d2983$var$J(t))) {\n const e = t._readRequests;\n t._readRequests = new $bcc01eff481d2983$var$v, e.forEach((e)=>{\n e._closeSteps();\n });\n }\n}\nfunction $bcc01eff481d2983$var$kr(e, t) {\n e._state = \"errored\", e._storedError = t;\n const r = e._reader;\n void 0 !== r && ($bcc01eff481d2983$var$j(r, t), $bcc01eff481d2983$var$J(r) ? $bcc01eff481d2983$var$Z(r, t) : $bcc01eff481d2983$var$it(r, t));\n}\nfunction $bcc01eff481d2983$var$jr(e) {\n return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`);\n}\nfunction $bcc01eff481d2983$var$Ar(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.highWaterMark;\n return $bcc01eff481d2983$var$M(r, \"highWaterMark\", \"QueuingStrategyInit\"), {\n highWaterMark: $bcc01eff481d2983$var$Y(r)\n };\n}\nObject.defineProperties($bcc01eff481d2983$export$5d3e1e5268af5f76, {\n from: {\n enumerable: !0\n }\n}), Object.defineProperties($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype, {\n cancel: {\n enumerable: !0\n },\n getReader: {\n enumerable: !0\n },\n pipeThrough: {\n enumerable: !0\n },\n pipeTo: {\n enumerable: !0\n },\n tee: {\n enumerable: !0\n },\n values: {\n enumerable: !0\n },\n locked: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$5d3e1e5268af5f76.from, \"from\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype.cancel, \"cancel\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype.getReader, \"getReader\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype.pipeThrough, \"pipeThrough\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype.pipeTo, \"pipeTo\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype.tee, \"tee\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype.values, \"values\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype, Symbol.toStringTag, {\n value: \"ReadableStream\",\n configurable: !0\n}), Object.defineProperty($bcc01eff481d2983$export$5d3e1e5268af5f76.prototype, $bcc01eff481d2983$var$de, {\n value: $bcc01eff481d2983$export$5d3e1e5268af5f76.prototype.values,\n writable: !0,\n configurable: !0\n});\nconst $bcc01eff481d2983$var$zr = (e)=>e.byteLength;\n$bcc01eff481d2983$var$o($bcc01eff481d2983$var$zr, \"size\");\nclass $bcc01eff481d2983$export$d386b5f37d154119 {\n constructor(e){\n $bcc01eff481d2983$var$$(e, 1, \"ByteLengthQueuingStrategy\"), e = $bcc01eff481d2983$var$Ar(e, \"First parameter\"), this._byteLengthQueuingStrategyHighWaterMark = e.highWaterMark;\n }\n get highWaterMark() {\n if (!$bcc01eff481d2983$var$Lr(this)) throw $bcc01eff481d2983$var$Dr(\"highWaterMark\");\n return this._byteLengthQueuingStrategyHighWaterMark;\n }\n get size() {\n if (!$bcc01eff481d2983$var$Lr(this)) throw $bcc01eff481d2983$var$Dr(\"size\");\n return $bcc01eff481d2983$var$zr;\n }\n}\nfunction $bcc01eff481d2983$var$Dr(e) {\n return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`);\n}\nfunction $bcc01eff481d2983$var$Lr(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_byteLengthQueuingStrategyHighWaterMark\") && e instanceof $bcc01eff481d2983$export$d386b5f37d154119;\n}\nObject.defineProperties($bcc01eff481d2983$export$d386b5f37d154119.prototype, {\n highWaterMark: {\n enumerable: !0\n },\n size: {\n enumerable: !0\n }\n}), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$d386b5f37d154119.prototype, Symbol.toStringTag, {\n value: \"ByteLengthQueuingStrategy\",\n configurable: !0\n});\nconst $bcc01eff481d2983$var$Fr = ()=>1;\n$bcc01eff481d2983$var$o($bcc01eff481d2983$var$Fr, \"size\");\nclass $bcc01eff481d2983$export$9ebfec18c2dfc625 {\n constructor(e){\n $bcc01eff481d2983$var$$(e, 1, \"CountQueuingStrategy\"), e = $bcc01eff481d2983$var$Ar(e, \"First parameter\"), this._countQueuingStrategyHighWaterMark = e.highWaterMark;\n }\n get highWaterMark() {\n if (!$bcc01eff481d2983$var$$r(this)) throw $bcc01eff481d2983$var$Ir(\"highWaterMark\");\n return this._countQueuingStrategyHighWaterMark;\n }\n get size() {\n if (!$bcc01eff481d2983$var$$r(this)) throw $bcc01eff481d2983$var$Ir(\"size\");\n return $bcc01eff481d2983$var$Fr;\n }\n}\nfunction $bcc01eff481d2983$var$Ir(e) {\n return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`);\n}\nfunction $bcc01eff481d2983$var$$r(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_countQueuingStrategyHighWaterMark\") && e instanceof $bcc01eff481d2983$export$9ebfec18c2dfc625;\n}\nfunction $bcc01eff481d2983$var$Mr(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$g(e, t, [\n r\n ]);\n}\nfunction $bcc01eff481d2983$var$Yr(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$S(e, t, [\n r\n ]);\n}\nfunction $bcc01eff481d2983$var$xr(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r, o)=>$bcc01eff481d2983$var$g(e, t, [\n r,\n o\n ]);\n}\nfunction $bcc01eff481d2983$var$Qr(e, t, r) {\n return $bcc01eff481d2983$var$F(e, r), (r)=>$bcc01eff481d2983$var$g(e, t, [\n r\n ]);\n}\nObject.defineProperties($bcc01eff481d2983$export$9ebfec18c2dfc625.prototype, {\n highWaterMark: {\n enumerable: !0\n },\n size: {\n enumerable: !0\n }\n}), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$9ebfec18c2dfc625.prototype, Symbol.toStringTag, {\n value: \"CountQueuingStrategy\",\n configurable: !0\n});\nclass $bcc01eff481d2983$export$d102341634899398 {\n constructor(e = {}, t = {}, r = {}){\n void 0 === e && (e = null);\n const o = $bcc01eff481d2983$var$ct(t, \"Second parameter\"), n = $bcc01eff481d2983$var$ct(r, \"Third parameter\"), a = function(e, t) {\n $bcc01eff481d2983$var$L(e, t);\n const r = null == e ? void 0 : e.cancel, o = null == e ? void 0 : e.flush, n = null == e ? void 0 : e.readableType, a = null == e ? void 0 : e.start, i = null == e ? void 0 : e.transform, l = null == e ? void 0 : e.writableType;\n return {\n cancel: void 0 === r ? void 0 : $bcc01eff481d2983$var$Qr(r, e, `${t} has member 'cancel' that`),\n flush: void 0 === o ? void 0 : $bcc01eff481d2983$var$Mr(o, e, `${t} has member 'flush' that`),\n readableType: n,\n start: void 0 === a ? void 0 : $bcc01eff481d2983$var$Yr(a, e, `${t} has member 'start' that`),\n transform: void 0 === i ? void 0 : $bcc01eff481d2983$var$xr(i, e, `${t} has member 'transform' that`),\n writableType: l\n };\n }(e, \"First parameter\");\n if (void 0 !== a.readableType) throw new RangeError(\"Invalid readableType specified\");\n if (void 0 !== a.writableType) throw new RangeError(\"Invalid writableType specified\");\n const i = $bcc01eff481d2983$var$st(n, 0), l = $bcc01eff481d2983$var$ut(n), s = $bcc01eff481d2983$var$st(o, 1), f = $bcc01eff481d2983$var$ut(o);\n let h;\n !function(e, t, r, o, n, a) {\n function i() {\n return t;\n }\n function l(t) {\n return function(e, t) {\n const r = e._transformStreamController;\n if (e._backpressure) return $bcc01eff481d2983$var$_(e._backpressureChangePromise, ()=>{\n const o = e._writable;\n if (\"erroring\" === o._state) throw o._storedError;\n return $bcc01eff481d2983$var$Zr(r, t);\n });\n return $bcc01eff481d2983$var$Zr(r, t);\n }(e, t);\n }\n function s(t) {\n return function(e, t) {\n const r = e._transformStreamController;\n if (void 0 !== r._finishPromise) return r._finishPromise;\n const o = e._readable;\n r._finishPromise = $bcc01eff481d2983$var$u((e, t)=>{\n r._finishPromise_resolve = e, r._finishPromise_reject = t;\n });\n const n = r._cancelAlgorithm(t);\n return $bcc01eff481d2983$var$Jr(r), $bcc01eff481d2983$var$b(n, ()=>(\"errored\" === o._state ? $bcc01eff481d2983$var$ro(r, o._storedError) : ($bcc01eff481d2983$var$br(o._readableStreamController, t), $bcc01eff481d2983$var$to(r)), null), (e)=>($bcc01eff481d2983$var$br(o._readableStreamController, e), $bcc01eff481d2983$var$ro(r, e), null)), r._finishPromise;\n }(e, t);\n }\n function c() {\n return function(e) {\n const t = e._transformStreamController;\n if (void 0 !== t._finishPromise) return t._finishPromise;\n const r = e._readable;\n t._finishPromise = $bcc01eff481d2983$var$u((e, r)=>{\n t._finishPromise_resolve = e, t._finishPromise_reject = r;\n });\n const o = t._flushAlgorithm();\n return $bcc01eff481d2983$var$Jr(t), $bcc01eff481d2983$var$b(o, ()=>(\"errored\" === r._state ? $bcc01eff481d2983$var$ro(t, r._storedError) : ($bcc01eff481d2983$var$dr(r._readableStreamController), $bcc01eff481d2983$var$to(t)), null), (e)=>($bcc01eff481d2983$var$br(r._readableStreamController, e), $bcc01eff481d2983$var$ro(t, e), null)), t._finishPromise;\n }(e);\n }\n function d() {\n return function(e) {\n return $bcc01eff481d2983$var$Gr(e, !1), e._backpressureChangePromise;\n }(e);\n }\n function f(t) {\n return function(e, t) {\n const r = e._transformStreamController;\n if (void 0 !== r._finishPromise) return r._finishPromise;\n const o = e._writable;\n r._finishPromise = $bcc01eff481d2983$var$u((e, t)=>{\n r._finishPromise_resolve = e, r._finishPromise_reject = t;\n });\n const n = r._cancelAlgorithm(t);\n return $bcc01eff481d2983$var$Jr(r), $bcc01eff481d2983$var$b(n, ()=>(\"errored\" === o._state ? $bcc01eff481d2983$var$ro(r, o._storedError) : ($bcc01eff481d2983$var$Yt(o._writableStreamController, t), $bcc01eff481d2983$var$Ur(e), $bcc01eff481d2983$var$to(r)), null), (t)=>($bcc01eff481d2983$var$Yt(o._writableStreamController, t), $bcc01eff481d2983$var$Ur(e), $bcc01eff481d2983$var$ro(r, t), null)), r._finishPromise;\n }(e, t);\n }\n e._writable = function(e, t, r, o, n = 1, a = ()=>1) {\n const i = Object.create($bcc01eff481d2983$export$826849241f7970f8.prototype);\n return $bcc01eff481d2983$var$St(i), $bcc01eff481d2983$var$Ft(i, Object.create($bcc01eff481d2983$export$9e6890cb9a51c7c2.prototype), e, t, r, o, n, a), i;\n }(i, l, c, s, r, o), e._readable = $bcc01eff481d2983$var$Cr(i, d, f, n, a), e._backpressure = void 0, e._backpressureChangePromise = void 0, e._backpressureChangePromise_resolve = void 0, $bcc01eff481d2983$var$Gr(e, !0), e._transformStreamController = void 0;\n }(this, $bcc01eff481d2983$var$u((e)=>{\n h = e;\n }), s, f, i, l), function(e, t) {\n const r = Object.create($bcc01eff481d2983$export$a55559184460222.prototype);\n let o, n, a;\n o = void 0 !== t.transform ? (e)=>t.transform(e, r) : (e)=>{\n try {\n return $bcc01eff481d2983$var$Kr(r, e), $bcc01eff481d2983$var$c(void 0);\n } catch (e) {\n return $bcc01eff481d2983$var$d(e);\n }\n };\n n = void 0 !== t.flush ? ()=>t.flush(r) : ()=>$bcc01eff481d2983$var$c(void 0);\n a = void 0 !== t.cancel ? (e)=>t.cancel(e) : ()=>$bcc01eff481d2983$var$c(void 0);\n !function(e, t, r, o, n) {\n t._controlledTransformStream = e, e._transformStreamController = t, t._transformAlgorithm = r, t._flushAlgorithm = o, t._cancelAlgorithm = n, t._finishPromise = void 0, t._finishPromise_resolve = void 0, t._finishPromise_reject = void 0;\n }(e, r, o, n, a);\n }(this, a), void 0 !== a.start ? h(a.start(this._transformStreamController)) : h(void 0);\n }\n get readable() {\n if (!$bcc01eff481d2983$var$Nr(this)) throw $bcc01eff481d2983$var$oo(\"readable\");\n return this._readable;\n }\n get writable() {\n if (!$bcc01eff481d2983$var$Nr(this)) throw $bcc01eff481d2983$var$oo(\"writable\");\n return this._writable;\n }\n}\nfunction $bcc01eff481d2983$var$Nr(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_transformStreamController\") && e instanceof $bcc01eff481d2983$export$d102341634899398;\n}\nfunction $bcc01eff481d2983$var$Hr(e, t) {\n $bcc01eff481d2983$var$br(e._readable._readableStreamController, t), $bcc01eff481d2983$var$Vr(e, t);\n}\nfunction $bcc01eff481d2983$var$Vr(e, t) {\n $bcc01eff481d2983$var$Jr(e._transformStreamController), $bcc01eff481d2983$var$Yt(e._writable._writableStreamController, t), $bcc01eff481d2983$var$Ur(e);\n}\nfunction $bcc01eff481d2983$var$Ur(e) {\n e._backpressure && $bcc01eff481d2983$var$Gr(e, !1);\n}\nfunction $bcc01eff481d2983$var$Gr(e, t) {\n void 0 !== e._backpressureChangePromise && e._backpressureChangePromise_resolve(), e._backpressureChangePromise = $bcc01eff481d2983$var$u((t)=>{\n e._backpressureChangePromise_resolve = t;\n }), e._backpressure = t;\n}\nObject.defineProperties($bcc01eff481d2983$export$d102341634899398.prototype, {\n readable: {\n enumerable: !0\n },\n writable: {\n enumerable: !0\n }\n}), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$d102341634899398.prototype, Symbol.toStringTag, {\n value: \"TransformStream\",\n configurable: !0\n});\nclass $bcc01eff481d2983$export$a55559184460222 {\n constructor(){\n throw new TypeError(\"Illegal constructor\");\n }\n get desiredSize() {\n if (!$bcc01eff481d2983$var$Xr(this)) throw $bcc01eff481d2983$var$eo(\"desiredSize\");\n return $bcc01eff481d2983$var$hr(this._controlledTransformStream._readable._readableStreamController);\n }\n enqueue(e) {\n if (!$bcc01eff481d2983$var$Xr(this)) throw $bcc01eff481d2983$var$eo(\"enqueue\");\n $bcc01eff481d2983$var$Kr(this, e);\n }\n error(e) {\n if (!$bcc01eff481d2983$var$Xr(this)) throw $bcc01eff481d2983$var$eo(\"error\");\n var t;\n t = e, $bcc01eff481d2983$var$Hr(this._controlledTransformStream, t);\n }\n terminate() {\n if (!$bcc01eff481d2983$var$Xr(this)) throw $bcc01eff481d2983$var$eo(\"terminate\");\n !function(e) {\n const t = e._controlledTransformStream;\n $bcc01eff481d2983$var$dr(t._readable._readableStreamController);\n const r = new TypeError(\"TransformStream terminated\");\n $bcc01eff481d2983$var$Vr(t, r);\n }(this);\n }\n}\nfunction $bcc01eff481d2983$var$Xr(e) {\n return !!$bcc01eff481d2983$var$t(e) && !!Object.prototype.hasOwnProperty.call(e, \"_controlledTransformStream\") && e instanceof $bcc01eff481d2983$export$a55559184460222;\n}\nfunction $bcc01eff481d2983$var$Jr(e) {\n e._transformAlgorithm = void 0, e._flushAlgorithm = void 0, e._cancelAlgorithm = void 0;\n}\nfunction $bcc01eff481d2983$var$Kr(e, t) {\n const r = e._controlledTransformStream, o = r._readable._readableStreamController;\n if (!$bcc01eff481d2983$var$mr(o)) throw new TypeError(\"Readable side is not in a state that permits enqueue\");\n try {\n $bcc01eff481d2983$var$fr(o, t);\n } catch (e) {\n throw $bcc01eff481d2983$var$Vr(r, e), r._readable._storedError;\n }\n const n = function(e) {\n return !$bcc01eff481d2983$var$ur(e);\n }(o);\n n !== r._backpressure && $bcc01eff481d2983$var$Gr(r, !0);\n}\nfunction $bcc01eff481d2983$var$Zr(e, t) {\n return $bcc01eff481d2983$var$_(e._transformAlgorithm(t), void 0, (t)=>{\n throw $bcc01eff481d2983$var$Hr(e._controlledTransformStream, t), t;\n });\n}\nfunction $bcc01eff481d2983$var$eo(e) {\n return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`);\n}\nfunction $bcc01eff481d2983$var$to(e) {\n void 0 !== e._finishPromise_resolve && (e._finishPromise_resolve(), e._finishPromise_resolve = void 0, e._finishPromise_reject = void 0);\n}\nfunction $bcc01eff481d2983$var$ro(e, t) {\n void 0 !== e._finishPromise_reject && ($bcc01eff481d2983$var$p(e._finishPromise), e._finishPromise_reject(t), e._finishPromise_resolve = void 0, e._finishPromise_reject = void 0);\n}\nfunction $bcc01eff481d2983$var$oo(e) {\n return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`);\n}\nObject.defineProperties($bcc01eff481d2983$export$a55559184460222.prototype, {\n enqueue: {\n enumerable: !0\n },\n error: {\n enumerable: !0\n },\n terminate: {\n enumerable: !0\n },\n desiredSize: {\n enumerable: !0\n }\n}), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$a55559184460222.prototype.enqueue, \"enqueue\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$a55559184460222.prototype.error, \"error\"), $bcc01eff481d2983$var$o($bcc01eff481d2983$export$a55559184460222.prototype.terminate, \"terminate\"), \"symbol\" == typeof Symbol.toStringTag && Object.defineProperty($bcc01eff481d2983$export$a55559184460222.prototype, Symbol.toStringTag, {\n value: \"TransformStreamDefaultController\",\n configurable: !0\n});\n\n});\n\n\nparcelRegister(\"8zzvT\", function(module, exports) {\n\"use strict\";\nlet $63dd23d69960e1dc$var$fastNow = Date.now();\nlet $63dd23d69960e1dc$var$fastNowTimeout;\nconst $63dd23d69960e1dc$var$fastTimers = [];\nfunction $63dd23d69960e1dc$var$onTimeout() {\n $63dd23d69960e1dc$var$fastNow = Date.now();\n let len = $63dd23d69960e1dc$var$fastTimers.length;\n let idx = 0;\n while(idx < len){\n const timer = $63dd23d69960e1dc$var$fastTimers[idx];\n if (timer.state === 0) timer.state = $63dd23d69960e1dc$var$fastNow + timer.delay;\n else if (timer.state > 0 && $63dd23d69960e1dc$var$fastNow >= timer.state) {\n timer.state = -1;\n timer.callback(timer.opaque);\n }\n if (timer.state === -1) {\n timer.state = -2;\n if (idx !== len - 1) $63dd23d69960e1dc$var$fastTimers[idx] = $63dd23d69960e1dc$var$fastTimers.pop();\n else $63dd23d69960e1dc$var$fastTimers.pop();\n len -= 1;\n } else idx += 1;\n }\n if ($63dd23d69960e1dc$var$fastTimers.length > 0) $63dd23d69960e1dc$var$refreshTimeout();\n}\nfunction $63dd23d69960e1dc$var$refreshTimeout() {\n if ($63dd23d69960e1dc$var$fastNowTimeout && $63dd23d69960e1dc$var$fastNowTimeout.refresh) $63dd23d69960e1dc$var$fastNowTimeout.refresh();\n else {\n clearTimeout($63dd23d69960e1dc$var$fastNowTimeout);\n $63dd23d69960e1dc$var$fastNowTimeout = setTimeout($63dd23d69960e1dc$var$onTimeout, 1e3);\n if ($63dd23d69960e1dc$var$fastNowTimeout.unref) $63dd23d69960e1dc$var$fastNowTimeout.unref();\n }\n}\nclass $63dd23d69960e1dc$var$Timeout {\n constructor(callback, delay, opaque){\n this.callback = callback;\n this.delay = delay;\n this.opaque = opaque;\n // -2 not in timer list\n // -1 in timer list but inactive\n // 0 in timer list waiting for time\n // > 0 in timer list waiting for time to expire\n this.state = -2;\n this.refresh();\n }\n refresh() {\n if (this.state === -2) {\n $63dd23d69960e1dc$var$fastTimers.push(this);\n if (!$63dd23d69960e1dc$var$fastNowTimeout || $63dd23d69960e1dc$var$fastTimers.length === 1) $63dd23d69960e1dc$var$refreshTimeout();\n }\n this.state = 0;\n }\n clear() {\n this.state = -1;\n }\n}\nmodule.exports = {\n setTimeout (callback, delay, opaque) {\n return delay < 1e3 ? setTimeout(callback, delay, opaque) : new $63dd23d69960e1dc$var$Timeout(callback, delay, opaque);\n },\n clearTimeout (timeout) {\n if (timeout instanceof $63dd23d69960e1dc$var$Timeout) timeout.clear();\n else clearTimeout(timeout);\n }\n};\n\n});\n\nparcelRegister(\"8XvZr\", function(module, exports) {\n\"use strict\";\n\nvar $eCuXV = parcelRequire(\"eCuXV\");\nvar $685ca5f0c3acb14f$require$InvalidArgumentError = $eCuXV.InvalidArgumentError;\nvar $685ca5f0c3acb14f$require$NotSupportedError = $eCuXV.NotSupportedError;\n\n\nvar $heqcE = parcelRequire(\"heqcE\");\nvar $685ca5f0c3acb14f$require$kHTTP2BuildRequest = $heqcE.kHTTP2BuildRequest;\nvar $685ca5f0c3acb14f$require$kHTTP2CopyHeaders = $heqcE.kHTTP2CopyHeaders;\nvar $685ca5f0c3acb14f$require$kHTTP1BuildRequest = $heqcE.kHTTP1BuildRequest;\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\n// tokenRegExp and headerCharRegex have been lifted from\n// https://github.com/nodejs/node/blob/main/lib/_http_common.js\n/**\n * Verifies that the given val is a valid HTTP token\n * per the rules defined in RFC 7230\n * See https://tools.ietf.org/html/rfc7230#section-3.2.6\n */ const $685ca5f0c3acb14f$var$tokenRegExp = /^[\\^_`a-zA-Z\\-0-9!#$%&'*+.|~]+$/;\n/**\n * Matches if val contains an invalid field-vchar\n * field-value = *( field-content / obs-fold )\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n */ const $685ca5f0c3acb14f$var$headerCharRegex = /[^\\t\\x20-\\x7e\\x80-\\xff]/;\n// Verifies that a given path is valid does not contain control chars \\x00 to \\x20\nconst $685ca5f0c3acb14f$var$invalidPathRegex = /[^\\u0021-\\u00ff]/;\nconst $685ca5f0c3acb14f$var$kHandler = Symbol(\"handler\");\nconst $685ca5f0c3acb14f$var$channels = {};\nlet $685ca5f0c3acb14f$var$extractBody;\n\ntry {\n const diagnosticsChannel = (parcelRequire(\"dfobN\"));\n $685ca5f0c3acb14f$var$channels.create = diagnosticsChannel.channel(\"undici:request:create\");\n $685ca5f0c3acb14f$var$channels.bodySent = diagnosticsChannel.channel(\"undici:request:bodySent\");\n $685ca5f0c3acb14f$var$channels.headers = diagnosticsChannel.channel(\"undici:request:headers\");\n $685ca5f0c3acb14f$var$channels.trailers = diagnosticsChannel.channel(\"undici:request:trailers\");\n $685ca5f0c3acb14f$var$channels.error = diagnosticsChannel.channel(\"undici:request:error\");\n} catch {\n $685ca5f0c3acb14f$var$channels.create = {\n hasSubscribers: false\n };\n $685ca5f0c3acb14f$var$channels.bodySent = {\n hasSubscribers: false\n };\n $685ca5f0c3acb14f$var$channels.headers = {\n hasSubscribers: false\n };\n $685ca5f0c3acb14f$var$channels.trailers = {\n hasSubscribers: false\n };\n $685ca5f0c3acb14f$var$channels.error = {\n hasSubscribers: false\n };\n}\n\nclass $685ca5f0c3acb14f$var$Request {\n constructor(origin, { path: path, method: method, body: body, headers: headers, query: query, idempotent: idempotent, blocking: blocking, upgrade: upgrade, headersTimeout: headersTimeout, bodyTimeout: bodyTimeout, reset: reset, throwOnError: throwOnError, expectContinue: expectContinue }, handler){\n if (typeof path !== \"string\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"path must be a string\");\n else if (path[0] !== \"/\" && !(path.startsWith(\"http://\") || path.startsWith(\"https://\")) && method !== \"CONNECT\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"path must be an absolute URL or start with a slash\");\n else if ($685ca5f0c3acb14f$var$invalidPathRegex.exec(path) !== null) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid request path\");\n if (typeof method !== \"string\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"method must be a string\");\n else if ($685ca5f0c3acb14f$var$tokenRegExp.exec(method) === null) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid request method\");\n if (upgrade && typeof upgrade !== \"string\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"upgrade must be a string\");\n if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid headersTimeout\");\n if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid bodyTimeout\");\n if (reset != null && typeof reset !== \"boolean\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid reset\");\n if (expectContinue != null && typeof expectContinue !== \"boolean\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid expectContinue\");\n this.headersTimeout = headersTimeout;\n this.bodyTimeout = bodyTimeout;\n this.throwOnError = throwOnError === true;\n this.method = method;\n this.abort = null;\n if (body == null) this.body = null;\n else if ($jqWlt.isStream(body)) {\n this.body = body;\n const rState = this.body._readableState;\n if (!rState || !rState.autoDestroy) {\n this.endHandler = function autoDestroy() {\n $jqWlt.destroy(this);\n };\n this.body.on(\"end\", this.endHandler);\n }\n this.errorHandler = (err)=>{\n if (this.abort) this.abort(err);\n else this.error = err;\n };\n this.body.on(\"error\", this.errorHandler);\n } else if ($jqWlt.isBuffer(body)) this.body = body.byteLength ? body : null;\n else if (ArrayBuffer.isView(body)) this.body = body.buffer.byteLength ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : null;\n else if (body instanceof ArrayBuffer) this.body = body.byteLength ? Buffer.from(body) : null;\n else if (typeof body === \"string\") this.body = body.length ? Buffer.from(body) : null;\n else if ($jqWlt.isFormDataLike(body) || $jqWlt.isIterable(body) || $jqWlt.isBlobLike(body)) this.body = body;\n else throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable\");\n this.completed = false;\n this.aborted = false;\n this.upgrade = upgrade || null;\n this.path = query ? $jqWlt.buildURL(path, query) : path;\n this.origin = origin;\n this.idempotent = idempotent == null ? method === \"HEAD\" || method === \"GET\" : idempotent;\n this.blocking = blocking == null ? false : blocking;\n this.reset = reset == null ? null : reset;\n this.host = null;\n this.contentLength = null;\n this.contentType = null;\n this.headers = \"\";\n // Only for H2\n this.expectContinue = expectContinue != null ? expectContinue : false;\n if (Array.isArray(headers)) {\n if (headers.length % 2 !== 0) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"headers array must be even\");\n for(let i = 0; i < headers.length; i += 2)$685ca5f0c3acb14f$var$processHeader(this, headers[i], headers[i + 1]);\n } else if (headers && typeof headers === \"object\") {\n const keys = Object.keys(headers);\n for(let i = 0; i < keys.length; i++){\n const key = keys[i];\n $685ca5f0c3acb14f$var$processHeader(this, key, headers[key]);\n }\n } else if (headers != null) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"headers must be an object or an array\");\n if ($jqWlt.isFormDataLike(this.body)) {\n if ($jqWlt.nodeMajor < 16 || $jqWlt.nodeMajor === 16 && $jqWlt.nodeMinor < 8) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"Form-Data bodies are only supported in node v16.8 and newer.\");\n if (!$685ca5f0c3acb14f$var$extractBody) $685ca5f0c3acb14f$var$extractBody = (parcelRequire(\"8oEYI\")).extractBody;\n const [bodyStream, contentType] = $685ca5f0c3acb14f$var$extractBody(body);\n if (this.contentType == null) {\n this.contentType = contentType;\n this.headers += `content-type: ${contentType}\\r\\n`;\n }\n this.body = bodyStream.stream;\n this.contentLength = bodyStream.length;\n } else if ($jqWlt.isBlobLike(body) && this.contentType == null && body.type) {\n this.contentType = body.type;\n this.headers += `content-type: ${body.type}\\r\\n`;\n }\n $jqWlt.validateHandler(handler, method, upgrade);\n this.servername = $jqWlt.getServerName(this.host);\n this[$685ca5f0c3acb14f$var$kHandler] = handler;\n if ($685ca5f0c3acb14f$var$channels.create.hasSubscribers) $685ca5f0c3acb14f$var$channels.create.publish({\n request: this\n });\n }\n onBodySent(chunk) {\n if (this[$685ca5f0c3acb14f$var$kHandler].onBodySent) try {\n return this[$685ca5f0c3acb14f$var$kHandler].onBodySent(chunk);\n } catch (err) {\n this.abort(err);\n }\n }\n onRequestSent() {\n if ($685ca5f0c3acb14f$var$channels.bodySent.hasSubscribers) $685ca5f0c3acb14f$var$channels.bodySent.publish({\n request: this\n });\n if (this[$685ca5f0c3acb14f$var$kHandler].onRequestSent) try {\n return this[$685ca5f0c3acb14f$var$kHandler].onRequestSent();\n } catch (err) {\n this.abort(err);\n }\n }\n onConnect(abort) {\n $7rf7a$assert(!this.aborted);\n $7rf7a$assert(!this.completed);\n if (this.error) abort(this.error);\n else {\n this.abort = abort;\n return this[$685ca5f0c3acb14f$var$kHandler].onConnect(abort);\n }\n }\n onHeaders(statusCode, headers, resume, statusText) {\n $7rf7a$assert(!this.aborted);\n $7rf7a$assert(!this.completed);\n if ($685ca5f0c3acb14f$var$channels.headers.hasSubscribers) $685ca5f0c3acb14f$var$channels.headers.publish({\n request: this,\n response: {\n statusCode: statusCode,\n headers: headers,\n statusText: statusText\n }\n });\n try {\n return this[$685ca5f0c3acb14f$var$kHandler].onHeaders(statusCode, headers, resume, statusText);\n } catch (err) {\n this.abort(err);\n }\n }\n onData(chunk) {\n $7rf7a$assert(!this.aborted);\n $7rf7a$assert(!this.completed);\n try {\n return this[$685ca5f0c3acb14f$var$kHandler].onData(chunk);\n } catch (err) {\n this.abort(err);\n return false;\n }\n }\n onUpgrade(statusCode, headers, socket) {\n $7rf7a$assert(!this.aborted);\n $7rf7a$assert(!this.completed);\n return this[$685ca5f0c3acb14f$var$kHandler].onUpgrade(statusCode, headers, socket);\n }\n onComplete(trailers) {\n this.onFinally();\n $7rf7a$assert(!this.aborted);\n this.completed = true;\n if ($685ca5f0c3acb14f$var$channels.trailers.hasSubscribers) $685ca5f0c3acb14f$var$channels.trailers.publish({\n request: this,\n trailers: trailers\n });\n try {\n return this[$685ca5f0c3acb14f$var$kHandler].onComplete(trailers);\n } catch (err) {\n // TODO (fix): This might be a bad idea?\n this.onError(err);\n }\n }\n onError(error) {\n this.onFinally();\n if ($685ca5f0c3acb14f$var$channels.error.hasSubscribers) $685ca5f0c3acb14f$var$channels.error.publish({\n request: this,\n error: error\n });\n if (this.aborted) return;\n this.aborted = true;\n return this[$685ca5f0c3acb14f$var$kHandler].onError(error);\n }\n onFinally() {\n if (this.errorHandler) {\n this.body.off(\"error\", this.errorHandler);\n this.errorHandler = null;\n }\n if (this.endHandler) {\n this.body.off(\"end\", this.endHandler);\n this.endHandler = null;\n }\n }\n // TODO: adjust to support H2\n addHeader(key, value) {\n $685ca5f0c3acb14f$var$processHeader(this, key, value);\n return this;\n }\n static [$685ca5f0c3acb14f$require$kHTTP1BuildRequest](origin, opts, handler) {\n // TODO: Migrate header parsing here, to make Requests\n // HTTP agnostic\n return new $685ca5f0c3acb14f$var$Request(origin, opts, handler);\n }\n static [$685ca5f0c3acb14f$require$kHTTP2BuildRequest](origin, opts, handler) {\n const headers = opts.headers;\n opts = {\n ...opts,\n headers: null\n };\n const request = new $685ca5f0c3acb14f$var$Request(origin, opts, handler);\n request.headers = {};\n if (Array.isArray(headers)) {\n if (headers.length % 2 !== 0) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"headers array must be even\");\n for(let i = 0; i < headers.length; i += 2)$685ca5f0c3acb14f$var$processHeader(request, headers[i], headers[i + 1], true);\n } else if (headers && typeof headers === \"object\") {\n const keys = Object.keys(headers);\n for(let i = 0; i < keys.length; i++){\n const key = keys[i];\n $685ca5f0c3acb14f$var$processHeader(request, key, headers[key], true);\n }\n } else if (headers != null) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"headers must be an object or an array\");\n return request;\n }\n static [$685ca5f0c3acb14f$require$kHTTP2CopyHeaders](raw) {\n const rawHeaders = raw.split(\"\\r\\n\");\n const headers = {};\n for (const header of rawHeaders){\n const [key, value] = header.split(\": \");\n if (value == null || value.length === 0) continue;\n if (headers[key]) headers[key] += `,${value}`;\n else headers[key] = value;\n }\n return headers;\n }\n}\nfunction $685ca5f0c3acb14f$var$processHeaderValue(key, val, skipAppend) {\n if (val && typeof val === \"object\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(`invalid ${key} header`);\n val = val != null ? `${val}` : \"\";\n if ($685ca5f0c3acb14f$var$headerCharRegex.exec(val) !== null) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(`invalid ${key} header`);\n return skipAppend ? val : `${key}: ${val}\\r\\n`;\n}\nfunction $685ca5f0c3acb14f$var$processHeader(request, key, val, skipAppend = false) {\n if (val && typeof val === \"object\" && !Array.isArray(val)) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(`invalid ${key} header`);\n else if (val === undefined) return;\n if (request.host === null && key.length === 4 && key.toLowerCase() === \"host\") {\n if ($685ca5f0c3acb14f$var$headerCharRegex.exec(val) !== null) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(`invalid ${key} header`);\n // Consumed by Client\n request.host = val;\n } else if (request.contentLength === null && key.length === 14 && key.toLowerCase() === \"content-length\") {\n request.contentLength = parseInt(val, 10);\n if (!Number.isFinite(request.contentLength)) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid content-length header\");\n } else if (request.contentType === null && key.length === 12 && key.toLowerCase() === \"content-type\") {\n request.contentType = val;\n if (skipAppend) request.headers[key] = $685ca5f0c3acb14f$var$processHeaderValue(key, val, skipAppend);\n else request.headers += $685ca5f0c3acb14f$var$processHeaderValue(key, val);\n } else if (key.length === 17 && key.toLowerCase() === \"transfer-encoding\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid transfer-encoding header\");\n else if (key.length === 10 && key.toLowerCase() === \"connection\") {\n const value = typeof val === \"string\" ? val.toLowerCase() : null;\n if (value !== \"close\" && value !== \"keep-alive\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid connection header\");\n else if (value === \"close\") request.reset = true;\n } else if (key.length === 10 && key.toLowerCase() === \"keep-alive\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid keep-alive header\");\n else if (key.length === 7 && key.toLowerCase() === \"upgrade\") throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid upgrade header\");\n else if (key.length === 6 && key.toLowerCase() === \"expect\") throw new $685ca5f0c3acb14f$require$NotSupportedError(\"expect header not supported\");\n else if ($685ca5f0c3acb14f$var$tokenRegExp.exec(key) === null) throw new $685ca5f0c3acb14f$require$InvalidArgumentError(\"invalid header key\");\n else {\n if (Array.isArray(val)) {\n for(let i = 0; i < val.length; i++)if (skipAppend) {\n if (request.headers[key]) request.headers[key] += `,${$685ca5f0c3acb14f$var$processHeaderValue(key, val[i], skipAppend)}`;\n else request.headers[key] = $685ca5f0c3acb14f$var$processHeaderValue(key, val[i], skipAppend);\n } else request.headers += $685ca5f0c3acb14f$var$processHeaderValue(key, val[i]);\n } else if (skipAppend) request.headers[key] = $685ca5f0c3acb14f$var$processHeaderValue(key, val, skipAppend);\n else request.headers += $685ca5f0c3acb14f$var$processHeaderValue(key, val);\n }\n}\nmodule.exports = $685ca5f0c3acb14f$var$Request;\n\n});\nparcelRegister(\"dfobN\", function(module, exports) {\n\"use strict\";\n\n// Port from node core lib/internal/errors.js\nclass $9a4f7090d6cc21d4$var$ERR_INVALID_ARG_TYPE extends TypeError {\n constructor(message, actual){\n super();\n if (actual == null) message += `. Received ${actual}`;\n else if (typeof actual === \"function\" && actual.name) message += `. Received function ${actual.name}`;\n else if (typeof actual === \"object\") {\n if (actual.constructor && actual.constructor.name) message += `. Received an instance of ${actual.constructor.name}`;\n else {\n const inspected = $7rf7a$util.inspect(actual, {\n depth: -1\n });\n message += `. Received ${inspected}`;\n }\n } else {\n let inspected = $7rf7a$util.inspect(actual, {\n colors: false\n });\n if (inspected.length > 25) inspected = `${inspected.slice(0, 25)}...`;\n message += `. Received type ${typeof actual} (${inspected})`;\n }\n this.code = this.constructor.name;\n Object.defineProperties(this, {\n message: {\n value: message,\n enumerable: false,\n writable: true,\n configurable: true\n },\n toString: {\n value () {\n return `${this.name} [${this.code}]: ${this.message}`;\n },\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n }\n}\nclass $9a4f7090d6cc21d4$var$ActiveChannel {\n subscribe(subscription) {\n if (typeof subscription !== \"function\") throw new $9a4f7090d6cc21d4$var$ERR_INVALID_ARG_TYPE('The \"subscription\" argument must be of type function', subscription);\n this._subscribers.push(subscription);\n }\n unsubscribe(subscription) {\n const index = this._subscribers.indexOf(subscription);\n if (index === -1) return false;\n this._subscribers.splice(index, 1);\n // When there are no more active subscribers, restore to fast prototype.\n if (!this._subscribers.length) // eslint-disable-next-line no-use-before-define\n Object.setPrototypeOf(this, $9a4f7090d6cc21d4$var$Channel.prototype);\n return true;\n }\n get hasSubscribers() {\n return true;\n }\n publish(data) {\n for(let i = 0; i < this._subscribers.length; i++)try {\n const onMessage = this._subscribers[i];\n onMessage(data, this.name);\n } catch (err) {\n process.nextTick(()=>{\n throw err;\n });\n }\n }\n}\nclass $9a4f7090d6cc21d4$var$Channel {\n constructor(name){\n this._subscribers = undefined;\n this.name = name;\n }\n static [Symbol.hasInstance](instance) {\n const prototype = Object.getPrototypeOf(instance);\n return prototype === $9a4f7090d6cc21d4$var$Channel.prototype || prototype === $9a4f7090d6cc21d4$var$ActiveChannel.prototype;\n }\n subscribe(subscription) {\n Object.setPrototypeOf(this, $9a4f7090d6cc21d4$var$ActiveChannel.prototype);\n this._subscribers = [];\n this.subscribe(subscription);\n }\n unsubscribe() {\n return false;\n }\n get hasSubscribers() {\n return false;\n }\n publish() {}\n}\nconst $9a4f7090d6cc21d4$var$channels = {};\nfunction $9a4f7090d6cc21d4$var$channel(name) {\n const channel = $9a4f7090d6cc21d4$var$channels[name];\n if (channel) return channel;\n if (typeof name !== \"string\" && typeof name !== \"symbol\") throw new $9a4f7090d6cc21d4$var$ERR_INVALID_ARG_TYPE('The \"channel\" argument must be one of type string or symbol', name);\n return $9a4f7090d6cc21d4$var$channels[name] = new $9a4f7090d6cc21d4$var$Channel(name);\n}\nfunction $9a4f7090d6cc21d4$var$hasSubscribers(name) {\n const channel = $9a4f7090d6cc21d4$var$channels[name];\n if (!channel) return false;\n return channel.hasSubscribers;\n}\nfunction $9a4f7090d6cc21d4$var$deleteChannel(name) {\n if ($9a4f7090d6cc21d4$var$channels[name]) {\n $9a4f7090d6cc21d4$var$channels[name] = null;\n return true;\n }\n return false;\n}\nmodule.exports = {\n channel: $9a4f7090d6cc21d4$var$channel,\n hasSubscribers: $9a4f7090d6cc21d4$var$hasSubscribers,\n Channel: $9a4f7090d6cc21d4$var$Channel,\n deleteChannel: $9a4f7090d6cc21d4$var$deleteChannel\n};\n\n});\n\nparcelRegister(\"8oEYI\", function(module, exports) {\n\"use strict\";\n\nvar $l16hu = parcelRequire(\"l16hu\");\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\n\nvar $2Ib5S = parcelRequire(\"2Ib5S\");\nvar $61d05a0ff2692c1c$require$ReadableStreamFrom = $2Ib5S.ReadableStreamFrom;\nvar $61d05a0ff2692c1c$require$isBlobLike = $2Ib5S.isBlobLike;\nvar $61d05a0ff2692c1c$require$isReadableStreamLike = $2Ib5S.isReadableStreamLike;\nvar $61d05a0ff2692c1c$require$readableStreamClose = $2Ib5S.readableStreamClose;\nvar $61d05a0ff2692c1c$require$createDeferredPromise = $2Ib5S.createDeferredPromise;\nvar $61d05a0ff2692c1c$require$fullyReadBody = $2Ib5S.fullyReadBody;\n\nvar $6moLW = parcelRequire(\"6moLW\");\nvar $61d05a0ff2692c1c$require$FormData = $6moLW.FormData;\n\nvar $cZP2a = parcelRequire(\"cZP2a\");\nvar $61d05a0ff2692c1c$require$kState = $cZP2a.kState;\n\nvar $cACdG = parcelRequire(\"cACdG\");\nvar $61d05a0ff2692c1c$require$webidl = $cACdG.webidl;\n\nvar $7M1Hs = parcelRequire(\"7M1Hs\");\nvar $61d05a0ff2692c1c$require$DOMException = $7M1Hs.DOMException;\nvar $61d05a0ff2692c1c$require$structuredClone = $7M1Hs.structuredClone;\n\nvar $61d05a0ff2692c1c$require$Blob = $7rf7a$buffer.Blob;\nvar $61d05a0ff2692c1c$require$NativeFile = $7rf7a$buffer.File;\n\nvar $heqcE = parcelRequire(\"heqcE\");\nvar $61d05a0ff2692c1c$require$kBodyUsed = $heqcE.kBodyUsed;\n\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\nvar $61d05a0ff2692c1c$require$isErrored = $jqWlt.isErrored;\n\nvar $jq6Nm = parcelRequire(\"jq6Nm\");\nvar $61d05a0ff2692c1c$require$isUint8Array = $jq6Nm.isUint8Array;\nvar $61d05a0ff2692c1c$require$isArrayBuffer = $jq6Nm.isArrayBuffer;\n\nvar $9qyC1 = parcelRequire(\"9qyC1\");\nvar $61d05a0ff2692c1c$require$UndiciFile = $9qyC1.File;\n\nvar $dyddI = parcelRequire(\"dyddI\");\nvar $61d05a0ff2692c1c$require$parseMIMEType = $dyddI.parseMIMEType;\nvar $61d05a0ff2692c1c$require$serializeAMimeType = $dyddI.serializeAMimeType;\nlet $61d05a0ff2692c1c$var$ReadableStream = globalThis.ReadableStream;\n/** @type {globalThis['File']} */ const $61d05a0ff2692c1c$var$File = $61d05a0ff2692c1c$require$NativeFile ?? $61d05a0ff2692c1c$require$UndiciFile;\nconst $61d05a0ff2692c1c$var$textEncoder = new TextEncoder();\nconst $61d05a0ff2692c1c$var$textDecoder = new TextDecoder();\n\n// https://fetch.spec.whatwg.org/#concept-bodyinit-extract\nfunction $61d05a0ff2692c1c$var$extractBody(object, keepalive = false) {\n if (!$61d05a0ff2692c1c$var$ReadableStream) $61d05a0ff2692c1c$var$ReadableStream = (parcelRequire(\"j5cOJ\")).ReadableStream;\n // 1. Let stream be null.\n let stream = null;\n // 2. If object is a ReadableStream object, then set stream to object.\n if (object instanceof $61d05a0ff2692c1c$var$ReadableStream) stream = object;\n else if ($61d05a0ff2692c1c$require$isBlobLike(object)) // 3. Otherwise, if object is a Blob object, set stream to the\n // result of running object’s get stream.\n stream = object.stream();\n else // 4. Otherwise, set stream to a new ReadableStream object, and set\n // up stream.\n stream = new $61d05a0ff2692c1c$var$ReadableStream({\n async pull (controller) {\n controller.enqueue(typeof source === \"string\" ? $61d05a0ff2692c1c$var$textEncoder.encode(source) : source);\n queueMicrotask(()=>$61d05a0ff2692c1c$require$readableStreamClose(controller));\n },\n start () {},\n type: undefined\n });\n // 5. Assert: stream is a ReadableStream object.\n $7rf7a$assert($61d05a0ff2692c1c$require$isReadableStreamLike(stream));\n // 6. Let action be null.\n let action = null;\n // 7. Let source be null.\n let source = null;\n // 8. Let length be null.\n let length = null;\n // 9. Let type be null.\n let type = null;\n // 10. Switch on object:\n if (typeof object === \"string\") {\n // Set source to the UTF-8 encoding of object.\n // Note: setting source to a Uint8Array here breaks some mocking assumptions.\n source = object;\n // Set type to `text/plain;charset=UTF-8`.\n type = \"text/plain;charset=UTF-8\";\n } else if (object instanceof URLSearchParams) {\n // URLSearchParams\n // spec says to run application/x-www-form-urlencoded on body.list\n // this is implemented in Node.js as apart of an URLSearchParams instance toString method\n // See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490\n // and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100\n // Set source to the result of running the application/x-www-form-urlencoded serializer with object’s list.\n source = object.toString();\n // Set type to `application/x-www-form-urlencoded;charset=UTF-8`.\n type = \"application/x-www-form-urlencoded;charset=UTF-8\";\n } else if ($61d05a0ff2692c1c$require$isArrayBuffer(object)) // BufferSource/ArrayBuffer\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.slice());\n else if (ArrayBuffer.isView(object)) // BufferSource/ArrayBufferView\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength));\n else if ($jqWlt.isFormDataLike(object)) {\n const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, \"0\")}`;\n const prefix = `--${boundary}\\r\\nContent-Disposition: form-data`;\n /*! formdata-polyfill. MIT License. Jimmy Wärting */ const escape = (str)=>str.replace(/\\n/g, \"%0A\").replace(/\\r/g, \"%0D\").replace(/\"/g, \"%22\");\n const normalizeLinefeeds = (value)=>value.replace(/\\r?\\n|\\r/g, \"\\r\\n\");\n // Set action to this step: run the multipart/form-data\n // encoding algorithm, with object’s entry list and UTF-8.\n // - This ensures that the body is immutable and can't be changed afterwords\n // - That the content-length is calculated in advance.\n // - And that all parts are pre-encoded and ready to be sent.\n const blobParts = [];\n const rn = new Uint8Array([\n 13,\n 10\n ]) // '\\r\\n'\n ;\n length = 0;\n let hasUnknownSizeValue = false;\n for (const [name, value] of object)if (typeof value === \"string\") {\n const chunk = $61d05a0ff2692c1c$var$textEncoder.encode(prefix + `; name=\"${escape(normalizeLinefeeds(name))}\"` + `\\r\\n\\r\\n${normalizeLinefeeds(value)}\\r\\n`);\n blobParts.push(chunk);\n length += chunk.byteLength;\n } else {\n const chunk = $61d05a0ff2692c1c$var$textEncoder.encode(`${prefix}; name=\"${escape(normalizeLinefeeds(name))}\"` + (value.name ? `; filename=\"${escape(value.name)}\"` : \"\") + \"\\r\\n\" + `Content-Type: ${value.type || \"application/octet-stream\"}\\r\\n\\r\\n`);\n blobParts.push(chunk, value, rn);\n if (typeof value.size === \"number\") length += chunk.byteLength + value.size + rn.byteLength;\n else hasUnknownSizeValue = true;\n }\n const chunk = $61d05a0ff2692c1c$var$textEncoder.encode(`--${boundary}--`);\n blobParts.push(chunk);\n length += chunk.byteLength;\n if (hasUnknownSizeValue) length = null;\n // Set source to object.\n source = object;\n action = async function*() {\n for (const part of blobParts)if (part.stream) yield* part.stream();\n else yield part;\n };\n // Set type to `multipart/form-data; boundary=`,\n // followed by the multipart/form-data boundary string generated\n // by the multipart/form-data encoding algorithm.\n type = \"multipart/form-data; boundary=\" + boundary;\n } else if ($61d05a0ff2692c1c$require$isBlobLike(object)) {\n // Blob\n // Set source to object.\n source = object;\n // Set length to object’s size.\n length = object.size;\n // If object’s type attribute is not the empty byte sequence, set\n // type to its value.\n if (object.type) type = object.type;\n } else if (typeof object[Symbol.asyncIterator] === \"function\") {\n // If keepalive is true, then throw a TypeError.\n if (keepalive) throw new TypeError(\"keepalive\");\n // If object is disturbed or locked, then throw a TypeError.\n if ($jqWlt.isDisturbed(object) || object.locked) throw new TypeError(\"Response body object should not be disturbed or locked\");\n stream = object instanceof $61d05a0ff2692c1c$var$ReadableStream ? object : $61d05a0ff2692c1c$require$ReadableStreamFrom(object);\n }\n // 11. If source is a byte sequence, then set action to a\n // step that returns source and length to source’s length.\n if (typeof source === \"string\" || $jqWlt.isBuffer(source)) length = Buffer.byteLength(source);\n // 12. If action is non-null, then run these steps in in parallel:\n if (action != null) {\n // Run action.\n let iterator;\n stream = new $61d05a0ff2692c1c$var$ReadableStream({\n async start () {\n iterator = action(object)[Symbol.asyncIterator]();\n },\n async pull (controller) {\n const { value: value, done: done } = await iterator.next();\n if (done) // When running action is done, close stream.\n queueMicrotask(()=>{\n controller.close();\n });\n else // Whenever one or more bytes are available and stream is not errored,\n // enqueue a Uint8Array wrapping an ArrayBuffer containing the available\n // bytes into stream.\n if (!$61d05a0ff2692c1c$require$isErrored(stream)) controller.enqueue(new Uint8Array(value));\n return controller.desiredSize > 0;\n },\n async cancel (reason) {\n await iterator.return();\n },\n type: undefined\n });\n }\n // 13. Let body be a body whose stream is stream, source is source,\n // and length is length.\n const body = {\n stream: stream,\n source: source,\n length: length\n };\n // 14. Return (body, type).\n return [\n body,\n type\n ];\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit-safely-extract\nfunction $61d05a0ff2692c1c$var$safelyExtractBody(object, keepalive = false) {\n if (!$61d05a0ff2692c1c$var$ReadableStream) // istanbul ignore next\n $61d05a0ff2692c1c$var$ReadableStream = (parcelRequire(\"j5cOJ\")).ReadableStream;\n // To safely extract a body and a `Content-Type` value from\n // a byte sequence or BodyInit object object, run these steps:\n // 1. If object is a ReadableStream object, then:\n if (object instanceof $61d05a0ff2692c1c$var$ReadableStream) {\n // Assert: object is neither disturbed nor locked.\n // istanbul ignore next\n $7rf7a$assert(!$jqWlt.isDisturbed(object), \"The body has already been consumed.\");\n // istanbul ignore next\n $7rf7a$assert(!object.locked, \"The stream is locked.\");\n }\n // 2. Return the results of extracting object.\n return $61d05a0ff2692c1c$var$extractBody(object, keepalive);\n}\nfunction $61d05a0ff2692c1c$var$cloneBody(body) {\n // To clone a body body, run these steps:\n // https://fetch.spec.whatwg.org/#concept-body-clone\n // 1. Let « out1, out2 » be the result of teeing body’s stream.\n const [out1, out2] = body.stream.tee();\n const out2Clone = $61d05a0ff2692c1c$require$structuredClone(out2, {\n transfer: [\n out2\n ]\n });\n // This, for whatever reasons, unrefs out2Clone which allows\n // the process to exit by itself.\n const [, finalClone] = out2Clone.tee();\n // 2. Set body’s stream to out1.\n body.stream = out1;\n // 3. Return a body whose stream is out2 and other members are copied from body.\n return {\n stream: finalClone,\n length: body.length,\n source: body.source\n };\n}\nasync function* $61d05a0ff2692c1c$var$consumeBody(body) {\n if (body) {\n if ($61d05a0ff2692c1c$require$isUint8Array(body)) yield body;\n else {\n const stream = body.stream;\n if ($jqWlt.isDisturbed(stream)) throw new TypeError(\"The body has already been consumed.\");\n if (stream.locked) throw new TypeError(\"The stream is locked.\");\n // Compat.\n stream[$61d05a0ff2692c1c$require$kBodyUsed] = true;\n yield* stream;\n }\n }\n}\nfunction $61d05a0ff2692c1c$var$throwIfAborted(state) {\n if (state.aborted) throw new $61d05a0ff2692c1c$require$DOMException(\"The operation was aborted.\", \"AbortError\");\n}\nfunction $61d05a0ff2692c1c$var$bodyMixinMethods(instance) {\n const methods = {\n blob () {\n // The blob() method steps are to return the result of\n // running consume body with this and the following step\n // given a byte sequence bytes: return a Blob whose\n // contents are bytes and whose type attribute is this’s\n // MIME type.\n return $61d05a0ff2692c1c$var$specConsumeBody(this, (bytes)=>{\n let mimeType = $61d05a0ff2692c1c$var$bodyMimeType(this);\n if (mimeType === \"failure\") mimeType = \"\";\n else if (mimeType) mimeType = $61d05a0ff2692c1c$require$serializeAMimeType(mimeType);\n // Return a Blob whose contents are bytes and type attribute\n // is mimeType.\n return new $61d05a0ff2692c1c$require$Blob([\n bytes\n ], {\n type: mimeType\n });\n }, instance);\n },\n arrayBuffer () {\n // The arrayBuffer() method steps are to return the result\n // of running consume body with this and the following step\n // given a byte sequence bytes: return a new ArrayBuffer\n // whose contents are bytes.\n return $61d05a0ff2692c1c$var$specConsumeBody(this, (bytes)=>{\n return new Uint8Array(bytes).buffer;\n }, instance);\n },\n text () {\n // The text() method steps are to return the result of running\n // consume body with this and UTF-8 decode.\n return $61d05a0ff2692c1c$var$specConsumeBody(this, $61d05a0ff2692c1c$var$utf8DecodeBytes, instance);\n },\n json () {\n // The json() method steps are to return the result of running\n // consume body with this and parse JSON from bytes.\n return $61d05a0ff2692c1c$var$specConsumeBody(this, $61d05a0ff2692c1c$var$parseJSONFromBytes, instance);\n },\n async formData () {\n $61d05a0ff2692c1c$require$webidl.brandCheck(this, instance);\n $61d05a0ff2692c1c$var$throwIfAborted(this[$61d05a0ff2692c1c$require$kState]);\n const contentType = this.headers.get(\"Content-Type\");\n // If mimeType’s essence is \"multipart/form-data\", then:\n if (/multipart\\/form-data/.test(contentType)) {\n const headers = {};\n for (const [key, value] of this.headers)headers[key.toLowerCase()] = value;\n const responseFormData = new $61d05a0ff2692c1c$require$FormData();\n let busboy;\n try {\n busboy = new $l16hu({\n headers: headers,\n preservePath: true\n });\n } catch (err) {\n throw new $61d05a0ff2692c1c$require$DOMException(`${err}`, \"AbortError\");\n }\n busboy.on(\"field\", (name, value)=>{\n responseFormData.append(name, value);\n });\n busboy.on(\"file\", (name, value, filename, encoding, mimeType)=>{\n const chunks = [];\n if (encoding === \"base64\" || encoding.toLowerCase() === \"base64\") {\n let base64chunk = \"\";\n value.on(\"data\", (chunk)=>{\n base64chunk += chunk.toString().replace(/[\\r\\n]/gm, \"\");\n const end = base64chunk.length - base64chunk.length % 4;\n chunks.push(Buffer.from(base64chunk.slice(0, end), \"base64\"));\n base64chunk = base64chunk.slice(end);\n });\n value.on(\"end\", ()=>{\n chunks.push(Buffer.from(base64chunk, \"base64\"));\n responseFormData.append(name, new $61d05a0ff2692c1c$var$File(chunks, filename, {\n type: mimeType\n }));\n });\n } else {\n value.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n });\n value.on(\"end\", ()=>{\n responseFormData.append(name, new $61d05a0ff2692c1c$var$File(chunks, filename, {\n type: mimeType\n }));\n });\n }\n });\n const busboyResolve = new Promise((resolve, reject)=>{\n busboy.on(\"finish\", resolve);\n busboy.on(\"error\", (err)=>reject(new TypeError(err)));\n });\n if (this.body !== null) for await (const chunk of $61d05a0ff2692c1c$var$consumeBody(this[$61d05a0ff2692c1c$require$kState].body))busboy.write(chunk);\n busboy.end();\n await busboyResolve;\n return responseFormData;\n } else if (/application\\/x-www-form-urlencoded/.test(contentType)) {\n // Otherwise, if mimeType’s essence is \"application/x-www-form-urlencoded\", then:\n // 1. Let entries be the result of parsing bytes.\n let entries;\n try {\n let text = \"\";\n // application/x-www-form-urlencoded parser will keep the BOM.\n // https://url.spec.whatwg.org/#concept-urlencoded-parser\n // Note that streaming decoder is stateful and cannot be reused\n const streamingDecoder = new TextDecoder(\"utf-8\", {\n ignoreBOM: true\n });\n for await (const chunk of $61d05a0ff2692c1c$var$consumeBody(this[$61d05a0ff2692c1c$require$kState].body)){\n if (!$61d05a0ff2692c1c$require$isUint8Array(chunk)) throw new TypeError(\"Expected Uint8Array chunk\");\n text += streamingDecoder.decode(chunk, {\n stream: true\n });\n }\n text += streamingDecoder.decode();\n entries = new URLSearchParams(text);\n } catch (err) {\n // istanbul ignore next: Unclear when new URLSearchParams can fail on a string.\n // 2. If entries is failure, then throw a TypeError.\n throw Object.assign(new TypeError(), {\n cause: err\n });\n }\n // 3. Return a new FormData object whose entries are entries.\n const formData = new $61d05a0ff2692c1c$require$FormData();\n for (const [name, value] of entries)formData.append(name, value);\n return formData;\n } else {\n // Wait a tick before checking if the request has been aborted.\n // Otherwise, a TypeError can be thrown when an AbortError should.\n await Promise.resolve();\n $61d05a0ff2692c1c$var$throwIfAborted(this[$61d05a0ff2692c1c$require$kState]);\n // Otherwise, throw a TypeError.\n throw $61d05a0ff2692c1c$require$webidl.errors.exception({\n header: `${instance.name}.formData`,\n message: \"Could not parse content as FormData.\"\n });\n }\n }\n };\n return methods;\n}\nfunction $61d05a0ff2692c1c$var$mixinBody(prototype) {\n Object.assign(prototype.prototype, $61d05a0ff2692c1c$var$bodyMixinMethods(prototype));\n}\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-consume-body\n * @param {Response|Request} object\n * @param {(value: unknown) => unknown} convertBytesToJSValue\n * @param {Response|Request} instance\n */ async function $61d05a0ff2692c1c$var$specConsumeBody(object, convertBytesToJSValue, instance) {\n $61d05a0ff2692c1c$require$webidl.brandCheck(object, instance);\n $61d05a0ff2692c1c$var$throwIfAborted(object[$61d05a0ff2692c1c$require$kState]);\n // 1. If object is unusable, then return a promise rejected\n // with a TypeError.\n if ($61d05a0ff2692c1c$var$bodyUnusable(object[$61d05a0ff2692c1c$require$kState].body)) throw new TypeError(\"Body is unusable\");\n // 2. Let promise be a new promise.\n const promise = $61d05a0ff2692c1c$require$createDeferredPromise();\n // 3. Let errorSteps given error be to reject promise with error.\n const errorSteps = (error)=>promise.reject(error);\n // 4. Let successSteps given a byte sequence data be to resolve\n // promise with the result of running convertBytesToJSValue\n // with data. If that threw an exception, then run errorSteps\n // with that exception.\n const successSteps = (data)=>{\n try {\n promise.resolve(convertBytesToJSValue(data));\n } catch (e) {\n errorSteps(e);\n }\n };\n // 5. If object’s body is null, then run successSteps with an\n // empty byte sequence.\n if (object[$61d05a0ff2692c1c$require$kState].body == null) {\n successSteps(new Uint8Array());\n return promise.promise;\n }\n // 6. Otherwise, fully read object’s body given successSteps,\n // errorSteps, and object’s relevant global object.\n await $61d05a0ff2692c1c$require$fullyReadBody(object[$61d05a0ff2692c1c$require$kState].body, successSteps, errorSteps);\n // 7. Return promise.\n return promise.promise;\n}\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction $61d05a0ff2692c1c$var$bodyUnusable(body) {\n // An object including the Body interface mixin is\n // said to be unusable if its body is non-null and\n // its body’s stream is disturbed or locked.\n return body != null && (body.stream.locked || $jqWlt.isDisturbed(body.stream));\n}\n/**\n * @see https://encoding.spec.whatwg.org/#utf-8-decode\n * @param {Buffer} buffer\n */ function $61d05a0ff2692c1c$var$utf8DecodeBytes(buffer) {\n if (buffer.length === 0) return \"\";\n // 1. Let buffer be the result of peeking three bytes from\n // ioQueue, converted to a byte sequence.\n // 2. If buffer is 0xEF 0xBB 0xBF, then read three\n // bytes from ioQueue. (Do nothing with those bytes.)\n if (buffer[0] === 0xEF && buffer[1] === 0xBB && buffer[2] === 0xBF) buffer = buffer.subarray(3);\n // 3. Process a queue with an instance of UTF-8’s\n // decoder, ioQueue, output, and \"replacement\".\n const output = $61d05a0ff2692c1c$var$textDecoder.decode(buffer);\n // 4. Return output.\n return output;\n}\n/**\n * @see https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value\n * @param {Uint8Array} bytes\n */ function $61d05a0ff2692c1c$var$parseJSONFromBytes(bytes) {\n return JSON.parse($61d05a0ff2692c1c$var$utf8DecodeBytes(bytes));\n}\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-mime-type\n * @param {import('./response').Response|import('./request').Request} object\n */ function $61d05a0ff2692c1c$var$bodyMimeType(object) {\n const { headersList: headersList } = object[$61d05a0ff2692c1c$require$kState];\n const contentType = headersList.get(\"content-type\");\n if (contentType === null) return \"failure\";\n return $61d05a0ff2692c1c$require$parseMIMEType(contentType);\n}\nmodule.exports = {\n extractBody: $61d05a0ff2692c1c$var$extractBody,\n safelyExtractBody: $61d05a0ff2692c1c$var$safelyExtractBody,\n cloneBody: $61d05a0ff2692c1c$var$cloneBody,\n mixinBody: $61d05a0ff2692c1c$var$mixinBody\n};\n\n});\nparcelRegister(\"l16hu\", function(module, exports) {\n\"use strict\";\n\nvar $f4ce90486cb8e0eb$require$WritableStream = $7rf7a$nodestream.Writable;\n\nvar $f4ce90486cb8e0eb$require$inherits = $7rf7a$nodeutil.inherits;\n\nvar $j6bMN = parcelRequire(\"j6bMN\");\n\nvar $7kiOh = parcelRequire(\"7kiOh\");\n\nvar $ft0FD = parcelRequire(\"ft0FD\");\n\nvar $1OlId = parcelRequire(\"1OlId\");\nfunction $f4ce90486cb8e0eb$var$Busboy(opts) {\n if (!(this instanceof $f4ce90486cb8e0eb$var$Busboy)) return new $f4ce90486cb8e0eb$var$Busboy(opts);\n if (typeof opts !== \"object\") throw new TypeError(\"Busboy expected an options-Object.\");\n if (typeof opts.headers !== \"object\") throw new TypeError(\"Busboy expected an options-Object with headers-attribute.\");\n if (typeof opts.headers[\"content-type\"] !== \"string\") throw new TypeError(\"Missing Content-Type-header.\");\n const { headers: headers, ...streamOptions } = opts;\n this.opts = {\n autoDestroy: false,\n ...streamOptions\n };\n $f4ce90486cb8e0eb$require$WritableStream.call(this, this.opts);\n this._done = false;\n this._parser = this.getParserByHeaders(headers);\n this._finished = false;\n}\n$f4ce90486cb8e0eb$require$inherits($f4ce90486cb8e0eb$var$Busboy, $f4ce90486cb8e0eb$require$WritableStream);\n$f4ce90486cb8e0eb$var$Busboy.prototype.emit = function(ev) {\n if (ev === \"finish\") {\n if (!this._done) {\n this._parser?.end();\n return;\n } else if (this._finished) return;\n this._finished = true;\n }\n $f4ce90486cb8e0eb$require$WritableStream.prototype.emit.apply(this, arguments);\n};\n$f4ce90486cb8e0eb$var$Busboy.prototype.getParserByHeaders = function(headers) {\n const parsed = $1OlId(headers[\"content-type\"]);\n const cfg = {\n defCharset: this.opts.defCharset,\n fileHwm: this.opts.fileHwm,\n headers: headers,\n highWaterMark: this.opts.highWaterMark,\n isPartAFile: this.opts.isPartAFile,\n limits: this.opts.limits,\n parsedConType: parsed,\n preservePath: this.opts.preservePath\n };\n if ($7kiOh.detect.test(parsed[0])) return new $7kiOh(this, cfg);\n if ($ft0FD.detect.test(parsed[0])) return new $ft0FD(this, cfg);\n throw new Error(\"Unsupported Content-Type.\");\n};\n$f4ce90486cb8e0eb$var$Busboy.prototype._write = function(chunk, encoding, cb) {\n this._parser.write(chunk, cb);\n};\nmodule.exports = $f4ce90486cb8e0eb$var$Busboy;\nmodule.exports.default = $f4ce90486cb8e0eb$var$Busboy;\nmodule.exports.Busboy = $f4ce90486cb8e0eb$var$Busboy;\nmodule.exports.Dicer = $j6bMN;\n\n});\nparcelRegister(\"j6bMN\", function(module, exports) {\n\"use strict\";\n\nvar $de77b84ca4d39e24$require$WritableStream = $7rf7a$nodestream.Writable;\n\nvar $de77b84ca4d39e24$require$inherits = $7rf7a$nodeutil.inherits;\n\nvar $iqsJf = parcelRequire(\"iqsJf\");\n\nvar $gcqMr = parcelRequire(\"gcqMr\");\n\nvar $h3rpB = parcelRequire(\"h3rpB\");\nconst $de77b84ca4d39e24$var$DASH = 45;\nconst $de77b84ca4d39e24$var$B_ONEDASH = Buffer.from(\"-\");\nconst $de77b84ca4d39e24$var$B_CRLF = Buffer.from(\"\\r\\n\");\nconst $de77b84ca4d39e24$var$EMPTY_FN = function() {};\nfunction $de77b84ca4d39e24$var$Dicer(cfg) {\n if (!(this instanceof $de77b84ca4d39e24$var$Dicer)) return new $de77b84ca4d39e24$var$Dicer(cfg);\n $de77b84ca4d39e24$require$WritableStream.call(this, cfg);\n if (!cfg || !cfg.headerFirst && typeof cfg.boundary !== \"string\") throw new TypeError(\"Boundary required\");\n if (typeof cfg.boundary === \"string\") this.setBoundary(cfg.boundary);\n else this._bparser = undefined;\n this._headerFirst = cfg.headerFirst;\n this._dashes = 0;\n this._parts = 0;\n this._finished = false;\n this._realFinish = false;\n this._isPreamble = true;\n this._justMatched = false;\n this._firstWrite = true;\n this._inHeader = true;\n this._part = undefined;\n this._cb = undefined;\n this._ignoreData = false;\n this._partOpts = {\n highWaterMark: cfg.partHwm\n };\n this._pause = false;\n const self = this;\n this._hparser = new $h3rpB(cfg);\n this._hparser.on(\"header\", function(header) {\n self._inHeader = false;\n self._part.emit(\"header\", header);\n });\n}\n$de77b84ca4d39e24$require$inherits($de77b84ca4d39e24$var$Dicer, $de77b84ca4d39e24$require$WritableStream);\n$de77b84ca4d39e24$var$Dicer.prototype.emit = function(ev) {\n if (ev === \"finish\" && !this._realFinish) {\n if (!this._finished) {\n const self = this;\n process.nextTick(function() {\n self.emit(\"error\", new Error(\"Unexpected end of multipart data\"));\n if (self._part && !self._ignoreData) {\n const type = self._isPreamble ? \"Preamble\" : \"Part\";\n self._part.emit(\"error\", new Error(type + \" terminated early due to unexpected end of multipart data\"));\n self._part.push(null);\n process.nextTick(function() {\n self._realFinish = true;\n self.emit(\"finish\");\n self._realFinish = false;\n });\n return;\n }\n self._realFinish = true;\n self.emit(\"finish\");\n self._realFinish = false;\n });\n }\n } else $de77b84ca4d39e24$require$WritableStream.prototype.emit.apply(this, arguments);\n};\n$de77b84ca4d39e24$var$Dicer.prototype._write = function(data, encoding, cb) {\n // ignore unexpected data (e.g. extra trailer data after finished)\n if (!this._hparser && !this._bparser) return cb();\n if (this._headerFirst && this._isPreamble) {\n if (!this._part) {\n this._part = new $gcqMr(this._partOpts);\n if (this.listenerCount(\"preamble\") !== 0) this.emit(\"preamble\", this._part);\n else this._ignore();\n }\n const r = this._hparser.push(data);\n if (!this._inHeader && r !== undefined && r < data.length) data = data.slice(r);\n else return cb();\n }\n // allows for \"easier\" testing\n if (this._firstWrite) {\n this._bparser.push($de77b84ca4d39e24$var$B_CRLF);\n this._firstWrite = false;\n }\n this._bparser.push(data);\n if (this._pause) this._cb = cb;\n else cb();\n};\n$de77b84ca4d39e24$var$Dicer.prototype.reset = function() {\n this._part = undefined;\n this._bparser = undefined;\n this._hparser = undefined;\n};\n$de77b84ca4d39e24$var$Dicer.prototype.setBoundary = function(boundary) {\n const self = this;\n this._bparser = new $iqsJf(\"\\r\\n--\" + boundary);\n this._bparser.on(\"info\", function(isMatch, data, start, end) {\n self._oninfo(isMatch, data, start, end);\n });\n};\n$de77b84ca4d39e24$var$Dicer.prototype._ignore = function() {\n if (this._part && !this._ignoreData) {\n this._ignoreData = true;\n this._part.on(\"error\", $de77b84ca4d39e24$var$EMPTY_FN);\n // we must perform some kind of read on the stream even though we are\n // ignoring the data, otherwise node's Readable stream will not emit 'end'\n // after pushing null to the stream\n this._part.resume();\n }\n};\n$de77b84ca4d39e24$var$Dicer.prototype._oninfo = function(isMatch, data, start, end) {\n let buf;\n const self = this;\n let i = 0;\n let r;\n let shouldWriteMore = true;\n if (!this._part && this._justMatched && data) {\n while(this._dashes < 2 && start + i < end)if (data[start + i] === $de77b84ca4d39e24$var$DASH) {\n ++i;\n ++this._dashes;\n } else {\n if (this._dashes) buf = $de77b84ca4d39e24$var$B_ONEDASH;\n this._dashes = 0;\n break;\n }\n if (this._dashes === 2) {\n if (start + i < end && this.listenerCount(\"trailer\") !== 0) this.emit(\"trailer\", data.slice(start + i, end));\n this.reset();\n this._finished = true;\n // no more parts will be added\n if (self._parts === 0) {\n self._realFinish = true;\n self.emit(\"finish\");\n self._realFinish = false;\n }\n }\n if (this._dashes) return;\n }\n if (this._justMatched) this._justMatched = false;\n if (!this._part) {\n this._part = new $gcqMr(this._partOpts);\n this._part._read = function(n) {\n self._unpause();\n };\n if (this._isPreamble && this.listenerCount(\"preamble\") !== 0) this.emit(\"preamble\", this._part);\n else if (this._isPreamble !== true && this.listenerCount(\"part\") !== 0) this.emit(\"part\", this._part);\n else this._ignore();\n if (!this._isPreamble) this._inHeader = true;\n }\n if (data && start < end && !this._ignoreData) {\n if (this._isPreamble || !this._inHeader) {\n if (buf) shouldWriteMore = this._part.push(buf);\n shouldWriteMore = this._part.push(data.slice(start, end));\n if (!shouldWriteMore) this._pause = true;\n } else if (!this._isPreamble && this._inHeader) {\n if (buf) this._hparser.push(buf);\n r = this._hparser.push(data.slice(start, end));\n if (!this._inHeader && r !== undefined && r < end) this._oninfo(false, data, start + r, end);\n }\n }\n if (isMatch) {\n this._hparser.reset();\n if (this._isPreamble) this._isPreamble = false;\n else if (start !== end) {\n ++this._parts;\n this._part.on(\"end\", function() {\n if (--self._parts === 0) {\n if (self._finished) {\n self._realFinish = true;\n self.emit(\"finish\");\n self._realFinish = false;\n } else self._unpause();\n }\n });\n }\n this._part.push(null);\n this._part = undefined;\n this._ignoreData = false;\n this._justMatched = true;\n this._dashes = 0;\n }\n};\n$de77b84ca4d39e24$var$Dicer.prototype._unpause = function() {\n if (!this._pause) return;\n this._pause = false;\n if (this._cb) {\n const cb = this._cb;\n this._cb = undefined;\n cb();\n }\n};\nmodule.exports = $de77b84ca4d39e24$var$Dicer;\n\n});\nparcelRegister(\"iqsJf\", function(module, exports) {\n\"use strict\";\n\nvar $d6a0f0a434580852$require$EventEmitter = $7rf7a$nodeevents.EventEmitter;\n\nvar $d6a0f0a434580852$require$inherits = $7rf7a$nodeutil.inherits;\nfunction $d6a0f0a434580852$var$SBMH(needle) {\n if (typeof needle === \"string\") needle = Buffer.from(needle);\n if (!Buffer.isBuffer(needle)) throw new TypeError(\"The needle has to be a String or a Buffer.\");\n const needleLength = needle.length;\n if (needleLength === 0) throw new Error(\"The needle cannot be an empty String/Buffer.\");\n if (needleLength > 256) throw new Error(\"The needle cannot have a length bigger than 256.\");\n this.maxMatches = Infinity;\n this.matches = 0;\n this._occ = new Array(256).fill(needleLength) // Initialize occurrence table.\n ;\n this._lookbehind_size = 0;\n this._needle = needle;\n this._bufpos = 0;\n this._lookbehind = Buffer.alloc(needleLength);\n // Populate occurrence table with analysis of the needle,\n // ignoring last letter.\n for(var i = 0; i < needleLength - 1; ++i)this._occ[needle[i]] = needleLength - 1 - i;\n}\n$d6a0f0a434580852$require$inherits($d6a0f0a434580852$var$SBMH, $d6a0f0a434580852$require$EventEmitter);\n$d6a0f0a434580852$var$SBMH.prototype.reset = function() {\n this._lookbehind_size = 0;\n this.matches = 0;\n this._bufpos = 0;\n};\n$d6a0f0a434580852$var$SBMH.prototype.push = function(chunk, pos) {\n if (!Buffer.isBuffer(chunk)) chunk = Buffer.from(chunk, \"binary\");\n const chlen = chunk.length;\n this._bufpos = pos || 0;\n let r;\n while(r !== chlen && this.matches < this.maxMatches)r = this._sbmh_feed(chunk);\n return r;\n};\n$d6a0f0a434580852$var$SBMH.prototype._sbmh_feed = function(data) {\n const len = data.length;\n const needle = this._needle;\n const needleLength = needle.length;\n const lastNeedleChar = needle[needleLength - 1];\n // Positive: points to a position in `data`\n // pos == 3 points to data[3]\n // Negative: points to a position in the lookbehind buffer\n // pos == -2 points to lookbehind[lookbehind_size - 2]\n let pos = -this._lookbehind_size;\n let ch;\n if (pos < 0) {\n // Lookbehind buffer is not empty. Perform Boyer-Moore-Horspool\n // search with character lookup code that considers both the\n // lookbehind buffer and the current round's haystack data.\n //\n // Loop until\n // there is a match.\n // or until\n // we've moved past the position that requires the\n // lookbehind buffer. In this case we switch to the\n // optimized loop.\n // or until\n // the character to look at lies outside the haystack.\n while(pos < 0 && pos <= len - needleLength){\n ch = this._sbmh_lookup_char(data, pos + needleLength - 1);\n if (ch === lastNeedleChar && this._sbmh_memcmp(data, pos, needleLength - 1)) {\n this._lookbehind_size = 0;\n ++this.matches;\n this.emit(\"info\", true);\n return this._bufpos = pos + needleLength;\n }\n pos += this._occ[ch];\n }\n // No match.\n if (pos < 0) // There's too few data for Boyer-Moore-Horspool to run,\n // so let's use a different algorithm to skip as much as\n // we can.\n // Forward pos until\n // the trailing part of lookbehind + data\n // looks like the beginning of the needle\n // or until\n // pos == 0\n while(pos < 0 && !this._sbmh_memcmp(data, pos, len - pos))++pos;\n if (pos >= 0) {\n // Discard lookbehind buffer.\n this.emit(\"info\", false, this._lookbehind, 0, this._lookbehind_size);\n this._lookbehind_size = 0;\n } else {\n // Cut off part of the lookbehind buffer that has\n // been processed and append the entire haystack\n // into it.\n const bytesToCutOff = this._lookbehind_size + pos;\n if (bytesToCutOff > 0) // The cut off data is guaranteed not to contain the needle.\n this.emit(\"info\", false, this._lookbehind, 0, bytesToCutOff);\n this._lookbehind.copy(this._lookbehind, 0, bytesToCutOff, this._lookbehind_size - bytesToCutOff);\n this._lookbehind_size -= bytesToCutOff;\n data.copy(this._lookbehind, this._lookbehind_size);\n this._lookbehind_size += len;\n this._bufpos = len;\n return len;\n }\n }\n pos += (pos >= 0) * this._bufpos;\n // Lookbehind buffer is now empty. We only need to check if the\n // needle is in the haystack.\n if (data.indexOf(needle, pos) !== -1) {\n pos = data.indexOf(needle, pos);\n ++this.matches;\n if (pos > 0) this.emit(\"info\", true, data, this._bufpos, pos);\n else this.emit(\"info\", true);\n return this._bufpos = pos + needleLength;\n } else pos = len - needleLength;\n // There was no match. If there's trailing haystack data that we cannot\n // match yet using the Boyer-Moore-Horspool algorithm (because the trailing\n // data is less than the needle size) then match using a modified\n // algorithm that starts matching from the beginning instead of the end.\n // Whatever trailing data is left after running this algorithm is added to\n // the lookbehind buffer.\n while(pos < len && (data[pos] !== needle[0] || Buffer.compare(data.subarray(pos, pos + len - pos), needle.subarray(0, len - pos)) !== 0))++pos;\n if (pos < len) {\n data.copy(this._lookbehind, 0, pos, pos + (len - pos));\n this._lookbehind_size = len - pos;\n }\n // Everything until pos is guaranteed not to contain needle data.\n if (pos > 0) this.emit(\"info\", false, data, this._bufpos, pos < len ? pos : len);\n this._bufpos = len;\n return len;\n};\n$d6a0f0a434580852$var$SBMH.prototype._sbmh_lookup_char = function(data, pos) {\n return pos < 0 ? this._lookbehind[this._lookbehind_size + pos] : data[pos];\n};\n$d6a0f0a434580852$var$SBMH.prototype._sbmh_memcmp = function(data, pos, len) {\n for(var i = 0; i < len; ++i){\n if (this._sbmh_lookup_char(data, pos + i) !== this._needle[i]) return false;\n }\n return true;\n};\nmodule.exports = $d6a0f0a434580852$var$SBMH;\n\n});\n\nparcelRegister(\"gcqMr\", function(module, exports) {\n\"use strict\";\n\nvar $bcb28a58c6b90996$require$inherits = $7rf7a$nodeutil.inherits;\n\nvar $bcb28a58c6b90996$require$ReadableStream = $7rf7a$nodestream.Readable;\nfunction $bcb28a58c6b90996$var$PartStream(opts) {\n $bcb28a58c6b90996$require$ReadableStream.call(this, opts);\n}\n$bcb28a58c6b90996$require$inherits($bcb28a58c6b90996$var$PartStream, $bcb28a58c6b90996$require$ReadableStream);\n$bcb28a58c6b90996$var$PartStream.prototype._read = function(n) {};\nmodule.exports = $bcb28a58c6b90996$var$PartStream;\n\n});\n\nparcelRegister(\"h3rpB\", function(module, exports) {\n\"use strict\";\n\nvar $c6a7fae6c342edd2$require$EventEmitter = $7rf7a$nodeevents.EventEmitter;\n\nvar $c6a7fae6c342edd2$require$inherits = $7rf7a$nodeutil.inherits;\n\nvar $gwBrT = parcelRequire(\"gwBrT\");\n\nvar $iqsJf = parcelRequire(\"iqsJf\");\nconst $c6a7fae6c342edd2$var$B_DCRLF = Buffer.from(\"\\r\\n\\r\\n\");\nconst $c6a7fae6c342edd2$var$RE_CRLF = /\\r\\n/g;\nconst $c6a7fae6c342edd2$var$RE_HDR = /^([^:]+):[ \\t]?([\\x00-\\xFF]+)?$/ // eslint-disable-line no-control-regex\n;\nfunction $c6a7fae6c342edd2$var$HeaderParser(cfg) {\n $c6a7fae6c342edd2$require$EventEmitter.call(this);\n cfg = cfg || {};\n const self = this;\n this.nread = 0;\n this.maxed = false;\n this.npairs = 0;\n this.maxHeaderPairs = $gwBrT(cfg, \"maxHeaderPairs\", 2000);\n this.maxHeaderSize = $gwBrT(cfg, \"maxHeaderSize\", 81920);\n this.buffer = \"\";\n this.header = {};\n this.finished = false;\n this.ss = new $iqsJf($c6a7fae6c342edd2$var$B_DCRLF);\n this.ss.on(\"info\", function(isMatch, data, start, end) {\n if (data && !self.maxed) {\n if (self.nread + end - start >= self.maxHeaderSize) {\n end = self.maxHeaderSize - self.nread + start;\n self.nread = self.maxHeaderSize;\n self.maxed = true;\n } else self.nread += end - start;\n self.buffer += data.toString(\"binary\", start, end);\n }\n if (isMatch) self._finish();\n });\n}\n$c6a7fae6c342edd2$require$inherits($c6a7fae6c342edd2$var$HeaderParser, $c6a7fae6c342edd2$require$EventEmitter);\n$c6a7fae6c342edd2$var$HeaderParser.prototype.push = function(data) {\n const r = this.ss.push(data);\n if (this.finished) return r;\n};\n$c6a7fae6c342edd2$var$HeaderParser.prototype.reset = function() {\n this.finished = false;\n this.buffer = \"\";\n this.header = {};\n this.ss.reset();\n};\n$c6a7fae6c342edd2$var$HeaderParser.prototype._finish = function() {\n if (this.buffer) this._parseHeader();\n this.ss.matches = this.ss.maxMatches;\n const header = this.header;\n this.header = {};\n this.buffer = \"\";\n this.finished = true;\n this.nread = this.npairs = 0;\n this.maxed = false;\n this.emit(\"header\", header);\n};\n$c6a7fae6c342edd2$var$HeaderParser.prototype._parseHeader = function() {\n if (this.npairs === this.maxHeaderPairs) return;\n const lines = this.buffer.split($c6a7fae6c342edd2$var$RE_CRLF);\n const len = lines.length;\n let m, h;\n for(var i = 0; i < len; ++i){\n if (lines[i].length === 0) continue;\n if (lines[i][0] === \"\t\" || lines[i][0] === \" \") // folded header content\n // RFC2822 says to just remove the CRLF and not the whitespace following\n // it, so we follow the RFC and include the leading whitespace ...\n {\n if (h) {\n this.header[h][this.header[h].length - 1] += lines[i];\n continue;\n }\n }\n const posColon = lines[i].indexOf(\":\");\n if (posColon === -1 || posColon === 0) return;\n m = $c6a7fae6c342edd2$var$RE_HDR.exec(lines[i]);\n h = m[1].toLowerCase();\n this.header[h] = this.header[h] || [];\n this.header[h].push(m[2] || \"\");\n if (++this.npairs === this.maxHeaderPairs) break;\n }\n};\nmodule.exports = $c6a7fae6c342edd2$var$HeaderParser;\n\n});\nparcelRegister(\"gwBrT\", function(module, exports) {\n\"use strict\";\nmodule.exports = function getLimit(limits, name, defaultLimit) {\n if (!limits || limits[name] === undefined || limits[name] === null) return defaultLimit;\n if (typeof limits[name] !== \"number\" || isNaN(limits[name])) throw new TypeError(\"Limit \" + name + \" is not a valid number\");\n return limits[name];\n};\n\n});\n\n\n\nparcelRegister(\"7kiOh\", function(module, exports) {\n\"use strict\";\n\nvar $5558fdf0588d9f17$require$Readable = $7rf7a$nodestream.Readable;\n\nvar $5558fdf0588d9f17$require$inherits = $7rf7a$nodeutil.inherits;\n\nvar $j6bMN = parcelRequire(\"j6bMN\");\n\nvar $1OlId = parcelRequire(\"1OlId\");\n\nvar $lQF8k = parcelRequire(\"lQF8k\");\n\nvar $50Xs4 = parcelRequire(\"50Xs4\");\n\nvar $gwBrT = parcelRequire(\"gwBrT\");\nconst $5558fdf0588d9f17$var$RE_BOUNDARY = /^boundary$/i;\nconst $5558fdf0588d9f17$var$RE_FIELD = /^form-data$/i;\nconst $5558fdf0588d9f17$var$RE_CHARSET = /^charset$/i;\nconst $5558fdf0588d9f17$var$RE_FILENAME = /^filename$/i;\nconst $5558fdf0588d9f17$var$RE_NAME = /^name$/i;\n$5558fdf0588d9f17$var$Multipart.detect = /^multipart\\/form-data/i;\nfunction $5558fdf0588d9f17$var$Multipart(boy, cfg) {\n let i;\n let len;\n const self = this;\n let boundary;\n const limits = cfg.limits;\n const isPartAFile = cfg.isPartAFile || ((fieldName, contentType, fileName)=>contentType === \"application/octet-stream\" || fileName !== undefined);\n const parsedConType = cfg.parsedConType || [];\n const defCharset = cfg.defCharset || \"utf8\";\n const preservePath = cfg.preservePath;\n const fileOpts = {\n highWaterMark: cfg.fileHwm\n };\n for(i = 0, len = parsedConType.length; i < len; ++i)if (Array.isArray(parsedConType[i]) && $5558fdf0588d9f17$var$RE_BOUNDARY.test(parsedConType[i][0])) {\n boundary = parsedConType[i][1];\n break;\n }\n function checkFinished() {\n if (nends === 0 && finished && !boy._done) {\n finished = false;\n self.end();\n }\n }\n if (typeof boundary !== \"string\") throw new Error(\"Multipart: Boundary not found\");\n const fieldSizeLimit = $gwBrT(limits, \"fieldSize\", 1048576);\n const fileSizeLimit = $gwBrT(limits, \"fileSize\", Infinity);\n const filesLimit = $gwBrT(limits, \"files\", Infinity);\n const fieldsLimit = $gwBrT(limits, \"fields\", Infinity);\n const partsLimit = $gwBrT(limits, \"parts\", Infinity);\n const headerPairsLimit = $gwBrT(limits, \"headerPairs\", 2000);\n const headerSizeLimit = $gwBrT(limits, \"headerSize\", 81920);\n let nfiles = 0;\n let nfields = 0;\n let nends = 0;\n let curFile;\n let curField;\n let finished = false;\n this._needDrain = false;\n this._pause = false;\n this._cb = undefined;\n this._nparts = 0;\n this._boy = boy;\n const parserCfg = {\n boundary: boundary,\n maxHeaderPairs: headerPairsLimit,\n maxHeaderSize: headerSizeLimit,\n partHwm: fileOpts.highWaterMark,\n highWaterMark: cfg.highWaterMark\n };\n this.parser = new $j6bMN(parserCfg);\n this.parser.on(\"drain\", function() {\n self._needDrain = false;\n if (self._cb && !self._pause) {\n const cb = self._cb;\n self._cb = undefined;\n cb();\n }\n }).on(\"part\", function onPart(part) {\n if (++self._nparts > partsLimit) {\n self.parser.removeListener(\"part\", onPart);\n self.parser.on(\"part\", $5558fdf0588d9f17$var$skipPart);\n boy.hitPartsLimit = true;\n boy.emit(\"partsLimit\");\n return $5558fdf0588d9f17$var$skipPart(part);\n }\n // hack because streams2 _always_ doesn't emit 'end' until nextTick, so let\n // us emit 'end' early since we know the part has ended if we are already\n // seeing the next part\n if (curField) {\n const field = curField;\n field.emit(\"end\");\n field.removeAllListeners(\"end\");\n }\n part.on(\"header\", function(header) {\n let contype;\n let fieldname;\n let parsed;\n let charset;\n let encoding;\n let filename;\n let nsize = 0;\n if (header[\"content-type\"]) {\n parsed = $1OlId(header[\"content-type\"][0]);\n if (parsed[0]) {\n contype = parsed[0].toLowerCase();\n for(i = 0, len = parsed.length; i < len; ++i)if ($5558fdf0588d9f17$var$RE_CHARSET.test(parsed[i][0])) {\n charset = parsed[i][1].toLowerCase();\n break;\n }\n }\n }\n if (contype === undefined) contype = \"text/plain\";\n if (charset === undefined) charset = defCharset;\n if (header[\"content-disposition\"]) {\n parsed = $1OlId(header[\"content-disposition\"][0]);\n if (!$5558fdf0588d9f17$var$RE_FIELD.test(parsed[0])) return $5558fdf0588d9f17$var$skipPart(part);\n for(i = 0, len = parsed.length; i < len; ++i){\n if ($5558fdf0588d9f17$var$RE_NAME.test(parsed[i][0])) fieldname = parsed[i][1];\n else if ($5558fdf0588d9f17$var$RE_FILENAME.test(parsed[i][0])) {\n filename = parsed[i][1];\n if (!preservePath) filename = $50Xs4(filename);\n }\n }\n } else return $5558fdf0588d9f17$var$skipPart(part);\n if (header[\"content-transfer-encoding\"]) encoding = header[\"content-transfer-encoding\"][0].toLowerCase();\n else encoding = \"7bit\";\n let onData, onEnd;\n if (isPartAFile(fieldname, contype, filename)) {\n // file/binary field\n if (nfiles === filesLimit) {\n if (!boy.hitFilesLimit) {\n boy.hitFilesLimit = true;\n boy.emit(\"filesLimit\");\n }\n return $5558fdf0588d9f17$var$skipPart(part);\n }\n ++nfiles;\n if (boy.listenerCount(\"file\") === 0) {\n self.parser._ignore();\n return;\n }\n ++nends;\n const file = new $5558fdf0588d9f17$var$FileStream(fileOpts);\n curFile = file;\n file.on(\"end\", function() {\n --nends;\n self._pause = false;\n checkFinished();\n if (self._cb && !self._needDrain) {\n const cb = self._cb;\n self._cb = undefined;\n cb();\n }\n });\n file._read = function(n) {\n if (!self._pause) return;\n self._pause = false;\n if (self._cb && !self._needDrain) {\n const cb = self._cb;\n self._cb = undefined;\n cb();\n }\n };\n boy.emit(\"file\", fieldname, file, filename, encoding, contype);\n onData = function(data) {\n if ((nsize += data.length) > fileSizeLimit) {\n const extralen = fileSizeLimit - nsize + data.length;\n if (extralen > 0) file.push(data.slice(0, extralen));\n file.truncated = true;\n file.bytesRead = fileSizeLimit;\n part.removeAllListeners(\"data\");\n file.emit(\"limit\");\n return;\n } else if (!file.push(data)) self._pause = true;\n file.bytesRead = nsize;\n };\n onEnd = function() {\n curFile = undefined;\n file.push(null);\n };\n } else {\n // non-file field\n if (nfields === fieldsLimit) {\n if (!boy.hitFieldsLimit) {\n boy.hitFieldsLimit = true;\n boy.emit(\"fieldsLimit\");\n }\n return $5558fdf0588d9f17$var$skipPart(part);\n }\n ++nfields;\n ++nends;\n let buffer = \"\";\n let truncated = false;\n curField = part;\n onData = function(data) {\n if ((nsize += data.length) > fieldSizeLimit) {\n const extralen = fieldSizeLimit - (nsize - data.length);\n buffer += data.toString(\"binary\", 0, extralen);\n truncated = true;\n part.removeAllListeners(\"data\");\n } else buffer += data.toString(\"binary\");\n };\n onEnd = function() {\n curField = undefined;\n if (buffer.length) buffer = $lQF8k(buffer, \"binary\", charset);\n boy.emit(\"field\", fieldname, buffer, false, truncated, encoding, contype);\n --nends;\n checkFinished();\n };\n }\n /* As of node@2efe4ab761666 (v0.10.29+/v0.11.14+), busboy had become\n broken. Streams2/streams3 is a huge black box of confusion, but\n somehow overriding the sync state seems to fix things again (and still\n seems to work for previous node versions).\n */ part._readableState.sync = false;\n part.on(\"data\", onData);\n part.on(\"end\", onEnd);\n }).on(\"error\", function(err) {\n if (curFile) curFile.emit(\"error\", err);\n });\n }).on(\"error\", function(err) {\n boy.emit(\"error\", err);\n }).on(\"finish\", function() {\n finished = true;\n checkFinished();\n });\n}\n$5558fdf0588d9f17$var$Multipart.prototype.write = function(chunk, cb) {\n const r = this.parser.write(chunk);\n if (r && !this._pause) cb();\n else {\n this._needDrain = !r;\n this._cb = cb;\n }\n};\n$5558fdf0588d9f17$var$Multipart.prototype.end = function() {\n const self = this;\n if (self.parser.writable) self.parser.end();\n else if (!self._boy._done) process.nextTick(function() {\n self._boy._done = true;\n self._boy.emit(\"finish\");\n });\n};\nfunction $5558fdf0588d9f17$var$skipPart(part) {\n part.resume();\n}\nfunction $5558fdf0588d9f17$var$FileStream(opts) {\n $5558fdf0588d9f17$require$Readable.call(this, opts);\n this.bytesRead = 0;\n this.truncated = false;\n}\n$5558fdf0588d9f17$require$inherits($5558fdf0588d9f17$var$FileStream, $5558fdf0588d9f17$require$Readable);\n$5558fdf0588d9f17$var$FileStream.prototype._read = function(n) {};\nmodule.exports = $5558fdf0588d9f17$var$Multipart;\n\n});\nparcelRegister(\"1OlId\", function(module, exports) {\n/* eslint-disable object-property-newline */ \"use strict\";\n\nvar $lQF8k = parcelRequire(\"lQF8k\");\nconst $151b4d8e67d1c5bf$var$RE_ENCODED = /%[a-fA-F0-9][a-fA-F0-9]/g;\nconst $151b4d8e67d1c5bf$var$EncodedLookup = {\n \"%00\": \"\\0\",\n \"%01\": \"\\x01\",\n \"%02\": \"\\x02\",\n \"%03\": \"\\x03\",\n \"%04\": \"\\x04\",\n \"%05\": \"\\x05\",\n \"%06\": \"\\x06\",\n \"%07\": \"\\x07\",\n \"%08\": \"\\b\",\n \"%09\": \"\t\",\n \"%0a\": \"\\n\",\n \"%0A\": \"\\n\",\n \"%0b\": \"\\v\",\n \"%0B\": \"\\v\",\n \"%0c\": \"\\f\",\n \"%0C\": \"\\f\",\n \"%0d\": \"\\r\",\n \"%0D\": \"\\r\",\n \"%0e\": \"\\x0e\",\n \"%0E\": \"\\x0e\",\n \"%0f\": \"\\x0f\",\n \"%0F\": \"\\x0f\",\n \"%10\": \"\\x10\",\n \"%11\": \"\\x11\",\n \"%12\": \"\\x12\",\n \"%13\": \"\\x13\",\n \"%14\": \"\\x14\",\n \"%15\": \"\\x15\",\n \"%16\": \"\\x16\",\n \"%17\": \"\\x17\",\n \"%18\": \"\\x18\",\n \"%19\": \"\\x19\",\n \"%1a\": \"\\x1a\",\n \"%1A\": \"\\x1a\",\n \"%1b\": \"\\x1b\",\n \"%1B\": \"\\x1b\",\n \"%1c\": \"\\x1c\",\n \"%1C\": \"\\x1c\",\n \"%1d\": \"\\x1d\",\n \"%1D\": \"\\x1d\",\n \"%1e\": \"\\x1e\",\n \"%1E\": \"\\x1e\",\n \"%1f\": \"\\x1f\",\n \"%1F\": \"\\x1f\",\n \"%20\": \" \",\n \"%21\": \"!\",\n \"%22\": '\"',\n \"%23\": \"#\",\n \"%24\": \"$\",\n \"%25\": \"%\",\n \"%26\": \"&\",\n \"%27\": \"'\",\n \"%28\": \"(\",\n \"%29\": \")\",\n \"%2a\": \"*\",\n \"%2A\": \"*\",\n \"%2b\": \"+\",\n \"%2B\": \"+\",\n \"%2c\": \",\",\n \"%2C\": \",\",\n \"%2d\": \"-\",\n \"%2D\": \"-\",\n \"%2e\": \".\",\n \"%2E\": \".\",\n \"%2f\": \"/\",\n \"%2F\": \"/\",\n \"%30\": \"0\",\n \"%31\": \"1\",\n \"%32\": \"2\",\n \"%33\": \"3\",\n \"%34\": \"4\",\n \"%35\": \"5\",\n \"%36\": \"6\",\n \"%37\": \"7\",\n \"%38\": \"8\",\n \"%39\": \"9\",\n \"%3a\": \":\",\n \"%3A\": \":\",\n \"%3b\": \";\",\n \"%3B\": \";\",\n \"%3c\": \"<\",\n \"%3C\": \"<\",\n \"%3d\": \"=\",\n \"%3D\": \"=\",\n \"%3e\": \">\",\n \"%3E\": \">\",\n \"%3f\": \"?\",\n \"%3F\": \"?\",\n \"%40\": \"@\",\n \"%41\": \"A\",\n \"%42\": \"B\",\n \"%43\": \"C\",\n \"%44\": \"D\",\n \"%45\": \"E\",\n \"%46\": \"F\",\n \"%47\": \"G\",\n \"%48\": \"H\",\n \"%49\": \"I\",\n \"%4a\": \"J\",\n \"%4A\": \"J\",\n \"%4b\": \"K\",\n \"%4B\": \"K\",\n \"%4c\": \"L\",\n \"%4C\": \"L\",\n \"%4d\": \"M\",\n \"%4D\": \"M\",\n \"%4e\": \"N\",\n \"%4E\": \"N\",\n \"%4f\": \"O\",\n \"%4F\": \"O\",\n \"%50\": \"P\",\n \"%51\": \"Q\",\n \"%52\": \"R\",\n \"%53\": \"S\",\n \"%54\": \"T\",\n \"%55\": \"U\",\n \"%56\": \"V\",\n \"%57\": \"W\",\n \"%58\": \"X\",\n \"%59\": \"Y\",\n \"%5a\": \"Z\",\n \"%5A\": \"Z\",\n \"%5b\": \"[\",\n \"%5B\": \"[\",\n \"%5c\": \"\\\\\",\n \"%5C\": \"\\\\\",\n \"%5d\": \"]\",\n \"%5D\": \"]\",\n \"%5e\": \"^\",\n \"%5E\": \"^\",\n \"%5f\": \"_\",\n \"%5F\": \"_\",\n \"%60\": \"`\",\n \"%61\": \"a\",\n \"%62\": \"b\",\n \"%63\": \"c\",\n \"%64\": \"d\",\n \"%65\": \"e\",\n \"%66\": \"f\",\n \"%67\": \"g\",\n \"%68\": \"h\",\n \"%69\": \"i\",\n \"%6a\": \"j\",\n \"%6A\": \"j\",\n \"%6b\": \"k\",\n \"%6B\": \"k\",\n \"%6c\": \"l\",\n \"%6C\": \"l\",\n \"%6d\": \"m\",\n \"%6D\": \"m\",\n \"%6e\": \"n\",\n \"%6E\": \"n\",\n \"%6f\": \"o\",\n \"%6F\": \"o\",\n \"%70\": \"p\",\n \"%71\": \"q\",\n \"%72\": \"r\",\n \"%73\": \"s\",\n \"%74\": \"t\",\n \"%75\": \"u\",\n \"%76\": \"v\",\n \"%77\": \"w\",\n \"%78\": \"x\",\n \"%79\": \"y\",\n \"%7a\": \"z\",\n \"%7A\": \"z\",\n \"%7b\": \"{\",\n \"%7B\": \"{\",\n \"%7c\": \"|\",\n \"%7C\": \"|\",\n \"%7d\": \"}\",\n \"%7D\": \"}\",\n \"%7e\": \"~\",\n \"%7E\": \"~\",\n \"%7f\": \"\\x7f\",\n \"%7F\": \"\\x7f\",\n \"%80\": \"\\x80\",\n \"%81\": \"\\x81\",\n \"%82\": \"\\x82\",\n \"%83\": \"\\x83\",\n \"%84\": \"\\x84\",\n \"%85\": \"\\x85\",\n \"%86\": \"\\x86\",\n \"%87\": \"\\x87\",\n \"%88\": \"\\x88\",\n \"%89\": \"\\x89\",\n \"%8a\": \"\\x8a\",\n \"%8A\": \"\\x8a\",\n \"%8b\": \"\\x8b\",\n \"%8B\": \"\\x8b\",\n \"%8c\": \"\\x8c\",\n \"%8C\": \"\\x8c\",\n \"%8d\": \"\\x8d\",\n \"%8D\": \"\\x8d\",\n \"%8e\": \"\\x8e\",\n \"%8E\": \"\\x8e\",\n \"%8f\": \"\\x8f\",\n \"%8F\": \"\\x8f\",\n \"%90\": \"\\x90\",\n \"%91\": \"\\x91\",\n \"%92\": \"\\x92\",\n \"%93\": \"\\x93\",\n \"%94\": \"\\x94\",\n \"%95\": \"\\x95\",\n \"%96\": \"\\x96\",\n \"%97\": \"\\x97\",\n \"%98\": \"\\x98\",\n \"%99\": \"\\x99\",\n \"%9a\": \"\\x9a\",\n \"%9A\": \"\\x9a\",\n \"%9b\": \"\\x9b\",\n \"%9B\": \"\\x9b\",\n \"%9c\": \"\\x9c\",\n \"%9C\": \"\\x9c\",\n \"%9d\": \"\\x9d\",\n \"%9D\": \"\\x9d\",\n \"%9e\": \"\\x9e\",\n \"%9E\": \"\\x9e\",\n \"%9f\": \"\\x9f\",\n \"%9F\": \"\\x9f\",\n \"%a0\": \"\\xa0\",\n \"%A0\": \"\\xa0\",\n \"%a1\": \"\\xa1\",\n \"%A1\": \"\\xa1\",\n \"%a2\": \"\\xa2\",\n \"%A2\": \"\\xa2\",\n \"%a3\": \"\\xa3\",\n \"%A3\": \"\\xa3\",\n \"%a4\": \"\\xa4\",\n \"%A4\": \"\\xa4\",\n \"%a5\": \"\\xa5\",\n \"%A5\": \"\\xa5\",\n \"%a6\": \"\\xa6\",\n \"%A6\": \"\\xa6\",\n \"%a7\": \"\\xa7\",\n \"%A7\": \"\\xa7\",\n \"%a8\": \"\\xa8\",\n \"%A8\": \"\\xa8\",\n \"%a9\": \"\\xa9\",\n \"%A9\": \"\\xa9\",\n \"%aa\": \"\\xaa\",\n \"%Aa\": \"\\xaa\",\n \"%aA\": \"\\xaa\",\n \"%AA\": \"\\xaa\",\n \"%ab\": \"\\xab\",\n \"%Ab\": \"\\xab\",\n \"%aB\": \"\\xab\",\n \"%AB\": \"\\xab\",\n \"%ac\": \"\\xac\",\n \"%Ac\": \"\\xac\",\n \"%aC\": \"\\xac\",\n \"%AC\": \"\\xac\",\n \"%ad\": \"\\xad\",\n \"%Ad\": \"\\xad\",\n \"%aD\": \"\\xad\",\n \"%AD\": \"\\xad\",\n \"%ae\": \"\\xae\",\n \"%Ae\": \"\\xae\",\n \"%aE\": \"\\xae\",\n \"%AE\": \"\\xae\",\n \"%af\": \"\\xaf\",\n \"%Af\": \"\\xaf\",\n \"%aF\": \"\\xaf\",\n \"%AF\": \"\\xaf\",\n \"%b0\": \"\\xb0\",\n \"%B0\": \"\\xb0\",\n \"%b1\": \"\\xb1\",\n \"%B1\": \"\\xb1\",\n \"%b2\": \"\\xb2\",\n \"%B2\": \"\\xb2\",\n \"%b3\": \"\\xb3\",\n \"%B3\": \"\\xb3\",\n \"%b4\": \"\\xb4\",\n \"%B4\": \"\\xb4\",\n \"%b5\": \"\\xb5\",\n \"%B5\": \"\\xb5\",\n \"%b6\": \"\\xb6\",\n \"%B6\": \"\\xb6\",\n \"%b7\": \"\\xb7\",\n \"%B7\": \"\\xb7\",\n \"%b8\": \"\\xb8\",\n \"%B8\": \"\\xb8\",\n \"%b9\": \"\\xb9\",\n \"%B9\": \"\\xb9\",\n \"%ba\": \"\\xba\",\n \"%Ba\": \"\\xba\",\n \"%bA\": \"\\xba\",\n \"%BA\": \"\\xba\",\n \"%bb\": \"\\xbb\",\n \"%Bb\": \"\\xbb\",\n \"%bB\": \"\\xbb\",\n \"%BB\": \"\\xbb\",\n \"%bc\": \"\\xbc\",\n \"%Bc\": \"\\xbc\",\n \"%bC\": \"\\xbc\",\n \"%BC\": \"\\xbc\",\n \"%bd\": \"\\xbd\",\n \"%Bd\": \"\\xbd\",\n \"%bD\": \"\\xbd\",\n \"%BD\": \"\\xbd\",\n \"%be\": \"\\xbe\",\n \"%Be\": \"\\xbe\",\n \"%bE\": \"\\xbe\",\n \"%BE\": \"\\xbe\",\n \"%bf\": \"\\xbf\",\n \"%Bf\": \"\\xbf\",\n \"%bF\": \"\\xbf\",\n \"%BF\": \"\\xbf\",\n \"%c0\": \"\\xc0\",\n \"%C0\": \"\\xc0\",\n \"%c1\": \"\\xc1\",\n \"%C1\": \"\\xc1\",\n \"%c2\": \"\\xc2\",\n \"%C2\": \"\\xc2\",\n \"%c3\": \"\\xc3\",\n \"%C3\": \"\\xc3\",\n \"%c4\": \"\\xc4\",\n \"%C4\": \"\\xc4\",\n \"%c5\": \"\\xc5\",\n \"%C5\": \"\\xc5\",\n \"%c6\": \"\\xc6\",\n \"%C6\": \"\\xc6\",\n \"%c7\": \"\\xc7\",\n \"%C7\": \"\\xc7\",\n \"%c8\": \"\\xc8\",\n \"%C8\": \"\\xc8\",\n \"%c9\": \"\\xc9\",\n \"%C9\": \"\\xc9\",\n \"%ca\": \"\\xca\",\n \"%Ca\": \"\\xca\",\n \"%cA\": \"\\xca\",\n \"%CA\": \"\\xca\",\n \"%cb\": \"\\xcb\",\n \"%Cb\": \"\\xcb\",\n \"%cB\": \"\\xcb\",\n \"%CB\": \"\\xcb\",\n \"%cc\": \"\\xcc\",\n \"%Cc\": \"\\xcc\",\n \"%cC\": \"\\xcc\",\n \"%CC\": \"\\xcc\",\n \"%cd\": \"\\xcd\",\n \"%Cd\": \"\\xcd\",\n \"%cD\": \"\\xcd\",\n \"%CD\": \"\\xcd\",\n \"%ce\": \"\\xce\",\n \"%Ce\": \"\\xce\",\n \"%cE\": \"\\xce\",\n \"%CE\": \"\\xce\",\n \"%cf\": \"\\xcf\",\n \"%Cf\": \"\\xcf\",\n \"%cF\": \"\\xcf\",\n \"%CF\": \"\\xcf\",\n \"%d0\": \"\\xd0\",\n \"%D0\": \"\\xd0\",\n \"%d1\": \"\\xd1\",\n \"%D1\": \"\\xd1\",\n \"%d2\": \"\\xd2\",\n \"%D2\": \"\\xd2\",\n \"%d3\": \"\\xd3\",\n \"%D3\": \"\\xd3\",\n \"%d4\": \"\\xd4\",\n \"%D4\": \"\\xd4\",\n \"%d5\": \"\\xd5\",\n \"%D5\": \"\\xd5\",\n \"%d6\": \"\\xd6\",\n \"%D6\": \"\\xd6\",\n \"%d7\": \"\\xd7\",\n \"%D7\": \"\\xd7\",\n \"%d8\": \"\\xd8\",\n \"%D8\": \"\\xd8\",\n \"%d9\": \"\\xd9\",\n \"%D9\": \"\\xd9\",\n \"%da\": \"\\xda\",\n \"%Da\": \"\\xda\",\n \"%dA\": \"\\xda\",\n \"%DA\": \"\\xda\",\n \"%db\": \"\\xdb\",\n \"%Db\": \"\\xdb\",\n \"%dB\": \"\\xdb\",\n \"%DB\": \"\\xdb\",\n \"%dc\": \"\\xdc\",\n \"%Dc\": \"\\xdc\",\n \"%dC\": \"\\xdc\",\n \"%DC\": \"\\xdc\",\n \"%dd\": \"\\xdd\",\n \"%Dd\": \"\\xdd\",\n \"%dD\": \"\\xdd\",\n \"%DD\": \"\\xdd\",\n \"%de\": \"\\xde\",\n \"%De\": \"\\xde\",\n \"%dE\": \"\\xde\",\n \"%DE\": \"\\xde\",\n \"%df\": \"\\xdf\",\n \"%Df\": \"\\xdf\",\n \"%dF\": \"\\xdf\",\n \"%DF\": \"\\xdf\",\n \"%e0\": \"\\xe0\",\n \"%E0\": \"\\xe0\",\n \"%e1\": \"\\xe1\",\n \"%E1\": \"\\xe1\",\n \"%e2\": \"\\xe2\",\n \"%E2\": \"\\xe2\",\n \"%e3\": \"\\xe3\",\n \"%E3\": \"\\xe3\",\n \"%e4\": \"\\xe4\",\n \"%E4\": \"\\xe4\",\n \"%e5\": \"\\xe5\",\n \"%E5\": \"\\xe5\",\n \"%e6\": \"\\xe6\",\n \"%E6\": \"\\xe6\",\n \"%e7\": \"\\xe7\",\n \"%E7\": \"\\xe7\",\n \"%e8\": \"\\xe8\",\n \"%E8\": \"\\xe8\",\n \"%e9\": \"\\xe9\",\n \"%E9\": \"\\xe9\",\n \"%ea\": \"\\xea\",\n \"%Ea\": \"\\xea\",\n \"%eA\": \"\\xea\",\n \"%EA\": \"\\xea\",\n \"%eb\": \"\\xeb\",\n \"%Eb\": \"\\xeb\",\n \"%eB\": \"\\xeb\",\n \"%EB\": \"\\xeb\",\n \"%ec\": \"\\xec\",\n \"%Ec\": \"\\xec\",\n \"%eC\": \"\\xec\",\n \"%EC\": \"\\xec\",\n \"%ed\": \"\\xed\",\n \"%Ed\": \"\\xed\",\n \"%eD\": \"\\xed\",\n \"%ED\": \"\\xed\",\n \"%ee\": \"\\xee\",\n \"%Ee\": \"\\xee\",\n \"%eE\": \"\\xee\",\n \"%EE\": \"\\xee\",\n \"%ef\": \"\\xef\",\n \"%Ef\": \"\\xef\",\n \"%eF\": \"\\xef\",\n \"%EF\": \"\\xef\",\n \"%f0\": \"\\xf0\",\n \"%F0\": \"\\xf0\",\n \"%f1\": \"\\xf1\",\n \"%F1\": \"\\xf1\",\n \"%f2\": \"\\xf2\",\n \"%F2\": \"\\xf2\",\n \"%f3\": \"\\xf3\",\n \"%F3\": \"\\xf3\",\n \"%f4\": \"\\xf4\",\n \"%F4\": \"\\xf4\",\n \"%f5\": \"\\xf5\",\n \"%F5\": \"\\xf5\",\n \"%f6\": \"\\xf6\",\n \"%F6\": \"\\xf6\",\n \"%f7\": \"\\xf7\",\n \"%F7\": \"\\xf7\",\n \"%f8\": \"\\xf8\",\n \"%F8\": \"\\xf8\",\n \"%f9\": \"\\xf9\",\n \"%F9\": \"\\xf9\",\n \"%fa\": \"\\xfa\",\n \"%Fa\": \"\\xfa\",\n \"%fA\": \"\\xfa\",\n \"%FA\": \"\\xfa\",\n \"%fb\": \"\\xfb\",\n \"%Fb\": \"\\xfb\",\n \"%fB\": \"\\xfb\",\n \"%FB\": \"\\xfb\",\n \"%fc\": \"\\xfc\",\n \"%Fc\": \"\\xfc\",\n \"%fC\": \"\\xfc\",\n \"%FC\": \"\\xfc\",\n \"%fd\": \"\\xfd\",\n \"%Fd\": \"\\xfd\",\n \"%fD\": \"\\xfd\",\n \"%FD\": \"\\xfd\",\n \"%fe\": \"\\xfe\",\n \"%Fe\": \"\\xfe\",\n \"%fE\": \"\\xfe\",\n \"%FE\": \"\\xfe\",\n \"%ff\": \"\\xff\",\n \"%Ff\": \"\\xff\",\n \"%fF\": \"\\xff\",\n \"%FF\": \"\\xff\"\n};\nfunction $151b4d8e67d1c5bf$var$encodedReplacer(match) {\n return $151b4d8e67d1c5bf$var$EncodedLookup[match];\n}\nconst $151b4d8e67d1c5bf$var$STATE_KEY = 0;\nconst $151b4d8e67d1c5bf$var$STATE_VALUE = 1;\nconst $151b4d8e67d1c5bf$var$STATE_CHARSET = 2;\nconst $151b4d8e67d1c5bf$var$STATE_LANG = 3;\nfunction $151b4d8e67d1c5bf$var$parseParams(str) {\n const res = [];\n let state = $151b4d8e67d1c5bf$var$STATE_KEY;\n let charset = \"\";\n let inquote = false;\n let escaping = false;\n let p = 0;\n let tmp = \"\";\n const len = str.length;\n for(var i = 0; i < len; ++i){\n const char = str[i];\n if (char === \"\\\\\" && inquote) {\n if (escaping) escaping = false;\n else {\n escaping = true;\n continue;\n }\n } else if (char === '\"') {\n if (!escaping) {\n if (inquote) {\n inquote = false;\n state = $151b4d8e67d1c5bf$var$STATE_KEY;\n } else inquote = true;\n continue;\n } else escaping = false;\n } else {\n if (escaping && inquote) tmp += \"\\\\\";\n escaping = false;\n if ((state === $151b4d8e67d1c5bf$var$STATE_CHARSET || state === $151b4d8e67d1c5bf$var$STATE_LANG) && char === \"'\") {\n if (state === $151b4d8e67d1c5bf$var$STATE_CHARSET) {\n state = $151b4d8e67d1c5bf$var$STATE_LANG;\n charset = tmp.substring(1);\n } else state = $151b4d8e67d1c5bf$var$STATE_VALUE;\n tmp = \"\";\n continue;\n } else if (state === $151b4d8e67d1c5bf$var$STATE_KEY && (char === \"*\" || char === \"=\") && res.length) {\n state = char === \"*\" ? $151b4d8e67d1c5bf$var$STATE_CHARSET : $151b4d8e67d1c5bf$var$STATE_VALUE;\n res[p] = [\n tmp,\n undefined\n ];\n tmp = \"\";\n continue;\n } else if (!inquote && char === \";\") {\n state = $151b4d8e67d1c5bf$var$STATE_KEY;\n if (charset) {\n if (tmp.length) tmp = $lQF8k(tmp.replace($151b4d8e67d1c5bf$var$RE_ENCODED, $151b4d8e67d1c5bf$var$encodedReplacer), \"binary\", charset);\n charset = \"\";\n } else if (tmp.length) tmp = $lQF8k(tmp, \"binary\", \"utf8\");\n if (res[p] === undefined) res[p] = tmp;\n else res[p][1] = tmp;\n tmp = \"\";\n ++p;\n continue;\n } else if (!inquote && (char === \" \" || char === \"\t\")) continue;\n }\n tmp += char;\n }\n if (charset && tmp.length) tmp = $lQF8k(tmp.replace($151b4d8e67d1c5bf$var$RE_ENCODED, $151b4d8e67d1c5bf$var$encodedReplacer), \"binary\", charset);\n else if (tmp) tmp = $lQF8k(tmp, \"binary\", \"utf8\");\n if (res[p] === undefined) {\n if (tmp) res[p] = tmp;\n } else res[p][1] = tmp;\n return res;\n}\nmodule.exports = $151b4d8e67d1c5bf$var$parseParams;\n\n});\nparcelRegister(\"lQF8k\", function(module, exports) {\n\"use strict\";\n// Node has always utf-8\nconst $fe7e5c85709299bf$var$utf8Decoder = new TextDecoder(\"utf-8\");\nconst $fe7e5c85709299bf$var$textDecoders = new Map([\n [\n \"utf-8\",\n $fe7e5c85709299bf$var$utf8Decoder\n ],\n [\n \"utf8\",\n $fe7e5c85709299bf$var$utf8Decoder\n ]\n]);\nfunction $fe7e5c85709299bf$var$getDecoder(charset) {\n let lc;\n while(true)switch(charset){\n case \"utf-8\":\n case \"utf8\":\n return $fe7e5c85709299bf$var$decoders.utf8;\n case \"latin1\":\n case \"ascii\":\n case \"us-ascii\":\n case \"iso-8859-1\":\n case \"iso8859-1\":\n case \"iso88591\":\n case \"iso_8859-1\":\n case \"windows-1252\":\n case \"iso_8859-1:1987\":\n case \"cp1252\":\n case \"x-cp1252\":\n return $fe7e5c85709299bf$var$decoders.latin1;\n case \"utf16le\":\n case \"utf-16le\":\n case \"ucs2\":\n case \"ucs-2\":\n return $fe7e5c85709299bf$var$decoders.utf16le;\n case \"base64\":\n return $fe7e5c85709299bf$var$decoders.base64;\n default:\n if (lc === undefined) {\n lc = true;\n charset = charset.toLowerCase();\n continue;\n }\n return $fe7e5c85709299bf$var$decoders.other.bind(charset);\n }\n}\nconst $fe7e5c85709299bf$var$decoders = {\n utf8: (data, sourceEncoding)=>{\n if (data.length === 0) return \"\";\n if (typeof data === \"string\") data = Buffer.from(data, sourceEncoding);\n return data.utf8Slice(0, data.length);\n },\n latin1: (data, sourceEncoding)=>{\n if (data.length === 0) return \"\";\n if (typeof data === \"string\") return data;\n return data.latin1Slice(0, data.length);\n },\n utf16le: (data, sourceEncoding)=>{\n if (data.length === 0) return \"\";\n if (typeof data === \"string\") data = Buffer.from(data, sourceEncoding);\n return data.ucs2Slice(0, data.length);\n },\n base64: (data, sourceEncoding)=>{\n if (data.length === 0) return \"\";\n if (typeof data === \"string\") data = Buffer.from(data, sourceEncoding);\n return data.base64Slice(0, data.length);\n },\n other: (data, sourceEncoding)=>{\n if (data.length === 0) return \"\";\n if (typeof data === \"string\") data = Buffer.from(data, sourceEncoding);\n if ($fe7e5c85709299bf$var$textDecoders.has(module.exports.toString())) try {\n return $fe7e5c85709299bf$var$textDecoders.get(module.exports).decode(data);\n } catch {}\n return typeof data === \"string\" ? data : data.toString();\n }\n};\nfunction $fe7e5c85709299bf$var$decodeText(text, sourceEncoding, destEncoding) {\n if (text) return $fe7e5c85709299bf$var$getDecoder(destEncoding)(text, sourceEncoding);\n return text;\n}\nmodule.exports = $fe7e5c85709299bf$var$decodeText;\n\n});\n\n\nparcelRegister(\"50Xs4\", function(module, exports) {\n\"use strict\";\nmodule.exports = function basename(path) {\n if (typeof path !== \"string\") return \"\";\n for(var i = path.length - 1; i >= 0; --i)switch(path.charCodeAt(i)){\n case 0x2F:\n case 0x5C:\n path = path.slice(i + 1);\n return path === \"..\" || path === \".\" ? \"\" : path;\n }\n return path === \"..\" || path === \".\" ? \"\" : path;\n};\n\n});\n\n\nparcelRegister(\"ft0FD\", function(module, exports) {\n\"use strict\";\n\nvar $8S4Te = parcelRequire(\"8S4Te\");\n\nvar $lQF8k = parcelRequire(\"lQF8k\");\n\nvar $gwBrT = parcelRequire(\"gwBrT\");\nconst $b42a1597722f6283$var$RE_CHARSET = /^charset$/i;\n$b42a1597722f6283$var$UrlEncoded.detect = /^application\\/x-www-form-urlencoded/i;\nfunction $b42a1597722f6283$var$UrlEncoded(boy, cfg) {\n const limits = cfg.limits;\n const parsedConType = cfg.parsedConType;\n this.boy = boy;\n this.fieldSizeLimit = $gwBrT(limits, \"fieldSize\", 1048576);\n this.fieldNameSizeLimit = $gwBrT(limits, \"fieldNameSize\", 100);\n this.fieldsLimit = $gwBrT(limits, \"fields\", Infinity);\n let charset;\n for(var i = 0, len = parsedConType.length; i < len; ++i)if (Array.isArray(parsedConType[i]) && $b42a1597722f6283$var$RE_CHARSET.test(parsedConType[i][0])) {\n charset = parsedConType[i][1].toLowerCase();\n break;\n }\n if (charset === undefined) charset = cfg.defCharset || \"utf8\";\n this.decoder = new $8S4Te();\n this.charset = charset;\n this._fields = 0;\n this._state = \"key\";\n this._checkingBytes = true;\n this._bytesKey = 0;\n this._bytesVal = 0;\n this._key = \"\";\n this._val = \"\";\n this._keyTrunc = false;\n this._valTrunc = false;\n this._hitLimit = false;\n}\n$b42a1597722f6283$var$UrlEncoded.prototype.write = function(data, cb) {\n if (this._fields === this.fieldsLimit) {\n if (!this.boy.hitFieldsLimit) {\n this.boy.hitFieldsLimit = true;\n this.boy.emit(\"fieldsLimit\");\n }\n return cb();\n }\n let idxeq;\n let idxamp;\n let i;\n let p = 0;\n const len = data.length;\n while(p < len)if (this._state === \"key\") {\n idxeq = idxamp = undefined;\n for(i = p; i < len; ++i){\n if (!this._checkingBytes) ++p;\n if (data[i] === 0x3D /* = */ ) {\n idxeq = i;\n break;\n } else if (data[i] === 0x26 /* & */ ) {\n idxamp = i;\n break;\n }\n if (this._checkingBytes && this._bytesKey === this.fieldNameSizeLimit) {\n this._hitLimit = true;\n break;\n } else if (this._checkingBytes) ++this._bytesKey;\n }\n if (idxeq !== undefined) {\n // key with assignment\n if (idxeq > p) this._key += this.decoder.write(data.toString(\"binary\", p, idxeq));\n this._state = \"val\";\n this._hitLimit = false;\n this._checkingBytes = true;\n this._val = \"\";\n this._bytesVal = 0;\n this._valTrunc = false;\n this.decoder.reset();\n p = idxeq + 1;\n } else if (idxamp !== undefined) {\n // key with no assignment\n ++this._fields;\n let key;\n const keyTrunc = this._keyTrunc;\n if (idxamp > p) key = this._key += this.decoder.write(data.toString(\"binary\", p, idxamp));\n else key = this._key;\n this._hitLimit = false;\n this._checkingBytes = true;\n this._key = \"\";\n this._bytesKey = 0;\n this._keyTrunc = false;\n this.decoder.reset();\n if (key.length) this.boy.emit(\"field\", $lQF8k(key, \"binary\", this.charset), \"\", keyTrunc, false);\n p = idxamp + 1;\n if (this._fields === this.fieldsLimit) return cb();\n } else if (this._hitLimit) {\n // we may not have hit the actual limit if there are encoded bytes...\n if (i > p) this._key += this.decoder.write(data.toString(\"binary\", p, i));\n p = i;\n if ((this._bytesKey = this._key.length) === this.fieldNameSizeLimit) {\n // yep, we actually did hit the limit\n this._checkingBytes = false;\n this._keyTrunc = true;\n }\n } else {\n if (p < len) this._key += this.decoder.write(data.toString(\"binary\", p));\n p = len;\n }\n } else {\n idxamp = undefined;\n for(i = p; i < len; ++i){\n if (!this._checkingBytes) ++p;\n if (data[i] === 0x26 /* & */ ) {\n idxamp = i;\n break;\n }\n if (this._checkingBytes && this._bytesVal === this.fieldSizeLimit) {\n this._hitLimit = true;\n break;\n } else if (this._checkingBytes) ++this._bytesVal;\n }\n if (idxamp !== undefined) {\n ++this._fields;\n if (idxamp > p) this._val += this.decoder.write(data.toString(\"binary\", p, idxamp));\n this.boy.emit(\"field\", $lQF8k(this._key, \"binary\", this.charset), $lQF8k(this._val, \"binary\", this.charset), this._keyTrunc, this._valTrunc);\n this._state = \"key\";\n this._hitLimit = false;\n this._checkingBytes = true;\n this._key = \"\";\n this._bytesKey = 0;\n this._keyTrunc = false;\n this.decoder.reset();\n p = idxamp + 1;\n if (this._fields === this.fieldsLimit) return cb();\n } else if (this._hitLimit) {\n // we may not have hit the actual limit if there are encoded bytes...\n if (i > p) this._val += this.decoder.write(data.toString(\"binary\", p, i));\n p = i;\n if (this._val === \"\" && this.fieldSizeLimit === 0 || (this._bytesVal = this._val.length) === this.fieldSizeLimit) {\n // yep, we actually did hit the limit\n this._checkingBytes = false;\n this._valTrunc = true;\n }\n } else {\n if (p < len) this._val += this.decoder.write(data.toString(\"binary\", p));\n p = len;\n }\n }\n cb();\n};\n$b42a1597722f6283$var$UrlEncoded.prototype.end = function() {\n if (this.boy._done) return;\n if (this._state === \"key\" && this._key.length > 0) this.boy.emit(\"field\", $lQF8k(this._key, \"binary\", this.charset), \"\", this._keyTrunc, false);\n else if (this._state === \"val\") this.boy.emit(\"field\", $lQF8k(this._key, \"binary\", this.charset), $lQF8k(this._val, \"binary\", this.charset), this._keyTrunc, this._valTrunc);\n this.boy._done = true;\n this.boy.emit(\"finish\");\n};\nmodule.exports = $b42a1597722f6283$var$UrlEncoded;\n\n});\nparcelRegister(\"8S4Te\", function(module, exports) {\n\"use strict\";\nconst $675728e1cd5cc3b1$var$RE_PLUS = /\\+/g;\nconst $675728e1cd5cc3b1$var$HEX = [\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0\n];\nfunction $675728e1cd5cc3b1$var$Decoder() {\n this.buffer = undefined;\n}\n$675728e1cd5cc3b1$var$Decoder.prototype.write = function(str) {\n // Replace '+' with ' ' before decoding\n str = str.replace($675728e1cd5cc3b1$var$RE_PLUS, \" \");\n let res = \"\";\n let i = 0;\n let p = 0;\n const len = str.length;\n for(; i < len; ++i){\n if (this.buffer !== undefined) {\n if (!$675728e1cd5cc3b1$var$HEX[str.charCodeAt(i)]) {\n res += \"%\" + this.buffer;\n this.buffer = undefined;\n --i // retry character\n ;\n } else {\n this.buffer += str[i];\n ++p;\n if (this.buffer.length === 2) {\n res += String.fromCharCode(parseInt(this.buffer, 16));\n this.buffer = undefined;\n }\n }\n } else if (str[i] === \"%\") {\n if (i > p) {\n res += str.substring(p, i);\n p = i;\n }\n this.buffer = \"\";\n ++p;\n }\n }\n if (p < len && this.buffer === undefined) res += str.substring(p);\n return res;\n};\n$675728e1cd5cc3b1$var$Decoder.prototype.reset = function() {\n this.buffer = undefined;\n};\nmodule.exports = $675728e1cd5cc3b1$var$Decoder;\n\n});\n\n\n\nparcelRegister(\"2Ib5S\", function(module, exports) {\n\"use strict\";\n\nvar $7M1Hs = parcelRequire(\"7M1Hs\");\nvar $1f984bd5d9551445$require$redirectStatusSet = $7M1Hs.redirectStatusSet;\nvar $1f984bd5d9551445$require$referrerPolicyTokens = $7M1Hs.referrerPolicySet;\nvar $1f984bd5d9551445$require$badPortsSet = $7M1Hs.badPortsSet;\n\nvar $fz2bc = parcelRequire(\"fz2bc\");\nvar $1f984bd5d9551445$require$getGlobalOrigin = $fz2bc.getGlobalOrigin;\n\nvar $1f984bd5d9551445$require$performance = $7rf7a$perf_hooks.performance;\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\nvar $1f984bd5d9551445$require$isBlobLike = $jqWlt.isBlobLike;\nvar $1f984bd5d9551445$require$toUSVString = $jqWlt.toUSVString;\nvar $1f984bd5d9551445$require$ReadableStreamFrom = $jqWlt.ReadableStreamFrom;\n\n\nvar $jq6Nm = parcelRequire(\"jq6Nm\");\nvar $1f984bd5d9551445$require$isUint8Array = $jq6Nm.isUint8Array;\nlet $1f984bd5d9551445$var$supportedHashes = [];\n// https://nodejs.org/api/crypto.html#determining-if-crypto-support-is-unavailable\n/** @type {import('crypto')|undefined} */ let $1f984bd5d9551445$var$crypto;\n\ntry {\n $1f984bd5d9551445$var$crypto = $1f984bd5d9551445$import$c55b6e71aa693445;\n const possibleRelevantHashes = [\n \"sha256\",\n \"sha384\",\n \"sha512\"\n ];\n $1f984bd5d9551445$var$supportedHashes = $1f984bd5d9551445$var$crypto.getHashes().filter((hash)=>possibleRelevantHashes.includes(hash));\n/* c8 ignore next 3 */ } catch {}\nfunction $1f984bd5d9551445$var$responseURL(response) {\n // https://fetch.spec.whatwg.org/#responses\n // A response has an associated URL. It is a pointer to the last URL\n // in response’s URL list and null if response’s URL list is empty.\n const urlList = response.urlList;\n const length = urlList.length;\n return length === 0 ? null : urlList[length - 1].toString();\n}\n// https://fetch.spec.whatwg.org/#concept-response-location-url\nfunction $1f984bd5d9551445$var$responseLocationURL(response, requestFragment) {\n // 1. If response’s status is not a redirect status, then return null.\n if (!$1f984bd5d9551445$require$redirectStatusSet.has(response.status)) return null;\n // 2. Let location be the result of extracting header list values given\n // `Location` and response’s header list.\n let location = response.headersList.get(\"location\");\n // 3. If location is a header value, then set location to the result of\n // parsing location with response’s URL.\n if (location !== null && $1f984bd5d9551445$var$isValidHeaderValue(location)) location = new URL(location, $1f984bd5d9551445$var$responseURL(response));\n // 4. If location is a URL whose fragment is null, then set location’s\n // fragment to requestFragment.\n if (location && !location.hash) location.hash = requestFragment;\n // 5. Return location.\n return location;\n}\n/** @returns {URL} */ function $1f984bd5d9551445$var$requestCurrentURL(request) {\n return request.urlList[request.urlList.length - 1];\n}\nfunction $1f984bd5d9551445$var$requestBadPort(request) {\n // 1. Let url be request’s current URL.\n const url = $1f984bd5d9551445$var$requestCurrentURL(request);\n // 2. If url’s scheme is an HTTP(S) scheme and url’s port is a bad port,\n // then return blocked.\n if ($1f984bd5d9551445$var$urlIsHttpHttpsScheme(url) && $1f984bd5d9551445$require$badPortsSet.has(url.port)) return \"blocked\";\n // 3. Return allowed.\n return \"allowed\";\n}\nfunction $1f984bd5d9551445$var$isErrorLike(object) {\n return object instanceof Error || object?.constructor?.name === \"Error\" || object?.constructor?.name === \"DOMException\";\n}\n// Check whether |statusText| is a ByteString and\n// matches the Reason-Phrase token production.\n// RFC 2616: https://tools.ietf.org/html/rfc2616\n// RFC 7230: https://tools.ietf.org/html/rfc7230\n// \"reason-phrase = *( HTAB / SP / VCHAR / obs-text )\"\n// https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116\nfunction $1f984bd5d9551445$var$isValidReasonPhrase(statusText) {\n for(let i = 0; i < statusText.length; ++i){\n const c = statusText.charCodeAt(i);\n if (!(c === 0x09 || // HTAB\n c >= 0x20 && c <= 0x7e || // SP / VCHAR\n c >= 0x80 && c <= 0xff // obs-text\n )) return false;\n }\n return true;\n}\n/**\n * @see https://tools.ietf.org/html/rfc7230#section-3.2.6\n * @param {number} c\n */ function $1f984bd5d9551445$var$isTokenCharCode(c) {\n switch(c){\n case 0x22:\n case 0x28:\n case 0x29:\n case 0x2c:\n case 0x2f:\n case 0x3a:\n case 0x3b:\n case 0x3c:\n case 0x3d:\n case 0x3e:\n case 0x3f:\n case 0x40:\n case 0x5b:\n case 0x5c:\n case 0x5d:\n case 0x7b:\n case 0x7d:\n // DQUOTE and \"(),/:;<=>?@[\\]{}\"\n return false;\n default:\n // VCHAR %x21-7E\n return c >= 0x21 && c <= 0x7e;\n }\n}\n/**\n * @param {string} characters\n */ function $1f984bd5d9551445$var$isValidHTTPToken(characters) {\n if (characters.length === 0) return false;\n for(let i = 0; i < characters.length; ++i){\n if (!$1f984bd5d9551445$var$isTokenCharCode(characters.charCodeAt(i))) return false;\n }\n return true;\n}\n/**\n * @see https://fetch.spec.whatwg.org/#header-name\n * @param {string} potentialValue\n */ function $1f984bd5d9551445$var$isValidHeaderName(potentialValue) {\n return $1f984bd5d9551445$var$isValidHTTPToken(potentialValue);\n}\n/**\n * @see https://fetch.spec.whatwg.org/#header-value\n * @param {string} potentialValue\n */ function $1f984bd5d9551445$var$isValidHeaderValue(potentialValue) {\n // - Has no leading or trailing HTTP tab or space bytes.\n // - Contains no 0x00 (NUL) or HTTP newline bytes.\n if (potentialValue.startsWith(\"\t\") || potentialValue.startsWith(\" \") || potentialValue.endsWith(\"\t\") || potentialValue.endsWith(\" \")) return false;\n if (potentialValue.includes(\"\\0\") || potentialValue.includes(\"\\r\") || potentialValue.includes(\"\\n\")) return false;\n return true;\n}\n// https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect\nfunction $1f984bd5d9551445$var$setRequestReferrerPolicyOnRedirect(request, actualResponse) {\n // Given a request request and a response actualResponse, this algorithm\n // updates request’s referrer policy according to the Referrer-Policy\n // header (if any) in actualResponse.\n // 1. Let policy be the result of executing § 8.1 Parse a referrer policy\n // from a Referrer-Policy header on actualResponse.\n // 8.1 Parse a referrer policy from a Referrer-Policy header\n // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list.\n const { headersList: headersList } = actualResponse;\n // 2. Let policy be the empty string.\n // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token.\n // 4. Return policy.\n const policyHeader = (headersList.get(\"referrer-policy\") ?? \"\").split(\",\");\n // Note: As the referrer-policy can contain multiple policies\n // separated by comma, we need to loop through all of them\n // and pick the first valid one.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy\n let policy = \"\";\n if (policyHeader.length > 0) // The right-most policy takes precedence.\n // The left-most policy is the fallback.\n for(let i = policyHeader.length; i !== 0; i--){\n const token = policyHeader[i - 1].trim();\n if ($1f984bd5d9551445$require$referrerPolicyTokens.has(token)) {\n policy = token;\n break;\n }\n }\n // 2. If policy is not the empty string, then set request’s referrer policy to policy.\n if (policy !== \"\") request.referrerPolicy = policy;\n}\n// https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check\nfunction $1f984bd5d9551445$var$crossOriginResourcePolicyCheck() {\n // TODO\n return \"allowed\";\n}\n// https://fetch.spec.whatwg.org/#concept-cors-check\nfunction $1f984bd5d9551445$var$corsCheck() {\n // TODO\n return \"success\";\n}\n// https://fetch.spec.whatwg.org/#concept-tao-check\nfunction $1f984bd5d9551445$var$TAOCheck() {\n // TODO\n return \"success\";\n}\nfunction $1f984bd5d9551445$var$appendFetchMetadata(httpRequest) {\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header\n // TODO\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header\n // 1. Assert: r’s url is a potentially trustworthy URL.\n // TODO\n // 2. Let header be a Structured Header whose value is a token.\n let header = null;\n // 3. Set header’s value to r’s mode.\n header = httpRequest.mode;\n // 4. Set a structured field value `Sec-Fetch-Mode`/header in r’s header list.\n httpRequest.headersList.set(\"sec-fetch-mode\", header);\n// https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header\n// TODO\n// https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header\n// TODO\n}\n// https://fetch.spec.whatwg.org/#append-a-request-origin-header\nfunction $1f984bd5d9551445$var$appendRequestOriginHeader(request) {\n // 1. Let serializedOrigin be the result of byte-serializing a request origin with request.\n let serializedOrigin = request.origin;\n // 2. If request’s response tainting is \"cors\" or request’s mode is \"websocket\", then append (`Origin`, serializedOrigin) to request’s header list.\n if (request.responseTainting === \"cors\" || request.mode === \"websocket\") {\n if (serializedOrigin) request.headersList.append(\"origin\", serializedOrigin);\n } else if (request.method !== \"GET\" && request.method !== \"HEAD\") {\n // 1. Switch on request’s referrer policy:\n switch(request.referrerPolicy){\n case \"no-referrer\":\n // Set serializedOrigin to `null`.\n serializedOrigin = null;\n break;\n case \"no-referrer-when-downgrade\":\n case \"strict-origin\":\n case \"strict-origin-when-cross-origin\":\n // If request’s origin is a tuple origin, its scheme is \"https\", and request’s current URL’s scheme is not \"https\", then set serializedOrigin to `null`.\n if (request.origin && $1f984bd5d9551445$var$urlHasHttpsScheme(request.origin) && !$1f984bd5d9551445$var$urlHasHttpsScheme($1f984bd5d9551445$var$requestCurrentURL(request))) serializedOrigin = null;\n break;\n case \"same-origin\":\n // If request’s origin is not same origin with request’s current URL’s origin, then set serializedOrigin to `null`.\n if (!$1f984bd5d9551445$var$sameOrigin(request, $1f984bd5d9551445$var$requestCurrentURL(request))) serializedOrigin = null;\n break;\n default:\n }\n if (serializedOrigin) // 2. Append (`Origin`, serializedOrigin) to request’s header list.\n request.headersList.append(\"origin\", serializedOrigin);\n }\n}\nfunction $1f984bd5d9551445$var$coarsenedSharedCurrentTime(crossOriginIsolatedCapability) {\n // TODO\n return $1f984bd5d9551445$require$performance.now();\n}\n// https://fetch.spec.whatwg.org/#create-an-opaque-timing-info\nfunction $1f984bd5d9551445$var$createOpaqueTimingInfo(timingInfo) {\n return {\n startTime: timingInfo.startTime ?? 0,\n redirectStartTime: 0,\n redirectEndTime: 0,\n postRedirectStartTime: timingInfo.startTime ?? 0,\n finalServiceWorkerStartTime: 0,\n finalNetworkResponseStartTime: 0,\n finalNetworkRequestStartTime: 0,\n endTime: 0,\n encodedBodySize: 0,\n decodedBodySize: 0,\n finalConnectionTimingInfo: null\n };\n}\n// https://html.spec.whatwg.org/multipage/origin.html#policy-container\nfunction $1f984bd5d9551445$var$makePolicyContainer() {\n // Note: the fetch spec doesn't make use of embedder policy or CSP list\n return {\n referrerPolicy: \"strict-origin-when-cross-origin\"\n };\n}\n// https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container\nfunction $1f984bd5d9551445$var$clonePolicyContainer(policyContainer) {\n return {\n referrerPolicy: policyContainer.referrerPolicy\n };\n}\n// https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer\nfunction $1f984bd5d9551445$var$determineRequestsReferrer(request) {\n // 1. Let policy be request's referrer policy.\n const policy = request.referrerPolicy;\n // Note: policy cannot (shouldn't) be null or an empty string.\n $7rf7a$assert(policy);\n // 2. Let environment be request’s client.\n let referrerSource = null;\n // 3. Switch on request’s referrer:\n if (request.referrer === \"client\") {\n // Note: node isn't a browser and doesn't implement document/iframes,\n // so we bypass this step and replace it with our own.\n const globalOrigin = $1f984bd5d9551445$require$getGlobalOrigin();\n if (!globalOrigin || globalOrigin.origin === \"null\") return \"no-referrer\";\n // note: we need to clone it as it's mutated\n referrerSource = new URL(globalOrigin);\n } else if (request.referrer instanceof URL) // Let referrerSource be request’s referrer.\n referrerSource = request.referrer;\n // 4. Let request’s referrerURL be the result of stripping referrerSource for\n // use as a referrer.\n let referrerURL = $1f984bd5d9551445$var$stripURLForReferrer(referrerSource);\n // 5. Let referrerOrigin be the result of stripping referrerSource for use as\n // a referrer, with the origin-only flag set to true.\n const referrerOrigin = $1f984bd5d9551445$var$stripURLForReferrer(referrerSource, true);\n // 6. If the result of serializing referrerURL is a string whose length is\n // greater than 4096, set referrerURL to referrerOrigin.\n if (referrerURL.toString().length > 4096) referrerURL = referrerOrigin;\n const areSameOrigin = $1f984bd5d9551445$var$sameOrigin(request, referrerURL);\n const isNonPotentiallyTrustWorthy = $1f984bd5d9551445$var$isURLPotentiallyTrustworthy(referrerURL) && !$1f984bd5d9551445$var$isURLPotentiallyTrustworthy(request.url);\n // 8. Execute the switch statements corresponding to the value of policy:\n switch(policy){\n case \"origin\":\n return referrerOrigin != null ? referrerOrigin : $1f984bd5d9551445$var$stripURLForReferrer(referrerSource, true);\n case \"unsafe-url\":\n return referrerURL;\n case \"same-origin\":\n return areSameOrigin ? referrerOrigin : \"no-referrer\";\n case \"origin-when-cross-origin\":\n return areSameOrigin ? referrerURL : referrerOrigin;\n case \"strict-origin-when-cross-origin\":\n {\n const currentURL = $1f984bd5d9551445$var$requestCurrentURL(request);\n // 1. If the origin of referrerURL and the origin of request’s current\n // URL are the same, then return referrerURL.\n if ($1f984bd5d9551445$var$sameOrigin(referrerURL, currentURL)) return referrerURL;\n // 2. If referrerURL is a potentially trustworthy URL and request’s\n // current URL is not a potentially trustworthy URL, then return no\n // referrer.\n if ($1f984bd5d9551445$var$isURLPotentiallyTrustworthy(referrerURL) && !$1f984bd5d9551445$var$isURLPotentiallyTrustworthy(currentURL)) return \"no-referrer\";\n // 3. Return referrerOrigin.\n return referrerOrigin;\n }\n case \"strict-origin\":\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request’s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */ case \"no-referrer-when-downgrade\":\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request’s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */ default:\n return isNonPotentiallyTrustWorthy ? \"no-referrer\" : referrerOrigin;\n }\n}\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url\n * @param {URL} url\n * @param {boolean|undefined} originOnly\n */ function $1f984bd5d9551445$var$stripURLForReferrer(url, originOnly) {\n // 1. Assert: url is a URL.\n $7rf7a$assert(url instanceof URL);\n // 2. If url’s scheme is a local scheme, then return no referrer.\n if (url.protocol === \"file:\" || url.protocol === \"about:\" || url.protocol === \"blank:\") return \"no-referrer\";\n // 3. Set url’s username to the empty string.\n url.username = \"\";\n // 4. Set url’s password to the empty string.\n url.password = \"\";\n // 5. Set url’s fragment to null.\n url.hash = \"\";\n // 6. If the origin-only flag is true, then:\n if (originOnly) {\n // 1. Set url’s path to « the empty string ».\n url.pathname = \"\";\n // 2. Set url’s query to null.\n url.search = \"\";\n }\n // 7. Return url.\n return url;\n}\nfunction $1f984bd5d9551445$var$isURLPotentiallyTrustworthy(url) {\n if (!(url instanceof URL)) return false;\n // If child of about, return true\n if (url.href === \"about:blank\" || url.href === \"about:srcdoc\") return true;\n // If scheme is data, return true\n if (url.protocol === \"data:\") return true;\n // If file, return true\n if (url.protocol === \"file:\") return true;\n return isOriginPotentiallyTrustworthy(url.origin);\n function isOriginPotentiallyTrustworthy(origin) {\n // If origin is explicitly null, return false\n if (origin == null || origin === \"null\") return false;\n const originAsURL = new URL(origin);\n // If secure, return true\n if (originAsURL.protocol === \"https:\" || originAsURL.protocol === \"wss:\") return true;\n // If localhost or variants, return true\n if (/^127(?:\\.[0-9]+){0,2}\\.[0-9]+$|^\\[(?:0*:)*?:?0*1\\]$/.test(originAsURL.hostname) || originAsURL.hostname === \"localhost\" || originAsURL.hostname.includes(\"localhost.\") || originAsURL.hostname.endsWith(\".localhost\")) return true;\n // If any other, return false\n return false;\n }\n}\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist\n * @param {Uint8Array} bytes\n * @param {string} metadataList\n */ function $1f984bd5d9551445$var$bytesMatch(bytes, metadataList) {\n // If node is not built with OpenSSL support, we cannot check\n // a request's integrity, so allow it by default (the spec will\n // allow requests if an invalid hash is given, as precedence).\n /* istanbul ignore if: only if node is built with --without-ssl */ if ($1f984bd5d9551445$var$crypto === undefined) return true;\n // 1. Let parsedMetadata be the result of parsing metadataList.\n const parsedMetadata = $1f984bd5d9551445$var$parseMetadata(metadataList);\n // 2. If parsedMetadata is no metadata, return true.\n if (parsedMetadata === \"no metadata\") return true;\n // 3. If response is not eligible for integrity validation, return false.\n // TODO\n // 4. If parsedMetadata is the empty set, return true.\n if (parsedMetadata.length === 0) return true;\n // 5. Let metadata be the result of getting the strongest\n // metadata from parsedMetadata.\n const strongest = $1f984bd5d9551445$var$getStrongestMetadata(parsedMetadata);\n const metadata = $1f984bd5d9551445$var$filterMetadataListByAlgorithm(parsedMetadata, strongest);\n // 6. For each item in metadata:\n for (const item of metadata){\n // 1. Let algorithm be the alg component of item.\n const algorithm = item.algo;\n // 2. Let expectedValue be the val component of item.\n const expectedValue = item.hash;\n // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e\n // \"be liberal with padding\". This is annoying, and it's not even in the spec.\n // 3. Let actualValue be the result of applying algorithm to bytes.\n let actualValue = $1f984bd5d9551445$var$crypto.createHash(algorithm).update(bytes).digest(\"base64\");\n if (actualValue[actualValue.length - 1] === \"=\") {\n if (actualValue[actualValue.length - 2] === \"=\") actualValue = actualValue.slice(0, -2);\n else actualValue = actualValue.slice(0, -1);\n }\n // 4. If actualValue is a case-sensitive match for expectedValue,\n // return true.\n if ($1f984bd5d9551445$var$compareBase64Mixed(actualValue, expectedValue)) return true;\n }\n // 7. Return false.\n return false;\n}\n// https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options\n// https://www.w3.org/TR/CSP2/#source-list-syntax\n// https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1\nconst $1f984bd5d9551445$var$parseHashWithOptions = /(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\\s|$)( +[!-~]*)?)?/i;\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata\n * @param {string} metadata\n */ function $1f984bd5d9551445$var$parseMetadata(metadata) {\n // 1. Let result be the empty set.\n /** @type {{ algo: string, hash: string }[]} */ const result = [];\n // 2. Let empty be equal to true.\n let empty = true;\n // 3. For each token returned by splitting metadata on spaces:\n for (const token of metadata.split(\" \")){\n // 1. Set empty to false.\n empty = false;\n // 2. Parse token as a hash-with-options.\n const parsedToken = $1f984bd5d9551445$var$parseHashWithOptions.exec(token);\n // 3. If token does not parse, continue to the next token.\n if (parsedToken === null || parsedToken.groups === undefined || parsedToken.groups.algo === undefined) continue;\n // 4. Let algorithm be the hash-algo component of token.\n const algorithm = parsedToken.groups.algo.toLowerCase();\n // 5. If algorithm is a hash function recognized by the user\n // agent, add the parsed token to result.\n if ($1f984bd5d9551445$var$supportedHashes.includes(algorithm)) result.push(parsedToken.groups);\n }\n // 4. Return no metadata if empty is true, otherwise return result.\n if (empty === true) return \"no metadata\";\n return result;\n}\n/**\n * @param {{ algo: 'sha256' | 'sha384' | 'sha512' }[]} metadataList\n */ function $1f984bd5d9551445$var$getStrongestMetadata(metadataList) {\n // Let algorithm be the algo component of the first item in metadataList.\n // Can be sha256\n let algorithm = metadataList[0].algo;\n // If the algorithm is sha512, then it is the strongest\n // and we can return immediately\n if (algorithm[3] === \"5\") return algorithm;\n for(let i = 1; i < metadataList.length; ++i){\n const metadata = metadataList[i];\n // If the algorithm is sha512, then it is the strongest\n // and we can break the loop immediately\n if (metadata.algo[3] === \"5\") {\n algorithm = \"sha512\";\n break;\n // If the algorithm is sha384, then a potential sha256 or sha384 is ignored\n } else if (algorithm[3] === \"3\") continue;\n else if (metadata.algo[3] === \"3\") algorithm = \"sha384\";\n }\n return algorithm;\n}\nfunction $1f984bd5d9551445$var$filterMetadataListByAlgorithm(metadataList, algorithm) {\n if (metadataList.length === 1) return metadataList;\n let pos = 0;\n for(let i = 0; i < metadataList.length; ++i)if (metadataList[i].algo === algorithm) metadataList[pos++] = metadataList[i];\n metadataList.length = pos;\n return metadataList;\n}\n/**\n * Compares two base64 strings, allowing for base64url\n * in the second string.\n *\n* @param {string} actualValue always base64\n * @param {string} expectedValue base64 or base64url\n * @returns {boolean}\n */ function $1f984bd5d9551445$var$compareBase64Mixed(actualValue, expectedValue) {\n if (actualValue.length !== expectedValue.length) return false;\n for(let i = 0; i < actualValue.length; ++i)if (actualValue[i] !== expectedValue[i]) {\n if (actualValue[i] === \"+\" && expectedValue[i] === \"-\" || actualValue[i] === \"/\" && expectedValue[i] === \"_\") continue;\n return false;\n }\n return true;\n}\n// https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request\nfunction $1f984bd5d9551445$var$tryUpgradeRequestToAPotentiallyTrustworthyURL(request) {\n// TODO\n}\n/**\n * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin}\n * @param {URL} A\n * @param {URL} B\n */ function $1f984bd5d9551445$var$sameOrigin(A, B) {\n // 1. If A and B are the same opaque origin, then return true.\n if (A.origin === B.origin && A.origin === \"null\") return true;\n // 2. If A and B are both tuple origins and their schemes,\n // hosts, and port are identical, then return true.\n if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) return true;\n // 3. Return false.\n return false;\n}\nfunction $1f984bd5d9551445$var$createDeferredPromise() {\n let res;\n let rej;\n const promise = new Promise((resolve, reject)=>{\n res = resolve;\n rej = reject;\n });\n return {\n promise: promise,\n resolve: res,\n reject: rej\n };\n}\nfunction $1f984bd5d9551445$var$isAborted(fetchParams) {\n return fetchParams.controller.state === \"aborted\";\n}\nfunction $1f984bd5d9551445$var$isCancelled(fetchParams) {\n return fetchParams.controller.state === \"aborted\" || fetchParams.controller.state === \"terminated\";\n}\nconst $1f984bd5d9551445$var$normalizeMethodRecord = {\n delete: \"DELETE\",\n DELETE: \"DELETE\",\n get: \"GET\",\n GET: \"GET\",\n head: \"HEAD\",\n HEAD: \"HEAD\",\n options: \"OPTIONS\",\n OPTIONS: \"OPTIONS\",\n post: \"POST\",\n POST: \"POST\",\n put: \"PUT\",\n PUT: \"PUT\"\n};\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf($1f984bd5d9551445$var$normalizeMethodRecord, null);\n/**\n * @see https://fetch.spec.whatwg.org/#concept-method-normalize\n * @param {string} method\n */ function $1f984bd5d9551445$var$normalizeMethod(method) {\n return $1f984bd5d9551445$var$normalizeMethodRecord[method.toLowerCase()] ?? method;\n}\n// https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string\nfunction $1f984bd5d9551445$var$serializeJavascriptValueToJSONString(value) {\n // 1. Let result be ? Call(%JSON.stringify%, undefined, « value »).\n const result = JSON.stringify(value);\n // 2. If result is undefined, then throw a TypeError.\n if (result === undefined) throw new TypeError(\"Value is not JSON serializable\");\n // 3. Assert: result is a string.\n $7rf7a$assert(typeof result === \"string\");\n // 4. Return result.\n return result;\n}\n// https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object\nconst $1f984bd5d9551445$var$esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {() => unknown[]} iterator\n * @param {string} name name of the instance\n * @param {'key'|'value'|'key+value'} kind\n */ function $1f984bd5d9551445$var$makeIterator(iterator, name, kind) {\n const object = {\n index: 0,\n kind: kind,\n target: iterator\n };\n const i = {\n next () {\n // 1. Let interface be the interface for which the iterator prototype object exists.\n // 2. Let thisValue be the this value.\n // 3. Let object be ? ToObject(thisValue).\n // 4. If object is a platform object, then perform a security\n // check, passing:\n // 5. If object is not a default iterator object for interface,\n // then throw a TypeError.\n if (Object.getPrototypeOf(this) !== i) throw new TypeError(`'next' called on an object that does not implement interface ${name} Iterator.`);\n // 6. Let index be object’s index.\n // 7. Let kind be object’s kind.\n // 8. Let values be object’s target's value pairs to iterate over.\n const { index: index, kind: kind, target: target } = object;\n const values = target();\n // 9. Let len be the length of values.\n const len = values.length;\n // 10. If index is greater than or equal to len, then return\n // CreateIterResultObject(undefined, true).\n if (index >= len) return {\n value: undefined,\n done: true\n };\n // 11. Let pair be the entry in values at index index.\n const pair = values[index];\n // 12. Set object’s index to index + 1.\n object.index = index + 1;\n // 13. Return the iterator result for pair and kind.\n return $1f984bd5d9551445$var$iteratorResult(pair, kind);\n },\n // The class string of an iterator prototype object for a given interface is the\n // result of concatenating the identifier of the interface and the string \" Iterator\".\n [Symbol.toStringTag]: `${name} Iterator`\n };\n // The [[Prototype]] internal slot of an iterator prototype object must be %IteratorPrototype%.\n Object.setPrototypeOf(i, $1f984bd5d9551445$var$esIteratorPrototype);\n // esIteratorPrototype needs to be the prototype of i\n // which is the prototype of an empty object. Yes, it's confusing.\n return Object.setPrototypeOf({}, i);\n}\n// https://webidl.spec.whatwg.org/#iterator-result\nfunction $1f984bd5d9551445$var$iteratorResult(pair, kind) {\n let result;\n // 1. Let result be a value determined by the value of kind:\n switch(kind){\n case \"key\":\n // 1. Let idlKey be pair’s key.\n // 2. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 3. result is key.\n result = pair[0];\n break;\n case \"value\":\n // 1. Let idlValue be pair’s value.\n // 2. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 3. result is value.\n result = pair[1];\n break;\n case \"key+value\":\n // 1. Let idlKey be pair’s key.\n // 2. Let idlValue be pair’s value.\n // 3. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 4. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 5. Let array be ! ArrayCreate(2).\n // 6. Call ! CreateDataProperty(array, \"0\", key).\n // 7. Call ! CreateDataProperty(array, \"1\", value).\n // 8. result is array.\n result = pair;\n break;\n }\n // 2. Return CreateIterResultObject(result, false).\n return {\n value: result,\n done: false\n };\n}\n/**\n * @see https://fetch.spec.whatwg.org/#body-fully-read\n */ async function $1f984bd5d9551445$var$fullyReadBody(body, processBody, processBodyError) {\n // 1. If taskDestination is null, then set taskDestination to\n // the result of starting a new parallel queue.\n // 2. Let successSteps given a byte sequence bytes be to queue a\n // fetch task to run processBody given bytes, with taskDestination.\n const successSteps = processBody;\n // 3. Let errorSteps be to queue a fetch task to run processBodyError,\n // with taskDestination.\n const errorSteps = processBodyError;\n // 4. Let reader be the result of getting a reader for body’s stream.\n // If that threw an exception, then run errorSteps with that\n // exception and return.\n let reader;\n try {\n reader = body.stream.getReader();\n } catch (e) {\n errorSteps(e);\n return;\n }\n // 5. Read all bytes from reader, given successSteps and errorSteps.\n try {\n const result = await $1f984bd5d9551445$var$readAllBytes(reader);\n successSteps(result);\n } catch (e) {\n errorSteps(e);\n }\n}\n/** @type {ReadableStream} */ let $1f984bd5d9551445$var$ReadableStream = globalThis.ReadableStream;\n\nfunction $1f984bd5d9551445$var$isReadableStreamLike(stream) {\n if (!$1f984bd5d9551445$var$ReadableStream) $1f984bd5d9551445$var$ReadableStream = (parcelRequire(\"j5cOJ\")).ReadableStream;\n return stream instanceof $1f984bd5d9551445$var$ReadableStream || stream[Symbol.toStringTag] === \"ReadableStream\" && typeof stream.tee === \"function\";\n}\nconst $1f984bd5d9551445$var$MAXIMUM_ARGUMENT_LENGTH = 65535;\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-decode\n * @param {number[]|Uint8Array} input\n */ function $1f984bd5d9551445$var$isomorphicDecode(input) {\n // 1. To isomorphic decode a byte sequence input, return a string whose code point\n // length is equal to input’s length and whose code points have the same values\n // as the values of input’s bytes, in the same order.\n if (input.length < $1f984bd5d9551445$var$MAXIMUM_ARGUMENT_LENGTH) return String.fromCharCode(...input);\n return input.reduce((previous, current)=>previous + String.fromCharCode(current), \"\");\n}\n/**\n * @param {ReadableStreamController} controller\n */ function $1f984bd5d9551445$var$readableStreamClose(controller) {\n try {\n controller.close();\n } catch (err) {\n // TODO: add comment explaining why this error occurs.\n if (!err.message.includes(\"Controller is already closed\")) throw err;\n }\n}\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-encode\n * @param {string} input\n */ function $1f984bd5d9551445$var$isomorphicEncode(input) {\n // 1. Assert: input contains no code points greater than U+00FF.\n for(let i = 0; i < input.length; i++)$7rf7a$assert(input.charCodeAt(i) <= 0xFF);\n // 2. Return a byte sequence whose length is equal to input’s code\n // point length and whose bytes have the same values as the\n // values of input’s code points, in the same order\n return input;\n}\n/**\n * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes\n * @see https://streams.spec.whatwg.org/#read-loop\n * @param {ReadableStreamDefaultReader} reader\n */ async function $1f984bd5d9551445$var$readAllBytes(reader) {\n const bytes = [];\n let byteLength = 0;\n while(true){\n const { done: done, value: chunk } = await reader.read();\n if (done) // 1. Call successSteps with bytes.\n return Buffer.concat(bytes, byteLength);\n // 1. If chunk is not a Uint8Array object, call failureSteps\n // with a TypeError and abort these steps.\n if (!$1f984bd5d9551445$require$isUint8Array(chunk)) throw new TypeError(\"Received non-Uint8Array chunk\");\n // 2. Append the bytes represented by chunk to bytes.\n bytes.push(chunk);\n byteLength += chunk.length;\n // 3. Read-loop given reader, bytes, successSteps, and failureSteps.\n }\n}\n/**\n * @see https://fetch.spec.whatwg.org/#is-local\n * @param {URL} url\n */ function $1f984bd5d9551445$var$urlIsLocal(url) {\n $7rf7a$assert(\"protocol\" in url) // ensure it's a url object\n ;\n const protocol = url.protocol;\n return protocol === \"about:\" || protocol === \"blob:\" || protocol === \"data:\";\n}\n/**\n * @param {string|URL} url\n */ function $1f984bd5d9551445$var$urlHasHttpsScheme(url) {\n if (typeof url === \"string\") return url.startsWith(\"https:\");\n return url.protocol === \"https:\";\n}\n/**\n * @see https://fetch.spec.whatwg.org/#http-scheme\n * @param {URL} url\n */ function $1f984bd5d9551445$var$urlIsHttpHttpsScheme(url) {\n $7rf7a$assert(\"protocol\" in url) // ensure it's a url object\n ;\n const protocol = url.protocol;\n return protocol === \"http:\" || protocol === \"https:\";\n}\n/**\n * Fetch supports node >= 16.8.0, but Object.hasOwn was added in v16.9.0.\n */ const $1f984bd5d9551445$var$hasOwn = Object.hasOwn || ((dict, key)=>Object.prototype.hasOwnProperty.call(dict, key));\nmodule.exports = {\n isAborted: $1f984bd5d9551445$var$isAborted,\n isCancelled: $1f984bd5d9551445$var$isCancelled,\n createDeferredPromise: $1f984bd5d9551445$var$createDeferredPromise,\n ReadableStreamFrom: $1f984bd5d9551445$require$ReadableStreamFrom,\n toUSVString: $1f984bd5d9551445$require$toUSVString,\n tryUpgradeRequestToAPotentiallyTrustworthyURL: $1f984bd5d9551445$var$tryUpgradeRequestToAPotentiallyTrustworthyURL,\n coarsenedSharedCurrentTime: $1f984bd5d9551445$var$coarsenedSharedCurrentTime,\n determineRequestsReferrer: $1f984bd5d9551445$var$determineRequestsReferrer,\n makePolicyContainer: $1f984bd5d9551445$var$makePolicyContainer,\n clonePolicyContainer: $1f984bd5d9551445$var$clonePolicyContainer,\n appendFetchMetadata: $1f984bd5d9551445$var$appendFetchMetadata,\n appendRequestOriginHeader: $1f984bd5d9551445$var$appendRequestOriginHeader,\n TAOCheck: $1f984bd5d9551445$var$TAOCheck,\n corsCheck: $1f984bd5d9551445$var$corsCheck,\n crossOriginResourcePolicyCheck: $1f984bd5d9551445$var$crossOriginResourcePolicyCheck,\n createOpaqueTimingInfo: $1f984bd5d9551445$var$createOpaqueTimingInfo,\n setRequestReferrerPolicyOnRedirect: $1f984bd5d9551445$var$setRequestReferrerPolicyOnRedirect,\n isValidHTTPToken: $1f984bd5d9551445$var$isValidHTTPToken,\n requestBadPort: $1f984bd5d9551445$var$requestBadPort,\n requestCurrentURL: $1f984bd5d9551445$var$requestCurrentURL,\n responseURL: $1f984bd5d9551445$var$responseURL,\n responseLocationURL: $1f984bd5d9551445$var$responseLocationURL,\n isBlobLike: $1f984bd5d9551445$require$isBlobLike,\n isURLPotentiallyTrustworthy: $1f984bd5d9551445$var$isURLPotentiallyTrustworthy,\n isValidReasonPhrase: $1f984bd5d9551445$var$isValidReasonPhrase,\n sameOrigin: $1f984bd5d9551445$var$sameOrigin,\n normalizeMethod: $1f984bd5d9551445$var$normalizeMethod,\n serializeJavascriptValueToJSONString: $1f984bd5d9551445$var$serializeJavascriptValueToJSONString,\n makeIterator: $1f984bd5d9551445$var$makeIterator,\n isValidHeaderName: $1f984bd5d9551445$var$isValidHeaderName,\n isValidHeaderValue: $1f984bd5d9551445$var$isValidHeaderValue,\n hasOwn: $1f984bd5d9551445$var$hasOwn,\n isErrorLike: $1f984bd5d9551445$var$isErrorLike,\n fullyReadBody: $1f984bd5d9551445$var$fullyReadBody,\n bytesMatch: $1f984bd5d9551445$var$bytesMatch,\n isReadableStreamLike: $1f984bd5d9551445$var$isReadableStreamLike,\n readableStreamClose: $1f984bd5d9551445$var$readableStreamClose,\n isomorphicEncode: $1f984bd5d9551445$var$isomorphicEncode,\n isomorphicDecode: $1f984bd5d9551445$var$isomorphicDecode,\n urlIsLocal: $1f984bd5d9551445$var$urlIsLocal,\n urlHasHttpsScheme: $1f984bd5d9551445$var$urlHasHttpsScheme,\n urlIsHttpHttpsScheme: $1f984bd5d9551445$var$urlIsHttpHttpsScheme,\n readAllBytes: $1f984bd5d9551445$var$readAllBytes,\n normalizeMethodRecord: $1f984bd5d9551445$var$normalizeMethodRecord,\n parseMetadata: $1f984bd5d9551445$var$parseMetadata\n};\n\n});\nparcelRegister(\"7M1Hs\", function(module, exports) {\n\"use strict\";\n\nvar $5a8e55a4aefe7ea9$require$MessageChannel = $7rf7a$worker_threads.MessageChannel;\nvar $5a8e55a4aefe7ea9$require$receiveMessageOnPort = $7rf7a$worker_threads.receiveMessageOnPort;\nconst $5a8e55a4aefe7ea9$var$corsSafeListedMethods = [\n \"GET\",\n \"HEAD\",\n \"POST\"\n];\nconst $5a8e55a4aefe7ea9$var$corsSafeListedMethodsSet = new Set($5a8e55a4aefe7ea9$var$corsSafeListedMethods);\nconst $5a8e55a4aefe7ea9$var$nullBodyStatus = [\n 101,\n 204,\n 205,\n 304\n];\nconst $5a8e55a4aefe7ea9$var$redirectStatus = [\n 301,\n 302,\n 303,\n 307,\n 308\n];\nconst $5a8e55a4aefe7ea9$var$redirectStatusSet = new Set($5a8e55a4aefe7ea9$var$redirectStatus);\n// https://fetch.spec.whatwg.org/#block-bad-port\nconst $5a8e55a4aefe7ea9$var$badPorts = [\n \"1\",\n \"7\",\n \"9\",\n \"11\",\n \"13\",\n \"15\",\n \"17\",\n \"19\",\n \"20\",\n \"21\",\n \"22\",\n \"23\",\n \"25\",\n \"37\",\n \"42\",\n \"43\",\n \"53\",\n \"69\",\n \"77\",\n \"79\",\n \"87\",\n \"95\",\n \"101\",\n \"102\",\n \"103\",\n \"104\",\n \"109\",\n \"110\",\n \"111\",\n \"113\",\n \"115\",\n \"117\",\n \"119\",\n \"123\",\n \"135\",\n \"137\",\n \"139\",\n \"143\",\n \"161\",\n \"179\",\n \"389\",\n \"427\",\n \"465\",\n \"512\",\n \"513\",\n \"514\",\n \"515\",\n \"526\",\n \"530\",\n \"531\",\n \"532\",\n \"540\",\n \"548\",\n \"554\",\n \"556\",\n \"563\",\n \"587\",\n \"601\",\n \"636\",\n \"989\",\n \"990\",\n \"993\",\n \"995\",\n \"1719\",\n \"1720\",\n \"1723\",\n \"2049\",\n \"3659\",\n \"4045\",\n \"5060\",\n \"5061\",\n \"6000\",\n \"6566\",\n \"6665\",\n \"6666\",\n \"6667\",\n \"6668\",\n \"6669\",\n \"6697\",\n \"10080\"\n];\nconst $5a8e55a4aefe7ea9$var$badPortsSet = new Set($5a8e55a4aefe7ea9$var$badPorts);\n// https://w3c.github.io/webappsec-referrer-policy/#referrer-policies\nconst $5a8e55a4aefe7ea9$var$referrerPolicy = [\n \"\",\n \"no-referrer\",\n \"no-referrer-when-downgrade\",\n \"same-origin\",\n \"origin\",\n \"strict-origin\",\n \"origin-when-cross-origin\",\n \"strict-origin-when-cross-origin\",\n \"unsafe-url\"\n];\nconst $5a8e55a4aefe7ea9$var$referrerPolicySet = new Set($5a8e55a4aefe7ea9$var$referrerPolicy);\nconst $5a8e55a4aefe7ea9$var$requestRedirect = [\n \"follow\",\n \"manual\",\n \"error\"\n];\nconst $5a8e55a4aefe7ea9$var$safeMethods = [\n \"GET\",\n \"HEAD\",\n \"OPTIONS\",\n \"TRACE\"\n];\nconst $5a8e55a4aefe7ea9$var$safeMethodsSet = new Set($5a8e55a4aefe7ea9$var$safeMethods);\nconst $5a8e55a4aefe7ea9$var$requestMode = [\n \"navigate\",\n \"same-origin\",\n \"no-cors\",\n \"cors\"\n];\nconst $5a8e55a4aefe7ea9$var$requestCredentials = [\n \"omit\",\n \"same-origin\",\n \"include\"\n];\nconst $5a8e55a4aefe7ea9$var$requestCache = [\n \"default\",\n \"no-store\",\n \"reload\",\n \"no-cache\",\n \"force-cache\",\n \"only-if-cached\"\n];\n// https://fetch.spec.whatwg.org/#request-body-header-name\nconst $5a8e55a4aefe7ea9$var$requestBodyHeader = [\n \"content-encoding\",\n \"content-language\",\n \"content-location\",\n \"content-type\",\n // See https://github.com/nodejs/undici/issues/2021\n // 'Content-Length' is a forbidden header name, which is typically\n // removed in the Headers implementation. However, undici doesn't\n // filter out headers, so we add it here.\n \"content-length\"\n];\n// https://fetch.spec.whatwg.org/#enumdef-requestduplex\nconst $5a8e55a4aefe7ea9$var$requestDuplex = [\n \"half\"\n];\n// http://fetch.spec.whatwg.org/#forbidden-method\nconst $5a8e55a4aefe7ea9$var$forbiddenMethods = [\n \"CONNECT\",\n \"TRACE\",\n \"TRACK\"\n];\nconst $5a8e55a4aefe7ea9$var$forbiddenMethodsSet = new Set($5a8e55a4aefe7ea9$var$forbiddenMethods);\nconst $5a8e55a4aefe7ea9$var$subresource = [\n \"audio\",\n \"audioworklet\",\n \"font\",\n \"image\",\n \"manifest\",\n \"paintworklet\",\n \"script\",\n \"style\",\n \"track\",\n \"video\",\n \"xslt\",\n \"\"\n];\nconst $5a8e55a4aefe7ea9$var$subresourceSet = new Set($5a8e55a4aefe7ea9$var$subresource);\n/** @type {globalThis['DOMException']} */ const $5a8e55a4aefe7ea9$var$DOMException = globalThis.DOMException ?? (()=>{\n // DOMException was only made a global in Node v17.0.0,\n // but fetch supports >= v16.8.\n try {\n atob(\"~\");\n } catch (err) {\n return Object.getPrototypeOf(err).constructor;\n }\n})();\nlet $5a8e55a4aefe7ea9$var$channel;\n/** @type {globalThis['structuredClone']} */ const $5a8e55a4aefe7ea9$var$structuredClone = globalThis.structuredClone ?? // https://github.com/nodejs/node/blob/b27ae24dcc4251bad726d9d84baf678d1f707fed/lib/internal/structured_clone.js\n// structuredClone was added in v17.0.0, but fetch supports v16.8\nfunction structuredClone(value, options) {\n if (arguments.length === 0) throw new TypeError(\"missing argument\");\n if (!$5a8e55a4aefe7ea9$var$channel) $5a8e55a4aefe7ea9$var$channel = new $5a8e55a4aefe7ea9$require$MessageChannel();\n $5a8e55a4aefe7ea9$var$channel.port1.unref();\n $5a8e55a4aefe7ea9$var$channel.port2.unref();\n $5a8e55a4aefe7ea9$var$channel.port1.postMessage(value, options?.transfer);\n return $5a8e55a4aefe7ea9$require$receiveMessageOnPort($5a8e55a4aefe7ea9$var$channel.port2).message;\n};\nmodule.exports = {\n DOMException: $5a8e55a4aefe7ea9$var$DOMException,\n structuredClone: $5a8e55a4aefe7ea9$var$structuredClone,\n subresource: $5a8e55a4aefe7ea9$var$subresource,\n forbiddenMethods: $5a8e55a4aefe7ea9$var$forbiddenMethods,\n requestBodyHeader: $5a8e55a4aefe7ea9$var$requestBodyHeader,\n referrerPolicy: $5a8e55a4aefe7ea9$var$referrerPolicy,\n requestRedirect: $5a8e55a4aefe7ea9$var$requestRedirect,\n requestMode: $5a8e55a4aefe7ea9$var$requestMode,\n requestCredentials: $5a8e55a4aefe7ea9$var$requestCredentials,\n requestCache: $5a8e55a4aefe7ea9$var$requestCache,\n redirectStatus: $5a8e55a4aefe7ea9$var$redirectStatus,\n corsSafeListedMethods: $5a8e55a4aefe7ea9$var$corsSafeListedMethods,\n nullBodyStatus: $5a8e55a4aefe7ea9$var$nullBodyStatus,\n safeMethods: $5a8e55a4aefe7ea9$var$safeMethods,\n badPorts: $5a8e55a4aefe7ea9$var$badPorts,\n requestDuplex: $5a8e55a4aefe7ea9$var$requestDuplex,\n subresourceSet: $5a8e55a4aefe7ea9$var$subresourceSet,\n badPortsSet: $5a8e55a4aefe7ea9$var$badPortsSet,\n redirectStatusSet: $5a8e55a4aefe7ea9$var$redirectStatusSet,\n corsSafeListedMethodsSet: $5a8e55a4aefe7ea9$var$corsSafeListedMethodsSet,\n safeMethodsSet: $5a8e55a4aefe7ea9$var$safeMethodsSet,\n forbiddenMethodsSet: $5a8e55a4aefe7ea9$var$forbiddenMethodsSet,\n referrerPolicySet: $5a8e55a4aefe7ea9$var$referrerPolicySet\n};\n\n});\n\nparcelRegister(\"fz2bc\", function(module, exports) {\n\"use strict\";\n// In case of breaking changes, increase the version\n// number to avoid conflicts.\nconst $b54bd0bf01f0dcdb$var$globalOrigin = Symbol.for(\"undici.globalOrigin.1\");\nfunction $b54bd0bf01f0dcdb$var$getGlobalOrigin() {\n return globalThis[$b54bd0bf01f0dcdb$var$globalOrigin];\n}\nfunction $b54bd0bf01f0dcdb$var$setGlobalOrigin(newOrigin) {\n if (newOrigin === undefined) {\n Object.defineProperty(globalThis, $b54bd0bf01f0dcdb$var$globalOrigin, {\n value: undefined,\n writable: true,\n enumerable: false,\n configurable: false\n });\n return;\n }\n const parsedURL = new URL(newOrigin);\n if (parsedURL.protocol !== \"http:\" && parsedURL.protocol !== \"https:\") throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`);\n Object.defineProperty(globalThis, $b54bd0bf01f0dcdb$var$globalOrigin, {\n value: parsedURL,\n writable: true,\n enumerable: false,\n configurable: false\n });\n}\nmodule.exports = {\n getGlobalOrigin: $b54bd0bf01f0dcdb$var$getGlobalOrigin,\n setGlobalOrigin: $b54bd0bf01f0dcdb$var$setGlobalOrigin\n};\n\n});\n\nparcelRegister(\"jq6Nm\", function(module, exports) {\n\"use strict\";\n\nvar $2n3dP = parcelRequire(\"2n3dP\");\nvar $e235b765c82a0f44$var$polyfill = $2n3dP();\nmodule.exports = $e235b765c82a0f44$var$polyfill;\n\n});\nparcelRegister(\"2n3dP\", function(module, exports) {\n\"use strict\";\n\n\nvar $8Bqnh = parcelRequire(\"8Bqnh\");\nfunction $1ba03a94da98dfc2$var$getPolyfill() {\n if (typeof $7rf7a$util.types === \"object\") return $7rf7a$util.types;\n return $8Bqnh;\n}\nmodule.exports = $1ba03a94da98dfc2$var$getPolyfill;\n\n});\nparcelRegister(\"8Bqnh\", function(module, exports) {\n\n$parcel$export(module.exports, \"isExternal\", () => $64363cdbc5b73fe9$export$d7f04eac06d4152b, (v) => $64363cdbc5b73fe9$export$d7f04eac06d4152b = v);\n$parcel$export(module.exports, \"isDate\", () => $64363cdbc5b73fe9$export$871608497c498473, (v) => $64363cdbc5b73fe9$export$871608497c498473 = v);\n$parcel$export(module.exports, \"isArgumentsObject\", () => $64363cdbc5b73fe9$export$c2a9789ca3dbeccf, (v) => $64363cdbc5b73fe9$export$c2a9789ca3dbeccf = v);\n$parcel$export(module.exports, \"isBooleanObject\", () => $64363cdbc5b73fe9$export$802da41c92260f2d, (v) => $64363cdbc5b73fe9$export$802da41c92260f2d = v);\n$parcel$export(module.exports, \"isNumberObject\", () => $64363cdbc5b73fe9$export$ae588a688068bb14, (v) => $64363cdbc5b73fe9$export$ae588a688068bb14 = v);\n$parcel$export(module.exports, \"isStringObject\", () => $64363cdbc5b73fe9$export$85dfa0aa9d209586, (v) => $64363cdbc5b73fe9$export$85dfa0aa9d209586 = v);\n$parcel$export(module.exports, \"isSymbolObject\", () => $64363cdbc5b73fe9$export$eebb63b98780798, (v) => $64363cdbc5b73fe9$export$eebb63b98780798 = v);\n$parcel$export(module.exports, \"isNativeError\", () => $64363cdbc5b73fe9$export$911fbd4b8aaffdfa, (v) => $64363cdbc5b73fe9$export$911fbd4b8aaffdfa = v);\n$parcel$export(module.exports, \"isRegExp\", () => $64363cdbc5b73fe9$export$49841c62b9eff15, (v) => $64363cdbc5b73fe9$export$49841c62b9eff15 = v);\n$parcel$export(module.exports, \"isAsyncFunction\", () => $64363cdbc5b73fe9$export$cb3f0f7ea9814480, (v) => $64363cdbc5b73fe9$export$cb3f0f7ea9814480 = v);\n$parcel$export(module.exports, \"isGeneratorFunction\", () => $64363cdbc5b73fe9$export$111f0b41304fc890, (v) => $64363cdbc5b73fe9$export$111f0b41304fc890 = v);\n$parcel$export(module.exports, \"isGeneratorObject\", () => $64363cdbc5b73fe9$export$992fddd465707551, (v) => $64363cdbc5b73fe9$export$992fddd465707551 = v);\n$parcel$export(module.exports, \"isPromise\", () => $64363cdbc5b73fe9$export$4369c812aac99591, (v) => $64363cdbc5b73fe9$export$4369c812aac99591 = v);\n$parcel$export(module.exports, \"isMap\", () => $64363cdbc5b73fe9$export$5c90113a285f2241, (v) => $64363cdbc5b73fe9$export$5c90113a285f2241 = v);\n$parcel$export(module.exports, \"isSet\", () => $64363cdbc5b73fe9$export$6750766a7c7ec627, (v) => $64363cdbc5b73fe9$export$6750766a7c7ec627 = v);\n$parcel$export(module.exports, \"isMapIterator\", () => $64363cdbc5b73fe9$export$93ab928b0c730673, (v) => $64363cdbc5b73fe9$export$93ab928b0c730673 = v);\n$parcel$export(module.exports, \"isSetIterator\", () => $64363cdbc5b73fe9$export$8a74fb4960894962, (v) => $64363cdbc5b73fe9$export$8a74fb4960894962 = v);\n$parcel$export(module.exports, \"isWeakMap\", () => $64363cdbc5b73fe9$export$45e3ca7880506f6, (v) => $64363cdbc5b73fe9$export$45e3ca7880506f6 = v);\n$parcel$export(module.exports, \"isWeakSet\", () => $64363cdbc5b73fe9$export$6001bf5c91b8444, (v) => $64363cdbc5b73fe9$export$6001bf5c91b8444 = v);\n$parcel$export(module.exports, \"isArrayBuffer\", () => $64363cdbc5b73fe9$export$9dd3754ae86f0017, (v) => $64363cdbc5b73fe9$export$9dd3754ae86f0017 = v);\n$parcel$export(module.exports, \"isDataView\", () => $64363cdbc5b73fe9$export$2f3f84b787c83cc3, (v) => $64363cdbc5b73fe9$export$2f3f84b787c83cc3 = v);\n$parcel$export(module.exports, \"isSharedArrayBuffer\", () => $64363cdbc5b73fe9$export$9141e6998a4541f8, (v) => $64363cdbc5b73fe9$export$9141e6998a4541f8 = v);\n$parcel$export(module.exports, \"isProxy\", () => $64363cdbc5b73fe9$export$5f3ca29d057519b3, (v) => $64363cdbc5b73fe9$export$5f3ca29d057519b3 = v);\n$parcel$export(module.exports, \"isWebAssemblyCompiledModule\", () => $64363cdbc5b73fe9$export$6353dcc2e20695ba, (v) => $64363cdbc5b73fe9$export$6353dcc2e20695ba = v);\n$parcel$export(module.exports, \"isModuleNamespaceObject\", () => $64363cdbc5b73fe9$export$a7d54ad70965058c, (v) => $64363cdbc5b73fe9$export$a7d54ad70965058c = v);\n$parcel$export(module.exports, \"isAnyArrayBuffer\", () => $64363cdbc5b73fe9$export$3a41dfbeb7dc2964, (v) => $64363cdbc5b73fe9$export$3a41dfbeb7dc2964 = v);\n$parcel$export(module.exports, \"isArrayBufferView\", () => $64363cdbc5b73fe9$export$ef047080f6507ccc, (v) => $64363cdbc5b73fe9$export$ef047080f6507ccc = v);\n$parcel$export(module.exports, \"isTypedArray\", () => $64363cdbc5b73fe9$export$b119cc7e1840e59c, (v) => $64363cdbc5b73fe9$export$b119cc7e1840e59c = v);\n$parcel$export(module.exports, \"isUint8Array\", () => $64363cdbc5b73fe9$export$9cf46d245248a981, (v) => $64363cdbc5b73fe9$export$9cf46d245248a981 = v);\n$parcel$export(module.exports, \"isUint8ClampedArray\", () => $64363cdbc5b73fe9$export$1a4467497b3dff03, (v) => $64363cdbc5b73fe9$export$1a4467497b3dff03 = v);\n$parcel$export(module.exports, \"isUint16Array\", () => $64363cdbc5b73fe9$export$c5b95632e069e993, (v) => $64363cdbc5b73fe9$export$c5b95632e069e993 = v);\n$parcel$export(module.exports, \"isUint32Array\", () => $64363cdbc5b73fe9$export$36e1a1b817d9c8ff, (v) => $64363cdbc5b73fe9$export$36e1a1b817d9c8ff = v);\n$parcel$export(module.exports, \"isInt8Array\", () => $64363cdbc5b73fe9$export$3b8ecf44dc1155c9, (v) => $64363cdbc5b73fe9$export$3b8ecf44dc1155c9 = v);\n$parcel$export(module.exports, \"isInt16Array\", () => $64363cdbc5b73fe9$export$bf509d63512e6b9d, (v) => $64363cdbc5b73fe9$export$bf509d63512e6b9d = v);\n$parcel$export(module.exports, \"isInt32Array\", () => $64363cdbc5b73fe9$export$66055ca9e2251695, (v) => $64363cdbc5b73fe9$export$66055ca9e2251695 = v);\n$parcel$export(module.exports, \"isFloat32Array\", () => $64363cdbc5b73fe9$export$8ab58b0f00589691, (v) => $64363cdbc5b73fe9$export$8ab58b0f00589691 = v);\n$parcel$export(module.exports, \"isFloat64Array\", () => $64363cdbc5b73fe9$export$6bb7eda156f882bc, (v) => $64363cdbc5b73fe9$export$6bb7eda156f882bc = v);\n$parcel$export(module.exports, \"isBigInt64Array\", () => $64363cdbc5b73fe9$export$a86b03005506b361, (v) => $64363cdbc5b73fe9$export$a86b03005506b361 = v);\n$parcel$export(module.exports, \"isBigUint64Array\", () => $64363cdbc5b73fe9$export$81806fda96a5b189, (v) => $64363cdbc5b73fe9$export$81806fda96a5b189 = v);\nvar $64363cdbc5b73fe9$export$d7f04eac06d4152b;\nvar $64363cdbc5b73fe9$export$871608497c498473;\nvar $64363cdbc5b73fe9$export$c2a9789ca3dbeccf;\nvar $64363cdbc5b73fe9$export$802da41c92260f2d;\nvar $64363cdbc5b73fe9$export$ae588a688068bb14;\nvar $64363cdbc5b73fe9$export$85dfa0aa9d209586;\nvar $64363cdbc5b73fe9$export$eebb63b98780798;\nvar $64363cdbc5b73fe9$export$911fbd4b8aaffdfa;\nvar $64363cdbc5b73fe9$export$49841c62b9eff15;\nvar $64363cdbc5b73fe9$export$cb3f0f7ea9814480;\nvar $64363cdbc5b73fe9$export$111f0b41304fc890;\nvar $64363cdbc5b73fe9$export$992fddd465707551;\nvar $64363cdbc5b73fe9$export$4369c812aac99591;\nvar $64363cdbc5b73fe9$export$5c90113a285f2241;\nvar $64363cdbc5b73fe9$export$6750766a7c7ec627;\nvar $64363cdbc5b73fe9$export$93ab928b0c730673;\nvar $64363cdbc5b73fe9$export$8a74fb4960894962;\nvar $64363cdbc5b73fe9$export$45e3ca7880506f6;\nvar $64363cdbc5b73fe9$export$6001bf5c91b8444;\nvar $64363cdbc5b73fe9$export$9dd3754ae86f0017;\nvar $64363cdbc5b73fe9$export$2f3f84b787c83cc3;\nvar $64363cdbc5b73fe9$export$9141e6998a4541f8;\nvar $64363cdbc5b73fe9$export$5f3ca29d057519b3;\nvar $64363cdbc5b73fe9$export$6353dcc2e20695ba;\nvar $64363cdbc5b73fe9$export$a7d54ad70965058c;\nvar $64363cdbc5b73fe9$export$3a41dfbeb7dc2964;\n// dataView, int32Array, uint8Array, buffer,\n// stealthyDataView, stealthyInt32Array, stealthyUint8Array\nvar $64363cdbc5b73fe9$export$ef047080f6507ccc;\n// int32Array, uint8Array, buffer, stealthyInt32Array, stealthyUint8Array\n// see https://github.com/lodash/lodash/blob/master/isTypedArray.js\nvar $64363cdbc5b73fe9$export$b119cc7e1840e59c;\nvar $64363cdbc5b73fe9$export$9cf46d245248a981;\nvar $64363cdbc5b73fe9$export$1a4467497b3dff03;\nvar $64363cdbc5b73fe9$export$c5b95632e069e993;\nvar $64363cdbc5b73fe9$export$36e1a1b817d9c8ff;\nvar $64363cdbc5b73fe9$export$3b8ecf44dc1155c9;\nvar $64363cdbc5b73fe9$export$bf509d63512e6b9d;\nvar $64363cdbc5b73fe9$export$66055ca9e2251695;\nvar $64363cdbc5b73fe9$export$8ab58b0f00589691;\nvar $64363cdbc5b73fe9$export$6bb7eda156f882bc;\nvar $64363cdbc5b73fe9$export$a86b03005506b361;\n// currently, Node.js requires `--harmony-bigint`\nvar $64363cdbc5b73fe9$export$81806fda96a5b189;\n\"use strict\";\n// see https://github.com/isaacs/core-util-is/blob/master/lib/util.js\nfunction $64363cdbc5b73fe9$var$objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n$64363cdbc5b73fe9$export$d7f04eac06d4152b = function isExternal() {};\n$64363cdbc5b73fe9$export$871608497c498473 = function isDate(d) {\n return $64363cdbc5b73fe9$var$objectToString(d) === \"[object Date]\" && d instanceof Date;\n};\n$64363cdbc5b73fe9$export$c2a9789ca3dbeccf = function isArgumentsObject(a) {\n return $64363cdbc5b73fe9$var$objectToString(a) === \"[object Arguments]\";\n};\n$64363cdbc5b73fe9$export$802da41c92260f2d = function isBooleanObject(b) {\n return $64363cdbc5b73fe9$var$objectToString(b) === \"[object Boolean]\" && b instanceof Boolean;\n};\n$64363cdbc5b73fe9$export$ae588a688068bb14 = function isNumberObject(n) {\n return $64363cdbc5b73fe9$var$objectToString(n) === \"[object Number]\" && n instanceof Number;\n};\n$64363cdbc5b73fe9$export$85dfa0aa9d209586 = function isStringObject(s) {\n return $64363cdbc5b73fe9$var$objectToString(s) === \"[object String]\" && s instanceof String;\n};\n$64363cdbc5b73fe9$export$eebb63b98780798 = function isSymbolObject(s) {\n return $64363cdbc5b73fe9$var$objectToString(s) === \"[object Symbol]\" && s instanceof Symbol;\n};\n$64363cdbc5b73fe9$export$911fbd4b8aaffdfa = function isNativeError(e) {\n return $64363cdbc5b73fe9$var$objectToString(e) === \"[object Error]\" && e instanceof Error;\n};\n$64363cdbc5b73fe9$export$49841c62b9eff15 = function isRegExp(r) {\n return $64363cdbc5b73fe9$var$objectToString(r) === \"[object RegExp]\" && r instanceof RegExp;\n};\n$64363cdbc5b73fe9$export$cb3f0f7ea9814480 = function isAsyncFunction(a) {\n return $64363cdbc5b73fe9$var$objectToString(a) === \"[object AsyncFunction]\";\n};\n$64363cdbc5b73fe9$export$111f0b41304fc890 = function isGeneratorFunction(g) {\n return $64363cdbc5b73fe9$var$objectToString(g) === \"[object GeneratorFunction]\";\n};\n$64363cdbc5b73fe9$export$992fddd465707551 = function isGeneratorObject(g) {\n return $64363cdbc5b73fe9$var$objectToString(g) === \"[object Generator]\";\n};\n$64363cdbc5b73fe9$export$4369c812aac99591 = function isPromise(p) {\n return $64363cdbc5b73fe9$var$objectToString(p) === \"[object Promise]\";\n};\n$64363cdbc5b73fe9$export$5c90113a285f2241 = function isMap(m) {\n return $64363cdbc5b73fe9$var$objectToString(m) === \"[object Map]\" && m instanceof Map;\n};\n$64363cdbc5b73fe9$export$6750766a7c7ec627 = function isSet(s) {\n return $64363cdbc5b73fe9$var$objectToString(s) === \"[object Set]\" && s instanceof Set;\n};\n$64363cdbc5b73fe9$export$93ab928b0c730673 = function isMapIterator(m) {\n return $64363cdbc5b73fe9$var$objectToString(m) === \"[object Map Iterator]\";\n};\n$64363cdbc5b73fe9$export$8a74fb4960894962 = function isSetIterator(s) {\n return $64363cdbc5b73fe9$var$objectToString(s) === \"[object Set Iterator]\";\n};\n$64363cdbc5b73fe9$export$45e3ca7880506f6 = function isWeakMap(w) {\n return $64363cdbc5b73fe9$var$objectToString(w) === \"[object WeakMap]\";\n};\n$64363cdbc5b73fe9$export$6001bf5c91b8444 = function isWeakSet(w) {\n return $64363cdbc5b73fe9$var$objectToString(w) === \"[object WeakSet]\";\n};\n$64363cdbc5b73fe9$export$9dd3754ae86f0017 = function isArrayBuffer(a) {\n return $64363cdbc5b73fe9$var$objectToString(a) === \"[object ArrayBuffer]\" && a instanceof ArrayBuffer;\n};\n$64363cdbc5b73fe9$export$2f3f84b787c83cc3 = function isDataView(d) {\n return $64363cdbc5b73fe9$var$objectToString(d) === \"[object DataView]\" && d instanceof DataView;\n};\n$64363cdbc5b73fe9$export$9141e6998a4541f8 = function isSharedArrayBuffer(s) {\n return $64363cdbc5b73fe9$var$objectToString(s) === \"[object SharedArrayBuffer]\" && s instanceof SharedArrayBuffer;\n};\n$64363cdbc5b73fe9$export$5f3ca29d057519b3 = function isProxy() {};\n$64363cdbc5b73fe9$export$6353dcc2e20695ba = function isWebAssemblyCompiledModule(w) {\n return $64363cdbc5b73fe9$var$objectToString(w) === \"[object WebAssembly.Module]\";\n};\n$64363cdbc5b73fe9$export$a7d54ad70965058c = function isModuleNamespaceObject() {};\n$64363cdbc5b73fe9$export$3a41dfbeb7dc2964 = function isAnyArrayBuffer() {};\n$64363cdbc5b73fe9$export$ef047080f6507ccc = function isArrayBufferView() {};\n$64363cdbc5b73fe9$export$b119cc7e1840e59c = function isTypedArray(t) {\n const tags = /^\\[object (?:Float(?:32|64)Array|(?:Int|Uint)(?:8|16|32)Array|Uint8ClampedArray)\\]$/;\n return tags.test($64363cdbc5b73fe9$var$objectToString(t));\n};\n$64363cdbc5b73fe9$export$9cf46d245248a981 = function isUint8Array(u) {\n return $64363cdbc5b73fe9$var$objectToString(u) === \"[object Uint8Array]\" && u instanceof Uint8Array;\n};\n$64363cdbc5b73fe9$export$1a4467497b3dff03 = function isUint8ClampedArray(u) {\n return $64363cdbc5b73fe9$var$objectToString(u) === \"[object Uint8ClampedArray]\" && u instanceof Uint8ClampedArray;\n};\n$64363cdbc5b73fe9$export$c5b95632e069e993 = function isUint16Array(u) {\n return $64363cdbc5b73fe9$var$objectToString(u) === \"[object Uint16Array]\" && u instanceof Uint16Array;\n};\n$64363cdbc5b73fe9$export$36e1a1b817d9c8ff = function isUint32Array(u) {\n return $64363cdbc5b73fe9$var$objectToString(u) === \"[object Uint32Array]\" && u instanceof Uint32Array;\n};\n$64363cdbc5b73fe9$export$3b8ecf44dc1155c9 = function isInt8Array(i) {\n return $64363cdbc5b73fe9$var$objectToString(i) === \"[object Int8Array]\" && i instanceof Int8Array;\n};\n$64363cdbc5b73fe9$export$bf509d63512e6b9d = function isInt16Array(i) {\n return $64363cdbc5b73fe9$var$objectToString(i) === \"[object Int16Array]\" && i instanceof Int16Array;\n};\n$64363cdbc5b73fe9$export$66055ca9e2251695 = function isInt32Array(i) {\n return $64363cdbc5b73fe9$var$objectToString(i) === \"[object Int32Array]\" && i instanceof Int32Array;\n};\n$64363cdbc5b73fe9$export$8ab58b0f00589691 = function isFloat32Array(i) {\n return $64363cdbc5b73fe9$var$objectToString(i) === \"[object Float32Array]\" && i instanceof Float32Array;\n};\n$64363cdbc5b73fe9$export$6bb7eda156f882bc = function isFloat64Array(i) {\n return $64363cdbc5b73fe9$var$objectToString(i) === \"[object Float64Array]\" && i instanceof Float64Array;\n};\n$64363cdbc5b73fe9$export$a86b03005506b361 = function isBigInt64Array(i) {\n return $64363cdbc5b73fe9$var$objectToString(i) === \"[object Float64Array]\" && i instanceof Float64Array;\n};\n$64363cdbc5b73fe9$export$81806fda96a5b189 = function isBigUint64Array() {};\n\n});\n\n\n\n\nparcelRegister(\"6moLW\", function(module, exports) {\n\"use strict\";\n\nvar $2Ib5S = parcelRequire(\"2Ib5S\");\nvar $4a180368c7fc3f1c$require$isBlobLike = $2Ib5S.isBlobLike;\nvar $4a180368c7fc3f1c$require$toUSVString = $2Ib5S.toUSVString;\nvar $4a180368c7fc3f1c$require$makeIterator = $2Ib5S.makeIterator;\n\nvar $cZP2a = parcelRequire(\"cZP2a\");\nvar $4a180368c7fc3f1c$require$kState = $cZP2a.kState;\n\nvar $9qyC1 = parcelRequire(\"9qyC1\");\nvar $4a180368c7fc3f1c$require$UndiciFile = $9qyC1.File;\nvar $4a180368c7fc3f1c$require$FileLike = $9qyC1.FileLike;\nvar $4a180368c7fc3f1c$require$isFileLike = $9qyC1.isFileLike;\n\nvar $cACdG = parcelRequire(\"cACdG\");\nvar $4a180368c7fc3f1c$require$webidl = $cACdG.webidl;\n\nvar $4a180368c7fc3f1c$require$Blob = $7rf7a$buffer.Blob;\nvar $4a180368c7fc3f1c$require$NativeFile = $7rf7a$buffer.File;\n/** @type {globalThis['File']} */ const $4a180368c7fc3f1c$var$File = $4a180368c7fc3f1c$require$NativeFile ?? $4a180368c7fc3f1c$require$UndiciFile;\n// https://xhr.spec.whatwg.org/#formdata\nclass $4a180368c7fc3f1c$var$FormData {\n constructor(form){\n if (form !== undefined) throw $4a180368c7fc3f1c$require$webidl.errors.conversionFailed({\n prefix: \"FormData constructor\",\n argument: \"Argument 1\",\n types: [\n \"undefined\"\n ]\n });\n this[$4a180368c7fc3f1c$require$kState] = [];\n }\n append(name, value, filename) {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n $4a180368c7fc3f1c$require$webidl.argumentLengthCheck(arguments, 2, {\n header: \"FormData.append\"\n });\n if (arguments.length === 3 && !$4a180368c7fc3f1c$require$isBlobLike(value)) throw new TypeError(\"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'\");\n // 1. Let value be value if given; otherwise blobValue.\n name = $4a180368c7fc3f1c$require$webidl.converters.USVString(name);\n value = $4a180368c7fc3f1c$require$isBlobLike(value) ? $4a180368c7fc3f1c$require$webidl.converters.Blob(value, {\n strict: false\n }) : $4a180368c7fc3f1c$require$webidl.converters.USVString(value);\n filename = arguments.length === 3 ? $4a180368c7fc3f1c$require$webidl.converters.USVString(filename) : undefined;\n // 2. Let entry be the result of creating an entry with\n // name, value, and filename if given.\n const entry = $4a180368c7fc3f1c$var$makeEntry(name, value, filename);\n // 3. Append entry to this’s entry list.\n this[$4a180368c7fc3f1c$require$kState].push(entry);\n }\n delete(name) {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n $4a180368c7fc3f1c$require$webidl.argumentLengthCheck(arguments, 1, {\n header: \"FormData.delete\"\n });\n name = $4a180368c7fc3f1c$require$webidl.converters.USVString(name);\n // The delete(name) method steps are to remove all entries whose name\n // is name from this’s entry list.\n this[$4a180368c7fc3f1c$require$kState] = this[$4a180368c7fc3f1c$require$kState].filter((entry)=>entry.name !== name);\n }\n get(name) {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n $4a180368c7fc3f1c$require$webidl.argumentLengthCheck(arguments, 1, {\n header: \"FormData.get\"\n });\n name = $4a180368c7fc3f1c$require$webidl.converters.USVString(name);\n // 1. If there is no entry whose name is name in this’s entry list,\n // then return null.\n const idx = this[$4a180368c7fc3f1c$require$kState].findIndex((entry)=>entry.name === name);\n if (idx === -1) return null;\n // 2. Return the value of the first entry whose name is name from\n // this’s entry list.\n return this[$4a180368c7fc3f1c$require$kState][idx].value;\n }\n getAll(name) {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n $4a180368c7fc3f1c$require$webidl.argumentLengthCheck(arguments, 1, {\n header: \"FormData.getAll\"\n });\n name = $4a180368c7fc3f1c$require$webidl.converters.USVString(name);\n // 1. If there is no entry whose name is name in this’s entry list,\n // then return the empty list.\n // 2. Return the values of all entries whose name is name, in order,\n // from this’s entry list.\n return this[$4a180368c7fc3f1c$require$kState].filter((entry)=>entry.name === name).map((entry)=>entry.value);\n }\n has(name) {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n $4a180368c7fc3f1c$require$webidl.argumentLengthCheck(arguments, 1, {\n header: \"FormData.has\"\n });\n name = $4a180368c7fc3f1c$require$webidl.converters.USVString(name);\n // The has(name) method steps are to return true if there is an entry\n // whose name is name in this’s entry list; otherwise false.\n return this[$4a180368c7fc3f1c$require$kState].findIndex((entry)=>entry.name === name) !== -1;\n }\n set(name, value, filename) {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n $4a180368c7fc3f1c$require$webidl.argumentLengthCheck(arguments, 2, {\n header: \"FormData.set\"\n });\n if (arguments.length === 3 && !$4a180368c7fc3f1c$require$isBlobLike(value)) throw new TypeError(\"Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'\");\n // The set(name, value) and set(name, blobValue, filename) method steps\n // are:\n // 1. Let value be value if given; otherwise blobValue.\n name = $4a180368c7fc3f1c$require$webidl.converters.USVString(name);\n value = $4a180368c7fc3f1c$require$isBlobLike(value) ? $4a180368c7fc3f1c$require$webidl.converters.Blob(value, {\n strict: false\n }) : $4a180368c7fc3f1c$require$webidl.converters.USVString(value);\n filename = arguments.length === 3 ? $4a180368c7fc3f1c$require$toUSVString(filename) : undefined;\n // 2. Let entry be the result of creating an entry with name, value, and\n // filename if given.\n const entry = $4a180368c7fc3f1c$var$makeEntry(name, value, filename);\n // 3. If there are entries in this’s entry list whose name is name, then\n // replace the first such entry with entry and remove the others.\n const idx = this[$4a180368c7fc3f1c$require$kState].findIndex((entry)=>entry.name === name);\n if (idx !== -1) this[$4a180368c7fc3f1c$require$kState] = [\n ...this[$4a180368c7fc3f1c$require$kState].slice(0, idx),\n entry,\n ...this[$4a180368c7fc3f1c$require$kState].slice(idx + 1).filter((entry)=>entry.name !== name)\n ];\n else // 4. Otherwise, append entry to this’s entry list.\n this[$4a180368c7fc3f1c$require$kState].push(entry);\n }\n entries() {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n return $4a180368c7fc3f1c$require$makeIterator(()=>this[$4a180368c7fc3f1c$require$kState].map((pair)=>[\n pair.name,\n pair.value\n ]), \"FormData\", \"key+value\");\n }\n keys() {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n return $4a180368c7fc3f1c$require$makeIterator(()=>this[$4a180368c7fc3f1c$require$kState].map((pair)=>[\n pair.name,\n pair.value\n ]), \"FormData\", \"key\");\n }\n values() {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n return $4a180368c7fc3f1c$require$makeIterator(()=>this[$4a180368c7fc3f1c$require$kState].map((pair)=>[\n pair.name,\n pair.value\n ]), \"FormData\", \"value\");\n }\n /**\n * @param {(value: string, key: string, self: FormData) => void} callbackFn\n * @param {unknown} thisArg\n */ forEach(callbackFn, thisArg = globalThis) {\n $4a180368c7fc3f1c$require$webidl.brandCheck(this, $4a180368c7fc3f1c$var$FormData);\n $4a180368c7fc3f1c$require$webidl.argumentLengthCheck(arguments, 1, {\n header: \"FormData.forEach\"\n });\n if (typeof callbackFn !== \"function\") throw new TypeError(\"Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.\");\n for (const [key, value] of this)callbackFn.apply(thisArg, [\n value,\n key,\n this\n ]);\n }\n}\n$4a180368c7fc3f1c$var$FormData.prototype[Symbol.iterator] = $4a180368c7fc3f1c$var$FormData.prototype.entries;\nObject.defineProperties($4a180368c7fc3f1c$var$FormData.prototype, {\n [Symbol.toStringTag]: {\n value: \"FormData\",\n configurable: true\n }\n});\n/**\n * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#create-an-entry\n * @param {string} name\n * @param {string|Blob} value\n * @param {?string} filename\n * @returns\n */ function $4a180368c7fc3f1c$var$makeEntry(name, value, filename) {\n // 1. Set name to the result of converting name into a scalar value string.\n // \"To convert a string into a scalar value string, replace any surrogates\n // with U+FFFD.\"\n // see: https://nodejs.org/dist/latest-v18.x/docs/api/buffer.html#buftostringencoding-start-end\n name = Buffer.from(name).toString(\"utf8\");\n // 2. If value is a string, then set value to the result of converting\n // value into a scalar value string.\n if (typeof value === \"string\") value = Buffer.from(value).toString(\"utf8\");\n else {\n // 3. Otherwise:\n // 1. If value is not a File object, then set value to a new File object,\n // representing the same bytes, whose name attribute value is \"blob\"\n if (!$4a180368c7fc3f1c$require$isFileLike(value)) value = value instanceof $4a180368c7fc3f1c$require$Blob ? new $4a180368c7fc3f1c$var$File([\n value\n ], \"blob\", {\n type: value.type\n }) : new $4a180368c7fc3f1c$require$FileLike(value, \"blob\", {\n type: value.type\n });\n // 2. If filename is given, then set value to a new File object,\n // representing the same bytes, whose name attribute is filename.\n if (filename !== undefined) {\n /** @type {FilePropertyBag} */ const options = {\n type: value.type,\n lastModified: value.lastModified\n };\n value = $4a180368c7fc3f1c$require$NativeFile && value instanceof $4a180368c7fc3f1c$require$NativeFile || value instanceof $4a180368c7fc3f1c$require$UndiciFile ? new $4a180368c7fc3f1c$var$File([\n value\n ], filename, options) : new $4a180368c7fc3f1c$require$FileLike(value, filename, options);\n }\n }\n // 4. Return an entry whose name is name and whose value is value.\n return {\n name: name,\n value: value\n };\n}\nmodule.exports = {\n FormData: $4a180368c7fc3f1c$var$FormData\n};\n\n});\nparcelRegister(\"cZP2a\", function(module, exports) {\n\"use strict\";\nmodule.exports = {\n kUrl: Symbol(\"url\"),\n kHeaders: Symbol(\"headers\"),\n kSignal: Symbol(\"signal\"),\n kState: Symbol(\"state\"),\n kGuard: Symbol(\"guard\"),\n kRealm: Symbol(\"realm\")\n};\n\n});\n\nparcelRegister(\"9qyC1\", function(module, exports) {\n\"use strict\";\n\nvar $6dd164040ec0f433$require$Blob = $7rf7a$buffer.Blob;\nvar $6dd164040ec0f433$require$NativeFile = $7rf7a$buffer.File;\n\nvar $6dd164040ec0f433$require$types = $7rf7a$util.types;\n\nvar $cZP2a = parcelRequire(\"cZP2a\");\nvar $6dd164040ec0f433$require$kState = $cZP2a.kState;\n\nvar $2Ib5S = parcelRequire(\"2Ib5S\");\nvar $6dd164040ec0f433$require$isBlobLike = $2Ib5S.isBlobLike;\n\nvar $cACdG = parcelRequire(\"cACdG\");\nvar $6dd164040ec0f433$require$webidl = $cACdG.webidl;\n\nvar $dyddI = parcelRequire(\"dyddI\");\nvar $6dd164040ec0f433$require$parseMIMEType = $dyddI.parseMIMEType;\nvar $6dd164040ec0f433$require$serializeAMimeType = $dyddI.serializeAMimeType;\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\nvar $6dd164040ec0f433$require$kEnumerableProperty = $jqWlt.kEnumerableProperty;\nconst $6dd164040ec0f433$var$encoder = new TextEncoder();\nclass $6dd164040ec0f433$var$File extends $6dd164040ec0f433$require$Blob {\n constructor(fileBits, fileName, options = {}){\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n $6dd164040ec0f433$require$webidl.argumentLengthCheck(arguments, 2, {\n header: \"File constructor\"\n });\n fileBits = $6dd164040ec0f433$require$webidl.converters[\"sequence\"](fileBits);\n fileName = $6dd164040ec0f433$require$webidl.converters.USVString(fileName);\n options = $6dd164040ec0f433$require$webidl.converters.FilePropertyBag(options);\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n // Note: Blob handles this for us\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName;\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // 2. Convert every character in t to ASCII lowercase.\n let t = options.type;\n let d;\n // eslint-disable-next-line no-labels\n substep: {\n if (t) {\n t = $6dd164040ec0f433$require$parseMIMEType(t);\n if (t === \"failure\") {\n t = \"\";\n break substep;\n }\n t = $6dd164040ec0f433$require$serializeAMimeType(t).toLowerCase();\n }\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n d = options.lastModified;\n }\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n super($6dd164040ec0f433$var$processBlobParts(fileBits, options), {\n type: t\n });\n this[$6dd164040ec0f433$require$kState] = {\n name: n,\n lastModified: d,\n type: t\n };\n }\n get name() {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$File);\n return this[$6dd164040ec0f433$require$kState].name;\n }\n get lastModified() {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$File);\n return this[$6dd164040ec0f433$require$kState].lastModified;\n }\n get type() {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$File);\n return this[$6dd164040ec0f433$require$kState].type;\n }\n}\nclass $6dd164040ec0f433$var$FileLike {\n constructor(blobLike, fileName, options = {}){\n // TODO: argument idl type check\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName;\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // TODO\n const t = options.type;\n // 2. Convert every character in t to ASCII lowercase.\n // TODO\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n const d = options.lastModified ?? Date.now();\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n this[$6dd164040ec0f433$require$kState] = {\n blobLike: blobLike,\n name: n,\n type: t,\n lastModified: d\n };\n }\n stream(...args) {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].blobLike.stream(...args);\n }\n arrayBuffer(...args) {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].blobLike.arrayBuffer(...args);\n }\n slice(...args) {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].blobLike.slice(...args);\n }\n text(...args) {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].blobLike.text(...args);\n }\n get size() {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].blobLike.size;\n }\n get type() {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].blobLike.type;\n }\n get name() {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].name;\n }\n get lastModified() {\n $6dd164040ec0f433$require$webidl.brandCheck(this, $6dd164040ec0f433$var$FileLike);\n return this[$6dd164040ec0f433$require$kState].lastModified;\n }\n get [Symbol.toStringTag]() {\n return \"File\";\n }\n}\nObject.defineProperties($6dd164040ec0f433$var$File.prototype, {\n [Symbol.toStringTag]: {\n value: \"File\",\n configurable: true\n },\n name: $6dd164040ec0f433$require$kEnumerableProperty,\n lastModified: $6dd164040ec0f433$require$kEnumerableProperty\n});\n$6dd164040ec0f433$require$webidl.converters.Blob = $6dd164040ec0f433$require$webidl.interfaceConverter($6dd164040ec0f433$require$Blob);\n$6dd164040ec0f433$require$webidl.converters.BlobPart = function(V, opts) {\n if ($6dd164040ec0f433$require$webidl.util.Type(V) === \"Object\") {\n if ($6dd164040ec0f433$require$isBlobLike(V)) return $6dd164040ec0f433$require$webidl.converters.Blob(V, {\n strict: false\n });\n if (ArrayBuffer.isView(V) || $6dd164040ec0f433$require$types.isAnyArrayBuffer(V)) return $6dd164040ec0f433$require$webidl.converters.BufferSource(V, opts);\n }\n return $6dd164040ec0f433$require$webidl.converters.USVString(V, opts);\n};\n$6dd164040ec0f433$require$webidl.converters[\"sequence\"] = $6dd164040ec0f433$require$webidl.sequenceConverter($6dd164040ec0f433$require$webidl.converters.BlobPart);\n// https://www.w3.org/TR/FileAPI/#dfn-FilePropertyBag\n$6dd164040ec0f433$require$webidl.converters.FilePropertyBag = $6dd164040ec0f433$require$webidl.dictionaryConverter([\n {\n key: \"lastModified\",\n converter: $6dd164040ec0f433$require$webidl.converters[\"long long\"],\n get defaultValue () {\n return Date.now();\n }\n },\n {\n key: \"type\",\n converter: $6dd164040ec0f433$require$webidl.converters.DOMString,\n defaultValue: \"\"\n },\n {\n key: \"endings\",\n converter: (value)=>{\n value = $6dd164040ec0f433$require$webidl.converters.DOMString(value);\n value = value.toLowerCase();\n if (value !== \"native\") value = \"transparent\";\n return value;\n },\n defaultValue: \"transparent\"\n }\n]);\n/**\n * @see https://www.w3.org/TR/FileAPI/#process-blob-parts\n * @param {(NodeJS.TypedArray|Blob|string)[]} parts\n * @param {{ type: string, endings: string }} options\n */ function $6dd164040ec0f433$var$processBlobParts(parts, options) {\n // 1. Let bytes be an empty sequence of bytes.\n /** @type {NodeJS.TypedArray[]} */ const bytes = [];\n // 2. For each element in parts:\n for (const element of parts){\n // 1. If element is a USVString, run the following substeps:\n if (typeof element === \"string\") {\n // 1. Let s be element.\n let s = element;\n // 2. If the endings member of options is \"native\", set s\n // to the result of converting line endings to native\n // of element.\n if (options.endings === \"native\") s = $6dd164040ec0f433$var$convertLineEndingsNative(s);\n // 3. Append the result of UTF-8 encoding s to bytes.\n bytes.push($6dd164040ec0f433$var$encoder.encode(s));\n } else if ($6dd164040ec0f433$require$types.isAnyArrayBuffer(element) || $6dd164040ec0f433$require$types.isTypedArray(element)) {\n // 2. If element is a BufferSource, get a copy of the\n // bytes held by the buffer source, and append those\n // bytes to bytes.\n if (!element.buffer) bytes.push(new Uint8Array(element));\n else bytes.push(new Uint8Array(element.buffer, element.byteOffset, element.byteLength));\n } else if ($6dd164040ec0f433$require$isBlobLike(element)) // 3. If element is a Blob, append the bytes it represents\n // to bytes.\n bytes.push(element);\n }\n // 3. Return bytes.\n return bytes;\n}\n/**\n * @see https://www.w3.org/TR/FileAPI/#convert-line-endings-to-native\n * @param {string} s\n */ function $6dd164040ec0f433$var$convertLineEndingsNative(s) {\n // 1. Let native line ending be be the code point U+000A LF.\n let nativeLineEnding = \"\\n\";\n // 2. If the underlying platform’s conventions are to\n // represent newlines as a carriage return and line feed\n // sequence, set native line ending to the code point\n // U+000D CR followed by the code point U+000A LF.\n if (process.platform === \"win32\") nativeLineEnding = \"\\r\\n\";\n return s.replace(/\\r?\\n/g, nativeLineEnding);\n}\n// If this function is moved to ./util.js, some tools (such as\n// rollup) will warn about circular dependencies. See:\n// https://github.com/nodejs/undici/issues/1629\nfunction $6dd164040ec0f433$var$isFileLike(object) {\n return $6dd164040ec0f433$require$NativeFile && object instanceof $6dd164040ec0f433$require$NativeFile || object instanceof $6dd164040ec0f433$var$File || object && (typeof object.stream === \"function\" || typeof object.arrayBuffer === \"function\") && object[Symbol.toStringTag] === \"File\";\n}\nmodule.exports = {\n File: $6dd164040ec0f433$var$File,\n FileLike: $6dd164040ec0f433$var$FileLike,\n isFileLike: $6dd164040ec0f433$var$isFileLike\n};\n\n});\nparcelRegister(\"cACdG\", function(module, exports) {\n\"use strict\";\n\nvar $92a67e7727c3920a$require$types = $7rf7a$util.types;\n\nvar $2Ib5S = parcelRequire(\"2Ib5S\");\nvar $92a67e7727c3920a$require$hasOwn = $2Ib5S.hasOwn;\nvar $92a67e7727c3920a$require$toUSVString = $2Ib5S.toUSVString;\n/** @type {import('../../types/webidl').Webidl} */ const $92a67e7727c3920a$var$webidl = {};\n$92a67e7727c3920a$var$webidl.converters = {};\n$92a67e7727c3920a$var$webidl.util = {};\n$92a67e7727c3920a$var$webidl.errors = {};\n$92a67e7727c3920a$var$webidl.errors.exception = function(message) {\n return new TypeError(`${message.header}: ${message.message}`);\n};\n$92a67e7727c3920a$var$webidl.errors.conversionFailed = function(context) {\n const plural = context.types.length === 1 ? \"\" : \" one of\";\n const message = `${context.argument} could not be converted to` + `${plural}: ${context.types.join(\", \")}.`;\n return $92a67e7727c3920a$var$webidl.errors.exception({\n header: context.prefix,\n message: message\n });\n};\n$92a67e7727c3920a$var$webidl.errors.invalidArgument = function(context) {\n return $92a67e7727c3920a$var$webidl.errors.exception({\n header: context.prefix,\n message: `\"${context.value}\" is an invalid ${context.type}.`\n });\n};\n// https://webidl.spec.whatwg.org/#implements\n$92a67e7727c3920a$var$webidl.brandCheck = function(V, I, opts) {\n if (opts?.strict !== false && !(V instanceof I)) throw new TypeError(\"Illegal invocation\");\n else return V?.[Symbol.toStringTag] === I.prototype[Symbol.toStringTag];\n};\n$92a67e7727c3920a$var$webidl.argumentLengthCheck = function({ length: length }, min, ctx) {\n if (length < min) throw $92a67e7727c3920a$var$webidl.errors.exception({\n message: `${min} argument${min !== 1 ? \"s\" : \"\"} required, ` + `but${length ? \" only\" : \"\"} ${length} found.`,\n ...ctx\n });\n};\n$92a67e7727c3920a$var$webidl.illegalConstructor = function() {\n throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"TypeError\",\n message: \"Illegal constructor\"\n });\n};\n// https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values\n$92a67e7727c3920a$var$webidl.util.Type = function(V) {\n switch(typeof V){\n case \"undefined\":\n return \"Undefined\";\n case \"boolean\":\n return \"Boolean\";\n case \"string\":\n return \"String\";\n case \"symbol\":\n return \"Symbol\";\n case \"number\":\n return \"Number\";\n case \"bigint\":\n return \"BigInt\";\n case \"function\":\n case \"object\":\n if (V === null) return \"Null\";\n return \"Object\";\n }\n};\n// https://webidl.spec.whatwg.org/#abstract-opdef-converttoint\n$92a67e7727c3920a$var$webidl.util.ConvertToInt = function(V, bitLength, signedness, opts = {}) {\n let upperBound;\n let lowerBound;\n // 1. If bitLength is 64, then:\n if (bitLength === 64) {\n // 1. Let upperBound be 2^53 − 1.\n upperBound = Math.pow(2, 53) - 1;\n // 2. If signedness is \"unsigned\", then let lowerBound be 0.\n if (signedness === \"unsigned\") lowerBound = 0;\n else // 3. Otherwise let lowerBound be −2^53 + 1.\n lowerBound = Math.pow(-2, 53) + 1;\n } else if (signedness === \"unsigned\") {\n // 2. Otherwise, if signedness is \"unsigned\", then:\n // 1. Let lowerBound be 0.\n lowerBound = 0;\n // 2. Let upperBound be 2^bitLength − 1.\n upperBound = Math.pow(2, bitLength) - 1;\n } else {\n // 3. Otherwise:\n // 1. Let lowerBound be -2^bitLength − 1.\n lowerBound = Math.pow(-2, bitLength) - 1;\n // 2. Let upperBound be 2^bitLength − 1 − 1.\n upperBound = Math.pow(2, bitLength - 1) - 1;\n }\n // 4. Let x be ? ToNumber(V).\n let x = Number(V);\n // 5. If x is −0, then set x to +0.\n if (x === 0) x = 0;\n // 6. If the conversion is to an IDL type associated\n // with the [EnforceRange] extended attribute, then:\n if (opts.enforceRange === true) {\n // 1. If x is NaN, +∞, or −∞, then throw a TypeError.\n if (Number.isNaN(x) || x === Number.POSITIVE_INFINITY || x === Number.NEGATIVE_INFINITY) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Integer conversion\",\n message: `Could not convert ${V} to an integer.`\n });\n // 2. Set x to IntegerPart(x).\n x = $92a67e7727c3920a$var$webidl.util.IntegerPart(x);\n // 3. If x < lowerBound or x > upperBound, then\n // throw a TypeError.\n if (x < lowerBound || x > upperBound) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Integer conversion\",\n message: `Value must be between ${lowerBound}-${upperBound}, got ${x}.`\n });\n // 4. Return x.\n return x;\n }\n // 7. If x is not NaN and the conversion is to an IDL\n // type associated with the [Clamp] extended\n // attribute, then:\n if (!Number.isNaN(x) && opts.clamp === true) {\n // 1. Set x to min(max(x, lowerBound), upperBound).\n x = Math.min(Math.max(x, lowerBound), upperBound);\n // 2. Round x to the nearest integer, choosing the\n // even integer if it lies halfway between two,\n // and choosing +0 rather than −0.\n if (Math.floor(x) % 2 === 0) x = Math.floor(x);\n else x = Math.ceil(x);\n // 3. Return x.\n return x;\n }\n // 8. If x is NaN, +0, +∞, or −∞, then return +0.\n if (Number.isNaN(x) || x === 0 && Object.is(0, x) || x === Number.POSITIVE_INFINITY || x === Number.NEGATIVE_INFINITY) return 0;\n // 9. Set x to IntegerPart(x).\n x = $92a67e7727c3920a$var$webidl.util.IntegerPart(x);\n // 10. Set x to x modulo 2^bitLength.\n x = x % Math.pow(2, bitLength);\n // 11. If signedness is \"signed\" and x ≥ 2^bitLength − 1,\n // then return x − 2^bitLength.\n if (signedness === \"signed\" && x >= Math.pow(2, bitLength) - 1) return x - Math.pow(2, bitLength);\n // 12. Otherwise, return x.\n return x;\n};\n// https://webidl.spec.whatwg.org/#abstract-opdef-integerpart\n$92a67e7727c3920a$var$webidl.util.IntegerPart = function(n) {\n // 1. Let r be floor(abs(n)).\n const r = Math.floor(Math.abs(n));\n // 2. If n < 0, then return -1 × r.\n if (n < 0) return -1 * r;\n // 3. Otherwise, return r.\n return r;\n};\n// https://webidl.spec.whatwg.org/#es-sequence\n$92a67e7727c3920a$var$webidl.sequenceConverter = function(converter) {\n return (V)=>{\n // 1. If Type(V) is not Object, throw a TypeError.\n if ($92a67e7727c3920a$var$webidl.util.Type(V) !== \"Object\") throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Sequence\",\n message: `Value of type ${$92a67e7727c3920a$var$webidl.util.Type(V)} is not an Object.`\n });\n // 2. Let method be ? GetMethod(V, @@iterator).\n /** @type {Generator} */ const method = V?.[Symbol.iterator]?.();\n const seq = [];\n // 3. If method is undefined, throw a TypeError.\n if (method === undefined || typeof method.next !== \"function\") throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Sequence\",\n message: \"Object is not an iterator.\"\n });\n // https://webidl.spec.whatwg.org/#create-sequence-from-iterable\n while(true){\n const { done: done, value: value } = method.next();\n if (done) break;\n seq.push(converter(value));\n }\n return seq;\n };\n};\n// https://webidl.spec.whatwg.org/#es-to-record\n$92a67e7727c3920a$var$webidl.recordConverter = function(keyConverter, valueConverter) {\n return (O)=>{\n // 1. If Type(O) is not Object, throw a TypeError.\n if ($92a67e7727c3920a$var$webidl.util.Type(O) !== \"Object\") throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Record\",\n message: `Value of type ${$92a67e7727c3920a$var$webidl.util.Type(O)} is not an Object.`\n });\n // 2. Let result be a new empty instance of record.\n const result = {};\n if (!$92a67e7727c3920a$require$types.isProxy(O)) {\n // Object.keys only returns enumerable properties\n const keys = Object.keys(O);\n for (const key of keys){\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key);\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key]);\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue;\n }\n // 5. Return result.\n return result;\n }\n // 3. Let keys be ? O.[[OwnPropertyKeys]]().\n const keys = Reflect.ownKeys(O);\n // 4. For each key of keys.\n for (const key of keys){\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const desc = Reflect.getOwnPropertyDescriptor(O, key);\n // 2. If desc is not undefined and desc.[[Enumerable]] is true:\n if (desc?.enumerable) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key);\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key]);\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue;\n }\n }\n // 5. Return result.\n return result;\n };\n};\n$92a67e7727c3920a$var$webidl.interfaceConverter = function(i) {\n return (V, opts = {})=>{\n if (opts.strict !== false && !(V instanceof i)) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: i.name,\n message: `Expected ${V} to be an instance of ${i.name}.`\n });\n return V;\n };\n};\n$92a67e7727c3920a$var$webidl.dictionaryConverter = function(converters) {\n return (dictionary)=>{\n const type = $92a67e7727c3920a$var$webidl.util.Type(dictionary);\n const dict = {};\n if (type === \"Null\" || type === \"Undefined\") return dict;\n else if (type !== \"Object\") throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Dictionary\",\n message: `Expected ${dictionary} to be one of: Null, Undefined, Object.`\n });\n for (const options of converters){\n const { key: key, defaultValue: defaultValue, required: required, converter: converter } = options;\n if (required === true) {\n if (!$92a67e7727c3920a$require$hasOwn(dictionary, key)) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Dictionary\",\n message: `Missing required key \"${key}\".`\n });\n }\n let value = dictionary[key];\n const hasDefault = $92a67e7727c3920a$require$hasOwn(options, \"defaultValue\");\n // Only use defaultValue if value is undefined and\n // a defaultValue options was provided.\n if (hasDefault && value !== null) value = value ?? defaultValue;\n // A key can be optional and have no default value.\n // When this happens, do not perform a conversion,\n // and do not assign the key a value.\n if (required || hasDefault || value !== undefined) {\n value = converter(value);\n if (options.allowedValues && !options.allowedValues.includes(value)) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"Dictionary\",\n message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(\", \")}.`\n });\n dict[key] = value;\n }\n }\n return dict;\n };\n};\n$92a67e7727c3920a$var$webidl.nullableConverter = function(converter) {\n return (V)=>{\n if (V === null) return V;\n return converter(V);\n };\n};\n// https://webidl.spec.whatwg.org/#es-DOMString\n$92a67e7727c3920a$var$webidl.converters.DOMString = function(V, opts = {}) {\n // 1. If V is null and the conversion is to an IDL type\n // associated with the [LegacyNullToEmptyString]\n // extended attribute, then return the DOMString value\n // that represents the empty string.\n if (V === null && opts.legacyNullToEmptyString) return \"\";\n // 2. Let x be ? ToString(V).\n if (typeof V === \"symbol\") throw new TypeError(\"Could not convert argument of type symbol to string.\");\n // 3. Return the IDL DOMString value that represents the\n // same sequence of code units as the one the\n // ECMAScript String value x represents.\n return String(V);\n};\n// https://webidl.spec.whatwg.org/#es-ByteString\n$92a67e7727c3920a$var$webidl.converters.ByteString = function(V) {\n // 1. Let x be ? ToString(V).\n // Note: DOMString converter perform ? ToString(V)\n const x = $92a67e7727c3920a$var$webidl.converters.DOMString(V);\n // 2. If the value of any element of x is greater than\n // 255, then throw a TypeError.\n for(let index = 0; index < x.length; index++){\n if (x.charCodeAt(index) > 255) throw new TypeError(\"Cannot convert argument to a ByteString because the character at \" + `index ${index} has a value of ${x.charCodeAt(index)} which is greater than 255.`);\n }\n // 3. Return an IDL ByteString value whose length is the\n // length of x, and where the value of each element is\n // the value of the corresponding element of x.\n return x;\n};\n// https://webidl.spec.whatwg.org/#es-USVString\n$92a67e7727c3920a$var$webidl.converters.USVString = $92a67e7727c3920a$require$toUSVString;\n// https://webidl.spec.whatwg.org/#es-boolean\n$92a67e7727c3920a$var$webidl.converters.boolean = function(V) {\n // 1. Let x be the result of computing ToBoolean(V).\n const x = Boolean(V);\n // 2. Return the IDL boolean value that is the one that represents\n // the same truth value as the ECMAScript Boolean value x.\n return x;\n};\n// https://webidl.spec.whatwg.org/#es-any\n$92a67e7727c3920a$var$webidl.converters.any = function(V) {\n return V;\n};\n// https://webidl.spec.whatwg.org/#es-long-long\n$92a67e7727c3920a$var$webidl.converters[\"long long\"] = function(V) {\n // 1. Let x be ? ConvertToInt(V, 64, \"signed\").\n const x = $92a67e7727c3920a$var$webidl.util.ConvertToInt(V, 64, \"signed\");\n // 2. Return the IDL long long value that represents\n // the same numeric value as x.\n return x;\n};\n// https://webidl.spec.whatwg.org/#es-unsigned-long-long\n$92a67e7727c3920a$var$webidl.converters[\"unsigned long long\"] = function(V) {\n // 1. Let x be ? ConvertToInt(V, 64, \"unsigned\").\n const x = $92a67e7727c3920a$var$webidl.util.ConvertToInt(V, 64, \"unsigned\");\n // 2. Return the IDL unsigned long long value that\n // represents the same numeric value as x.\n return x;\n};\n// https://webidl.spec.whatwg.org/#es-unsigned-long\n$92a67e7727c3920a$var$webidl.converters[\"unsigned long\"] = function(V) {\n // 1. Let x be ? ConvertToInt(V, 32, \"unsigned\").\n const x = $92a67e7727c3920a$var$webidl.util.ConvertToInt(V, 32, \"unsigned\");\n // 2. Return the IDL unsigned long value that\n // represents the same numeric value as x.\n return x;\n};\n// https://webidl.spec.whatwg.org/#es-unsigned-short\n$92a67e7727c3920a$var$webidl.converters[\"unsigned short\"] = function(V, opts) {\n // 1. Let x be ? ConvertToInt(V, 16, \"unsigned\").\n const x = $92a67e7727c3920a$var$webidl.util.ConvertToInt(V, 16, \"unsigned\", opts);\n // 2. Return the IDL unsigned short value that represents\n // the same numeric value as x.\n return x;\n};\n// https://webidl.spec.whatwg.org/#idl-ArrayBuffer\n$92a67e7727c3920a$var$webidl.converters.ArrayBuffer = function(V, opts = {}) {\n // 1. If Type(V) is not Object, or V does not have an\n // [[ArrayBufferData]] internal slot, then throw a\n // TypeError.\n // see: https://tc39.es/ecma262/#sec-properties-of-the-arraybuffer-instances\n // see: https://tc39.es/ecma262/#sec-properties-of-the-sharedarraybuffer-instances\n if ($92a67e7727c3920a$var$webidl.util.Type(V) !== \"Object\" || !$92a67e7727c3920a$require$types.isAnyArrayBuffer(V)) throw $92a67e7727c3920a$var$webidl.errors.conversionFailed({\n prefix: `${V}`,\n argument: `${V}`,\n types: [\n \"ArrayBuffer\"\n ]\n });\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V) is true, then throw a\n // TypeError.\n if (opts.allowShared === false && $92a67e7727c3920a$require$types.isSharedArrayBuffer(V)) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"ArrayBuffer\",\n message: \"SharedArrayBuffer is not allowed.\"\n });\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V) is true, then throw a\n // TypeError.\n // Note: resizable ArrayBuffers are currently a proposal.\n // 4. Return the IDL ArrayBuffer value that is a\n // reference to the same object as V.\n return V;\n};\n$92a67e7727c3920a$var$webidl.converters.TypedArray = function(V, T, opts = {}) {\n // 1. Let T be the IDL type V is being converted to.\n // 2. If Type(V) is not Object, or V does not have a\n // [[TypedArrayName]] internal slot with a value\n // equal to T’s name, then throw a TypeError.\n if ($92a67e7727c3920a$var$webidl.util.Type(V) !== \"Object\" || !$92a67e7727c3920a$require$types.isTypedArray(V) || V.constructor.name !== T.name) throw $92a67e7727c3920a$var$webidl.errors.conversionFailed({\n prefix: `${T.name}`,\n argument: `${V}`,\n types: [\n T.name\n ]\n });\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (opts.allowShared === false && $92a67e7727c3920a$require$types.isSharedArrayBuffer(V.buffer)) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"ArrayBuffer\",\n message: \"SharedArrayBuffer is not allowed.\"\n });\n // 4. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n // Note: resizable array buffers are currently a proposal\n // 5. Return the IDL value of type T that is a reference\n // to the same object as V.\n return V;\n};\n$92a67e7727c3920a$var$webidl.converters.DataView = function(V, opts = {}) {\n // 1. If Type(V) is not Object, or V does not have a\n // [[DataView]] internal slot, then throw a TypeError.\n if ($92a67e7727c3920a$var$webidl.util.Type(V) !== \"Object\" || !$92a67e7727c3920a$require$types.isDataView(V)) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"DataView\",\n message: \"Object is not a DataView.\"\n });\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is true,\n // then throw a TypeError.\n if (opts.allowShared === false && $92a67e7727c3920a$require$types.isSharedArrayBuffer(V.buffer)) throw $92a67e7727c3920a$var$webidl.errors.exception({\n header: \"ArrayBuffer\",\n message: \"SharedArrayBuffer is not allowed.\"\n });\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n // Note: resizable ArrayBuffers are currently a proposal\n // 4. Return the IDL DataView value that is a reference\n // to the same object as V.\n return V;\n};\n// https://webidl.spec.whatwg.org/#BufferSource\n$92a67e7727c3920a$var$webidl.converters.BufferSource = function(V, opts = {}) {\n if ($92a67e7727c3920a$require$types.isAnyArrayBuffer(V)) return $92a67e7727c3920a$var$webidl.converters.ArrayBuffer(V, opts);\n if ($92a67e7727c3920a$require$types.isTypedArray(V)) return $92a67e7727c3920a$var$webidl.converters.TypedArray(V, V.constructor);\n if ($92a67e7727c3920a$require$types.isDataView(V)) return $92a67e7727c3920a$var$webidl.converters.DataView(V, opts);\n throw new TypeError(`Could not convert ${V} to a BufferSource.`);\n};\n$92a67e7727c3920a$var$webidl.converters[\"sequence\"] = $92a67e7727c3920a$var$webidl.sequenceConverter($92a67e7727c3920a$var$webidl.converters.ByteString);\n$92a67e7727c3920a$var$webidl.converters[\"sequence>\"] = $92a67e7727c3920a$var$webidl.sequenceConverter($92a67e7727c3920a$var$webidl.converters[\"sequence\"]);\n$92a67e7727c3920a$var$webidl.converters[\"record\"] = $92a67e7727c3920a$var$webidl.recordConverter($92a67e7727c3920a$var$webidl.converters.ByteString, $92a67e7727c3920a$var$webidl.converters.ByteString);\nmodule.exports = {\n webidl: $92a67e7727c3920a$var$webidl\n};\n\n});\n\nparcelRegister(\"dyddI\", function(module, exports) {\n\n\nvar $9dd8b49490dbcf20$require$atob = $7rf7a$buffer.atob;\n\nvar $2Ib5S = parcelRequire(\"2Ib5S\");\nvar $9dd8b49490dbcf20$require$isomorphicDecode = $2Ib5S.isomorphicDecode;\nconst $9dd8b49490dbcf20$var$encoder = new TextEncoder();\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-token-code-point\n */ const $9dd8b49490dbcf20$var$HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;\nconst $9dd8b49490dbcf20$var$HTTP_WHITESPACE_REGEX = /(\\u000A|\\u000D|\\u0009|\\u0020)/ // eslint-disable-line\n;\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-quoted-string-token-code-point\n */ const $9dd8b49490dbcf20$var$HTTP_QUOTED_STRING_TOKENS = /[\\u0009|\\u0020-\\u007E|\\u0080-\\u00FF]/ // eslint-disable-line\n;\n// https://fetch.spec.whatwg.org/#data-url-processor\n/** @param {URL} dataURL */ function $9dd8b49490dbcf20$var$dataURLProcessor(dataURL) {\n // 1. Assert: dataURL’s scheme is \"data\".\n $7rf7a$assert(dataURL.protocol === \"data:\");\n // 2. Let input be the result of running the URL\n // serializer on dataURL with exclude fragment\n // set to true.\n let input = $9dd8b49490dbcf20$var$URLSerializer(dataURL, true);\n // 3. Remove the leading \"data:\" string from input.\n input = input.slice(5);\n // 4. Let position point at the start of input.\n const position = {\n position: 0\n };\n // 5. Let mimeType be the result of collecting a\n // sequence of code points that are not equal\n // to U+002C (,), given position.\n let mimeType = $9dd8b49490dbcf20$var$collectASequenceOfCodePointsFast(\",\", input, position);\n // 6. Strip leading and trailing ASCII whitespace\n // from mimeType.\n // Undici implementation note: we need to store the\n // length because if the mimetype has spaces removed,\n // the wrong amount will be sliced from the input in\n // step #9\n const mimeTypeLength = mimeType.length;\n mimeType = $9dd8b49490dbcf20$var$removeASCIIWhitespace(mimeType, true, true);\n // 7. If position is past the end of input, then\n // return failure\n if (position.position >= input.length) return \"failure\";\n // 8. Advance position by 1.\n position.position++;\n // 9. Let encodedBody be the remainder of input.\n const encodedBody = input.slice(mimeTypeLength + 1);\n // 10. Let body be the percent-decoding of encodedBody.\n let body = $9dd8b49490dbcf20$var$stringPercentDecode(encodedBody);\n // 11. If mimeType ends with U+003B (;), followed by\n // zero or more U+0020 SPACE, followed by an ASCII\n // case-insensitive match for \"base64\", then:\n if (/;(\\u0020){0,}base64$/i.test(mimeType)) {\n // 1. Let stringBody be the isomorphic decode of body.\n const stringBody = $9dd8b49490dbcf20$require$isomorphicDecode(body);\n // 2. Set body to the forgiving-base64 decode of\n // stringBody.\n body = $9dd8b49490dbcf20$var$forgivingBase64(stringBody);\n // 3. If body is failure, then return failure.\n if (body === \"failure\") return \"failure\";\n // 4. Remove the last 6 code points from mimeType.\n mimeType = mimeType.slice(0, -6);\n // 5. Remove trailing U+0020 SPACE code points from mimeType,\n // if any.\n mimeType = mimeType.replace(/(\\u0020)+$/, \"\");\n // 6. Remove the last U+003B (;) code point from mimeType.\n mimeType = mimeType.slice(0, -1);\n }\n // 12. If mimeType starts with U+003B (;), then prepend\n // \"text/plain\" to mimeType.\n if (mimeType.startsWith(\";\")) mimeType = \"text/plain\" + mimeType;\n // 13. Let mimeTypeRecord be the result of parsing\n // mimeType.\n let mimeTypeRecord = $9dd8b49490dbcf20$var$parseMIMEType(mimeType);\n // 14. If mimeTypeRecord is failure, then set\n // mimeTypeRecord to text/plain;charset=US-ASCII.\n if (mimeTypeRecord === \"failure\") mimeTypeRecord = $9dd8b49490dbcf20$var$parseMIMEType(\"text/plain;charset=US-ASCII\");\n // 15. Return a new data: URL struct whose MIME\n // type is mimeTypeRecord and body is body.\n // https://fetch.spec.whatwg.org/#data-url-struct\n return {\n mimeType: mimeTypeRecord,\n body: body\n };\n}\n// https://url.spec.whatwg.org/#concept-url-serializer\n/**\n * @param {URL} url\n * @param {boolean} excludeFragment\n */ function $9dd8b49490dbcf20$var$URLSerializer(url, excludeFragment = false) {\n if (!excludeFragment) return url.href;\n const href = url.href;\n const hashLength = url.hash.length;\n return hashLength === 0 ? href : href.substring(0, href.length - hashLength);\n}\n// https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points\n/**\n * @param {(char: string) => boolean} condition\n * @param {string} input\n * @param {{ position: number }} position\n */ function $9dd8b49490dbcf20$var$collectASequenceOfCodePoints(condition, input, position) {\n // 1. Let result be the empty string.\n let result = \"\";\n // 2. While position doesn’t point past the end of input and the\n // code point at position within input meets the condition condition:\n while(position.position < input.length && condition(input[position.position])){\n // 1. Append that code point to the end of result.\n result += input[position.position];\n // 2. Advance position by 1.\n position.position++;\n }\n // 3. Return result.\n return result;\n}\n/**\n * A faster collectASequenceOfCodePoints that only works when comparing a single character.\n * @param {string} char\n * @param {string} input\n * @param {{ position: number }} position\n */ function $9dd8b49490dbcf20$var$collectASequenceOfCodePointsFast(char, input, position) {\n const idx = input.indexOf(char, position.position);\n const start = position.position;\n if (idx === -1) {\n position.position = input.length;\n return input.slice(start);\n }\n position.position = idx;\n return input.slice(start, position.position);\n}\n// https://url.spec.whatwg.org/#string-percent-decode\n/** @param {string} input */ function $9dd8b49490dbcf20$var$stringPercentDecode(input) {\n // 1. Let bytes be the UTF-8 encoding of input.\n const bytes = $9dd8b49490dbcf20$var$encoder.encode(input);\n // 2. Return the percent-decoding of bytes.\n return $9dd8b49490dbcf20$var$percentDecode(bytes);\n}\n// https://url.spec.whatwg.org/#percent-decode\n/** @param {Uint8Array} input */ function $9dd8b49490dbcf20$var$percentDecode(input) {\n // 1. Let output be an empty byte sequence.\n /** @type {number[]} */ const output = [];\n // 2. For each byte byte in input:\n for(let i = 0; i < input.length; i++){\n const byte = input[i];\n // 1. If byte is not 0x25 (%), then append byte to output.\n if (byte !== 0x25) output.push(byte);\n else if (byte === 0x25 && !/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(input[i + 1], input[i + 2]))) output.push(0x25);\n else {\n // 1. Let bytePoint be the two bytes after byte in input,\n // decoded, and then interpreted as hexadecimal number.\n const nextTwoBytes = String.fromCharCode(input[i + 1], input[i + 2]);\n const bytePoint = Number.parseInt(nextTwoBytes, 16);\n // 2. Append a byte whose value is bytePoint to output.\n output.push(bytePoint);\n // 3. Skip the next two bytes in input.\n i += 2;\n }\n }\n // 3. Return output.\n return Uint8Array.from(output);\n}\n// https://mimesniff.spec.whatwg.org/#parse-a-mime-type\n/** @param {string} input */ function $9dd8b49490dbcf20$var$parseMIMEType(input) {\n // 1. Remove any leading and trailing HTTP whitespace\n // from input.\n input = $9dd8b49490dbcf20$var$removeHTTPWhitespace(input, true, true);\n // 2. Let position be a position variable for input,\n // initially pointing at the start of input.\n const position = {\n position: 0\n };\n // 3. Let type be the result of collecting a sequence\n // of code points that are not U+002F (/) from\n // input, given position.\n const type = $9dd8b49490dbcf20$var$collectASequenceOfCodePointsFast(\"/\", input, position);\n // 4. If type is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n // https://mimesniff.spec.whatwg.org/#http-token-code-point\n if (type.length === 0 || !$9dd8b49490dbcf20$var$HTTP_TOKEN_CODEPOINTS.test(type)) return \"failure\";\n // 5. If position is past the end of input, then return\n // failure\n if (position.position > input.length) return \"failure\";\n // 6. Advance position by 1. (This skips past U+002F (/).)\n position.position++;\n // 7. Let subtype be the result of collecting a sequence of\n // code points that are not U+003B (;) from input, given\n // position.\n let subtype = $9dd8b49490dbcf20$var$collectASequenceOfCodePointsFast(\";\", input, position);\n // 8. Remove any trailing HTTP whitespace from subtype.\n subtype = $9dd8b49490dbcf20$var$removeHTTPWhitespace(subtype, false, true);\n // 9. If subtype is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n if (subtype.length === 0 || !$9dd8b49490dbcf20$var$HTTP_TOKEN_CODEPOINTS.test(subtype)) return \"failure\";\n const typeLowercase = type.toLowerCase();\n const subtypeLowercase = subtype.toLowerCase();\n // 10. Let mimeType be a new MIME type record whose type\n // is type, in ASCII lowercase, and subtype is subtype,\n // in ASCII lowercase.\n // https://mimesniff.spec.whatwg.org/#mime-type\n const mimeType = {\n type: typeLowercase,\n subtype: subtypeLowercase,\n /** @type {Map} */ parameters: new Map(),\n // https://mimesniff.spec.whatwg.org/#mime-type-essence\n essence: `${typeLowercase}/${subtypeLowercase}`\n };\n // 11. While position is not past the end of input:\n while(position.position < input.length){\n // 1. Advance position by 1. (This skips past U+003B (;).)\n position.position++;\n // 2. Collect a sequence of code points that are HTTP\n // whitespace from input given position.\n $9dd8b49490dbcf20$var$collectASequenceOfCodePoints(// https://fetch.spec.whatwg.org/#http-whitespace\n (char)=>$9dd8b49490dbcf20$var$HTTP_WHITESPACE_REGEX.test(char), input, position);\n // 3. Let parameterName be the result of collecting a\n // sequence of code points that are not U+003B (;)\n // or U+003D (=) from input, given position.\n let parameterName = $9dd8b49490dbcf20$var$collectASequenceOfCodePoints((char)=>char !== \";\" && char !== \"=\", input, position);\n // 4. Set parameterName to parameterName, in ASCII\n // lowercase.\n parameterName = parameterName.toLowerCase();\n // 5. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 1. If the code point at position within input is\n // U+003B (;), then continue.\n if (input[position.position] === \";\") continue;\n // 2. Advance position by 1. (This skips past U+003D (=).)\n position.position++;\n }\n // 6. If position is past the end of input, then break.\n if (position.position > input.length) break;\n // 7. Let parameterValue be null.\n let parameterValue = null;\n // 8. If the code point at position within input is\n // U+0022 (\"), then:\n if (input[position.position] === '\"') {\n // 1. Set parameterValue to the result of collecting\n // an HTTP quoted string from input, given position\n // and the extract-value flag.\n parameterValue = $9dd8b49490dbcf20$var$collectAnHTTPQuotedString(input, position, true);\n // 2. Collect a sequence of code points that are not\n // U+003B (;) from input, given position.\n $9dd8b49490dbcf20$var$collectASequenceOfCodePointsFast(\";\", input, position);\n // 9. Otherwise:\n } else {\n // 1. Set parameterValue to the result of collecting\n // a sequence of code points that are not U+003B (;)\n // from input, given position.\n parameterValue = $9dd8b49490dbcf20$var$collectASequenceOfCodePointsFast(\";\", input, position);\n // 2. Remove any trailing HTTP whitespace from parameterValue.\n parameterValue = $9dd8b49490dbcf20$var$removeHTTPWhitespace(parameterValue, false, true);\n // 3. If parameterValue is the empty string, then continue.\n if (parameterValue.length === 0) continue;\n }\n // 10. If all of the following are true\n // - parameterName is not the empty string\n // - parameterName solely contains HTTP token code points\n // - parameterValue solely contains HTTP quoted-string token code points\n // - mimeType’s parameters[parameterName] does not exist\n // then set mimeType’s parameters[parameterName] to parameterValue.\n if (parameterName.length !== 0 && $9dd8b49490dbcf20$var$HTTP_TOKEN_CODEPOINTS.test(parameterName) && (parameterValue.length === 0 || $9dd8b49490dbcf20$var$HTTP_QUOTED_STRING_TOKENS.test(parameterValue)) && !mimeType.parameters.has(parameterName)) mimeType.parameters.set(parameterName, parameterValue);\n }\n // 12. Return mimeType.\n return mimeType;\n}\n// https://infra.spec.whatwg.org/#forgiving-base64-decode\n/** @param {string} data */ function $9dd8b49490dbcf20$var$forgivingBase64(data) {\n // 1. Remove all ASCII whitespace from data.\n data = data.replace(/[\\u0009\\u000A\\u000C\\u000D\\u0020]/g, \"\") // eslint-disable-line\n ;\n // 2. If data’s code point length divides by 4 leaving\n // no remainder, then:\n if (data.length % 4 === 0) // 1. If data ends with one or two U+003D (=) code points,\n // then remove them from data.\n data = data.replace(/=?=$/, \"\");\n // 3. If data’s code point length divides by 4 leaving\n // a remainder of 1, then return failure.\n if (data.length % 4 === 1) return \"failure\";\n // 4. If data contains a code point that is not one of\n // U+002B (+)\n // U+002F (/)\n // ASCII alphanumeric\n // then return failure.\n if (/[^+/0-9A-Za-z]/.test(data)) return \"failure\";\n const binary = $9dd8b49490dbcf20$require$atob(data);\n const bytes = new Uint8Array(binary.length);\n for(let byte = 0; byte < binary.length; byte++)bytes[byte] = binary.charCodeAt(byte);\n return bytes;\n}\n// https://fetch.spec.whatwg.org/#collect-an-http-quoted-string\n// tests: https://fetch.spec.whatwg.org/#example-http-quoted-string\n/**\n * @param {string} input\n * @param {{ position: number }} position\n * @param {boolean?} extractValue\n */ function $9dd8b49490dbcf20$var$collectAnHTTPQuotedString(input, position, extractValue) {\n // 1. Let positionStart be position.\n const positionStart = position.position;\n // 2. Let value be the empty string.\n let value = \"\";\n // 3. Assert: the code point at position within input\n // is U+0022 (\").\n $7rf7a$assert(input[position.position] === '\"');\n // 4. Advance position by 1.\n position.position++;\n // 5. While true:\n while(true){\n // 1. Append the result of collecting a sequence of code points\n // that are not U+0022 (\") or U+005C (\\) from input, given\n // position, to value.\n value += $9dd8b49490dbcf20$var$collectASequenceOfCodePoints((char)=>char !== '\"' && char !== \"\\\\\", input, position);\n // 2. If position is past the end of input, then break.\n if (position.position >= input.length) break;\n // 3. Let quoteOrBackslash be the code point at position within\n // input.\n const quoteOrBackslash = input[position.position];\n // 4. Advance position by 1.\n position.position++;\n // 5. If quoteOrBackslash is U+005C (\\), then:\n if (quoteOrBackslash === \"\\\\\") {\n // 1. If position is past the end of input, then append\n // U+005C (\\) to value and break.\n if (position.position >= input.length) {\n value += \"\\\\\";\n break;\n }\n // 2. Append the code point at position within input to value.\n value += input[position.position];\n // 3. Advance position by 1.\n position.position++;\n // 6. Otherwise:\n } else {\n // 1. Assert: quoteOrBackslash is U+0022 (\").\n $7rf7a$assert(quoteOrBackslash === '\"');\n break;\n }\n }\n // 6. If the extract-value flag is set, then return value.\n if (extractValue) return value;\n // 7. Return the code points from positionStart to position,\n // inclusive, within input.\n return input.slice(positionStart, position.position);\n}\n/**\n * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type\n */ function $9dd8b49490dbcf20$var$serializeAMimeType(mimeType) {\n $7rf7a$assert(mimeType !== \"failure\");\n const { parameters: parameters, essence: essence } = mimeType;\n // 1. Let serialization be the concatenation of mimeType’s\n // type, U+002F (/), and mimeType’s subtype.\n let serialization = essence;\n // 2. For each name → value of mimeType’s parameters:\n for (let [name, value] of parameters.entries()){\n // 1. Append U+003B (;) to serialization.\n serialization += \";\";\n // 2. Append name to serialization.\n serialization += name;\n // 3. Append U+003D (=) to serialization.\n serialization += \"=\";\n // 4. If value does not solely contain HTTP token code\n // points or value is the empty string, then:\n if (!$9dd8b49490dbcf20$var$HTTP_TOKEN_CODEPOINTS.test(value)) {\n // 1. Precede each occurence of U+0022 (\") or\n // U+005C (\\) in value with U+005C (\\).\n value = value.replace(/(\\\\|\")/g, \"\\\\$1\");\n // 2. Prepend U+0022 (\") to value.\n value = '\"' + value;\n // 3. Append U+0022 (\") to value.\n value += '\"';\n }\n // 5. Append value to serialization.\n serialization += value;\n }\n // 3. Return serialization.\n return serialization;\n}\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} char\n */ function $9dd8b49490dbcf20$var$isHTTPWhiteSpace(char) {\n return char === \"\\r\" || char === \"\\n\" || char === \"\t\" || char === \" \";\n}\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} str\n */ function $9dd8b49490dbcf20$var$removeHTTPWhitespace(str, leading = true, trailing = true) {\n let lead = 0;\n let trail = str.length - 1;\n if (leading) {\n for(; lead < str.length && $9dd8b49490dbcf20$var$isHTTPWhiteSpace(str[lead]); lead++);\n }\n if (trailing) {\n for(; trail > 0 && $9dd8b49490dbcf20$var$isHTTPWhiteSpace(str[trail]); trail--);\n }\n return str.slice(lead, trail + 1);\n}\n/**\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n * @param {string} char\n */ function $9dd8b49490dbcf20$var$isASCIIWhitespace(char) {\n return char === \"\\r\" || char === \"\\n\" || char === \"\t\" || char === \"\\f\" || char === \" \";\n}\n/**\n * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace\n */ function $9dd8b49490dbcf20$var$removeASCIIWhitespace(str, leading = true, trailing = true) {\n let lead = 0;\n let trail = str.length - 1;\n if (leading) {\n for(; lead < str.length && $9dd8b49490dbcf20$var$isASCIIWhitespace(str[lead]); lead++);\n }\n if (trailing) {\n for(; trail > 0 && $9dd8b49490dbcf20$var$isASCIIWhitespace(str[trail]); trail--);\n }\n return str.slice(lead, trail + 1);\n}\nmodule.exports = {\n dataURLProcessor: $9dd8b49490dbcf20$var$dataURLProcessor,\n URLSerializer: $9dd8b49490dbcf20$var$URLSerializer,\n collectASequenceOfCodePoints: $9dd8b49490dbcf20$var$collectASequenceOfCodePoints,\n collectASequenceOfCodePointsFast: $9dd8b49490dbcf20$var$collectASequenceOfCodePointsFast,\n stringPercentDecode: $9dd8b49490dbcf20$var$stringPercentDecode,\n parseMIMEType: $9dd8b49490dbcf20$var$parseMIMEType,\n collectAnHTTPQuotedString: $9dd8b49490dbcf20$var$collectAnHTTPQuotedString,\n serializeAMimeType: $9dd8b49490dbcf20$var$serializeAMimeType\n};\n\n});\n\n\n\n\n\nparcelRegister(\"8fhlK\", function(module, exports) {\n\"use strict\";\n\n\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\n\nvar $eCuXV = parcelRequire(\"eCuXV\");\nvar $600d2ebdb1606277$require$InvalidArgumentError = $eCuXV.InvalidArgumentError;\nvar $600d2ebdb1606277$require$ConnectTimeoutError = $eCuXV.ConnectTimeoutError;\nlet $600d2ebdb1606277$var$tls // include tls conditionally since it is not always available\n;\n// TODO: session re-use does not wait for the first\n// connection to resolve the session and might therefore\n// resolve the same servername multiple times even when\n// re-use is enabled.\nlet $600d2ebdb1606277$var$SessionCache;\n// FIXME: remove workaround when the Node bug is fixed\n// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\nif ($parcel$global.FinalizationRegistry && !process.env.NODE_V8_COVERAGE) $600d2ebdb1606277$var$SessionCache = class WeakSessionCache {\n constructor(maxCachedSessions){\n this._maxCachedSessions = maxCachedSessions;\n this._sessionCache = new Map();\n this._sessionRegistry = new $parcel$global.FinalizationRegistry((key)=>{\n if (this._sessionCache.size < this._maxCachedSessions) return;\n const ref = this._sessionCache.get(key);\n if (ref !== undefined && ref.deref() === undefined) this._sessionCache.delete(key);\n });\n }\n get(sessionKey) {\n const ref = this._sessionCache.get(sessionKey);\n return ref ? ref.deref() : null;\n }\n set(sessionKey, session) {\n if (this._maxCachedSessions === 0) return;\n this._sessionCache.set(sessionKey, new WeakRef(session));\n this._sessionRegistry.register(session, sessionKey);\n }\n};\nelse $600d2ebdb1606277$var$SessionCache = class SimpleSessionCache {\n constructor(maxCachedSessions){\n this._maxCachedSessions = maxCachedSessions;\n this._sessionCache = new Map();\n }\n get(sessionKey) {\n return this._sessionCache.get(sessionKey);\n }\n set(sessionKey, session) {\n if (this._maxCachedSessions === 0) return;\n if (this._sessionCache.size >= this._maxCachedSessions) {\n // remove the oldest session\n const { value: oldestKey } = this._sessionCache.keys().next();\n this._sessionCache.delete(oldestKey);\n }\n this._sessionCache.set(sessionKey, session);\n }\n};\n\nfunction $600d2ebdb1606277$var$buildConnector({ allowH2: allowH2, maxCachedSessions: maxCachedSessions, socketPath: socketPath, timeout: timeout, ...opts }) {\n if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) throw new $600d2ebdb1606277$require$InvalidArgumentError(\"maxCachedSessions must be a positive integer or zero\");\n const options = {\n path: socketPath,\n ...opts\n };\n const sessionCache = new $600d2ebdb1606277$var$SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions);\n timeout = timeout == null ? 10e3 : timeout;\n allowH2 = allowH2 != null ? allowH2 : false;\n return function connect({ hostname: hostname, host: host, protocol: protocol, port: port, servername: servername, localAddress: localAddress, httpSocket: httpSocket }, callback) {\n let socket;\n if (protocol === \"https:\") {\n if (!$600d2ebdb1606277$var$tls) $600d2ebdb1606277$var$tls = $7rf7a$tls;\n servername = servername || options.servername || $jqWlt.getServerName(host) || null;\n const sessionKey = servername || hostname;\n const session = sessionCache.get(sessionKey) || null;\n $7rf7a$assert(sessionKey);\n socket = $600d2ebdb1606277$var$tls.connect({\n highWaterMark: 16384,\n ...options,\n servername: servername,\n session: session,\n localAddress: localAddress,\n // TODO(HTTP/2): Add support for h2c\n ALPNProtocols: allowH2 ? [\n \"http/1.1\",\n \"h2\"\n ] : [\n \"http/1.1\"\n ],\n socket: httpSocket,\n port: port || 443,\n host: hostname\n });\n socket.on(\"session\", function(session) {\n // TODO (fix): Can a session become invalid once established? Don't think so?\n sessionCache.set(sessionKey, session);\n });\n } else {\n $7rf7a$assert(!httpSocket, \"httpSocket can only be sent on TLS update\");\n socket = $7rf7a$net.connect({\n highWaterMark: 65536,\n ...options,\n localAddress: localAddress,\n port: port || 80,\n host: hostname\n });\n }\n // Set TCP keep alive options on the socket here instead of in connect() for the case of assigning the socket\n if (options.keepAlive == null || options.keepAlive) {\n const keepAliveInitialDelay = options.keepAliveInitialDelay === undefined ? 60e3 : options.keepAliveInitialDelay;\n socket.setKeepAlive(true, keepAliveInitialDelay);\n }\n const cancelTimeout = $600d2ebdb1606277$var$setupTimeout(()=>$600d2ebdb1606277$var$onConnectTimeout(socket), timeout);\n socket.setNoDelay(true).once(protocol === \"https:\" ? \"secureConnect\" : \"connect\", function() {\n cancelTimeout();\n if (callback) {\n const cb = callback;\n callback = null;\n cb(null, this);\n }\n }).on(\"error\", function(err) {\n cancelTimeout();\n if (callback) {\n const cb = callback;\n callback = null;\n cb(err);\n }\n });\n return socket;\n };\n}\nfunction $600d2ebdb1606277$var$setupTimeout(onConnectTimeout, timeout) {\n if (!timeout) return ()=>{};\n let s1 = null;\n let s2 = null;\n const timeoutId = setTimeout(()=>{\n // setImmediate is added to make sure that we priotorise socket error events over timeouts\n s1 = setImmediate(()=>{\n if (process.platform === \"win32\") // Windows needs an extra setImmediate probably due to implementation differences in the socket logic\n s2 = setImmediate(()=>onConnectTimeout());\n else onConnectTimeout();\n });\n }, timeout);\n return ()=>{\n clearTimeout(timeoutId);\n clearImmediate(s1);\n clearImmediate(s2);\n };\n}\nfunction $600d2ebdb1606277$var$onConnectTimeout(socket) {\n $jqWlt.destroy(socket, new $600d2ebdb1606277$require$ConnectTimeoutError());\n}\nmodule.exports = $600d2ebdb1606277$var$buildConnector;\n\n});\n\nparcelRegister(\"51KgU\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.SPECIAL_HEADERS = module.exports.HEADER_STATE = module.exports.MINOR = module.exports.MAJOR = module.exports.CONNECTION_TOKEN_CHARS = module.exports.HEADER_CHARS = module.exports.TOKEN = module.exports.STRICT_TOKEN = module.exports.HEX = module.exports.URL_CHAR = module.exports.STRICT_URL_CHAR = module.exports.USERINFO_CHARS = module.exports.MARK = module.exports.ALPHANUM = module.exports.NUM = module.exports.HEX_MAP = module.exports.NUM_MAP = module.exports.ALPHA = module.exports.FINISH = module.exports.H_METHOD_MAP = module.exports.METHOD_MAP = module.exports.METHODS_RTSP = module.exports.METHODS_ICE = module.exports.METHODS_HTTP = module.exports.METHODS = module.exports.LENIENT_FLAGS = module.exports.FLAGS = module.exports.TYPE = module.exports.ERROR = void 0;\n\nvar $9yE9p = parcelRequire(\"9yE9p\");\n// C headers\nvar $3a90f05ea93eadf9$var$ERROR;\n(function(ERROR) {\n ERROR[ERROR[\"OK\"] = 0] = \"OK\";\n ERROR[ERROR[\"INTERNAL\"] = 1] = \"INTERNAL\";\n ERROR[ERROR[\"STRICT\"] = 2] = \"STRICT\";\n ERROR[ERROR[\"LF_EXPECTED\"] = 3] = \"LF_EXPECTED\";\n ERROR[ERROR[\"UNEXPECTED_CONTENT_LENGTH\"] = 4] = \"UNEXPECTED_CONTENT_LENGTH\";\n ERROR[ERROR[\"CLOSED_CONNECTION\"] = 5] = \"CLOSED_CONNECTION\";\n ERROR[ERROR[\"INVALID_METHOD\"] = 6] = \"INVALID_METHOD\";\n ERROR[ERROR[\"INVALID_URL\"] = 7] = \"INVALID_URL\";\n ERROR[ERROR[\"INVALID_CONSTANT\"] = 8] = \"INVALID_CONSTANT\";\n ERROR[ERROR[\"INVALID_VERSION\"] = 9] = \"INVALID_VERSION\";\n ERROR[ERROR[\"INVALID_HEADER_TOKEN\"] = 10] = \"INVALID_HEADER_TOKEN\";\n ERROR[ERROR[\"INVALID_CONTENT_LENGTH\"] = 11] = \"INVALID_CONTENT_LENGTH\";\n ERROR[ERROR[\"INVALID_CHUNK_SIZE\"] = 12] = \"INVALID_CHUNK_SIZE\";\n ERROR[ERROR[\"INVALID_STATUS\"] = 13] = \"INVALID_STATUS\";\n ERROR[ERROR[\"INVALID_EOF_STATE\"] = 14] = \"INVALID_EOF_STATE\";\n ERROR[ERROR[\"INVALID_TRANSFER_ENCODING\"] = 15] = \"INVALID_TRANSFER_ENCODING\";\n ERROR[ERROR[\"CB_MESSAGE_BEGIN\"] = 16] = \"CB_MESSAGE_BEGIN\";\n ERROR[ERROR[\"CB_HEADERS_COMPLETE\"] = 17] = \"CB_HEADERS_COMPLETE\";\n ERROR[ERROR[\"CB_MESSAGE_COMPLETE\"] = 18] = \"CB_MESSAGE_COMPLETE\";\n ERROR[ERROR[\"CB_CHUNK_HEADER\"] = 19] = \"CB_CHUNK_HEADER\";\n ERROR[ERROR[\"CB_CHUNK_COMPLETE\"] = 20] = \"CB_CHUNK_COMPLETE\";\n ERROR[ERROR[\"PAUSED\"] = 21] = \"PAUSED\";\n ERROR[ERROR[\"PAUSED_UPGRADE\"] = 22] = \"PAUSED_UPGRADE\";\n ERROR[ERROR[\"PAUSED_H2_UPGRADE\"] = 23] = \"PAUSED_H2_UPGRADE\";\n ERROR[ERROR[\"USER\"] = 24] = \"USER\";\n})($3a90f05ea93eadf9$var$ERROR = module.exports.ERROR || (module.exports.ERROR = {}));\nvar $3a90f05ea93eadf9$var$TYPE;\n(function(TYPE) {\n TYPE[TYPE[\"BOTH\"] = 0] = \"BOTH\";\n TYPE[TYPE[\"REQUEST\"] = 1] = \"REQUEST\";\n TYPE[TYPE[\"RESPONSE\"] = 2] = \"RESPONSE\";\n})($3a90f05ea93eadf9$var$TYPE = module.exports.TYPE || (module.exports.TYPE = {}));\nvar $3a90f05ea93eadf9$var$FLAGS;\n(function(FLAGS) {\n FLAGS[FLAGS[\"CONNECTION_KEEP_ALIVE\"] = 1] = \"CONNECTION_KEEP_ALIVE\";\n FLAGS[FLAGS[\"CONNECTION_CLOSE\"] = 2] = \"CONNECTION_CLOSE\";\n FLAGS[FLAGS[\"CONNECTION_UPGRADE\"] = 4] = \"CONNECTION_UPGRADE\";\n FLAGS[FLAGS[\"CHUNKED\"] = 8] = \"CHUNKED\";\n FLAGS[FLAGS[\"UPGRADE\"] = 16] = \"UPGRADE\";\n FLAGS[FLAGS[\"CONTENT_LENGTH\"] = 32] = \"CONTENT_LENGTH\";\n FLAGS[FLAGS[\"SKIPBODY\"] = 64] = \"SKIPBODY\";\n FLAGS[FLAGS[\"TRAILING\"] = 128] = \"TRAILING\";\n // 1 << 8 is unused\n FLAGS[FLAGS[\"TRANSFER_ENCODING\"] = 512] = \"TRANSFER_ENCODING\";\n})($3a90f05ea93eadf9$var$FLAGS = module.exports.FLAGS || (module.exports.FLAGS = {}));\nvar $3a90f05ea93eadf9$var$LENIENT_FLAGS;\n(function(LENIENT_FLAGS) {\n LENIENT_FLAGS[LENIENT_FLAGS[\"HEADERS\"] = 1] = \"HEADERS\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"CHUNKED_LENGTH\"] = 2] = \"CHUNKED_LENGTH\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"KEEP_ALIVE\"] = 4] = \"KEEP_ALIVE\";\n})($3a90f05ea93eadf9$var$LENIENT_FLAGS = module.exports.LENIENT_FLAGS || (module.exports.LENIENT_FLAGS = {}));\nvar $3a90f05ea93eadf9$var$METHODS;\n(function(METHODS) {\n METHODS[METHODS[\"DELETE\"] = 0] = \"DELETE\";\n METHODS[METHODS[\"GET\"] = 1] = \"GET\";\n METHODS[METHODS[\"HEAD\"] = 2] = \"HEAD\";\n METHODS[METHODS[\"POST\"] = 3] = \"POST\";\n METHODS[METHODS[\"PUT\"] = 4] = \"PUT\";\n /* pathological */ METHODS[METHODS[\"CONNECT\"] = 5] = \"CONNECT\";\n METHODS[METHODS[\"OPTIONS\"] = 6] = \"OPTIONS\";\n METHODS[METHODS[\"TRACE\"] = 7] = \"TRACE\";\n /* WebDAV */ METHODS[METHODS[\"COPY\"] = 8] = \"COPY\";\n METHODS[METHODS[\"LOCK\"] = 9] = \"LOCK\";\n METHODS[METHODS[\"MKCOL\"] = 10] = \"MKCOL\";\n METHODS[METHODS[\"MOVE\"] = 11] = \"MOVE\";\n METHODS[METHODS[\"PROPFIND\"] = 12] = \"PROPFIND\";\n METHODS[METHODS[\"PROPPATCH\"] = 13] = \"PROPPATCH\";\n METHODS[METHODS[\"SEARCH\"] = 14] = \"SEARCH\";\n METHODS[METHODS[\"UNLOCK\"] = 15] = \"UNLOCK\";\n METHODS[METHODS[\"BIND\"] = 16] = \"BIND\";\n METHODS[METHODS[\"REBIND\"] = 17] = \"REBIND\";\n METHODS[METHODS[\"UNBIND\"] = 18] = \"UNBIND\";\n METHODS[METHODS[\"ACL\"] = 19] = \"ACL\";\n /* subversion */ METHODS[METHODS[\"REPORT\"] = 20] = \"REPORT\";\n METHODS[METHODS[\"MKACTIVITY\"] = 21] = \"MKACTIVITY\";\n METHODS[METHODS[\"CHECKOUT\"] = 22] = \"CHECKOUT\";\n METHODS[METHODS[\"MERGE\"] = 23] = \"MERGE\";\n /* upnp */ METHODS[METHODS[\"M-SEARCH\"] = 24] = \"M-SEARCH\";\n METHODS[METHODS[\"NOTIFY\"] = 25] = \"NOTIFY\";\n METHODS[METHODS[\"SUBSCRIBE\"] = 26] = \"SUBSCRIBE\";\n METHODS[METHODS[\"UNSUBSCRIBE\"] = 27] = \"UNSUBSCRIBE\";\n /* RFC-5789 */ METHODS[METHODS[\"PATCH\"] = 28] = \"PATCH\";\n METHODS[METHODS[\"PURGE\"] = 29] = \"PURGE\";\n /* CalDAV */ METHODS[METHODS[\"MKCALENDAR\"] = 30] = \"MKCALENDAR\";\n /* RFC-2068, section 19.6.1.2 */ METHODS[METHODS[\"LINK\"] = 31] = \"LINK\";\n METHODS[METHODS[\"UNLINK\"] = 32] = \"UNLINK\";\n /* icecast */ METHODS[METHODS[\"SOURCE\"] = 33] = \"SOURCE\";\n /* RFC-7540, section 11.6 */ METHODS[METHODS[\"PRI\"] = 34] = \"PRI\";\n /* RFC-2326 RTSP */ METHODS[METHODS[\"DESCRIBE\"] = 35] = \"DESCRIBE\";\n METHODS[METHODS[\"ANNOUNCE\"] = 36] = \"ANNOUNCE\";\n METHODS[METHODS[\"SETUP\"] = 37] = \"SETUP\";\n METHODS[METHODS[\"PLAY\"] = 38] = \"PLAY\";\n METHODS[METHODS[\"PAUSE\"] = 39] = \"PAUSE\";\n METHODS[METHODS[\"TEARDOWN\"] = 40] = \"TEARDOWN\";\n METHODS[METHODS[\"GET_PARAMETER\"] = 41] = \"GET_PARAMETER\";\n METHODS[METHODS[\"SET_PARAMETER\"] = 42] = \"SET_PARAMETER\";\n METHODS[METHODS[\"REDIRECT\"] = 43] = \"REDIRECT\";\n METHODS[METHODS[\"RECORD\"] = 44] = \"RECORD\";\n /* RAOP */ METHODS[METHODS[\"FLUSH\"] = 45] = \"FLUSH\";\n})($3a90f05ea93eadf9$var$METHODS = module.exports.METHODS || (module.exports.METHODS = {}));\nmodule.exports.METHODS_HTTP = [\n $3a90f05ea93eadf9$var$METHODS.DELETE,\n $3a90f05ea93eadf9$var$METHODS.GET,\n $3a90f05ea93eadf9$var$METHODS.HEAD,\n $3a90f05ea93eadf9$var$METHODS.POST,\n $3a90f05ea93eadf9$var$METHODS.PUT,\n $3a90f05ea93eadf9$var$METHODS.CONNECT,\n $3a90f05ea93eadf9$var$METHODS.OPTIONS,\n $3a90f05ea93eadf9$var$METHODS.TRACE,\n $3a90f05ea93eadf9$var$METHODS.COPY,\n $3a90f05ea93eadf9$var$METHODS.LOCK,\n $3a90f05ea93eadf9$var$METHODS.MKCOL,\n $3a90f05ea93eadf9$var$METHODS.MOVE,\n $3a90f05ea93eadf9$var$METHODS.PROPFIND,\n $3a90f05ea93eadf9$var$METHODS.PROPPATCH,\n $3a90f05ea93eadf9$var$METHODS.SEARCH,\n $3a90f05ea93eadf9$var$METHODS.UNLOCK,\n $3a90f05ea93eadf9$var$METHODS.BIND,\n $3a90f05ea93eadf9$var$METHODS.REBIND,\n $3a90f05ea93eadf9$var$METHODS.UNBIND,\n $3a90f05ea93eadf9$var$METHODS.ACL,\n $3a90f05ea93eadf9$var$METHODS.REPORT,\n $3a90f05ea93eadf9$var$METHODS.MKACTIVITY,\n $3a90f05ea93eadf9$var$METHODS.CHECKOUT,\n $3a90f05ea93eadf9$var$METHODS.MERGE,\n $3a90f05ea93eadf9$var$METHODS[\"M-SEARCH\"],\n $3a90f05ea93eadf9$var$METHODS.NOTIFY,\n $3a90f05ea93eadf9$var$METHODS.SUBSCRIBE,\n $3a90f05ea93eadf9$var$METHODS.UNSUBSCRIBE,\n $3a90f05ea93eadf9$var$METHODS.PATCH,\n $3a90f05ea93eadf9$var$METHODS.PURGE,\n $3a90f05ea93eadf9$var$METHODS.MKCALENDAR,\n $3a90f05ea93eadf9$var$METHODS.LINK,\n $3a90f05ea93eadf9$var$METHODS.UNLINK,\n $3a90f05ea93eadf9$var$METHODS.PRI,\n // TODO(indutny): should we allow it with HTTP?\n $3a90f05ea93eadf9$var$METHODS.SOURCE\n];\nmodule.exports.METHODS_ICE = [\n $3a90f05ea93eadf9$var$METHODS.SOURCE\n];\nmodule.exports.METHODS_RTSP = [\n $3a90f05ea93eadf9$var$METHODS.OPTIONS,\n $3a90f05ea93eadf9$var$METHODS.DESCRIBE,\n $3a90f05ea93eadf9$var$METHODS.ANNOUNCE,\n $3a90f05ea93eadf9$var$METHODS.SETUP,\n $3a90f05ea93eadf9$var$METHODS.PLAY,\n $3a90f05ea93eadf9$var$METHODS.PAUSE,\n $3a90f05ea93eadf9$var$METHODS.TEARDOWN,\n $3a90f05ea93eadf9$var$METHODS.GET_PARAMETER,\n $3a90f05ea93eadf9$var$METHODS.SET_PARAMETER,\n $3a90f05ea93eadf9$var$METHODS.REDIRECT,\n $3a90f05ea93eadf9$var$METHODS.RECORD,\n $3a90f05ea93eadf9$var$METHODS.FLUSH,\n // For AirPlay\n $3a90f05ea93eadf9$var$METHODS.GET,\n $3a90f05ea93eadf9$var$METHODS.POST\n];\nmodule.exports.METHOD_MAP = $9yE9p.enumToMap($3a90f05ea93eadf9$var$METHODS);\nmodule.exports.H_METHOD_MAP = {};\nObject.keys(module.exports.METHOD_MAP).forEach((key)=>{\n if (/^H/.test(key)) module.exports.H_METHOD_MAP[key] = module.exports.METHOD_MAP[key];\n});\nvar $3a90f05ea93eadf9$var$FINISH;\n(function(FINISH) {\n FINISH[FINISH[\"SAFE\"] = 0] = \"SAFE\";\n FINISH[FINISH[\"SAFE_WITH_CB\"] = 1] = \"SAFE_WITH_CB\";\n FINISH[FINISH[\"UNSAFE\"] = 2] = \"UNSAFE\";\n})($3a90f05ea93eadf9$var$FINISH = module.exports.FINISH || (module.exports.FINISH = {}));\nmodule.exports.ALPHA = [];\nfor(let i = \"A\".charCodeAt(0); i <= \"Z\".charCodeAt(0); i++){\n // Upper case\n module.exports.ALPHA.push(String.fromCharCode(i));\n // Lower case\n module.exports.ALPHA.push(String.fromCharCode(i + 0x20));\n}\nmodule.exports.NUM_MAP = {\n 0: 0,\n 1: 1,\n 2: 2,\n 3: 3,\n 4: 4,\n 5: 5,\n 6: 6,\n 7: 7,\n 8: 8,\n 9: 9\n};\nmodule.exports.HEX_MAP = {\n 0: 0,\n 1: 1,\n 2: 2,\n 3: 3,\n 4: 4,\n 5: 5,\n 6: 6,\n 7: 7,\n 8: 8,\n 9: 9,\n A: 0XA,\n B: 0XB,\n C: 0XC,\n D: 0XD,\n E: 0XE,\n F: 0XF,\n a: 0xa,\n b: 0xb,\n c: 0xc,\n d: 0xd,\n e: 0xe,\n f: 0xf\n};\nmodule.exports.NUM = [\n \"0\",\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\"\n];\nmodule.exports.ALPHANUM = module.exports.ALPHA.concat(module.exports.NUM);\nmodule.exports.MARK = [\n \"-\",\n \"_\",\n \".\",\n \"!\",\n \"~\",\n \"*\",\n \"'\",\n \"(\",\n \")\"\n];\nmodule.exports.USERINFO_CHARS = module.exports.ALPHANUM.concat(module.exports.MARK).concat([\n \"%\",\n \";\",\n \":\",\n \"&\",\n \"=\",\n \"+\",\n \"$\",\n \",\"\n]);\n// TODO(indutny): use RFC\nmodule.exports.STRICT_URL_CHAR = [\n \"!\",\n '\"',\n \"$\",\n \"%\",\n \"&\",\n \"'\",\n \"(\",\n \")\",\n \"*\",\n \"+\",\n \",\",\n \"-\",\n \".\",\n \"/\",\n \":\",\n \";\",\n \"<\",\n \"=\",\n \">\",\n \"@\",\n \"[\",\n \"\\\\\",\n \"]\",\n \"^\",\n \"_\",\n \"`\",\n \"{\",\n \"|\",\n \"}\",\n \"~\"\n].concat(module.exports.ALPHANUM);\nmodule.exports.URL_CHAR = module.exports.STRICT_URL_CHAR.concat([\n \"\t\",\n \"\\f\"\n]);\n// All characters with 0x80 bit set to 1\nfor(let i = 0x80; i <= 0xff; i++)module.exports.URL_CHAR.push(i);\nmodule.exports.HEX = module.exports.NUM.concat([\n \"a\",\n \"b\",\n \"c\",\n \"d\",\n \"e\",\n \"f\",\n \"A\",\n \"B\",\n \"C\",\n \"D\",\n \"E\",\n \"F\"\n]);\n/* Tokens as defined by rfc 2616. Also lowercases them.\n * token = 1*\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n */ module.exports.STRICT_TOKEN = [\n \"!\",\n \"#\",\n \"$\",\n \"%\",\n \"&\",\n \"'\",\n \"*\",\n \"+\",\n \"-\",\n \".\",\n \"^\",\n \"_\",\n \"`\",\n \"|\",\n \"~\"\n].concat(module.exports.ALPHANUM);\nmodule.exports.TOKEN = module.exports.STRICT_TOKEN.concat([\n \" \"\n]);\n/*\n * Verify that a char is a valid visible (printable) US-ASCII\n * character or %x80-FF\n */ module.exports.HEADER_CHARS = [\n \"\t\"\n];\nfor(let i = 32; i <= 255; i++)if (i !== 127) module.exports.HEADER_CHARS.push(i);\n// ',' = \\x44\nmodule.exports.CONNECTION_TOKEN_CHARS = module.exports.HEADER_CHARS.filter((c)=>c !== 44);\nmodule.exports.MAJOR = module.exports.NUM_MAP;\nmodule.exports.MINOR = module.exports.MAJOR;\nvar $3a90f05ea93eadf9$var$HEADER_STATE;\n(function(HEADER_STATE) {\n HEADER_STATE[HEADER_STATE[\"GENERAL\"] = 0] = \"GENERAL\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION\"] = 1] = \"CONNECTION\";\n HEADER_STATE[HEADER_STATE[\"CONTENT_LENGTH\"] = 2] = \"CONTENT_LENGTH\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING\"] = 3] = \"TRANSFER_ENCODING\";\n HEADER_STATE[HEADER_STATE[\"UPGRADE\"] = 4] = \"UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_KEEP_ALIVE\"] = 5] = \"CONNECTION_KEEP_ALIVE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_CLOSE\"] = 6] = \"CONNECTION_CLOSE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_UPGRADE\"] = 7] = \"CONNECTION_UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING_CHUNKED\"] = 8] = \"TRANSFER_ENCODING_CHUNKED\";\n})($3a90f05ea93eadf9$var$HEADER_STATE = module.exports.HEADER_STATE || (module.exports.HEADER_STATE = {}));\nmodule.exports.SPECIAL_HEADERS = {\n \"connection\": $3a90f05ea93eadf9$var$HEADER_STATE.CONNECTION,\n \"content-length\": $3a90f05ea93eadf9$var$HEADER_STATE.CONTENT_LENGTH,\n \"proxy-connection\": $3a90f05ea93eadf9$var$HEADER_STATE.CONNECTION,\n \"transfer-encoding\": $3a90f05ea93eadf9$var$HEADER_STATE.TRANSFER_ENCODING,\n \"upgrade\": $3a90f05ea93eadf9$var$HEADER_STATE.UPGRADE\n};\n\n});\nparcelRegister(\"9yE9p\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.enumToMap = void 0;\nfunction $6f566f1f1fd86b99$var$enumToMap(obj) {\n const res = {};\n Object.keys(obj).forEach((key)=>{\n const value = obj[key];\n if (typeof value === \"number\") res[key] = value;\n });\n return res;\n}\nmodule.exports.enumToMap = $6f566f1f1fd86b99$var$enumToMap;\n\n});\n\n\nparcelRegister(\"lx1W2\", function(module, exports) {\n\"use strict\";\n\nvar $1jLv5 = parcelRequire(\"1jLv5\");\nfunction $face2e4b40f042da$var$createRedirectInterceptor({ maxRedirections: defaultMaxRedirections }) {\n return (dispatch)=>{\n return function Intercept(opts, handler) {\n const { maxRedirections: maxRedirections = defaultMaxRedirections } = opts;\n if (!maxRedirections) return dispatch(opts, handler);\n const redirectHandler = new $1jLv5(dispatch, maxRedirections, opts, handler);\n opts = {\n ...opts,\n maxRedirections: 0\n } // Stop sub dispatcher from also redirecting.\n ;\n return dispatch(opts, redirectHandler);\n };\n };\n}\nmodule.exports = $face2e4b40f042da$var$createRedirectInterceptor;\n\n});\nparcelRegister(\"1jLv5\", function(module, exports) {\n\"use strict\";\n\nvar $jqWlt = parcelRequire(\"jqWlt\");\n\nvar $heqcE = parcelRequire(\"heqcE\");\nvar $0f5c69686da3d3db$require$kBodyUsed = $heqcE.kBodyUsed;\n\n\nvar $eCuXV = parcelRequire(\"eCuXV\");\nvar $0f5c69686da3d3db$require$InvalidArgumentError = $eCuXV.InvalidArgumentError;\n\nconst $0f5c69686da3d3db$var$redirectableStatusCodes = [\n 300,\n 301,\n 302,\n 303,\n 307,\n 308\n];\nconst $0f5c69686da3d3db$var$kBody = Symbol(\"body\");\nclass $0f5c69686da3d3db$var$BodyAsyncIterable {\n constructor(body){\n this[$0f5c69686da3d3db$var$kBody] = body;\n this[$0f5c69686da3d3db$require$kBodyUsed] = false;\n }\n async *[Symbol.asyncIterator]() {\n $7rf7a$assert(!this[$0f5c69686da3d3db$require$kBodyUsed], \"disturbed\");\n this[$0f5c69686da3d3db$require$kBodyUsed] = true;\n yield* this[$0f5c69686da3d3db$var$kBody];\n }\n}\nclass $0f5c69686da3d3db$var$RedirectHandler {\n constructor(dispatch, maxRedirections, opts, handler){\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) throw new $0f5c69686da3d3db$require$InvalidArgumentError(\"maxRedirections must be a positive number\");\n $jqWlt.validateHandler(handler, opts.method, opts.upgrade);\n this.dispatch = dispatch;\n this.location = null;\n this.abort = null;\n this.opts = {\n ...opts,\n maxRedirections: 0\n } // opts must be a copy\n ;\n this.maxRedirections = maxRedirections;\n this.handler = handler;\n this.history = [];\n if ($jqWlt.isStream(this.opts.body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if ($jqWlt.bodyLength(this.opts.body) === 0) this.opts.body.on(\"data\", function() {\n $7rf7a$assert(false);\n });\n if (typeof this.opts.body.readableDidRead !== \"boolean\") {\n this.opts.body[$0f5c69686da3d3db$require$kBodyUsed] = false;\n $7rf7a$events.prototype.on.call(this.opts.body, \"data\", function() {\n this[$0f5c69686da3d3db$require$kBodyUsed] = true;\n });\n }\n } else if (this.opts.body && typeof this.opts.body.pipeTo === \"function\") // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n this.opts.body = new $0f5c69686da3d3db$var$BodyAsyncIterable(this.opts.body);\n else if (this.opts.body && typeof this.opts.body !== \"string\" && !ArrayBuffer.isView(this.opts.body) && $jqWlt.isIterable(this.opts.body)) // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n this.opts.body = new $0f5c69686da3d3db$var$BodyAsyncIterable(this.opts.body);\n }\n onConnect(abort) {\n this.abort = abort;\n this.handler.onConnect(abort, {\n history: this.history\n });\n }\n onUpgrade(statusCode, headers, socket) {\n this.handler.onUpgrade(statusCode, headers, socket);\n }\n onError(error) {\n this.handler.onError(error);\n }\n onHeaders(statusCode, headers, resume, statusText) {\n this.location = this.history.length >= this.maxRedirections || $jqWlt.isDisturbed(this.opts.body) ? null : $0f5c69686da3d3db$var$parseLocation(statusCode, headers);\n if (this.opts.origin) this.history.push(new URL(this.opts.path, this.opts.origin));\n if (!this.location) return this.handler.onHeaders(statusCode, headers, resume, statusText);\n const { origin: origin, pathname: pathname, search: search } = $jqWlt.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin)));\n const path = search ? `${pathname}${search}` : pathname;\n // Remove headers referring to the original URL.\n // By default it is Host only, unless it's a 303 (see below), which removes also all Content-* headers.\n // https://tools.ietf.org/html/rfc7231#section-6.4\n this.opts.headers = $0f5c69686da3d3db$var$cleanRequestHeaders(this.opts.headers, statusCode === 303, this.opts.origin !== origin);\n this.opts.path = path;\n this.opts.origin = origin;\n this.opts.maxRedirections = 0;\n this.opts.query = null;\n // https://tools.ietf.org/html/rfc7231#section-6.4.4\n // In case of HTTP 303, always replace method to be either HEAD or GET\n if (statusCode === 303 && this.opts.method !== \"HEAD\") {\n this.opts.method = \"GET\";\n this.opts.body = null;\n }\n }\n onData(chunk) {\n if (this.location) ;\n else return this.handler.onData(chunk);\n }\n onComplete(trailers) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response trailers as they are not expected in case of redirections\n and neither are useful if present.\n\n See comment on onData method above for more detailed informations.\n */ this.location = null;\n this.abort = null;\n this.dispatch(this.opts, this);\n } else this.handler.onComplete(trailers);\n }\n onBodySent(chunk) {\n if (this.handler.onBodySent) this.handler.onBodySent(chunk);\n }\n}\nfunction $0f5c69686da3d3db$var$parseLocation(statusCode, headers) {\n if ($0f5c69686da3d3db$var$redirectableStatusCodes.indexOf(statusCode) === -1) return null;\n for(let i = 0; i < headers.length; i += 2){\n if (headers[i].toString().toLowerCase() === \"location\") return headers[i + 1];\n }\n}\n// https://tools.ietf.org/html/rfc7231#section-6.4.4\nfunction $0f5c69686da3d3db$var$shouldRemoveHeader(header, removeContent, unknownOrigin) {\n if (header.length === 4) return $jqWlt.headerNameToString(header) === \"host\";\n if (removeContent && $jqWlt.headerNameToString(header).startsWith(\"content-\")) return true;\n if (unknownOrigin && (header.length === 13 || header.length === 6 || header.length === 19)) {\n const name = $jqWlt.headerNameToString(header);\n return name === \"authorization\" || name === \"cookie\" || name === \"proxy-authorization\";\n }\n return false;\n}\n// https://tools.ietf.org/html/rfc7231#section-6.4\nfunction $0f5c69686da3d3db$var$cleanRequestHeaders(headers, removeContent, unknownOrigin) {\n const ret = [];\n if (Array.isArray(headers)) {\n for(let i = 0; i < headers.length; i += 2)if (!$0f5c69686da3d3db$var$shouldRemoveHeader(headers[i], removeContent, unknownOrigin)) ret.push(headers[i], headers[i + 1]);\n } else if (headers && typeof headers === \"object\") {\n for (const key of Object.keys(headers))if (!$0f5c69686da3d3db$var$shouldRemoveHeader(key, removeContent, unknownOrigin)) ret.push(key, headers[key]);\n } else $7rf7a$assert(headers == null, \"headers must be an object or an array\");\n return ret;\n}\nmodule.exports = $0f5c69686da3d3db$var$RedirectHandler;\n\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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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gAigCCCEACyAAIAE2AgwgAiABNgIIIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEIdiICIAJBgP4/akEQdkEIcSICdCIEIARBgOAfakEQdkEEcSIEdCIGIAZBgIAPakEQdkECcSIGdEEPdiACIARyIAZyayICQQF0IAAgAkEVanZBAXFyQRxqIQILIAEgAjYCHCABQgA3AhAgAkECdEG40oCAAGohBAJAAkBBACgCjNCAgAAiBkEBIAJ0IgNxDQAgBCABNgIAQQAgBiADcjYCjNCAgAAgASAENgIYIAEgATYCCCABIAE2AgwMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGAkADQCAGIgQoAgRBeHEgAEYNASACQR12IQYgAkEBdCECIAQgBkEEcWpBEGoiAygCACIGDQALIAMgATYCACABIAQ2AhggASABNgIMIAEgATYCCAwBCyAEKAIIIgAgATYCDCAEIAE2AgggAUEANgIYIAEgBDYCDCABIAA2AggLQQBBACgCqNCAgABBf2oiAUF/IAEbNgKo0ICAAAsLBAAAAAtOAAJAIAANAD8AQRB0DwsCQCAAQf//A3ENACAAQX9MDQACQCAAQRB2QAAiAEF/Rw0AQQBBMDYC+NOAgABBfw8LIABBEHQPCxDKgICAAAAL8gICA38BfgJAIAJFDQAgACABOgAAIAIgAGoiA0F/aiABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBfWogAToAACADQX5qIAE6AAAgAkEHSQ0AIAAgAToAAyADQXxqIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIFayICQSBJDQAgAa1CgYCAgBB+IQYgAyAFaiEBA0AgASAGNwMYIAEgBjc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HRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAV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FGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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yAfMBmQKkArAC/gL+AgsgASIEIAJHDfMBQd0BIRAM/wMLIAEiECACRw3dAUHDASEQDP4DCyABIgEgAkcNkAFB9wAhEAz9AwsgASIBIAJHDYYBQe8AIRAM/AMLIAEiASACRw1/QeoAIRAM+wMLIAEiASACRw17QegAIRAM+gMLIAEiASACRw14QeYAIRAM+QMLIAEiASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoi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CAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKkBCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAg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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==\";\n\n});\n\n\n\nparcelRegister(\"1Kr70\", function(module, exports) {\n\"use strict\";\n\nvar $heqcE = parcelRequire(\"heqcE\");\nvar $145f1e36c3443a77$require$kConnected = $heqcE.kConnected;\nvar $145f1e36c3443a77$require$kSize = $heqcE.kSize;\nclass $145f1e36c3443a77$var$CompatWeakRef {\n constructor(value){\n this.value = value;\n }\n deref() {\n return this.value[$145f1e36c3443a77$require$kConnected] === 0 && this.value[$145f1e36c3443a77$require$kSize] === 0 ? undefined : this.value;\n }\n}\nclass $145f1e36c3443a77$var$CompatFinalizer {\n constructor(finalizer){\n this.finalizer = finalizer;\n }\n register(dispatcher, key) {\n if (dispatcher.on) dispatcher.on(\"disconnect\", ()=>{\n if (dispatcher[$145f1e36c3443a77$require$kConnected] === 0 && dispatcher[$145f1e36c3443a77$require$kSize] === 0) this.finalizer(key);\n });\n }\n}\nmodule.exports = function() {\n // FIXME: remove workaround when the Node bug is fixed\n // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\n if (process.env.NODE_V8_COVERAGE) return {\n WeakRef: $145f1e36c3443a77$var$CompatWeakRef,\n FinalizationRegistry: $145f1e36c3443a77$var$CompatFinalizer\n };\n return {\n WeakRef: $parcel$global.WeakRef || $145f1e36c3443a77$var$CompatWeakRef,\n FinalizationRegistry: $parcel$global.FinalizationRegistry || $145f1e36c3443a77$var$CompatFinalizer\n };\n};\n\n});\n\n\n\n\n//# sourceMappingURL=proxy-agent.74b39078.js.map\n","'use strict'\n\nconst { kProxy, kClose, kDestroy, kInterceptors } = require('./core/symbols')\nconst { URL } = require('url')\nconst Agent = require('./agent')\nconst Pool = require('./pool')\nconst DispatcherBase = require('./dispatcher-base')\nconst { InvalidArgumentError, RequestAbortedError } = require('./core/errors')\nconst buildConnector = require('./core/connect')\n\nconst kAgent = Symbol('proxy agent')\nconst kClient = Symbol('proxy client')\nconst kProxyHeaders = Symbol('proxy headers')\nconst kRequestTls = Symbol('request tls settings')\nconst kProxyTls = Symbol('proxy tls settings')\nconst kConnectEndpoint = Symbol('connect endpoint function')\n\nfunction defaultProtocolPort (protocol) {\n return protocol === 'https:' ? 443 : 80\n}\n\nfunction buildProxyOptions (opts) {\n if (typeof opts === 'string') {\n opts = { uri: opts }\n }\n\n if (!opts || !opts.uri) {\n throw new InvalidArgumentError('Proxy opts.uri is mandatory')\n }\n\n return {\n uri: opts.uri,\n protocol: opts.protocol || 'https'\n }\n}\n\nfunction defaultFactory (origin, opts) {\n return new Pool(origin, opts)\n}\n\nclass ProxyAgent extends DispatcherBase {\n constructor (opts) {\n super(opts)\n this[kProxy] = buildProxyOptions(opts)\n this[kAgent] = new Agent(opts)\n this[kInterceptors] = opts.interceptors && opts.interceptors.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent)\n ? opts.interceptors.ProxyAgent\n : []\n\n if (typeof opts === 'string') {\n opts = { uri: opts }\n }\n\n if (!opts || !opts.uri) {\n throw new InvalidArgumentError('Proxy opts.uri is mandatory')\n }\n\n const { clientFactory = defaultFactory } = opts\n\n if (typeof clientFactory !== 'function') {\n throw new InvalidArgumentError('Proxy opts.clientFactory must be a function.')\n }\n\n this[kRequestTls] = opts.requestTls\n this[kProxyTls] = opts.proxyTls\n this[kProxyHeaders] = opts.headers || {}\n\n const resolvedUrl = new URL(opts.uri)\n const { origin, port, host, username, password } = resolvedUrl\n\n if (opts.auth && opts.token) {\n throw new InvalidArgumentError('opts.auth cannot be used in combination with opts.token')\n } else if (opts.auth) {\n /* @deprecated in favour of opts.token */\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${opts.auth}`\n } else if (opts.token) {\n this[kProxyHeaders]['proxy-authorization'] = opts.token\n } else if (username && password) {\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${Buffer.from(`${decodeURIComponent(username)}:${decodeURIComponent(password)}`).toString('base64')}`\n }\n\n const connect = buildConnector({ ...opts.proxyTls })\n this[kConnectEndpoint] = buildConnector({ ...opts.requestTls })\n this[kClient] = clientFactory(resolvedUrl, { connect })\n this[kAgent] = new Agent({\n ...opts,\n connect: async (opts, callback) => {\n let requestedHost = opts.host\n if (!opts.port) {\n requestedHost += `:${defaultProtocolPort(opts.protocol)}`\n }\n try {\n const { socket, statusCode } = await this[kClient].connect({\n origin,\n port,\n path: requestedHost,\n signal: opts.signal,\n headers: {\n ...this[kProxyHeaders],\n host\n }\n })\n if (statusCode !== 200) {\n socket.on('error', () => {}).destroy()\n callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))\n }\n if (opts.protocol !== 'https:') {\n callback(null, socket)\n return\n }\n let servername\n if (this[kRequestTls]) {\n servername = this[kRequestTls].servername\n } else {\n servername = opts.servername\n }\n this[kConnectEndpoint]({ ...opts, servername, httpSocket: socket }, callback)\n } catch (err) {\n callback(err)\n }\n }\n })\n }\n\n dispatch (opts, handler) {\n const { host } = new URL(opts.origin)\n const headers = buildHeaders(opts.headers)\n throwIfProxyAuthIsSent(headers)\n return this[kAgent].dispatch(\n {\n ...opts,\n headers: {\n ...headers,\n host\n }\n },\n handler\n )\n }\n\n async [kClose] () {\n await this[kAgent].close()\n await this[kClient].close()\n }\n\n async [kDestroy] () {\n await this[kAgent].destroy()\n await this[kClient].destroy()\n }\n}\n\n/**\n * @param {string[] | Record} headers\n * @returns {Record}\n */\nfunction buildHeaders (headers) {\n // When using undici.fetch, the headers list is stored\n // as an array.\n if (Array.isArray(headers)) {\n /** @type {Record} */\n const headersPair = {}\n\n for (let i = 0; i < headers.length; i += 2) {\n headersPair[headers[i]] = headers[i + 1]\n }\n\n return headersPair\n }\n\n return headers\n}\n\n/**\n * @param {Record} headers\n *\n * Previous versions of ProxyAgent suggests the Proxy-Authorization in request headers\n * Nevertheless, it was changed and to avoid a security vulnerability by end users\n * this check was created.\n * It should be removed in the next major version for performance reasons\n */\nfunction throwIfProxyAuthIsSent (headers) {\n const existProxyAuth = headers && Object.keys(headers)\n .find((key) => key.toLowerCase() === 'proxy-authorization')\n if (existProxyAuth) {\n throw new InvalidArgumentError('Proxy-Authorization should be sent in ProxyAgent constructor')\n }\n}\n\nmodule.exports = ProxyAgent\n","module.exports = {\n kClose: Symbol('close'),\n kDestroy: Symbol('destroy'),\n kDispatch: Symbol('dispatch'),\n kUrl: Symbol('url'),\n kWriting: Symbol('writing'),\n kResuming: Symbol('resuming'),\n kQueue: Symbol('queue'),\n kConnect: Symbol('connect'),\n kConnecting: Symbol('connecting'),\n kHeadersList: Symbol('headers list'),\n kKeepAliveDefaultTimeout: Symbol('default keep alive timeout'),\n kKeepAliveMaxTimeout: Symbol('max keep alive timeout'),\n kKeepAliveTimeoutThreshold: Symbol('keep alive timeout threshold'),\n kKeepAliveTimeoutValue: Symbol('keep alive timeout'),\n kKeepAlive: Symbol('keep alive'),\n kHeadersTimeout: Symbol('headers timeout'),\n kBodyTimeout: Symbol('body timeout'),\n kServerName: Symbol('server name'),\n kLocalAddress: Symbol('local address'),\n kHost: Symbol('host'),\n kNoRef: Symbol('no ref'),\n kBodyUsed: Symbol('used'),\n kRunning: Symbol('running'),\n kBlocking: Symbol('blocking'),\n kPending: Symbol('pending'),\n kSize: Symbol('size'),\n kBusy: Symbol('busy'),\n kQueued: Symbol('queued'),\n kFree: Symbol('free'),\n kConnected: Symbol('connected'),\n kClosed: Symbol('closed'),\n kNeedDrain: Symbol('need drain'),\n kReset: Symbol('reset'),\n kDestroyed: Symbol.for('nodejs.stream.destroyed'),\n kMaxHeadersSize: Symbol('max headers size'),\n kRunningIdx: Symbol('running index'),\n kPendingIdx: Symbol('pending index'),\n kError: Symbol('error'),\n kClients: Symbol('clients'),\n kClient: Symbol('client'),\n kParser: Symbol('parser'),\n kOnDestroyed: Symbol('destroy callbacks'),\n kPipelining: Symbol('pipelining'),\n kSocket: Symbol('socket'),\n kHostHeader: Symbol('host header'),\n kConnector: Symbol('connector'),\n kStrictContentLength: Symbol('strict content length'),\n kMaxRedirections: Symbol('maxRedirections'),\n kMaxRequests: Symbol('maxRequestsPerClient'),\n kProxy: Symbol('proxy agent options'),\n kCounter: Symbol('socket request counter'),\n kInterceptors: Symbol('dispatch interceptors'),\n kMaxResponseSize: Symbol('max response size'),\n kHTTP2Session: Symbol('http2Session'),\n kHTTP2SessionState: Symbol('http2Session state'),\n kHTTP2BuildRequest: Symbol('http2 build request'),\n kHTTP1BuildRequest: Symbol('http1 build request'),\n kHTTP2CopyHeaders: Symbol('http2 copy headers'),\n kHTTPConnVersion: Symbol('http connection version'),\n kRetryHandlerDefaultRetry: Symbol('retry agent default retry'),\n kConstruct: Symbol('constructable')\n}\n","'use strict'\n\nconst { InvalidArgumentError } = require('./core/errors')\nconst { kClients, kRunning, kClose, kDestroy, kDispatch, kInterceptors } = require('./core/symbols')\nconst DispatcherBase = require('./dispatcher-base')\nconst Pool = require('./pool')\nconst Client = require('./client')\nconst util = require('./core/util')\nconst createRedirectInterceptor = require('./interceptor/redirectInterceptor')\nconst { WeakRef, FinalizationRegistry } = require('./compat/dispatcher-weakref')()\n\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kMaxRedirections = Symbol('maxRedirections')\nconst kOnDrain = Symbol('onDrain')\nconst kFactory = Symbol('factory')\nconst kFinalizer = Symbol('finalizer')\nconst kOptions = Symbol('options')\n\nfunction defaultFactory (origin, opts) {\n return opts && opts.connections === 1\n ? new Client(origin, opts)\n : new Pool(origin, opts)\n}\n\nclass Agent extends DispatcherBase {\n constructor ({ factory = defaultFactory, maxRedirections = 0, connect, ...options } = {}) {\n super()\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (!Number.isInteger(maxRedirections) || maxRedirections < 0) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n if (connect && typeof connect !== 'function') {\n connect = { ...connect }\n }\n\n this[kInterceptors] = options.interceptors && options.interceptors.Agent && Array.isArray(options.interceptors.Agent)\n ? options.interceptors.Agent\n : [createRedirectInterceptor({ maxRedirections })]\n\n this[kOptions] = { ...util.deepClone(options), connect }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kMaxRedirections] = maxRedirections\n this[kFactory] = factory\n this[kClients] = new Map()\n this[kFinalizer] = new FinalizationRegistry(/* istanbul ignore next: gc is undeterministic */ key => {\n const ref = this[kClients].get(key)\n if (ref !== undefined && ref.deref() === undefined) {\n this[kClients].delete(key)\n }\n })\n\n const agent = this\n\n this[kOnDrain] = (origin, targets) => {\n agent.emit('drain', origin, [agent, ...targets])\n }\n\n this[kOnConnect] = (origin, targets) => {\n agent.emit('connect', origin, [agent, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n agent.emit('disconnect', origin, [agent, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n agent.emit('connectionError', origin, [agent, ...targets], err)\n }\n }\n\n get [kRunning] () {\n let ret = 0\n for (const ref of this[kClients].values()) {\n const client = ref.deref()\n /* istanbul ignore next: gc is undeterministic */\n if (client) {\n ret += client[kRunning]\n }\n }\n return ret\n }\n\n [kDispatch] (opts, handler) {\n let key\n if (opts.origin && (typeof opts.origin === 'string' || opts.origin instanceof URL)) {\n key = String(opts.origin)\n } else {\n throw new InvalidArgumentError('opts.origin must be a non-empty string or URL.')\n }\n\n const ref = this[kClients].get(key)\n\n let dispatcher = ref ? ref.deref() : null\n if (!dispatcher) {\n dispatcher = this[kFactory](opts.origin, this[kOptions])\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n this[kClients].set(key, new WeakRef(dispatcher))\n this[kFinalizer].register(dispatcher, key)\n }\n\n return dispatcher.dispatch(opts, handler)\n }\n\n async [kClose] () {\n const closePromises = []\n for (const ref of this[kClients].values()) {\n const client = ref.deref()\n /* istanbul ignore else: gc is undeterministic */\n if (client) {\n closePromises.push(client.close())\n }\n }\n\n await Promise.all(closePromises)\n }\n\n async [kDestroy] (err) {\n const destroyPromises = []\n for (const ref of this[kClients].values()) {\n const client = ref.deref()\n /* istanbul ignore else: gc is undeterministic */\n if (client) {\n destroyPromises.push(client.destroy(err))\n }\n }\n\n await Promise.all(destroyPromises)\n }\n}\n\nmodule.exports = Agent\n","'use strict'\n\nclass UndiciError extends Error {\n constructor (message) {\n super(message)\n this.name = 'UndiciError'\n this.code = 'UND_ERR'\n }\n}\n\nclass ConnectTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, ConnectTimeoutError)\n this.name = 'ConnectTimeoutError'\n this.message = message || 'Connect Timeout Error'\n this.code = 'UND_ERR_CONNECT_TIMEOUT'\n }\n}\n\nclass HeadersTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, HeadersTimeoutError)\n this.name = 'HeadersTimeoutError'\n this.message = message || 'Headers Timeout Error'\n this.code = 'UND_ERR_HEADERS_TIMEOUT'\n }\n}\n\nclass HeadersOverflowError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, HeadersOverflowError)\n this.name = 'HeadersOverflowError'\n this.message = message || 'Headers Overflow Error'\n this.code = 'UND_ERR_HEADERS_OVERFLOW'\n }\n}\n\nclass BodyTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, BodyTimeoutError)\n this.name = 'BodyTimeoutError'\n this.message = message || 'Body Timeout Error'\n this.code = 'UND_ERR_BODY_TIMEOUT'\n }\n}\n\nclass ResponseStatusCodeError extends UndiciError {\n constructor (message, statusCode, headers, body) {\n super(message)\n Error.captureStackTrace(this, ResponseStatusCodeError)\n this.name = 'ResponseStatusCodeError'\n this.message = message || 'Response Status Code Error'\n this.code = 'UND_ERR_RESPONSE_STATUS_CODE'\n this.body = body\n this.status = statusCode\n this.statusCode = statusCode\n this.headers = headers\n }\n}\n\nclass InvalidArgumentError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, InvalidArgumentError)\n this.name = 'InvalidArgumentError'\n this.message = message || 'Invalid Argument Error'\n this.code = 'UND_ERR_INVALID_ARG'\n }\n}\n\nclass InvalidReturnValueError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, InvalidReturnValueError)\n this.name = 'InvalidReturnValueError'\n this.message = message || 'Invalid Return Value Error'\n this.code = 'UND_ERR_INVALID_RETURN_VALUE'\n }\n}\n\nclass RequestAbortedError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, RequestAbortedError)\n this.name = 'AbortError'\n this.message = message || 'Request aborted'\n this.code = 'UND_ERR_ABORTED'\n }\n}\n\nclass InformationalError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, InformationalError)\n this.name = 'InformationalError'\n this.message = message || 'Request information'\n this.code = 'UND_ERR_INFO'\n }\n}\n\nclass RequestContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, RequestContentLengthMismatchError)\n this.name = 'RequestContentLengthMismatchError'\n this.message = message || 'Request body length does not match content-length header'\n this.code = 'UND_ERR_REQ_CONTENT_LENGTH_MISMATCH'\n }\n}\n\nclass ResponseContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, ResponseContentLengthMismatchError)\n this.name = 'ResponseContentLengthMismatchError'\n this.message = message || 'Response body length does not match content-length header'\n this.code = 'UND_ERR_RES_CONTENT_LENGTH_MISMATCH'\n }\n}\n\nclass ClientDestroyedError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, ClientDestroyedError)\n this.name = 'ClientDestroyedError'\n this.message = message || 'The client is destroyed'\n this.code = 'UND_ERR_DESTROYED'\n }\n}\n\nclass ClientClosedError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, ClientClosedError)\n this.name = 'ClientClosedError'\n this.message = message || 'The client is closed'\n this.code = 'UND_ERR_CLOSED'\n }\n}\n\nclass SocketError extends UndiciError {\n constructor (message, socket) {\n super(message)\n Error.captureStackTrace(this, SocketError)\n this.name = 'SocketError'\n this.message = message || 'Socket error'\n this.code = 'UND_ERR_SOCKET'\n this.socket = socket\n }\n}\n\nclass NotSupportedError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, NotSupportedError)\n this.name = 'NotSupportedError'\n this.message = message || 'Not supported error'\n this.code = 'UND_ERR_NOT_SUPPORTED'\n }\n}\n\nclass BalancedPoolMissingUpstreamError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, NotSupportedError)\n this.name = 'MissingUpstreamError'\n this.message = message || 'No upstream has been added to the BalancedPool'\n this.code = 'UND_ERR_BPL_MISSING_UPSTREAM'\n }\n}\n\nclass HTTPParserError extends Error {\n constructor (message, code, data) {\n super(message)\n Error.captureStackTrace(this, HTTPParserError)\n this.name = 'HTTPParserError'\n this.code = code ? `HPE_${code}` : undefined\n this.data = data ? data.toString() : undefined\n }\n}\n\nclass ResponseExceededMaxSizeError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, ResponseExceededMaxSizeError)\n this.name = 'ResponseExceededMaxSizeError'\n this.message = message || 'Response content exceeded max size'\n this.code = 'UND_ERR_RES_EXCEEDED_MAX_SIZE'\n }\n}\n\nclass RequestRetryError extends UndiciError {\n constructor (message, code, { headers, data }) {\n super(message)\n Error.captureStackTrace(this, RequestRetryError)\n this.name = 'RequestRetryError'\n this.message = message || 'Request retry error'\n this.code = 'UND_ERR_REQ_RETRY'\n this.statusCode = code\n this.data = data\n this.headers = headers\n }\n}\n\nmodule.exports = {\n HTTPParserError,\n UndiciError,\n HeadersTimeoutError,\n HeadersOverflowError,\n BodyTimeoutError,\n RequestContentLengthMismatchError,\n ConnectTimeoutError,\n ResponseStatusCodeError,\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError,\n ClientDestroyedError,\n ClientClosedError,\n InformationalError,\n SocketError,\n NotSupportedError,\n ResponseContentLengthMismatchError,\n BalancedPoolMissingUpstreamError,\n ResponseExceededMaxSizeError,\n RequestRetryError\n}\n","'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst {\n ClientDestroyedError,\n ClientClosedError,\n InvalidArgumentError\n} = require('./core/errors')\nconst { kDestroy, kClose, kDispatch, kInterceptors } = require('./core/symbols')\n\nconst kDestroyed = Symbol('destroyed')\nconst kClosed = Symbol('closed')\nconst kOnDestroyed = Symbol('onDestroyed')\nconst kOnClosed = Symbol('onClosed')\nconst kInterceptedDispatch = Symbol('Intercepted Dispatch')\n\nclass DispatcherBase extends Dispatcher {\n constructor () {\n super()\n\n this[kDestroyed] = false\n this[kOnDestroyed] = null\n this[kClosed] = false\n this[kOnClosed] = []\n }\n\n get destroyed () {\n return this[kDestroyed]\n }\n\n get closed () {\n return this[kClosed]\n }\n\n get interceptors () {\n return this[kInterceptors]\n }\n\n set interceptors (newInterceptors) {\n if (newInterceptors) {\n for (let i = newInterceptors.length - 1; i >= 0; i--) {\n const interceptor = this[kInterceptors][i]\n if (typeof interceptor !== 'function') {\n throw new InvalidArgumentError('interceptor must be an function')\n }\n }\n }\n\n this[kInterceptors] = newInterceptors\n }\n\n close (callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.close((err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n queueMicrotask(() => callback(new ClientDestroyedError(), null))\n return\n }\n\n if (this[kClosed]) {\n if (this[kOnClosed]) {\n this[kOnClosed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n this[kClosed] = true\n this[kOnClosed].push(callback)\n\n const onClosed = () => {\n const callbacks = this[kOnClosed]\n this[kOnClosed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kClose]()\n .then(() => this.destroy())\n .then(() => {\n queueMicrotask(onClosed)\n })\n }\n\n destroy (err, callback) {\n if (typeof err === 'function') {\n callback = err\n err = null\n }\n\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.destroy(err, (err, data) => {\n return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n if (this[kOnDestroyed]) {\n this[kOnDestroyed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n if (!err) {\n err = new ClientDestroyedError()\n }\n\n this[kDestroyed] = true\n this[kOnDestroyed] = this[kOnDestroyed] || []\n this[kOnDestroyed].push(callback)\n\n const onDestroyed = () => {\n const callbacks = this[kOnDestroyed]\n this[kOnDestroyed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kDestroy](err).then(() => {\n queueMicrotask(onDestroyed)\n })\n }\n\n [kInterceptedDispatch] (opts, handler) {\n if (!this[kInterceptors] || this[kInterceptors].length === 0) {\n this[kInterceptedDispatch] = this[kDispatch]\n return this[kDispatch](opts, handler)\n }\n\n let dispatch = this[kDispatch].bind(this)\n for (let i = this[kInterceptors].length - 1; i >= 0; i--) {\n dispatch = this[kInterceptors][i](dispatch)\n }\n this[kInterceptedDispatch] = dispatch\n return dispatch(opts, handler)\n }\n\n dispatch (opts, handler) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n try {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object.')\n }\n\n if (this[kDestroyed] || this[kOnDestroyed]) {\n throw new ClientDestroyedError()\n }\n\n if (this[kClosed]) {\n throw new ClientClosedError()\n }\n\n return this[kInterceptedDispatch](opts, handler)\n } catch (err) {\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n handler.onError(err)\n\n return false\n }\n }\n}\n\nmodule.exports = DispatcherBase\n","'use strict'\n\nconst EventEmitter = require('events')\n\nclass Dispatcher extends EventEmitter {\n dispatch () {\n throw new Error('not implemented')\n }\n\n close () {\n throw new Error('not implemented')\n }\n\n destroy () {\n throw new Error('not implemented')\n }\n}\n\nmodule.exports = Dispatcher\n","'use strict'\n\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Client = require('./client')\nconst {\n InvalidArgumentError\n} = require('./core/errors')\nconst util = require('./core/util')\nconst { kUrl, kInterceptors } = require('./core/symbols')\nconst buildConnector = require('./core/connect')\n\nconst kOptions = Symbol('options')\nconst kConnections = Symbol('connections')\nconst kFactory = Symbol('factory')\n\nfunction defaultFactory (origin, opts) {\n return new Client(origin, opts)\n}\n\nclass Pool extends PoolBase {\n constructor (origin, {\n connections,\n factory = defaultFactory,\n connect,\n connectTimeout,\n tls,\n maxCachedSessions,\n socketPath,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n allowH2,\n ...options\n } = {}) {\n super()\n\n if (connections != null && (!Number.isFinite(connections) || connections < 0)) {\n throw new InvalidArgumentError('invalid connections')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(util.nodeHasAutoSelectFamily && autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n this[kInterceptors] = options.interceptors && options.interceptors.Pool && Array.isArray(options.interceptors.Pool)\n ? options.interceptors.Pool\n : []\n this[kConnections] = connections || null\n this[kUrl] = util.parseOrigin(origin)\n this[kOptions] = { ...util.deepClone(options), connect, allowH2 }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kFactory] = factory\n }\n\n [kGetDispatcher] () {\n let dispatcher = this[kClients].find(dispatcher => !dispatcher[kNeedDrain])\n\n if (dispatcher) {\n return dispatcher\n }\n\n if (!this[kConnections] || this[kClients].length < this[kConnections]) {\n dispatcher = this[kFactory](this[kUrl], this[kOptions])\n this[kAddClient](dispatcher)\n }\n\n return dispatcher\n }\n}\n\nmodule.exports = Pool\n","'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst FixedQueue = require('./node/fixed-queue')\nconst { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('./core/symbols')\nconst PoolStats = require('./pool-stats')\n\nconst kClients = Symbol('clients')\nconst kNeedDrain = Symbol('needDrain')\nconst kQueue = Symbol('queue')\nconst kClosedResolve = Symbol('closed resolve')\nconst kOnDrain = Symbol('onDrain')\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kGetDispatcher = Symbol('get dispatcher')\nconst kAddClient = Symbol('add client')\nconst kRemoveClient = Symbol('remove client')\nconst kStats = Symbol('stats')\n\nclass PoolBase extends DispatcherBase {\n constructor () {\n super()\n\n this[kQueue] = new FixedQueue()\n this[kClients] = []\n this[kQueued] = 0\n\n const pool = this\n\n this[kOnDrain] = function onDrain (origin, targets) {\n const queue = pool[kQueue]\n\n let needDrain = false\n\n while (!needDrain) {\n const item = queue.shift()\n if (!item) {\n break\n }\n pool[kQueued]--\n needDrain = !this.dispatch(item.opts, item.handler)\n }\n\n this[kNeedDrain] = needDrain\n\n if (!this[kNeedDrain] && pool[kNeedDrain]) {\n pool[kNeedDrain] = false\n pool.emit('drain', origin, [pool, ...targets])\n }\n\n if (pool[kClosedResolve] && queue.isEmpty()) {\n Promise\n .all(pool[kClients].map(c => c.close()))\n .then(pool[kClosedResolve])\n }\n }\n\n this[kOnConnect] = (origin, targets) => {\n pool.emit('connect', origin, [pool, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n pool.emit('disconnect', origin, [pool, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n pool.emit('connectionError', origin, [pool, ...targets], err)\n }\n\n this[kStats] = new PoolStats(this)\n }\n\n get [kBusy] () {\n return this[kNeedDrain]\n }\n\n get [kConnected] () {\n return this[kClients].filter(client => client[kConnected]).length\n }\n\n get [kFree] () {\n return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length\n }\n\n get [kPending] () {\n let ret = this[kQueued]\n for (const { [kPending]: pending } of this[kClients]) {\n ret += pending\n }\n return ret\n }\n\n get [kRunning] () {\n let ret = 0\n for (const { [kRunning]: running } of this[kClients]) {\n ret += running\n }\n return ret\n }\n\n get [kSize] () {\n let ret = this[kQueued]\n for (const { [kSize]: size } of this[kClients]) {\n ret += size\n }\n return ret\n }\n\n get stats () {\n return this[kStats]\n }\n\n async [kClose] () {\n if (this[kQueue].isEmpty()) {\n return Promise.all(this[kClients].map(c => c.close()))\n } else {\n return new Promise((resolve) => {\n this[kClosedResolve] = resolve\n })\n }\n }\n\n async [kDestroy] (err) {\n while (true) {\n const item = this[kQueue].shift()\n if (!item) {\n break\n }\n item.handler.onError(err)\n }\n\n return Promise.all(this[kClients].map(c => c.destroy(err)))\n }\n\n [kDispatch] (opts, handler) {\n const dispatcher = this[kGetDispatcher]()\n\n if (!dispatcher) {\n this[kNeedDrain] = true\n this[kQueue].push({ opts, handler })\n this[kQueued]++\n } else if (!dispatcher.dispatch(opts, handler)) {\n dispatcher[kNeedDrain] = true\n this[kNeedDrain] = !this[kGetDispatcher]()\n }\n\n return !this[kNeedDrain]\n }\n\n [kAddClient] (client) {\n client\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n this[kClients].push(client)\n\n if (this[kNeedDrain]) {\n process.nextTick(() => {\n if (this[kNeedDrain]) {\n this[kOnDrain](client[kUrl], [this, client])\n }\n })\n }\n\n return this\n }\n\n [kRemoveClient] (client) {\n client.close(() => {\n const idx = this[kClients].indexOf(client)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n })\n\n this[kNeedDrain] = this[kClients].some(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n }\n}\n\nmodule.exports = {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n}\n","/* eslint-disable */\n\n'use strict'\n\n// Extracted from node/lib/internal/fixed_queue.js\n\n// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.\nconst kSize = 2048;\nconst kMask = kSize - 1;\n\n// The FixedQueue is implemented as a singly-linked list of fixed-size\n// circular buffers. It looks something like this:\n//\n// head tail\n// | |\n// v v\n// +-----------+ <-----\\ +-----------+ <------\\ +-----------+\n// | [null] | \\----- | next | \\------- | next |\n// +-----------+ +-----------+ +-----------+\n// | item | <-- bottom | item | <-- bottom | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | bottom --> | item |\n// | item | | item | | item |\n// | ... | | ... | | ... |\n// | item | | item | | item |\n// | item | | item | | item |\n// | [empty] | <-- top | item | | item |\n// | [empty] | | item | | item |\n// | [empty] | | [empty] | <-- top top --> | [empty] |\n// +-----------+ +-----------+ +-----------+\n//\n// Or, if there is only one circular buffer, it looks something\n// like either of these:\n//\n// head tail head tail\n// | | | |\n// v v v v\n// +-----------+ +-----------+\n// | [null] | | [null] |\n// +-----------+ +-----------+\n// | [empty] | | item |\n// | [empty] | | item |\n// | item | <-- bottom top --> | [empty] |\n// | item | | [empty] |\n// | [empty] | <-- top bottom --> | item |\n// | [empty] | | item |\n// +-----------+ +-----------+\n//\n// Adding a value means moving `top` forward by one, removing means\n// moving `bottom` forward by one. After reaching the end, the queue\n// wraps around.\n//\n// When `top === bottom` the current queue is empty and when\n// `top + 1 === bottom` it's full. This wastes a single space of storage\n// but allows much quicker checks.\n\nclass FixedCircularBuffer {\n constructor() {\n this.bottom = 0;\n this.top = 0;\n this.list = new Array(kSize);\n this.next = null;\n }\n\n isEmpty() {\n return this.top === this.bottom;\n }\n\n isFull() {\n return ((this.top + 1) & kMask) === this.bottom;\n }\n\n push(data) {\n this.list[this.top] = data;\n this.top = (this.top + 1) & kMask;\n }\n\n shift() {\n const nextItem = this.list[this.bottom];\n if (nextItem === undefined)\n return null;\n this.list[this.bottom] = undefined;\n this.bottom = (this.bottom + 1) & kMask;\n return nextItem;\n }\n}\n\nmodule.exports = class FixedQueue {\n constructor() {\n this.head = this.tail = new FixedCircularBuffer();\n }\n\n isEmpty() {\n return this.head.isEmpty();\n }\n\n push(data) {\n if (this.head.isFull()) {\n // Head is full: Creates a new queue, sets the old queue's `.next` to it,\n // and sets it as the new main queue.\n this.head = this.head.next = new FixedCircularBuffer();\n }\n this.head.push(data);\n }\n\n shift() {\n const tail = this.tail;\n const next = tail.shift();\n if (tail.isEmpty() && tail.next !== null) {\n // If there is another queue, it forms the new tail.\n this.tail = tail.next;\n }\n return next;\n }\n};\n","const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols')\nconst kPool = Symbol('pool')\n\nclass PoolStats {\n constructor (pool) {\n this[kPool] = pool\n }\n\n get connected () {\n return this[kPool][kConnected]\n }\n\n get free () {\n return this[kPool][kFree]\n }\n\n get pending () {\n return this[kPool][kPending]\n }\n\n get queued () {\n return this[kPool][kQueued]\n }\n\n get running () {\n return this[kPool][kRunning]\n }\n\n get size () {\n return this[kPool][kSize]\n }\n}\n\nmodule.exports = PoolStats\n","// @ts-check\n\n'use strict'\n\n/* global WebAssembly */\n\nconst assert = require('assert')\nconst net = require('net')\nconst http = require('http')\nconst { pipeline } = require('stream')\nconst util = require('./core/util')\nconst timers = require('./timers')\nconst Request = require('./core/request')\nconst DispatcherBase = require('./dispatcher-base')\nconst {\n RequestContentLengthMismatchError,\n ResponseContentLengthMismatchError,\n InvalidArgumentError,\n RequestAbortedError,\n HeadersTimeoutError,\n HeadersOverflowError,\n SocketError,\n InformationalError,\n BodyTimeoutError,\n HTTPParserError,\n ResponseExceededMaxSizeError,\n ClientDestroyedError\n} = require('./core/errors')\nconst buildConnector = require('./core/connect')\nconst {\n kUrl,\n kReset,\n kServerName,\n kClient,\n kBusy,\n kParser,\n kConnect,\n kBlocking,\n kResuming,\n kRunning,\n kPending,\n kSize,\n kWriting,\n kQueue,\n kConnected,\n kConnecting,\n kNeedDrain,\n kNoRef,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kSocket,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kConnector,\n kMaxRedirections,\n kMaxRequests,\n kCounter,\n kClose,\n kDestroy,\n kDispatch,\n kInterceptors,\n kLocalAddress,\n kMaxResponseSize,\n kHTTPConnVersion,\n // HTTP2\n kHost,\n kHTTP2Session,\n kHTTP2SessionState,\n kHTTP2BuildRequest,\n kHTTP2CopyHeaders,\n kHTTP1BuildRequest\n} = require('./core/symbols')\n\n/** @type {import('http2')} */\nlet http2\ntry {\n http2 = require('http2')\n} catch {\n // @ts-ignore\n http2 = { constants: {} }\n}\n\nconst {\n constants: {\n HTTP2_HEADER_AUTHORITY,\n HTTP2_HEADER_METHOD,\n HTTP2_HEADER_PATH,\n HTTP2_HEADER_SCHEME,\n HTTP2_HEADER_CONTENT_LENGTH,\n HTTP2_HEADER_EXPECT,\n HTTP2_HEADER_STATUS\n }\n} = http2\n\n// Experimental\nlet h2ExperimentalWarned = false\n\nconst FastBuffer = Buffer[Symbol.species]\n\nconst kClosedResolve = Symbol('kClosedResolve')\n\nconst channels = {}\n\ntry {\n const diagnosticsChannel = require('diagnostics_channel')\n channels.sendHeaders = diagnosticsChannel.channel('undici:client:sendHeaders')\n channels.beforeConnect = diagnosticsChannel.channel('undici:client:beforeConnect')\n channels.connectError = diagnosticsChannel.channel('undici:client:connectError')\n channels.connected = diagnosticsChannel.channel('undici:client:connected')\n} catch {\n channels.sendHeaders = { hasSubscribers: false }\n channels.beforeConnect = { hasSubscribers: false }\n channels.connectError = { hasSubscribers: false }\n channels.connected = { hasSubscribers: false }\n}\n\n/**\n * @type {import('../types/client').default}\n */\nclass Client extends DispatcherBase {\n /**\n *\n * @param {string|URL} url\n * @param {import('../types/client').Client.Options} options\n */\n constructor (url, {\n interceptors,\n maxHeaderSize,\n headersTimeout,\n socketTimeout,\n requestTimeout,\n connectTimeout,\n bodyTimeout,\n idleTimeout,\n keepAlive,\n keepAliveTimeout,\n maxKeepAliveTimeout,\n keepAliveMaxTimeout,\n keepAliveTimeoutThreshold,\n socketPath,\n pipelining,\n tls,\n strictContentLength,\n maxCachedSessions,\n maxRedirections,\n connect,\n maxRequestsPerClient,\n localAddress,\n maxResponseSize,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n // h2\n allowH2,\n maxConcurrentStreams\n } = {}) {\n super()\n\n if (keepAlive !== undefined) {\n throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead')\n }\n\n if (socketTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported socketTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (requestTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported requestTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (idleTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported idleTimeout, use keepAliveTimeout instead')\n }\n\n if (maxKeepAliveTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead')\n }\n\n if (maxHeaderSize != null && !Number.isFinite(maxHeaderSize)) {\n throw new InvalidArgumentError('invalid maxHeaderSize')\n }\n\n if (socketPath != null && typeof socketPath !== 'string') {\n throw new InvalidArgumentError('invalid socketPath')\n }\n\n if (connectTimeout != null && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) {\n throw new InvalidArgumentError('invalid connectTimeout')\n }\n\n if (keepAliveTimeout != null && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveTimeout')\n }\n\n if (keepAliveMaxTimeout != null && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveMaxTimeout')\n }\n\n if (keepAliveTimeoutThreshold != null && !Number.isFinite(keepAliveTimeoutThreshold)) {\n throw new InvalidArgumentError('invalid keepAliveTimeoutThreshold')\n }\n\n if (headersTimeout != null && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('headersTimeout must be a positive integer or zero')\n }\n\n if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('bodyTimeout must be a positive integer or zero')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) {\n throw new InvalidArgumentError('maxRequestsPerClient must be a positive number')\n }\n\n if (localAddress != null && (typeof localAddress !== 'string' || net.isIP(localAddress) === 0)) {\n throw new InvalidArgumentError('localAddress must be valid string IP address')\n }\n\n if (maxResponseSize != null && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) {\n throw new InvalidArgumentError('maxResponseSize must be a positive number')\n }\n\n if (\n autoSelectFamilyAttemptTimeout != null &&\n (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1)\n ) {\n throw new InvalidArgumentError('autoSelectFamilyAttemptTimeout must be a positive number')\n }\n\n // h2\n if (allowH2 != null && typeof allowH2 !== 'boolean') {\n throw new InvalidArgumentError('allowH2 must be a valid boolean value')\n }\n\n if (maxConcurrentStreams != null && (typeof maxConcurrentStreams !== 'number' || maxConcurrentStreams < 1)) {\n throw new InvalidArgumentError('maxConcurrentStreams must be a possitive integer, greater than 0')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(util.nodeHasAutoSelectFamily && autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n this[kInterceptors] = interceptors && interceptors.Client && Array.isArray(interceptors.Client)\n ? interceptors.Client\n : [createRedirectInterceptor({ maxRedirections })]\n this[kUrl] = util.parseOrigin(url)\n this[kConnector] = connect\n this[kSocket] = null\n this[kPipelining] = pipelining != null ? pipelining : 1\n this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize\n this[kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4e3 : keepAliveTimeout\n this[kKeepAliveMaxTimeout] = keepAliveMaxTimeout == null ? 600e3 : keepAliveMaxTimeout\n this[kKeepAliveTimeoutThreshold] = keepAliveTimeoutThreshold == null ? 1e3 : keepAliveTimeoutThreshold\n this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout]\n this[kServerName] = null\n this[kLocalAddress] = localAddress != null ? localAddress : null\n this[kResuming] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kNeedDrain] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kHostHeader] = `host: ${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}\\r\\n`\n this[kBodyTimeout] = bodyTimeout != null ? bodyTimeout : 300e3\n this[kHeadersTimeout] = headersTimeout != null ? headersTimeout : 300e3\n this[kStrictContentLength] = strictContentLength == null ? true : strictContentLength\n this[kMaxRedirections] = maxRedirections\n this[kMaxRequests] = maxRequestsPerClient\n this[kClosedResolve] = null\n this[kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1\n this[kHTTPConnVersion] = 'h1'\n\n // HTTP/2\n this[kHTTP2Session] = null\n this[kHTTP2SessionState] = !allowH2\n ? null\n : {\n // streams: null, // Fixed queue of streams - For future support of `push`\n openStreams: 0, // Keep track of them to decide wether or not unref the session\n maxConcurrentStreams: maxConcurrentStreams != null ? maxConcurrentStreams : 100 // Max peerConcurrentStreams for a Node h2 server\n }\n this[kHost] = `${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}`\n\n // kQueue is built up of 3 sections separated by\n // the kRunningIdx and kPendingIdx indices.\n // | complete | running | pending |\n // ^ kRunningIdx ^ kPendingIdx ^ kQueue.length\n // kRunningIdx points to the first running element.\n // kPendingIdx points to the first pending element.\n // This implements a fast queue with an amortized\n // time of O(1).\n\n this[kQueue] = []\n this[kRunningIdx] = 0\n this[kPendingIdx] = 0\n }\n\n get pipelining () {\n return this[kPipelining]\n }\n\n set pipelining (value) {\n this[kPipelining] = value\n resume(this, true)\n }\n\n get [kPending] () {\n return this[kQueue].length - this[kPendingIdx]\n }\n\n get [kRunning] () {\n return this[kPendingIdx] - this[kRunningIdx]\n }\n\n get [kSize] () {\n return this[kQueue].length - this[kRunningIdx]\n }\n\n get [kConnected] () {\n return !!this[kSocket] && !this[kConnecting] && !this[kSocket].destroyed\n }\n\n get [kBusy] () {\n const socket = this[kSocket]\n return (\n (socket && (socket[kReset] || socket[kWriting] || socket[kBlocking])) ||\n (this[kSize] >= (this[kPipelining] || 1)) ||\n this[kPending] > 0\n )\n }\n\n /* istanbul ignore: only used for test */\n [kConnect] (cb) {\n connect(this)\n this.once('connect', cb)\n }\n\n [kDispatch] (opts, handler) {\n const origin = opts.origin || this[kUrl].origin\n\n const request = this[kHTTPConnVersion] === 'h2'\n ? Request[kHTTP2BuildRequest](origin, opts, handler)\n : Request[kHTTP1BuildRequest](origin, opts, handler)\n\n this[kQueue].push(request)\n if (this[kResuming]) {\n // Do nothing.\n } else if (util.bodyLength(request.body) == null && util.isIterable(request.body)) {\n // Wait a tick in case stream/iterator is ended in the same tick.\n this[kResuming] = 1\n process.nextTick(resume, this)\n } else {\n resume(this, true)\n }\n\n if (this[kResuming] && this[kNeedDrain] !== 2 && this[kBusy]) {\n this[kNeedDrain] = 2\n }\n\n return this[kNeedDrain] < 2\n }\n\n async [kClose] () {\n // TODO: for H2 we need to gracefully flush the remaining enqueued\n // request and close each stream.\n return new Promise((resolve) => {\n if (!this[kSize]) {\n resolve(null)\n } else {\n this[kClosedResolve] = resolve\n }\n })\n }\n\n async [kDestroy] (err) {\n return new Promise((resolve) => {\n const requests = this[kQueue].splice(this[kPendingIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n errorRequest(this, request, err)\n }\n\n const callback = () => {\n if (this[kClosedResolve]) {\n // TODO (fix): Should we error here with ClientDestroyedError?\n this[kClosedResolve]()\n this[kClosedResolve] = null\n }\n resolve()\n }\n\n if (this[kHTTP2Session] != null) {\n util.destroy(this[kHTTP2Session], err)\n this[kHTTP2Session] = null\n this[kHTTP2SessionState] = null\n }\n\n if (!this[kSocket]) {\n queueMicrotask(callback)\n } else {\n util.destroy(this[kSocket].on('close', callback), err)\n }\n\n resume(this)\n })\n }\n}\n\nfunction onHttp2SessionError (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n this[kSocket][kError] = err\n\n onError(this[kClient], err)\n}\n\nfunction onHttp2FrameError (type, code, id) {\n const err = new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`)\n\n if (id === 0) {\n this[kSocket][kError] = err\n onError(this[kClient], err)\n }\n}\n\nfunction onHttp2SessionEnd () {\n util.destroy(this, new SocketError('other side closed'))\n util.destroy(this[kSocket], new SocketError('other side closed'))\n}\n\nfunction onHTTP2GoAway (code) {\n const client = this[kClient]\n const err = new InformationalError(`HTTP/2: \"GOAWAY\" frame received with code ${code}`)\n client[kSocket] = null\n client[kHTTP2Session] = null\n\n if (client.destroyed) {\n assert(this[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n errorRequest(this, request, err)\n }\n } else if (client[kRunning] > 0) {\n // Fail head of pipeline.\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n\n errorRequest(client, request, err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect',\n client[kUrl],\n [client],\n err\n )\n\n resume(client)\n}\n\nconst constants = require('./llhttp/constants')\nconst createRedirectInterceptor = require('./interceptor/redirectInterceptor')\nconst EMPTY_BUF = Buffer.alloc(0)\n\nasync function lazyllhttp () {\n const llhttpWasmData = process.env.JEST_WORKER_ID ? require('./llhttp/llhttp-wasm.js') : undefined\n\n let mod\n try {\n mod = await WebAssembly.compile(Buffer.from(require('./llhttp/llhttp_simd-wasm.js'), 'base64'))\n } catch (e) {\n /* istanbul ignore next */\n\n // We could check if the error was caused by the simd option not\n // being enabled, but the occurring of this other error\n // * https://github.com/emscripten-core/emscripten/issues/11495\n // got me to remove that check to avoid breaking Node 12.\n mod = await WebAssembly.compile(Buffer.from(llhttpWasmData || require('./llhttp/llhttp-wasm.js'), 'base64'))\n }\n\n return await WebAssembly.instantiate(mod, {\n env: {\n /* eslint-disable camelcase */\n\n wasm_on_url: (p, at, len) => {\n /* istanbul ignore next */\n return 0\n },\n wasm_on_status: (p, at, len) => {\n assert.strictEqual(currentParser.ptr, p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_begin: (p) => {\n assert.strictEqual(currentParser.ptr, p)\n return currentParser.onMessageBegin() || 0\n },\n wasm_on_header_field: (p, at, len) => {\n assert.strictEqual(currentParser.ptr, p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_header_value: (p, at, len) => {\n assert.strictEqual(currentParser.ptr, p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => {\n assert.strictEqual(currentParser.ptr, p)\n return currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0\n },\n wasm_on_body: (p, at, len) => {\n assert.strictEqual(currentParser.ptr, p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_complete: (p) => {\n assert.strictEqual(currentParser.ptr, p)\n return currentParser.onMessageComplete() || 0\n }\n\n /* eslint-enable camelcase */\n }\n })\n}\n\nlet llhttpInstance = null\nlet llhttpPromise = lazyllhttp()\nllhttpPromise.catch()\n\nlet currentParser = null\nlet currentBufferRef = null\nlet currentBufferSize = 0\nlet currentBufferPtr = null\n\nconst TIMEOUT_HEADERS = 1\nconst TIMEOUT_BODY = 2\nconst TIMEOUT_IDLE = 3\n\nclass Parser {\n constructor (client, socket, { exports }) {\n assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0)\n\n this.llhttp = exports\n this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE)\n this.client = client\n this.socket = socket\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n this.statusCode = null\n this.statusText = ''\n this.upgrade = false\n this.headers = []\n this.headersSize = 0\n this.headersMaxSize = client[kMaxHeadersSize]\n this.shouldKeepAlive = false\n this.paused = false\n this.resume = this.resume.bind(this)\n\n this.bytesRead = 0\n\n this.keepAlive = ''\n this.contentLength = ''\n this.connection = ''\n this.maxResponseSize = client[kMaxResponseSize]\n }\n\n setTimeout (value, type) {\n this.timeoutType = type\n if (value !== this.timeoutValue) {\n timers.clearTimeout(this.timeout)\n if (value) {\n this.timeout = timers.setTimeout(onParserTimeout, value, this)\n // istanbul ignore else: only for jest\n if (this.timeout.unref) {\n this.timeout.unref()\n }\n } else {\n this.timeout = null\n }\n this.timeoutValue = value\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n }\n\n resume () {\n if (this.socket.destroyed || !this.paused) {\n return\n }\n\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_resume(this.ptr)\n\n assert(this.timeoutType === TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n this.paused = false\n this.execute(this.socket.read() || EMPTY_BUF) // Flush parser.\n this.readMore()\n }\n\n readMore () {\n while (!this.paused && this.ptr) {\n const chunk = this.socket.read()\n if (chunk === null) {\n break\n }\n this.execute(chunk)\n }\n }\n\n execute (data) {\n assert(this.ptr != null)\n assert(currentParser == null)\n assert(!this.paused)\n\n const { socket, llhttp } = this\n\n if (data.length > currentBufferSize) {\n if (currentBufferPtr) {\n llhttp.free(currentBufferPtr)\n }\n currentBufferSize = Math.ceil(data.length / 4096) * 4096\n currentBufferPtr = llhttp.malloc(currentBufferSize)\n }\n\n new Uint8Array(llhttp.memory.buffer, currentBufferPtr, currentBufferSize).set(data)\n\n // Call `execute` on the wasm parser.\n // We pass the `llhttp_parser` pointer address, the pointer address of buffer view data,\n // and finally the length of bytes to parse.\n // The return value is an error code or `constants.ERROR.OK`.\n try {\n let ret\n\n try {\n currentBufferRef = data\n currentParser = this\n ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, data.length)\n /* eslint-disable-next-line no-useless-catch */\n } catch (err) {\n /* istanbul ignore next: difficult to make a test case for */\n throw err\n } finally {\n currentParser = null\n currentBufferRef = null\n }\n\n const offset = llhttp.llhttp_get_error_pos(this.ptr) - currentBufferPtr\n\n if (ret === constants.ERROR.PAUSED_UPGRADE) {\n this.onUpgrade(data.slice(offset))\n } else if (ret === constants.ERROR.PAUSED) {\n this.paused = true\n socket.unshift(data.slice(offset))\n } else if (ret !== constants.ERROR.OK) {\n const ptr = llhttp.llhttp_get_error_reason(this.ptr)\n let message = ''\n /* istanbul ignore else: difficult to make a test case for */\n if (ptr) {\n const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0)\n message =\n 'Response does not match the HTTP/1.1 protocol (' +\n Buffer.from(llhttp.memory.buffer, ptr, len).toString() +\n ')'\n }\n throw new HTTPParserError(message, constants.ERROR[ret], data.slice(offset))\n }\n } catch (err) {\n util.destroy(socket, err)\n }\n }\n\n destroy () {\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_free(this.ptr)\n this.ptr = null\n\n timers.clearTimeout(this.timeout)\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n\n this.paused = false\n }\n\n onStatus (buf) {\n this.statusText = buf.toString()\n }\n\n onMessageBegin () {\n const { socket, client } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n if (!request) {\n return -1\n }\n }\n\n onHeaderField (buf) {\n const len = this.headers.length\n\n if ((len & 1) === 0) {\n this.headers.push(buf)\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n this.trackHeader(buf.length)\n }\n\n onHeaderValue (buf) {\n let len = this.headers.length\n\n if ((len & 1) === 1) {\n this.headers.push(buf)\n len += 1\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n const key = this.headers[len - 2]\n if (key.length === 10 && key.toString().toLowerCase() === 'keep-alive') {\n this.keepAlive += buf.toString()\n } else if (key.length === 10 && key.toString().toLowerCase() === 'connection') {\n this.connection += buf.toString()\n } else if (key.length === 14 && key.toString().toLowerCase() === 'content-length') {\n this.contentLength += buf.toString()\n }\n\n this.trackHeader(buf.length)\n }\n\n trackHeader (len) {\n this.headersSize += len\n if (this.headersSize >= this.headersMaxSize) {\n util.destroy(this.socket, new HeadersOverflowError())\n }\n }\n\n onUpgrade (head) {\n const { upgrade, client, socket, headers, statusCode } = this\n\n assert(upgrade)\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n assert(!socket.destroyed)\n assert(socket === client[kSocket])\n assert(!this.paused)\n assert(request.upgrade || request.method === 'CONNECT')\n\n this.statusCode = null\n this.statusText = ''\n this.shouldKeepAlive = null\n\n assert(this.headers.length % 2 === 0)\n this.headers = []\n this.headersSize = 0\n\n socket.unshift(head)\n\n socket[kParser].destroy()\n socket[kParser] = null\n\n socket[kClient] = null\n socket[kError] = null\n socket\n .removeListener('error', onSocketError)\n .removeListener('readable', onSocketReadable)\n .removeListener('end', onSocketEnd)\n .removeListener('close', onSocketClose)\n\n client[kSocket] = null\n client[kQueue][client[kRunningIdx]++] = null\n client.emit('disconnect', client[kUrl], [client], new InformationalError('upgrade'))\n\n try {\n request.onUpgrade(statusCode, headers, socket)\n } catch (err) {\n util.destroy(socket, err)\n }\n\n resume(client)\n }\n\n onHeadersComplete (statusCode, upgrade, shouldKeepAlive) {\n const { client, socket, headers, statusText } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n\n /* istanbul ignore next: difficult to make a test case for */\n if (!request) {\n return -1\n }\n\n assert(!this.upgrade)\n assert(this.statusCode < 200)\n\n if (statusCode === 100) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n /* this can only happen if server is misbehaving */\n if (upgrade && !request.upgrade) {\n util.destroy(socket, new SocketError('bad upgrade', util.getSocketInfo(socket)))\n return -1\n }\n\n assert.strictEqual(this.timeoutType, TIMEOUT_HEADERS)\n\n this.statusCode = statusCode\n this.shouldKeepAlive = (\n shouldKeepAlive ||\n // Override llhttp value which does not allow keepAlive for HEAD.\n (request.method === 'HEAD' && !socket[kReset] && this.connection.toLowerCase() === 'keep-alive')\n )\n\n if (this.statusCode >= 200) {\n const bodyTimeout = request.bodyTimeout != null\n ? request.bodyTimeout\n : client[kBodyTimeout]\n this.setTimeout(bodyTimeout, TIMEOUT_BODY)\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n if (request.method === 'CONNECT') {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n if (upgrade) {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n assert(this.headers.length % 2 === 0)\n this.headers = []\n this.headersSize = 0\n\n if (this.shouldKeepAlive && client[kPipelining]) {\n const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null\n\n if (keepAliveTimeout != null) {\n const timeout = Math.min(\n keepAliveTimeout - client[kKeepAliveTimeoutThreshold],\n client[kKeepAliveMaxTimeout]\n )\n if (timeout <= 0) {\n socket[kReset] = true\n } else {\n client[kKeepAliveTimeoutValue] = timeout\n }\n } else {\n client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout]\n }\n } else {\n // Stop more requests from being dispatched.\n socket[kReset] = true\n }\n\n const pause = request.onHeaders(statusCode, headers, this.resume, statusText) === false\n\n if (request.aborted) {\n return -1\n }\n\n if (request.method === 'HEAD') {\n return 1\n }\n\n if (statusCode < 200) {\n return 1\n }\n\n if (socket[kBlocking]) {\n socket[kBlocking] = false\n resume(client)\n }\n\n return pause ? constants.ERROR.PAUSED : 0\n }\n\n onBody (buf) {\n const { client, socket, statusCode, maxResponseSize } = this\n\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n assert.strictEqual(this.timeoutType, TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n assert(statusCode >= 200)\n\n if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) {\n util.destroy(socket, new ResponseExceededMaxSizeError())\n return -1\n }\n\n this.bytesRead += buf.length\n\n if (request.onData(buf) === false) {\n return constants.ERROR.PAUSED\n }\n }\n\n onMessageComplete () {\n const { client, socket, statusCode, upgrade, headers, contentLength, bytesRead, shouldKeepAlive } = this\n\n if (socket.destroyed && (!statusCode || shouldKeepAlive)) {\n return -1\n }\n\n if (upgrade) {\n return\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n assert(statusCode >= 100)\n\n this.statusCode = null\n this.statusText = ''\n this.bytesRead = 0\n this.contentLength = ''\n this.keepAlive = ''\n this.connection = ''\n\n assert(this.headers.length % 2 === 0)\n this.headers = []\n this.headersSize = 0\n\n if (statusCode < 200) {\n return\n }\n\n /* istanbul ignore next: should be handled by llhttp? */\n if (request.method !== 'HEAD' && contentLength && bytesRead !== parseInt(contentLength, 10)) {\n util.destroy(socket, new ResponseContentLengthMismatchError())\n return -1\n }\n\n request.onComplete(headers)\n\n client[kQueue][client[kRunningIdx]++] = null\n\n if (socket[kWriting]) {\n assert.strictEqual(client[kRunning], 0)\n // Response completed before request.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (!shouldKeepAlive) {\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (socket[kReset] && client[kRunning] === 0) {\n // Destroy socket once all requests have completed.\n // The request at the tail of the pipeline is the one\n // that requested reset and no further requests should\n // have been queued since then.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (client[kPipelining] === 1) {\n // We must wait a full event loop cycle to reuse this socket to make sure\n // that non-spec compliant servers are not closing the connection even if they\n // said they won't.\n setImmediate(resume, client)\n } else {\n resume(client)\n }\n }\n}\n\nfunction onParserTimeout (parser) {\n const { socket, timeoutType, client } = parser\n\n /* istanbul ignore else */\n if (timeoutType === TIMEOUT_HEADERS) {\n if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) {\n assert(!parser.paused, 'cannot be paused while waiting for headers')\n util.destroy(socket, new HeadersTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_BODY) {\n if (!parser.paused) {\n util.destroy(socket, new BodyTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_IDLE) {\n assert(client[kRunning] === 0 && client[kKeepAliveTimeoutValue])\n util.destroy(socket, new InformationalError('socket idle timeout'))\n }\n}\n\nfunction onSocketReadable () {\n const { [kParser]: parser } = this\n if (parser) {\n parser.readMore()\n }\n}\n\nfunction onSocketError (err) {\n const { [kClient]: client, [kParser]: parser } = this\n\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n if (client[kHTTPConnVersion] !== 'h2') {\n // On Mac OS, we get an ECONNRESET even if there is a full body to be forwarded\n // to the user.\n if (err.code === 'ECONNRESET' && parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so for as a valid response.\n parser.onMessageComplete()\n return\n }\n }\n\n this[kError] = err\n\n onError(this[kClient], err)\n}\n\nfunction onError (client, err) {\n if (\n client[kRunning] === 0 &&\n err.code !== 'UND_ERR_INFO' &&\n err.code !== 'UND_ERR_SOCKET'\n ) {\n // Error is not caused by running request and not a recoverable\n // socket error.\n\n assert(client[kPendingIdx] === client[kRunningIdx])\n\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n errorRequest(client, request, err)\n }\n assert(client[kSize] === 0)\n }\n}\n\nfunction onSocketEnd () {\n const { [kParser]: parser, [kClient]: client } = this\n\n if (client[kHTTPConnVersion] !== 'h2') {\n if (parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so far as a valid response.\n parser.onMessageComplete()\n return\n }\n }\n\n util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))\n}\n\nfunction onSocketClose () {\n const { [kClient]: client, [kParser]: parser } = this\n\n if (client[kHTTPConnVersion] === 'h1' && parser) {\n if (!this[kError] && parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so far as a valid response.\n parser.onMessageComplete()\n }\n\n this[kParser].destroy()\n this[kParser] = null\n }\n\n const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))\n\n client[kSocket] = null\n\n if (client.destroyed) {\n assert(client[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n errorRequest(client, request, err)\n }\n } else if (client[kRunning] > 0 && err.code !== 'UND_ERR_INFO') {\n // Fail head of pipeline.\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n\n errorRequest(client, request, err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n resume(client)\n}\n\nasync function connect (client) {\n assert(!client[kConnecting])\n assert(!client[kSocket])\n\n let { host, hostname, protocol, port } = client[kUrl]\n\n // Resolve ipv6\n if (hostname[0] === '[') {\n const idx = hostname.indexOf(']')\n\n assert(idx !== -1)\n const ip = hostname.substring(1, idx)\n\n assert(net.isIP(ip))\n hostname = ip\n }\n\n client[kConnecting] = true\n\n if (channels.beforeConnect.hasSubscribers) {\n channels.beforeConnect.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector]\n })\n }\n\n try {\n const socket = await new Promise((resolve, reject) => {\n client[kConnector]({\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n }, (err, socket) => {\n if (err) {\n reject(err)\n } else {\n resolve(socket)\n }\n })\n })\n\n if (client.destroyed) {\n util.destroy(socket.on('error', () => {}), new ClientDestroyedError())\n return\n }\n\n client[kConnecting] = false\n\n assert(socket)\n\n const isH2 = socket.alpnProtocol === 'h2'\n if (isH2) {\n if (!h2ExperimentalWarned) {\n h2ExperimentalWarned = true\n process.emitWarning('H2 support is experimental, expect them to change at any time.', {\n code: 'UNDICI-H2'\n })\n }\n\n const session = http2.connect(client[kUrl], {\n createConnection: () => socket,\n peerMaxConcurrentStreams: client[kHTTP2SessionState].maxConcurrentStreams\n })\n\n client[kHTTPConnVersion] = 'h2'\n session[kClient] = client\n session[kSocket] = socket\n session.on('error', onHttp2SessionError)\n session.on('frameError', onHttp2FrameError)\n session.on('end', onHttp2SessionEnd)\n session.on('goaway', onHTTP2GoAway)\n session.on('close', onSocketClose)\n session.unref()\n\n client[kHTTP2Session] = session\n socket[kHTTP2Session] = session\n } else {\n if (!llhttpInstance) {\n llhttpInstance = await llhttpPromise\n llhttpPromise = null\n }\n\n socket[kNoRef] = false\n socket[kWriting] = false\n socket[kReset] = false\n socket[kBlocking] = false\n socket[kParser] = new Parser(client, socket, llhttpInstance)\n }\n\n socket[kCounter] = 0\n socket[kMaxRequests] = client[kMaxRequests]\n socket[kClient] = client\n socket[kError] = null\n\n socket\n .on('error', onSocketError)\n .on('readable', onSocketReadable)\n .on('end', onSocketEnd)\n .on('close', onSocketClose)\n\n client[kSocket] = socket\n\n if (channels.connected.hasSubscribers) {\n channels.connected.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n socket\n })\n }\n client.emit('connect', client[kUrl], [client])\n } catch (err) {\n if (client.destroyed) {\n return\n }\n\n client[kConnecting] = false\n\n if (channels.connectError.hasSubscribers) {\n channels.connectError.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n error: err\n })\n }\n\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n assert(client[kRunning] === 0)\n while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) {\n const request = client[kQueue][client[kPendingIdx]++]\n errorRequest(client, request, err)\n }\n } else {\n onError(client, err)\n }\n\n client.emit('connectionError', client[kUrl], [client], err)\n }\n\n resume(client)\n}\n\nfunction emitDrain (client) {\n client[kNeedDrain] = 0\n client.emit('drain', client[kUrl], [client])\n}\n\nfunction resume (client, sync) {\n if (client[kResuming] === 2) {\n return\n }\n\n client[kResuming] = 2\n\n _resume(client, sync)\n client[kResuming] = 0\n\n if (client[kRunningIdx] > 256) {\n client[kQueue].splice(0, client[kRunningIdx])\n client[kPendingIdx] -= client[kRunningIdx]\n client[kRunningIdx] = 0\n }\n}\n\nfunction _resume (client, sync) {\n while (true) {\n if (client.destroyed) {\n assert(client[kPending] === 0)\n return\n }\n\n if (client[kClosedResolve] && !client[kSize]) {\n client[kClosedResolve]()\n client[kClosedResolve] = null\n return\n }\n\n const socket = client[kSocket]\n\n if (socket && !socket.destroyed && socket.alpnProtocol !== 'h2') {\n if (client[kSize] === 0) {\n if (!socket[kNoRef] && socket.unref) {\n socket.unref()\n socket[kNoRef] = true\n }\n } else if (socket[kNoRef] && socket.ref) {\n socket.ref()\n socket[kNoRef] = false\n }\n\n if (client[kSize] === 0) {\n if (socket[kParser].timeoutType !== TIMEOUT_IDLE) {\n socket[kParser].setTimeout(client[kKeepAliveTimeoutValue], TIMEOUT_IDLE)\n }\n } else if (client[kRunning] > 0 && socket[kParser].statusCode < 200) {\n if (socket[kParser].timeoutType !== TIMEOUT_HEADERS) {\n const request = client[kQueue][client[kRunningIdx]]\n const headersTimeout = request.headersTimeout != null\n ? request.headersTimeout\n : client[kHeadersTimeout]\n socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS)\n }\n }\n }\n\n if (client[kBusy]) {\n client[kNeedDrain] = 2\n } else if (client[kNeedDrain] === 2) {\n if (sync) {\n client[kNeedDrain] = 1\n process.nextTick(emitDrain, client)\n } else {\n emitDrain(client)\n }\n continue\n }\n\n if (client[kPending] === 0) {\n return\n }\n\n if (client[kRunning] >= (client[kPipelining] || 1)) {\n return\n }\n\n const request = client[kQueue][client[kPendingIdx]]\n\n if (client[kUrl].protocol === 'https:' && client[kServerName] !== request.servername) {\n if (client[kRunning] > 0) {\n return\n }\n\n client[kServerName] = request.servername\n\n if (socket && socket.servername !== request.servername) {\n util.destroy(socket, new InformationalError('servername changed'))\n return\n }\n }\n\n if (client[kConnecting]) {\n return\n }\n\n if (!socket && !client[kHTTP2Session]) {\n connect(client)\n return\n }\n\n if (socket.destroyed || socket[kWriting] || socket[kReset] || socket[kBlocking]) {\n return\n }\n\n if (client[kRunning] > 0 && !request.idempotent) {\n // Non-idempotent request cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return\n }\n\n if (client[kRunning] > 0 && (request.upgrade || request.method === 'CONNECT')) {\n // Don't dispatch an upgrade until all preceding requests have completed.\n // A misbehaving server might upgrade the connection before all pipelined\n // request has completed.\n return\n }\n\n if (client[kRunning] > 0 && util.bodyLength(request.body) !== 0 &&\n (util.isStream(request.body) || util.isAsyncIterable(request.body))) {\n // Request with stream or iterator body can error while other requests\n // are inflight and indirectly error those as well.\n // Ensure this doesn't happen by waiting for inflight\n // to complete before dispatching.\n\n // Request with stream or iterator body cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return\n }\n\n if (!request.aborted && write(client, request)) {\n client[kPendingIdx]++\n } else {\n client[kQueue].splice(client[kPendingIdx], 1)\n }\n }\n}\n\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction shouldSendContentLength (method) {\n return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'\n}\n\nfunction write (client, request) {\n if (client[kHTTPConnVersion] === 'h2') {\n writeH2(client, client[kHTTP2Session], request)\n return\n }\n\n const { body, method, path, host, upgrade, headers, blocking, reset } = request\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH'\n )\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n const bodyLength = util.bodyLength(body)\n\n let contentLength = bodyLength\n\n if (contentLength === null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 && !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n const socket = client[kSocket]\n\n try {\n request.onConnect((err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n errorRequest(client, request, err || new RequestAbortedError())\n\n util.destroy(socket, new InformationalError('aborted'))\n })\n } catch (err) {\n errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n if (method === 'HEAD') {\n // https://github.com/mcollina/undici/issues/258\n // Close after a HEAD request to interop with misbehaving servers\n // that may send a body in the response.\n\n socket[kReset] = true\n }\n\n if (upgrade || method === 'CONNECT') {\n // On CONNECT or upgrade, block pipeline from dispatching further\n // requests on this connection.\n\n socket[kReset] = true\n }\n\n if (reset != null) {\n socket[kReset] = reset\n }\n\n if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {\n socket[kReset] = true\n }\n\n if (blocking) {\n socket[kBlocking] = true\n }\n\n let header = `${method} ${path} HTTP/1.1\\r\\n`\n\n if (typeof host === 'string') {\n header += `host: ${host}\\r\\n`\n } else {\n header += client[kHostHeader]\n }\n\n if (upgrade) {\n header += `connection: upgrade\\r\\nupgrade: ${upgrade}\\r\\n`\n } else if (client[kPipelining] && !socket[kReset]) {\n header += 'connection: keep-alive\\r\\n'\n } else {\n header += 'connection: close\\r\\n'\n }\n\n if (headers) {\n header += headers\n }\n\n if (channels.sendHeaders.hasSubscribers) {\n channels.sendHeaders.publish({ request, headers: header, socket })\n }\n\n /* istanbul ignore else: assertion */\n if (!body || bodyLength === 0) {\n if (contentLength === 0) {\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n assert(contentLength === null, 'no body must not have content length')\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n request.onRequestSent()\n } else if (util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(body)\n socket.uncork()\n request.onBodySent(body)\n request.onRequestSent()\n if (!expectsPayload) {\n socket[kReset] = true\n }\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable({ body: body.stream(), client, request, socket, contentLength, header, expectsPayload })\n } else {\n writeBlob({ body, client, request, socket, contentLength, header, expectsPayload })\n }\n } else if (util.isStream(body)) {\n writeStream({ body, client, request, socket, contentLength, header, expectsPayload })\n } else if (util.isIterable(body)) {\n writeIterable({ body, client, request, socket, contentLength, header, expectsPayload })\n } else {\n assert(false)\n }\n\n return true\n}\n\nfunction writeH2 (client, session, request) {\n const { body, method, path, host, upgrade, expectContinue, signal, headers: reqHeaders } = request\n\n let headers\n if (typeof reqHeaders === 'string') headers = Request[kHTTP2CopyHeaders](reqHeaders.trim())\n else headers = reqHeaders\n\n if (upgrade) {\n errorRequest(client, request, new Error('Upgrade not supported for H2'))\n return false\n }\n\n try {\n // TODO(HTTP/2): Should we call onConnect immediately or on stream ready event?\n request.onConnect((err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n errorRequest(client, request, err || new RequestAbortedError())\n })\n } catch (err) {\n errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n /** @type {import('node:http2').ClientHttp2Stream} */\n let stream\n const h2State = client[kHTTP2SessionState]\n\n headers[HTTP2_HEADER_AUTHORITY] = host || client[kHost]\n headers[HTTP2_HEADER_METHOD] = method\n\n if (method === 'CONNECT') {\n session.ref()\n // we are already connected, streams are pending, first request\n // will create a new stream. We trigger a request to create the stream and wait until\n // `ready` event is triggered\n // We disabled endStream to allow the user to write to the stream\n stream = session.request(headers, { endStream: false, signal })\n\n if (stream.id && !stream.pending) {\n request.onUpgrade(null, null, stream)\n ++h2State.openStreams\n } else {\n stream.once('ready', () => {\n request.onUpgrade(null, null, stream)\n ++h2State.openStreams\n })\n }\n\n stream.once('close', () => {\n h2State.openStreams -= 1\n // TODO(HTTP/2): unref only if current streams count is 0\n if (h2State.openStreams === 0) session.unref()\n })\n\n return true\n }\n\n // https://tools.ietf.org/html/rfc7540#section-8.3\n // :path and :scheme headers must be omited when sending CONNECT\n\n headers[HTTP2_HEADER_PATH] = path\n headers[HTTP2_HEADER_SCHEME] = 'https'\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH'\n )\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n let contentLength = util.bodyLength(body)\n\n if (contentLength == null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 || !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength != null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n if (contentLength != null) {\n assert(body, 'no body must not have content length')\n headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`\n }\n\n session.ref()\n\n const shouldEndStream = method === 'GET' || method === 'HEAD'\n if (expectContinue) {\n headers[HTTP2_HEADER_EXPECT] = '100-continue'\n stream = session.request(headers, { endStream: shouldEndStream, signal })\n\n stream.once('continue', writeBodyH2)\n } else {\n stream = session.request(headers, {\n endStream: shouldEndStream,\n signal\n })\n writeBodyH2()\n }\n\n // Increment counter as we have new several streams open\n ++h2State.openStreams\n\n stream.once('response', headers => {\n const { [HTTP2_HEADER_STATUS]: statusCode, ...realHeaders } = headers\n\n if (request.onHeaders(Number(statusCode), realHeaders, stream.resume.bind(stream), '') === false) {\n stream.pause()\n }\n })\n\n stream.once('end', () => {\n request.onComplete([])\n })\n\n stream.on('data', (chunk) => {\n if (request.onData(chunk) === false) {\n stream.pause()\n }\n })\n\n stream.once('close', () => {\n h2State.openStreams -= 1\n // TODO(HTTP/2): unref only if current streams count is 0\n if (h2State.openStreams === 0) {\n session.unref()\n }\n })\n\n stream.once('error', function (err) {\n if (client[kHTTP2Session] && !client[kHTTP2Session].destroyed && !this.closed && !this.destroyed) {\n h2State.streams -= 1\n util.destroy(stream, err)\n }\n })\n\n stream.once('frameError', (type, code) => {\n const err = new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`)\n errorRequest(client, request, err)\n\n if (client[kHTTP2Session] && !client[kHTTP2Session].destroyed && !this.closed && !this.destroyed) {\n h2State.streams -= 1\n util.destroy(stream, err)\n }\n })\n\n // stream.on('aborted', () => {\n // // TODO(HTTP/2): Support aborted\n // })\n\n // stream.on('timeout', () => {\n // // TODO(HTTP/2): Support timeout\n // })\n\n // stream.on('push', headers => {\n // // TODO(HTTP/2): Suppor push\n // })\n\n // stream.on('trailers', headers => {\n // // TODO(HTTP/2): Support trailers\n // })\n\n return true\n\n function writeBodyH2 () {\n /* istanbul ignore else: assertion */\n if (!body) {\n request.onRequestSent()\n } else if (util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n stream.cork()\n stream.write(body)\n stream.uncork()\n stream.end()\n request.onBodySent(body)\n request.onRequestSent()\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable({\n client,\n request,\n contentLength,\n h2stream: stream,\n expectsPayload,\n body: body.stream(),\n socket: client[kSocket],\n header: ''\n })\n } else {\n writeBlob({\n body,\n client,\n request,\n contentLength,\n expectsPayload,\n h2stream: stream,\n header: '',\n socket: client[kSocket]\n })\n }\n } else if (util.isStream(body)) {\n writeStream({\n body,\n client,\n request,\n contentLength,\n expectsPayload,\n socket: client[kSocket],\n h2stream: stream,\n header: ''\n })\n } else if (util.isIterable(body)) {\n writeIterable({\n body,\n client,\n request,\n contentLength,\n expectsPayload,\n header: '',\n h2stream: stream,\n socket: client[kSocket]\n })\n } else {\n assert(false)\n }\n }\n}\n\nfunction writeStream ({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')\n\n if (client[kHTTPConnVersion] === 'h2') {\n // For HTTP/2, is enough to pipe the stream\n const pipe = pipeline(\n body,\n h2stream,\n (err) => {\n if (err) {\n util.destroy(body, err)\n util.destroy(h2stream, err)\n } else {\n request.onRequestSent()\n }\n }\n )\n\n pipe.on('data', onPipeData)\n pipe.once('end', () => {\n pipe.removeListener('data', onPipeData)\n util.destroy(pipe)\n })\n\n function onPipeData (chunk) {\n request.onBodySent(chunk)\n }\n\n return\n }\n\n let finished = false\n\n const writer = new AsyncWriter({ socket, request, contentLength, client, expectsPayload, header })\n\n const onData = function (chunk) {\n if (finished) {\n return\n }\n\n try {\n if (!writer.write(chunk) && this.pause) {\n this.pause()\n }\n } catch (err) {\n util.destroy(this, err)\n }\n }\n const onDrain = function () {\n if (finished) {\n return\n }\n\n if (body.resume) {\n body.resume()\n }\n }\n const onAbort = function () {\n if (finished) {\n return\n }\n const err = new RequestAbortedError()\n queueMicrotask(() => onFinished(err))\n }\n const onFinished = function (err) {\n if (finished) {\n return\n }\n\n finished = true\n\n assert(socket.destroyed || (socket[kWriting] && client[kRunning] <= 1))\n\n socket\n .off('drain', onDrain)\n .off('error', onFinished)\n\n body\n .removeListener('data', onData)\n .removeListener('end', onFinished)\n .removeListener('error', onFinished)\n .removeListener('close', onAbort)\n\n if (!err) {\n try {\n writer.end()\n } catch (er) {\n err = er\n }\n }\n\n writer.destroy(err)\n\n if (err && (err.code !== 'UND_ERR_INFO' || err.message !== 'reset')) {\n util.destroy(body, err)\n } else {\n util.destroy(body)\n }\n }\n\n body\n .on('data', onData)\n .on('end', onFinished)\n .on('error', onFinished)\n .on('close', onAbort)\n\n if (body.resume) {\n body.resume()\n }\n\n socket\n .on('drain', onDrain)\n .on('error', onFinished)\n}\n\nasync function writeBlob ({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) {\n assert(contentLength === body.size, 'blob body must have content length')\n\n const isH2 = client[kHTTPConnVersion] === 'h2'\n try {\n if (contentLength != null && contentLength !== body.size) {\n throw new RequestContentLengthMismatchError()\n }\n\n const buffer = Buffer.from(await body.arrayBuffer())\n\n if (isH2) {\n h2stream.cork()\n h2stream.write(buffer)\n h2stream.uncork()\n } else {\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(buffer)\n socket.uncork()\n }\n\n request.onBodySent(buffer)\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n resume(client)\n } catch (err) {\n util.destroy(isH2 ? h2stream : socket, err)\n }\n}\n\nasync function writeIterable ({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')\n\n let callback = null\n function onDrain () {\n if (callback) {\n const cb = callback\n callback = null\n cb()\n }\n }\n\n const waitForDrain = () => new Promise((resolve, reject) => {\n assert(callback === null)\n\n if (socket[kError]) {\n reject(socket[kError])\n } else {\n callback = resolve\n }\n })\n\n if (client[kHTTPConnVersion] === 'h2') {\n h2stream\n .on('close', onDrain)\n .on('drain', onDrain)\n\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n const res = h2stream.write(chunk)\n request.onBodySent(chunk)\n if (!res) {\n await waitForDrain()\n }\n }\n } catch (err) {\n h2stream.destroy(err)\n } finally {\n request.onRequestSent()\n h2stream.end()\n h2stream\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n\n return\n }\n\n socket\n .on('close', onDrain)\n .on('drain', onDrain)\n\n const writer = new AsyncWriter({ socket, request, contentLength, client, expectsPayload, header })\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (!writer.write(chunk)) {\n await waitForDrain()\n }\n }\n\n writer.end()\n } catch (err) {\n writer.destroy(err)\n } finally {\n socket\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n}\n\nclass AsyncWriter {\n constructor ({ socket, request, contentLength, client, expectsPayload, header }) {\n this.socket = socket\n this.request = request\n this.contentLength = contentLength\n this.client = client\n this.bytesWritten = 0\n this.expectsPayload = expectsPayload\n this.header = header\n\n socket[kWriting] = true\n }\n\n write (chunk) {\n const { socket, request, contentLength, client, bytesWritten, expectsPayload, header } = this\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return false\n }\n\n const len = Buffer.byteLength(chunk)\n if (!len) {\n return true\n }\n\n // We should defer writing chunks.\n if (contentLength !== null && bytesWritten + len > contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n socket.cork()\n\n if (bytesWritten === 0) {\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n if (contentLength === null) {\n socket.write(`${header}transfer-encoding: chunked\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n }\n }\n\n if (contentLength === null) {\n socket.write(`\\r\\n${len.toString(16)}\\r\\n`, 'latin1')\n }\n\n this.bytesWritten += len\n\n const ret = socket.write(chunk)\n\n socket.uncork()\n\n request.onBodySent(chunk)\n\n if (!ret) {\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n }\n\n return ret\n }\n\n end () {\n const { socket, contentLength, client, bytesWritten, expectsPayload, header, request } = this\n request.onRequestSent()\n\n socket[kWriting] = false\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return\n }\n\n if (bytesWritten === 0) {\n if (expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD send a Content-Length in a request message when\n // no Transfer-Encoding is sent and the request method defines a meaning\n // for an enclosed payload body.\n\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n } else if (contentLength === null) {\n socket.write('\\r\\n0\\r\\n\\r\\n', 'latin1')\n }\n\n if (contentLength !== null && bytesWritten !== contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n } else {\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n }\n\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n\n resume(client)\n }\n\n destroy (err) {\n const { socket, client } = this\n\n socket[kWriting] = false\n\n if (err) {\n assert(client[kRunning] <= 1, 'pipeline should only contain this request')\n util.destroy(socket, err)\n }\n }\n}\n\nfunction errorRequest (client, request, err) {\n try {\n request.onError(err)\n assert(request.aborted)\n } catch (err) {\n client.emit('error', err)\n }\n}\n\nmodule.exports = Client\n","'use strict'\n\nconst assert = require('assert')\nconst { kDestroyed, kBodyUsed } = require('./symbols')\nconst { IncomingMessage } = require('http')\nconst stream = require('stream')\nconst net = require('net')\nconst { InvalidArgumentError } = require('./errors')\nconst { Blob } = require('buffer')\nconst nodeUtil = require('util')\nconst { stringify } = require('querystring')\nconst { headerNameLowerCasedRecord } = require('./constants')\n\nconst [nodeMajor, nodeMinor] = process.versions.node.split('.').map(v => Number(v))\n\nfunction nop () {}\n\nfunction isStream (obj) {\n return obj && typeof obj === 'object' && typeof obj.pipe === 'function' && typeof obj.on === 'function'\n}\n\n// based on https://github.com/node-fetch/fetch-blob/blob/8ab587d34080de94140b54f07168451e7d0b655e/index.js#L229-L241 (MIT License)\nfunction isBlobLike (object) {\n return (Blob && object instanceof Blob) || (\n object &&\n typeof object === 'object' &&\n (typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function') &&\n /^(Blob|File)$/.test(object[Symbol.toStringTag])\n )\n}\n\nfunction buildURL (url, queryParams) {\n if (url.includes('?') || url.includes('#')) {\n throw new Error('Query params cannot be passed when url already contains \"?\" or \"#\".')\n }\n\n const stringified = stringify(queryParams)\n\n if (stringified) {\n url += '?' + stringified\n }\n\n return url\n}\n\nfunction parseURL (url) {\n if (typeof url === 'string') {\n url = new URL(url)\n\n if (!/^https?:/.test(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n return url\n }\n\n if (!url || typeof url !== 'object') {\n throw new InvalidArgumentError('Invalid URL: The URL argument must be a non-null object.')\n }\n\n if (!/^https?:/.test(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n if (!(url instanceof URL)) {\n if (url.port != null && url.port !== '' && !Number.isFinite(parseInt(url.port))) {\n throw new InvalidArgumentError('Invalid URL: port must be a valid integer or a string representation of an integer.')\n }\n\n if (url.path != null && typeof url.path !== 'string') {\n throw new InvalidArgumentError('Invalid URL path: the path must be a string or null/undefined.')\n }\n\n if (url.pathname != null && typeof url.pathname !== 'string') {\n throw new InvalidArgumentError('Invalid URL pathname: the pathname must be a string or null/undefined.')\n }\n\n if (url.hostname != null && typeof url.hostname !== 'string') {\n throw new InvalidArgumentError('Invalid URL hostname: the hostname must be a string or null/undefined.')\n }\n\n if (url.origin != null && typeof url.origin !== 'string') {\n throw new InvalidArgumentError('Invalid URL origin: the origin must be a string or null/undefined.')\n }\n\n const port = url.port != null\n ? url.port\n : (url.protocol === 'https:' ? 443 : 80)\n let origin = url.origin != null\n ? url.origin\n : `${url.protocol}//${url.hostname}:${port}`\n let path = url.path != null\n ? url.path\n : `${url.pathname || ''}${url.search || ''}`\n\n if (origin.endsWith('/')) {\n origin = origin.substring(0, origin.length - 1)\n }\n\n if (path && !path.startsWith('/')) {\n path = `/${path}`\n }\n // new URL(path, origin) is unsafe when `path` contains an absolute URL\n // From https://developer.mozilla.org/en-US/docs/Web/API/URL/URL:\n // If first parameter is a relative URL, second param is required, and will be used as the base URL.\n // If first parameter is an absolute URL, a given second param will be ignored.\n url = new URL(origin + path)\n }\n\n return url\n}\n\nfunction parseOrigin (url) {\n url = parseURL(url)\n\n if (url.pathname !== '/' || url.search || url.hash) {\n throw new InvalidArgumentError('invalid url')\n }\n\n return url\n}\n\nfunction getHostname (host) {\n if (host[0] === '[') {\n const idx = host.indexOf(']')\n\n assert(idx !== -1)\n return host.substring(1, idx)\n }\n\n const idx = host.indexOf(':')\n if (idx === -1) return host\n\n return host.substring(0, idx)\n}\n\n// IP addresses are not valid server names per RFC6066\n// > Currently, the only server names supported are DNS hostnames\nfunction getServerName (host) {\n if (!host) {\n return null\n }\n\n assert.strictEqual(typeof host, 'string')\n\n const servername = getHostname(host)\n if (net.isIP(servername)) {\n return ''\n }\n\n return servername\n}\n\nfunction deepClone (obj) {\n return JSON.parse(JSON.stringify(obj))\n}\n\nfunction isAsyncIterable (obj) {\n return !!(obj != null && typeof obj[Symbol.asyncIterator] === 'function')\n}\n\nfunction isIterable (obj) {\n return !!(obj != null && (typeof obj[Symbol.iterator] === 'function' || typeof obj[Symbol.asyncIterator] === 'function'))\n}\n\nfunction bodyLength (body) {\n if (body == null) {\n return 0\n } else if (isStream(body)) {\n const state = body._readableState\n return state && state.objectMode === false && state.ended === true && Number.isFinite(state.length)\n ? state.length\n : null\n } else if (isBlobLike(body)) {\n return body.size != null ? body.size : null\n } else if (isBuffer(body)) {\n return body.byteLength\n }\n\n return null\n}\n\nfunction isDestroyed (stream) {\n return !stream || !!(stream.destroyed || stream[kDestroyed])\n}\n\nfunction isReadableAborted (stream) {\n const state = stream && stream._readableState\n return isDestroyed(stream) && state && !state.endEmitted\n}\n\nfunction destroy (stream, err) {\n if (stream == null || !isStream(stream) || isDestroyed(stream)) {\n return\n }\n\n if (typeof stream.destroy === 'function') {\n if (Object.getPrototypeOf(stream).constructor === IncomingMessage) {\n // See: https://github.com/nodejs/node/pull/38505/files\n stream.socket = null\n }\n\n stream.destroy(err)\n } else if (err) {\n process.nextTick((stream, err) => {\n stream.emit('error', err)\n }, stream, err)\n }\n\n if (stream.destroyed !== true) {\n stream[kDestroyed] = true\n }\n}\n\nconst KEEPALIVE_TIMEOUT_EXPR = /timeout=(\\d+)/\nfunction parseKeepAliveTimeout (val) {\n const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR)\n return m ? parseInt(m[1], 10) * 1000 : null\n}\n\n/**\n * Retrieves a header name and returns its lowercase value.\n * @param {string | Buffer} value Header name\n * @returns {string}\n */\nfunction headerNameToString (value) {\n return headerNameLowerCasedRecord[value] || value.toLowerCase()\n}\n\nfunction parseHeaders (headers, obj = {}) {\n // For H2 support\n if (!Array.isArray(headers)) return headers\n\n for (let i = 0; i < headers.length; i += 2) {\n const key = headers[i].toString().toLowerCase()\n let val = obj[key]\n\n if (!val) {\n if (Array.isArray(headers[i + 1])) {\n obj[key] = headers[i + 1].map(x => x.toString('utf8'))\n } else {\n obj[key] = headers[i + 1].toString('utf8')\n }\n } else {\n if (!Array.isArray(val)) {\n val = [val]\n obj[key] = val\n }\n val.push(headers[i + 1].toString('utf8'))\n }\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if ('content-length' in obj && 'content-disposition' in obj) {\n obj['content-disposition'] = Buffer.from(obj['content-disposition']).toString('latin1')\n }\n\n return obj\n}\n\nfunction parseRawHeaders (headers) {\n const ret = []\n let hasContentLength = false\n let contentDispositionIdx = -1\n\n for (let n = 0; n < headers.length; n += 2) {\n const key = headers[n + 0].toString()\n const val = headers[n + 1].toString('utf8')\n\n if (key.length === 14 && (key === 'content-length' || key.toLowerCase() === 'content-length')) {\n ret.push(key, val)\n hasContentLength = true\n } else if (key.length === 19 && (key === 'content-disposition' || key.toLowerCase() === 'content-disposition')) {\n contentDispositionIdx = ret.push(key, val) - 1\n } else {\n ret.push(key, val)\n }\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if (hasContentLength && contentDispositionIdx !== -1) {\n ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString('latin1')\n }\n\n return ret\n}\n\nfunction isBuffer (buffer) {\n // See, https://github.com/mcollina/undici/pull/319\n return buffer instanceof Uint8Array || Buffer.isBuffer(buffer)\n}\n\nfunction validateHandler (handler, method, upgrade) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n if (typeof handler.onConnect !== 'function') {\n throw new InvalidArgumentError('invalid onConnect method')\n }\n\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n if (typeof handler.onBodySent !== 'function' && handler.onBodySent !== undefined) {\n throw new InvalidArgumentError('invalid onBodySent method')\n }\n\n if (upgrade || method === 'CONNECT') {\n if (typeof handler.onUpgrade !== 'function') {\n throw new InvalidArgumentError('invalid onUpgrade method')\n }\n } else {\n if (typeof handler.onHeaders !== 'function') {\n throw new InvalidArgumentError('invalid onHeaders method')\n }\n\n if (typeof handler.onData !== 'function') {\n throw new InvalidArgumentError('invalid onData method')\n }\n\n if (typeof handler.onComplete !== 'function') {\n throw new InvalidArgumentError('invalid onComplete method')\n }\n }\n}\n\n// A body is disturbed if it has been read from and it cannot\n// be re-used without losing state or data.\nfunction isDisturbed (body) {\n return !!(body && (\n stream.isDisturbed\n ? stream.isDisturbed(body) || body[kBodyUsed] // TODO (fix): Why is body[kBodyUsed] needed?\n : body[kBodyUsed] ||\n body.readableDidRead ||\n (body._readableState && body._readableState.dataEmitted) ||\n isReadableAborted(body)\n ))\n}\n\nfunction isErrored (body) {\n return !!(body && (\n stream.isErrored\n ? stream.isErrored(body)\n : /state: 'errored'/.test(nodeUtil.inspect(body)\n )))\n}\n\nfunction isReadable (body) {\n return !!(body && (\n stream.isReadable\n ? stream.isReadable(body)\n : /state: 'readable'/.test(nodeUtil.inspect(body)\n )))\n}\n\nfunction getSocketInfo (socket) {\n return {\n localAddress: socket.localAddress,\n localPort: socket.localPort,\n remoteAddress: socket.remoteAddress,\n remotePort: socket.remotePort,\n remoteFamily: socket.remoteFamily,\n timeout: socket.timeout,\n bytesWritten: socket.bytesWritten,\n bytesRead: socket.bytesRead\n }\n}\n\nasync function * convertIterableToBuffer (iterable) {\n for await (const chunk of iterable) {\n yield Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk)\n }\n}\n\nlet ReadableStream\nfunction ReadableStreamFrom (iterable) {\n if (!ReadableStream) {\n ReadableStream = require('stream/web').ReadableStream\n }\n\n if (ReadableStream.from) {\n return ReadableStream.from(convertIterableToBuffer(iterable))\n }\n\n let iterator\n return new ReadableStream(\n {\n async start () {\n iterator = iterable[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { done, value } = await iterator.next()\n if (done) {\n queueMicrotask(() => {\n controller.close()\n })\n } else {\n const buf = Buffer.isBuffer(value) ? value : Buffer.from(value)\n controller.enqueue(new Uint8Array(buf))\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n }\n },\n 0\n )\n}\n\n// The chunk should be a FormData instance and contains\n// all the required methods.\nfunction isFormDataLike (object) {\n return (\n object &&\n typeof object === 'object' &&\n typeof object.append === 'function' &&\n typeof object.delete === 'function' &&\n typeof object.get === 'function' &&\n typeof object.getAll === 'function' &&\n typeof object.has === 'function' &&\n typeof object.set === 'function' &&\n object[Symbol.toStringTag] === 'FormData'\n )\n}\n\nfunction throwIfAborted (signal) {\n if (!signal) { return }\n if (typeof signal.throwIfAborted === 'function') {\n signal.throwIfAborted()\n } else {\n if (signal.aborted) {\n // DOMException not available < v17.0.0\n const err = new Error('The operation was aborted')\n err.name = 'AbortError'\n throw err\n }\n }\n}\n\nfunction addAbortListener (signal, listener) {\n if ('addEventListener' in signal) {\n signal.addEventListener('abort', listener, { once: true })\n return () => signal.removeEventListener('abort', listener)\n }\n signal.addListener('abort', listener)\n return () => signal.removeListener('abort', listener)\n}\n\nconst hasToWellFormed = !!String.prototype.toWellFormed\n\n/**\n * @param {string} val\n */\nfunction toUSVString (val) {\n if (hasToWellFormed) {\n return `${val}`.toWellFormed()\n } else if (nodeUtil.toUSVString) {\n return nodeUtil.toUSVString(val)\n }\n\n return `${val}`\n}\n\n// Parsed accordingly to RFC 9110\n// https://www.rfc-editor.org/rfc/rfc9110#field.content-range\nfunction parseRangeHeader (range) {\n if (range == null || range === '') return { start: 0, end: null, size: null }\n\n const m = range ? range.match(/^bytes (\\d+)-(\\d+)\\/(\\d+)?$/) : null\n return m\n ? {\n start: parseInt(m[1]),\n end: m[2] ? parseInt(m[2]) : null,\n size: m[3] ? parseInt(m[3]) : null\n }\n : null\n}\n\nconst kEnumerableProperty = Object.create(null)\nkEnumerableProperty.enumerable = true\n\nmodule.exports = {\n kEnumerableProperty,\n nop,\n isDisturbed,\n isErrored,\n isReadable,\n toUSVString,\n isReadableAborted,\n isBlobLike,\n parseOrigin,\n parseURL,\n getServerName,\n isStream,\n isIterable,\n isAsyncIterable,\n isDestroyed,\n headerNameToString,\n parseRawHeaders,\n parseHeaders,\n parseKeepAliveTimeout,\n destroy,\n bodyLength,\n deepClone,\n ReadableStreamFrom,\n isBuffer,\n validateHandler,\n getSocketInfo,\n isFormDataLike,\n buildURL,\n throwIfAborted,\n addAbortListener,\n parseRangeHeader,\n nodeMajor,\n nodeMinor,\n nodeHasAutoSelectFamily: nodeMajor > 18 || (nodeMajor === 18 && nodeMinor >= 13),\n safeHTTPMethods: ['GET', 'HEAD', 'OPTIONS', 'TRACE']\n}\n","'use strict'\n\n/** @type {Record} */\nconst headerNameLowerCasedRecord = {}\n\n// https://developer.mozilla.org/docs/Web/HTTP/Headers\nconst wellknownHeaderNames = [\n 'Accept',\n 'Accept-Encoding',\n 'Accept-Language',\n 'Accept-Ranges',\n 'Access-Control-Allow-Credentials',\n 'Access-Control-Allow-Headers',\n 'Access-Control-Allow-Methods',\n 'Access-Control-Allow-Origin',\n 'Access-Control-Expose-Headers',\n 'Access-Control-Max-Age',\n 'Access-Control-Request-Headers',\n 'Access-Control-Request-Method',\n 'Age',\n 'Allow',\n 'Alt-Svc',\n 'Alt-Used',\n 'Authorization',\n 'Cache-Control',\n 'Clear-Site-Data',\n 'Connection',\n 'Content-Disposition',\n 'Content-Encoding',\n 'Content-Language',\n 'Content-Length',\n 'Content-Location',\n 'Content-Range',\n 'Content-Security-Policy',\n 'Content-Security-Policy-Report-Only',\n 'Content-Type',\n 'Cookie',\n 'Cross-Origin-Embedder-Policy',\n 'Cross-Origin-Opener-Policy',\n 'Cross-Origin-Resource-Policy',\n 'Date',\n 'Device-Memory',\n 'Downlink',\n 'ECT',\n 'ETag',\n 'Expect',\n 'Expect-CT',\n 'Expires',\n 'Forwarded',\n 'From',\n 'Host',\n 'If-Match',\n 'If-Modified-Since',\n 'If-None-Match',\n 'If-Range',\n 'If-Unmodified-Since',\n 'Keep-Alive',\n 'Last-Modified',\n 'Link',\n 'Location',\n 'Max-Forwards',\n 'Origin',\n 'Permissions-Policy',\n 'Pragma',\n 'Proxy-Authenticate',\n 'Proxy-Authorization',\n 'RTT',\n 'Range',\n 'Referer',\n 'Referrer-Policy',\n 'Refresh',\n 'Retry-After',\n 'Sec-WebSocket-Accept',\n 'Sec-WebSocket-Extensions',\n 'Sec-WebSocket-Key',\n 'Sec-WebSocket-Protocol',\n 'Sec-WebSocket-Version',\n 'Server',\n 'Server-Timing',\n 'Service-Worker-Allowed',\n 'Service-Worker-Navigation-Preload',\n 'Set-Cookie',\n 'SourceMap',\n 'Strict-Transport-Security',\n 'Supports-Loading-Mode',\n 'TE',\n 'Timing-Allow-Origin',\n 'Trailer',\n 'Transfer-Encoding',\n 'Upgrade',\n 'Upgrade-Insecure-Requests',\n 'User-Agent',\n 'Vary',\n 'Via',\n 'WWW-Authenticate',\n 'X-Content-Type-Options',\n 'X-DNS-Prefetch-Control',\n 'X-Frame-Options',\n 'X-Permitted-Cross-Domain-Policies',\n 'X-Powered-By',\n 'X-Requested-With',\n 'X-XSS-Protection'\n]\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = wellknownHeaderNames[i]\n const lowerCasedKey = key.toLowerCase()\n headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] =\n lowerCasedKey\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(headerNameLowerCasedRecord, null)\n\nmodule.exports = {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n}\n","/**\n * @license\n * web-streams-polyfill v4.0.0\n * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.\n * This code is released under the MIT license.\n * SPDX-License-Identifier: MIT\n */\nfunction e(){}function t(e){return\"object\"==typeof e&&null!==e||\"function\"==typeof e}const r=e;function o(e,t){try{Object.defineProperty(e,\"name\",{value:t,configurable:!0})}catch(e){}}const n=Promise,a=Promise.resolve.bind(n),i=Promise.prototype.then,l=Promise.reject.bind(n),s=a;function u(e){return new n(e)}function c(e){return u((t=>t(e)))}function d(e){return l(e)}function f(e,t,r){return i.call(e,t,r)}function b(e,t,o){f(f(e,t,o),void 0,r)}function h(e,t){b(e,t)}function m(e,t){b(e,void 0,t)}function _(e,t,r){return f(e,t,r)}function p(e){f(e,void 0,r)}let y=e=>{if(\"function\"==typeof queueMicrotask)y=queueMicrotask;else{const e=c(void 0);y=t=>f(e,t)}return y(e)};function S(e,t,r){if(\"function\"!=typeof e)throw new TypeError(\"Argument is not a function\");return Function.prototype.apply.call(e,t,r)}function g(e,t,r){try{return c(S(e,t,r))}catch(e){return d(e)}}class v{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(e){const t=this._back;let r=t;16383===t._elements.length&&(r={_elements:[],_next:void 0}),t._elements.push(e),r!==t&&(this._back=r,t._next=r),++this._size}shift(){const e=this._front;let t=e;const r=this._cursor;let o=r+1;const n=e._elements,a=n[r];return 16384===o&&(t=e._next,o=0),--this._size,this._cursor=o,e!==t&&(this._front=t),n[r]=void 0,a}forEach(e){let t=this._cursor,r=this._front,o=r._elements;for(;!(t===o.length&&void 0===r._next||t===o.length&&(r=r._next,o=r._elements,t=0,0===o.length));)e(o[t]),++t}peek(){const e=this._front,t=this._cursor;return e._elements[t]}}const w=Symbol(\"[[AbortSteps]]\"),R=Symbol(\"[[ErrorSteps]]\"),T=Symbol(\"[[CancelSteps]]\"),C=Symbol(\"[[PullSteps]]\"),P=Symbol(\"[[ReleaseSteps]]\");function q(e,t){e._ownerReadableStream=t,t._reader=e,\"readable\"===t._state?B(e):\"closed\"===t._state?function(e){B(e),A(e)}(e):k(e,t._storedError)}function E(e,t){return Or(e._ownerReadableStream,t)}function W(e){const t=e._ownerReadableStream;\"readable\"===t._state?j(e,new TypeError(\"Reader was released and can no longer be used to monitor the stream's closedness\")):function(e,t){k(e,t)}(e,new TypeError(\"Reader was released and can no longer be used to monitor the stream's closedness\")),t._readableStreamController[P](),t._reader=void 0,e._ownerReadableStream=void 0}function O(e){return new TypeError(\"Cannot \"+e+\" a stream using a released reader\")}function B(e){e._closedPromise=u(((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r}))}function k(e,t){B(e),j(e,t)}function j(e,t){void 0!==e._closedPromise_reject&&(p(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function A(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}const z=Number.isFinite||function(e){return\"number\"==typeof e&&isFinite(e)},D=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function L(e,t){if(void 0!==e&&(\"object\"!=typeof(r=e)&&\"function\"!=typeof r))throw new TypeError(`${t} is not an object.`);var r}function F(e,t){if(\"function\"!=typeof e)throw new TypeError(`${t} is not a function.`)}function I(e,t){if(!function(e){return\"object\"==typeof e&&null!==e||\"function\"==typeof e}(e))throw new TypeError(`${t} is not an object.`)}function $(e,t,r){if(void 0===e)throw new TypeError(`Parameter ${t} is required in '${r}'.`)}function M(e,t,r){if(void 0===e)throw new TypeError(`${t} is required in '${r}'.`)}function Y(e){return Number(e)}function x(e){return 0===e?0:e}function Q(e,t){const r=Number.MAX_SAFE_INTEGER;let o=Number(e);if(o=x(o),!z(o))throw new TypeError(`${t} is not a finite number`);if(o=function(e){return x(D(e))}(o),o<0||o>r)throw new TypeError(`${t} is outside the accepted range of 0 to ${r}, inclusive`);return z(o)&&0!==o?o:0}function N(e,t){if(!Er(e))throw new TypeError(`${t} is not a ReadableStream.`)}function H(e){return new ReadableStreamDefaultReader(e)}function V(e,t){e._reader._readRequests.push(t)}function U(e,t,r){const o=e._reader._readRequests.shift();r?o._closeSteps():o._chunkSteps(t)}function G(e){return e._reader._readRequests.length}function X(e){const t=e._reader;return void 0!==t&&!!J(t)}class ReadableStreamDefaultReader{constructor(e){if($(e,1,\"ReadableStreamDefaultReader\"),N(e,\"First parameter\"),Wr(e))throw new TypeError(\"This stream has already been locked for exclusive reading by another reader\");q(this,e),this._readRequests=new v}get closed(){return J(this)?this._closedPromise:d(ee(\"closed\"))}cancel(e=void 0){return J(this)?void 0===this._ownerReadableStream?d(O(\"cancel\")):E(this,e):d(ee(\"cancel\"))}read(){if(!J(this))return d(ee(\"read\"));if(void 0===this._ownerReadableStream)return d(O(\"read from\"));let e,t;const r=u(((r,o)=>{e=r,t=o}));return K(this,{_chunkSteps:t=>e({value:t,done:!1}),_closeSteps:()=>e({value:void 0,done:!0}),_errorSteps:e=>t(e)}),r}releaseLock(){if(!J(this))throw ee(\"releaseLock\");void 0!==this._ownerReadableStream&&function(e){W(e);const t=new TypeError(\"Reader was released\");Z(e,t)}(this)}}function J(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_readRequests\")&&e instanceof ReadableStreamDefaultReader)}function K(e,t){const r=e._ownerReadableStream;r._disturbed=!0,\"closed\"===r._state?t._closeSteps():\"errored\"===r._state?t._errorSteps(r._storedError):r._readableStreamController[C](t)}function Z(e,t){const r=e._readRequests;e._readRequests=new v,r.forEach((e=>{e._errorSteps(t)}))}function ee(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}var te,re,oe;function ne(e){return e.slice()}function ae(e,t,r,o,n){new Uint8Array(e).set(new Uint8Array(r,o,n),t)}Object.defineProperties(ReadableStreamDefaultReader.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),o(ReadableStreamDefaultReader.prototype.cancel,\"cancel\"),o(ReadableStreamDefaultReader.prototype.read,\"read\"),o(ReadableStreamDefaultReader.prototype.releaseLock,\"releaseLock\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(ReadableStreamDefaultReader.prototype,Symbol.toStringTag,{value:\"ReadableStreamDefaultReader\",configurable:!0});let ie=e=>(ie=\"function\"==typeof e.transfer?e=>e.transfer():\"function\"==typeof structuredClone?e=>structuredClone(e,{transfer:[e]}):e=>e,ie(e)),le=e=>(le=\"boolean\"==typeof e.detached?e=>e.detached:e=>0===e.byteLength,le(e));function se(e,t,r){if(e.slice)return e.slice(t,r);const o=r-t,n=new ArrayBuffer(o);return ae(n,0,e,t,o),n}function ue(e,t){const r=e[t];if(null!=r){if(\"function\"!=typeof r)throw new TypeError(`${String(t)} is not a function`);return r}}function ce(e){try{const t=e.done,r=e.value;return f(s(r),(e=>({done:t,value:e})))}catch(e){return d(e)}}const de=null!==(oe=null!==(te=Symbol.asyncIterator)&&void 0!==te?te:null===(re=Symbol.for)||void 0===re?void 0:re.call(Symbol,\"Symbol.asyncIterator\"))&&void 0!==oe?oe:\"@@asyncIterator\";function fe(e,r=\"sync\",o){if(void 0===o)if(\"async\"===r){if(void 0===(o=ue(e,de))){return function(e){const r={next(){let t;try{t=be(e)}catch(e){return d(e)}return ce(t)},return(r){let o;try{const t=ue(e.iterator,\"return\");if(void 0===t)return c({done:!0,value:r});o=S(t,e.iterator,[r])}catch(e){return d(e)}return t(o)?ce(o):d(new TypeError(\"The iterator.return() method must return an object\"))}};return{iterator:r,nextMethod:r.next,done:!1}}(fe(e,\"sync\",ue(e,Symbol.iterator)))}}else o=ue(e,Symbol.iterator);if(void 0===o)throw new TypeError(\"The object is not iterable\");const n=S(o,e,[]);if(!t(n))throw new TypeError(\"The iterator method must return an object\");return{iterator:n,nextMethod:n.next,done:!1}}function be(e){const r=S(e.nextMethod,e.iterator,[]);if(!t(r))throw new TypeError(\"The iterator.next() method must return an object\");return r}class he{constructor(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}next(){const e=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?_(this._ongoingPromise,e,e):e(),this._ongoingPromise}return(e){const t=()=>this._returnSteps(e);return this._ongoingPromise?_(this._ongoingPromise,t,t):t()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});const e=this._reader;let t,r;const o=u(((e,o)=>{t=e,r=o}));return K(e,{_chunkSteps:e=>{this._ongoingPromise=void 0,y((()=>t({value:e,done:!1})))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,W(e),t({value:void 0,done:!0})},_errorSteps:t=>{this._ongoingPromise=void 0,this._isFinished=!0,W(e),r(t)}}),o}_returnSteps(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;const t=this._reader;if(!this._preventCancel){const r=E(t,e);return W(t),_(r,(()=>({value:e,done:!0})))}return W(t),c({value:e,done:!0})}}const me={next(){return _e(this)?this._asyncIteratorImpl.next():d(pe(\"next\"))},return(e){return _e(this)?this._asyncIteratorImpl.return(e):d(pe(\"return\"))},[de](){return this}};function _e(e){if(!t(e))return!1;if(!Object.prototype.hasOwnProperty.call(e,\"_asyncIteratorImpl\"))return!1;try{return e._asyncIteratorImpl instanceof he}catch(e){return!1}}function pe(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}Object.defineProperty(me,de,{enumerable:!1});const ye=Number.isNaN||function(e){return e!=e};function Se(e){const t=se(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function ge(e){const t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function ve(e,t,r){if(\"number\"!=typeof(o=r)||ye(o)||o<0||r===1/0)throw new RangeError(\"Size must be a finite, non-NaN, non-negative number.\");var o;e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function we(e){e._queue=new v,e._queueTotalSize=0}function Re(e){return e===DataView}class ReadableStreamBYOBRequest{constructor(){throw new TypeError(\"Illegal constructor\")}get view(){if(!Ce(this))throw Je(\"view\");return this._view}respond(e){if(!Ce(this))throw Je(\"respond\");if($(e,1,\"respond\"),e=Q(e,\"First parameter\"),void 0===this._associatedReadableByteStreamController)throw new TypeError(\"This BYOB request has been invalidated\");if(le(this._view.buffer))throw new TypeError(\"The BYOB request's buffer has been detached and so cannot be used as a response\");Ue(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!Ce(this))throw Je(\"respondWithNewView\");if($(e,1,\"respondWithNewView\"),!ArrayBuffer.isView(e))throw new TypeError(\"You can only respond with array buffer views\");if(void 0===this._associatedReadableByteStreamController)throw new TypeError(\"This BYOB request has been invalidated\");if(le(e.buffer))throw new TypeError(\"The given view's buffer has been detached and so cannot be used as a response\");Ge(this._associatedReadableByteStreamController,e)}}Object.defineProperties(ReadableStreamBYOBRequest.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),o(ReadableStreamBYOBRequest.prototype.respond,\"respond\"),o(ReadableStreamBYOBRequest.prototype.respondWithNewView,\"respondWithNewView\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(ReadableStreamBYOBRequest.prototype,Symbol.toStringTag,{value:\"ReadableStreamBYOBRequest\",configurable:!0});class ReadableByteStreamController{constructor(){throw new TypeError(\"Illegal constructor\")}get byobRequest(){if(!Te(this))throw Ke(\"byobRequest\");return He(this)}get desiredSize(){if(!Te(this))throw Ke(\"desiredSize\");return Ve(this)}close(){if(!Te(this))throw Ke(\"close\");if(this._closeRequested)throw new TypeError(\"The stream has already been closed; do not close it again!\");const e=this._controlledReadableByteStream._state;if(\"readable\"!==e)throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);Ye(this)}enqueue(e){if(!Te(this))throw Ke(\"enqueue\");if($(e,1,\"enqueue\"),!ArrayBuffer.isView(e))throw new TypeError(\"chunk must be an array buffer view\");if(0===e.byteLength)throw new TypeError(\"chunk must have non-zero byteLength\");if(0===e.buffer.byteLength)throw new TypeError(\"chunk's buffer must have non-zero byteLength\");if(this._closeRequested)throw new TypeError(\"stream is closed or draining\");const t=this._controlledReadableByteStream._state;if(\"readable\"!==t)throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);xe(this,e)}error(e=void 0){if(!Te(this))throw Ke(\"error\");Qe(this,e)}[T](e){qe(this),we(this);const t=this._cancelAlgorithm(e);return Me(this),t}[C](e){const t=this._controlledReadableByteStream;if(this._queueTotalSize>0)return void Ne(this,e);const r=this._autoAllocateChunkSize;if(void 0!==r){let t;try{t=new ArrayBuffer(r)}catch(t){return void e._errorSteps(t)}const o={buffer:t,bufferByteLength:r,byteOffset:0,byteLength:r,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:\"default\"};this._pendingPullIntos.push(o)}V(t,e),Pe(this)}[P](){if(this._pendingPullIntos.length>0){const e=this._pendingPullIntos.peek();e.readerType=\"none\",this._pendingPullIntos=new v,this._pendingPullIntos.push(e)}}}function Te(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_controlledReadableByteStream\")&&e instanceof ReadableByteStreamController)}function Ce(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_associatedReadableByteStreamController\")&&e instanceof ReadableStreamBYOBRequest)}function Pe(e){const t=function(e){const t=e._controlledReadableByteStream;if(\"readable\"!==t._state)return!1;if(e._closeRequested)return!1;if(!e._started)return!1;if(X(t)&&G(t)>0)return!0;if(ot(t)&&rt(t)>0)return!0;const r=Ve(e);if(r>0)return!0;return!1}(e);if(!t)return;if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0;b(e._pullAlgorithm(),(()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Pe(e)),null)),(t=>(Qe(e,t),null)))}function qe(e){De(e),e._pendingPullIntos=new v}function Ee(e,t){let r=!1;\"closed\"===e._state&&(r=!0);const o=We(t);\"default\"===t.readerType?U(e,o,r):function(e,t,r){const o=e._reader,n=o._readIntoRequests.shift();r?n._closeSteps(t):n._chunkSteps(t)}(e,o,r)}function We(e){const t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function Oe(e,t,r,o){e._queue.push({buffer:t,byteOffset:r,byteLength:o}),e._queueTotalSize+=o}function Be(e,t,r,o){let n;try{n=se(t,r,r+o)}catch(t){throw Qe(e,t),t}Oe(e,n,0,o)}function ke(e,t){t.bytesFilled>0&&Be(e,t.buffer,t.byteOffset,t.bytesFilled),$e(e)}function je(e,t){const r=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),o=t.bytesFilled+r;let n=r,a=!1;const i=o-o%t.elementSize;i>=t.minimumFill&&(n=i-t.bytesFilled,a=!0);const l=e._queue;for(;n>0;){const r=l.peek(),o=Math.min(n,r.byteLength),a=t.byteOffset+t.bytesFilled;ae(t.buffer,a,r.buffer,r.byteOffset,o),r.byteLength===o?l.shift():(r.byteOffset+=o,r.byteLength-=o),e._queueTotalSize-=o,Ae(e,o,t),n-=o}return a}function Ae(e,t,r){r.bytesFilled+=t}function ze(e){0===e._queueTotalSize&&e._closeRequested?(Me(e),Br(e._controlledReadableByteStream)):Pe(e)}function De(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function Le(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;const t=e._pendingPullIntos.peek();je(e,t)&&($e(e),Ee(e._controlledReadableByteStream,t))}}function Fe(e,t,r,o){const n=e._controlledReadableByteStream,a=t.constructor,i=function(e){return Re(e)?1:e.BYTES_PER_ELEMENT}(a),{byteOffset:l,byteLength:s}=t,u=r*i;let c;try{c=ie(t.buffer)}catch(e){return void o._errorSteps(e)}const d={buffer:c,bufferByteLength:c.byteLength,byteOffset:l,byteLength:s,bytesFilled:0,minimumFill:u,elementSize:i,viewConstructor:a,readerType:\"byob\"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(d),void tt(n,o);if(\"closed\"!==n._state){if(e._queueTotalSize>0){if(je(e,d)){const t=We(d);return ze(e),void o._chunkSteps(t)}if(e._closeRequested){const t=new TypeError(\"Insufficient bytes to fill elements in the given buffer\");return Qe(e,t),void o._errorSteps(t)}}e._pendingPullIntos.push(d),tt(n,o),Pe(e)}else{const e=new a(d.buffer,d.byteOffset,0);o._closeSteps(e)}}function Ie(e,t){const r=e._pendingPullIntos.peek();De(e);\"closed\"===e._controlledReadableByteStream._state?function(e,t){\"none\"===t.readerType&&$e(e);const r=e._controlledReadableByteStream;if(ot(r))for(;rt(r)>0;)Ee(r,$e(e))}(e,r):function(e,t,r){if(Ae(0,t,r),\"none\"===r.readerType)return ke(e,r),void Le(e);if(r.bytesFilled0){const t=r.byteOffset+r.bytesFilled;Be(e,r.buffer,t-o,o)}r.bytesFilled-=o,Ee(e._controlledReadableByteStream,r),Le(e)}(e,t,r),Pe(e)}function $e(e){return e._pendingPullIntos.shift()}function Me(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Ye(e){const t=e._controlledReadableByteStream;if(!e._closeRequested&&\"readable\"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek();if(t.bytesFilled%t.elementSize!=0){const t=new TypeError(\"Insufficient bytes to fill elements in the given buffer\");throw Qe(e,t),t}}Me(e),Br(t)}}function xe(e,t){const r=e._controlledReadableByteStream;if(e._closeRequested||\"readable\"!==r._state)return;const{buffer:o,byteOffset:n,byteLength:a}=t;if(le(o))throw new TypeError(\"chunk's buffer is detached and so cannot be enqueued\");const i=ie(o);if(e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek();if(le(t.buffer))throw new TypeError(\"The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk\");De(e),t.buffer=ie(t.buffer),\"none\"===t.readerType&&ke(e,t)}if(X(r))if(function(e){const t=e._controlledReadableByteStream._reader;for(;t._readRequests.length>0;){if(0===e._queueTotalSize)return;Ne(e,t._readRequests.shift())}}(e),0===G(r))Oe(e,i,n,a);else{e._pendingPullIntos.length>0&&$e(e);U(r,new Uint8Array(i,n,a),!1)}else ot(r)?(Oe(e,i,n,a),Le(e)):Oe(e,i,n,a);Pe(e)}function Qe(e,t){const r=e._controlledReadableByteStream;\"readable\"===r._state&&(qe(e),we(e),Me(e),kr(r,t))}function Ne(e,t){const r=e._queue.shift();e._queueTotalSize-=r.byteLength,ze(e);const o=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);t._chunkSteps(o)}function He(e){if(null===e._byobRequest&&e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek(),r=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),o=Object.create(ReadableStreamBYOBRequest.prototype);!function(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}(o,e,r),e._byobRequest=o}return e._byobRequest}function Ve(e){const t=e._controlledReadableByteStream._state;return\"errored\"===t?null:\"closed\"===t?0:e._strategyHWM-e._queueTotalSize}function Ue(e,t){const r=e._pendingPullIntos.peek();if(\"closed\"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError(\"bytesWritten must be 0 when calling respond() on a closed stream\")}else{if(0===t)throw new TypeError(\"bytesWritten must be greater than 0 when calling respond() on a readable stream\");if(r.bytesFilled+t>r.byteLength)throw new RangeError(\"bytesWritten out of range\")}r.buffer=ie(r.buffer),Ie(e,t)}function Ge(e,t){const r=e._pendingPullIntos.peek();if(\"closed\"===e._controlledReadableByteStream._state){if(0!==t.byteLength)throw new TypeError(\"The view's length must be 0 when calling respondWithNewView() on a closed stream\")}else if(0===t.byteLength)throw new TypeError(\"The view's length must be greater than 0 when calling respondWithNewView() on a readable stream\");if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError(\"The region specified by view does not match byobRequest\");if(r.bufferByteLength!==t.buffer.byteLength)throw new RangeError(\"The buffer of view has different capacity than byobRequest\");if(r.bytesFilled+t.byteLength>r.byteLength)throw new RangeError(\"The region specified by view is larger than byobRequest\");const o=t.byteLength;r.buffer=ie(t.buffer),Ie(e,o)}function Xe(e,t,r,o,n,a,i){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,we(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=a,t._pullAlgorithm=o,t._cancelAlgorithm=n,t._autoAllocateChunkSize=i,t._pendingPullIntos=new v,e._readableStreamController=t;b(c(r()),(()=>(t._started=!0,Pe(t),null)),(e=>(Qe(t,e),null)))}function Je(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function Ke(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function Ze(e,t){if(\"byob\"!==(e=`${e}`))throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function et(e){return new ReadableStreamBYOBReader(e)}function tt(e,t){e._reader._readIntoRequests.push(t)}function rt(e){return e._reader._readIntoRequests.length}function ot(e){const t=e._reader;return void 0!==t&&!!nt(t)}Object.defineProperties(ReadableByteStreamController.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),o(ReadableByteStreamController.prototype.close,\"close\"),o(ReadableByteStreamController.prototype.enqueue,\"enqueue\"),o(ReadableByteStreamController.prototype.error,\"error\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(ReadableByteStreamController.prototype,Symbol.toStringTag,{value:\"ReadableByteStreamController\",configurable:!0});class ReadableStreamBYOBReader{constructor(e){if($(e,1,\"ReadableStreamBYOBReader\"),N(e,\"First parameter\"),Wr(e))throw new TypeError(\"This stream has already been locked for exclusive reading by another reader\");if(!Te(e._readableStreamController))throw new TypeError(\"Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source\");q(this,e),this._readIntoRequests=new v}get closed(){return nt(this)?this._closedPromise:d(lt(\"closed\"))}cancel(e=void 0){return nt(this)?void 0===this._ownerReadableStream?d(O(\"cancel\")):E(this,e):d(lt(\"cancel\"))}read(e,t={}){if(!nt(this))return d(lt(\"read\"));if(!ArrayBuffer.isView(e))return d(new TypeError(\"view must be an array buffer view\"));if(0===e.byteLength)return d(new TypeError(\"view must have non-zero byteLength\"));if(0===e.buffer.byteLength)return d(new TypeError(\"view's buffer must have non-zero byteLength\"));if(le(e.buffer))return d(new TypeError(\"view's buffer has been detached\"));let r;try{r=function(e,t){var r;return L(e,t),{min:Q(null!==(r=null==e?void 0:e.min)&&void 0!==r?r:1,`${t} has member 'min' that`)}}(t,\"options\")}catch(e){return d(e)}const o=r.min;if(0===o)return d(new TypeError(\"options.min must be greater than 0\"));if(function(e){return Re(e.constructor)}(e)){if(o>e.byteLength)return d(new RangeError(\"options.min must be less than or equal to view's byteLength\"))}else if(o>e.length)return d(new RangeError(\"options.min must be less than or equal to view's length\"));if(void 0===this._ownerReadableStream)return d(O(\"read from\"));let n,a;const i=u(((e,t)=>{n=e,a=t}));return at(this,e,o,{_chunkSteps:e=>n({value:e,done:!1}),_closeSteps:e=>n({value:e,done:!0}),_errorSteps:e=>a(e)}),i}releaseLock(){if(!nt(this))throw lt(\"releaseLock\");void 0!==this._ownerReadableStream&&function(e){W(e);const t=new TypeError(\"Reader was released\");it(e,t)}(this)}}function nt(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_readIntoRequests\")&&e instanceof ReadableStreamBYOBReader)}function at(e,t,r,o){const n=e._ownerReadableStream;n._disturbed=!0,\"errored\"===n._state?o._errorSteps(n._storedError):Fe(n._readableStreamController,t,r,o)}function it(e,t){const r=e._readIntoRequests;e._readIntoRequests=new v,r.forEach((e=>{e._errorSteps(t)}))}function lt(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function st(e,t){const{highWaterMark:r}=e;if(void 0===r)return t;if(ye(r)||r<0)throw new RangeError(\"Invalid highWaterMark\");return r}function ut(e){const{size:t}=e;return t||(()=>1)}function ct(e,t){L(e,t);const r=null==e?void 0:e.highWaterMark,o=null==e?void 0:e.size;return{highWaterMark:void 0===r?void 0:Y(r),size:void 0===o?void 0:dt(o,`${t} has member 'size' that`)}}function dt(e,t){return F(e,t),t=>Y(e(t))}function ft(e,t,r){return F(e,r),r=>g(e,t,[r])}function bt(e,t,r){return F(e,r),()=>g(e,t,[])}function ht(e,t,r){return F(e,r),r=>S(e,t,[r])}function mt(e,t,r){return F(e,r),(r,o)=>g(e,t,[r,o])}function _t(e,t){if(!gt(e))throw new TypeError(`${t} is not a WritableStream.`)}Object.defineProperties(ReadableStreamBYOBReader.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),o(ReadableStreamBYOBReader.prototype.cancel,\"cancel\"),o(ReadableStreamBYOBReader.prototype.read,\"read\"),o(ReadableStreamBYOBReader.prototype.releaseLock,\"releaseLock\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(ReadableStreamBYOBReader.prototype,Symbol.toStringTag,{value:\"ReadableStreamBYOBReader\",configurable:!0});const pt=\"function\"==typeof AbortController;class WritableStream{constructor(e={},t={}){void 0===e?e=null:I(e,\"First parameter\");const r=ct(t,\"Second parameter\"),o=function(e,t){L(e,t);const r=null==e?void 0:e.abort,o=null==e?void 0:e.close,n=null==e?void 0:e.start,a=null==e?void 0:e.type,i=null==e?void 0:e.write;return{abort:void 0===r?void 0:ft(r,e,`${t} has member 'abort' that`),close:void 0===o?void 0:bt(o,e,`${t} has member 'close' that`),start:void 0===n?void 0:ht(n,e,`${t} has member 'start' that`),write:void 0===i?void 0:mt(i,e,`${t} has member 'write' that`),type:a}}(e,\"First parameter\");St(this);if(void 0!==o.type)throw new RangeError(\"Invalid type is specified\");const n=ut(r);!function(e,t,r,o){const n=Object.create(WritableStreamDefaultController.prototype);let a,i,l,s;a=void 0!==t.start?()=>t.start(n):()=>{};i=void 0!==t.write?e=>t.write(e,n):()=>c(void 0);l=void 0!==t.close?()=>t.close():()=>c(void 0);s=void 0!==t.abort?e=>t.abort(e):()=>c(void 0);Ft(e,n,a,i,l,s,r,o)}(this,o,st(r,1),n)}get locked(){if(!gt(this))throw Nt(\"locked\");return vt(this)}abort(e=void 0){return gt(this)?vt(this)?d(new TypeError(\"Cannot abort a stream that already has a writer\")):wt(this,e):d(Nt(\"abort\"))}close(){return gt(this)?vt(this)?d(new TypeError(\"Cannot close a stream that already has a writer\")):qt(this)?d(new TypeError(\"Cannot close an already-closing stream\")):Rt(this):d(Nt(\"close\"))}getWriter(){if(!gt(this))throw Nt(\"getWriter\");return yt(this)}}function yt(e){return new WritableStreamDefaultWriter(e)}function St(e){e._state=\"writable\",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new v,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function gt(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_writableStreamController\")&&e instanceof WritableStream)}function vt(e){return void 0!==e._writer}function wt(e,t){var r;if(\"closed\"===e._state||\"errored\"===e._state)return c(void 0);e._writableStreamController._abortReason=t,null===(r=e._writableStreamController._abortController)||void 0===r||r.abort(t);const o=e._state;if(\"closed\"===o||\"errored\"===o)return c(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;let n=!1;\"erroring\"===o&&(n=!0,t=void 0);const a=u(((r,o)=>{e._pendingAbortRequest={_promise:void 0,_resolve:r,_reject:o,_reason:t,_wasAlreadyErroring:n}}));return e._pendingAbortRequest._promise=a,n||Ct(e,t),a}function Rt(e){const t=e._state;if(\"closed\"===t||\"errored\"===t)return d(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));const r=u(((t,r)=>{const o={_resolve:t,_reject:r};e._closeRequest=o})),o=e._writer;var n;return void 0!==o&&e._backpressure&&\"writable\"===t&&or(o),ve(n=e._writableStreamController,Dt,0),Mt(n),r}function Tt(e,t){\"writable\"!==e._state?Pt(e):Ct(e,t)}function Ct(e,t){const r=e._writableStreamController;e._state=\"erroring\",e._storedError=t;const o=e._writer;void 0!==o&&jt(o,t),!function(e){if(void 0===e._inFlightWriteRequest&&void 0===e._inFlightCloseRequest)return!1;return!0}(e)&&r._started&&Pt(e)}function Pt(e){e._state=\"errored\",e._writableStreamController[R]();const t=e._storedError;if(e._writeRequests.forEach((e=>{e._reject(t)})),e._writeRequests=new v,void 0===e._pendingAbortRequest)return void Et(e);const r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring)return r._reject(t),void Et(e);b(e._writableStreamController[w](r._reason),(()=>(r._resolve(),Et(e),null)),(t=>(r._reject(t),Et(e),null)))}function qt(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function Et(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);const t=e._writer;void 0!==t&&Jt(t,e._storedError)}function Wt(e,t){const r=e._writer;void 0!==r&&t!==e._backpressure&&(t?function(e){Zt(e)}(r):or(r)),e._backpressure=t}Object.defineProperties(WritableStream.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),o(WritableStream.prototype.abort,\"abort\"),o(WritableStream.prototype.close,\"close\"),o(WritableStream.prototype.getWriter,\"getWriter\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(WritableStream.prototype,Symbol.toStringTag,{value:\"WritableStream\",configurable:!0});class WritableStreamDefaultWriter{constructor(e){if($(e,1,\"WritableStreamDefaultWriter\"),_t(e,\"First parameter\"),vt(e))throw new TypeError(\"This stream has already been locked for exclusive writing by another writer\");this._ownerWritableStream=e,e._writer=this;const t=e._state;if(\"writable\"===t)!qt(e)&&e._backpressure?Zt(this):tr(this),Gt(this);else if(\"erroring\"===t)er(this,e._storedError),Gt(this);else if(\"closed\"===t)tr(this),Gt(r=this),Kt(r);else{const t=e._storedError;er(this,t),Xt(this,t)}var r}get closed(){return Ot(this)?this._closedPromise:d(Vt(\"closed\"))}get desiredSize(){if(!Ot(this))throw Vt(\"desiredSize\");if(void 0===this._ownerWritableStream)throw Ut(\"desiredSize\");return function(e){const t=e._ownerWritableStream,r=t._state;if(\"errored\"===r||\"erroring\"===r)return null;if(\"closed\"===r)return 0;return $t(t._writableStreamController)}(this)}get ready(){return Ot(this)?this._readyPromise:d(Vt(\"ready\"))}abort(e=void 0){return Ot(this)?void 0===this._ownerWritableStream?d(Ut(\"abort\")):function(e,t){return wt(e._ownerWritableStream,t)}(this,e):d(Vt(\"abort\"))}close(){if(!Ot(this))return d(Vt(\"close\"));const e=this._ownerWritableStream;return void 0===e?d(Ut(\"close\")):qt(e)?d(new TypeError(\"Cannot close an already-closing stream\")):Bt(this)}releaseLock(){if(!Ot(this))throw Vt(\"releaseLock\");void 0!==this._ownerWritableStream&&At(this)}write(e=void 0){return Ot(this)?void 0===this._ownerWritableStream?d(Ut(\"write to\")):zt(this,e):d(Vt(\"write\"))}}function Ot(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_ownerWritableStream\")&&e instanceof WritableStreamDefaultWriter)}function Bt(e){return Rt(e._ownerWritableStream)}function kt(e,t){\"pending\"===e._closedPromiseState?Jt(e,t):function(e,t){Xt(e,t)}(e,t)}function jt(e,t){\"pending\"===e._readyPromiseState?rr(e,t):function(e,t){er(e,t)}(e,t)}function At(e){const t=e._ownerWritableStream,r=new TypeError(\"Writer was released and can no longer be used to monitor the stream's closedness\");jt(e,r),kt(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function zt(e,t){const r=e._ownerWritableStream,o=r._writableStreamController,n=function(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return Yt(e,t),1}}(o,t);if(r!==e._ownerWritableStream)return d(Ut(\"write to\"));const a=r._state;if(\"errored\"===a)return d(r._storedError);if(qt(r)||\"closed\"===a)return d(new TypeError(\"The stream is closing or closed and cannot be written to\"));if(\"erroring\"===a)return d(r._storedError);const i=function(e){return u(((t,r)=>{const o={_resolve:t,_reject:r};e._writeRequests.push(o)}))}(r);return function(e,t,r){try{ve(e,t,r)}catch(t){return void Yt(e,t)}const o=e._controlledWritableStream;if(!qt(o)&&\"writable\"===o._state){Wt(o,xt(e))}Mt(e)}(o,t,n),i}Object.defineProperties(WritableStreamDefaultWriter.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),o(WritableStreamDefaultWriter.prototype.abort,\"abort\"),o(WritableStreamDefaultWriter.prototype.close,\"close\"),o(WritableStreamDefaultWriter.prototype.releaseLock,\"releaseLock\"),o(WritableStreamDefaultWriter.prototype.write,\"write\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(WritableStreamDefaultWriter.prototype,Symbol.toStringTag,{value:\"WritableStreamDefaultWriter\",configurable:!0});const Dt={};class WritableStreamDefaultController{constructor(){throw new TypeError(\"Illegal constructor\")}get abortReason(){if(!Lt(this))throw Ht(\"abortReason\");return this._abortReason}get signal(){if(!Lt(this))throw Ht(\"signal\");if(void 0===this._abortController)throw new TypeError(\"WritableStreamDefaultController.prototype.signal is not supported\");return this._abortController.signal}error(e=void 0){if(!Lt(this))throw Ht(\"error\");\"writable\"===this._controlledWritableStream._state&&Qt(this,e)}[w](e){const t=this._abortAlgorithm(e);return It(this),t}[R](){we(this)}}function Lt(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_controlledWritableStream\")&&e instanceof WritableStreamDefaultController)}function Ft(e,t,r,o,n,a,i,l){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,we(t),t._abortReason=void 0,t._abortController=function(){if(pt)return new AbortController}(),t._started=!1,t._strategySizeAlgorithm=l,t._strategyHWM=i,t._writeAlgorithm=o,t._closeAlgorithm=n,t._abortAlgorithm=a;const s=xt(t);Wt(e,s);b(c(r()),(()=>(t._started=!0,Mt(t),null)),(r=>(t._started=!0,Tt(e,r),null)))}function It(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function $t(e){return e._strategyHWM-e._queueTotalSize}function Mt(e){const t=e._controlledWritableStream;if(!e._started)return;if(void 0!==t._inFlightWriteRequest)return;if(\"erroring\"===t._state)return void Pt(t);if(0===e._queue.length)return;const r=e._queue.peek().value;r===Dt?function(e){const t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),ge(e);const r=e._closeAlgorithm();It(e),b(r,(()=>(function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,\"erroring\"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state=\"closed\";const t=e._writer;void 0!==t&&Kt(t)}(t),null)),(e=>(function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),Tt(e,t)}(t,e),null)))}(e):function(e,t){const r=e._controlledWritableStream;!function(e){e._inFlightWriteRequest=e._writeRequests.shift()}(r);const o=e._writeAlgorithm(t);b(o,(()=>{!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(r);const t=r._state;if(ge(e),!qt(r)&&\"writable\"===t){const t=xt(e);Wt(r,t)}return Mt(e),null}),(t=>(\"writable\"===r._state&&It(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,Tt(e,t)}(r,t),null)))}(e,r)}function Yt(e,t){\"writable\"===e._controlledWritableStream._state&&Qt(e,t)}function xt(e){return $t(e)<=0}function Qt(e,t){const r=e._controlledWritableStream;It(e),Ct(r,t)}function Nt(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function Ht(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function Vt(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function Ut(e){return new TypeError(\"Cannot \"+e+\" a stream using a released writer\")}function Gt(e){e._closedPromise=u(((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState=\"pending\"}))}function Xt(e,t){Gt(e),Jt(e,t)}function Jt(e,t){void 0!==e._closedPromise_reject&&(p(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState=\"rejected\")}function Kt(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState=\"resolved\")}function Zt(e){e._readyPromise=u(((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState=\"pending\"}function er(e,t){Zt(e),rr(e,t)}function tr(e){Zt(e),or(e)}function rr(e,t){void 0!==e._readyPromise_reject&&(p(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState=\"rejected\")}function or(e){void 0!==e._readyPromise_resolve&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState=\"fulfilled\")}Object.defineProperties(WritableStreamDefaultController.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(WritableStreamDefaultController.prototype,Symbol.toStringTag,{value:\"WritableStreamDefaultController\",configurable:!0});const nr=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:\"undefined\"!=typeof global?global:void 0;const ar=function(){const e=null==nr?void 0:nr.DOMException;return function(e){if(\"function\"!=typeof e&&\"object\"!=typeof e)return!1;if(\"DOMException\"!==e.name)return!1;try{return new e,!0}catch(e){return!1}}(e)?e:void 0}()||function(){const e=function(e,t){this.message=e||\"\",this.name=t||\"Error\",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return o(e,\"DOMException\"),e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,\"constructor\",{value:e,writable:!0,configurable:!0}),e}();function ir(t,r,o,n,a,i){const l=H(t),s=yt(r);t._disturbed=!0;let _=!1,y=c(void 0);return u(((S,g)=>{let v;if(void 0!==i){if(v=()=>{const e=void 0!==i.reason?i.reason:new ar(\"Aborted\",\"AbortError\"),o=[];n||o.push((()=>\"writable\"===r._state?wt(r,e):c(void 0))),a||o.push((()=>\"readable\"===t._state?Or(t,e):c(void 0))),q((()=>Promise.all(o.map((e=>e())))),!0,e)},i.aborted)return void v();i.addEventListener(\"abort\",v)}var w,R,T;if(P(t,l._closedPromise,(e=>(n?E(!0,e):q((()=>wt(r,e)),!0,e),null))),P(r,s._closedPromise,(e=>(a?E(!0,e):q((()=>Or(t,e)),!0,e),null))),w=t,R=l._closedPromise,T=()=>(o?E():q((()=>function(e){const t=e._ownerWritableStream,r=t._state;return qt(t)||\"closed\"===r?c(void 0):\"errored\"===r?d(t._storedError):Bt(e)}(s))),null),\"closed\"===w._state?T():h(R,T),qt(r)||\"closed\"===r._state){const e=new TypeError(\"the destination writable stream closed before all data could be piped to it\");a?E(!0,e):q((()=>Or(t,e)),!0,e)}function C(){const e=y;return f(y,(()=>e!==y?C():void 0))}function P(e,t,r){\"errored\"===e._state?r(e._storedError):m(t,r)}function q(e,t,o){function n(){return b(e(),(()=>O(t,o)),(e=>O(!0,e))),null}_||(_=!0,\"writable\"!==r._state||qt(r)?n():h(C(),n))}function E(e,t){_||(_=!0,\"writable\"!==r._state||qt(r)?O(e,t):h(C(),(()=>O(e,t))))}function O(e,t){return At(s),W(l),void 0!==i&&i.removeEventListener(\"abort\",v),e?g(t):S(void 0),null}p(u(((t,r)=>{!function o(n){n?t():f(_?c(!0):f(s._readyPromise,(()=>u(((t,r)=>{K(l,{_chunkSteps:r=>{y=f(zt(s,r),void 0,e),t(!1)},_closeSteps:()=>t(!0),_errorSteps:r})})))),o,r)}(!1)})))}))}class ReadableStreamDefaultController{constructor(){throw new TypeError(\"Illegal constructor\")}get desiredSize(){if(!lr(this))throw pr(\"desiredSize\");return hr(this)}close(){if(!lr(this))throw pr(\"close\");if(!mr(this))throw new TypeError(\"The stream is not in a state that permits close\");dr(this)}enqueue(e=void 0){if(!lr(this))throw pr(\"enqueue\");if(!mr(this))throw new TypeError(\"The stream is not in a state that permits enqueue\");return fr(this,e)}error(e=void 0){if(!lr(this))throw pr(\"error\");br(this,e)}[T](e){we(this);const t=this._cancelAlgorithm(e);return cr(this),t}[C](e){const t=this._controlledReadableStream;if(this._queue.length>0){const r=ge(this);this._closeRequested&&0===this._queue.length?(cr(this),Br(t)):sr(this),e._chunkSteps(r)}else V(t,e),sr(this)}[P](){}}function lr(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_controlledReadableStream\")&&e instanceof ReadableStreamDefaultController)}function sr(e){if(!ur(e))return;if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0;b(e._pullAlgorithm(),(()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,sr(e)),null)),(t=>(br(e,t),null)))}function ur(e){const t=e._controlledReadableStream;if(!mr(e))return!1;if(!e._started)return!1;if(Wr(t)&&G(t)>0)return!0;return hr(e)>0}function cr(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function dr(e){if(!mr(e))return;const t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(cr(e),Br(t))}function fr(e,t){if(!mr(e))return;const r=e._controlledReadableStream;if(Wr(r)&&G(r)>0)U(r,t,!1);else{let r;try{r=e._strategySizeAlgorithm(t)}catch(t){throw br(e,t),t}try{ve(e,t,r)}catch(t){throw br(e,t),t}}sr(e)}function br(e,t){const r=e._controlledReadableStream;\"readable\"===r._state&&(we(e),cr(e),kr(r,t))}function hr(e){const t=e._controlledReadableStream._state;return\"errored\"===t?null:\"closed\"===t?0:e._strategyHWM-e._queueTotalSize}function mr(e){const t=e._controlledReadableStream._state;return!e._closeRequested&&\"readable\"===t}function _r(e,t,r,o,n,a,i){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,we(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=i,t._strategyHWM=a,t._pullAlgorithm=o,t._cancelAlgorithm=n,e._readableStreamController=t;b(c(r()),(()=>(t._started=!0,sr(t),null)),(e=>(br(t,e),null)))}function pr(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function yr(e,t){return Te(e._readableStreamController)?function(e){let t,r,o,n,a,i=H(e),l=!1,s=!1,d=!1,f=!1,b=!1;const h=u((e=>{a=e}));function _(e){m(e._closedPromise,(t=>(e!==i||(Qe(o._readableStreamController,t),Qe(n._readableStreamController,t),f&&b||a(void 0)),null)))}function p(){nt(i)&&(W(i),i=H(e),_(i));K(i,{_chunkSteps:t=>{y((()=>{s=!1,d=!1;const r=t;let i=t;if(!f&&!b)try{i=Se(t)}catch(t){return Qe(o._readableStreamController,t),Qe(n._readableStreamController,t),void a(Or(e,t))}f||xe(o._readableStreamController,r),b||xe(n._readableStreamController,i),l=!1,s?g():d&&v()}))},_closeSteps:()=>{l=!1,f||Ye(o._readableStreamController),b||Ye(n._readableStreamController),o._readableStreamController._pendingPullIntos.length>0&&Ue(o._readableStreamController,0),n._readableStreamController._pendingPullIntos.length>0&&Ue(n._readableStreamController,0),f&&b||a(void 0)},_errorSteps:()=>{l=!1}})}function S(t,r){J(i)&&(W(i),i=et(e),_(i));const u=r?n:o,c=r?o:n;at(i,t,1,{_chunkSteps:t=>{y((()=>{s=!1,d=!1;const o=r?b:f;if(r?f:b)o||Ge(u._readableStreamController,t);else{let r;try{r=Se(t)}catch(t){return Qe(u._readableStreamController,t),Qe(c._readableStreamController,t),void a(Or(e,t))}o||Ge(u._readableStreamController,t),xe(c._readableStreamController,r)}l=!1,s?g():d&&v()}))},_closeSteps:e=>{l=!1;const t=r?b:f,o=r?f:b;t||Ye(u._readableStreamController),o||Ye(c._readableStreamController),void 0!==e&&(t||Ge(u._readableStreamController,e),!o&&c._readableStreamController._pendingPullIntos.length>0&&Ue(c._readableStreamController,0)),t&&o||a(void 0)},_errorSteps:()=>{l=!1}})}function g(){if(l)return s=!0,c(void 0);l=!0;const e=He(o._readableStreamController);return null===e?p():S(e._view,!1),c(void 0)}function v(){if(l)return d=!0,c(void 0);l=!0;const e=He(n._readableStreamController);return null===e?p():S(e._view,!0),c(void 0)}function w(o){if(f=!0,t=o,b){const o=ne([t,r]),n=Or(e,o);a(n)}return h}function R(o){if(b=!0,r=o,f){const o=ne([t,r]),n=Or(e,o);a(n)}return h}function T(){}return o=Pr(T,g,w),n=Pr(T,v,R),_(i),[o,n]}(e):function(e,t){const r=H(e);let o,n,a,i,l,s=!1,d=!1,f=!1,b=!1;const h=u((e=>{l=e}));function _(){if(s)return d=!0,c(void 0);s=!0;return K(r,{_chunkSteps:e=>{y((()=>{d=!1;const t=e,r=e;f||fr(a._readableStreamController,t),b||fr(i._readableStreamController,r),s=!1,d&&_()}))},_closeSteps:()=>{s=!1,f||dr(a._readableStreamController),b||dr(i._readableStreamController),f&&b||l(void 0)},_errorSteps:()=>{s=!1}}),c(void 0)}function p(t){if(f=!0,o=t,b){const t=ne([o,n]),r=Or(e,t);l(r)}return h}function S(t){if(b=!0,n=t,f){const t=ne([o,n]),r=Or(e,t);l(r)}return h}function g(){}return a=Cr(g,_,p),i=Cr(g,_,S),m(r._closedPromise,(e=>(br(a._readableStreamController,e),br(i._readableStreamController,e),f&&b||l(void 0),null))),[a,i]}(e)}function Sr(r){return t(o=r)&&void 0!==o.getReader?function(r){let o;function n(){let e;try{e=r.read()}catch(e){return d(e)}return _(e,(e=>{if(!t(e))throw new TypeError(\"The promise returned by the reader.read() method must fulfill with an object\");if(e.done)dr(o._readableStreamController);else{const t=e.value;fr(o._readableStreamController,t)}}))}function a(e){try{return c(r.cancel(e))}catch(e){return d(e)}}return o=Cr(e,n,a,0),o}(r.getReader()):function(r){let o;const n=fe(r,\"async\");function a(){let e;try{e=be(n)}catch(e){return d(e)}return _(c(e),(e=>{if(!t(e))throw new TypeError(\"The promise returned by the iterator.next() method must fulfill with an object\");if(e.done)dr(o._readableStreamController);else{const t=e.value;fr(o._readableStreamController,t)}}))}function i(e){const r=n.iterator;let o;try{o=ue(r,\"return\")}catch(e){return d(e)}if(void 0===o)return c(void 0);return _(g(o,r,[e]),(e=>{if(!t(e))throw new TypeError(\"The promise returned by the iterator.return() method must fulfill with an object\")}))}return o=Cr(e,a,i,0),o}(r);var o}function gr(e,t,r){return F(e,r),r=>g(e,t,[r])}function vr(e,t,r){return F(e,r),r=>g(e,t,[r])}function wr(e,t,r){return F(e,r),r=>S(e,t,[r])}function Rr(e,t){if(\"bytes\"!==(e=`${e}`))throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function Tr(e,t){L(e,t);const r=null==e?void 0:e.preventAbort,o=null==e?void 0:e.preventCancel,n=null==e?void 0:e.preventClose,a=null==e?void 0:e.signal;return void 0!==a&&function(e,t){if(!function(e){if(\"object\"!=typeof e||null===e)return!1;try{return\"boolean\"==typeof e.aborted}catch(e){return!1}}(e))throw new TypeError(`${t} is not an AbortSignal.`)}(a,`${t} has member 'signal' that`),{preventAbort:Boolean(r),preventCancel:Boolean(o),preventClose:Boolean(n),signal:a}}Object.defineProperties(ReadableStreamDefaultController.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),o(ReadableStreamDefaultController.prototype.close,\"close\"),o(ReadableStreamDefaultController.prototype.enqueue,\"enqueue\"),o(ReadableStreamDefaultController.prototype.error,\"error\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(ReadableStreamDefaultController.prototype,Symbol.toStringTag,{value:\"ReadableStreamDefaultController\",configurable:!0});class ReadableStream{constructor(e={},t={}){void 0===e?e=null:I(e,\"First parameter\");const r=ct(t,\"Second parameter\"),o=function(e,t){L(e,t);const r=e,o=null==r?void 0:r.autoAllocateChunkSize,n=null==r?void 0:r.cancel,a=null==r?void 0:r.pull,i=null==r?void 0:r.start,l=null==r?void 0:r.type;return{autoAllocateChunkSize:void 0===o?void 0:Q(o,`${t} has member 'autoAllocateChunkSize' that`),cancel:void 0===n?void 0:gr(n,r,`${t} has member 'cancel' that`),pull:void 0===a?void 0:vr(a,r,`${t} has member 'pull' that`),start:void 0===i?void 0:wr(i,r,`${t} has member 'start' that`),type:void 0===l?void 0:Rr(l,`${t} has member 'type' that`)}}(e,\"First parameter\");if(qr(this),\"bytes\"===o.type){if(void 0!==r.size)throw new RangeError(\"The strategy for a byte stream cannot have a size function\");!function(e,t,r){const o=Object.create(ReadableByteStreamController.prototype);let n,a,i;n=void 0!==t.start?()=>t.start(o):()=>{},a=void 0!==t.pull?()=>t.pull(o):()=>c(void 0),i=void 0!==t.cancel?e=>t.cancel(e):()=>c(void 0);const l=t.autoAllocateChunkSize;if(0===l)throw new TypeError(\"autoAllocateChunkSize must be greater than 0\");Xe(e,o,n,a,i,r,l)}(this,o,st(r,0))}else{const e=ut(r);!function(e,t,r,o){const n=Object.create(ReadableStreamDefaultController.prototype);let a,i,l;a=void 0!==t.start?()=>t.start(n):()=>{},i=void 0!==t.pull?()=>t.pull(n):()=>c(void 0),l=void 0!==t.cancel?e=>t.cancel(e):()=>c(void 0),_r(e,n,a,i,l,r,o)}(this,o,st(r,1),e)}}get locked(){if(!Er(this))throw jr(\"locked\");return Wr(this)}cancel(e=void 0){return Er(this)?Wr(this)?d(new TypeError(\"Cannot cancel a stream that already has a reader\")):Or(this,e):d(jr(\"cancel\"))}getReader(e=void 0){if(!Er(this))throw jr(\"getReader\");return void 0===function(e,t){L(e,t);const r=null==e?void 0:e.mode;return{mode:void 0===r?void 0:Ze(r,`${t} has member 'mode' that`)}}(e,\"First parameter\").mode?H(this):et(this)}pipeThrough(e,t={}){if(!Er(this))throw jr(\"pipeThrough\");$(e,1,\"pipeThrough\");const r=function(e,t){L(e,t);const r=null==e?void 0:e.readable;M(r,\"readable\",\"ReadableWritablePair\"),N(r,`${t} has member 'readable' that`);const o=null==e?void 0:e.writable;return M(o,\"writable\",\"ReadableWritablePair\"),_t(o,`${t} has member 'writable' that`),{readable:r,writable:o}}(e,\"First parameter\"),o=Tr(t,\"Second parameter\");if(Wr(this))throw new TypeError(\"ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream\");if(vt(r.writable))throw new TypeError(\"ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream\");return p(ir(this,r.writable,o.preventClose,o.preventAbort,o.preventCancel,o.signal)),r.readable}pipeTo(e,t={}){if(!Er(this))return d(jr(\"pipeTo\"));if(void 0===e)return d(\"Parameter 1 is required in 'pipeTo'.\");if(!gt(e))return d(new TypeError(\"ReadableStream.prototype.pipeTo's first argument must be a WritableStream\"));let r;try{r=Tr(t,\"Second parameter\")}catch(e){return d(e)}return Wr(this)?d(new TypeError(\"ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream\")):vt(e)?d(new TypeError(\"ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream\")):ir(this,e,r.preventClose,r.preventAbort,r.preventCancel,r.signal)}tee(){if(!Er(this))throw jr(\"tee\");return ne(yr(this))}values(e=void 0){if(!Er(this))throw jr(\"values\");return function(e,t){const r=H(e),o=new he(r,t),n=Object.create(me);return n._asyncIteratorImpl=o,n}(this,function(e,t){L(e,t);const r=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(r)}}(e,\"First parameter\").preventCancel)}[de](e){return this.values(e)}static from(e){return Sr(e)}}function Cr(e,t,r,o=1,n=(()=>1)){const a=Object.create(ReadableStream.prototype);qr(a);return _r(a,Object.create(ReadableStreamDefaultController.prototype),e,t,r,o,n),a}function Pr(e,t,r){const o=Object.create(ReadableStream.prototype);qr(o);return Xe(o,Object.create(ReadableByteStreamController.prototype),e,t,r,0,void 0),o}function qr(e){e._state=\"readable\",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Er(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_readableStreamController\")&&e instanceof ReadableStream)}function Wr(e){return void 0!==e._reader}function Or(t,r){if(t._disturbed=!0,\"closed\"===t._state)return c(void 0);if(\"errored\"===t._state)return d(t._storedError);Br(t);const o=t._reader;if(void 0!==o&&nt(o)){const e=o._readIntoRequests;o._readIntoRequests=new v,e.forEach((e=>{e._closeSteps(void 0)}))}return _(t._readableStreamController[T](r),e)}function Br(e){e._state=\"closed\";const t=e._reader;if(void 0!==t&&(A(t),J(t))){const e=t._readRequests;t._readRequests=new v,e.forEach((e=>{e._closeSteps()}))}}function kr(e,t){e._state=\"errored\",e._storedError=t;const r=e._reader;void 0!==r&&(j(r,t),J(r)?Z(r,t):it(r,t))}function jr(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function Ar(e,t){L(e,t);const r=null==e?void 0:e.highWaterMark;return M(r,\"highWaterMark\",\"QueuingStrategyInit\"),{highWaterMark:Y(r)}}Object.defineProperties(ReadableStream,{from:{enumerable:!0}}),Object.defineProperties(ReadableStream.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),o(ReadableStream.from,\"from\"),o(ReadableStream.prototype.cancel,\"cancel\"),o(ReadableStream.prototype.getReader,\"getReader\"),o(ReadableStream.prototype.pipeThrough,\"pipeThrough\"),o(ReadableStream.prototype.pipeTo,\"pipeTo\"),o(ReadableStream.prototype.tee,\"tee\"),o(ReadableStream.prototype.values,\"values\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(ReadableStream.prototype,Symbol.toStringTag,{value:\"ReadableStream\",configurable:!0}),Object.defineProperty(ReadableStream.prototype,de,{value:ReadableStream.prototype.values,writable:!0,configurable:!0});const zr=e=>e.byteLength;o(zr,\"size\");class ByteLengthQueuingStrategy{constructor(e){$(e,1,\"ByteLengthQueuingStrategy\"),e=Ar(e,\"First parameter\"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!Lr(this))throw Dr(\"highWaterMark\");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Lr(this))throw Dr(\"size\");return zr}}function Dr(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function Lr(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_byteLengthQueuingStrategyHighWaterMark\")&&e instanceof ByteLengthQueuingStrategy)}Object.defineProperties(ByteLengthQueuingStrategy.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(ByteLengthQueuingStrategy.prototype,Symbol.toStringTag,{value:\"ByteLengthQueuingStrategy\",configurable:!0});const Fr=()=>1;o(Fr,\"size\");class CountQueuingStrategy{constructor(e){$(e,1,\"CountQueuingStrategy\"),e=Ar(e,\"First parameter\"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!$r(this))throw Ir(\"highWaterMark\");return this._countQueuingStrategyHighWaterMark}get size(){if(!$r(this))throw Ir(\"size\");return Fr}}function Ir(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function $r(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_countQueuingStrategyHighWaterMark\")&&e instanceof CountQueuingStrategy)}function Mr(e,t,r){return F(e,r),r=>g(e,t,[r])}function Yr(e,t,r){return F(e,r),r=>S(e,t,[r])}function xr(e,t,r){return F(e,r),(r,o)=>g(e,t,[r,o])}function Qr(e,t,r){return F(e,r),r=>g(e,t,[r])}Object.defineProperties(CountQueuingStrategy.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(CountQueuingStrategy.prototype,Symbol.toStringTag,{value:\"CountQueuingStrategy\",configurable:!0});class TransformStream{constructor(e={},t={},r={}){void 0===e&&(e=null);const o=ct(t,\"Second parameter\"),n=ct(r,\"Third parameter\"),a=function(e,t){L(e,t);const r=null==e?void 0:e.cancel,o=null==e?void 0:e.flush,n=null==e?void 0:e.readableType,a=null==e?void 0:e.start,i=null==e?void 0:e.transform,l=null==e?void 0:e.writableType;return{cancel:void 0===r?void 0:Qr(r,e,`${t} has member 'cancel' that`),flush:void 0===o?void 0:Mr(o,e,`${t} has member 'flush' that`),readableType:n,start:void 0===a?void 0:Yr(a,e,`${t} has member 'start' that`),transform:void 0===i?void 0:xr(i,e,`${t} has member 'transform' that`),writableType:l}}(e,\"First parameter\");if(void 0!==a.readableType)throw new RangeError(\"Invalid readableType specified\");if(void 0!==a.writableType)throw new RangeError(\"Invalid writableType specified\");const i=st(n,0),l=ut(n),s=st(o,1),f=ut(o);let h;!function(e,t,r,o,n,a){function i(){return t}function l(t){return function(e,t){const r=e._transformStreamController;if(e._backpressure){return _(e._backpressureChangePromise,(()=>{const o=e._writable;if(\"erroring\"===o._state)throw o._storedError;return Zr(r,t)}))}return Zr(r,t)}(e,t)}function s(t){return function(e,t){const r=e._transformStreamController;if(void 0!==r._finishPromise)return r._finishPromise;const o=e._readable;r._finishPromise=u(((e,t)=>{r._finishPromise_resolve=e,r._finishPromise_reject=t}));const n=r._cancelAlgorithm(t);return Jr(r),b(n,(()=>(\"errored\"===o._state?ro(r,o._storedError):(br(o._readableStreamController,t),to(r)),null)),(e=>(br(o._readableStreamController,e),ro(r,e),null))),r._finishPromise}(e,t)}function c(){return function(e){const t=e._transformStreamController;if(void 0!==t._finishPromise)return t._finishPromise;const r=e._readable;t._finishPromise=u(((e,r)=>{t._finishPromise_resolve=e,t._finishPromise_reject=r}));const o=t._flushAlgorithm();return Jr(t),b(o,(()=>(\"errored\"===r._state?ro(t,r._storedError):(dr(r._readableStreamController),to(t)),null)),(e=>(br(r._readableStreamController,e),ro(t,e),null))),t._finishPromise}(e)}function d(){return function(e){return Gr(e,!1),e._backpressureChangePromise}(e)}function f(t){return function(e,t){const r=e._transformStreamController;if(void 0!==r._finishPromise)return r._finishPromise;const o=e._writable;r._finishPromise=u(((e,t)=>{r._finishPromise_resolve=e,r._finishPromise_reject=t}));const n=r._cancelAlgorithm(t);return Jr(r),b(n,(()=>(\"errored\"===o._state?ro(r,o._storedError):(Yt(o._writableStreamController,t),Ur(e),to(r)),null)),(t=>(Yt(o._writableStreamController,t),Ur(e),ro(r,t),null))),r._finishPromise}(e,t)}e._writable=function(e,t,r,o,n=1,a=(()=>1)){const i=Object.create(WritableStream.prototype);return St(i),Ft(i,Object.create(WritableStreamDefaultController.prototype),e,t,r,o,n,a),i}(i,l,c,s,r,o),e._readable=Cr(i,d,f,n,a),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Gr(e,!0),e._transformStreamController=void 0}(this,u((e=>{h=e})),s,f,i,l),function(e,t){const r=Object.create(TransformStreamDefaultController.prototype);let o,n,a;o=void 0!==t.transform?e=>t.transform(e,r):e=>{try{return Kr(r,e),c(void 0)}catch(e){return d(e)}};n=void 0!==t.flush?()=>t.flush(r):()=>c(void 0);a=void 0!==t.cancel?e=>t.cancel(e):()=>c(void 0);!function(e,t,r,o,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=o,t._cancelAlgorithm=n,t._finishPromise=void 0,t._finishPromise_resolve=void 0,t._finishPromise_reject=void 0}(e,r,o,n,a)}(this,a),void 0!==a.start?h(a.start(this._transformStreamController)):h(void 0)}get readable(){if(!Nr(this))throw oo(\"readable\");return this._readable}get writable(){if(!Nr(this))throw oo(\"writable\");return this._writable}}function Nr(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_transformStreamController\")&&e instanceof TransformStream)}function Hr(e,t){br(e._readable._readableStreamController,t),Vr(e,t)}function Vr(e,t){Jr(e._transformStreamController),Yt(e._writable._writableStreamController,t),Ur(e)}function Ur(e){e._backpressure&&Gr(e,!1)}function Gr(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=u((t=>{e._backpressureChangePromise_resolve=t})),e._backpressure=t}Object.defineProperties(TransformStream.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(TransformStream.prototype,Symbol.toStringTag,{value:\"TransformStream\",configurable:!0});class TransformStreamDefaultController{constructor(){throw new TypeError(\"Illegal constructor\")}get desiredSize(){if(!Xr(this))throw eo(\"desiredSize\");return hr(this._controlledTransformStream._readable._readableStreamController)}enqueue(e=void 0){if(!Xr(this))throw eo(\"enqueue\");Kr(this,e)}error(e=void 0){if(!Xr(this))throw eo(\"error\");var t;t=e,Hr(this._controlledTransformStream,t)}terminate(){if(!Xr(this))throw eo(\"terminate\");!function(e){const t=e._controlledTransformStream;dr(t._readable._readableStreamController);const r=new TypeError(\"TransformStream terminated\");Vr(t,r)}(this)}}function Xr(e){return!!t(e)&&(!!Object.prototype.hasOwnProperty.call(e,\"_controlledTransformStream\")&&e instanceof TransformStreamDefaultController)}function Jr(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0,e._cancelAlgorithm=void 0}function Kr(e,t){const r=e._controlledTransformStream,o=r._readable._readableStreamController;if(!mr(o))throw new TypeError(\"Readable side is not in a state that permits enqueue\");try{fr(o,t)}catch(e){throw Vr(r,e),r._readable._storedError}const n=function(e){return!ur(e)}(o);n!==r._backpressure&&Gr(r,!0)}function Zr(e,t){return _(e._transformAlgorithm(t),void 0,(t=>{throw Hr(e._controlledTransformStream,t),t}))}function eo(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function to(e){void 0!==e._finishPromise_resolve&&(e._finishPromise_resolve(),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function ro(e,t){void 0!==e._finishPromise_reject&&(p(e._finishPromise),e._finishPromise_reject(t),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function oo(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}Object.defineProperties(TransformStreamDefaultController.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),o(TransformStreamDefaultController.prototype.enqueue,\"enqueue\"),o(TransformStreamDefaultController.prototype.error,\"error\"),o(TransformStreamDefaultController.prototype.terminate,\"terminate\"),\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(TransformStreamDefaultController.prototype,Symbol.toStringTag,{value:\"TransformStreamDefaultController\",configurable:!0});export{ByteLengthQueuingStrategy,CountQueuingStrategy,ReadableByteStreamController,ReadableStream,ReadableStreamBYOBReader,ReadableStreamBYOBRequest,ReadableStreamDefaultController,ReadableStreamDefaultReader,TransformStream,TransformStreamDefaultController,WritableStream,WritableStreamDefaultController,WritableStreamDefaultWriter};\n","'use strict'\n\nlet fastNow = Date.now()\nlet fastNowTimeout\n\nconst fastTimers = []\n\nfunction onTimeout () {\n fastNow = Date.now()\n\n let len = fastTimers.length\n let idx = 0\n while (idx < len) {\n const timer = fastTimers[idx]\n\n if (timer.state === 0) {\n timer.state = fastNow + timer.delay\n } else if (timer.state > 0 && fastNow >= timer.state) {\n timer.state = -1\n timer.callback(timer.opaque)\n }\n\n if (timer.state === -1) {\n timer.state = -2\n if (idx !== len - 1) {\n fastTimers[idx] = fastTimers.pop()\n } else {\n fastTimers.pop()\n }\n len -= 1\n } else {\n idx += 1\n }\n }\n\n if (fastTimers.length > 0) {\n refreshTimeout()\n }\n}\n\nfunction refreshTimeout () {\n if (fastNowTimeout && fastNowTimeout.refresh) {\n fastNowTimeout.refresh()\n } else {\n clearTimeout(fastNowTimeout)\n fastNowTimeout = setTimeout(onTimeout, 1e3)\n if (fastNowTimeout.unref) {\n fastNowTimeout.unref()\n }\n }\n}\n\nclass Timeout {\n constructor (callback, delay, opaque) {\n this.callback = callback\n this.delay = delay\n this.opaque = opaque\n\n // -2 not in timer list\n // -1 in timer list but inactive\n // 0 in timer list waiting for time\n // > 0 in timer list waiting for time to expire\n this.state = -2\n\n this.refresh()\n }\n\n refresh () {\n if (this.state === -2) {\n fastTimers.push(this)\n if (!fastNowTimeout || fastTimers.length === 1) {\n refreshTimeout()\n }\n }\n\n this.state = 0\n }\n\n clear () {\n this.state = -1\n }\n}\n\nmodule.exports = {\n setTimeout (callback, delay, opaque) {\n return delay < 1e3\n ? setTimeout(callback, delay, opaque)\n : new Timeout(callback, delay, opaque)\n },\n clearTimeout (timeout) {\n if (timeout instanceof Timeout) {\n timeout.clear()\n } else {\n clearTimeout(timeout)\n }\n }\n}\n","'use strict'\n\nconst {\n InvalidArgumentError,\n NotSupportedError\n} = require('./errors')\nconst assert = require('assert')\nconst { kHTTP2BuildRequest, kHTTP2CopyHeaders, kHTTP1BuildRequest } = require('./symbols')\nconst util = require('./util')\n\n// tokenRegExp and headerCharRegex have been lifted from\n// https://github.com/nodejs/node/blob/main/lib/_http_common.js\n\n/**\n * Verifies that the given val is a valid HTTP token\n * per the rules defined in RFC 7230\n * See https://tools.ietf.org/html/rfc7230#section-3.2.6\n */\nconst tokenRegExp = /^[\\^_`a-zA-Z\\-0-9!#$%&'*+.|~]+$/\n\n/**\n * Matches if val contains an invalid field-vchar\n * field-value = *( field-content / obs-fold )\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n */\nconst headerCharRegex = /[^\\t\\x20-\\x7e\\x80-\\xff]/\n\n// Verifies that a given path is valid does not contain control chars \\x00 to \\x20\nconst invalidPathRegex = /[^\\u0021-\\u00ff]/\n\nconst kHandler = Symbol('handler')\n\nconst channels = {}\n\nlet extractBody\n\ntry {\n const diagnosticsChannel = require('diagnostics_channel')\n channels.create = diagnosticsChannel.channel('undici:request:create')\n channels.bodySent = diagnosticsChannel.channel('undici:request:bodySent')\n channels.headers = diagnosticsChannel.channel('undici:request:headers')\n channels.trailers = diagnosticsChannel.channel('undici:request:trailers')\n channels.error = diagnosticsChannel.channel('undici:request:error')\n} catch {\n channels.create = { hasSubscribers: false }\n channels.bodySent = { hasSubscribers: false }\n channels.headers = { hasSubscribers: false }\n channels.trailers = { hasSubscribers: false }\n channels.error = { hasSubscribers: false }\n}\n\nclass Request {\n constructor (origin, {\n path,\n method,\n body,\n headers,\n query,\n idempotent,\n blocking,\n upgrade,\n headersTimeout,\n bodyTimeout,\n reset,\n throwOnError,\n expectContinue\n }, handler) {\n if (typeof path !== 'string') {\n throw new InvalidArgumentError('path must be a string')\n } else if (\n path[0] !== '/' &&\n !(path.startsWith('http://') || path.startsWith('https://')) &&\n method !== 'CONNECT'\n ) {\n throw new InvalidArgumentError('path must be an absolute URL or start with a slash')\n } else if (invalidPathRegex.exec(path) !== null) {\n throw new InvalidArgumentError('invalid request path')\n }\n\n if (typeof method !== 'string') {\n throw new InvalidArgumentError('method must be a string')\n } else if (tokenRegExp.exec(method) === null) {\n throw new InvalidArgumentError('invalid request method')\n }\n\n if (upgrade && typeof upgrade !== 'string') {\n throw new InvalidArgumentError('upgrade must be a string')\n }\n\n if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('invalid headersTimeout')\n }\n\n if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('invalid bodyTimeout')\n }\n\n if (reset != null && typeof reset !== 'boolean') {\n throw new InvalidArgumentError('invalid reset')\n }\n\n if (expectContinue != null && typeof expectContinue !== 'boolean') {\n throw new InvalidArgumentError('invalid expectContinue')\n }\n\n this.headersTimeout = headersTimeout\n\n this.bodyTimeout = bodyTimeout\n\n this.throwOnError = throwOnError === true\n\n this.method = method\n\n this.abort = null\n\n if (body == null) {\n this.body = null\n } else if (util.isStream(body)) {\n this.body = body\n\n const rState = this.body._readableState\n if (!rState || !rState.autoDestroy) {\n this.endHandler = function autoDestroy () {\n util.destroy(this)\n }\n this.body.on('end', this.endHandler)\n }\n\n this.errorHandler = err => {\n if (this.abort) {\n this.abort(err)\n } else {\n this.error = err\n }\n }\n this.body.on('error', this.errorHandler)\n } else if (util.isBuffer(body)) {\n this.body = body.byteLength ? body : null\n } else if (ArrayBuffer.isView(body)) {\n this.body = body.buffer.byteLength ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : null\n } else if (body instanceof ArrayBuffer) {\n this.body = body.byteLength ? Buffer.from(body) : null\n } else if (typeof body === 'string') {\n this.body = body.length ? Buffer.from(body) : null\n } else if (util.isFormDataLike(body) || util.isIterable(body) || util.isBlobLike(body)) {\n this.body = body\n } else {\n throw new InvalidArgumentError('body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable')\n }\n\n this.completed = false\n\n this.aborted = false\n\n this.upgrade = upgrade || null\n\n this.path = query ? util.buildURL(path, query) : path\n\n this.origin = origin\n\n this.idempotent = idempotent == null\n ? method === 'HEAD' || method === 'GET'\n : idempotent\n\n this.blocking = blocking == null ? false : blocking\n\n this.reset = reset == null ? null : reset\n\n this.host = null\n\n this.contentLength = null\n\n this.contentType = null\n\n this.headers = ''\n\n // Only for H2\n this.expectContinue = expectContinue != null ? expectContinue : false\n\n if (Array.isArray(headers)) {\n if (headers.length % 2 !== 0) {\n throw new InvalidArgumentError('headers array must be even')\n }\n for (let i = 0; i < headers.length; i += 2) {\n processHeader(this, headers[i], headers[i + 1])\n }\n } else if (headers && typeof headers === 'object') {\n const keys = Object.keys(headers)\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i]\n processHeader(this, key, headers[key])\n }\n } else if (headers != null) {\n throw new InvalidArgumentError('headers must be an object or an array')\n }\n\n if (util.isFormDataLike(this.body)) {\n if (util.nodeMajor < 16 || (util.nodeMajor === 16 && util.nodeMinor < 8)) {\n throw new InvalidArgumentError('Form-Data bodies are only supported in node v16.8 and newer.')\n }\n\n if (!extractBody) {\n extractBody = require('../fetch/body.js').extractBody\n }\n\n const [bodyStream, contentType] = extractBody(body)\n if (this.contentType == null) {\n this.contentType = contentType\n this.headers += `content-type: ${contentType}\\r\\n`\n }\n this.body = bodyStream.stream\n this.contentLength = bodyStream.length\n } else if (util.isBlobLike(body) && this.contentType == null && body.type) {\n this.contentType = body.type\n this.headers += `content-type: ${body.type}\\r\\n`\n }\n\n util.validateHandler(handler, method, upgrade)\n\n this.servername = util.getServerName(this.host)\n\n this[kHandler] = handler\n\n if (channels.create.hasSubscribers) {\n channels.create.publish({ request: this })\n }\n }\n\n onBodySent (chunk) {\n if (this[kHandler].onBodySent) {\n try {\n return this[kHandler].onBodySent(chunk)\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onRequestSent () {\n if (channels.bodySent.hasSubscribers) {\n channels.bodySent.publish({ request: this })\n }\n\n if (this[kHandler].onRequestSent) {\n try {\n return this[kHandler].onRequestSent()\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onConnect (abort) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (this.error) {\n abort(this.error)\n } else {\n this.abort = abort\n return this[kHandler].onConnect(abort)\n }\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (channels.headers.hasSubscribers) {\n channels.headers.publish({ request: this, response: { statusCode, headers, statusText } })\n }\n\n try {\n return this[kHandler].onHeaders(statusCode, headers, resume, statusText)\n } catch (err) {\n this.abort(err)\n }\n }\n\n onData (chunk) {\n assert(!this.aborted)\n assert(!this.completed)\n\n try {\n return this[kHandler].onData(chunk)\n } catch (err) {\n this.abort(err)\n return false\n }\n }\n\n onUpgrade (statusCode, headers, socket) {\n assert(!this.aborted)\n assert(!this.completed)\n\n return this[kHandler].onUpgrade(statusCode, headers, socket)\n }\n\n onComplete (trailers) {\n this.onFinally()\n\n assert(!this.aborted)\n\n this.completed = true\n if (channels.trailers.hasSubscribers) {\n channels.trailers.publish({ request: this, trailers })\n }\n\n try {\n return this[kHandler].onComplete(trailers)\n } catch (err) {\n // TODO (fix): This might be a bad idea?\n this.onError(err)\n }\n }\n\n onError (error) {\n this.onFinally()\n\n if (channels.error.hasSubscribers) {\n channels.error.publish({ request: this, error })\n }\n\n if (this.aborted) {\n return\n }\n this.aborted = true\n\n return this[kHandler].onError(error)\n }\n\n onFinally () {\n if (this.errorHandler) {\n this.body.off('error', this.errorHandler)\n this.errorHandler = null\n }\n\n if (this.endHandler) {\n this.body.off('end', this.endHandler)\n this.endHandler = null\n }\n }\n\n // TODO: adjust to support H2\n addHeader (key, value) {\n processHeader(this, key, value)\n return this\n }\n\n static [kHTTP1BuildRequest] (origin, opts, handler) {\n // TODO: Migrate header parsing here, to make Requests\n // HTTP agnostic\n return new Request(origin, opts, handler)\n }\n\n static [kHTTP2BuildRequest] (origin, opts, handler) {\n const headers = opts.headers\n opts = { ...opts, headers: null }\n\n const request = new Request(origin, opts, handler)\n\n request.headers = {}\n\n if (Array.isArray(headers)) {\n if (headers.length % 2 !== 0) {\n throw new InvalidArgumentError('headers array must be even')\n }\n for (let i = 0; i < headers.length; i += 2) {\n processHeader(request, headers[i], headers[i + 1], true)\n }\n } else if (headers && typeof headers === 'object') {\n const keys = Object.keys(headers)\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i]\n processHeader(request, key, headers[key], true)\n }\n } else if (headers != null) {\n throw new InvalidArgumentError('headers must be an object or an array')\n }\n\n return request\n }\n\n static [kHTTP2CopyHeaders] (raw) {\n const rawHeaders = raw.split('\\r\\n')\n const headers = {}\n\n for (const header of rawHeaders) {\n const [key, value] = header.split(': ')\n\n if (value == null || value.length === 0) continue\n\n if (headers[key]) headers[key] += `,${value}`\n else headers[key] = value\n }\n\n return headers\n }\n}\n\nfunction processHeaderValue (key, val, skipAppend) {\n if (val && typeof val === 'object') {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n\n val = val != null ? `${val}` : ''\n\n if (headerCharRegex.exec(val) !== null) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n\n return skipAppend ? val : `${key}: ${val}\\r\\n`\n}\n\nfunction processHeader (request, key, val, skipAppend = false) {\n if (val && (typeof val === 'object' && !Array.isArray(val))) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n } else if (val === undefined) {\n return\n }\n\n if (\n request.host === null &&\n key.length === 4 &&\n key.toLowerCase() === 'host'\n ) {\n if (headerCharRegex.exec(val) !== null) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n // Consumed by Client\n request.host = val\n } else if (\n request.contentLength === null &&\n key.length === 14 &&\n key.toLowerCase() === 'content-length'\n ) {\n request.contentLength = parseInt(val, 10)\n if (!Number.isFinite(request.contentLength)) {\n throw new InvalidArgumentError('invalid content-length header')\n }\n } else if (\n request.contentType === null &&\n key.length === 12 &&\n key.toLowerCase() === 'content-type'\n ) {\n request.contentType = val\n if (skipAppend) request.headers[key] = processHeaderValue(key, val, skipAppend)\n else request.headers += processHeaderValue(key, val)\n } else if (\n key.length === 17 &&\n key.toLowerCase() === 'transfer-encoding'\n ) {\n throw new InvalidArgumentError('invalid transfer-encoding header')\n } else if (\n key.length === 10 &&\n key.toLowerCase() === 'connection'\n ) {\n const value = typeof val === 'string' ? val.toLowerCase() : null\n if (value !== 'close' && value !== 'keep-alive') {\n throw new InvalidArgumentError('invalid connection header')\n } else if (value === 'close') {\n request.reset = true\n }\n } else if (\n key.length === 10 &&\n key.toLowerCase() === 'keep-alive'\n ) {\n throw new InvalidArgumentError('invalid keep-alive header')\n } else if (\n key.length === 7 &&\n key.toLowerCase() === 'upgrade'\n ) {\n throw new InvalidArgumentError('invalid upgrade header')\n } else if (\n key.length === 6 &&\n key.toLowerCase() === 'expect'\n ) {\n throw new NotSupportedError('expect header not supported')\n } else if (tokenRegExp.exec(key) === null) {\n throw new InvalidArgumentError('invalid header key')\n } else {\n if (Array.isArray(val)) {\n for (let i = 0; i < val.length; i++) {\n if (skipAppend) {\n if (request.headers[key]) request.headers[key] += `,${processHeaderValue(key, val[i], skipAppend)}`\n else request.headers[key] = processHeaderValue(key, val[i], skipAppend)\n } else {\n request.headers += processHeaderValue(key, val[i])\n }\n }\n } else {\n if (skipAppend) request.headers[key] = processHeaderValue(key, val, skipAppend)\n else request.headers += processHeaderValue(key, val)\n }\n }\n}\n\nmodule.exports = Request\n","'use strict';\n\nconst util = require('util');\n\n// Port from node core lib/internal/errors.js\nclass ERR_INVALID_ARG_TYPE extends TypeError {\n constructor(message, actual) {\n super();\n\n if (actual == null) {\n message += `. Received ${actual}`;\n } else if (typeof actual === 'function' && actual.name) {\n message += `. Received function ${actual.name}`;\n } else if (typeof actual === 'object') {\n if (actual.constructor && actual.constructor.name) {\n message += `. Received an instance of ${actual.constructor.name}`;\n } else {\n const inspected = util.inspect(actual, { depth: -1 });\n message += `. Received ${inspected}`;\n }\n } else {\n let inspected = util.inspect(actual, { colors: false });\n if (inspected.length > 25) {\n inspected = `${inspected.slice(0, 25)}...`;\n }\n message += `. Received type ${typeof actual} (${inspected})`;\n }\n\n this.code = this.constructor.name;\n\n Object.defineProperties(this, {\n message: {\n value: message,\n enumerable: false,\n writable: true,\n configurable: true,\n },\n toString: {\n value() {\n return `${this.name} [${this.code}]: ${this.message}`;\n },\n enumerable: false,\n writable: true,\n configurable: true,\n },\n });\n }\n}\n\nclass ActiveChannel {\n subscribe(subscription) {\n if (typeof subscription !== 'function') {\n throw new ERR_INVALID_ARG_TYPE('The \"subscription\" argument must be of type function', subscription);\n }\n this._subscribers.push(subscription);\n }\n\n unsubscribe(subscription) {\n const index = this._subscribers.indexOf(subscription);\n if (index === -1) return false;\n\n this._subscribers.splice(index, 1);\n\n // When there are no more active subscribers, restore to fast prototype.\n if (!this._subscribers.length) {\n // eslint-disable-next-line no-use-before-define\n Object.setPrototypeOf(this, Channel.prototype);\n }\n\n return true;\n }\n\n get hasSubscribers() {\n return true;\n }\n\n publish(data) {\n for (let i = 0; i < this._subscribers.length; i++) {\n try {\n const onMessage = this._subscribers[i];\n onMessage(data, this.name);\n } catch (err) {\n process.nextTick(() => {\n throw err;\n });\n }\n }\n }\n}\n\nclass Channel {\n constructor(name) {\n this._subscribers = undefined;\n this.name = name;\n }\n\n static [Symbol.hasInstance](instance) {\n const prototype = Object.getPrototypeOf(instance);\n return prototype === Channel.prototype ||\n prototype === ActiveChannel.prototype;\n }\n\n subscribe(subscription) {\n Object.setPrototypeOf(this, ActiveChannel.prototype);\n this._subscribers = [];\n this.subscribe(subscription);\n }\n\n unsubscribe() {\n return false;\n }\n\n get hasSubscribers() {\n return false;\n }\n\n publish() {}\n}\n\nconst channels = {};\n\nfunction channel(name) {\n const channel = channels[name];\n if (channel) return channel;\n\n if (typeof name !== 'string' && typeof name !== 'symbol') {\n throw new ERR_INVALID_ARG_TYPE('The \"channel\" argument must be one of type string or symbol', name);\n }\n\n return channels[name] = new Channel(name);\n}\n\nfunction hasSubscribers(name) {\n const channel = channels[name];\n if (!channel) {\n return false;\n }\n\n return channel.hasSubscribers;\n}\n\nfunction deleteChannel(name) {\n if (channels[name]) {\n channels[name] = null;\n return true;\n }\n\n return false;\n}\n\nmodule.exports = {\n channel,\n hasSubscribers,\n Channel,\n deleteChannel\n};\n","'use strict'\n\nconst Busboy = require('@fastify/busboy')\nconst util = require('../core/util')\nconst {\n ReadableStreamFrom,\n isBlobLike,\n isReadableStreamLike,\n readableStreamClose,\n createDeferredPromise,\n fullyReadBody\n} = require('./util')\nconst { FormData } = require('./formdata')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { DOMException, structuredClone } = require('./constants')\nconst { Blob, File: NativeFile } = require('buffer')\nconst { kBodyUsed } = require('../core/symbols')\nconst assert = require('assert')\nconst { isErrored } = require('../core/util')\nconst { isUint8Array, isArrayBuffer } = require('util/types')\nconst { File: UndiciFile } = require('./file')\nconst { parseMIMEType, serializeAMimeType } = require('./dataURL')\n\nlet ReadableStream = globalThis.ReadableStream\n\n/** @type {globalThis['File']} */\nconst File = NativeFile ?? UndiciFile\nconst textEncoder = new TextEncoder()\nconst textDecoder = new TextDecoder()\n\n// https://fetch.spec.whatwg.org/#concept-bodyinit-extract\nfunction extractBody (object, keepalive = false) {\n if (!ReadableStream) {\n ReadableStream = require('stream/web').ReadableStream\n }\n\n // 1. Let stream be null.\n let stream = null\n\n // 2. If object is a ReadableStream object, then set stream to object.\n if (object instanceof ReadableStream) {\n stream = object\n } else if (isBlobLike(object)) {\n // 3. Otherwise, if object is a Blob object, set stream to the\n // result of running object’s get stream.\n stream = object.stream()\n } else {\n // 4. Otherwise, set stream to a new ReadableStream object, and set\n // up stream.\n stream = new ReadableStream({\n async pull (controller) {\n controller.enqueue(\n typeof source === 'string' ? textEncoder.encode(source) : source\n )\n queueMicrotask(() => readableStreamClose(controller))\n },\n start () {},\n type: undefined\n })\n }\n\n // 5. Assert: stream is a ReadableStream object.\n assert(isReadableStreamLike(stream))\n\n // 6. Let action be null.\n let action = null\n\n // 7. Let source be null.\n let source = null\n\n // 8. Let length be null.\n let length = null\n\n // 9. Let type be null.\n let type = null\n\n // 10. Switch on object:\n if (typeof object === 'string') {\n // Set source to the UTF-8 encoding of object.\n // Note: setting source to a Uint8Array here breaks some mocking assumptions.\n source = object\n\n // Set type to `text/plain;charset=UTF-8`.\n type = 'text/plain;charset=UTF-8'\n } else if (object instanceof URLSearchParams) {\n // URLSearchParams\n\n // spec says to run application/x-www-form-urlencoded on body.list\n // this is implemented in Node.js as apart of an URLSearchParams instance toString method\n // See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490\n // and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100\n\n // Set source to the result of running the application/x-www-form-urlencoded serializer with object’s list.\n source = object.toString()\n\n // Set type to `application/x-www-form-urlencoded;charset=UTF-8`.\n type = 'application/x-www-form-urlencoded;charset=UTF-8'\n } else if (isArrayBuffer(object)) {\n // BufferSource/ArrayBuffer\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.slice())\n } else if (ArrayBuffer.isView(object)) {\n // BufferSource/ArrayBufferView\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))\n } else if (util.isFormDataLike(object)) {\n const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`\n const prefix = `--${boundary}\\r\\nContent-Disposition: form-data`\n\n /*! formdata-polyfill. MIT License. Jimmy Wärting */\n const escape = (str) =>\n str.replace(/\\n/g, '%0A').replace(/\\r/g, '%0D').replace(/\"/g, '%22')\n const normalizeLinefeeds = (value) => value.replace(/\\r?\\n|\\r/g, '\\r\\n')\n\n // Set action to this step: run the multipart/form-data\n // encoding algorithm, with object’s entry list and UTF-8.\n // - This ensures that the body is immutable and can't be changed afterwords\n // - That the content-length is calculated in advance.\n // - And that all parts are pre-encoded and ready to be sent.\n\n const blobParts = []\n const rn = new Uint8Array([13, 10]) // '\\r\\n'\n length = 0\n let hasUnknownSizeValue = false\n\n for (const [name, value] of object) {\n if (typeof value === 'string') {\n const chunk = textEncoder.encode(prefix +\n `; name=\"${escape(normalizeLinefeeds(name))}\"` +\n `\\r\\n\\r\\n${normalizeLinefeeds(value)}\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n } else {\n const chunk = textEncoder.encode(`${prefix}; name=\"${escape(normalizeLinefeeds(name))}\"` +\n (value.name ? `; filename=\"${escape(value.name)}\"` : '') + '\\r\\n' +\n `Content-Type: ${\n value.type || 'application/octet-stream'\n }\\r\\n\\r\\n`)\n blobParts.push(chunk, value, rn)\n if (typeof value.size === 'number') {\n length += chunk.byteLength + value.size + rn.byteLength\n } else {\n hasUnknownSizeValue = true\n }\n }\n }\n\n const chunk = textEncoder.encode(`--${boundary}--`)\n blobParts.push(chunk)\n length += chunk.byteLength\n if (hasUnknownSizeValue) {\n length = null\n }\n\n // Set source to object.\n source = object\n\n action = async function * () {\n for (const part of blobParts) {\n if (part.stream) {\n yield * part.stream()\n } else {\n yield part\n }\n }\n }\n\n // Set type to `multipart/form-data; boundary=`,\n // followed by the multipart/form-data boundary string generated\n // by the multipart/form-data encoding algorithm.\n type = 'multipart/form-data; boundary=' + boundary\n } else if (isBlobLike(object)) {\n // Blob\n\n // Set source to object.\n source = object\n\n // Set length to object’s size.\n length = object.size\n\n // If object’s type attribute is not the empty byte sequence, set\n // type to its value.\n if (object.type) {\n type = object.type\n }\n } else if (typeof object[Symbol.asyncIterator] === 'function') {\n // If keepalive is true, then throw a TypeError.\n if (keepalive) {\n throw new TypeError('keepalive')\n }\n\n // If object is disturbed or locked, then throw a TypeError.\n if (util.isDisturbed(object) || object.locked) {\n throw new TypeError(\n 'Response body object should not be disturbed or locked'\n )\n }\n\n stream =\n object instanceof ReadableStream ? object : ReadableStreamFrom(object)\n }\n\n // 11. If source is a byte sequence, then set action to a\n // step that returns source and length to source’s length.\n if (typeof source === 'string' || util.isBuffer(source)) {\n length = Buffer.byteLength(source)\n }\n\n // 12. If action is non-null, then run these steps in in parallel:\n if (action != null) {\n // Run action.\n let iterator\n stream = new ReadableStream({\n async start () {\n iterator = action(object)[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { value, done } = await iterator.next()\n if (done) {\n // When running action is done, close stream.\n queueMicrotask(() => {\n controller.close()\n })\n } else {\n // Whenever one or more bytes are available and stream is not errored,\n // enqueue a Uint8Array wrapping an ArrayBuffer containing the available\n // bytes into stream.\n if (!isErrored(stream)) {\n controller.enqueue(new Uint8Array(value))\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: undefined\n })\n }\n\n // 13. Let body be a body whose stream is stream, source is source,\n // and length is length.\n const body = { stream, source, length }\n\n // 14. Return (body, type).\n return [body, type]\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit-safely-extract\nfunction safelyExtractBody (object, keepalive = false) {\n if (!ReadableStream) {\n // istanbul ignore next\n ReadableStream = require('stream/web').ReadableStream\n }\n\n // To safely extract a body and a `Content-Type` value from\n // a byte sequence or BodyInit object object, run these steps:\n\n // 1. If object is a ReadableStream object, then:\n if (object instanceof ReadableStream) {\n // Assert: object is neither disturbed nor locked.\n // istanbul ignore next\n assert(!util.isDisturbed(object), 'The body has already been consumed.')\n // istanbul ignore next\n assert(!object.locked, 'The stream is locked.')\n }\n\n // 2. Return the results of extracting object.\n return extractBody(object, keepalive)\n}\n\nfunction cloneBody (body) {\n // To clone a body body, run these steps:\n\n // https://fetch.spec.whatwg.org/#concept-body-clone\n\n // 1. Let « out1, out2 » be the result of teeing body’s stream.\n const [out1, out2] = body.stream.tee()\n const out2Clone = structuredClone(out2, { transfer: [out2] })\n // This, for whatever reasons, unrefs out2Clone which allows\n // the process to exit by itself.\n const [, finalClone] = out2Clone.tee()\n\n // 2. Set body’s stream to out1.\n body.stream = out1\n\n // 3. Return a body whose stream is out2 and other members are copied from body.\n return {\n stream: finalClone,\n length: body.length,\n source: body.source\n }\n}\n\nasync function * consumeBody (body) {\n if (body) {\n if (isUint8Array(body)) {\n yield body\n } else {\n const stream = body.stream\n\n if (util.isDisturbed(stream)) {\n throw new TypeError('The body has already been consumed.')\n }\n\n if (stream.locked) {\n throw new TypeError('The stream is locked.')\n }\n\n // Compat.\n stream[kBodyUsed] = true\n\n yield * stream\n }\n }\n}\n\nfunction throwIfAborted (state) {\n if (state.aborted) {\n throw new DOMException('The operation was aborted.', 'AbortError')\n }\n}\n\nfunction bodyMixinMethods (instance) {\n const methods = {\n blob () {\n // The blob() method steps are to return the result of\n // running consume body with this and the following step\n // given a byte sequence bytes: return a Blob whose\n // contents are bytes and whose type attribute is this’s\n // MIME type.\n return specConsumeBody(this, (bytes) => {\n let mimeType = bodyMimeType(this)\n\n if (mimeType === 'failure') {\n mimeType = ''\n } else if (mimeType) {\n mimeType = serializeAMimeType(mimeType)\n }\n\n // Return a Blob whose contents are bytes and type attribute\n // is mimeType.\n return new Blob([bytes], { type: mimeType })\n }, instance)\n },\n\n arrayBuffer () {\n // The arrayBuffer() method steps are to return the result\n // of running consume body with this and the following step\n // given a byte sequence bytes: return a new ArrayBuffer\n // whose contents are bytes.\n return specConsumeBody(this, (bytes) => {\n return new Uint8Array(bytes).buffer\n }, instance)\n },\n\n text () {\n // The text() method steps are to return the result of running\n // consume body with this and UTF-8 decode.\n return specConsumeBody(this, utf8DecodeBytes, instance)\n },\n\n json () {\n // The json() method steps are to return the result of running\n // consume body with this and parse JSON from bytes.\n return specConsumeBody(this, parseJSONFromBytes, instance)\n },\n\n async formData () {\n webidl.brandCheck(this, instance)\n\n throwIfAborted(this[kState])\n\n const contentType = this.headers.get('Content-Type')\n\n // If mimeType’s essence is \"multipart/form-data\", then:\n if (/multipart\\/form-data/.test(contentType)) {\n const headers = {}\n for (const [key, value] of this.headers) headers[key.toLowerCase()] = value\n\n const responseFormData = new FormData()\n\n let busboy\n\n try {\n busboy = new Busboy({\n headers,\n preservePath: true\n })\n } catch (err) {\n throw new DOMException(`${err}`, 'AbortError')\n }\n\n busboy.on('field', (name, value) => {\n responseFormData.append(name, value)\n })\n busboy.on('file', (name, value, filename, encoding, mimeType) => {\n const chunks = []\n\n if (encoding === 'base64' || encoding.toLowerCase() === 'base64') {\n let base64chunk = ''\n\n value.on('data', (chunk) => {\n base64chunk += chunk.toString().replace(/[\\r\\n]/gm, '')\n\n const end = base64chunk.length - base64chunk.length % 4\n chunks.push(Buffer.from(base64chunk.slice(0, end), 'base64'))\n\n base64chunk = base64chunk.slice(end)\n })\n value.on('end', () => {\n chunks.push(Buffer.from(base64chunk, 'base64'))\n responseFormData.append(name, new File(chunks, filename, { type: mimeType }))\n })\n } else {\n value.on('data', (chunk) => {\n chunks.push(chunk)\n })\n value.on('end', () => {\n responseFormData.append(name, new File(chunks, filename, { type: mimeType }))\n })\n }\n })\n\n const busboyResolve = new Promise((resolve, reject) => {\n busboy.on('finish', resolve)\n busboy.on('error', (err) => reject(new TypeError(err)))\n })\n\n if (this.body !== null) for await (const chunk of consumeBody(this[kState].body)) busboy.write(chunk)\n busboy.end()\n await busboyResolve\n\n return responseFormData\n } else if (/application\\/x-www-form-urlencoded/.test(contentType)) {\n // Otherwise, if mimeType’s essence is \"application/x-www-form-urlencoded\", then:\n\n // 1. Let entries be the result of parsing bytes.\n let entries\n try {\n let text = ''\n // application/x-www-form-urlencoded parser will keep the BOM.\n // https://url.spec.whatwg.org/#concept-urlencoded-parser\n // Note that streaming decoder is stateful and cannot be reused\n const streamingDecoder = new TextDecoder('utf-8', { ignoreBOM: true })\n\n for await (const chunk of consumeBody(this[kState].body)) {\n if (!isUint8Array(chunk)) {\n throw new TypeError('Expected Uint8Array chunk')\n }\n text += streamingDecoder.decode(chunk, { stream: true })\n }\n text += streamingDecoder.decode()\n entries = new URLSearchParams(text)\n } catch (err) {\n // istanbul ignore next: Unclear when new URLSearchParams can fail on a string.\n // 2. If entries is failure, then throw a TypeError.\n throw Object.assign(new TypeError(), { cause: err })\n }\n\n // 3. Return a new FormData object whose entries are entries.\n const formData = new FormData()\n for (const [name, value] of entries) {\n formData.append(name, value)\n }\n return formData\n } else {\n // Wait a tick before checking if the request has been aborted.\n // Otherwise, a TypeError can be thrown when an AbortError should.\n await Promise.resolve()\n\n throwIfAborted(this[kState])\n\n // Otherwise, throw a TypeError.\n throw webidl.errors.exception({\n header: `${instance.name}.formData`,\n message: 'Could not parse content as FormData.'\n })\n }\n }\n }\n\n return methods\n}\n\nfunction mixinBody (prototype) {\n Object.assign(prototype.prototype, bodyMixinMethods(prototype))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-consume-body\n * @param {Response|Request} object\n * @param {(value: unknown) => unknown} convertBytesToJSValue\n * @param {Response|Request} instance\n */\nasync function specConsumeBody (object, convertBytesToJSValue, instance) {\n webidl.brandCheck(object, instance)\n\n throwIfAborted(object[kState])\n\n // 1. If object is unusable, then return a promise rejected\n // with a TypeError.\n if (bodyUnusable(object[kState].body)) {\n throw new TypeError('Body is unusable')\n }\n\n // 2. Let promise be a new promise.\n const promise = createDeferredPromise()\n\n // 3. Let errorSteps given error be to reject promise with error.\n const errorSteps = (error) => promise.reject(error)\n\n // 4. Let successSteps given a byte sequence data be to resolve\n // promise with the result of running convertBytesToJSValue\n // with data. If that threw an exception, then run errorSteps\n // with that exception.\n const successSteps = (data) => {\n try {\n promise.resolve(convertBytesToJSValue(data))\n } catch (e) {\n errorSteps(e)\n }\n }\n\n // 5. If object’s body is null, then run successSteps with an\n // empty byte sequence.\n if (object[kState].body == null) {\n successSteps(new Uint8Array())\n return promise.promise\n }\n\n // 6. Otherwise, fully read object’s body given successSteps,\n // errorSteps, and object’s relevant global object.\n await fullyReadBody(object[kState].body, successSteps, errorSteps)\n\n // 7. Return promise.\n return promise.promise\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction bodyUnusable (body) {\n // An object including the Body interface mixin is\n // said to be unusable if its body is non-null and\n // its body’s stream is disturbed or locked.\n return body != null && (body.stream.locked || util.isDisturbed(body.stream))\n}\n\n/**\n * @see https://encoding.spec.whatwg.org/#utf-8-decode\n * @param {Buffer} buffer\n */\nfunction utf8DecodeBytes (buffer) {\n if (buffer.length === 0) {\n return ''\n }\n\n // 1. Let buffer be the result of peeking three bytes from\n // ioQueue, converted to a byte sequence.\n\n // 2. If buffer is 0xEF 0xBB 0xBF, then read three\n // bytes from ioQueue. (Do nothing with those bytes.)\n if (buffer[0] === 0xEF && buffer[1] === 0xBB && buffer[2] === 0xBF) {\n buffer = buffer.subarray(3)\n }\n\n // 3. Process a queue with an instance of UTF-8’s\n // decoder, ioQueue, output, and \"replacement\".\n const output = textDecoder.decode(buffer)\n\n // 4. Return output.\n return output\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value\n * @param {Uint8Array} bytes\n */\nfunction parseJSONFromBytes (bytes) {\n return JSON.parse(utf8DecodeBytes(bytes))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-mime-type\n * @param {import('./response').Response|import('./request').Request} object\n */\nfunction bodyMimeType (object) {\n const { headersList } = object[kState]\n const contentType = headersList.get('content-type')\n\n if (contentType === null) {\n return 'failure'\n }\n\n return parseMIMEType(contentType)\n}\n\nmodule.exports = {\n extractBody,\n safelyExtractBody,\n cloneBody,\n mixinBody\n}\n","'use strict'\n\nconst WritableStream = require('node:stream').Writable\nconst { inherits } = require('node:util')\nconst Dicer = require('../deps/dicer/lib/Dicer')\n\nconst MultipartParser = require('./types/multipart')\nconst UrlencodedParser = require('./types/urlencoded')\nconst parseParams = require('./utils/parseParams')\n\nfunction Busboy (opts) {\n if (!(this instanceof Busboy)) { return new Busboy(opts) }\n\n if (typeof opts !== 'object') {\n throw new TypeError('Busboy expected an options-Object.')\n }\n if (typeof opts.headers !== 'object') {\n throw new TypeError('Busboy expected an options-Object with headers-attribute.')\n }\n if (typeof opts.headers['content-type'] !== 'string') {\n throw new TypeError('Missing Content-Type-header.')\n }\n\n const {\n headers,\n ...streamOptions\n } = opts\n\n this.opts = {\n autoDestroy: false,\n ...streamOptions\n }\n WritableStream.call(this, this.opts)\n\n this._done = false\n this._parser = this.getParserByHeaders(headers)\n this._finished = false\n}\ninherits(Busboy, WritableStream)\n\nBusboy.prototype.emit = function (ev) {\n if (ev === 'finish') {\n if (!this._done) {\n this._parser?.end()\n return\n } else if (this._finished) {\n return\n }\n this._finished = true\n }\n WritableStream.prototype.emit.apply(this, arguments)\n}\n\nBusboy.prototype.getParserByHeaders = function (headers) {\n const parsed = parseParams(headers['content-type'])\n\n const cfg = {\n defCharset: this.opts.defCharset,\n fileHwm: this.opts.fileHwm,\n headers,\n highWaterMark: this.opts.highWaterMark,\n isPartAFile: this.opts.isPartAFile,\n limits: this.opts.limits,\n parsedConType: parsed,\n preservePath: this.opts.preservePath\n }\n\n if (MultipartParser.detect.test(parsed[0])) {\n return new MultipartParser(this, cfg)\n }\n if (UrlencodedParser.detect.test(parsed[0])) {\n return new UrlencodedParser(this, cfg)\n }\n throw new Error('Unsupported Content-Type.')\n}\n\nBusboy.prototype._write = function (chunk, encoding, cb) {\n this._parser.write(chunk, cb)\n}\n\nmodule.exports = Busboy\nmodule.exports.default = Busboy\nmodule.exports.Busboy = Busboy\n\nmodule.exports.Dicer = Dicer\n","'use strict'\n\nconst WritableStream = require('node:stream').Writable\nconst inherits = require('node:util').inherits\n\nconst StreamSearch = require('../../streamsearch/sbmh')\n\nconst PartStream = require('./PartStream')\nconst HeaderParser = require('./HeaderParser')\n\nconst DASH = 45\nconst B_ONEDASH = Buffer.from('-')\nconst B_CRLF = Buffer.from('\\r\\n')\nconst EMPTY_FN = function () {}\n\nfunction Dicer (cfg) {\n if (!(this instanceof Dicer)) { return new Dicer(cfg) }\n WritableStream.call(this, cfg)\n\n if (!cfg || (!cfg.headerFirst && typeof cfg.boundary !== 'string')) { throw new TypeError('Boundary required') }\n\n if (typeof cfg.boundary === 'string') { this.setBoundary(cfg.boundary) } else { this._bparser = undefined }\n\n this._headerFirst = cfg.headerFirst\n\n this._dashes = 0\n this._parts = 0\n this._finished = false\n this._realFinish = false\n this._isPreamble = true\n this._justMatched = false\n this._firstWrite = true\n this._inHeader = true\n this._part = undefined\n this._cb = undefined\n this._ignoreData = false\n this._partOpts = { highWaterMark: cfg.partHwm }\n this._pause = false\n\n const self = this\n this._hparser = new HeaderParser(cfg)\n this._hparser.on('header', function (header) {\n self._inHeader = false\n self._part.emit('header', header)\n })\n}\ninherits(Dicer, WritableStream)\n\nDicer.prototype.emit = function (ev) {\n if (ev === 'finish' && !this._realFinish) {\n if (!this._finished) {\n const self = this\n process.nextTick(function () {\n self.emit('error', new Error('Unexpected end of multipart data'))\n if (self._part && !self._ignoreData) {\n const type = (self._isPreamble ? 'Preamble' : 'Part')\n self._part.emit('error', new Error(type + ' terminated early due to unexpected end of multipart data'))\n self._part.push(null)\n process.nextTick(function () {\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n })\n return\n }\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n })\n }\n } else { WritableStream.prototype.emit.apply(this, arguments) }\n}\n\nDicer.prototype._write = function (data, encoding, cb) {\n // ignore unexpected data (e.g. extra trailer data after finished)\n if (!this._hparser && !this._bparser) { return cb() }\n\n if (this._headerFirst && this._isPreamble) {\n if (!this._part) {\n this._part = new PartStream(this._partOpts)\n if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part) } else { this._ignore() }\n }\n const r = this._hparser.push(data)\n if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }\n }\n\n // allows for \"easier\" testing\n if (this._firstWrite) {\n this._bparser.push(B_CRLF)\n this._firstWrite = false\n }\n\n this._bparser.push(data)\n\n if (this._pause) { this._cb = cb } else { cb() }\n}\n\nDicer.prototype.reset = function () {\n this._part = undefined\n this._bparser = undefined\n this._hparser = undefined\n}\n\nDicer.prototype.setBoundary = function (boundary) {\n const self = this\n this._bparser = new StreamSearch('\\r\\n--' + boundary)\n this._bparser.on('info', function (isMatch, data, start, end) {\n self._oninfo(isMatch, data, start, end)\n })\n}\n\nDicer.prototype._ignore = function () {\n if (this._part && !this._ignoreData) {\n this._ignoreData = true\n this._part.on('error', EMPTY_FN)\n // we must perform some kind of read on the stream even though we are\n // ignoring the data, otherwise node's Readable stream will not emit 'end'\n // after pushing null to the stream\n this._part.resume()\n }\n}\n\nDicer.prototype._oninfo = function (isMatch, data, start, end) {\n let buf; const self = this; let i = 0; let r; let shouldWriteMore = true\n\n if (!this._part && this._justMatched && data) {\n while (this._dashes < 2 && (start + i) < end) {\n if (data[start + i] === DASH) {\n ++i\n ++this._dashes\n } else {\n if (this._dashes) { buf = B_ONEDASH }\n this._dashes = 0\n break\n }\n }\n if (this._dashes === 2) {\n if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)) }\n this.reset()\n this._finished = true\n // no more parts will be added\n if (self._parts === 0) {\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n }\n }\n if (this._dashes) { return }\n }\n if (this._justMatched) { this._justMatched = false }\n if (!this._part) {\n this._part = new PartStream(this._partOpts)\n this._part._read = function (n) {\n self._unpause()\n }\n if (this._isPreamble && this.listenerCount('preamble') !== 0) {\n this.emit('preamble', this._part)\n } else if (this._isPreamble !== true && this.listenerCount('part') !== 0) {\n this.emit('part', this._part)\n } else {\n this._ignore()\n }\n if (!this._isPreamble) { this._inHeader = true }\n }\n if (data && start < end && !this._ignoreData) {\n if (this._isPreamble || !this._inHeader) {\n if (buf) { shouldWriteMore = this._part.push(buf) }\n shouldWriteMore = this._part.push(data.slice(start, end))\n if (!shouldWriteMore) { this._pause = true }\n } else if (!this._isPreamble && this._inHeader) {\n if (buf) { this._hparser.push(buf) }\n r = this._hparser.push(data.slice(start, end))\n if (!this._inHeader && r !== undefined && r < end) { this._oninfo(false, data, start + r, end) }\n }\n }\n if (isMatch) {\n this._hparser.reset()\n if (this._isPreamble) { this._isPreamble = false } else {\n if (start !== end) {\n ++this._parts\n this._part.on('end', function () {\n if (--self._parts === 0) {\n if (self._finished) {\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n } else {\n self._unpause()\n }\n }\n })\n }\n }\n this._part.push(null)\n this._part = undefined\n this._ignoreData = false\n this._justMatched = true\n this._dashes = 0\n }\n}\n\nDicer.prototype._unpause = function () {\n if (!this._pause) { return }\n\n this._pause = false\n if (this._cb) {\n const cb = this._cb\n this._cb = undefined\n cb()\n }\n}\n\nmodule.exports = Dicer\n","'use strict'\n\n/**\n * Copyright Brian White. All rights reserved.\n *\n * @see https://github.com/mscdex/streamsearch\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n *\n * Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation\n * by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool\n */\nconst EventEmitter = require('node:events').EventEmitter\nconst inherits = require('node:util').inherits\n\nfunction SBMH (needle) {\n if (typeof needle === 'string') {\n needle = Buffer.from(needle)\n }\n\n if (!Buffer.isBuffer(needle)) {\n throw new TypeError('The needle has to be a String or a Buffer.')\n }\n\n const needleLength = needle.length\n\n if (needleLength === 0) {\n throw new Error('The needle cannot be an empty String/Buffer.')\n }\n\n if (needleLength > 256) {\n throw new Error('The needle cannot have a length bigger than 256.')\n }\n\n this.maxMatches = Infinity\n this.matches = 0\n\n this._occ = new Array(256)\n .fill(needleLength) // Initialize occurrence table.\n this._lookbehind_size = 0\n this._needle = needle\n this._bufpos = 0\n\n this._lookbehind = Buffer.alloc(needleLength)\n\n // Populate occurrence table with analysis of the needle,\n // ignoring last letter.\n for (var i = 0; i < needleLength - 1; ++i) { // eslint-disable-line no-var\n this._occ[needle[i]] = needleLength - 1 - i\n }\n}\ninherits(SBMH, EventEmitter)\n\nSBMH.prototype.reset = function () {\n this._lookbehind_size = 0\n this.matches = 0\n this._bufpos = 0\n}\n\nSBMH.prototype.push = function (chunk, pos) {\n if (!Buffer.isBuffer(chunk)) {\n chunk = Buffer.from(chunk, 'binary')\n }\n const chlen = chunk.length\n this._bufpos = pos || 0\n let r\n while (r !== chlen && this.matches < this.maxMatches) { r = this._sbmh_feed(chunk) }\n return r\n}\n\nSBMH.prototype._sbmh_feed = function (data) {\n const len = data.length\n const needle = this._needle\n const needleLength = needle.length\n const lastNeedleChar = needle[needleLength - 1]\n\n // Positive: points to a position in `data`\n // pos == 3 points to data[3]\n // Negative: points to a position in the lookbehind buffer\n // pos == -2 points to lookbehind[lookbehind_size - 2]\n let pos = -this._lookbehind_size\n let ch\n\n if (pos < 0) {\n // Lookbehind buffer is not empty. Perform Boyer-Moore-Horspool\n // search with character lookup code that considers both the\n // lookbehind buffer and the current round's haystack data.\n //\n // Loop until\n // there is a match.\n // or until\n // we've moved past the position that requires the\n // lookbehind buffer. In this case we switch to the\n // optimized loop.\n // or until\n // the character to look at lies outside the haystack.\n while (pos < 0 && pos <= len - needleLength) {\n ch = this._sbmh_lookup_char(data, pos + needleLength - 1)\n\n if (\n ch === lastNeedleChar &&\n this._sbmh_memcmp(data, pos, needleLength - 1)\n ) {\n this._lookbehind_size = 0\n ++this.matches\n this.emit('info', true)\n\n return (this._bufpos = pos + needleLength)\n }\n pos += this._occ[ch]\n }\n\n // No match.\n\n if (pos < 0) {\n // There's too few data for Boyer-Moore-Horspool to run,\n // so let's use a different algorithm to skip as much as\n // we can.\n // Forward pos until\n // the trailing part of lookbehind + data\n // looks like the beginning of the needle\n // or until\n // pos == 0\n while (pos < 0 && !this._sbmh_memcmp(data, pos, len - pos)) { ++pos }\n }\n\n if (pos >= 0) {\n // Discard lookbehind buffer.\n this.emit('info', false, this._lookbehind, 0, this._lookbehind_size)\n this._lookbehind_size = 0\n } else {\n // Cut off part of the lookbehind buffer that has\n // been processed and append the entire haystack\n // into it.\n const bytesToCutOff = this._lookbehind_size + pos\n if (bytesToCutOff > 0) {\n // The cut off data is guaranteed not to contain the needle.\n this.emit('info', false, this._lookbehind, 0, bytesToCutOff)\n }\n\n this._lookbehind.copy(this._lookbehind, 0, bytesToCutOff,\n this._lookbehind_size - bytesToCutOff)\n this._lookbehind_size -= bytesToCutOff\n\n data.copy(this._lookbehind, this._lookbehind_size)\n this._lookbehind_size += len\n\n this._bufpos = len\n return len\n }\n }\n\n pos += (pos >= 0) * this._bufpos\n\n // Lookbehind buffer is now empty. We only need to check if the\n // needle is in the haystack.\n if (data.indexOf(needle, pos) !== -1) {\n pos = data.indexOf(needle, pos)\n ++this.matches\n if (pos > 0) { this.emit('info', true, data, this._bufpos, pos) } else { this.emit('info', true) }\n\n return (this._bufpos = pos + needleLength)\n } else {\n pos = len - needleLength\n }\n\n // There was no match. If there's trailing haystack data that we cannot\n // match yet using the Boyer-Moore-Horspool algorithm (because the trailing\n // data is less than the needle size) then match using a modified\n // algorithm that starts matching from the beginning instead of the end.\n // Whatever trailing data is left after running this algorithm is added to\n // the lookbehind buffer.\n while (\n pos < len &&\n (\n data[pos] !== needle[0] ||\n (\n (Buffer.compare(\n data.subarray(pos, pos + len - pos),\n needle.subarray(0, len - pos)\n ) !== 0)\n )\n )\n ) {\n ++pos\n }\n if (pos < len) {\n data.copy(this._lookbehind, 0, pos, pos + (len - pos))\n this._lookbehind_size = len - pos\n }\n\n // Everything until pos is guaranteed not to contain needle data.\n if (pos > 0) { this.emit('info', false, data, this._bufpos, pos < len ? pos : len) }\n\n this._bufpos = len\n return len\n}\n\nSBMH.prototype._sbmh_lookup_char = function (data, pos) {\n return (pos < 0)\n ? this._lookbehind[this._lookbehind_size + pos]\n : data[pos]\n}\n\nSBMH.prototype._sbmh_memcmp = function (data, pos, len) {\n for (var i = 0; i < len; ++i) { // eslint-disable-line no-var\n if (this._sbmh_lookup_char(data, pos + i) !== this._needle[i]) { return false }\n }\n return true\n}\n\nmodule.exports = SBMH\n","'use strict'\n\nconst inherits = require('node:util').inherits\nconst ReadableStream = require('node:stream').Readable\n\nfunction PartStream (opts) {\n ReadableStream.call(this, opts)\n}\ninherits(PartStream, ReadableStream)\n\nPartStream.prototype._read = function (n) {}\n\nmodule.exports = PartStream\n","'use strict'\n\nconst EventEmitter = require('node:events').EventEmitter\nconst inherits = require('node:util').inherits\nconst getLimit = require('../../../lib/utils/getLimit')\n\nconst StreamSearch = require('../../streamsearch/sbmh')\n\nconst B_DCRLF = Buffer.from('\\r\\n\\r\\n')\nconst RE_CRLF = /\\r\\n/g\nconst RE_HDR = /^([^:]+):[ \\t]?([\\x00-\\xFF]+)?$/ // eslint-disable-line no-control-regex\n\nfunction HeaderParser (cfg) {\n EventEmitter.call(this)\n\n cfg = cfg || {}\n const self = this\n this.nread = 0\n this.maxed = false\n this.npairs = 0\n this.maxHeaderPairs = getLimit(cfg, 'maxHeaderPairs', 2000)\n this.maxHeaderSize = getLimit(cfg, 'maxHeaderSize', 80 * 1024)\n this.buffer = ''\n this.header = {}\n this.finished = false\n this.ss = new StreamSearch(B_DCRLF)\n this.ss.on('info', function (isMatch, data, start, end) {\n if (data && !self.maxed) {\n if (self.nread + end - start >= self.maxHeaderSize) {\n end = self.maxHeaderSize - self.nread + start\n self.nread = self.maxHeaderSize\n self.maxed = true\n } else { self.nread += (end - start) }\n\n self.buffer += data.toString('binary', start, end)\n }\n if (isMatch) { self._finish() }\n })\n}\ninherits(HeaderParser, EventEmitter)\n\nHeaderParser.prototype.push = function (data) {\n const r = this.ss.push(data)\n if (this.finished) { return r }\n}\n\nHeaderParser.prototype.reset = function () {\n this.finished = false\n this.buffer = ''\n this.header = {}\n this.ss.reset()\n}\n\nHeaderParser.prototype._finish = function () {\n if (this.buffer) { this._parseHeader() }\n this.ss.matches = this.ss.maxMatches\n const header = this.header\n this.header = {}\n this.buffer = ''\n this.finished = true\n this.nread = this.npairs = 0\n this.maxed = false\n this.emit('header', header)\n}\n\nHeaderParser.prototype._parseHeader = function () {\n if (this.npairs === this.maxHeaderPairs) { return }\n\n const lines = this.buffer.split(RE_CRLF)\n const len = lines.length\n let m, h\n\n for (var i = 0; i < len; ++i) { // eslint-disable-line no-var\n if (lines[i].length === 0) { continue }\n if (lines[i][0] === '\\t' || lines[i][0] === ' ') {\n // folded header content\n // RFC2822 says to just remove the CRLF and not the whitespace following\n // it, so we follow the RFC and include the leading whitespace ...\n if (h) {\n this.header[h][this.header[h].length - 1] += lines[i]\n continue\n }\n }\n\n const posColon = lines[i].indexOf(':')\n if (\n posColon === -1 ||\n posColon === 0\n ) {\n return\n }\n m = RE_HDR.exec(lines[i])\n h = m[1].toLowerCase()\n this.header[h] = this.header[h] || []\n this.header[h].push((m[2] || ''))\n if (++this.npairs === this.maxHeaderPairs) { break }\n }\n}\n\nmodule.exports = HeaderParser\n","'use strict'\n\nmodule.exports = function getLimit (limits, name, defaultLimit) {\n if (\n !limits ||\n limits[name] === undefined ||\n limits[name] === null\n ) { return defaultLimit }\n\n if (\n typeof limits[name] !== 'number' ||\n isNaN(limits[name])\n ) { throw new TypeError('Limit ' + name + ' is not a valid number') }\n\n return limits[name]\n}\n","'use strict'\n\n// TODO:\n// * support 1 nested multipart level\n// (see second multipart example here:\n// http://www.w3.org/TR/html401/interact/forms.html#didx-multipartform-data)\n// * support limits.fieldNameSize\n// -- this will require modifications to utils.parseParams\n\nconst { Readable } = require('node:stream')\nconst { inherits } = require('node:util')\n\nconst Dicer = require('../../deps/dicer/lib/Dicer')\n\nconst parseParams = require('../utils/parseParams')\nconst decodeText = require('../utils/decodeText')\nconst basename = require('../utils/basename')\nconst getLimit = require('../utils/getLimit')\n\nconst RE_BOUNDARY = /^boundary$/i\nconst RE_FIELD = /^form-data$/i\nconst RE_CHARSET = /^charset$/i\nconst RE_FILENAME = /^filename$/i\nconst RE_NAME = /^name$/i\n\nMultipart.detect = /^multipart\\/form-data/i\nfunction Multipart (boy, cfg) {\n let i\n let len\n const self = this\n let boundary\n const limits = cfg.limits\n const isPartAFile = cfg.isPartAFile || ((fieldName, contentType, fileName) => (contentType === 'application/octet-stream' || fileName !== undefined))\n const parsedConType = cfg.parsedConType || []\n const defCharset = cfg.defCharset || 'utf8'\n const preservePath = cfg.preservePath\n const fileOpts = { highWaterMark: cfg.fileHwm }\n\n for (i = 0, len = parsedConType.length; i < len; ++i) {\n if (Array.isArray(parsedConType[i]) &&\n RE_BOUNDARY.test(parsedConType[i][0])) {\n boundary = parsedConType[i][1]\n break\n }\n }\n\n function checkFinished () {\n if (nends === 0 && finished && !boy._done) {\n finished = false\n self.end()\n }\n }\n\n if (typeof boundary !== 'string') { throw new Error('Multipart: Boundary not found') }\n\n const fieldSizeLimit = getLimit(limits, 'fieldSize', 1 * 1024 * 1024)\n const fileSizeLimit = getLimit(limits, 'fileSize', Infinity)\n const filesLimit = getLimit(limits, 'files', Infinity)\n const fieldsLimit = getLimit(limits, 'fields', Infinity)\n const partsLimit = getLimit(limits, 'parts', Infinity)\n const headerPairsLimit = getLimit(limits, 'headerPairs', 2000)\n const headerSizeLimit = getLimit(limits, 'headerSize', 80 * 1024)\n\n let nfiles = 0\n let nfields = 0\n let nends = 0\n let curFile\n let curField\n let finished = false\n\n this._needDrain = false\n this._pause = false\n this._cb = undefined\n this._nparts = 0\n this._boy = boy\n\n const parserCfg = {\n boundary,\n maxHeaderPairs: headerPairsLimit,\n maxHeaderSize: headerSizeLimit,\n partHwm: fileOpts.highWaterMark,\n highWaterMark: cfg.highWaterMark\n }\n\n this.parser = new Dicer(parserCfg)\n this.parser.on('drain', function () {\n self._needDrain = false\n if (self._cb && !self._pause) {\n const cb = self._cb\n self._cb = undefined\n cb()\n }\n }).on('part', function onPart (part) {\n if (++self._nparts > partsLimit) {\n self.parser.removeListener('part', onPart)\n self.parser.on('part', skipPart)\n boy.hitPartsLimit = true\n boy.emit('partsLimit')\n return skipPart(part)\n }\n\n // hack because streams2 _always_ doesn't emit 'end' until nextTick, so let\n // us emit 'end' early since we know the part has ended if we are already\n // seeing the next part\n if (curField) {\n const field = curField\n field.emit('end')\n field.removeAllListeners('end')\n }\n\n part.on('header', function (header) {\n let contype\n let fieldname\n let parsed\n let charset\n let encoding\n let filename\n let nsize = 0\n\n if (header['content-type']) {\n parsed = parseParams(header['content-type'][0])\n if (parsed[0]) {\n contype = parsed[0].toLowerCase()\n for (i = 0, len = parsed.length; i < len; ++i) {\n if (RE_CHARSET.test(parsed[i][0])) {\n charset = parsed[i][1].toLowerCase()\n break\n }\n }\n }\n }\n\n if (contype === undefined) { contype = 'text/plain' }\n if (charset === undefined) { charset = defCharset }\n\n if (header['content-disposition']) {\n parsed = parseParams(header['content-disposition'][0])\n if (!RE_FIELD.test(parsed[0])) { return skipPart(part) }\n for (i = 0, len = parsed.length; i < len; ++i) {\n if (RE_NAME.test(parsed[i][0])) {\n fieldname = parsed[i][1]\n } else if (RE_FILENAME.test(parsed[i][0])) {\n filename = parsed[i][1]\n if (!preservePath) { filename = basename(filename) }\n }\n }\n } else { return skipPart(part) }\n\n if (header['content-transfer-encoding']) { encoding = header['content-transfer-encoding'][0].toLowerCase() } else { encoding = '7bit' }\n\n let onData,\n onEnd\n\n if (isPartAFile(fieldname, contype, filename)) {\n // file/binary field\n if (nfiles === filesLimit) {\n if (!boy.hitFilesLimit) {\n boy.hitFilesLimit = true\n boy.emit('filesLimit')\n }\n return skipPart(part)\n }\n\n ++nfiles\n\n if (boy.listenerCount('file') === 0) {\n self.parser._ignore()\n return\n }\n\n ++nends\n const file = new FileStream(fileOpts)\n curFile = file\n file.on('end', function () {\n --nends\n self._pause = false\n checkFinished()\n if (self._cb && !self._needDrain) {\n const cb = self._cb\n self._cb = undefined\n cb()\n }\n })\n file._read = function (n) {\n if (!self._pause) { return }\n self._pause = false\n if (self._cb && !self._needDrain) {\n const cb = self._cb\n self._cb = undefined\n cb()\n }\n }\n boy.emit('file', fieldname, file, filename, encoding, contype)\n\n onData = function (data) {\n if ((nsize += data.length) > fileSizeLimit) {\n const extralen = fileSizeLimit - nsize + data.length\n if (extralen > 0) { file.push(data.slice(0, extralen)) }\n file.truncated = true\n file.bytesRead = fileSizeLimit\n part.removeAllListeners('data')\n file.emit('limit')\n return\n } else if (!file.push(data)) { self._pause = true }\n\n file.bytesRead = nsize\n }\n\n onEnd = function () {\n curFile = undefined\n file.push(null)\n }\n } else {\n // non-file field\n if (nfields === fieldsLimit) {\n if (!boy.hitFieldsLimit) {\n boy.hitFieldsLimit = true\n boy.emit('fieldsLimit')\n }\n return skipPart(part)\n }\n\n ++nfields\n ++nends\n let buffer = ''\n let truncated = false\n curField = part\n\n onData = function (data) {\n if ((nsize += data.length) > fieldSizeLimit) {\n const extralen = (fieldSizeLimit - (nsize - data.length))\n buffer += data.toString('binary', 0, extralen)\n truncated = true\n part.removeAllListeners('data')\n } else { buffer += data.toString('binary') }\n }\n\n onEnd = function () {\n curField = undefined\n if (buffer.length) { buffer = decodeText(buffer, 'binary', charset) }\n boy.emit('field', fieldname, buffer, false, truncated, encoding, contype)\n --nends\n checkFinished()\n }\n }\n\n /* As of node@2efe4ab761666 (v0.10.29+/v0.11.14+), busboy had become\n broken. Streams2/streams3 is a huge black box of confusion, but\n somehow overriding the sync state seems to fix things again (and still\n seems to work for previous node versions).\n */\n part._readableState.sync = false\n\n part.on('data', onData)\n part.on('end', onEnd)\n }).on('error', function (err) {\n if (curFile) { curFile.emit('error', err) }\n })\n }).on('error', function (err) {\n boy.emit('error', err)\n }).on('finish', function () {\n finished = true\n checkFinished()\n })\n}\n\nMultipart.prototype.write = function (chunk, cb) {\n const r = this.parser.write(chunk)\n if (r && !this._pause) {\n cb()\n } else {\n this._needDrain = !r\n this._cb = cb\n }\n}\n\nMultipart.prototype.end = function () {\n const self = this\n\n if (self.parser.writable) {\n self.parser.end()\n } else if (!self._boy._done) {\n process.nextTick(function () {\n self._boy._done = true\n self._boy.emit('finish')\n })\n }\n}\n\nfunction skipPart (part) {\n part.resume()\n}\n\nfunction FileStream (opts) {\n Readable.call(this, opts)\n\n this.bytesRead = 0\n\n this.truncated = false\n}\n\ninherits(FileStream, Readable)\n\nFileStream.prototype._read = function (n) {}\n\nmodule.exports = Multipart\n","/* eslint-disable object-property-newline */\n'use strict'\n\nconst decodeText = require('./decodeText')\n\nconst RE_ENCODED = /%[a-fA-F0-9][a-fA-F0-9]/g\n\nconst EncodedLookup = {\n '%00': '\\x00', '%01': '\\x01', '%02': '\\x02', '%03': '\\x03', '%04': '\\x04',\n '%05': '\\x05', '%06': '\\x06', '%07': '\\x07', '%08': '\\x08', '%09': '\\x09',\n '%0a': '\\x0a', '%0A': '\\x0a', '%0b': '\\x0b', '%0B': '\\x0b', '%0c': '\\x0c',\n '%0C': '\\x0c', '%0d': '\\x0d', '%0D': '\\x0d', '%0e': '\\x0e', '%0E': '\\x0e',\n '%0f': '\\x0f', '%0F': '\\x0f', '%10': '\\x10', '%11': '\\x11', '%12': '\\x12',\n '%13': '\\x13', '%14': '\\x14', '%15': '\\x15', '%16': '\\x16', '%17': '\\x17',\n '%18': '\\x18', '%19': '\\x19', '%1a': '\\x1a', '%1A': '\\x1a', '%1b': '\\x1b',\n '%1B': '\\x1b', '%1c': '\\x1c', '%1C': '\\x1c', '%1d': '\\x1d', '%1D': '\\x1d',\n '%1e': '\\x1e', '%1E': '\\x1e', '%1f': '\\x1f', '%1F': '\\x1f', '%20': '\\x20',\n '%21': '\\x21', '%22': '\\x22', '%23': '\\x23', '%24': '\\x24', '%25': '\\x25',\n '%26': '\\x26', '%27': '\\x27', '%28': '\\x28', '%29': '\\x29', '%2a': '\\x2a',\n '%2A': '\\x2a', '%2b': '\\x2b', '%2B': '\\x2b', '%2c': '\\x2c', '%2C': '\\x2c',\n '%2d': '\\x2d', '%2D': '\\x2d', '%2e': '\\x2e', '%2E': '\\x2e', '%2f': '\\x2f',\n '%2F': '\\x2f', '%30': '\\x30', '%31': '\\x31', '%32': '\\x32', '%33': '\\x33',\n '%34': '\\x34', '%35': '\\x35', '%36': '\\x36', '%37': '\\x37', '%38': '\\x38',\n '%39': '\\x39', '%3a': '\\x3a', '%3A': '\\x3a', '%3b': '\\x3b', '%3B': '\\x3b',\n '%3c': '\\x3c', '%3C': '\\x3c', '%3d': '\\x3d', '%3D': '\\x3d', '%3e': '\\x3e',\n '%3E': '\\x3e', '%3f': '\\x3f', '%3F': '\\x3f', '%40': '\\x40', '%41': '\\x41',\n '%42': '\\x42', '%43': '\\x43', '%44': '\\x44', '%45': '\\x45', '%46': '\\x46',\n '%47': '\\x47', '%48': '\\x48', '%49': '\\x49', '%4a': '\\x4a', '%4A': '\\x4a',\n '%4b': '\\x4b', '%4B': '\\x4b', '%4c': '\\x4c', '%4C': '\\x4c', '%4d': '\\x4d',\n '%4D': '\\x4d', '%4e': '\\x4e', '%4E': '\\x4e', '%4f': '\\x4f', '%4F': '\\x4f',\n '%50': '\\x50', '%51': '\\x51', '%52': '\\x52', '%53': '\\x53', '%54': '\\x54',\n '%55': '\\x55', '%56': '\\x56', '%57': '\\x57', '%58': '\\x58', '%59': '\\x59',\n '%5a': '\\x5a', '%5A': '\\x5a', '%5b': '\\x5b', '%5B': '\\x5b', '%5c': '\\x5c',\n '%5C': '\\x5c', '%5d': '\\x5d', '%5D': '\\x5d', '%5e': '\\x5e', '%5E': '\\x5e',\n '%5f': '\\x5f', '%5F': '\\x5f', '%60': '\\x60', '%61': '\\x61', '%62': '\\x62',\n '%63': '\\x63', '%64': '\\x64', '%65': '\\x65', '%66': '\\x66', '%67': '\\x67',\n '%68': '\\x68', '%69': '\\x69', '%6a': '\\x6a', '%6A': '\\x6a', '%6b': '\\x6b',\n '%6B': '\\x6b', '%6c': '\\x6c', '%6C': '\\x6c', '%6d': '\\x6d', '%6D': '\\x6d',\n '%6e': '\\x6e', '%6E': '\\x6e', '%6f': '\\x6f', '%6F': '\\x6f', '%70': '\\x70',\n '%71': '\\x71', '%72': '\\x72', '%73': '\\x73', '%74': '\\x74', '%75': '\\x75',\n '%76': '\\x76', '%77': '\\x77', '%78': '\\x78', '%79': '\\x79', '%7a': '\\x7a',\n '%7A': '\\x7a', '%7b': '\\x7b', '%7B': '\\x7b', '%7c': '\\x7c', '%7C': '\\x7c',\n '%7d': '\\x7d', '%7D': '\\x7d', '%7e': '\\x7e', '%7E': '\\x7e', '%7f': '\\x7f',\n '%7F': '\\x7f', '%80': '\\x80', '%81': '\\x81', '%82': '\\x82', '%83': '\\x83',\n '%84': '\\x84', '%85': '\\x85', '%86': '\\x86', '%87': '\\x87', '%88': '\\x88',\n '%89': '\\x89', '%8a': '\\x8a', '%8A': '\\x8a', '%8b': '\\x8b', '%8B': '\\x8b',\n '%8c': '\\x8c', '%8C': '\\x8c', '%8d': '\\x8d', '%8D': '\\x8d', '%8e': '\\x8e',\n '%8E': '\\x8e', '%8f': '\\x8f', '%8F': '\\x8f', '%90': '\\x90', '%91': '\\x91',\n '%92': '\\x92', '%93': '\\x93', '%94': '\\x94', '%95': '\\x95', '%96': '\\x96',\n '%97': '\\x97', '%98': '\\x98', '%99': '\\x99', '%9a': '\\x9a', '%9A': '\\x9a',\n '%9b': '\\x9b', '%9B': '\\x9b', '%9c': '\\x9c', '%9C': '\\x9c', '%9d': '\\x9d',\n '%9D': '\\x9d', '%9e': '\\x9e', '%9E': '\\x9e', '%9f': '\\x9f', '%9F': '\\x9f',\n '%a0': '\\xa0', '%A0': '\\xa0', '%a1': '\\xa1', '%A1': '\\xa1', '%a2': '\\xa2',\n '%A2': '\\xa2', '%a3': '\\xa3', '%A3': '\\xa3', '%a4': '\\xa4', '%A4': '\\xa4',\n '%a5': '\\xa5', '%A5': '\\xa5', '%a6': '\\xa6', '%A6': '\\xa6', '%a7': '\\xa7',\n '%A7': '\\xa7', '%a8': '\\xa8', '%A8': '\\xa8', '%a9': '\\xa9', '%A9': '\\xa9',\n '%aa': '\\xaa', '%Aa': '\\xaa', '%aA': '\\xaa', '%AA': '\\xaa', '%ab': '\\xab',\n '%Ab': '\\xab', '%aB': '\\xab', '%AB': '\\xab', '%ac': '\\xac', '%Ac': '\\xac',\n '%aC': '\\xac', '%AC': '\\xac', '%ad': '\\xad', '%Ad': '\\xad', '%aD': '\\xad',\n '%AD': '\\xad', '%ae': '\\xae', '%Ae': '\\xae', '%aE': '\\xae', '%AE': '\\xae',\n '%af': '\\xaf', '%Af': '\\xaf', '%aF': '\\xaf', '%AF': '\\xaf', '%b0': '\\xb0',\n '%B0': '\\xb0', '%b1': '\\xb1', '%B1': '\\xb1', '%b2': '\\xb2', '%B2': '\\xb2',\n '%b3': '\\xb3', '%B3': '\\xb3', '%b4': '\\xb4', '%B4': '\\xb4', '%b5': '\\xb5',\n '%B5': '\\xb5', '%b6': '\\xb6', '%B6': '\\xb6', '%b7': '\\xb7', '%B7': '\\xb7',\n '%b8': '\\xb8', '%B8': '\\xb8', '%b9': '\\xb9', '%B9': '\\xb9', '%ba': '\\xba',\n '%Ba': '\\xba', '%bA': '\\xba', '%BA': '\\xba', '%bb': '\\xbb', '%Bb': '\\xbb',\n '%bB': '\\xbb', '%BB': '\\xbb', '%bc': '\\xbc', '%Bc': '\\xbc', '%bC': '\\xbc',\n '%BC': '\\xbc', '%bd': '\\xbd', '%Bd': '\\xbd', '%bD': '\\xbd', '%BD': '\\xbd',\n '%be': '\\xbe', '%Be': '\\xbe', '%bE': '\\xbe', '%BE': '\\xbe', '%bf': '\\xbf',\n '%Bf': '\\xbf', '%bF': '\\xbf', '%BF': '\\xbf', '%c0': '\\xc0', '%C0': '\\xc0',\n '%c1': '\\xc1', '%C1': '\\xc1', '%c2': '\\xc2', '%C2': '\\xc2', '%c3': '\\xc3',\n '%C3': '\\xc3', '%c4': '\\xc4', '%C4': '\\xc4', '%c5': '\\xc5', '%C5': '\\xc5',\n '%c6': '\\xc6', '%C6': '\\xc6', '%c7': '\\xc7', '%C7': '\\xc7', '%c8': '\\xc8',\n '%C8': '\\xc8', '%c9': '\\xc9', '%C9': '\\xc9', '%ca': '\\xca', '%Ca': '\\xca',\n '%cA': '\\xca', '%CA': '\\xca', '%cb': '\\xcb', '%Cb': '\\xcb', '%cB': '\\xcb',\n '%CB': '\\xcb', '%cc': '\\xcc', '%Cc': '\\xcc', '%cC': '\\xcc', '%CC': '\\xcc',\n '%cd': '\\xcd', '%Cd': '\\xcd', '%cD': '\\xcd', '%CD': '\\xcd', '%ce': '\\xce',\n '%Ce': '\\xce', '%cE': '\\xce', '%CE': '\\xce', '%cf': '\\xcf', '%Cf': '\\xcf',\n '%cF': '\\xcf', '%CF': '\\xcf', '%d0': '\\xd0', '%D0': '\\xd0', '%d1': '\\xd1',\n '%D1': '\\xd1', '%d2': '\\xd2', '%D2': '\\xd2', '%d3': '\\xd3', '%D3': '\\xd3',\n '%d4': '\\xd4', '%D4': '\\xd4', '%d5': '\\xd5', '%D5': '\\xd5', '%d6': '\\xd6',\n '%D6': '\\xd6', '%d7': '\\xd7', '%D7': '\\xd7', '%d8': '\\xd8', '%D8': '\\xd8',\n '%d9': '\\xd9', '%D9': '\\xd9', '%da': '\\xda', '%Da': '\\xda', '%dA': '\\xda',\n '%DA': '\\xda', '%db': '\\xdb', '%Db': '\\xdb', '%dB': '\\xdb', '%DB': '\\xdb',\n '%dc': '\\xdc', '%Dc': '\\xdc', '%dC': '\\xdc', '%DC': '\\xdc', '%dd': '\\xdd',\n '%Dd': '\\xdd', '%dD': '\\xdd', '%DD': '\\xdd', '%de': '\\xde', '%De': '\\xde',\n '%dE': '\\xde', '%DE': '\\xde', '%df': '\\xdf', '%Df': '\\xdf', '%dF': '\\xdf',\n '%DF': '\\xdf', '%e0': '\\xe0', '%E0': '\\xe0', '%e1': '\\xe1', '%E1': '\\xe1',\n '%e2': '\\xe2', '%E2': '\\xe2', '%e3': '\\xe3', '%E3': '\\xe3', '%e4': '\\xe4',\n '%E4': '\\xe4', '%e5': '\\xe5', '%E5': '\\xe5', '%e6': '\\xe6', '%E6': '\\xe6',\n '%e7': '\\xe7', '%E7': '\\xe7', '%e8': '\\xe8', '%E8': '\\xe8', '%e9': '\\xe9',\n '%E9': '\\xe9', '%ea': '\\xea', '%Ea': '\\xea', '%eA': '\\xea', '%EA': '\\xea',\n '%eb': '\\xeb', '%Eb': '\\xeb', '%eB': '\\xeb', '%EB': '\\xeb', '%ec': '\\xec',\n '%Ec': '\\xec', '%eC': '\\xec', '%EC': '\\xec', '%ed': '\\xed', '%Ed': '\\xed',\n '%eD': '\\xed', '%ED': '\\xed', '%ee': '\\xee', '%Ee': '\\xee', '%eE': '\\xee',\n '%EE': '\\xee', '%ef': '\\xef', '%Ef': '\\xef', '%eF': '\\xef', '%EF': '\\xef',\n '%f0': '\\xf0', '%F0': '\\xf0', '%f1': '\\xf1', '%F1': '\\xf1', '%f2': '\\xf2',\n '%F2': '\\xf2', '%f3': '\\xf3', '%F3': '\\xf3', '%f4': '\\xf4', '%F4': '\\xf4',\n '%f5': '\\xf5', '%F5': '\\xf5', '%f6': '\\xf6', '%F6': '\\xf6', '%f7': '\\xf7',\n '%F7': '\\xf7', '%f8': '\\xf8', '%F8': '\\xf8', '%f9': '\\xf9', '%F9': '\\xf9',\n '%fa': '\\xfa', '%Fa': '\\xfa', '%fA': '\\xfa', '%FA': '\\xfa', '%fb': '\\xfb',\n '%Fb': '\\xfb', '%fB': '\\xfb', '%FB': '\\xfb', '%fc': '\\xfc', '%Fc': '\\xfc',\n '%fC': '\\xfc', '%FC': '\\xfc', '%fd': '\\xfd', '%Fd': '\\xfd', '%fD': '\\xfd',\n '%FD': '\\xfd', '%fe': '\\xfe', '%Fe': '\\xfe', '%fE': '\\xfe', '%FE': '\\xfe',\n '%ff': '\\xff', '%Ff': '\\xff', '%fF': '\\xff', '%FF': '\\xff'\n}\n\nfunction encodedReplacer (match) {\n return EncodedLookup[match]\n}\n\nconst STATE_KEY = 0\nconst STATE_VALUE = 1\nconst STATE_CHARSET = 2\nconst STATE_LANG = 3\n\nfunction parseParams (str) {\n const res = []\n let state = STATE_KEY\n let charset = ''\n let inquote = false\n let escaping = false\n let p = 0\n let tmp = ''\n const len = str.length\n\n for (var i = 0; i < len; ++i) { // eslint-disable-line no-var\n const char = str[i]\n if (char === '\\\\' && inquote) {\n if (escaping) { escaping = false } else {\n escaping = true\n continue\n }\n } else if (char === '\"') {\n if (!escaping) {\n if (inquote) {\n inquote = false\n state = STATE_KEY\n } else { inquote = true }\n continue\n } else { escaping = false }\n } else {\n if (escaping && inquote) { tmp += '\\\\' }\n escaping = false\n if ((state === STATE_CHARSET || state === STATE_LANG) && char === \"'\") {\n if (state === STATE_CHARSET) {\n state = STATE_LANG\n charset = tmp.substring(1)\n } else { state = STATE_VALUE }\n tmp = ''\n continue\n } else if (state === STATE_KEY &&\n (char === '*' || char === '=') &&\n res.length) {\n state = char === '*'\n ? STATE_CHARSET\n : STATE_VALUE\n res[p] = [tmp, undefined]\n tmp = ''\n continue\n } else if (!inquote && char === ';') {\n state = STATE_KEY\n if (charset) {\n if (tmp.length) {\n tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer),\n 'binary',\n charset)\n }\n charset = ''\n } else if (tmp.length) {\n tmp = decodeText(tmp, 'binary', 'utf8')\n }\n if (res[p] === undefined) { res[p] = tmp } else { res[p][1] = tmp }\n tmp = ''\n ++p\n continue\n } else if (!inquote && (char === ' ' || char === '\\t')) { continue }\n }\n tmp += char\n }\n if (charset && tmp.length) {\n tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer),\n 'binary',\n charset)\n } else if (tmp) {\n tmp = decodeText(tmp, 'binary', 'utf8')\n }\n\n if (res[p] === undefined) {\n if (tmp) { res[p] = tmp }\n } else { res[p][1] = tmp }\n\n return res\n}\n\nmodule.exports = parseParams\n","'use strict'\n\n// Node has always utf-8\nconst utf8Decoder = new TextDecoder('utf-8')\nconst textDecoders = new Map([\n ['utf-8', utf8Decoder],\n ['utf8', utf8Decoder]\n])\n\nfunction getDecoder (charset) {\n let lc\n while (true) {\n switch (charset) {\n case 'utf-8':\n case 'utf8':\n return decoders.utf8\n case 'latin1':\n case 'ascii': // TODO: Make these a separate, strict decoder?\n case 'us-ascii':\n case 'iso-8859-1':\n case 'iso8859-1':\n case 'iso88591':\n case 'iso_8859-1':\n case 'windows-1252':\n case 'iso_8859-1:1987':\n case 'cp1252':\n case 'x-cp1252':\n return decoders.latin1\n case 'utf16le':\n case 'utf-16le':\n case 'ucs2':\n case 'ucs-2':\n return decoders.utf16le\n case 'base64':\n return decoders.base64\n default:\n if (lc === undefined) {\n lc = true\n charset = charset.toLowerCase()\n continue\n }\n return decoders.other.bind(charset)\n }\n }\n}\n\nconst decoders = {\n utf8: (data, sourceEncoding) => {\n if (data.length === 0) {\n return ''\n }\n if (typeof data === 'string') {\n data = Buffer.from(data, sourceEncoding)\n }\n return data.utf8Slice(0, data.length)\n },\n\n latin1: (data, sourceEncoding) => {\n if (data.length === 0) {\n return ''\n }\n if (typeof data === 'string') {\n return data\n }\n return data.latin1Slice(0, data.length)\n },\n\n utf16le: (data, sourceEncoding) => {\n if (data.length === 0) {\n return ''\n }\n if (typeof data === 'string') {\n data = Buffer.from(data, sourceEncoding)\n }\n return data.ucs2Slice(0, data.length)\n },\n\n base64: (data, sourceEncoding) => {\n if (data.length === 0) {\n return ''\n }\n if (typeof data === 'string') {\n data = Buffer.from(data, sourceEncoding)\n }\n return data.base64Slice(0, data.length)\n },\n\n other: (data, sourceEncoding) => {\n if (data.length === 0) {\n return ''\n }\n if (typeof data === 'string') {\n data = Buffer.from(data, sourceEncoding)\n }\n\n if (textDecoders.has(this.toString())) {\n try {\n return textDecoders.get(this).decode(data)\n } catch {}\n }\n return typeof data === 'string'\n ? data\n : data.toString()\n }\n}\n\nfunction decodeText (text, sourceEncoding, destEncoding) {\n if (text) {\n return getDecoder(destEncoding)(text, sourceEncoding)\n }\n return text\n}\n\nmodule.exports = decodeText\n","'use strict'\n\nmodule.exports = function basename (path) {\n if (typeof path !== 'string') { return '' }\n for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var\n switch (path.charCodeAt(i)) {\n case 0x2F: // '/'\n case 0x5C: // '\\'\n path = path.slice(i + 1)\n return (path === '..' || path === '.' ? '' : path)\n }\n }\n return (path === '..' || path === '.' ? '' : path)\n}\n","'use strict'\n\nconst Decoder = require('../utils/Decoder')\nconst decodeText = require('../utils/decodeText')\nconst getLimit = require('../utils/getLimit')\n\nconst RE_CHARSET = /^charset$/i\n\nUrlEncoded.detect = /^application\\/x-www-form-urlencoded/i\nfunction UrlEncoded (boy, cfg) {\n const limits = cfg.limits\n const parsedConType = cfg.parsedConType\n this.boy = boy\n\n this.fieldSizeLimit = getLimit(limits, 'fieldSize', 1 * 1024 * 1024)\n this.fieldNameSizeLimit = getLimit(limits, 'fieldNameSize', 100)\n this.fieldsLimit = getLimit(limits, 'fields', Infinity)\n\n let charset\n for (var i = 0, len = parsedConType.length; i < len; ++i) { // eslint-disable-line no-var\n if (Array.isArray(parsedConType[i]) &&\n RE_CHARSET.test(parsedConType[i][0])) {\n charset = parsedConType[i][1].toLowerCase()\n break\n }\n }\n\n if (charset === undefined) { charset = cfg.defCharset || 'utf8' }\n\n this.decoder = new Decoder()\n this.charset = charset\n this._fields = 0\n this._state = 'key'\n this._checkingBytes = true\n this._bytesKey = 0\n this._bytesVal = 0\n this._key = ''\n this._val = ''\n this._keyTrunc = false\n this._valTrunc = false\n this._hitLimit = false\n}\n\nUrlEncoded.prototype.write = function (data, cb) {\n if (this._fields === this.fieldsLimit) {\n if (!this.boy.hitFieldsLimit) {\n this.boy.hitFieldsLimit = true\n this.boy.emit('fieldsLimit')\n }\n return cb()\n }\n\n let idxeq; let idxamp; let i; let p = 0; const len = data.length\n\n while (p < len) {\n if (this._state === 'key') {\n idxeq = idxamp = undefined\n for (i = p; i < len; ++i) {\n if (!this._checkingBytes) { ++p }\n if (data[i] === 0x3D/* = */) {\n idxeq = i\n break\n } else if (data[i] === 0x26/* & */) {\n idxamp = i\n break\n }\n if (this._checkingBytes && this._bytesKey === this.fieldNameSizeLimit) {\n this._hitLimit = true\n break\n } else if (this._checkingBytes) { ++this._bytesKey }\n }\n\n if (idxeq !== undefined) {\n // key with assignment\n if (idxeq > p) { this._key += this.decoder.write(data.toString('binary', p, idxeq)) }\n this._state = 'val'\n\n this._hitLimit = false\n this._checkingBytes = true\n this._val = ''\n this._bytesVal = 0\n this._valTrunc = false\n this.decoder.reset()\n\n p = idxeq + 1\n } else if (idxamp !== undefined) {\n // key with no assignment\n ++this._fields\n let key; const keyTrunc = this._keyTrunc\n if (idxamp > p) { key = (this._key += this.decoder.write(data.toString('binary', p, idxamp))) } else { key = this._key }\n\n this._hitLimit = false\n this._checkingBytes = true\n this._key = ''\n this._bytesKey = 0\n this._keyTrunc = false\n this.decoder.reset()\n\n if (key.length) {\n this.boy.emit('field', decodeText(key, 'binary', this.charset),\n '',\n keyTrunc,\n false)\n }\n\n p = idxamp + 1\n if (this._fields === this.fieldsLimit) { return cb() }\n } else if (this._hitLimit) {\n // we may not have hit the actual limit if there are encoded bytes...\n if (i > p) { this._key += this.decoder.write(data.toString('binary', p, i)) }\n p = i\n if ((this._bytesKey = this._key.length) === this.fieldNameSizeLimit) {\n // yep, we actually did hit the limit\n this._checkingBytes = false\n this._keyTrunc = true\n }\n } else {\n if (p < len) { this._key += this.decoder.write(data.toString('binary', p)) }\n p = len\n }\n } else {\n idxamp = undefined\n for (i = p; i < len; ++i) {\n if (!this._checkingBytes) { ++p }\n if (data[i] === 0x26/* & */) {\n idxamp = i\n break\n }\n if (this._checkingBytes && this._bytesVal === this.fieldSizeLimit) {\n this._hitLimit = true\n break\n } else if (this._checkingBytes) { ++this._bytesVal }\n }\n\n if (idxamp !== undefined) {\n ++this._fields\n if (idxamp > p) { this._val += this.decoder.write(data.toString('binary', p, idxamp)) }\n this.boy.emit('field', decodeText(this._key, 'binary', this.charset),\n decodeText(this._val, 'binary', this.charset),\n this._keyTrunc,\n this._valTrunc)\n this._state = 'key'\n\n this._hitLimit = false\n this._checkingBytes = true\n this._key = ''\n this._bytesKey = 0\n this._keyTrunc = false\n this.decoder.reset()\n\n p = idxamp + 1\n if (this._fields === this.fieldsLimit) { return cb() }\n } else if (this._hitLimit) {\n // we may not have hit the actual limit if there are encoded bytes...\n if (i > p) { this._val += this.decoder.write(data.toString('binary', p, i)) }\n p = i\n if ((this._val === '' && this.fieldSizeLimit === 0) ||\n (this._bytesVal = this._val.length) === this.fieldSizeLimit) {\n // yep, we actually did hit the limit\n this._checkingBytes = false\n this._valTrunc = true\n }\n } else {\n if (p < len) { this._val += this.decoder.write(data.toString('binary', p)) }\n p = len\n }\n }\n }\n cb()\n}\n\nUrlEncoded.prototype.end = function () {\n if (this.boy._done) { return }\n\n if (this._state === 'key' && this._key.length > 0) {\n this.boy.emit('field', decodeText(this._key, 'binary', this.charset),\n '',\n this._keyTrunc,\n false)\n } else if (this._state === 'val') {\n this.boy.emit('field', decodeText(this._key, 'binary', this.charset),\n decodeText(this._val, 'binary', this.charset),\n this._keyTrunc,\n this._valTrunc)\n }\n this.boy._done = true\n this.boy.emit('finish')\n}\n\nmodule.exports = UrlEncoded\n","'use strict'\n\nconst RE_PLUS = /\\+/g\n\nconst HEX = [\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,\n 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0\n]\n\nfunction Decoder () {\n this.buffer = undefined\n}\nDecoder.prototype.write = function (str) {\n // Replace '+' with ' ' before decoding\n str = str.replace(RE_PLUS, ' ')\n let res = ''\n let i = 0; let p = 0; const len = str.length\n for (; i < len; ++i) {\n if (this.buffer !== undefined) {\n if (!HEX[str.charCodeAt(i)]) {\n res += '%' + this.buffer\n this.buffer = undefined\n --i // retry character\n } else {\n this.buffer += str[i]\n ++p\n if (this.buffer.length === 2) {\n res += String.fromCharCode(parseInt(this.buffer, 16))\n this.buffer = undefined\n }\n }\n } else if (str[i] === '%') {\n if (i > p) {\n res += str.substring(p, i)\n p = i\n }\n this.buffer = ''\n ++p\n }\n }\n if (p < len && this.buffer === undefined) { res += str.substring(p) }\n return res\n}\nDecoder.prototype.reset = function () {\n this.buffer = undefined\n}\n\nmodule.exports = Decoder\n","'use strict'\n\nconst { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require('./constants')\nconst { getGlobalOrigin } = require('./global')\nconst { performance } = require('perf_hooks')\nconst { isBlobLike, toUSVString, ReadableStreamFrom } = require('../core/util')\nconst assert = require('assert')\nconst { isUint8Array } = require('util/types')\n\nlet supportedHashes = []\n\n// https://nodejs.org/api/crypto.html#determining-if-crypto-support-is-unavailable\n/** @type {import('crypto')|undefined} */\nlet crypto\n\ntry {\n crypto = require('crypto')\n const possibleRelevantHashes = ['sha256', 'sha384', 'sha512']\n supportedHashes = crypto.getHashes().filter((hash) => possibleRelevantHashes.includes(hash))\n/* c8 ignore next 3 */\n} catch {\n}\n\nfunction responseURL (response) {\n // https://fetch.spec.whatwg.org/#responses\n // A response has an associated URL. It is a pointer to the last URL\n // in response’s URL list and null if response’s URL list is empty.\n const urlList = response.urlList\n const length = urlList.length\n return length === 0 ? null : urlList[length - 1].toString()\n}\n\n// https://fetch.spec.whatwg.org/#concept-response-location-url\nfunction responseLocationURL (response, requestFragment) {\n // 1. If response’s status is not a redirect status, then return null.\n if (!redirectStatusSet.has(response.status)) {\n return null\n }\n\n // 2. Let location be the result of extracting header list values given\n // `Location` and response’s header list.\n let location = response.headersList.get('location')\n\n // 3. If location is a header value, then set location to the result of\n // parsing location with response’s URL.\n if (location !== null && isValidHeaderValue(location)) {\n location = new URL(location, responseURL(response))\n }\n\n // 4. If location is a URL whose fragment is null, then set location’s\n // fragment to requestFragment.\n if (location && !location.hash) {\n location.hash = requestFragment\n }\n\n // 5. Return location.\n return location\n}\n\n/** @returns {URL} */\nfunction requestCurrentURL (request) {\n return request.urlList[request.urlList.length - 1]\n}\n\nfunction requestBadPort (request) {\n // 1. Let url be request’s current URL.\n const url = requestCurrentURL(request)\n\n // 2. If url’s scheme is an HTTP(S) scheme and url’s port is a bad port,\n // then return blocked.\n if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) {\n return 'blocked'\n }\n\n // 3. Return allowed.\n return 'allowed'\n}\n\nfunction isErrorLike (object) {\n return object instanceof Error || (\n object?.constructor?.name === 'Error' ||\n object?.constructor?.name === 'DOMException'\n )\n}\n\n// Check whether |statusText| is a ByteString and\n// matches the Reason-Phrase token production.\n// RFC 2616: https://tools.ietf.org/html/rfc2616\n// RFC 7230: https://tools.ietf.org/html/rfc7230\n// \"reason-phrase = *( HTAB / SP / VCHAR / obs-text )\"\n// https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116\nfunction isValidReasonPhrase (statusText) {\n for (let i = 0; i < statusText.length; ++i) {\n const c = statusText.charCodeAt(i)\n if (\n !(\n (\n c === 0x09 || // HTAB\n (c >= 0x20 && c <= 0x7e) || // SP / VCHAR\n (c >= 0x80 && c <= 0xff)\n ) // obs-text\n )\n ) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://tools.ietf.org/html/rfc7230#section-3.2.6\n * @param {number} c\n */\nfunction isTokenCharCode (c) {\n switch (c) {\n case 0x22:\n case 0x28:\n case 0x29:\n case 0x2c:\n case 0x2f:\n case 0x3a:\n case 0x3b:\n case 0x3c:\n case 0x3d:\n case 0x3e:\n case 0x3f:\n case 0x40:\n case 0x5b:\n case 0x5c:\n case 0x5d:\n case 0x7b:\n case 0x7d:\n // DQUOTE and \"(),/:;<=>?@[\\]{}\"\n return false\n default:\n // VCHAR %x21-7E\n return c >= 0x21 && c <= 0x7e\n }\n}\n\n/**\n * @param {string} characters\n */\nfunction isValidHTTPToken (characters) {\n if (characters.length === 0) {\n return false\n }\n for (let i = 0; i < characters.length; ++i) {\n if (!isTokenCharCode(characters.charCodeAt(i))) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-name\n * @param {string} potentialValue\n */\nfunction isValidHeaderName (potentialValue) {\n return isValidHTTPToken(potentialValue)\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-value\n * @param {string} potentialValue\n */\nfunction isValidHeaderValue (potentialValue) {\n // - Has no leading or trailing HTTP tab or space bytes.\n // - Contains no 0x00 (NUL) or HTTP newline bytes.\n if (\n potentialValue.startsWith('\\t') ||\n potentialValue.startsWith(' ') ||\n potentialValue.endsWith('\\t') ||\n potentialValue.endsWith(' ')\n ) {\n return false\n }\n\n if (\n potentialValue.includes('\\0') ||\n potentialValue.includes('\\r') ||\n potentialValue.includes('\\n')\n ) {\n return false\n }\n\n return true\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect\nfunction setRequestReferrerPolicyOnRedirect (request, actualResponse) {\n // Given a request request and a response actualResponse, this algorithm\n // updates request’s referrer policy according to the Referrer-Policy\n // header (if any) in actualResponse.\n\n // 1. Let policy be the result of executing § 8.1 Parse a referrer policy\n // from a Referrer-Policy header on actualResponse.\n\n // 8.1 Parse a referrer policy from a Referrer-Policy header\n // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list.\n const { headersList } = actualResponse\n // 2. Let policy be the empty string.\n // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token.\n // 4. Return policy.\n const policyHeader = (headersList.get('referrer-policy') ?? '').split(',')\n\n // Note: As the referrer-policy can contain multiple policies\n // separated by comma, we need to loop through all of them\n // and pick the first valid one.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy\n let policy = ''\n if (policyHeader.length > 0) {\n // The right-most policy takes precedence.\n // The left-most policy is the fallback.\n for (let i = policyHeader.length; i !== 0; i--) {\n const token = policyHeader[i - 1].trim()\n if (referrerPolicyTokens.has(token)) {\n policy = token\n break\n }\n }\n }\n\n // 2. If policy is not the empty string, then set request’s referrer policy to policy.\n if (policy !== '') {\n request.referrerPolicy = policy\n }\n}\n\n// https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check\nfunction crossOriginResourcePolicyCheck () {\n // TODO\n return 'allowed'\n}\n\n// https://fetch.spec.whatwg.org/#concept-cors-check\nfunction corsCheck () {\n // TODO\n return 'success'\n}\n\n// https://fetch.spec.whatwg.org/#concept-tao-check\nfunction TAOCheck () {\n // TODO\n return 'success'\n}\n\nfunction appendFetchMetadata (httpRequest) {\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header\n\n // 1. Assert: r’s url is a potentially trustworthy URL.\n // TODO\n\n // 2. Let header be a Structured Header whose value is a token.\n let header = null\n\n // 3. Set header’s value to r’s mode.\n header = httpRequest.mode\n\n // 4. Set a structured field value `Sec-Fetch-Mode`/header in r’s header list.\n httpRequest.headersList.set('sec-fetch-mode', header)\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header\n // TODO\n}\n\n// https://fetch.spec.whatwg.org/#append-a-request-origin-header\nfunction appendRequestOriginHeader (request) {\n // 1. Let serializedOrigin be the result of byte-serializing a request origin with request.\n let serializedOrigin = request.origin\n\n // 2. If request’s response tainting is \"cors\" or request’s mode is \"websocket\", then append (`Origin`, serializedOrigin) to request’s header list.\n if (request.responseTainting === 'cors' || request.mode === 'websocket') {\n if (serializedOrigin) {\n request.headersList.append('origin', serializedOrigin)\n }\n\n // 3. Otherwise, if request’s method is neither `GET` nor `HEAD`, then:\n } else if (request.method !== 'GET' && request.method !== 'HEAD') {\n // 1. Switch on request’s referrer policy:\n switch (request.referrerPolicy) {\n case 'no-referrer':\n // Set serializedOrigin to `null`.\n serializedOrigin = null\n break\n case 'no-referrer-when-downgrade':\n case 'strict-origin':\n case 'strict-origin-when-cross-origin':\n // If request’s origin is a tuple origin, its scheme is \"https\", and request’s current URL’s scheme is not \"https\", then set serializedOrigin to `null`.\n if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n case 'same-origin':\n // If request’s origin is not same origin with request’s current URL’s origin, then set serializedOrigin to `null`.\n if (!sameOrigin(request, requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n default:\n // Do nothing.\n }\n\n if (serializedOrigin) {\n // 2. Append (`Origin`, serializedOrigin) to request’s header list.\n request.headersList.append('origin', serializedOrigin)\n }\n }\n}\n\nfunction coarsenedSharedCurrentTime (crossOriginIsolatedCapability) {\n // TODO\n return performance.now()\n}\n\n// https://fetch.spec.whatwg.org/#create-an-opaque-timing-info\nfunction createOpaqueTimingInfo (timingInfo) {\n return {\n startTime: timingInfo.startTime ?? 0,\n redirectStartTime: 0,\n redirectEndTime: 0,\n postRedirectStartTime: timingInfo.startTime ?? 0,\n finalServiceWorkerStartTime: 0,\n finalNetworkResponseStartTime: 0,\n finalNetworkRequestStartTime: 0,\n endTime: 0,\n encodedBodySize: 0,\n decodedBodySize: 0,\n finalConnectionTimingInfo: null\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#policy-container\nfunction makePolicyContainer () {\n // Note: the fetch spec doesn't make use of embedder policy or CSP list\n return {\n referrerPolicy: 'strict-origin-when-cross-origin'\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container\nfunction clonePolicyContainer (policyContainer) {\n return {\n referrerPolicy: policyContainer.referrerPolicy\n }\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer\nfunction determineRequestsReferrer (request) {\n // 1. Let policy be request's referrer policy.\n const policy = request.referrerPolicy\n\n // Note: policy cannot (shouldn't) be null or an empty string.\n assert(policy)\n\n // 2. Let environment be request’s client.\n\n let referrerSource = null\n\n // 3. Switch on request’s referrer:\n if (request.referrer === 'client') {\n // Note: node isn't a browser and doesn't implement document/iframes,\n // so we bypass this step and replace it with our own.\n\n const globalOrigin = getGlobalOrigin()\n\n if (!globalOrigin || globalOrigin.origin === 'null') {\n return 'no-referrer'\n }\n\n // note: we need to clone it as it's mutated\n referrerSource = new URL(globalOrigin)\n } else if (request.referrer instanceof URL) {\n // Let referrerSource be request’s referrer.\n referrerSource = request.referrer\n }\n\n // 4. Let request’s referrerURL be the result of stripping referrerSource for\n // use as a referrer.\n let referrerURL = stripURLForReferrer(referrerSource)\n\n // 5. Let referrerOrigin be the result of stripping referrerSource for use as\n // a referrer, with the origin-only flag set to true.\n const referrerOrigin = stripURLForReferrer(referrerSource, true)\n\n // 6. If the result of serializing referrerURL is a string whose length is\n // greater than 4096, set referrerURL to referrerOrigin.\n if (referrerURL.toString().length > 4096) {\n referrerURL = referrerOrigin\n }\n\n const areSameOrigin = sameOrigin(request, referrerURL)\n const isNonPotentiallyTrustWorthy = isURLPotentiallyTrustworthy(referrerURL) &&\n !isURLPotentiallyTrustworthy(request.url)\n\n // 8. Execute the switch statements corresponding to the value of policy:\n switch (policy) {\n case 'origin': return referrerOrigin != null ? referrerOrigin : stripURLForReferrer(referrerSource, true)\n case 'unsafe-url': return referrerURL\n case 'same-origin':\n return areSameOrigin ? referrerOrigin : 'no-referrer'\n case 'origin-when-cross-origin':\n return areSameOrigin ? referrerURL : referrerOrigin\n case 'strict-origin-when-cross-origin': {\n const currentURL = requestCurrentURL(request)\n\n // 1. If the origin of referrerURL and the origin of request’s current\n // URL are the same, then return referrerURL.\n if (sameOrigin(referrerURL, currentURL)) {\n return referrerURL\n }\n\n // 2. If referrerURL is a potentially trustworthy URL and request’s\n // current URL is not a potentially trustworthy URL, then return no\n // referrer.\n if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {\n return 'no-referrer'\n }\n\n // 3. Return referrerOrigin.\n return referrerOrigin\n }\n case 'strict-origin': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request’s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n case 'no-referrer-when-downgrade': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request’s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n\n default: // eslint-disable-line\n return isNonPotentiallyTrustWorthy ? 'no-referrer' : referrerOrigin\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url\n * @param {URL} url\n * @param {boolean|undefined} originOnly\n */\nfunction stripURLForReferrer (url, originOnly) {\n // 1. Assert: url is a URL.\n assert(url instanceof URL)\n\n // 2. If url’s scheme is a local scheme, then return no referrer.\n if (url.protocol === 'file:' || url.protocol === 'about:' || url.protocol === 'blank:') {\n return 'no-referrer'\n }\n\n // 3. Set url’s username to the empty string.\n url.username = ''\n\n // 4. Set url’s password to the empty string.\n url.password = ''\n\n // 5. Set url’s fragment to null.\n url.hash = ''\n\n // 6. If the origin-only flag is true, then:\n if (originOnly) {\n // 1. Set url’s path to « the empty string ».\n url.pathname = ''\n\n // 2. Set url’s query to null.\n url.search = ''\n }\n\n // 7. Return url.\n return url\n}\n\nfunction isURLPotentiallyTrustworthy (url) {\n if (!(url instanceof URL)) {\n return false\n }\n\n // If child of about, return true\n if (url.href === 'about:blank' || url.href === 'about:srcdoc') {\n return true\n }\n\n // If scheme is data, return true\n if (url.protocol === 'data:') return true\n\n // If file, return true\n if (url.protocol === 'file:') return true\n\n return isOriginPotentiallyTrustworthy(url.origin)\n\n function isOriginPotentiallyTrustworthy (origin) {\n // If origin is explicitly null, return false\n if (origin == null || origin === 'null') return false\n\n const originAsURL = new URL(origin)\n\n // If secure, return true\n if (originAsURL.protocol === 'https:' || originAsURL.protocol === 'wss:') {\n return true\n }\n\n // If localhost or variants, return true\n if (/^127(?:\\.[0-9]+){0,2}\\.[0-9]+$|^\\[(?:0*:)*?:?0*1\\]$/.test(originAsURL.hostname) ||\n (originAsURL.hostname === 'localhost' || originAsURL.hostname.includes('localhost.')) ||\n (originAsURL.hostname.endsWith('.localhost'))) {\n return true\n }\n\n // If any other, return false\n return false\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist\n * @param {Uint8Array} bytes\n * @param {string} metadataList\n */\nfunction bytesMatch (bytes, metadataList) {\n // If node is not built with OpenSSL support, we cannot check\n // a request's integrity, so allow it by default (the spec will\n // allow requests if an invalid hash is given, as precedence).\n /* istanbul ignore if: only if node is built with --without-ssl */\n if (crypto === undefined) {\n return true\n }\n\n // 1. Let parsedMetadata be the result of parsing metadataList.\n const parsedMetadata = parseMetadata(metadataList)\n\n // 2. If parsedMetadata is no metadata, return true.\n if (parsedMetadata === 'no metadata') {\n return true\n }\n\n // 3. If response is not eligible for integrity validation, return false.\n // TODO\n\n // 4. If parsedMetadata is the empty set, return true.\n if (parsedMetadata.length === 0) {\n return true\n }\n\n // 5. Let metadata be the result of getting the strongest\n // metadata from parsedMetadata.\n const strongest = getStrongestMetadata(parsedMetadata)\n const metadata = filterMetadataListByAlgorithm(parsedMetadata, strongest)\n\n // 6. For each item in metadata:\n for (const item of metadata) {\n // 1. Let algorithm be the alg component of item.\n const algorithm = item.algo\n\n // 2. Let expectedValue be the val component of item.\n const expectedValue = item.hash\n\n // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e\n // \"be liberal with padding\". This is annoying, and it's not even in the spec.\n\n // 3. Let actualValue be the result of applying algorithm to bytes.\n let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64')\n\n if (actualValue[actualValue.length - 1] === '=') {\n if (actualValue[actualValue.length - 2] === '=') {\n actualValue = actualValue.slice(0, -2)\n } else {\n actualValue = actualValue.slice(0, -1)\n }\n }\n\n // 4. If actualValue is a case-sensitive match for expectedValue,\n // return true.\n if (compareBase64Mixed(actualValue, expectedValue)) {\n return true\n }\n }\n\n // 7. Return false.\n return false\n}\n\n// https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options\n// https://www.w3.org/TR/CSP2/#source-list-syntax\n// https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1\nconst parseHashWithOptions = /(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\\s|$)( +[!-~]*)?)?/i\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata\n * @param {string} metadata\n */\nfunction parseMetadata (metadata) {\n // 1. Let result be the empty set.\n /** @type {{ algo: string, hash: string }[]} */\n const result = []\n\n // 2. Let empty be equal to true.\n let empty = true\n\n // 3. For each token returned by splitting metadata on spaces:\n for (const token of metadata.split(' ')) {\n // 1. Set empty to false.\n empty = false\n\n // 2. Parse token as a hash-with-options.\n const parsedToken = parseHashWithOptions.exec(token)\n\n // 3. If token does not parse, continue to the next token.\n if (\n parsedToken === null ||\n parsedToken.groups === undefined ||\n parsedToken.groups.algo === undefined\n ) {\n // Note: Chromium blocks the request at this point, but Firefox\n // gives a warning that an invalid integrity was given. The\n // correct behavior is to ignore these, and subsequently not\n // check the integrity of the resource.\n continue\n }\n\n // 4. Let algorithm be the hash-algo component of token.\n const algorithm = parsedToken.groups.algo.toLowerCase()\n\n // 5. If algorithm is a hash function recognized by the user\n // agent, add the parsed token to result.\n if (supportedHashes.includes(algorithm)) {\n result.push(parsedToken.groups)\n }\n }\n\n // 4. Return no metadata if empty is true, otherwise return result.\n if (empty === true) {\n return 'no metadata'\n }\n\n return result\n}\n\n/**\n * @param {{ algo: 'sha256' | 'sha384' | 'sha512' }[]} metadataList\n */\nfunction getStrongestMetadata (metadataList) {\n // Let algorithm be the algo component of the first item in metadataList.\n // Can be sha256\n let algorithm = metadataList[0].algo\n // If the algorithm is sha512, then it is the strongest\n // and we can return immediately\n if (algorithm[3] === '5') {\n return algorithm\n }\n\n for (let i = 1; i < metadataList.length; ++i) {\n const metadata = metadataList[i]\n // If the algorithm is sha512, then it is the strongest\n // and we can break the loop immediately\n if (metadata.algo[3] === '5') {\n algorithm = 'sha512'\n break\n // If the algorithm is sha384, then a potential sha256 or sha384 is ignored\n } else if (algorithm[3] === '3') {\n continue\n // algorithm is sha256, check if algorithm is sha384 and if so, set it as\n // the strongest\n } else if (metadata.algo[3] === '3') {\n algorithm = 'sha384'\n }\n }\n return algorithm\n}\n\nfunction filterMetadataListByAlgorithm (metadataList, algorithm) {\n if (metadataList.length === 1) {\n return metadataList\n }\n\n let pos = 0\n for (let i = 0; i < metadataList.length; ++i) {\n if (metadataList[i].algo === algorithm) {\n metadataList[pos++] = metadataList[i]\n }\n }\n\n metadataList.length = pos\n\n return metadataList\n}\n\n/**\n * Compares two base64 strings, allowing for base64url\n * in the second string.\n *\n* @param {string} actualValue always base64\n * @param {string} expectedValue base64 or base64url\n * @returns {boolean}\n */\nfunction compareBase64Mixed (actualValue, expectedValue) {\n if (actualValue.length !== expectedValue.length) {\n return false\n }\n for (let i = 0; i < actualValue.length; ++i) {\n if (actualValue[i] !== expectedValue[i]) {\n if (\n (actualValue[i] === '+' && expectedValue[i] === '-') ||\n (actualValue[i] === '/' && expectedValue[i] === '_')\n ) {\n continue\n }\n return false\n }\n }\n\n return true\n}\n\n// https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request\nfunction tryUpgradeRequestToAPotentiallyTrustworthyURL (request) {\n // TODO\n}\n\n/**\n * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin}\n * @param {URL} A\n * @param {URL} B\n */\nfunction sameOrigin (A, B) {\n // 1. If A and B are the same opaque origin, then return true.\n if (A.origin === B.origin && A.origin === 'null') {\n return true\n }\n\n // 2. If A and B are both tuple origins and their schemes,\n // hosts, and port are identical, then return true.\n if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) {\n return true\n }\n\n // 3. Return false.\n return false\n}\n\nfunction createDeferredPromise () {\n let res\n let rej\n const promise = new Promise((resolve, reject) => {\n res = resolve\n rej = reject\n })\n\n return { promise, resolve: res, reject: rej }\n}\n\nfunction isAborted (fetchParams) {\n return fetchParams.controller.state === 'aborted'\n}\n\nfunction isCancelled (fetchParams) {\n return fetchParams.controller.state === 'aborted' ||\n fetchParams.controller.state === 'terminated'\n}\n\nconst normalizeMethodRecord = {\n delete: 'DELETE',\n DELETE: 'DELETE',\n get: 'GET',\n GET: 'GET',\n head: 'HEAD',\n HEAD: 'HEAD',\n options: 'OPTIONS',\n OPTIONS: 'OPTIONS',\n post: 'POST',\n POST: 'POST',\n put: 'PUT',\n PUT: 'PUT'\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(normalizeMethodRecord, null)\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-method-normalize\n * @param {string} method\n */\nfunction normalizeMethod (method) {\n return normalizeMethodRecord[method.toLowerCase()] ?? method\n}\n\n// https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string\nfunction serializeJavascriptValueToJSONString (value) {\n // 1. Let result be ? Call(%JSON.stringify%, undefined, « value »).\n const result = JSON.stringify(value)\n\n // 2. If result is undefined, then throw a TypeError.\n if (result === undefined) {\n throw new TypeError('Value is not JSON serializable')\n }\n\n // 3. Assert: result is a string.\n assert(typeof result === 'string')\n\n // 4. Return result.\n return result\n}\n\n// https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object\nconst esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))\n\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {() => unknown[]} iterator\n * @param {string} name name of the instance\n * @param {'key'|'value'|'key+value'} kind\n */\nfunction makeIterator (iterator, name, kind) {\n const object = {\n index: 0,\n kind,\n target: iterator\n }\n\n const i = {\n next () {\n // 1. Let interface be the interface for which the iterator prototype object exists.\n\n // 2. Let thisValue be the this value.\n\n // 3. Let object be ? ToObject(thisValue).\n\n // 4. If object is a platform object, then perform a security\n // check, passing:\n\n // 5. If object is not a default iterator object for interface,\n // then throw a TypeError.\n if (Object.getPrototypeOf(this) !== i) {\n throw new TypeError(\n `'next' called on an object that does not implement interface ${name} Iterator.`\n )\n }\n\n // 6. Let index be object’s index.\n // 7. Let kind be object’s kind.\n // 8. Let values be object’s target's value pairs to iterate over.\n const { index, kind, target } = object\n const values = target()\n\n // 9. Let len be the length of values.\n const len = values.length\n\n // 10. If index is greater than or equal to len, then return\n // CreateIterResultObject(undefined, true).\n if (index >= len) {\n return { value: undefined, done: true }\n }\n\n // 11. Let pair be the entry in values at index index.\n const pair = values[index]\n\n // 12. Set object’s index to index + 1.\n object.index = index + 1\n\n // 13. Return the iterator result for pair and kind.\n return iteratorResult(pair, kind)\n },\n // The class string of an iterator prototype object for a given interface is the\n // result of concatenating the identifier of the interface and the string \" Iterator\".\n [Symbol.toStringTag]: `${name} Iterator`\n }\n\n // The [[Prototype]] internal slot of an iterator prototype object must be %IteratorPrototype%.\n Object.setPrototypeOf(i, esIteratorPrototype)\n // esIteratorPrototype needs to be the prototype of i\n // which is the prototype of an empty object. Yes, it's confusing.\n return Object.setPrototypeOf({}, i)\n}\n\n// https://webidl.spec.whatwg.org/#iterator-result\nfunction iteratorResult (pair, kind) {\n let result\n\n // 1. Let result be a value determined by the value of kind:\n switch (kind) {\n case 'key': {\n // 1. Let idlKey be pair’s key.\n // 2. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 3. result is key.\n result = pair[0]\n break\n }\n case 'value': {\n // 1. Let idlValue be pair’s value.\n // 2. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 3. result is value.\n result = pair[1]\n break\n }\n case 'key+value': {\n // 1. Let idlKey be pair’s key.\n // 2. Let idlValue be pair’s value.\n // 3. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 4. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 5. Let array be ! ArrayCreate(2).\n // 6. Call ! CreateDataProperty(array, \"0\", key).\n // 7. Call ! CreateDataProperty(array, \"1\", value).\n // 8. result is array.\n result = pair\n break\n }\n }\n\n // 2. Return CreateIterResultObject(result, false).\n return { value: result, done: false }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#body-fully-read\n */\nasync function fullyReadBody (body, processBody, processBodyError) {\n // 1. If taskDestination is null, then set taskDestination to\n // the result of starting a new parallel queue.\n\n // 2. Let successSteps given a byte sequence bytes be to queue a\n // fetch task to run processBody given bytes, with taskDestination.\n const successSteps = processBody\n\n // 3. Let errorSteps be to queue a fetch task to run processBodyError,\n // with taskDestination.\n const errorSteps = processBodyError\n\n // 4. Let reader be the result of getting a reader for body’s stream.\n // If that threw an exception, then run errorSteps with that\n // exception and return.\n let reader\n\n try {\n reader = body.stream.getReader()\n } catch (e) {\n errorSteps(e)\n return\n }\n\n // 5. Read all bytes from reader, given successSteps and errorSteps.\n try {\n const result = await readAllBytes(reader)\n successSteps(result)\n } catch (e) {\n errorSteps(e)\n }\n}\n\n/** @type {ReadableStream} */\nlet ReadableStream = globalThis.ReadableStream\n\nfunction isReadableStreamLike (stream) {\n if (!ReadableStream) {\n ReadableStream = require('stream/web').ReadableStream\n }\n\n return stream instanceof ReadableStream || (\n stream[Symbol.toStringTag] === 'ReadableStream' &&\n typeof stream.tee === 'function'\n )\n}\n\nconst MAXIMUM_ARGUMENT_LENGTH = 65535\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-decode\n * @param {number[]|Uint8Array} input\n */\nfunction isomorphicDecode (input) {\n // 1. To isomorphic decode a byte sequence input, return a string whose code point\n // length is equal to input’s length and whose code points have the same values\n // as the values of input’s bytes, in the same order.\n\n if (input.length < MAXIMUM_ARGUMENT_LENGTH) {\n return String.fromCharCode(...input)\n }\n\n return input.reduce((previous, current) => previous + String.fromCharCode(current), '')\n}\n\n/**\n * @param {ReadableStreamController} controller\n */\nfunction readableStreamClose (controller) {\n try {\n controller.close()\n } catch (err) {\n // TODO: add comment explaining why this error occurs.\n if (!err.message.includes('Controller is already closed')) {\n throw err\n }\n }\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-encode\n * @param {string} input\n */\nfunction isomorphicEncode (input) {\n // 1. Assert: input contains no code points greater than U+00FF.\n for (let i = 0; i < input.length; i++) {\n assert(input.charCodeAt(i) <= 0xFF)\n }\n\n // 2. Return a byte sequence whose length is equal to input’s code\n // point length and whose bytes have the same values as the\n // values of input’s code points, in the same order\n return input\n}\n\n/**\n * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes\n * @see https://streams.spec.whatwg.org/#read-loop\n * @param {ReadableStreamDefaultReader} reader\n */\nasync function readAllBytes (reader) {\n const bytes = []\n let byteLength = 0\n\n while (true) {\n const { done, value: chunk } = await reader.read()\n\n if (done) {\n // 1. Call successSteps with bytes.\n return Buffer.concat(bytes, byteLength)\n }\n\n // 1. If chunk is not a Uint8Array object, call failureSteps\n // with a TypeError and abort these steps.\n if (!isUint8Array(chunk)) {\n throw new TypeError('Received non-Uint8Array chunk')\n }\n\n // 2. Append the bytes represented by chunk to bytes.\n bytes.push(chunk)\n byteLength += chunk.length\n\n // 3. Read-loop given reader, bytes, successSteps, and failureSteps.\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#is-local\n * @param {URL} url\n */\nfunction urlIsLocal (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'about:' || protocol === 'blob:' || protocol === 'data:'\n}\n\n/**\n * @param {string|URL} url\n */\nfunction urlHasHttpsScheme (url) {\n if (typeof url === 'string') {\n return url.startsWith('https:')\n }\n\n return url.protocol === 'https:'\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-scheme\n * @param {URL} url\n */\nfunction urlIsHttpHttpsScheme (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'http:' || protocol === 'https:'\n}\n\n/**\n * Fetch supports node >= 16.8.0, but Object.hasOwn was added in v16.9.0.\n */\nconst hasOwn = Object.hasOwn || ((dict, key) => Object.prototype.hasOwnProperty.call(dict, key))\n\nmodule.exports = {\n isAborted,\n isCancelled,\n createDeferredPromise,\n ReadableStreamFrom,\n toUSVString,\n tryUpgradeRequestToAPotentiallyTrustworthyURL,\n coarsenedSharedCurrentTime,\n determineRequestsReferrer,\n makePolicyContainer,\n clonePolicyContainer,\n appendFetchMetadata,\n appendRequestOriginHeader,\n TAOCheck,\n corsCheck,\n crossOriginResourcePolicyCheck,\n createOpaqueTimingInfo,\n setRequestReferrerPolicyOnRedirect,\n isValidHTTPToken,\n requestBadPort,\n requestCurrentURL,\n responseURL,\n responseLocationURL,\n isBlobLike,\n isURLPotentiallyTrustworthy,\n isValidReasonPhrase,\n sameOrigin,\n normalizeMethod,\n serializeJavascriptValueToJSONString,\n makeIterator,\n isValidHeaderName,\n isValidHeaderValue,\n hasOwn,\n isErrorLike,\n fullyReadBody,\n bytesMatch,\n isReadableStreamLike,\n readableStreamClose,\n isomorphicEncode,\n isomorphicDecode,\n urlIsLocal,\n urlHasHttpsScheme,\n urlIsHttpHttpsScheme,\n readAllBytes,\n normalizeMethodRecord,\n parseMetadata\n}\n","'use strict'\n\nconst { MessageChannel, receiveMessageOnPort } = require('worker_threads')\n\nconst corsSafeListedMethods = ['GET', 'HEAD', 'POST']\nconst corsSafeListedMethodsSet = new Set(corsSafeListedMethods)\n\nconst nullBodyStatus = [101, 204, 205, 304]\n\nconst redirectStatus = [301, 302, 303, 307, 308]\nconst redirectStatusSet = new Set(redirectStatus)\n\n// https://fetch.spec.whatwg.org/#block-bad-port\nconst badPorts = [\n '1', '7', '9', '11', '13', '15', '17', '19', '20', '21', '22', '23', '25', '37', '42', '43', '53', '69', '77', '79',\n '87', '95', '101', '102', '103', '104', '109', '110', '111', '113', '115', '117', '119', '123', '135', '137',\n '139', '143', '161', '179', '389', '427', '465', '512', '513', '514', '515', '526', '530', '531', '532',\n '540', '548', '554', '556', '563', '587', '601', '636', '989', '990', '993', '995', '1719', '1720', '1723',\n '2049', '3659', '4045', '5060', '5061', '6000', '6566', '6665', '6666', '6667', '6668', '6669', '6697',\n '10080'\n]\n\nconst badPortsSet = new Set(badPorts)\n\n// https://w3c.github.io/webappsec-referrer-policy/#referrer-policies\nconst referrerPolicy = [\n '',\n 'no-referrer',\n 'no-referrer-when-downgrade',\n 'same-origin',\n 'origin',\n 'strict-origin',\n 'origin-when-cross-origin',\n 'strict-origin-when-cross-origin',\n 'unsafe-url'\n]\nconst referrerPolicySet = new Set(referrerPolicy)\n\nconst requestRedirect = ['follow', 'manual', 'error']\n\nconst safeMethods = ['GET', 'HEAD', 'OPTIONS', 'TRACE']\nconst safeMethodsSet = new Set(safeMethods)\n\nconst requestMode = ['navigate', 'same-origin', 'no-cors', 'cors']\n\nconst requestCredentials = ['omit', 'same-origin', 'include']\n\nconst requestCache = [\n 'default',\n 'no-store',\n 'reload',\n 'no-cache',\n 'force-cache',\n 'only-if-cached'\n]\n\n// https://fetch.spec.whatwg.org/#request-body-header-name\nconst requestBodyHeader = [\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n // See https://github.com/nodejs/undici/issues/2021\n // 'Content-Length' is a forbidden header name, which is typically\n // removed in the Headers implementation. However, undici doesn't\n // filter out headers, so we add it here.\n 'content-length'\n]\n\n// https://fetch.spec.whatwg.org/#enumdef-requestduplex\nconst requestDuplex = [\n 'half'\n]\n\n// http://fetch.spec.whatwg.org/#forbidden-method\nconst forbiddenMethods = ['CONNECT', 'TRACE', 'TRACK']\nconst forbiddenMethodsSet = new Set(forbiddenMethods)\n\nconst subresource = [\n 'audio',\n 'audioworklet',\n 'font',\n 'image',\n 'manifest',\n 'paintworklet',\n 'script',\n 'style',\n 'track',\n 'video',\n 'xslt',\n ''\n]\nconst subresourceSet = new Set(subresource)\n\n/** @type {globalThis['DOMException']} */\nconst DOMException = globalThis.DOMException ?? (() => {\n // DOMException was only made a global in Node v17.0.0,\n // but fetch supports >= v16.8.\n try {\n atob('~')\n } catch (err) {\n return Object.getPrototypeOf(err).constructor\n }\n})()\n\nlet channel\n\n/** @type {globalThis['structuredClone']} */\nconst structuredClone =\n globalThis.structuredClone ??\n // https://github.com/nodejs/node/blob/b27ae24dcc4251bad726d9d84baf678d1f707fed/lib/internal/structured_clone.js\n // structuredClone was added in v17.0.0, but fetch supports v16.8\n function structuredClone (value, options = undefined) {\n if (arguments.length === 0) {\n throw new TypeError('missing argument')\n }\n\n if (!channel) {\n channel = new MessageChannel()\n }\n channel.port1.unref()\n channel.port2.unref()\n channel.port1.postMessage(value, options?.transfer)\n return receiveMessageOnPort(channel.port2).message\n }\n\nmodule.exports = {\n DOMException,\n structuredClone,\n subresource,\n forbiddenMethods,\n requestBodyHeader,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n redirectStatus,\n corsSafeListedMethods,\n nullBodyStatus,\n safeMethods,\n badPorts,\n requestDuplex,\n subresourceSet,\n badPortsSet,\n redirectStatusSet,\n corsSafeListedMethodsSet,\n safeMethodsSet,\n forbiddenMethodsSet,\n referrerPolicySet\n}\n","'use strict'\n\n// In case of breaking changes, increase the version\n// number to avoid conflicts.\nconst globalOrigin = Symbol.for('undici.globalOrigin.1')\n\nfunction getGlobalOrigin () {\n return globalThis[globalOrigin]\n}\n\nfunction setGlobalOrigin (newOrigin) {\n if (newOrigin === undefined) {\n Object.defineProperty(globalThis, globalOrigin, {\n value: undefined,\n writable: true,\n enumerable: false,\n configurable: false\n })\n\n return\n }\n\n const parsedURL = new URL(newOrigin)\n\n if (parsedURL.protocol !== 'http:' && parsedURL.protocol !== 'https:') {\n throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`)\n }\n\n Object.defineProperty(globalThis, globalOrigin, {\n value: parsedURL,\n writable: true,\n enumerable: false,\n configurable: false\n })\n}\n\nmodule.exports = {\n getGlobalOrigin,\n setGlobalOrigin\n}\n","'use strict';\n\nvar getPolyfill = require('./polyfill');\n\nvar polyfill = getPolyfill();\n\nmodule.exports = polyfill;\n","'use strict';\n\nvar util = require('util');\nvar types = require('./types');\n\nfunction getPolyfill() {\n if (typeof util.types === 'object') return util.types;\n return types;\n}\n\nmodule.exports = getPolyfill;\n","'use strict';\n\n// see https://github.com/isaacs/core-util-is/blob/master/lib/util.js\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\nmodule.exports.isExternal = function isExternal() {};\n\nmodule.exports.isDate = function isDate(d) {\n return objectToString(d) === '[object Date]' && d instanceof Date;\n};\n\nmodule.exports.isArgumentsObject = function isArgumentsObject(a) {\n return objectToString(a) === '[object Arguments]';\n};\n\nmodule.exports.isBooleanObject = function isBooleanObject(b) {\n return objectToString(b) === '[object Boolean]' && b instanceof Boolean;\n};\n\nmodule.exports.isNumberObject = function isNumberObject(n) {\n return objectToString(n) === '[object Number]' && n instanceof Number;\n};\n\nmodule.exports.isStringObject = function isStringObject(s) {\n return objectToString(s) === '[object String]' && s instanceof String;\n};\n\nmodule.exports.isSymbolObject = function isSymbolObject(s) {\n return objectToString(s) === '[object Symbol]' && s instanceof Symbol;\n};\n\nmodule.exports.isNativeError = function isNativeError(e) {\n return objectToString(e) === '[object Error]' && e instanceof Error;\n};\n\nmodule.exports.isRegExp = function isRegExp(r) {\n return objectToString(r) === '[object RegExp]' && r instanceof RegExp;\n};\n\nmodule.exports.isAsyncFunction = function isAsyncFunction(a) {\n return objectToString(a) === '[object AsyncFunction]';\n};\n\nmodule.exports.isGeneratorFunction = function isGeneratorFunction(g) {\n return objectToString(g) === '[object GeneratorFunction]';\n};\n\nmodule.exports.isGeneratorObject = function isGeneratorObject(g) {\n return objectToString(g) === '[object Generator]';\n};\n\nmodule.exports.isPromise = function isPromise(p) {\n return objectToString(p) === '[object Promise]';\n};\n\nmodule.exports.isMap = function isMap(m) {\n return objectToString(m) === '[object Map]' && m instanceof Map;\n};\n\nmodule.exports.isSet = function isSet(s) {\n return objectToString(s) === '[object Set]' && s instanceof Set;\n};\n\nmodule.exports.isMapIterator = function isMapIterator(m) {\n return objectToString(m) === '[object Map Iterator]';\n};\n\nmodule.exports.isSetIterator = function isSetIterator(s) {\n return objectToString(s) === '[object Set Iterator]';\n};\n\nmodule.exports.isWeakMap = function isWeakMap(w) {\n return objectToString(w) === '[object WeakMap]';\n};\n\nmodule.exports.isWeakSet = function isWeakSet(w) {\n return objectToString(w) === '[object WeakSet]';\n};\n\nmodule.exports.isArrayBuffer = function isArrayBuffer(a) {\n return objectToString(a) === '[object ArrayBuffer]' && a instanceof ArrayBuffer;\n};\n\nmodule.exports.isDataView = function isDataView(d) {\n return objectToString(d) === '[object DataView]' && d instanceof DataView;\n};\n\nmodule.exports.isSharedArrayBuffer = function isSharedArrayBuffer(s) {\n return objectToString(s) === '[object SharedArrayBuffer]' && s instanceof SharedArrayBuffer;\n};\n\nmodule.exports.isProxy = function isProxy() {};\n\nmodule.exports.isWebAssemblyCompiledModule = function isWebAssemblyCompiledModule(w) {\n return objectToString(w) === '[object WebAssembly.Module]';\n};\n\nmodule.exports.isModuleNamespaceObject = function isModuleNamespaceObject() {};\n\nmodule.exports.isAnyArrayBuffer = function isAnyArrayBuffer() {};\n\n// dataView, int32Array, uint8Array, buffer,\n// stealthyDataView, stealthyInt32Array, stealthyUint8Array\nmodule.exports.isArrayBufferView = function isArrayBufferView() {};\n\n// int32Array, uint8Array, buffer, stealthyInt32Array, stealthyUint8Array\n// see https://github.com/lodash/lodash/blob/master/isTypedArray.js\nmodule.exports.isTypedArray = function isTypedArray(t) {\n const tags = /^\\[object (?:Float(?:32|64)Array|(?:Int|Uint)(?:8|16|32)Array|Uint8ClampedArray)\\]$/;\n\n return tags.test(objectToString(t));\n};\n\nmodule.exports.isUint8Array = function isUint8Array(u) {\n return objectToString(u) === '[object Uint8Array]' && u instanceof Uint8Array;\n};\n\nmodule.exports.isUint8ClampedArray = function isUint8ClampedArray(u) {\n return objectToString(u) === '[object Uint8ClampedArray]' && u instanceof Uint8ClampedArray;\n};\n\nmodule.exports.isUint16Array = function isUint16Array(u) {\n return objectToString(u) === '[object Uint16Array]' && u instanceof Uint16Array;\n};\n\nmodule.exports.isUint32Array = function isUint32Array(u) {\n return objectToString(u) === '[object Uint32Array]' && u instanceof Uint32Array;\n};\n\nmodule.exports.isInt8Array = function isInt8Array(i) {\n return objectToString(i) === '[object Int8Array]' && i instanceof Int8Array;\n};\n\nmodule.exports.isInt16Array = function isInt16Array(i) {\n return objectToString(i) === '[object Int16Array]' && i instanceof Int16Array;\n};\n\nmodule.exports.isInt32Array = function isInt32Array(i) {\n return objectToString(i) === '[object Int32Array]' && i instanceof Int32Array;\n};\n\nmodule.exports.isFloat32Array = function isFloat32Array(i) {\n return objectToString(i) === '[object Float32Array]' && i instanceof Float32Array;\n};\n\nmodule.exports.isFloat64Array = function isFloat64Array(i) {\n return objectToString(i) === '[object Float64Array]' && i instanceof Float64Array;\n};\n\nmodule.exports.isBigInt64Array = function isBigInt64Array(i) {\n return objectToString(i) === '[object Float64Array]' && i instanceof Float64Array;\n};\n\n// currently, Node.js requires `--harmony-bigint`\nmodule.exports.isBigUint64Array = function isBigUint64Array() {};\n","'use strict'\n\nconst { isBlobLike, toUSVString, makeIterator } = require('./util')\nconst { kState } = require('./symbols')\nconst { File: UndiciFile, FileLike, isFileLike } = require('./file')\nconst { webidl } = require('./webidl')\nconst { Blob, File: NativeFile } = require('buffer')\n\n/** @type {globalThis['File']} */\nconst File = NativeFile ?? UndiciFile\n\n// https://xhr.spec.whatwg.org/#formdata\nclass FormData {\n constructor (form) {\n if (form !== undefined) {\n throw webidl.errors.conversionFailed({\n prefix: 'FormData constructor',\n argument: 'Argument 1',\n types: ['undefined']\n })\n }\n\n this[kState] = []\n }\n\n append (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n webidl.argumentLengthCheck(arguments, 2, { header: 'FormData.append' })\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name)\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, { strict: false })\n : webidl.converters.USVString(value)\n filename = arguments.length === 3\n ? webidl.converters.USVString(filename)\n : undefined\n\n // 2. Let entry be the result of creating an entry with\n // name, value, and filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. Append entry to this’s entry list.\n this[kState].push(entry)\n }\n\n delete (name) {\n webidl.brandCheck(this, FormData)\n\n webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.delete' })\n\n name = webidl.converters.USVString(name)\n\n // The delete(name) method steps are to remove all entries whose name\n // is name from this’s entry list.\n this[kState] = this[kState].filter(entry => entry.name !== name)\n }\n\n get (name) {\n webidl.brandCheck(this, FormData)\n\n webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.get' })\n\n name = webidl.converters.USVString(name)\n\n // 1. If there is no entry whose name is name in this’s entry list,\n // then return null.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx === -1) {\n return null\n }\n\n // 2. Return the value of the first entry whose name is name from\n // this’s entry list.\n return this[kState][idx].value\n }\n\n getAll (name) {\n webidl.brandCheck(this, FormData)\n\n webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.getAll' })\n\n name = webidl.converters.USVString(name)\n\n // 1. If there is no entry whose name is name in this’s entry list,\n // then return the empty list.\n // 2. Return the values of all entries whose name is name, in order,\n // from this’s entry list.\n return this[kState]\n .filter((entry) => entry.name === name)\n .map((entry) => entry.value)\n }\n\n has (name) {\n webidl.brandCheck(this, FormData)\n\n webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.has' })\n\n name = webidl.converters.USVString(name)\n\n // The has(name) method steps are to return true if there is an entry\n // whose name is name in this’s entry list; otherwise false.\n return this[kState].findIndex((entry) => entry.name === name) !== -1\n }\n\n set (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n webidl.argumentLengthCheck(arguments, 2, { header: 'FormData.set' })\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // The set(name, value) and set(name, blobValue, filename) method steps\n // are:\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name)\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, { strict: false })\n : webidl.converters.USVString(value)\n filename = arguments.length === 3\n ? toUSVString(filename)\n : undefined\n\n // 2. Let entry be the result of creating an entry with name, value, and\n // filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. If there are entries in this’s entry list whose name is name, then\n // replace the first such entry with entry and remove the others.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx !== -1) {\n this[kState] = [\n ...this[kState].slice(0, idx),\n entry,\n ...this[kState].slice(idx + 1).filter((entry) => entry.name !== name)\n ]\n } else {\n // 4. Otherwise, append entry to this’s entry list.\n this[kState].push(entry)\n }\n }\n\n entries () {\n webidl.brandCheck(this, FormData)\n\n return makeIterator(\n () => this[kState].map(pair => [pair.name, pair.value]),\n 'FormData',\n 'key+value'\n )\n }\n\n keys () {\n webidl.brandCheck(this, FormData)\n\n return makeIterator(\n () => this[kState].map(pair => [pair.name, pair.value]),\n 'FormData',\n 'key'\n )\n }\n\n values () {\n webidl.brandCheck(this, FormData)\n\n return makeIterator(\n () => this[kState].map(pair => [pair.name, pair.value]),\n 'FormData',\n 'value'\n )\n }\n\n /**\n * @param {(value: string, key: string, self: FormData) => void} callbackFn\n * @param {unknown} thisArg\n */\n forEach (callbackFn, thisArg = globalThis) {\n webidl.brandCheck(this, FormData)\n\n webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.forEach' })\n\n if (typeof callbackFn !== 'function') {\n throw new TypeError(\n \"Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.\"\n )\n }\n\n for (const [key, value] of this) {\n callbackFn.apply(thisArg, [value, key, this])\n }\n }\n}\n\nFormData.prototype[Symbol.iterator] = FormData.prototype.entries\n\nObject.defineProperties(FormData.prototype, {\n [Symbol.toStringTag]: {\n value: 'FormData',\n configurable: true\n }\n})\n\n/**\n * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#create-an-entry\n * @param {string} name\n * @param {string|Blob} value\n * @param {?string} filename\n * @returns\n */\nfunction makeEntry (name, value, filename) {\n // 1. Set name to the result of converting name into a scalar value string.\n // \"To convert a string into a scalar value string, replace any surrogates\n // with U+FFFD.\"\n // see: https://nodejs.org/dist/latest-v18.x/docs/api/buffer.html#buftostringencoding-start-end\n name = Buffer.from(name).toString('utf8')\n\n // 2. If value is a string, then set value to the result of converting\n // value into a scalar value string.\n if (typeof value === 'string') {\n value = Buffer.from(value).toString('utf8')\n } else {\n // 3. Otherwise:\n\n // 1. If value is not a File object, then set value to a new File object,\n // representing the same bytes, whose name attribute value is \"blob\"\n if (!isFileLike(value)) {\n value = value instanceof Blob\n ? new File([value], 'blob', { type: value.type })\n : new FileLike(value, 'blob', { type: value.type })\n }\n\n // 2. If filename is given, then set value to a new File object,\n // representing the same bytes, whose name attribute is filename.\n if (filename !== undefined) {\n /** @type {FilePropertyBag} */\n const options = {\n type: value.type,\n lastModified: value.lastModified\n }\n\n value = (NativeFile && value instanceof NativeFile) || value instanceof UndiciFile\n ? new File([value], filename, options)\n : new FileLike(value, filename, options)\n }\n }\n\n // 4. Return an entry whose name is name and whose value is value.\n return { name, value }\n}\n\nmodule.exports = { FormData }\n","'use strict'\n\nmodule.exports = {\n kUrl: Symbol('url'),\n kHeaders: Symbol('headers'),\n kSignal: Symbol('signal'),\n kState: Symbol('state'),\n kGuard: Symbol('guard'),\n kRealm: Symbol('realm')\n}\n","'use strict'\n\nconst { Blob, File: NativeFile } = require('buffer')\nconst { types } = require('util')\nconst { kState } = require('./symbols')\nconst { isBlobLike } = require('./util')\nconst { webidl } = require('./webidl')\nconst { parseMIMEType, serializeAMimeType } = require('./dataURL')\nconst { kEnumerableProperty } = require('../core/util')\nconst encoder = new TextEncoder()\n\nclass File extends Blob {\n constructor (fileBits, fileName, options = {}) {\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n webidl.argumentLengthCheck(arguments, 2, { header: 'File constructor' })\n\n fileBits = webidl.converters['sequence'](fileBits)\n fileName = webidl.converters.USVString(fileName)\n options = webidl.converters.FilePropertyBag(options)\n\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n // Note: Blob handles this for us\n\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName\n\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // 2. Convert every character in t to ASCII lowercase.\n let t = options.type\n let d\n\n // eslint-disable-next-line no-labels\n substep: {\n if (t) {\n t = parseMIMEType(t)\n\n if (t === 'failure') {\n t = ''\n // eslint-disable-next-line no-labels\n break substep\n }\n\n t = serializeAMimeType(t).toLowerCase()\n }\n\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n d = options.lastModified\n }\n\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n\n super(processBlobParts(fileBits, options), { type: t })\n this[kState] = {\n name: n,\n lastModified: d,\n type: t\n }\n }\n\n get name () {\n webidl.brandCheck(this, File)\n\n return this[kState].name\n }\n\n get lastModified () {\n webidl.brandCheck(this, File)\n\n return this[kState].lastModified\n }\n\n get type () {\n webidl.brandCheck(this, File)\n\n return this[kState].type\n }\n}\n\nclass FileLike {\n constructor (blobLike, fileName, options = {}) {\n // TODO: argument idl type check\n\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName\n\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // TODO\n const t = options.type\n\n // 2. Convert every character in t to ASCII lowercase.\n // TODO\n\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n const d = options.lastModified ?? Date.now()\n\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n\n this[kState] = {\n blobLike,\n name: n,\n type: t,\n lastModified: d\n }\n }\n\n stream (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.stream(...args)\n }\n\n arrayBuffer (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.arrayBuffer(...args)\n }\n\n slice (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.slice(...args)\n }\n\n text (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.text(...args)\n }\n\n get size () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.size\n }\n\n get type () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.type\n }\n\n get name () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].name\n }\n\n get lastModified () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].lastModified\n }\n\n get [Symbol.toStringTag] () {\n return 'File'\n }\n}\n\nObject.defineProperties(File.prototype, {\n [Symbol.toStringTag]: {\n value: 'File',\n configurable: true\n },\n name: kEnumerableProperty,\n lastModified: kEnumerableProperty\n})\n\nwebidl.converters.Blob = webidl.interfaceConverter(Blob)\n\nwebidl.converters.BlobPart = function (V, opts) {\n if (webidl.util.Type(V) === 'Object') {\n if (isBlobLike(V)) {\n return webidl.converters.Blob(V, { strict: false })\n }\n\n if (\n ArrayBuffer.isView(V) ||\n types.isAnyArrayBuffer(V)\n ) {\n return webidl.converters.BufferSource(V, opts)\n }\n }\n\n return webidl.converters.USVString(V, opts)\n}\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.BlobPart\n)\n\n// https://www.w3.org/TR/FileAPI/#dfn-FilePropertyBag\nwebidl.converters.FilePropertyBag = webidl.dictionaryConverter([\n {\n key: 'lastModified',\n converter: webidl.converters['long long'],\n get defaultValue () {\n return Date.now()\n }\n },\n {\n key: 'type',\n converter: webidl.converters.DOMString,\n defaultValue: ''\n },\n {\n key: 'endings',\n converter: (value) => {\n value = webidl.converters.DOMString(value)\n value = value.toLowerCase()\n\n if (value !== 'native') {\n value = 'transparent'\n }\n\n return value\n },\n defaultValue: 'transparent'\n }\n])\n\n/**\n * @see https://www.w3.org/TR/FileAPI/#process-blob-parts\n * @param {(NodeJS.TypedArray|Blob|string)[]} parts\n * @param {{ type: string, endings: string }} options\n */\nfunction processBlobParts (parts, options) {\n // 1. Let bytes be an empty sequence of bytes.\n /** @type {NodeJS.TypedArray[]} */\n const bytes = []\n\n // 2. For each element in parts:\n for (const element of parts) {\n // 1. If element is a USVString, run the following substeps:\n if (typeof element === 'string') {\n // 1. Let s be element.\n let s = element\n\n // 2. If the endings member of options is \"native\", set s\n // to the result of converting line endings to native\n // of element.\n if (options.endings === 'native') {\n s = convertLineEndingsNative(s)\n }\n\n // 3. Append the result of UTF-8 encoding s to bytes.\n bytes.push(encoder.encode(s))\n } else if (\n types.isAnyArrayBuffer(element) ||\n types.isTypedArray(element)\n ) {\n // 2. If element is a BufferSource, get a copy of the\n // bytes held by the buffer source, and append those\n // bytes to bytes.\n if (!element.buffer) { // ArrayBuffer\n bytes.push(new Uint8Array(element))\n } else {\n bytes.push(\n new Uint8Array(element.buffer, element.byteOffset, element.byteLength)\n )\n }\n } else if (isBlobLike(element)) {\n // 3. If element is a Blob, append the bytes it represents\n // to bytes.\n bytes.push(element)\n }\n }\n\n // 3. Return bytes.\n return bytes\n}\n\n/**\n * @see https://www.w3.org/TR/FileAPI/#convert-line-endings-to-native\n * @param {string} s\n */\nfunction convertLineEndingsNative (s) {\n // 1. Let native line ending be be the code point U+000A LF.\n let nativeLineEnding = '\\n'\n\n // 2. If the underlying platform’s conventions are to\n // represent newlines as a carriage return and line feed\n // sequence, set native line ending to the code point\n // U+000D CR followed by the code point U+000A LF.\n if (process.platform === 'win32') {\n nativeLineEnding = '\\r\\n'\n }\n\n return s.replace(/\\r?\\n/g, nativeLineEnding)\n}\n\n// If this function is moved to ./util.js, some tools (such as\n// rollup) will warn about circular dependencies. See:\n// https://github.com/nodejs/undici/issues/1629\nfunction isFileLike (object) {\n return (\n (NativeFile && object instanceof NativeFile) ||\n object instanceof File || (\n object &&\n (typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function') &&\n object[Symbol.toStringTag] === 'File'\n )\n )\n}\n\nmodule.exports = { File, FileLike, isFileLike }\n","'use strict'\n\nconst { types } = require('util')\nconst { hasOwn, toUSVString } = require('./util')\n\n/** @type {import('../../types/webidl').Webidl} */\nconst webidl = {}\nwebidl.converters = {}\nwebidl.util = {}\nwebidl.errors = {}\n\nwebidl.errors.exception = function (message) {\n return new TypeError(`${message.header}: ${message.message}`)\n}\n\nwebidl.errors.conversionFailed = function (context) {\n const plural = context.types.length === 1 ? '' : ' one of'\n const message =\n `${context.argument} could not be converted to` +\n `${plural}: ${context.types.join(', ')}.`\n\n return webidl.errors.exception({\n header: context.prefix,\n message\n })\n}\n\nwebidl.errors.invalidArgument = function (context) {\n return webidl.errors.exception({\n header: context.prefix,\n message: `\"${context.value}\" is an invalid ${context.type}.`\n })\n}\n\n// https://webidl.spec.whatwg.org/#implements\nwebidl.brandCheck = function (V, I, opts = undefined) {\n if (opts?.strict !== false && !(V instanceof I)) {\n throw new TypeError('Illegal invocation')\n } else {\n return V?.[Symbol.toStringTag] === I.prototype[Symbol.toStringTag]\n }\n}\n\nwebidl.argumentLengthCheck = function ({ length }, min, ctx) {\n if (length < min) {\n throw webidl.errors.exception({\n message: `${min} argument${min !== 1 ? 's' : ''} required, ` +\n `but${length ? ' only' : ''} ${length} found.`,\n ...ctx\n })\n }\n}\n\nwebidl.illegalConstructor = function () {\n throw webidl.errors.exception({\n header: 'TypeError',\n message: 'Illegal constructor'\n })\n}\n\n// https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values\nwebidl.util.Type = function (V) {\n switch (typeof V) {\n case 'undefined': return 'Undefined'\n case 'boolean': return 'Boolean'\n case 'string': return 'String'\n case 'symbol': return 'Symbol'\n case 'number': return 'Number'\n case 'bigint': return 'BigInt'\n case 'function':\n case 'object': {\n if (V === null) {\n return 'Null'\n }\n\n return 'Object'\n }\n }\n}\n\n// https://webidl.spec.whatwg.org/#abstract-opdef-converttoint\nwebidl.util.ConvertToInt = function (V, bitLength, signedness, opts = {}) {\n let upperBound\n let lowerBound\n\n // 1. If bitLength is 64, then:\n if (bitLength === 64) {\n // 1. Let upperBound be 2^53 − 1.\n upperBound = Math.pow(2, 53) - 1\n\n // 2. If signedness is \"unsigned\", then let lowerBound be 0.\n if (signedness === 'unsigned') {\n lowerBound = 0\n } else {\n // 3. Otherwise let lowerBound be −2^53 + 1.\n lowerBound = Math.pow(-2, 53) + 1\n }\n } else if (signedness === 'unsigned') {\n // 2. Otherwise, if signedness is \"unsigned\", then:\n\n // 1. Let lowerBound be 0.\n lowerBound = 0\n\n // 2. Let upperBound be 2^bitLength − 1.\n upperBound = Math.pow(2, bitLength) - 1\n } else {\n // 3. Otherwise:\n\n // 1. Let lowerBound be -2^bitLength − 1.\n lowerBound = Math.pow(-2, bitLength) - 1\n\n // 2. Let upperBound be 2^bitLength − 1 − 1.\n upperBound = Math.pow(2, bitLength - 1) - 1\n }\n\n // 4. Let x be ? ToNumber(V).\n let x = Number(V)\n\n // 5. If x is −0, then set x to +0.\n if (x === 0) {\n x = 0\n }\n\n // 6. If the conversion is to an IDL type associated\n // with the [EnforceRange] extended attribute, then:\n if (opts.enforceRange === true) {\n // 1. If x is NaN, +∞, or −∞, then throw a TypeError.\n if (\n Number.isNaN(x) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Could not convert ${V} to an integer.`\n })\n }\n\n // 2. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 3. If x < lowerBound or x > upperBound, then\n // throw a TypeError.\n if (x < lowerBound || x > upperBound) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Value must be between ${lowerBound}-${upperBound}, got ${x}.`\n })\n }\n\n // 4. Return x.\n return x\n }\n\n // 7. If x is not NaN and the conversion is to an IDL\n // type associated with the [Clamp] extended\n // attribute, then:\n if (!Number.isNaN(x) && opts.clamp === true) {\n // 1. Set x to min(max(x, lowerBound), upperBound).\n x = Math.min(Math.max(x, lowerBound), upperBound)\n\n // 2. Round x to the nearest integer, choosing the\n // even integer if it lies halfway between two,\n // and choosing +0 rather than −0.\n if (Math.floor(x) % 2 === 0) {\n x = Math.floor(x)\n } else {\n x = Math.ceil(x)\n }\n\n // 3. Return x.\n return x\n }\n\n // 8. If x is NaN, +0, +∞, or −∞, then return +0.\n if (\n Number.isNaN(x) ||\n (x === 0 && Object.is(0, x)) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n return 0\n }\n\n // 9. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 10. Set x to x modulo 2^bitLength.\n x = x % Math.pow(2, bitLength)\n\n // 11. If signedness is \"signed\" and x ≥ 2^bitLength − 1,\n // then return x − 2^bitLength.\n if (signedness === 'signed' && x >= Math.pow(2, bitLength) - 1) {\n return x - Math.pow(2, bitLength)\n }\n\n // 12. Otherwise, return x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#abstract-opdef-integerpart\nwebidl.util.IntegerPart = function (n) {\n // 1. Let r be floor(abs(n)).\n const r = Math.floor(Math.abs(n))\n\n // 2. If n < 0, then return -1 × r.\n if (n < 0) {\n return -1 * r\n }\n\n // 3. Otherwise, return r.\n return r\n}\n\n// https://webidl.spec.whatwg.org/#es-sequence\nwebidl.sequenceConverter = function (converter) {\n return (V) => {\n // 1. If Type(V) is not Object, throw a TypeError.\n if (webidl.util.Type(V) !== 'Object') {\n throw webidl.errors.exception({\n header: 'Sequence',\n message: `Value of type ${webidl.util.Type(V)} is not an Object.`\n })\n }\n\n // 2. Let method be ? GetMethod(V, @@iterator).\n /** @type {Generator} */\n const method = V?.[Symbol.iterator]?.()\n const seq = []\n\n // 3. If method is undefined, throw a TypeError.\n if (\n method === undefined ||\n typeof method.next !== 'function'\n ) {\n throw webidl.errors.exception({\n header: 'Sequence',\n message: 'Object is not an iterator.'\n })\n }\n\n // https://webidl.spec.whatwg.org/#create-sequence-from-iterable\n while (true) {\n const { done, value } = method.next()\n\n if (done) {\n break\n }\n\n seq.push(converter(value))\n }\n\n return seq\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-to-record\nwebidl.recordConverter = function (keyConverter, valueConverter) {\n return (O) => {\n // 1. If Type(O) is not Object, throw a TypeError.\n if (webidl.util.Type(O) !== 'Object') {\n throw webidl.errors.exception({\n header: 'Record',\n message: `Value of type ${webidl.util.Type(O)} is not an Object.`\n })\n }\n\n // 2. Let result be a new empty instance of record.\n const result = {}\n\n if (!types.isProxy(O)) {\n // Object.keys only returns enumerable properties\n const keys = Object.keys(O)\n\n for (const key of keys) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key])\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n\n // 5. Return result.\n return result\n }\n\n // 3. Let keys be ? O.[[OwnPropertyKeys]]().\n const keys = Reflect.ownKeys(O)\n\n // 4. For each key of keys.\n for (const key of keys) {\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const desc = Reflect.getOwnPropertyDescriptor(O, key)\n\n // 2. If desc is not undefined and desc.[[Enumerable]] is true:\n if (desc?.enumerable) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key])\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n }\n\n // 5. Return result.\n return result\n }\n}\n\nwebidl.interfaceConverter = function (i) {\n return (V, opts = {}) => {\n if (opts.strict !== false && !(V instanceof i)) {\n throw webidl.errors.exception({\n header: i.name,\n message: `Expected ${V} to be an instance of ${i.name}.`\n })\n }\n\n return V\n }\n}\n\nwebidl.dictionaryConverter = function (converters) {\n return (dictionary) => {\n const type = webidl.util.Type(dictionary)\n const dict = {}\n\n if (type === 'Null' || type === 'Undefined') {\n return dict\n } else if (type !== 'Object') {\n throw webidl.errors.exception({\n header: 'Dictionary',\n message: `Expected ${dictionary} to be one of: Null, Undefined, Object.`\n })\n }\n\n for (const options of converters) {\n const { key, defaultValue, required, converter } = options\n\n if (required === true) {\n if (!hasOwn(dictionary, key)) {\n throw webidl.errors.exception({\n header: 'Dictionary',\n message: `Missing required key \"${key}\".`\n })\n }\n }\n\n let value = dictionary[key]\n const hasDefault = hasOwn(options, 'defaultValue')\n\n // Only use defaultValue if value is undefined and\n // a defaultValue options was provided.\n if (hasDefault && value !== null) {\n value = value ?? defaultValue\n }\n\n // A key can be optional and have no default value.\n // When this happens, do not perform a conversion,\n // and do not assign the key a value.\n if (required || hasDefault || value !== undefined) {\n value = converter(value)\n\n if (\n options.allowedValues &&\n !options.allowedValues.includes(value)\n ) {\n throw webidl.errors.exception({\n header: 'Dictionary',\n message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(', ')}.`\n })\n }\n\n dict[key] = value\n }\n }\n\n return dict\n }\n}\n\nwebidl.nullableConverter = function (converter) {\n return (V) => {\n if (V === null) {\n return V\n }\n\n return converter(V)\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-DOMString\nwebidl.converters.DOMString = function (V, opts = {}) {\n // 1. If V is null and the conversion is to an IDL type\n // associated with the [LegacyNullToEmptyString]\n // extended attribute, then return the DOMString value\n // that represents the empty string.\n if (V === null && opts.legacyNullToEmptyString) {\n return ''\n }\n\n // 2. Let x be ? ToString(V).\n if (typeof V === 'symbol') {\n throw new TypeError('Could not convert argument of type symbol to string.')\n }\n\n // 3. Return the IDL DOMString value that represents the\n // same sequence of code units as the one the\n // ECMAScript String value x represents.\n return String(V)\n}\n\n// https://webidl.spec.whatwg.org/#es-ByteString\nwebidl.converters.ByteString = function (V) {\n // 1. Let x be ? ToString(V).\n // Note: DOMString converter perform ? ToString(V)\n const x = webidl.converters.DOMString(V)\n\n // 2. If the value of any element of x is greater than\n // 255, then throw a TypeError.\n for (let index = 0; index < x.length; index++) {\n if (x.charCodeAt(index) > 255) {\n throw new TypeError(\n 'Cannot convert argument to a ByteString because the character at ' +\n `index ${index} has a value of ${x.charCodeAt(index)} which is greater than 255.`\n )\n }\n }\n\n // 3. Return an IDL ByteString value whose length is the\n // length of x, and where the value of each element is\n // the value of the corresponding element of x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-USVString\nwebidl.converters.USVString = toUSVString\n\n// https://webidl.spec.whatwg.org/#es-boolean\nwebidl.converters.boolean = function (V) {\n // 1. Let x be the result of computing ToBoolean(V).\n const x = Boolean(V)\n\n // 2. Return the IDL boolean value that is the one that represents\n // the same truth value as the ECMAScript Boolean value x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-any\nwebidl.converters.any = function (V) {\n return V\n}\n\n// https://webidl.spec.whatwg.org/#es-long-long\nwebidl.converters['long long'] = function (V) {\n // 1. Let x be ? ConvertToInt(V, 64, \"signed\").\n const x = webidl.util.ConvertToInt(V, 64, 'signed')\n\n // 2. Return the IDL long long value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long-long\nwebidl.converters['unsigned long long'] = function (V) {\n // 1. Let x be ? ConvertToInt(V, 64, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 64, 'unsigned')\n\n // 2. Return the IDL unsigned long long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long\nwebidl.converters['unsigned long'] = function (V) {\n // 1. Let x be ? ConvertToInt(V, 32, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 32, 'unsigned')\n\n // 2. Return the IDL unsigned long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-short\nwebidl.converters['unsigned short'] = function (V, opts) {\n // 1. Let x be ? ConvertToInt(V, 16, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 16, 'unsigned', opts)\n\n // 2. Return the IDL unsigned short value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#idl-ArrayBuffer\nwebidl.converters.ArrayBuffer = function (V, opts = {}) {\n // 1. If Type(V) is not Object, or V does not have an\n // [[ArrayBufferData]] internal slot, then throw a\n // TypeError.\n // see: https://tc39.es/ecma262/#sec-properties-of-the-arraybuffer-instances\n // see: https://tc39.es/ecma262/#sec-properties-of-the-sharedarraybuffer-instances\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isAnyArrayBuffer(V)\n ) {\n throw webidl.errors.conversionFailed({\n prefix: `${V}`,\n argument: `${V}`,\n types: ['ArrayBuffer']\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V) is true, then throw a\n // TypeError.\n if (opts.allowShared === false && types.isSharedArrayBuffer(V)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V) is true, then throw a\n // TypeError.\n // Note: resizable ArrayBuffers are currently a proposal.\n\n // 4. Return the IDL ArrayBuffer value that is a\n // reference to the same object as V.\n return V\n}\n\nwebidl.converters.TypedArray = function (V, T, opts = {}) {\n // 1. Let T be the IDL type V is being converted to.\n\n // 2. If Type(V) is not Object, or V does not have a\n // [[TypedArrayName]] internal slot with a value\n // equal to T’s name, then throw a TypeError.\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isTypedArray(V) ||\n V.constructor.name !== T.name\n ) {\n throw webidl.errors.conversionFailed({\n prefix: `${T.name}`,\n argument: `${V}`,\n types: [T.name]\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (opts.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 4. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n // Note: resizable array buffers are currently a proposal\n\n // 5. Return the IDL value of type T that is a reference\n // to the same object as V.\n return V\n}\n\nwebidl.converters.DataView = function (V, opts = {}) {\n // 1. If Type(V) is not Object, or V does not have a\n // [[DataView]] internal slot, then throw a TypeError.\n if (webidl.util.Type(V) !== 'Object' || !types.isDataView(V)) {\n throw webidl.errors.exception({\n header: 'DataView',\n message: 'Object is not a DataView.'\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is true,\n // then throw a TypeError.\n if (opts.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n // Note: resizable ArrayBuffers are currently a proposal\n\n // 4. Return the IDL DataView value that is a reference\n // to the same object as V.\n return V\n}\n\n// https://webidl.spec.whatwg.org/#BufferSource\nwebidl.converters.BufferSource = function (V, opts = {}) {\n if (types.isAnyArrayBuffer(V)) {\n return webidl.converters.ArrayBuffer(V, opts)\n }\n\n if (types.isTypedArray(V)) {\n return webidl.converters.TypedArray(V, V.constructor)\n }\n\n if (types.isDataView(V)) {\n return webidl.converters.DataView(V, opts)\n }\n\n throw new TypeError(`Could not convert ${V} to a BufferSource.`)\n}\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.ByteString\n)\n\nwebidl.converters['sequence>'] = webidl.sequenceConverter(\n webidl.converters['sequence']\n)\n\nwebidl.converters['record'] = webidl.recordConverter(\n webidl.converters.ByteString,\n webidl.converters.ByteString\n)\n\nmodule.exports = {\n webidl\n}\n","const assert = require('assert')\nconst { atob } = require('buffer')\nconst { isomorphicDecode } = require('./util')\n\nconst encoder = new TextEncoder()\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-token-code-point\n */\nconst HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+-.^_|~A-Za-z0-9]+$/\nconst HTTP_WHITESPACE_REGEX = /(\\u000A|\\u000D|\\u0009|\\u0020)/ // eslint-disable-line\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-quoted-string-token-code-point\n */\nconst HTTP_QUOTED_STRING_TOKENS = /[\\u0009|\\u0020-\\u007E|\\u0080-\\u00FF]/ // eslint-disable-line\n\n// https://fetch.spec.whatwg.org/#data-url-processor\n/** @param {URL} dataURL */\nfunction dataURLProcessor (dataURL) {\n // 1. Assert: dataURL’s scheme is \"data\".\n assert(dataURL.protocol === 'data:')\n\n // 2. Let input be the result of running the URL\n // serializer on dataURL with exclude fragment\n // set to true.\n let input = URLSerializer(dataURL, true)\n\n // 3. Remove the leading \"data:\" string from input.\n input = input.slice(5)\n\n // 4. Let position point at the start of input.\n const position = { position: 0 }\n\n // 5. Let mimeType be the result of collecting a\n // sequence of code points that are not equal\n // to U+002C (,), given position.\n let mimeType = collectASequenceOfCodePointsFast(\n ',',\n input,\n position\n )\n\n // 6. Strip leading and trailing ASCII whitespace\n // from mimeType.\n // Undici implementation note: we need to store the\n // length because if the mimetype has spaces removed,\n // the wrong amount will be sliced from the input in\n // step #9\n const mimeTypeLength = mimeType.length\n mimeType = removeASCIIWhitespace(mimeType, true, true)\n\n // 7. If position is past the end of input, then\n // return failure\n if (position.position >= input.length) {\n return 'failure'\n }\n\n // 8. Advance position by 1.\n position.position++\n\n // 9. Let encodedBody be the remainder of input.\n const encodedBody = input.slice(mimeTypeLength + 1)\n\n // 10. Let body be the percent-decoding of encodedBody.\n let body = stringPercentDecode(encodedBody)\n\n // 11. If mimeType ends with U+003B (;), followed by\n // zero or more U+0020 SPACE, followed by an ASCII\n // case-insensitive match for \"base64\", then:\n if (/;(\\u0020){0,}base64$/i.test(mimeType)) {\n // 1. Let stringBody be the isomorphic decode of body.\n const stringBody = isomorphicDecode(body)\n\n // 2. Set body to the forgiving-base64 decode of\n // stringBody.\n body = forgivingBase64(stringBody)\n\n // 3. If body is failure, then return failure.\n if (body === 'failure') {\n return 'failure'\n }\n\n // 4. Remove the last 6 code points from mimeType.\n mimeType = mimeType.slice(0, -6)\n\n // 5. Remove trailing U+0020 SPACE code points from mimeType,\n // if any.\n mimeType = mimeType.replace(/(\\u0020)+$/, '')\n\n // 6. Remove the last U+003B (;) code point from mimeType.\n mimeType = mimeType.slice(0, -1)\n }\n\n // 12. If mimeType starts with U+003B (;), then prepend\n // \"text/plain\" to mimeType.\n if (mimeType.startsWith(';')) {\n mimeType = 'text/plain' + mimeType\n }\n\n // 13. Let mimeTypeRecord be the result of parsing\n // mimeType.\n let mimeTypeRecord = parseMIMEType(mimeType)\n\n // 14. If mimeTypeRecord is failure, then set\n // mimeTypeRecord to text/plain;charset=US-ASCII.\n if (mimeTypeRecord === 'failure') {\n mimeTypeRecord = parseMIMEType('text/plain;charset=US-ASCII')\n }\n\n // 15. Return a new data: URL struct whose MIME\n // type is mimeTypeRecord and body is body.\n // https://fetch.spec.whatwg.org/#data-url-struct\n return { mimeType: mimeTypeRecord, body }\n}\n\n// https://url.spec.whatwg.org/#concept-url-serializer\n/**\n * @param {URL} url\n * @param {boolean} excludeFragment\n */\nfunction URLSerializer (url, excludeFragment = false) {\n if (!excludeFragment) {\n return url.href\n }\n\n const href = url.href\n const hashLength = url.hash.length\n\n return hashLength === 0 ? href : href.substring(0, href.length - hashLength)\n}\n\n// https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points\n/**\n * @param {(char: string) => boolean} condition\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePoints (condition, input, position) {\n // 1. Let result be the empty string.\n let result = ''\n\n // 2. While position doesn’t point past the end of input and the\n // code point at position within input meets the condition condition:\n while (position.position < input.length && condition(input[position.position])) {\n // 1. Append that code point to the end of result.\n result += input[position.position]\n\n // 2. Advance position by 1.\n position.position++\n }\n\n // 3. Return result.\n return result\n}\n\n/**\n * A faster collectASequenceOfCodePoints that only works when comparing a single character.\n * @param {string} char\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePointsFast (char, input, position) {\n const idx = input.indexOf(char, position.position)\n const start = position.position\n\n if (idx === -1) {\n position.position = input.length\n return input.slice(start)\n }\n\n position.position = idx\n return input.slice(start, position.position)\n}\n\n// https://url.spec.whatwg.org/#string-percent-decode\n/** @param {string} input */\nfunction stringPercentDecode (input) {\n // 1. Let bytes be the UTF-8 encoding of input.\n const bytes = encoder.encode(input)\n\n // 2. Return the percent-decoding of bytes.\n return percentDecode(bytes)\n}\n\n// https://url.spec.whatwg.org/#percent-decode\n/** @param {Uint8Array} input */\nfunction percentDecode (input) {\n // 1. Let output be an empty byte sequence.\n /** @type {number[]} */\n const output = []\n\n // 2. For each byte byte in input:\n for (let i = 0; i < input.length; i++) {\n const byte = input[i]\n\n // 1. If byte is not 0x25 (%), then append byte to output.\n if (byte !== 0x25) {\n output.push(byte)\n\n // 2. Otherwise, if byte is 0x25 (%) and the next two bytes\n // after byte in input are not in the ranges\n // 0x30 (0) to 0x39 (9), 0x41 (A) to 0x46 (F),\n // and 0x61 (a) to 0x66 (f), all inclusive, append byte\n // to output.\n } else if (\n byte === 0x25 &&\n !/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(input[i + 1], input[i + 2]))\n ) {\n output.push(0x25)\n\n // 3. Otherwise:\n } else {\n // 1. Let bytePoint be the two bytes after byte in input,\n // decoded, and then interpreted as hexadecimal number.\n const nextTwoBytes = String.fromCharCode(input[i + 1], input[i + 2])\n const bytePoint = Number.parseInt(nextTwoBytes, 16)\n\n // 2. Append a byte whose value is bytePoint to output.\n output.push(bytePoint)\n\n // 3. Skip the next two bytes in input.\n i += 2\n }\n }\n\n // 3. Return output.\n return Uint8Array.from(output)\n}\n\n// https://mimesniff.spec.whatwg.org/#parse-a-mime-type\n/** @param {string} input */\nfunction parseMIMEType (input) {\n // 1. Remove any leading and trailing HTTP whitespace\n // from input.\n input = removeHTTPWhitespace(input, true, true)\n\n // 2. Let position be a position variable for input,\n // initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let type be the result of collecting a sequence\n // of code points that are not U+002F (/) from\n // input, given position.\n const type = collectASequenceOfCodePointsFast(\n '/',\n input,\n position\n )\n\n // 4. If type is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n // https://mimesniff.spec.whatwg.org/#http-token-code-point\n if (type.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(type)) {\n return 'failure'\n }\n\n // 5. If position is past the end of input, then return\n // failure\n if (position.position > input.length) {\n return 'failure'\n }\n\n // 6. Advance position by 1. (This skips past U+002F (/).)\n position.position++\n\n // 7. Let subtype be the result of collecting a sequence of\n // code points that are not U+003B (;) from input, given\n // position.\n let subtype = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 8. Remove any trailing HTTP whitespace from subtype.\n subtype = removeHTTPWhitespace(subtype, false, true)\n\n // 9. If subtype is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n if (subtype.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(subtype)) {\n return 'failure'\n }\n\n const typeLowercase = type.toLowerCase()\n const subtypeLowercase = subtype.toLowerCase()\n\n // 10. Let mimeType be a new MIME type record whose type\n // is type, in ASCII lowercase, and subtype is subtype,\n // in ASCII lowercase.\n // https://mimesniff.spec.whatwg.org/#mime-type\n const mimeType = {\n type: typeLowercase,\n subtype: subtypeLowercase,\n /** @type {Map} */\n parameters: new Map(),\n // https://mimesniff.spec.whatwg.org/#mime-type-essence\n essence: `${typeLowercase}/${subtypeLowercase}`\n }\n\n // 11. While position is not past the end of input:\n while (position.position < input.length) {\n // 1. Advance position by 1. (This skips past U+003B (;).)\n position.position++\n\n // 2. Collect a sequence of code points that are HTTP\n // whitespace from input given position.\n collectASequenceOfCodePoints(\n // https://fetch.spec.whatwg.org/#http-whitespace\n char => HTTP_WHITESPACE_REGEX.test(char),\n input,\n position\n )\n\n // 3. Let parameterName be the result of collecting a\n // sequence of code points that are not U+003B (;)\n // or U+003D (=) from input, given position.\n let parameterName = collectASequenceOfCodePoints(\n (char) => char !== ';' && char !== '=',\n input,\n position\n )\n\n // 4. Set parameterName to parameterName, in ASCII\n // lowercase.\n parameterName = parameterName.toLowerCase()\n\n // 5. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 1. If the code point at position within input is\n // U+003B (;), then continue.\n if (input[position.position] === ';') {\n continue\n }\n\n // 2. Advance position by 1. (This skips past U+003D (=).)\n position.position++\n }\n\n // 6. If position is past the end of input, then break.\n if (position.position > input.length) {\n break\n }\n\n // 7. Let parameterValue be null.\n let parameterValue = null\n\n // 8. If the code point at position within input is\n // U+0022 (\"), then:\n if (input[position.position] === '\"') {\n // 1. Set parameterValue to the result of collecting\n // an HTTP quoted string from input, given position\n // and the extract-value flag.\n parameterValue = collectAnHTTPQuotedString(input, position, true)\n\n // 2. Collect a sequence of code points that are not\n // U+003B (;) from input, given position.\n collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 9. Otherwise:\n } else {\n // 1. Set parameterValue to the result of collecting\n // a sequence of code points that are not U+003B (;)\n // from input, given position.\n parameterValue = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 2. Remove any trailing HTTP whitespace from parameterValue.\n parameterValue = removeHTTPWhitespace(parameterValue, false, true)\n\n // 3. If parameterValue is the empty string, then continue.\n if (parameterValue.length === 0) {\n continue\n }\n }\n\n // 10. If all of the following are true\n // - parameterName is not the empty string\n // - parameterName solely contains HTTP token code points\n // - parameterValue solely contains HTTP quoted-string token code points\n // - mimeType’s parameters[parameterName] does not exist\n // then set mimeType’s parameters[parameterName] to parameterValue.\n if (\n parameterName.length !== 0 &&\n HTTP_TOKEN_CODEPOINTS.test(parameterName) &&\n (parameterValue.length === 0 || HTTP_QUOTED_STRING_TOKENS.test(parameterValue)) &&\n !mimeType.parameters.has(parameterName)\n ) {\n mimeType.parameters.set(parameterName, parameterValue)\n }\n }\n\n // 12. Return mimeType.\n return mimeType\n}\n\n// https://infra.spec.whatwg.org/#forgiving-base64-decode\n/** @param {string} data */\nfunction forgivingBase64 (data) {\n // 1. Remove all ASCII whitespace from data.\n data = data.replace(/[\\u0009\\u000A\\u000C\\u000D\\u0020]/g, '') // eslint-disable-line\n\n // 2. If data’s code point length divides by 4 leaving\n // no remainder, then:\n if (data.length % 4 === 0) {\n // 1. If data ends with one or two U+003D (=) code points,\n // then remove them from data.\n data = data.replace(/=?=$/, '')\n }\n\n // 3. If data’s code point length divides by 4 leaving\n // a remainder of 1, then return failure.\n if (data.length % 4 === 1) {\n return 'failure'\n }\n\n // 4. If data contains a code point that is not one of\n // U+002B (+)\n // U+002F (/)\n // ASCII alphanumeric\n // then return failure.\n if (/[^+/0-9A-Za-z]/.test(data)) {\n return 'failure'\n }\n\n const binary = atob(data)\n const bytes = new Uint8Array(binary.length)\n\n for (let byte = 0; byte < binary.length; byte++) {\n bytes[byte] = binary.charCodeAt(byte)\n }\n\n return bytes\n}\n\n// https://fetch.spec.whatwg.org/#collect-an-http-quoted-string\n// tests: https://fetch.spec.whatwg.org/#example-http-quoted-string\n/**\n * @param {string} input\n * @param {{ position: number }} position\n * @param {boolean?} extractValue\n */\nfunction collectAnHTTPQuotedString (input, position, extractValue) {\n // 1. Let positionStart be position.\n const positionStart = position.position\n\n // 2. Let value be the empty string.\n let value = ''\n\n // 3. Assert: the code point at position within input\n // is U+0022 (\").\n assert(input[position.position] === '\"')\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. While true:\n while (true) {\n // 1. Append the result of collecting a sequence of code points\n // that are not U+0022 (\") or U+005C (\\) from input, given\n // position, to value.\n value += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== '\\\\',\n input,\n position\n )\n\n // 2. If position is past the end of input, then break.\n if (position.position >= input.length) {\n break\n }\n\n // 3. Let quoteOrBackslash be the code point at position within\n // input.\n const quoteOrBackslash = input[position.position]\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. If quoteOrBackslash is U+005C (\\), then:\n if (quoteOrBackslash === '\\\\') {\n // 1. If position is past the end of input, then append\n // U+005C (\\) to value and break.\n if (position.position >= input.length) {\n value += '\\\\'\n break\n }\n\n // 2. Append the code point at position within input to value.\n value += input[position.position]\n\n // 3. Advance position by 1.\n position.position++\n\n // 6. Otherwise:\n } else {\n // 1. Assert: quoteOrBackslash is U+0022 (\").\n assert(quoteOrBackslash === '\"')\n\n // 2. Break.\n break\n }\n }\n\n // 6. If the extract-value flag is set, then return value.\n if (extractValue) {\n return value\n }\n\n // 7. Return the code points from positionStart to position,\n // inclusive, within input.\n return input.slice(positionStart, position.position)\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type\n */\nfunction serializeAMimeType (mimeType) {\n assert(mimeType !== 'failure')\n const { parameters, essence } = mimeType\n\n // 1. Let serialization be the concatenation of mimeType’s\n // type, U+002F (/), and mimeType’s subtype.\n let serialization = essence\n\n // 2. For each name → value of mimeType’s parameters:\n for (let [name, value] of parameters.entries()) {\n // 1. Append U+003B (;) to serialization.\n serialization += ';'\n\n // 2. Append name to serialization.\n serialization += name\n\n // 3. Append U+003D (=) to serialization.\n serialization += '='\n\n // 4. If value does not solely contain HTTP token code\n // points or value is the empty string, then:\n if (!HTTP_TOKEN_CODEPOINTS.test(value)) {\n // 1. Precede each occurence of U+0022 (\") or\n // U+005C (\\) in value with U+005C (\\).\n value = value.replace(/(\\\\|\")/g, '\\\\$1')\n\n // 2. Prepend U+0022 (\") to value.\n value = '\"' + value\n\n // 3. Append U+0022 (\") to value.\n value += '\"'\n }\n\n // 5. Append value to serialization.\n serialization += value\n }\n\n // 3. Return serialization.\n return serialization\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} char\n */\nfunction isHTTPWhiteSpace (char) {\n return char === '\\r' || char === '\\n' || char === '\\t' || char === ' '\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} str\n */\nfunction removeHTTPWhitespace (str, leading = true, trailing = true) {\n let lead = 0\n let trail = str.length - 1\n\n if (leading) {\n for (; lead < str.length && isHTTPWhiteSpace(str[lead]); lead++);\n }\n\n if (trailing) {\n for (; trail > 0 && isHTTPWhiteSpace(str[trail]); trail--);\n }\n\n return str.slice(lead, trail + 1)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n * @param {string} char\n */\nfunction isASCIIWhitespace (char) {\n return char === '\\r' || char === '\\n' || char === '\\t' || char === '\\f' || char === ' '\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace\n */\nfunction removeASCIIWhitespace (str, leading = true, trailing = true) {\n let lead = 0\n let trail = str.length - 1\n\n if (leading) {\n for (; lead < str.length && isASCIIWhitespace(str[lead]); lead++);\n }\n\n if (trailing) {\n for (; trail > 0 && isASCIIWhitespace(str[trail]); trail--);\n }\n\n return str.slice(lead, trail + 1)\n}\n\nmodule.exports = {\n dataURLProcessor,\n URLSerializer,\n collectASequenceOfCodePoints,\n collectASequenceOfCodePointsFast,\n stringPercentDecode,\n parseMIMEType,\n collectAnHTTPQuotedString,\n serializeAMimeType\n}\n","'use strict'\n\nconst net = require('net')\nconst assert = require('assert')\nconst util = require('./util')\nconst { InvalidArgumentError, ConnectTimeoutError } = require('./errors')\n\nlet tls // include tls conditionally since it is not always available\n\n// TODO: session re-use does not wait for the first\n// connection to resolve the session and might therefore\n// resolve the same servername multiple times even when\n// re-use is enabled.\n\nlet SessionCache\n// FIXME: remove workaround when the Node bug is fixed\n// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\nif (global.FinalizationRegistry && !process.env.NODE_V8_COVERAGE) {\n SessionCache = class WeakSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n this._sessionRegistry = new global.FinalizationRegistry((key) => {\n if (this._sessionCache.size < this._maxCachedSessions) {\n return\n }\n\n const ref = this._sessionCache.get(key)\n if (ref !== undefined && ref.deref() === undefined) {\n this._sessionCache.delete(key)\n }\n })\n }\n\n get (sessionKey) {\n const ref = this._sessionCache.get(sessionKey)\n return ref ? ref.deref() : null\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n this._sessionCache.set(sessionKey, new WeakRef(session))\n this._sessionRegistry.register(session, sessionKey)\n }\n }\n} else {\n SessionCache = class SimpleSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n }\n\n get (sessionKey) {\n return this._sessionCache.get(sessionKey)\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n if (this._sessionCache.size >= this._maxCachedSessions) {\n // remove the oldest session\n const { value: oldestKey } = this._sessionCache.keys().next()\n this._sessionCache.delete(oldestKey)\n }\n\n this._sessionCache.set(sessionKey, session)\n }\n }\n}\n\nfunction buildConnector ({ allowH2, maxCachedSessions, socketPath, timeout, ...opts }) {\n if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) {\n throw new InvalidArgumentError('maxCachedSessions must be a positive integer or zero')\n }\n\n const options = { path: socketPath, ...opts }\n const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions)\n timeout = timeout == null ? 10e3 : timeout\n allowH2 = allowH2 != null ? allowH2 : false\n return function connect ({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) {\n let socket\n if (protocol === 'https:') {\n if (!tls) {\n tls = require('tls')\n }\n servername = servername || options.servername || util.getServerName(host) || null\n\n const sessionKey = servername || hostname\n const session = sessionCache.get(sessionKey) || null\n\n assert(sessionKey)\n\n socket = tls.connect({\n highWaterMark: 16384, // TLS in node can't have bigger HWM anyway...\n ...options,\n servername,\n session,\n localAddress,\n // TODO(HTTP/2): Add support for h2c\n ALPNProtocols: allowH2 ? ['http/1.1', 'h2'] : ['http/1.1'],\n socket: httpSocket, // upgrade socket connection\n port: port || 443,\n host: hostname\n })\n\n socket\n .on('session', function (session) {\n // TODO (fix): Can a session become invalid once established? Don't think so?\n sessionCache.set(sessionKey, session)\n })\n } else {\n assert(!httpSocket, 'httpSocket can only be sent on TLS update')\n socket = net.connect({\n highWaterMark: 64 * 1024, // Same as nodejs fs streams.\n ...options,\n localAddress,\n port: port || 80,\n host: hostname\n })\n }\n\n // Set TCP keep alive options on the socket here instead of in connect() for the case of assigning the socket\n if (options.keepAlive == null || options.keepAlive) {\n const keepAliveInitialDelay = options.keepAliveInitialDelay === undefined ? 60e3 : options.keepAliveInitialDelay\n socket.setKeepAlive(true, keepAliveInitialDelay)\n }\n\n const cancelTimeout = setupTimeout(() => onConnectTimeout(socket), timeout)\n\n socket\n .setNoDelay(true)\n .once(protocol === 'https:' ? 'secureConnect' : 'connect', function () {\n cancelTimeout()\n\n if (callback) {\n const cb = callback\n callback = null\n cb(null, this)\n }\n })\n .on('error', function (err) {\n cancelTimeout()\n\n if (callback) {\n const cb = callback\n callback = null\n cb(err)\n }\n })\n\n return socket\n }\n}\n\nfunction setupTimeout (onConnectTimeout, timeout) {\n if (!timeout) {\n return () => {}\n }\n\n let s1 = null\n let s2 = null\n const timeoutId = setTimeout(() => {\n // setImmediate is added to make sure that we priotorise socket error events over timeouts\n s1 = setImmediate(() => {\n if (process.platform === 'win32') {\n // Windows needs an extra setImmediate probably due to implementation differences in the socket logic\n s2 = setImmediate(() => onConnectTimeout())\n } else {\n onConnectTimeout()\n }\n })\n }, timeout)\n return () => {\n clearTimeout(timeoutId)\n clearImmediate(s1)\n clearImmediate(s2)\n }\n}\n\nfunction onConnectTimeout (socket) {\n util.destroy(socket, new ConnectTimeoutError())\n}\n\nmodule.exports = buildConnector\n",null,null,null,null,"'use strict'\n\nconst RedirectHandler = require('../handler/RedirectHandler')\n\nfunction createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) {\n return (dispatch) => {\n return function Intercept (opts, handler) {\n const { maxRedirections = defaultMaxRedirections } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler)\n opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting.\n return dispatch(opts, redirectHandler)\n }\n }\n}\n\nmodule.exports = createRedirectInterceptor\n","'use strict'\n\nconst util = require('../core/util')\nconst { kBodyUsed } = require('../core/symbols')\nconst assert = require('assert')\nconst { InvalidArgumentError } = require('../core/errors')\nconst EE = require('events')\n\nconst redirectableStatusCodes = [300, 301, 302, 303, 307, 308]\n\nconst kBody = Symbol('body')\n\nclass BodyAsyncIterable {\n constructor (body) {\n this[kBody] = body\n this[kBodyUsed] = false\n }\n\n async * [Symbol.asyncIterator] () {\n assert(!this[kBodyUsed], 'disturbed')\n this[kBodyUsed] = true\n yield * this[kBody]\n }\n}\n\nclass RedirectHandler {\n constructor (dispatch, maxRedirections, opts, handler) {\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n util.validateHandler(handler, opts.method, opts.upgrade)\n\n this.dispatch = dispatch\n this.location = null\n this.abort = null\n this.opts = { ...opts, maxRedirections: 0 } // opts must be a copy\n this.maxRedirections = maxRedirections\n this.handler = handler\n this.history = []\n\n if (util.isStream(this.opts.body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if (util.bodyLength(this.opts.body) === 0) {\n this.opts.body\n .on('data', function () {\n assert(false)\n })\n }\n\n if (typeof this.opts.body.readableDidRead !== 'boolean') {\n this.opts.body[kBodyUsed] = false\n EE.prototype.on.call(this.opts.body, 'data', function () {\n this[kBodyUsed] = true\n })\n }\n } else if (this.opts.body && typeof this.opts.body.pipeTo === 'function') {\n // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n } else if (\n this.opts.body &&\n typeof this.opts.body !== 'string' &&\n !ArrayBuffer.isView(this.opts.body) &&\n util.isIterable(this.opts.body)\n ) {\n // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n }\n }\n\n onConnect (abort) {\n this.abort = abort\n this.handler.onConnect(abort, { history: this.history })\n }\n\n onUpgrade (statusCode, headers, socket) {\n this.handler.onUpgrade(statusCode, headers, socket)\n }\n\n onError (error) {\n this.handler.onError(error)\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n this.location = this.history.length >= this.maxRedirections || util.isDisturbed(this.opts.body)\n ? null\n : parseLocation(statusCode, headers)\n\n if (this.opts.origin) {\n this.history.push(new URL(this.opts.path, this.opts.origin))\n }\n\n if (!this.location) {\n return this.handler.onHeaders(statusCode, headers, resume, statusText)\n }\n\n const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin)))\n const path = search ? `${pathname}${search}` : pathname\n\n // Remove headers referring to the original URL.\n // By default it is Host only, unless it's a 303 (see below), which removes also all Content-* headers.\n // https://tools.ietf.org/html/rfc7231#section-6.4\n this.opts.headers = cleanRequestHeaders(this.opts.headers, statusCode === 303, this.opts.origin !== origin)\n this.opts.path = path\n this.opts.origin = origin\n this.opts.maxRedirections = 0\n this.opts.query = null\n\n // https://tools.ietf.org/html/rfc7231#section-6.4.4\n // In case of HTTP 303, always replace method to be either HEAD or GET\n if (statusCode === 303 && this.opts.method !== 'HEAD') {\n this.opts.method = 'GET'\n this.opts.body = null\n }\n }\n\n onData (chunk) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response bodies.\n\n Redirection is used to serve the requested resource from another URL, so it is assumes that\n no body is generated (and thus can be ignored). Even though generating a body is not prohibited.\n\n For status 301, 302, 303, 307 and 308 (the latter from RFC 7238), the specs mention that the body usually\n (which means it's optional and not mandated) contain just an hyperlink to the value of\n the Location response header, so the body can be ignored safely.\n\n For status 300, which is \"Multiple Choices\", the spec mentions both generating a Location\n response header AND a response body with the other possible location to follow.\n Since the spec explicitily chooses not to specify a format for such body and leave it to\n servers and browsers implementors, we ignore the body as there is no specified way to eventually parse it.\n */\n } else {\n return this.handler.onData(chunk)\n }\n }\n\n onComplete (trailers) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response trailers as they are not expected in case of redirections\n and neither are useful if present.\n\n See comment on onData method above for more detailed informations.\n */\n\n this.location = null\n this.abort = null\n\n this.dispatch(this.opts, this)\n } else {\n this.handler.onComplete(trailers)\n }\n }\n\n onBodySent (chunk) {\n if (this.handler.onBodySent) {\n this.handler.onBodySent(chunk)\n }\n }\n}\n\nfunction parseLocation (statusCode, headers) {\n if (redirectableStatusCodes.indexOf(statusCode) === -1) {\n return null\n }\n\n for (let i = 0; i < headers.length; i += 2) {\n if (headers[i].toString().toLowerCase() === 'location') {\n return headers[i + 1]\n }\n }\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4.4\nfunction shouldRemoveHeader (header, removeContent, unknownOrigin) {\n if (header.length === 4) {\n return util.headerNameToString(header) === 'host'\n }\n if (removeContent && util.headerNameToString(header).startsWith('content-')) {\n return true\n }\n if (unknownOrigin && (header.length === 13 || header.length === 6 || header.length === 19)) {\n const name = util.headerNameToString(header)\n return name === 'authorization' || name === 'cookie' || name === 'proxy-authorization'\n }\n return false\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4\nfunction cleanRequestHeaders (headers, removeContent, unknownOrigin) {\n const ret = []\n if (Array.isArray(headers)) {\n for (let i = 0; i < headers.length; i += 2) {\n if (!shouldRemoveHeader(headers[i], removeContent, unknownOrigin)) {\n ret.push(headers[i], headers[i + 1])\n }\n }\n } else if (headers && typeof headers === 'object') {\n for (const key of Object.keys(headers)) {\n if (!shouldRemoveHeader(key, removeContent, unknownOrigin)) {\n ret.push(key, headers[key])\n }\n }\n } else {\n assert(headers == null, 'headers must be an object or an array')\n }\n return ret\n}\n\nmodule.exports = RedirectHandler\n","module.exports = 'AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbG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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZ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L0DC0ICIREM5QELQgMhEQzkAQtCBCERDOMBC0IFIREM4gELQgYhEQzhAQtCByERDOABC0IIIREM3wELQgkhEQzeAQtCCiERDN0BC0ILIREM3AELQgwhEQzbAQtCDSERDNoBC0IOIREM2QELQg8hEQzYAQtCCiERDNcBC0ILIREM1gELQgwhEQzVAQtCDSERDNQBC0IOIREM0wELQg8hEQzSAQtCACERAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQLQAAQVBqDjflAeQBAAECAwQFBgfmAeYB5gHmAeYB5gHmAQgJCgsMDeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gEODxAREhPmAQtCAiERDOQBC0IDIREM4wELQgQhEQziAQtCBSERDOEBC0IGIREM4AELQgchEQzfAQtCCCERDN4BC0IJIREM3QELQgohEQzcAQtCCyERDNsBC0IMIREM2gELQg0hEQzZAQtCDiERDNgBC0IPIREM1wELQgohEQzWAQtCCyERDNUBC0IMIREM1AELQg0hEQzTAQtCDiERDNIBC0IPIREM0QELIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN0gFBHyEQDMADCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEkIRAMpwMLQSAhEAy/AwsgACABIhAgAhC+gICAAEF/ag4FtgEAxQIB0QHSAQtBESEQDKQDCyAAQQE6AC8gECEBDLsDCyABIgEgAkcN0gFBJCEQDLsDCyABIg0gAkcNHkHGACEQDLoDCyAAIAEiASACELKAgIAAIhAN1AEgASEBDLUBCyABIhAgAkcNJkHQACEQDLgDCwJAIAEiASACRw0AQSghEAy4AwsgAEEANgIEIABBjICAgAA2AgggACABIAEQsYCAgAAiEA3TASABIQEM2AELAkAgASIQIAJHDQBBKSEQDLcDCyAQLQAAIgFBIEYNFCABQQlHDdMBIBBBAWohAQwVCwJAIAEiASACRg0AIAFBAWohAQwXC0EqIRAMtQMLAk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EQDLMBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQ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B//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyA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AwgC0GlASEQDB8LQaYBIRAMHgtBpwEhEAwdC0GoASEQDBwLQakBIRAMGwtBqgEhEAwaC0GrASEQDBkLQawBIRAMGAtBrQEhEAwXC0GuASEQDBYLQQEhEAwVC0GvASEQDBQLQbABIRAMEwtBsQEhEAwSC0GzASEQDBELQbIBIRAMEAtBtAEhEAwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACI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d4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAg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QVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=='\n","'use strict'\n\n/* istanbul ignore file: only for Node 12 */\n\nconst { kConnected, kSize } = require('../core/symbols')\n\nclass CompatWeakRef {\n constructor (value) {\n this.value = value\n }\n\n deref () {\n return this.value[kConnected] === 0 && this.value[kSize] === 0\n ? undefined\n : this.value\n }\n}\n\nclass CompatFinalizer {\n constructor (finalizer) {\n this.finalizer = finalizer\n }\n\n register (dispatcher, key) {\n if (dispatcher.on) {\n dispatcher.on('disconnect', () => {\n if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) {\n this.finalizer(key)\n }\n })\n }\n }\n}\n\nmodule.exports = function () {\n // FIXME: remove workaround when the Node bug is fixed\n // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\n if (process.env.NODE_V8_COVERAGE) {\n return {\n WeakRef: CompatWeakRef,\n FinalizationRegistry: CompatFinalizer\n }\n }\n return {\n WeakRef: global.WeakRef || CompatWeakRef,\n FinalizationRegistry: global.FinalizationRegistry || CompatFinalizer\n }\n}\n"],"mappings":"4dCEMA,CAAA,CAAAC,CAAA,CAAAC,CAAA,CAAAC,CAAA,CACAC,CAAA,C,QAIAC,CAAA,CAAAC,CAAA,C,EA6BN,QAAS,CAAAC,EAAgBC,CAAM,CAAEC,CAAI,EACnC,MAAO,IAAI,CAAAC,CAAA,CAAKF,CAAA,CAAQC,CAAA,CAC1B,EApCMT,CAAA,E,cAAAW,MAAA,CAAAV,CAAA,CAAAW,CAAA,CAAAC,MAAA,CAAAX,CAAA,CAAAU,CAAA,CAAAE,QAAA,CAAAX,CAAA,CAAAS,CAAA,CAAAG,aAAA,CACAX,CAAA,CAAAK,CAAA,CAAAO,GAAA,C,uCAIAX,CAAA,E,cAAAY,oBAAA,CAAAX,CAAA,CAAAY,CAAA,CAAAC,mBAAA,C,aAGN,GAAM,CAAAC,CAAA,CAASC,MAAA,GACTC,CAAA,CAAUD,MAAA,GACVE,CAAA,CAAgBF,MAA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uc,QAAA,CAASvc,CAAC,CAAC,EAAE,EAAI,IAChC,EACA,IACN,GAqCEgiB,SAAA,CAAAna,CAAA,CACAoa,SAAA,CAAAnW,CAAA,CACAH,uBAAA,CAAyB9D,CAAA,CAAY,IAAO,EAAc,GAAdA,CAAA,EAAoBiE,CAAA,EAAa,GAC7EoW,eAAA,CAAiB,CAAC,MAAO,OAAQ,UAAW,QAAQ,C,4BCrgBtD,GAAM,CAAAlgB,CAAA,CAA6B,CAAC,EAG9B7B,CAAA,CAAuB,CAC3B,SACA,kBACA,kBACA,gBACA,mCACA,+BACA,+BACA,8BACA,gCACA,yBACA,iCACA,gCACA,MACA,QACA,UACA,WACA,gBACA,gBACA,kBACA,aACA,sBACA,mBACA,mBACA,iBACA,mBACA,gBACA,0BACA,sCACA,eACA,SACA,+BACA,6BACA,+BACA,OACA,gBACA,WACA,MACA,OACA,SACA,YACA,UACA,YACA,OACA,OACA,WACA,oBACA,gBACA,WACA,sBACA,aACA,gBACA,OACA,WACA,eACA,SACA,qBACA,SACA,qBACA,sBACA,MACA,QACA,UACA,kBACA,UACA,cACA,uBACA,2BACA,oBACA,yBACA,wBACA,SACA,gBACA,yBACA,oCACA,aACA,YACA,4BACA,wBACA,KACA,sBACA,UACA,oBACA,UACA,4BACA,aACA,OACA,MACA,mBACA,yBACA,yBACA,kBACA,oCACA,eACA,mBACA,mBACD,CAED,IAAK,GAAI,CAAAJ,CAAA,CAAI,EAAGA,CAAA,CAAII,CAAA,CAAqBoD,MAAM,CAAE,EAAExD,CAAA,CAAG,CACpD,GAAM,CAAAC,CAAA,CAAMG,CAAoB,CAACJ,CAAA,CAAE,CAC7BR,CAAA,CAAgBS,CAAA,CAAI2D,WAAW,EACrC,CAAA3B,CAA0B,CAAChC,CAAA,CAAI,CAAGgC,CAA0B,CAACzC,CAAA,CAAc,CACzEA,CACJ,EAGAiE,MAAA,CAAO2e,cAAc,CAACngB,CAAA,CAA4B,MAElDjC,CAAA,CAAAmB,OAAA,CAAiB,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file mode 100644 index 556fa394..00000000 --- a/dist/modern/setup-cpp.js +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env node -let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function c(e){return e&&e.__esModule?e.default:e;}function u(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){u(e,t||{},function(e,t){e?n(e):r(t);});});}rW(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=process.cwd(),o=null!=e.options.cwd,s=o&&void 0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd);}catch(e){}try{r=rX.sync(e.command,{path:n[rK({env:n})],pathExt:t?iK.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iK.resolve(o?e.options.cwd:"",r)),r;}function f(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 d(e,t){return i7&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rq(e,t,r),i=rw.spawn(n.command,n.args,n.options);return r1.hookChildProcess(i,n),i;}function m(e={}){let{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";}function v(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function g(e){return v(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function y(e,t){if(!e)throw Error("Expected a stream");let{maxBuffer:r}=t={maxBuffer:1/0,...t},n=r5(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r8.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await o0(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new o1());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sE(e,t,r),o=sa(e,t),s=sl(e,t);sg(s,i.options),oK(i.options);try{n=c(rO).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rO).ChildProcess)();return sn(e,Promise.reject(ob({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=si(n),l=oW(n,i.options,a),u=oY(n,i.options,l),p={isCanceled:!1};n.kill=oG.bind(null,n.kill.bind(n)),n.cancel=oX.bind(null,n,p);let f=r2(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await se(n,i.options,u),d=sw(i.options,l),h=sw(i.options,c),m=sw(i.options,f);if(e||0!==t||null!==r){let l=ob({error:e,exitCode:t,signal:r,stdout:d,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:d,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return o8(n,i.options),n.all=o7(n,i.options),oZ(n),sn(n,f),n;}function w(e,t,r){let n;let i=sE(e,t,r),o=sa(e,t),s=sl(e,t);sg(s,i.options);let a=o3(i.options);try{n=c(rO).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ob({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sw(i.options,n.stdout,n.error),u=sw(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ob({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function _(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return E(function(){if(void 0===e){let t=c(nr).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(nr).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}function b(){return(process.getuid?.()===0||!!process.env.CI)&&null!==c(nr).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sG){return b()?function(e,t){let[r,...n]=sc(e);return w(r,n,t);}(O(e,t),r):w(e,S(t),r);}function R(e,t=[],r=sG){return b()?function(e,t){let[r,...n]=sc(e);return E(r,n,t);}(O(e,t),r):E(e,S(t),r);}function O(e,t){return"sudo "+S([e,...t]).join(" ");}function S(e){return e.map(e=>`'${e}'`);}async function I(e){if(("linux"===process.platform||"darwin"===process.platform)&&b()&&void 0!==process.env.SUDO_USER){let t=c(iY).statSync(e).isDirectory();await R("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sG);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iK.join)("/Users/",process.env.SUDO_USER):(0,iK.join)("/home/",process.env.SUDO_USER);{let e=(0,iW.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sB,t);}async function P(e){let t=void 0===e.guard?` -source "${e.rcPath}" -`:` -# ${e.guard} -if [[ "$SOURCE_${e.guard.toUpperCase()}RC" != 0 && -f "${e.rcPath}" ]]; then source "${e.rcPath}"; fi -`;try{await Promise.all([A(e),$(t,T("~/.bashrc")),$(t,T("~/.profile"))]);}catch(e){(0,rG.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}}async function A(e){let t=void 0===e.guard?"\n# Automatically Generated by envosman\n":` -# Automatically Generated by envosman ${e.guard} -export SOURCE_${e.guard.toUpperCase()}RC=0 -`;(await(0,nG.pathExists)(e.rcPath))&&!(await sq(e.rcPath,"utf8")).includes(t)&&(await sH(e.rcPath,` -${t} -`),(0,rG.info)(`Added ${t} to ${e.rcPath}`));}async function $(e,t){(await(0,nG.pathExists)(t))&&!(await sq(t,"utf-8")).includes(e)&&(await sH(t,e),(0,rG.info)(`${e} was added to ${t}`));}async function N(e){if(await(0,nG.pathExists)(e.rcPath)){let t=[...new Set((await sq(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sV(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sX,...r},i=function(e,t=!1){let r=t?c(nB)(e):e;return c(nH)(r,'"',"\\");}(t??"",n.escapeSpace);try{if(rM.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rG.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rB.exportVariable)(e,i);}catch(t){(0,rG.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rG.error)(`${t} -Failed to export environment variable ${e}=${i}. You should add it manually.`);}}async function L(e,t,r){let n=t??"";switch(process.platform){case"win32":if(!r.overwrite&&void 0!==process.env[e]){(0,rG.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rG.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sz(r),r.overwrite?(await sJ(r.rcPath,` -export ${e}="${n}" -`),(0,rG.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sJ(r.rcPath,` -if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi -`),(0,rG.info)(`if not defined ${e} then ${e}="${n}" was added to "${r.rcPath}`));return;}process.env[e]=n;}async function k(e,t={}){var r;let n={rcPath:sX,...t};if(r=e,!(sZ.some(e=>e.test(r))&&(process.env.PATH?.split(iK.delimiter)??[]).includes(r))){process.env.PATH=`${e}${iK.delimiter}${process.env.PATH}`;try{if(rM.GITHUB_ACTIONS)try{(0,rB.addPath)(e);}catch(t){(0,rG.error)(t),await D(e,n);}else await D(e,n);}catch(t){(0,rG.error)(`${t} -Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function D(e,t){switch(process.platform){case"win32":await _(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,rG.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sz(t),await sQ(t.rcPath,` -export PATH="${e}:$PATH" -`),(0,rG.info)(`"${e}" was added to "${t.rcPath}"`);return;default:return;}}function j(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function U(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]e.startsWith("Status: install ok installed"));}catch{return!1;}}async function K(e){try{let{stdout:t}=await E("dpkg",["-l",e],{env:V("apt-get"),stdio:"pipe"});if("string"!=typeof t)return!1;return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function Y(e,t=z()){return(await Promise.all(e.map(e=>J(e,t)))).filter(e=>void 0!==e);}async function J(e,t=z()){let r=await Z(t,e.name,e.version);return(await W(r))?void 0:r;}async function Q(e,t,r){if(void 0!==r&&""!==r){let{stdout:n}=await E("apt-cache",["search","--names-only",`^${(0,id.default)(t)}-${(0,id.default)(r)}$`],{env:V(e),stdio:"pipe"});if(""!==n.trim())return 0;try{let{stdout:n}=await E("apt-cache",["show",`${t}=${r}`],{env:V(e)});if(""===n.trim())return 1;}catch{}}try{let{stdout:r}=await E("apt-cache",["show",t],{env:V(e),stdio:"pipe"});if(""!==r.trim())return 2;}catch{}return s2?3:(s4(e),Q(e,t,r));}async function Z(e,t,r){switch(await Q(e,t,r)){case 0:return`${t}-${r}`;case 1:return`${t}=${r}`;case 2:return void 0!==r&&""!==r&&(0,rG.warning)(`Could not find package ${t} with version ${r}. Installing the latest version.`),t;default:throw Error(`Could not find package ${t} ${r??""}`);}}async function ee(e){s4(e);let t=await Y([{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}],e);0!==t.length&&x(e,["install","-y","--fix-broken","-o",s1,...t],{...sG,env:V(e)});}async function et(e,t=z()){await s3(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sG,env:V(t)}),s4.clear(),s4(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",s1,"software-properties-common"],{...sG,env:V(e)});}async function en(e,t=!1){let r=z();for(let{name:t,version:n}of e)(0,rG.info)(`Installing ${t} ${n??""} via ${r}`);t&&s4(r),await ei(r,e);let n=await Y(e,r);if(0===n.length)return(0,rG.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s3(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sG,env:V(r)});}catch(e){if("string"==typeof e.stderr)s6.some(t=>e.stderr.includes(t))&&((0,rG.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",s1,...n],{...sG,env:V(r)}));else throw e;}return{binDir:"/usr/bin/"};}async function ei(e,t){let r=[...new Set(t.flatMap(e=>e.repository??[]))];await Promise.all(r.map(t=>et(t,e)));}async function eo(e){await Promise.all(e.map(async e=>{var t;void 0!==e.key&&(await("keyUrl"in(t=e.key)?ea(t):es(t)));}));}async function es({key:e,keyServer:t=s7,fileName:r,keyStorePath:n=s7}){try{ec(r);let i=(0,iK.join)(n,r);return(await(0,nG.pathExists)(i))||(el(),await R("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+i,"--keyserver",t,"--recv-keys",e]),await R("chmod",["644",i])),i;}catch(e){(0,rG.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s8}){try{ec(t);let n=(0,iK.join)(r,t);if(!(await(0,nG.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iK.join)((0,iW.tmpdir)(),t),i=new ii.DownloaderHelper(e,(0,iW.tmpdir)(),{fileName:t});i.on("error",t=>{throw Error(`Failed to download ${e}: ${t}`);}),await i.start(),x("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--import",r]),x("chmod",["644",n]);}return n;}catch(t){(0,rG.warning)(`Failed to add apt key via download ${e}: ${t}`);return;}}function el(){x("gpg",["-k"]);}function ec(e){if(!e.endsWith(".gpg"))throw Error("Key file name must end with .gpg: "+e);}async function eu(e={}){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let r=await c(nr)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iK.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new ii.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iW.tmpdir)(),{fileName:"install-brew.sh"});return n.on("error",e=>{throw Error("Failed to download the brew installer script: "+e);}),await n.start(),w("/bin/bash",[n.getDownloadPath()],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=ep(),await k(t,e.rcOptions),{binDir:t};}function ep(){if("darwin"===process.platform)return"arm64"===process.arch?"/opt/homebrew/bin/":"/usr/local/bin/";if("linux"===process.platform)return"/home/linuxbrew/.linuxbrew/bin/";throw Error("Unsupported platform for brew");}async function ef(e,t,r={}){let n={overwrite:!0,cask:!1,args:[],...r};(0,rG.info)(`Installing ${e} ${t??""} via brew`),s5&&null!==c(nr).sync("brew",{nothrow:!0})||(await eu(),s5=!0);let i=ep(),o=(0,iK.join)(i,"brew"),s=["install",void 0!==t&&""!==t?`${e}@${t}`:e];return n.overwrite&&s.push("--overwrite"),n.cask&&s.push("--cask"),w(o,s,{stdio:"inherit"}),{binDir:i};}function ed(){return"linux"===process.platform&&(void 0===o&&(o=null!==c(nr).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(nr).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(nr).sync("apt-get",{nothrow:!0})),a);}async function ev(e,t,n){if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let i=c(nr).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,im.dirname)(i)};let o="powershell.exe",s=c(nr).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==s&&(o=s),w(o,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});let a=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await k(a,lo);let l=c(nr).sync("choco",{nothrow:!0});if(r=null!==l?(0,im.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nG.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){(0,rG.info)(`Installing ${e} ${t??""} via chocolatey`),s9&&null!==c(nr).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s9=!0);let n=process.env.PATH,i={...process.env};if(i.TMP=void 0,i.TEMP=void 0,i.Path=void 0,i.PATH=n,void 0!==t&&""!==t)w("choco",["install","-y",e,"--version="+t,...r],{env:i,extendEnv:!1,stdio:"inherit"});else try{w("choco",["install","-y",e,...r],{env:i,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rG.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let o=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`;return await k(o,lo),{binDir:o};}async function ey(e){for(let{name:t,version:r}of e)(0,rG.info)(`Installing ${t} ${r??""} via dnf`);return x("dnf",["-y","install",...(await Promise.all(e.map(e=>eE(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function eE(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await E("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await E("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rG.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}async function ew(e,t,r){switch(process.platform){case"win32":return eg("bazelisk",e);case"darwin":return ef("bazelisk",e);case"linux":if(eh())throw Error("installing bazel on Arch linux is not supported yet");if(ed())return await ey([{name:"dnf-plugins-core"}]),x("dnf",["copr","enable","vbatts/bazel"]),ey([{name:"bazel4"}]);if(em()){let t=await ea({fileName:"bazel-archive-keyring.gpg",keyUrl:"https://bazel.build/bazel-release.pub.gpg"});return x("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),en([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function e_(e,t,r){(0,rG.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(nr).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);ae||"yay"===r||(x(n,["-Sy","--noconfirm"]),ae=!0),at||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),at=!0);let i=e=>"yay"===r?w(r,["-S","--noconfirm",e]):x(r??n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await eb(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rG.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function eb(e,t){let r=[];try{let{stdout:n}=await E(e,["-Si",t]);for(let e of n.matchAll(ar))r.push(e[1]);}catch(e){(0,rG.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||aa.arch();let n=al.join(eP(),e);if(ao.existsSync(n)){for(let e of ao.readdirSync(n))if(eI(e)){let i=al.join(n,e,t||"");ao.existsSync(i)&&ao.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eR(e){return ix(this,void 0,void 0,function*(){return e||(e=al.join(eA(),ad.default())),yield ai.mkdirP(e),e;});}function eO(e,t,r){return ix(this,void 0,void 0,function*(){let n=al.join(eP(),e,au.clean(t)||t,r||"");an.debug("destination "+n);let i=`${n}.complete`;return yield ai.rmRF(n),yield ai.rmRF(i),yield ai.mkdirP(n),n;});}function eS(e,t,r){let n=al.join(eP(),e,au.clean(t)||t,r||""),i=`${n}.complete`;ao.writeFileSync(i,""),an.debug("finished caching tool");}function eI(e){let t=au.clean(e)||"";an.debug("isExplicit: "+t);let r=null!=au.valid(t);return an.debug("explicit? "+r),r;}function eT(e,t){let r="";an.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>au.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(au.satisfies(i,t)){r=i;break;}}return r?an.debug("matched: "+r):an.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rg.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eA(){let e=process.env.RUNNER_TEMP||"";return rg.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function e$(e,t){let r=rk[e];return void 0!==r?r:t;}function eN(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");let r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new ay(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current{let e=(0,im.join)(process.env.RUNNER_TEMP??(0,iW.tmpdir)(),`${Date.now()}-${(0,iK.basename)(r)}`);return(0,iy.downloadTool)(r,e);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rG.info)(e)});}async function eq(e,t,r){rM.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===rl("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,iy.cacheDir)(e,t,r));}function eV(e,t,r){let n=c(iv)(e)??e;switch(t){case"win32":{let t;let i=c(ig)(n,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?i?"win32-x86":"windows-i386":i?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(ig)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(ig)(n,"v3.19.8");t=["aarch64"].includes(r)?i?"Linux-aarch64":"linux-aarch64":i?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eX(e,t,r){return eG("cmake",e,eV,t,r);}function ez(e,t){return new Promise(r=>{try{let n=(0,iZ.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eW(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return c(iD)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eK(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await ik(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eW(e,r)){let e=await n(t,o);if(null!==e){if(await ik(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function eY(e,t=aL){try{let r=await(0,iO.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(iv)(i)??void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=aL){let n=await eY(e,r);return void 0!==n&&""!==t&&-1!==c(iD)(n,t);}function eQ(){switch(process.platform){case"win32":default:return"17.0.6";case"linux":return"17.0.6-ubuntu-22.04";case"darwin":return"15.0.3";}}async function eZ(e,t,r){let n=await e2(e,t,r);c(rg)(void 0!==n.bin);let i=n.bin;if(void 0===(await e8(i)))throw Error("pip was not installed correctly");return await e0(i),await e1(i),n;}async function e0(e){try{if(!(await tc(e)))try{await tl(e,"pipx",void 0,{upgrade:!0,usePipx:!1});}catch(e){if(null===tm("pipx",!1))throw Error("pipx was not installed correctly "+e);}await E(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await tl(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rG.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function e1(e){try{await tl(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await tl(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rG.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function e2(e,t,r){let n;let i=await e3(t);if(void 0!==i){let e=(0,im.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rM.GITHUB_ACTIONS)try{(0,rG.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rU("lSnBZ");if(await o(e,t,r),i=await e3(t),void 0===i)throw Error("Python binary could not be found");let s=(0,im.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rG.warning)(e.toString());}void 0===n&&(n=await e4(t,e));}if(void 0===i||void 0===n.bin){if(void 0===(i=await e3(t)))throw Error("Python binary could not be found");n={bin:i,installDir:(0,im.dirname)(i),binDir:(0,im.dirname)(i)};}return n;}async function e4(e,t){let r;switch(process.platform){case"win32":{e?await eg("python3",t,["--params=/InstallDir:"+e]):await eg("python3",t);let n=await e3(e);if(void 0===n)throw Error("Python binary could not be found");let i=(0,im.dirname)(n);await k(i,lo),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await ef("python3",t);let e=await E("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,im.join)(e.stdout,"libexec","bin");await k(n,lo);break;}case"linux":if(eh())r=await e_("python",t);else if(ed())r=await ey([{name:"python3",version:t}]);else if(em())r=await en([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function e3(e){for(let t of["python3","python"]){let r=await e6(t,e);if(void 0!==r)return r;}if("win32"===process.platform){let e=(0,iK.parse)((0,iW.homedir)()).root;for(let t of(await(0,ni.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,im.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{if(void 0!==t){let r=(0,im.join)(t,(0,im.addExeExt)(e));if((await(0,nG.pathExists)(r))&&(await eJ(r,aD.python)))return r;}for(let t of(await c(nr)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aD.python))return t;}catch{}}async function e8(e){let t=await e7();return void 0===t?((0,rG.info)("pip was not found. Installing pip"),await e9(e),e7()):t;}async function e7(){for(let e of["pip3","pip"]){let t=await e5(e);if(void 0!==t)return t;}}async function e5(e){try{for(let t of(await c(nr)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aD.pip))return t;}catch{}}async function e9(e){(await te(e))||(await tm("pip"),await te(e));}async function te(e){try{return await E(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,rG.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rG.info)(e.toString());}}return!1;}async function tt(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,iO.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,im.join)(r,"Scripts"),(0,im.join)(r,"Scripts","bin"),(0,im.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){return tn(t)&&"linux"===process.platform&&null!==r&&e in aj?function(e,t){let r=e[0],n=Object.keys(t).map(e=>Number.parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,aj[e]):tn(t)&&e in ak?ak[e]??"":"true"===t?"":t??"";}function tn(e){return"true"===e||void 0===e;}async function ti(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{rw.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){if("Ubuntu"!==t[1])return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function to(){try{if(!em())return null;{try{null===c(nr).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,iU.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rG.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iW)&&"function"==typeof c(iW).version))return null;let e=c(iW).version().split("."),t=Number.parseInt(e[0].replace("#",""),10);return[t,Number.parseInt(e[1].replace("~",""),10),Number.parseInt(e[2].split("-")[0],10)];}async function ta(e,t,r={}){return tl(await aB(),e,t,r);}async function tl(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await tc(e)),c=l?"pipx":"pip";if(await td(e,t))try{(0,rB.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await aM(),i.PIPX_BIN_DIR=await aG()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rB.info)(`Failed to install ${t} via ${c}: ${e}.`),(await tm(t))===null)throw Error(`Failed to install ${t} via ${c}: ${e}.`);}else if((await tm(t))===null)throw Error(`Failed to install ${t} as it was not found via ${c} or the system package manager`);let u=await aU(e),p=await th(u,t);return await k(p,lo),{binDir:p};}async function tc(e){return 0===(await E(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function tu(){let e=process.env.PIPX_HOME;if(void 0!==e)return e;let t=T("~/.local/pipx");if(await(0,nG.pathExists)(t))return t;switch(process.platform){case"win32":e=T("~/AppData/Local/pipx");break;case"darwin":e=T("~/Library/Application Support/pipx");break;default:e=T("~/.local/share/pipx");}return await aC(e),await aC((0,im.join)(e,"trash")),await aC((0,im.join)(e,"shared")),await aC((0,im.join)(e,"venv")),e;}async function tp(){if(void 0!==process.env.PIPX_BIN_DIR)return process.env.PIPX_BIN_DIR;let e=T("~/.local/bin");return await k(e,lo),await aC(e),e;}async function tf(){let e=(await eZ(tr("python",void 0,await aF()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function td(e,t){return 0===(await E(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function th(e,t){let r=(await Promise.all(e.map(e=>(0,nG.pathExists)((0,im.join)(e,(0,im.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(nr).sync((0,im.addExeExt)(t),{nothrow:!0});return null!==n?(0,im.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rB.info)(`Installing ${e} via the system package manager`),eh())return e_(t?"python-"+e:e);if(ed())return ey([{name:t?"python3-"+e:e}]);if(em())return en([{name:t?"python3-"+e:e}]);}return null;}async function tv(e,t,r){switch(process.platform){case"win32":return await eg("cppcheck",e),{binDir:await tg()};case"darwin":return ef("cppcheck",e);case"linux":if(eh())return e_("cppcheck",e);if(ed())return ey([{name:"ccache",version:e}]);if(em())return en([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tg(){let e="C:/Program Files/Cppcheck";return await k(e,lo),e;}async function ty(e,t,r){switch(process.platform){case"win32":return await eg("graphviz",e),tE();case"darwin":return ef("graphviz",e);case"linux":if(eh())return e_("graphviz",e);if(ed())return ey([{name:"graphviz",version:e}]);if(em())return en([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tE(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await k(e,lo),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rU("2p0xG"),n=new r(e);await n.read(async e=>{await e.extract((0,iK.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}case"darwin":{let t="Doxygen-"+e;return{binRelativeDir:"Doxygen/Doxygen.app/Contents/Resources/",binFileName:(0,im.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:tw,url:`https://doxygen.nl/files/${t}.dmg`};}default:throw Error(`Unsupported platform '${t}'`);}}async function tb(e,t,r){switch(process.platform){case"win32":{await c(i$)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rG.info)(e)});let t=await tx();return await ty(tr("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await ef("doxygen",void 0);return aq()[0]>11&&(await ty(tr("graphviz",void 0),"",r)),e;}case"linux":{let n;if(""===e||eh()||ed()){if(eh())n=await e_("doxygen",e);else if(ed())return ey([{name:"doxygen",version:e}]);else if(em())n=await en([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(em())try{n=await eG("doxygen",e,t_,t,r);try{await en([{name:"libclang-cpp9"}]);}catch(e){(0,rG.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rG.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await en([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await ty(tr("graphviz",void 0,await aF()),"",r),n;}default:throw Error("Unsupported platform");}}async function tx(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nG.pathExists)((0,im.join)(e,"doxygen.exe")))return await k(e,lo),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tR(){if("darwin"===process.platform)try{let e=await(0,iO.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),lo):(0,rG.error)("SDKROOT not set");}catch(e){(0,rG.error)(e);}}async function tO(e){return JSON.parse(await(0,ni.readFile)(e,"utf-8"));}async function tS(e,t,r){if("win32"===t){let t=function(e,t){let r,n=Object.keys(e);if(void 0!==t.filterTag&&(n=n.filter(t.filterTag)),0===n.length)throw Error("no tag found for version "+t.version);for(let e of n)if(e.startsWith(t.version)){r=e;break;}if(void 0===r)throw Error(`version ${t.version} is not supported`);let i=e[r];if(void 0!==t.filterName&&(i=i.filter(t.filterName)),0===i.length)throw Error(`no asset found for version ${t.version} and arch ${t.arch}`);if(void 0===t.arch)return{tag:r,name:i[0]};for(let e of i)if(e.includes(t.arch))return{tag:r,name:e};throw Error(`arch ${t.arch} could not be found among ${JSON.stringify(i)}`);}(await tO((0,im.join)(iM,"github_brechtsanders_winlibs_mingw.json")),{version:e,arch:"x64"===r?"x86_64":"ia32"===r?"i386":r,filterName:e=>e.endsWith(".7z")});return{binRelativeDir:"bin/",binFileName:(0,im.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.tag}/${t.name}`};}throw Error(`Unsupported platform '${t}'`);}async function tI(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await eg("gcc-arm-embedded",e));try{i=await eG("g++",e,tS,t,r);}catch(t){(0,rG.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tP(e,r);}break;case"darwin":i=await ef("gcc",e);break;case"linux":"x64"===r?eh()?i=await e_("gcc",e):ed()?i=await ey([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):em()&&(i=""===e?await en([{name:"gcc"},{name:"g++"}]):await en([{name:"gcc",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}},{name:"g++",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])):((0,rG.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?i=await e_("gcc-multilib",e):em()&&(i=""===e?await en([{name:"gcc-multilib"}]):await en([{name:"gcc-multilib",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await tA(e,i.binDir,n),i;}async function tT(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tI(e,t,r);case"linux":eh()?n=await e_("mingw-w64-gcc",e):ed()?n=await ey([{name:"mingw64-gcc",version:e}]):em()&&(n=await en([{name:"mingw-w64",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tP(e,t){let r;if(await eg("mingw",e),"x64"===t&&(await(0,nG.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await k(r,lo)):"ia32"===t&&(await(0,nG.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await k(r,lo)):(await(0,nG.pathExists)(`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(r=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`),void 0!==r)return{binDir:r};}async function tA(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,im.addExeExt)(`${t}/gcc`),lo),C("CXX",(0,im.addExeExt)(`${t}/g++`),lo));else{let i=e;""===e&&(i=await t$(t,i),(0,rG.info)("Using gcc version "+i));let o=c(iF)(c(iv)(i)??i);o>=5?(n.push(C("CC",`${t}/gcc-${o}`,lo),C("CXX",`${t}/g++-${o}`,lo)),em()&&n.push(q("cc",`${t}/gcc-${o}`,lo,r),q("cxx",`${t}/g++-${o}`,lo,r),q("gcc",`${t}/gcc-${o}`,lo,r),q("g++",`${t}/g++-${o}`,lo,r))):(n.push(C("CC",`${t}/gcc-${i}`,lo),C("CXX",`${t}/g++-${i}`,lo)),em()&&n.push(q("cc",`${t}/gcc-${i}`,lo,r),q("cxx",`${t}/g++-${i}`,lo,r),q("gcc",`${t}/gcc-${i}`,lo,r),q("g++",`${t}/g++-${i}`,lo,r)));}n.push(tR()),rM.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function t$(e,t){try{let r="gcc";if(await(0,nG.pathExists)(`${e}/gcc`))r=`${e}/gcc`;else for(let t of(await(0,ni.readdir)(e)).sort((e,t)=>{let r=e.match(/^gcc-?(.*)(\.exe)?$/)?.[1]||"",n=t.match(/^gcc-?(.*)(\.exe)?$/)?.[1]||"";return function(e,t){let r=c(iv)(e),n=c(iv)(t);return null!==r&&null!==n?n.compare(r):t.localeCompare(e);}(r,n);}))if(t.startsWith("gcc")){r=`${e}/${t}`;break;}let{stdout:n}=await E(r,["--version"],{stdio:"pipe"}),i=n.match(/gcc.* \(.*\) ([\d.]+)/);if(null!==i)return i[1];return(0,rG.warning)("Failed to parse gcc version from: "+n),t;}catch(e){return(0,rG.error)("Failed to get gcc version: "+e),t;}}async function tN(){let e=(0,im.join)(iM,"gcc_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}function tC(e,t,r){let n=function(e){switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`);}}(t);return{binRelativeDir:"",binFileName:(0,im.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tL(e,t,r){return eG("ninja",e,tC,t,r);}function tk(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,im.addExeExt)("kcov")};}function tD(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,im.addExeExt)("kcov"),extractFunction:tj};}async function tj(e,t){let r=await eF(e,t,1),n=await tU();"linux"===process.platform&&(eh()?await Promise.all([e_("libdwarf"),e_("libcurl-openssl")]):ed()?await ey([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):em()&&(await en([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==c(nr).sync("patch",{nothrow:!0})){let e=(0,im.join)(iG,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rG.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,im.join)(r,"build");return await E(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await E(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function tU(){let e=c(nr).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eX(tr("cmake",void 0,await aF()),(0,im.join)(T("~"),"cmake"),"");e=(0,im.join)(t,"cmake");}return null===c(nr).sync("ninja",{nothrow:!0})&&(await tL(tr("ninja",void 0,await aF()),(0,im.join)(T("~"),"ninja"),"")),e;}async function tF(e,t,r){var n;let i;if("linux"!==process.platform){(0,rG.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=Number.parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await eG("kcov",s,tk,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tD,t,r),i;}function tM(e){if(Object.values(aZ).includes(e));else if(e in aZ)return aZ[e];return e;}function tG(e){let t;let r=tM(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return rw.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rB.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iY.existsSync(n))return rB.info("Found with vswhere: "+n),n;rB.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aZ).includes(e));else for(let[t,r]of Object.entries(aZ))if(r===e)return t;return e;}(e)]:aQ;for(let e of aY)for(let t of i)for(let r of aJ)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rB.info("Trying standard location: "+n),iY.existsSync(n))return rB.info("Found standard location: "+n),n;if(rB.info("Not found in standard locations"),n=`${aK}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iY.existsSync(n))return rB.info("Found VS 2015: "+n),n;throw rB.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tB(e,t,r,n,i,o,s){void 0!==t&&(await(0,nG.pathExists)(t))&&((0,rG.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,lo)),await iq(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tH(e,t,r,n,i,o,s,a=a1){(0,rB.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(aW(e)),e.addEventListener("abort",()=>{l(aW(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aV();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(c.message=o??`Promise timed out after ${n} milliseconds`,l(c));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}).finally(()=>{a.clear();});return a.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},a;}(tq(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rG.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rG.error)(t.stack),s.push(`${e} failed to install`);}return(0,rB.endGroup)(),l;}async function tq(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tB(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:lo});else{let o=(0,im.join)(i,a?"llvm":e),l=tr(e,t,r),c=lr[e];s=await c(l,o,n);}return o.push(rc(e,s)),a;}async function tV(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new ii.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iW.tmpdir)(),{fileName:"llvm.sh"});n.on("error",e=>{throw Error("Failed to download the LLVM installer script: "+e);}),await n.start();let i=await(0,ni.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iK.join)((0,iW.tmpdir)(),"llvm-setup-cpp.sh"),s=await tX(i,o,e,t);return await en(s),await(0,ni.chmod)(o,"755"),await R("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a1}),await k(`${r}/bin`,lo),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tX(e,t,r,n){var i,o,s,a,l;let c=(i=e,"1"!==process.env.NODE_DEBUG&&"true"!==process.env.NODE_DEBUG?i.replace(/set -eux/g,"set -eu"):i);return o=n,s=c=c.replace(/add-apt-repository "\${REPO_NAME}"/g,`add-apt-repository -y -n "\${REPO_NAME}" -apt-get update -o ${s1} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tz(c),c=X()?l.replace(/apt-get/g,"nala"):l,await(0,ni.writeFile)(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tz(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${s1} -y --fix-broken`);return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await K(r))&&((0,rL.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tW(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tK(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tY(e){let t;if(a4.has(e))return null;let r="LLVM-",n=c(ig)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(ig)(e,"9.0.1"),o=!1;return i&&(t=tK(e,r,n),(await ik(t))||(o=!0)),(o||!i)&&(t=tW(e,r,n)),t;}function tJ(e,t){switch(e){case"darwin":return function(e){if(a3.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return c(ig)(e,"9.0.1")?tK(e,r,n):tW(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a6.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a2.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a2,e)[0];}else""!==n&&n in a8?t=a8[n]:(t=a8[a7],(0,rG.warning)(`Falling back to LLVM version ${a7} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,c(ig)(n,"9.0.1"))?tK(n,o,r):tW(n,o,r);}(t);case"win32":return tY(t);default:return null;}}async function tQ(e,t,r){let[n,i]=await eK(a2,t,e,tJ);return(0,rG.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,im.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eF(e,t,1)};}async function tZ(e,t,r){let n=await a5(e,t,r);return await t3(n.installDir??t),n;}async function t0(e,t,r){let[n,i]=await Promise.all([t1(e,t,r),t6()]);return await le(r),n;}async function t1(e,t,r,n=iV.All){let i=Number.parseInt(function(e){if(null===c(ij)(e))try{let t=c(iv)(e);if(null!==t)return(0,rG.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tV(i,n);}catch(e){(0,rG.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tQ,t,r);return await a9(i),o;}async function t2(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t4(e){"linux"===process.platform&&(await tI(tr("gcc",void 0,await aF()),"",e,40));}async function t3(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[C("LLVM_PATH",e,lo),C("LD_LIBRARY_PATH",`${e}/lib${iK.delimiter}${t}`,lo),C("DYLD_LIBRARY_PATH",`${e}/lib${iK.delimiter}${r}`,lo),C("LDFLAGS",`-L"${e}/lib"`,lo),C("CPPFLAGS",`-I"${e}/include"`,lo),C("CC",(0,im.addExeExt)(`${e}/bin/clang`),lo),C("CXX",(0,im.addExeExt)(`${e}/bin/clang++`),lo),C("LIBRARY_PATH",`${e}/lib`,lo),tR()];em()&&n.push(q("cc",`${e}/bin/clang`,lo,60),q("cxx",`${e}/bin/clang++`,lo,60),q("clang",`${e}/bin/clang`,lo),q("clang++",`${e}/bin/clang++`,lo),q("lld",`${e}/bin/lld`,lo),q("ld.lld",`${e}/bin/ld.lld`,lo),q("llvm-ar",`${e}/bin/llvm-ar`,lo)),await Promise.all(n);}async function t6(){if(rM.GITHUB_ACTIONS){let e=(0,im.join)(iX,"llvm_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}}async function t8(e,t,r){switch(process.platform){case"win32":return eg("make",e);case"darwin":return await ef("make",e),await k("/usr/local/opt/make/libexec/gnubin",lo),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(eh())return e_("make",e);if(ed())return ey([{name:"make",version:e}]);if(em())return en([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function t7(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iB(e);(0,rG.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iH(l);c=!0,(0,rG.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!c)try{"14.0"===l?(s="14.0",await eg("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await eg("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await eg("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await eg("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,rG.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rG.error)(e);}await tB(l,a,r,s,n,i,o),rM.GITHUB_ACTIONS&&(await t5());}async function t5(){let e=(0,im.join)(iz,"msvc_matcher.json");if(!(await(0,nG.pathExists)(e)))return(0,rG.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rG.info)("::add-matcher::"+e);}async function t9(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(nr).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,im.dirname)(n)};await en([{name:"python3-apt"}]),i="/usr/bin";try{let t=await J({name:"nala",version:e});if(void 0!==t)return await en([{name:t}]),{binDir:i};}catch(e){(0,rG.info)("Failed to install nala: "+e);}try{let e=await J({name:"nala-legacy"});if(void 0!==e)return await en([{name:e}],!0),{binDir:i};}catch(e){(0,rG.info)("Failed to install nala-legacy: "+e);}return await re(),{binDir:i};}async function re(){let e=new ii.DownloaderHelper("https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",(0,iW.tmpdir)(),{fileName:"install-nala.sh"});e.on("error",e=>{throw Error("Failed to download install-nala.sh: "+e);}),await e.start();let t=(0,im.join)((0,iW.tmpdir)(),"install-nala.sh"),r=await(0,ni.readFile)(t,"utf8");await(0,ni.writeFile)(t,r.replace(/sudo/g,"")),await en([{name:"wget"}]);try{x("bash",[t]);}catch(e){(0,rG.error)("Failed to install nala via installer: "+e),x("apt",["install","-y","-t","nala","nala"]);}}async function rt(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await rr()};}async function rr(){let e="C:/Program Files/OpenCppCoverage";return await k(e,lo),e;}function rn(e,t,r){return{url:function(e,t,r){switch(e){case"win32":{let e=["ia32","x86","i386","x32"].includes(t)?"win-x86":"win-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/PowerShell-${r}-${e}.zip`;}case"darwin":{let e=["arm","arm64"].includes(t)?"osx-arm64":"osx-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${e}.tar.gz`;}case"linux":{let e={arm64:"linux-arm64",arm:"linux-arm64",arm32:"linux-arm32",aarch64:"linux-arm64",x64:"linux-x64"}[t]??"linux-x64";return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${e}.tar.gz`;}default:throw Error(`Unsupported platform '${e}'`);}}(t,r,e),binRelativeDir:"",binFileName:(0,im.addExeExt)("pwsh"),extractedFolderName:""};}async function ri(e,t,r){try{return await eG("pwsh",e,rn,t,r);}catch(n){return(0,rG.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),ro(e,t,r);}}async function ro(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,lo),{binDir:t};}case"darwin":return ef("powershell",e,{cask:!0,overwrite:!1});case"linux":if(eh())return e_("powershell-bin",e,"yay");if(ed())return await ey([{name:"curl"}]),x("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),ey([{name:"powershell",version:e}]);if(em()){await en([{name:"curl"}]);let t=await aF(),r=`${t[0]}.0${t[1]}`;return x("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),x("dpkg",["-i","packages-microsoft-prod.deb"]),en([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function rs(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t?"zip":"tar.gz";return{binRelativeDir:"",binFileName:(0,im.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ra(e,t,r){return lt&&null!==c(nr).sync("vcpkg",{nothrow:!0})?{binDir:(0,im.dirname)(c(nr).sync("vcpkg"))}:("linux"===process.platform&&(eh()?await Promise.all([e_("curl"),e_("zip"),e_("unzip"),e_("tar"),e_("git"),e_("pkg-config")]):ed()?await ey([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):em()&&(await en([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nG.pathExists)((0,im.join)(t,(0,im.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rG.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,im.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rG.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,im.addShExt)((0,im.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,lo),lt=!0,{binDir:t});}function rl(e){let t=(0,rB.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function rc(e,t){let r=`\u{2705} ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r;}async function ru(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==c(ij)(e)||(0,rG.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rB.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tZ(tr("llvm",l,t),(0,iK.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",lo),i.push(rc("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?tr("mingw",l,t):tr("gcc",l,t),s="mingw"===a?await tT(e,(0,iK.join)(r,"gcc"),n):await tI(e,(0,iK.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",lo)),await function(e){let t=c(ij)(e),r=null!==t?c(iF)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",lo);}(e),i.push(rc("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t7(tr("msvc",l,t),(0,iK.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",lo)),i.push(rc("msvc",e));break;}case"appleclang":case"applellvm":(0,rB.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",lo),C("CXX","clang++",lo)]),i.push(rc("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rG.error)(t),s.push("Failed to install the "+e);}(0,rB.endGroup)();}async function rp(e){let t,r,n=Promise.resolve();rM.GITHUB_ACTIONS||(n=F(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let i=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;let f=void 0!==t.alias,d=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=M(t.string),t.boolean=M(t.boolean),f)for(r in t.alias)for(l=0,n=t.alias[r]=M(t.alias[r]);l0;)for(c=(n=t.alias[t.boolean[l]]||[]).length;c-->0;)t.boolean.push(n[c]);for(l=t.string.length;l-->0;)for(c=(n=t.alias[t.string[l]]||[]).length;c-->0;)t.string.push(n[c]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(c=0;c0;)a[n.shift()]=a[r];return a;}(e,{string:[...li,"timeout"],default:Object.fromEntries(li.map(e=>[e,rl(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rG.info)(` -setup-cpp [options] -setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true - -Install all the tools required for building and testing C++/C projects. - ---architecture the cpu architecture to install the tools for. By default it uses the current CPU architecture. ---timeout the timeout for the installation of each tool in minutes. By default it is 10 minutes. ---compiler the to install. - You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0' ---$tool_name pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1" - -All the available tools: -`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--ccache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let o=i.architecture??process.arch,s=process.env.SETUP_CPP_DIR??T("~"),a=[],l=[],u=nX.create({autoloadLocales:!0});nX.addLocale(c(nz)),nq.addLocale(c(nV));let p=await aF();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!tn(e[t])),i=n.length>=1?e[n[0]]:"true";if(n.some(t=>e[t]!==i))return!1;for(let t of r)e[t]=i;return!0;}(i,["llvm","clangtidy","clangformat"]))return(0,rG.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rG.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await e_("python-pygments"));let f=!1,d=!1;for(let e of ln){if(rM.isCI&&0!==l.length){d=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),f=await tH(e,n,p,o,s,a,l,6e4*Number.parseFloat(i.timeout??"20")),r=Date.now(),(0,rG.info)("took "+(u.format(t,r)||"0 seconds")));}if(!d){let e=i.compiler;if(void 0!==e){let t=Date.now();await ru(e,p,s,o,a,f,l);let r=Date.now();(0,rG.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await N(lo),0===a.length&&0===l.length)return(0,rG.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of a)(0,rG.success)(e);for(let e of l)(0,rG.error)(e);if((0,rG.info)("setup-cpp finished"),!rM.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rG.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rG.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rR,rO,rS,rI,rT,rP,rA,r$,rN,rC,rL,rk,rD,rj,rU,rF,rM,rG,rB,rH,rq,rV,rX,rz,rW,rK,rY,rJ,rQ,rZ,r0,r1,r2,r4,r3,r6,r8,r7,r5,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nf,nd,nh,nm,nv,ng,ny,nE,nw,n_,nb,nx,nR,nO,nS,nI,nT,nP,nA,n$,nN,nC,nL,nk,nD,nj,nU,nF,nM,nG,nB,nH,nq,nV,nX,nz,nW,nK,nY,nJ,nQ,nZ,n0,n1,n2,n4,n3,n6,n8,n7,n5,n9,ie,it,ir,ii,io,is,ia,il,ic,iu,ip,id,ih,im,iv,ig,iy,iE,iw,i_,ib,ix,iR,iO,iS,iI,iT,iP,iA,i$,iN,iC,iL,ik,iD,ij,iU,iF,iM,iG,iB,iH,iq,iV,iX,iz,iW=require("os"),iK=require("path"),iY=require("fs"),iJ=require("crypto"),iQ=require("http"),iZ=require("https");require("net"),rm=require("tls"),rv=require("events"),rg=require("assert"),ry=require("util"),rE=require("fs"),rw=require("child_process"),r_=require("string_decoder"),rb=require("timers"),rx=require("buffer"),rR=require("path"),rO=require("child_process"),rS=require("process"),rI=require("url"),rT=require("os"),rP=require("buffer"),rA=require("stream"),r$=require("util"),rN=require("process"),rC=require("url"),rL=require("console"),rD={},rj={},null==(rU=(rk=globalThis).parcelRequire810d)&&((rU=function(e){if(e in rD)return rD[e].exports;if(e in rj){var t=rj[e];delete rj[e];var r={id:e,exports:{}};return rD[e]=r,t.call(r.exports,r,r.exports),r.exports;}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n;}).register=function(e,t){rj[e]=t;},rk.parcelRequire810d=rU),(rF=rU.register)("9ne19",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rU("elk84");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(e){return n(e);});if(e.exports[t.constant]=r,r)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rF("elk84",function(e,t){e.exports=JSON.parse('[{"name":"Agola CI","constant":"AGOLA","env":"AGOLA_GIT_REF","pr":"AGOLA_PULL_REQUEST_ID"},{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"TF_BUILD","pr":{"BUILD_REASON":"PullRequest"}},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Earthly","constant":"EARTHLY","env":"EARTHLY_CI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"Gitea Actions","constant":"GITEA_ACTIONS","env":"GITEA_ACTIONS"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Prow","constant":"PROW","env":"PROW_JOB_ID"},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vela","constant":"VELA","env":"VELA","pr":{"VELA_PULL_REQUEST":"1"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]},"pr":"VERCEL_GIT_PULL_REQUEST_ID"},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rF("ER74K",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function c(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>c),r=rU("9yJgU"),n=rU("9ne19");}),rF("9yJgU",function(e,t){var r,n,i,o,s,a,l,c,u,p,f,d;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function v(e){s.issue("group",e);}function g(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0,s=rU("lffbf"),a=rU("60EQk"),l=rU("h6Xqd");let y=i(iW),E=i(iK);c=rU("cxnRr"),(d=u=e.exports.ExitCode||(e.exports.ExitCode={}))[d.Success=0]="Success",d[d.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${E.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(y.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=u.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+y.EOL);},e.exports.startGroup=v,e.exports.endGroup=g,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;v(e);try{r=yield t();}finally{g();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield c.OidcClient.getIDToken(e);});},p=rU("kPBPC"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rU("kPBPC"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rU("fv8Nn"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return f.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return f.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return f.toPlatformPath;}});}),rF("lffbf",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(iW);o=rU("h6Xqd"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rF("h6Xqd",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rF("60EQk",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(iY),l=i(iW);o=rU("4dndm"),s=rU("h6Xqd"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rF("4dndm",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rU("5SVBN"),n=rU("38Etc"),i=function(e,t,i){let o=(e=e||{}).random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rF("5SVBN",function(e,t){function r(){return i>n.length-16&&(c(iJ).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rF("38Etc",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rU("f9HAa");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rF("f9HAa",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rU("bpRYF"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rF("bpRYF",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;}),rF("cxnRr",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rU("lpeQd"),i=rU("8pFBD"),o=rU("9yJgU");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e;}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e;}static getCall(e){var t;return r(this,void 0,void 0,function*(){let r=s.createHttpClient(),n=null===(t=(yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. - - Error Code : ${e.statusCode} - - Error Message: ${e.message}`);})).result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rF("lpeQd",function(e,t){var r,n,i,o,s,a,l,c,u;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r];}}),Object.defineProperty(e,n,i);}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;let p=i(iQ),f=i(iZ),d=i(rU("bBH88")),h=i(rU("eYDoL"));(c=s||(e.exports.HttpCodes=s={}))[c.OK=200]="OK",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.ResourceMoved=302]="ResourceMoved",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.SwitchProxy=306]="SwitchProxy",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.TooManyRequests=429]="TooManyRequests",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",(u=a||(e.exports.Headers=a={})).Accept="accept",u.ContentType="content-type",(l||(e.exports.MediaTypes=l={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=d.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],v=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype);}}e.exports.HttpClientError=y;class E{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(this,void 0,void 0,function*(){let t=Buffer.alloc(0);this.message.on("data",e=>{t=Buffer.concat([t,e]);}),this.message.on("end",()=>{e(t.toString());});}));});}readBodyBuffer(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(this,void 0,void 0,function*(){let t=[];this.message.on("data",e=>{t.push(e);}),this.message.on("end",()=>{e(Buffer.concat(t));});}));});}}e.exports.HttpClientResponse=E,e.exports.isHttps=function(e){return"https:"===new URL(e).protocol;},e.exports.HttpClient=class{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries));}options(e,t){return o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&g.includes(e)?this._maxRetries+1:1,c=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!v.includes(i.message.statusCode))break;(c+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(e,t){o||(o=!0,r(e,t));}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1,s=e.httpModule.request(e.options,e=>{i(void 0,new E(e));});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}getAgentDispatcher(e){return o(this,void 0,void 0,function*(){let t=new URL(e),r=d.getProxyUrl(t);if(r&&r.hostname)return yield this._getProxyAgentDispatcher(t,r);});}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?f:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=d.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),n||(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new f.Agent(e):new p.Agent(e),this._agent=t;}return i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_getProxyAgentDispatcher(e,t){return o(this,void 0,void 0,function*(){let r;if(this._keepAlive&&(r=this._proxyAgentDispatcher),r)return r;let n="https:"===e.protocol;return r=new(yield Promise.resolve().then(function(){return rU("gqDK7");}).then(e=>i(e)))(Object.assign({uri:t.href,pipelining:this._keepAlive?1:0},(t.username||t.password)&&{token:"Basic "+Buffer.from(`${t.username}:${t.password}`).toString("base64")})),this._proxyAgentDispatcher=r,n&&this._ignoreSslError&&(r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:!1})),r;});}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){let t=5*Math.pow(2,e=Math.min(10,e));return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new y(i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rF("bBH88",function(e,t){function r(e){let t;if(!e.hostname)return!1;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(e.hostname))return!0;let 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 n=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&n.push(`${n[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||n.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let i=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(i)try{return new n(i);}catch(e){if(!i.startsWith("http://")&&!i.startsWith("https://"))return new n("http://"+i);}},e.exports.checkBypass=r;class n extends URL{constructor(e,t){super(e,t),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password);}get username(){return this._decodedUsername;}get password(){return this._decodedPassword;}}}),rF("eYDoL",function(e,t){e.exports=rU("gBbBa");}),rF("gBbBa",function(e,t){var r,n,i,o,s,a;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||iQ.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=f({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=rm.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function f(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new c(e);return t.request=iQ.request,t;},n=function(e){var t=new c(e);return t.request=iQ.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iZ.request,t;},o=function(e){var t=new c(e);return t.request=iZ.request,t.createSocket=u,t.defaultPort=443,t;},ry.inherits(c,rv.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=f({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n);}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t);});},c.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var c=Error("tunneling socket could not be established, statusCode="+r.statusCode);c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var c=Error("got illegal response body from proxy");c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=f({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),o.removeSocket(s);}),i.end();},c.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,function(e){r.request.onSocket(e);});}},process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?a=function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:a=function(){},s=a;}),rF("gqDK7",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.74b39078.js")).then(()=>rU("3z4gn"));}),rF("8pFBD",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token;}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}};}),rF("kPBPC",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;let{access:n,appendFile:i,writeFile:o}=iY.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,iY.constants.R_OK|iY.constants.W_OK);}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`);}return this._filePath=t,this._filePath;});}wrap(e,t,r={}){let n=Object.entries(r).map(([e,t])=>` ${e}="${t}"`).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`;}write(e){return r(this,void 0,void 0,function*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer();});}clear(){return r(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0});});}stringify(){return this._buffer;}isEmptyBuffer(){return 0===this._buffer.length;}emptyBuffer(){return this._buffer="",this;}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this;}addEOL(){return this.addRaw(iW.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rF("fv8Nn",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(iK);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rF("a3PNV",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;ni),l(e.exports,"lstat",()=>p),l(e.exports,"mkdir",()=>f),l(e.exports,"open",()=>h),l(e.exports,"readdir",()=>m),l(e.exports,"readFile",()=>v),l(e.exports,"readlink",()=>g),l(e.exports,"stat",()=>_),l(e.exports,"symlink",()=>b),l(e.exports,"utimes",()=>O),l(e.exports,"writeFile",()=>S),l(e.exports,"rm",()=>I),iY.promises;let{access:r,appendFile:n,chmod:i,chown:o,copyFile:s,lchmod:a,lchown:c,link:u,lstat:p,mkdir:f,mkdtemp:d,open:h,readdir:m,readFile:v,readlink:g,realpath:y,rename:E,rmdir:w,stat:_,symlink:b,truncate:x,unlink:R,utimes:O,writeFile:S}=iY.promises,I="rm"in iY.promises?iY.promises.rm:(0,ry.promisify)(iY.unlink);}),rF("7Ubzm",function(e,t){e.exports=function(){};}),rF("8tETt",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rF("hGADy",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rF("9KLFQ",function(e,t){var r=rU("dxkoV"),n=rU("gGM7W"),i=Function.prototype.bind,o=Function.prototype.call,s=Object.keys,a=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(l,c){var u,p=arguments[2],f=arguments[3];return l=Object(n(l)),r(c),u=s(l),f&&u.sort("function"==typeof f?i.call(f,l):void 0),"function"!=typeof e&&(e=u[e]),o.call(e,u,function(e,r){return a.call(l,e)?o.call(c,p,l[e],e,l,r):t;});};};}),rF("dxkoV",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rF("gGM7W",function(e,t){var r=rU("8uHBt");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rF("8uHBt",function(e,t){var r=rU("7Ubzm")();e.exports=function(e){return e!==r&&null!==e;};}),rF("5twQR",function(e,t){}),rF("63IW4",function(e,t){e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy");};}),rF("11hhf",function(e,t){var r=rU("4bgzK"),n=rU("gGM7W"),i=Math.max;e.exports=function(e,t){var o,s,a,l=i(arguments.length,2);for(s=1,e=Object(n(e)),a=function(r){try{e[r]=t[r];}catch(e){o||(o=e);}};l>s;++s)t=arguments[s],r(t).forEach(a);if(void 0!==o)throw o;return e;};}),rF("4bgzK",function(e,t){e.exports=rU("h6Tco")()?Object.keys:rU("jSHqR");}),rF("h6Tco",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rF("jSHqR",function(e,t){var r=rU("8uHBt"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rF("4P0KV",function(e,t){var r=rU("gGM7W"),n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e.exports=function(e,t){var a,l=Object(r(t));if(e=Object(r(e)),o(l).forEach(function(r){try{n(e,r,i(t,r));}catch(e){a=e;}}),"function"==typeof s&&s(l).forEach(function(r){try{n(e,r,i(t,r));}catch(e){a=e;}}),void 0!==a)throw a;return e;};}),rF("lQbJp",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rF("ffXEK",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rF("4SFhS",function(e,t){var r,n,i,o,s,a,l,c=rU("eXmen"),u=rU("dxkoV"),p=Function.prototype.apply,f=Function.prototype.call,d=Object.create,h=Object.defineProperty,m=Object.defineProperties,v=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var r;return u(t),v.call(this,"__ee__")?r=this.__ee__:(r=g.value=d(null),h(this,"__ee__",g),g.value=null),r[e]?"object"==typeof r[e]?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this;},n=function(e,t){var n,o;return u(t),o=this,r.call(this,e,n=function(){i.call(o,e,n),p.call(t,this,arguments);}),n.__eeOnceListener__=t,this;},s={on:r,once:n,off:i=function(e,t){var r,n,i,o;if(u(t),!v.call(this,"__ee__")||!(r=this.__ee__)[e])return this;if("object"==typeof(n=r[e]))for(o=0;i=n[o];++o)(i===t||i.__eeOnceListener__===t)&&(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else(n===t||n.__eeOnceListener__===t)&&delete r[e];return this;},emit:o=function(e){var t,r,n,i,o;if(v.call(this,"__ee__")&&(i=this.__ee__[e])){if("object"==typeof i){for(t=1,r=arguments.length,o=Array(r-1);r>t;++t)o[t-1]=arguments[t];for(t=0,i=i.slice();n=i[t];++t)p.call(n,this,o);}else switch(arguments.length){case 1:f.call(i,this);break;case 2:f.call(i,this,arguments[1]);break;case 3:f.call(i,this,arguments[1],arguments[2]);break;default:for(t=1,r=arguments.length,o=Array(r-1);r>t;++t)o[t-1]=arguments[t];p.call(i,this,o);}}}},l=m({},a={on:c(r),once:c(n),off:c(i),emit:c(o)}),e.exports=t=function(e){return null==e?d(l):m(Object(e),a);},t.methods=s;}),rF("eXmen",function(e,t){var r=rU("eAnMX"),n=rU("bDk1X"),i=rU("6XGJc"),o=rU("3a7Qq"),s=rU("iiFLO");(e.exports=function(e,t){var n,a,l,c,u;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],r(e)?(n=s.call(e,"c"),a=s.call(e,"e"),l=s.call(e,"w")):(n=l=!0,a=!1),u={value:t,configurable:n,enumerable:a,writable:l},c?i(o(c),u):u;}).gs=function(e,t,a){var l,c,u,p;return"string"!=typeof e?(u=a,a=t,t=e,e=null):u=arguments[3],r(t)?n(t)?r(a)?n(a)||(u=a,a=void 0):a=void 0:(u=t,t=a=void 0):t=void 0,r(e)?(l=s.call(e,"c"),c=s.call(e,"e")):(l=!0,c=!1),p={get:t,set:a,configurable:l,enumerable:c},u?i(o(u),p):p;};}),rF("eAnMX",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rF("bDk1X",function(e,t){var r=rU("lrn5l"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rF("lrn5l",function(e,t){var r=rU("89yT1");e.exports=function(e){if("function"!=typeof e||!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length||"function"!=typeof e.call||"function"!=typeof e.apply)return!1;}catch(e){return!1;}return!r(e);};}),rF("89yT1",function(e,t){var r=rU("dZcwn");e.exports=function(e){if(!r(e))return!1;try{if(!e.constructor)return!1;return e.constructor.prototype===e;}catch(e){return!1;}};}),rF("dZcwn",function(e,t){var r=rU("eAnMX"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rF("6XGJc",function(e,t){e.exports=rU("63IW4")()?Object.assign:rU("11hhf");}),rF("3a7Qq",function(e,t){var r=rU("8uHBt"),n=Array.prototype.forEach,i=Object.create,o=function(e,t){var r;for(r in e)t[r]=e[r];};e.exports=function(e){var t=i(null);return n.call(arguments,function(e){r(e)&&o(Object(e),t);}),t;};}),rF("iiFLO",function(e,t){e.exports=rU("lQbJp")()?String.prototype.contains:rU("ffXEK");}),rF("jgVAQ",function(e,t){e.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&!!((t=r(e=["raz","dwa"]))&&t!==e&&"dwa"===t[1]);};}),rF("hQqTa",function(e,t){var r=rU("hXtQe").iterator,n=rU("iAtFO"),i=rU("lTrIc"),o=rU("6u4nl"),s=rU("dxkoV"),a=rU("gGM7W"),l=rU("8uHBt"),c=rU("8bWuC"),u=Array.isArray,p=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},d=Object.defineProperty;e.exports=function(e){var t,h,m,v,g,y,E,w,_,b,x=arguments[1],R=arguments[2];if(e=Object(a(e)),l(x)&&s(x),this&&this!==Array&&i(this))t=this;else{if(!x){if(n(e))return 1!==(g=e.length)?Array.apply(null,e):((v=[,])[0]=e[0],v);if(u(e)){for(h=0,v=Array(g=e.length);g>h;++h)v[h]=e[h];return v;}}v=[];}if(!u(e)){if(void 0!==(_=e[r])){for(E=s(_).call(e),t&&(v=new t()),w=E.next(),h=0;!w.done;)b=x?p.call(x,R,w.value,h):w.value,t?(f.value=b,d(v,h,f)):v[h]=b,w=E.next(),++h;g=h;}else if(c(e)){for(g=e.length,t&&(v=new t()),h=0,m=0;g>h;++h)b=e[h],h+1=55296&&y<=56319&&(b+=e[++h]),b=x?p.call(x,R,b,m):b,t?(f.value=b,d(v,m,f)):v[m]=b,++m;g=m;}}if(void 0===g)for(g=o(e.length),t&&(v=new t(g)),h=0;g>h;++h)b=x?p.call(x,R,e[h],h):e[h],t?(f.value=b,d(v,h,f)):v[h]=b;return t&&(f.value=null,v.length=g),v;};}),rF("hXtQe",function(e,t){e.exports=rU("asjyI")()?rU("kld7H").Symbol:rU("8ZJMO");}),rF("asjyI",function(e,t){var r=rU("kld7H"),n={object:!0,symbol:!0};e.exports=function(){var e=r.Symbol;return"function"==typeof e&&(e("test symbol"),!!n[typeof e.iterator]&&!!n[typeof e.toPrimitive]&&!!n[typeof e.toStringTag]);};}),rF("kld7H",function(e,t){e.exports=rU("gOf4U")()?globalThis:rU("atP66");}),rF("gOf4U",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rF("atP66",function(e,t){var r=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw Error("Unable to resolve global `this`");};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this;},configurable:!0});}catch(e){return r();}try{if(!__global__)return r();return __global__;}finally{delete Object.prototype.__global__;}}();}),rF("8ZJMO",function(e,t){var r,n,i,o=rU("eXmen"),s=rU("93JRo"),a=rU("kld7H").Symbol,l=rU("7pvFa"),c=rU("5aDJl"),u=rU("kuJ4U"),p=Object.create,f=Object.defineProperties,d=Object.defineProperty;if("function"==typeof a)try{a(),i=!0;}catch(e){}else a=null;n=function(e){if(this instanceof n)throw TypeError("Symbol is not a constructor");return r(e);},e.exports=r=function e(t){if(this instanceof e)throw TypeError("Symbol is not a constructor");return i?a(t):f(p(n.prototype),{__description__:o("",t=void 0===t?"":t+""),__name__:o("",l(t))});},c(r),u(r),f(n.prototype,{constructor:o(r),toString:o("",function(){return this.__name__;})}),f(r.prototype,{toString:o(function(){return"Symbol ("+s(this).__description__+")";}),valueOf:o(function(){return s(this);})}),d(r.prototype,r.toPrimitive,o("",function(){var e=s(this);return"symbol"==typeof e?e:e.toString();})),d(r.prototype,r.toStringTag,o("c","Symbol")),d(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),d(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]));}),rF("93JRo",function(e,t){var r=rU("8cqlP");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rF("8cqlP",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rF("7pvFa",function(e,t){var r=rU("eXmen"),n=Object.defineProperty,i=Object.prototype,o=(0,Object.create)(null);e.exports=function(e){for(var t,s,a=0;o[e+(a||"")];)++a;return o[e+=a||""]=!0,n(i,t="@@"+e,r.gs(null,function(e){s||(s=!0,n(this,t,r(e)),s=!1);})),t;};}),rF("5aDJl",function(e,t){var r=rU("eXmen"),n=rU("kld7H").Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))});};}),rF("kuJ4U",function(e,t){var r=rU("eXmen"),n=rU("93JRo"),i=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:r(function(t){return i[t]?i[t]:i[t]=e(t+"");}),keyFor:r(function(e){var t;for(t in n(e),i)if(i[t]===e)return t;})});};}),rF("iAtFO",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rF("lTrIc",function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"==typeof e&&n(r.call(e));};}),rF("6u4nl",function(e,t){var r=rU("bq2jW"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rF("bq2jW",function(e,t){var r=rU("3lVkV"),n=Math.abs,i=Math.floor;e.exports=function(e){return isNaN(e)?0:0!=(e=+e)&&isFinite(e)?r(e)*i(n(e)):e;};}),rF("3lVkV",function(e,t){e.exports=rU("8tETt")()?Math.sign:rU("hGADy");}),rF("8bWuC",function(e,t){var r=Object.prototype.toString,n=r.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||r.call(e)===n)||!1;};}),rF("7o7h2",function(e,t){e.exports=function(e){var t,r,n=e.length;if(!n)return"\x02";for(t=e[r=0]+"";--n;)t+="\x01"+e[++r];return t;};}),rF("jdXxe",function(e,t){e.exports=function(e){return e?function(t){for(var r=t[0]+"",n=0,i=e;--i;)r+="\x01"+t[++n];return r;}:function(){return"";};};}),rF("1DZyI",function(e,t){var r=rU("1vsyN"),n=Object.create;e.exports=function(){var e=0,t=[],i=n(null);return{get:function(e){var n,i=0,o=t,s=e.length;if(0===s)return o[s]||null;if(o=o[s]){for(;i=0?l(u):n(this.length)-l(a(u));c>t;++t)if(s.call(this,t)&&r(this[t]))return t;return-1;};}),rF("hrboG",function(e,t){e.exports=rU("iT9FP")()?Number.isNaN:rU("z7ebn");}),rF("iT9FP",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rF("z7ebn",function(e,t){e.exports=function(e){return e!=e;};}),rF("loqvW",function(e,t){var r=rU("1vsyN");e.exports=function(){var e=0,t=[],n=[];return{get:function(e){var i=r.call(t,e[0]);return-1===i?null:n[i];},set:function(r){return t.push(r[0]),n.push(++e),e;},delete:function(e){var i=r.call(n,e);-1!==i&&(t.splice(i,1),n.splice(i,1));},clear:function(){t=[],n=[];}};};}),rF("f097S",function(e,t){var r=rU("1vsyN"),n=Object.create;e.exports=function(e){var t=0,i=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,s=i;o100&&(t=t.slice(0,99)+"…"),t=t.replace(/[\n\r\u2028\u2029]/g,function(e){return JSON.stringify(e).slice(1,-1);});};}),rF("aRFop",function(e,t){var r=rU("bEnef");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rF("8worn",function(e,t){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then;}e.exports=r,e.exports.default=r;}),rF("1EtHk",function(e,t){var r=rU("dxkoV"),n=rU("5RsFi"),i=rU("5twQR"),o=Function.prototype.apply;i.dispose=function(e,t,s){var a;if(r(e),s.async&&i.async||s.promise&&i.promise){t.on("deleteasync",a=function(t,r){o.call(e,null,r);}),t.on("clearasync",function(e){n(e,function(e,t){a(t,e);});});return;}t.on("delete",a=function(t,r){e(r);}),t.on("clear",function(e){n(e,function(e,t){a(t,e);});});};}),rF("6VQvb",function(e,t){var r=rU("8Vysl"),n=rU("5RsFi"),i=rU("hRqDS"),o=rU("8worn"),s=rU("jWpXq"),a=rU("5twQR"),l=Function.prototype,c=Math.max,u=Math.min,p=Object.create;a.maxAge=function(e,t,f){var d,h,m,v;(e=s(e))&&(d=p(null),h=f.async&&a.async||f.promise&&a.promise?"async":"",t.on("set"+h,function(r){d[r]=setTimeout(function(){t.delete(r);},e),"function"==typeof d[r].unref&&d[r].unref(),v&&(v[r]&&"nextTick"!==v[r]&&clearTimeout(v[r]),v[r]=setTimeout(function(){delete v[r];},m),"function"==typeof v[r].unref&&v[r].unref());}),t.on("delete"+h,function(e){clearTimeout(d[e]),delete d[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e]);}),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:c(u(+f.preFetch,1),0))&&(v={},m=(1-m)*e,t.on("get"+h,function(e,n,s){v[e]||(v[e]="nextTick",i(function(){var i;"nextTick"===v[e]&&(delete v[e],t.delete(e),f.async&&(n=r(n)).push(l),i=t.memoized.apply(s,n),f.promise&&o(i)&&("function"==typeof i.done?i.done(l,l):i.then(l,l)));}));})),t.on("clear"+h,function(){n(d,function(e){clearTimeout(e);}),d={},v&&(n(v,function(e){"nextTick"!==e&&clearTimeout(e);}),v={});}));};}),rF("jWpXq",function(e,t){var r=rU("6u4nl"),n=rU("3yRn0");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rF("3yRn0",function(e,t){e.exports=2147483647;}),rF("jT7Ur",function(e,t){var r=rU("6u4nl"),n=rU("kzv77"),i=rU("5twQR");i.max=function(e,t,o){var s,a,l;(e=r(e))&&(a=n(e),s=o.async&&i.async||o.promise&&i.promise?"async":"",t.on("set"+s,l=function(e){void 0!==(e=a.hit(e))&&t.delete(e);}),t.on("get"+s,l),t.on("delete"+s,a.delete),t.on("clear"+s,a.clear));};}),rF("kzv77",function(e,t){var r=rU("6u4nl"),n=Object.create,i=Object.prototype.hasOwnProperty;e.exports=function(e){var t,o=0,s=1,a=n(null),l=n(null),c=0;return e=r(e),{hit:function(r){var n=l[r],u=++c;if(a[u]=r,l[r]=u,!n){if(++o<=e)return;return r=a[s],t(r),r;}if(delete a[n],s===n)for(;!i.call(a,++s);)continue;},delete:t=function(e){var t=l[e];if(t&&(delete a[t],delete l[e],--o,s===t)){if(!o){c=0,s=1;return;}for(;!i.call(a,++s);)continue;}},clear:function(){o=0,s=1,a=n(null),l=n(null),c=0;}};};}),rF("6ZksK",function(e,t){var r=rU("eXmen"),n=rU("5twQR"),i=Object.create,o=Object.defineProperties;n.refCounter=function(e,t,s){var a,l;a=i(null),l=s.async&&n.async||s.promise&&n.promise?"async":"",t.on("set"+l,function(e,t){a[e]=t||1;}),t.on("get"+l,function(e){++a[e];}),t.on("delete"+l,function(e){delete a[e];}),t.on("clear"+l,function(){a={};}),o(t.memoized,{deleteRef:r(function(){var e=t.get(arguments);return null!==e&&a[e]?! --a[e]&&(t.delete(e),!0):null;}),getRefCount:r(function(){var e=t.get(arguments);return null!==e&&a[e]?a[e]:0;})});};}),rF("dOmbL",function(e,t){async function r(e){try{return await(0,rE.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rF("awj79",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rF("fXZh0",function(e,t){var r=iK.resolve(__dirname,"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rF("elyHp",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rU("ggaxg"),i=rU("crMMK");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(e){try{r(require(`../locales/${e}.js`));}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`);}})(e);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),c=[];for(let e of l){let[t,r]=e;if(r>0&&c.push(function(e,t,r){let i=function(e){let t=a[e.locale],r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType);let n=null;if((r=Array.from(new Set(r))).some(function(e){if(void 0!==t[e])return n=t[e],!0;}),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n;}(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t);}(t,r,s)),c.length>=s.span)break;}return c.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rF("ggaxg",function(e,t){e.exports=rU("fXZh0");}),rF("crMMK",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rF("jrMr3",function(e,t){var r=rU("6UUXQ"),n=rU("4ojkK"),i=rU("lbpWb"),o=rU("5Kc3o"),s=rU("3uxBW"),a=rU("cdjlt"),l=rU("edMUL"),c=rU("4QHs5"),u=rU("b7ZNe"),p=rU("3tcGr"),f=rU("29YTh"),d=rU("5HQiF"),h=rU("eKr8E"),m=rU("5tbf8"),v=rU("k02ZJ"),g=rU("jSJWo"),y=rU("3tYTc"),E=rU("lXqm9"),w=rU("7opda"),_=rU("e12Rv"),b=rU("hb18N"),x=rU("hcLkw"),R=rU("8qYh8"),O=rU("1MItZ"),S=rU("ekDr6"),I=rU("dnnKg"),T=rU("4F3T1"),P=rU("6K3XU"),A=rU("ggJh3"),$=rU("fta4V"),N=rU("9xXeH"),C=rU("8CAg3"),L=rU("cigJ0"),k=rU("5uMTr"),D=rU("jlFkD"),j=rU("bCYTf"),U=rU("jXojG"),F=rU("gpcZS"),M=rU("1U8CF"),G=rU("cilv0"),B=rU("a04bU");e.exports={parse:s,valid:a,clean:l,inc:c,diff:u,major:p,minor:f,patch:d,prerelease:h,compare:m,rcompare:v,compareLoose:g,compareBuild:y,sort:E,rsort:w,gt:_,lt:b,eq:x,neq:R,gte:O,lte:S,cmp:I,coerce:T,Comparator:P,Range:A,satisfies:$,toComparators:N,maxSatisfying:C,minSatisfying:L,minVersion:k,validRange:D,outside:j,gtr:U,ltr:F,intersects:M,simplifyRange:G,subset:B,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers};}),rF("6UUXQ",function(e,t){var r=rU("4ojkK"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rU("eCCPy");let a=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],u=t.t={},p=0,f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[f,i]],h=e=>{for(let[t,r]of d)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),m("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${f}+`),m("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),m("FULL",`^${c[u.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),m("LOOSE",`^${c[u.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),m("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?`+"(?:$|[^\\d])"),m("COERCERTL",c[u.COERCE],!0),m("COERCERTLFULL",c[u.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rF("4ojkK",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rF("eCCPy",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rF("lbpWb",function(e,t){var r=rU("eCCPy"),n=rU("4ojkK"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rU("6UUXQ"),a=s.safeRe,l=s.t,c=rU("fnN7l"),u=rU("5Kc3o").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rF("fnN7l",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rF("5Kc3o",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rF("3uxBW",function(e,t){var r=rU("lbpWb");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rF("cdjlt",function(e,t){var r=rU("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rF("edMUL",function(e,t){var r=rU("3uxBW");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rF("4QHs5",function(e,t){var r=rU("lbpWb");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rF("b7ZNe",function(e,t){var r=rU("3uxBW");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(l.prerelease.length&&!c)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let u=c?"pre":"";return n.major!==i.major?u+"major":n.minor!==i.minor?u+"minor":n.patch!==i.patch?u+"patch":"prerelease";};}),rF("3tcGr",function(e,t){var r=rU("lbpWb");e.exports=(e,t)=>new r(e,t).major;}),rF("29YTh",function(e,t){var r=rU("lbpWb");e.exports=(e,t)=>new r(e,t).minor;}),rF("5HQiF",function(e,t){var r=rU("lbpWb");e.exports=(e,t)=>new r(e,t).patch;}),rF("eKr8E",function(e,t){var r=rU("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rF("5tbf8",function(e,t){var r=rU("lbpWb");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rF("k02ZJ",function(e,t){var r=rU("5tbf8");e.exports=(e,t,n)=>r(t,e,n);}),rF("jSJWo",function(e,t){var r=rU("5tbf8");e.exports=(e,t)=>r(e,t,!0);}),rF("3tYTc",function(e,t){var r=rU("lbpWb");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rF("lXqm9",function(e,t){var r=rU("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rF("7opda",function(e,t){var r=rU("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rF("e12Rv",function(e,t){var r=rU("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>0;}),rF("hb18N",function(e,t){var r=rU("5tbf8");e.exports=(e,t,n)=>0>r(e,t,n);}),rF("hcLkw",function(e,t){var r=rU("5tbf8");e.exports=(e,t,n)=>0===r(e,t,n);}),rF("8qYh8",function(e,t){var r=rU("5tbf8");e.exports=(e,t,n)=>0!==r(e,t,n);}),rF("1MItZ",function(e,t){var r=rU("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rF("ekDr6",function(e,t){var r=rU("5tbf8");e.exports=(e,t,n)=>0>=r(e,t,n);}),rF("dnnKg",function(e,t){var r=rU("hcLkw"),n=rU("8qYh8"),i=rU("e12Rv"),o=rU("1MItZ"),s=rU("hb18N"),a=rU("ekDr6");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return n(e,l,c);case">":return i(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw TypeError("Invalid operator: "+t);}};}),rF("4F3T1",function(e,t){var r=rU("lbpWb"),n=rU("3uxBW"),i=rU("6UUXQ"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let r;let n=t.includePrerelease?o[s.COERCERTLFULL]:o[s.COERCERTL];for(;(r=n.exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1;}else i=e.match(t.includePrerelease?o[s.COERCEFULL]:o[s.COERCE]);if(null===i)return null;let a=i[2],l=i[3]||"0",c=i[4]||"0",u=t.includePrerelease&&i[5]?"-"+i[5]:"",p=t.includePrerelease&&i[6]?"+"+i[6]:"";return n(`${a}.${l}.${c}${u}${p}`,t);};}),rF("6K3XU",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options);}catch(e){return!1;}return l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rU("fnN7l"),o=rU("6UUXQ"),s=o.safeRe,a=o.t,l=rU("dnnKg"),c=rU("eCCPy"),u=rU("lbpWb"),p=rU("ggJh3");}),rF("ggJh3",function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t);}if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(/\s+/g," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break;}}}this.formatted=void 0;}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim();}}return this.formatted;}format(){return this.range;}toString(){return this.range;}parseRange(e){let t=((this.options.includePrerelease&&m)|(this.options.loose&&v))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,a=i?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];s("hyphen replace",e=e.replace(a,A(this.options.includePrerelease))),s("comparator trim",e=e.replace(c[u.COMPARATORTRIM],p)),s("tilde trim",e=e.replace(c[u.TILDETRIM],f)),s("caret trim",e=e.replace(c[u.CARETTRIM],d));let l=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>P(e,this.options));i&&(l=l.filter(e=>(s("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE])))),s("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(g(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let y=[...h.values()];return n.set(t,y),y;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>E(r,t)&&e.set.some(e=>E(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;t"<0.0.0-0"===e.value,y=e=>""===e.value,E=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},w=(e,t)=>(s("comp",e,t),s("caret",e=R(e,t)),s("tildes",e=b(e,t)),s("xrange",e=S(e,t)),s("stars",e=T(e,t)),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(" "),x=(e,t)=>{let r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),_(r)?a="":_(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:_(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a;});},R=(e,t)=>e.trim().split(/\s+/).map(e=>O(e,t)).join(" "),O=(e,t)=>{s("caret",e,t);let r=t.loose?c[u.CARETLOOSE]:c[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let l;return s("caret",e,t,r,i,o,a),_(r)?l="":_(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:_(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(s("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),s("caret return",l),l;});},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>I(e,t)).join(" ")),I=(e,t)=>{e=e.trim();let r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,(r,n,i,o,a,l)=>{s("xRange",e,r,n,i,o,a,l);let c=_(i),u=c||_(o),p=u||_(a);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${a}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),s("xRange return",r),r;});},T=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),P=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=e=>(t,r,n,i,o,s,a,l,c,u,p,f)=>(r=_(n)?"":_(i)?`>=${n}.0.0${e?"-0":""}`:_(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`,l=_(c)?"":_(u)?`<${+c+1}.0.0-0`:_(p)?`<${c}.${+u+1}.0-0`:f?`<=${c}.${u}.${p}-${f}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),$=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rF("KrBiD",function(e,t){e.exports=class{constructor(){this.max=1e3,this.map=new Map();}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t;}delete(e){return this.map.delete(e);}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e);}this.map.set(e,t);}return this;}};}),rF("fta4V",function(e,t){var r=rU("ggJh3");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rF("9xXeH",function(e,t){var r=rU("ggJh3");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rF("8CAg3",function(e,t){var r=rU("lbpWb"),n=rU("ggJh3");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rF("cigJ0",function(e,t){var r=rU("lbpWb"),n=rU("ggJh3");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rF("5uMTr",function(e,t){var r=rU("lbpWb"),n=rU("ggJh3"),i=rU("e12Rv");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rF("jlFkD",function(e,t){var r=rU("ggJh3");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rF("bCYTf",function(e,t){var r=rU("lbpWb"),n=rU("6K3XU");let{ANY:i}=n;var o=rU("ggJh3"),s=rU("fta4V"),a=rU("e12Rv"),l=rU("hb18N"),c=rU("ekDr6"),u=rU("1MItZ");e.exports=(e,t,p,f)=>{let d,h,m,v,g;switch(e=new r(e,f),t=new o(t,f),p){case">":d=a,h=c,m=l,v=">",g=">=";break;case"<":d=l,h=u,m=a,v="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,f))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,d(e.semver,s.semver,f)?s=e:m(e.semver,a.semver,f)&&(a=e);}),s.operator===v||s.operator===g||(!a.operator||a.operator===v)&&h(e,a.semver)||a.operator===g&&m(e,a.semver))return!1;}return!0;};}),rF("jXojG",function(e,t){var r=rU("bCYTf");e.exports=(e,t,n)=>r(e,t,">",n);}),rF("gpcZS",function(e,t){var r=rU("bCYTf");e.exports=(e,t,n)=>r(e,t,"<",n);}),rF("1U8CF",function(e,t){var r=rU("ggJh3");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rF("cilv0",function(e,t){var r=rU("fta4V"),n=rU("5tbf8");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);let c=[];for(let[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");let u=c.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return u.length=0.0.0-0")],l=[new n(">=0.0.0")],c=(e,t,r)=>{let n,c,f,d,h,m,v;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let g=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?c=p(c,t,r):g.add(t.semver);if(g.size>1||n&&c&&((f=s(n.semver,c.semver,r))>0||0===f&&(">="!==n.operator||"<="!==c.operator)))return null;for(let e of g){if(n&&!o(e,n+"",r)||c&&!o(e,c+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let y=!!c&&!r.includePrerelease&&!!c.semver.prerelease.length&&c.semver,E=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(y&&1===y.prerelease.length&&"<"===c.operator&&0===y.prerelease[0]&&(y=!1),t)){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if((d=u(n,e,r))===e&&d!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(c){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=p(c,e,r))===e&&h!==c)return!1;}else if("<="===c.operator&&!o(c.semver,e+"",r))return!1;}if(!e.operator&&(c||n)&&0!==f)return!1;}return(!n||!m||!!c||0===f)&&(!c||!v||!!n||0===f)&&!E&&!y;},u=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===t.operator&&"<="===e.operator?t:e;};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rF("ceI0e",function(e,t){var r,n,i,o,s,a,u,p,f,d,h,m,v;function g(e,t){return Object.keys(t).forEach(r=>{"default"===r||"__esModule"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get:()=>t[r]});}),e;}function y(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function E(e,t=!0){return t?(0,iK.basename)(e):(0,iK.basename)(e,(0,iK.extname)(e));}function w(e){return(0,iK.normalize)(e).replace(RegExp((0,r.default)(iK.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iK.extname)(e),n=`${t}${(0,iK.basename)(e,r)}${r}`;return(0,iK.join)((0,iK.dirname)(e),n);}function x(e,t){let r=(0,iK.extname)(e),n=`${(0,iK.basename)(e,r)}${t}${r}`;return(0,iK.join)((0,iK.dirname)(e),n);}function R(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function O(e){return"win32"===process.platform?e:"./"+e;}function S(e){let t=(0,iK.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iK.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iK.sep)||r===(0,iK.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>R),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>iK.dirname),l(e.exports,"join",()=>iK.join),r=rU("9ag04"),n=rU("923E2"),i={},y(o={},"name",()=>E),y(s={},"normalizeTrim",()=>w),y(a={},"addExeExt",()=>_),y(u={},"addNamePrefix",()=>b),y(p={},"addNameSuffix",()=>x),y(f={},"addShExt",()=>R),y(d={},"addShRelativePrefix",()=>O),y(h={},"removeExt",()=>S),y(m={},"replaceExt",()=>I),y(v={},"isPathInside",()=>T),g(i,o),g(i,s),g(i,a),g(i,u),g(i,p),g(i,f),g(i,d),g(i,h),g(i,m),g(i,v);}),rF("9ag04",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rF("923E2",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iK.basename(e,iK.extname(e))+t,i=iK.join(iK.dirname(e),n);return(r=e.slice(0,2))==="."+iK.sep||"./"===r?"."+iK.sep+i:i;};}),rF("fcBgE",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){rg.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(u.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(u.join(i,e),t);r&&n.push(r);}return n;});}function c(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;let u=i(iK),p=i(rU("ejt9m"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force;return{force:t,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let f=l&&l.isDirectory()&&s?u.join(t,u.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);if((yield p.stat(e)).isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(!(n>=255)){for(let o of(n++,yield a(r),yield p.readdir(t))){let s=`${t}/${o}`,a=`${r}/${o}`;(yield p.lstat(s)).isDirectory()?yield e(s,a,n,i):yield c(s,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,f,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===u.relative(e,f))throw Error(`'${f}' and '${e}' are the same file`);yield c(e,f,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(u.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rF("ejt9m",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(iY),c=i(iK);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(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){let e=c.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,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{let r=c.dirname(t),n=c.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=c.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rF("ktIRP",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rU("aNgTs"));s=rU("9yJgU"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iW.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(c=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${u}`);let r=t.arch===i&&t.platform===u;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&c&&((o=Object.assign({},l)).files=[c]),o;});},e.exports._getOsVersion=function(){let t=iW.platform(),r="";if("darwin"===t)r=rw.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;},e.exports._readLinuxVersionFile=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return iY.existsSync(e)?r=iY.readFileSync(e).toString():iY.existsSync(t)&&(r=iY.readFileSync(t).toString()),r;};}),rF("aNgTs",function(e,t){function r(e){P[e]=A++;}function n(e){for(var t=0;tx||!(t.loose?I[P.LOOSE]:I[P.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>x)throw TypeError("version is longer than "+x+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?I[P.LOOSE]:I[P.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>R||this.major<0)throw TypeError("Invalid major version");if(this.minor>R||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>R||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function c(e,t,r){return 0>a(e,t,r);}function u(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function f(e,t,r){return a(e,t,r)>=0;}function d(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return u(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return f(e,r,n);case"<":return c(e,r,n);case"<=":return d(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),b("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===k?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function v(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof v)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new v(e.raw,t);if(e instanceof m)return new v(e.value,t);if(!(this instanceof v))return new v(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function g(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function y(e){return!e||"x"===e.toLowerCase()||"*"===e;}function E(e,t,r,n,i,o,s,a,l,c,u,p,f){return((t=y(r)?"":y(n)?">="+r+".0.0":y(i)?">="+r+"."+n+".0":">="+t)+" "+(a=y(l)?"":y(c)?"<"+(+l+1)+".0.0":y(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new v(t,r);}catch(e){return!1;}return t.test(e);}function _(e,t,r,n){switch(e=new o(e,n),t=new v(t,n),r){case">":i=l,s=d,a=c,u=">",p=">=";break;case"<":i=c,s=f,a=l,u="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,u,p,h=0;h=0.0.0")),y=y||e,E=E||e,i(e.semver,y.semver,n)?y=e:a(e.semver,E.semver,n)&&(E=e);}),y.operator===u||y.operator===p||(!E.operator||E.operator===u)&&s(e,E.semver)||E.operator===p&&a(e,E.semver))return!1;}return!0;}t=e.exports=o,"object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?b=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:b=function(){},t.SEMVER_SPEC_VERSION="2.0.0",x=256,R=Number.MAX_SAFE_INTEGER||9007199254740991,O=x-6,S=t.re=[],I=t.safeRe=[],T=t.src=[],P=t.tokens={},A=0,N=[["\\s",1],["\\d",x],[$="[a-zA-Z0-9-]",O]],r("NUMERICIDENTIFIER"),T[P.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),T[P.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),T[P.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+$+"*",r("MAINVERSION"),T[P.MAINVERSION]="("+T[P.NUMERICIDENTIFIER]+")\\.("+T[P.NUMERICIDENTIFIER]+")\\.("+T[P.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),T[P.MAINVERSIONLOOSE]="("+T[P.NUMERICIDENTIFIERLOOSE]+")\\.("+T[P.NUMERICIDENTIFIERLOOSE]+")\\.("+T[P.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),T[P.PRERELEASEIDENTIFIER]="(?:"+T[P.NUMERICIDENTIFIER]+"|"+T[P.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),T[P.PRERELEASEIDENTIFIERLOOSE]="(?:"+T[P.NUMERICIDENTIFIERLOOSE]+"|"+T[P.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),T[P.PRERELEASE]="(?:-("+T[P.PRERELEASEIDENTIFIER]+"(?:\\."+T[P.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),T[P.PRERELEASELOOSE]="(?:-?("+T[P.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+T[P.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),T[P.BUILDIDENTIFIER]=$+"+",r("BUILD"),T[P.BUILD]="(?:\\+("+T[P.BUILDIDENTIFIER]+"(?:\\."+T[P.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),T[P.FULLPLAIN]="v?"+T[P.MAINVERSION]+T[P.PRERELEASE]+"?"+T[P.BUILD]+"?",T[P.FULL]="^"+T[P.FULLPLAIN]+"$",r("LOOSEPLAIN"),T[P.LOOSEPLAIN]="[v=\\s]*"+T[P.MAINVERSIONLOOSE]+T[P.PRERELEASELOOSE]+"?"+T[P.BUILD]+"?",r("LOOSE"),T[P.LOOSE]="^"+T[P.LOOSEPLAIN]+"$",r("GTLT"),T[P.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),T[P.XRANGEIDENTIFIERLOOSE]=T[P.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),T[P.XRANGEIDENTIFIER]=T[P.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),T[P.XRANGEPLAIN]="[v=\\s]*("+T[P.XRANGEIDENTIFIER]+")(?:\\.("+T[P.XRANGEIDENTIFIER]+")(?:\\.("+T[P.XRANGEIDENTIFIER]+")(?:"+T[P.PRERELEASE]+")?"+T[P.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),T[P.XRANGEPLAINLOOSE]="[v=\\s]*("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+T[P.XRANGEIDENTIFIERLOOSE]+")(?:"+T[P.PRERELEASELOOSE]+")?"+T[P.BUILD]+"?)?)?",r("XRANGE"),T[P.XRANGE]="^"+T[P.GTLT]+"\\s*"+T[P.XRANGEPLAIN]+"$",r("XRANGELOOSE"),T[P.XRANGELOOSE]="^"+T[P.GTLT]+"\\s*"+T[P.XRANGEPLAINLOOSE]+"$",r("COERCE"),T[P.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),S[P.COERCERTL]=RegExp(T[P.COERCE],"g"),I[P.COERCERTL]=RegExp(n(T[P.COERCE]),"g"),r("LONETILDE"),T[P.LONETILDE]="(?:~>?)",r("TILDETRIM"),T[P.TILDETRIM]="(\\s*)"+T[P.LONETILDE]+"\\s+",S[P.TILDETRIM]=RegExp(T[P.TILDETRIM],"g"),I[P.TILDETRIM]=RegExp(n(T[P.TILDETRIM]),"g"),r("TILDE"),T[P.TILDE]="^"+T[P.LONETILDE]+T[P.XRANGEPLAIN]+"$",r("TILDELOOSE"),T[P.TILDELOOSE]="^"+T[P.LONETILDE]+T[P.XRANGEPLAINLOOSE]+"$",r("LONECARET"),T[P.LONECARET]="(?:\\^)",r("CARETTRIM"),T[P.CARETTRIM]="(\\s*)"+T[P.LONECARET]+"\\s+",S[P.CARETTRIM]=RegExp(T[P.CARETTRIM],"g"),I[P.CARETTRIM]=RegExp(n(T[P.CARETTRIM]),"g"),r("CARET"),T[P.CARET]="^"+T[P.LONECARET]+T[P.XRANGEPLAIN]+"$",r("CARETLOOSE"),T[P.CARETLOOSE]="^"+T[P.LONECARET]+T[P.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),T[P.COMPARATORLOOSE]="^"+T[P.GTLT]+"\\s*("+T[P.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),T[P.COMPARATOR]="^"+T[P.GTLT]+"\\s*("+T[P.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),T[P.COMPARATORTRIM]="(\\s*)"+T[P.GTLT]+"\\s*("+T[P.LOOSEPLAIN]+"|"+T[P.XRANGEPLAIN]+")",S[P.COMPARATORTRIM]=RegExp(T[P.COMPARATORTRIM],"g"),I[P.COMPARATORTRIM]=RegExp(n(T[P.COMPARATORTRIM]),"g"),C="$1$2$3",r("HYPHENRANGE"),T[P.HYPHENRANGE]="^\\s*("+T[P.XRANGEPLAIN]+")\\s+-\\s+("+T[P.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),T[P.HYPHENRANGELOOSE]="^\\s*("+T[P.XRANGEPLAINLOOSE]+")\\s+-\\s+("+T[P.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),T[P.STAR]="(<|>)?=?\\s*\\*";for(var b,x,R,O,S,I,T,P,A,$,N,C,L,k,D=0;D=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(u(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,L=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=c,t.eq=u,t.neq=p,t.gte=f,t.lte=d,t.cmp=h,t.Comparator=m,k={},m.prototype.parse=function(e){var t=this.options.loose?I[P.COMPARATORLOOSE]:I[P.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=k;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===k||e===k)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new v(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new v(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=v,v.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},v.prototype.toString=function(){return this.range;},v.prototype.parseRange=function(e){var t=this.options.loose,r=t?I[P.HYPHENRANGELOOSE]:I[P.HYPHENRANGE];e=e.replace(r,E),b("hyphen replace",e),e=e.replace(I[P.COMPARATORTRIM],C),b("comparator trim",e,I[P.COMPARATORTRIM]),e=(e=(e=e.replace(I[P.TILDETRIM],"$1~")).replace(I[P.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?I[P.COMPARATORLOOSE]:I[P.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,c;return t=e,r=this.options,b("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?I[P.CARETLOOSE]:I[P.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),y(r)?s="":y(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":y(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "),b("caret",t),o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?I[P.TILDELOOSE]:I[P.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),y(r)?s="":y(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":y(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "),b("tildes",t),b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?I[P.XRANGELOOSE]:I[P.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=y(i),c=l||y(o),u=c||y(s);return"="===n&&u&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):c?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:u&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "),b("xrange",t),b("replaceStars",c=t,r),t=c.trim().replace(I[P.STAR],""),b("stars",t),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},v.prototype.intersects=function(e,t){if(!(e instanceof v))throw TypeError("a Range is required");return this.set.some(function(r){return g(r,t)&&e.set.some(function(e){return g(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new v(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},v.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new v(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new v(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return _(e,t,"<",r);},t.gtr=function(e,t,r){return _(e,t,">",r);},t.outside=_,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new v(e,r),t=new v(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=I[P.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),I[P.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;I[P.COERCERTL].lastIndex=-1;}else n=e.match(I[P.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rF("dGCqI",function(e,t){var r=rU("fVQSr"),n=rU("3MZit");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rF("fVQSr",function(e,t){e.exports=function(){return iJ.randomBytes(16);};}),rF("3MZit",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("");};}),rF("jlr6Q",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(i,t,r).exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rU("jbxr5"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new r_.StringDecoder("utf8"),c=new r_.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,f=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),u&&u(e);},stderr(e){a+=c.write(e),p&&p(e);}}),d=yield s(e,t,Object.assign(Object.assign({},r),{listeners:f}));return o+=l.end(),a+=c.end(),{exitCode:d,stdout:o,stderr:a};});};}),rF("jbxr5",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(iW),a=i(rv),l=i(rw),c=i(iK),u=i(rU("fcBgE")),p=i(rU("ejt9m")),f="win32"===process.platform;class d 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(f){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return f&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(f&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return(t+='"').split("").reverse().join("");}_cloneExecOptions(e){let 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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||f&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.stdout.on("data",e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e);});});let c="";if(o.stderr&&o.stderr.on("data",e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.on("close",e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete();}),n.on("done",(r,n)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=d,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.trim()),r;};class h extends a.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay);}CheckComplete(){!this.done&&(this.processClosed?this._setResult():this.processExited&&(this.timeout=rb.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rF("lSnBZ",function(e,t){e.exports=Promise.resolve(require("./actions_python.16ae5537.js")).then(()=>rU("4kQHk"));}),rF("2p0xG",function(e,t){e.exports=Promise.resolve(require("./hdi.c1b21e1a.js")).then(()=>rU("4YYb2"));}),rM=rU("9ne19"),rG=rU("ER74K"),rB=rU("9yJgU"),rM=rU("9ne19"),rG=rU("ER74K"),rH={},rq={},rV={},rX={};const i0="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,i1=i0?";":":";rz={},"win32"===process.platform||rk.TESTING_WINDOWS?rW=rU("a3PNV"):rW=rU("7gw6J"),rz=u,u.sync=function(e,t){try{return rW.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const i2=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i4=(e,t)=>{let r=t.colon||i1,n=e.match(/\//)||i0&&e.match(/\\/)?[""]:[...(i0?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=i0?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=i0?i.split(r):[""];return i0&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i3=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i4(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(i2(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iK.join(c,e);i(l(!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u,r,0));}),l=(e,r,n)=>new Promise((c,u)=>{if(n===i.length)return c(a(r+1));let p=i[n];rz(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return c(e+p);s.push(e+p);}return c(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rX=i3,i3.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i4(e,t=t||{}),o=[];for(let s=0;s{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rK=i6).default=i6,rV=function(e){return p(e)||p(e,!0);};rY=function(e){return e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1");},rJ=function(e,t){return e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1"),e=(e=`"${e}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),t&&(e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),e;},rQ={},rZ={},r0={},r0=/^#!(.*)/,rZ=(e="")=>{let t=e.match(r0);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rQ=function(e){let t;let r=Buffer.alloc(150);try{t=iY.openSync(e,"r"),iY.readSync(t,r,0,150,0),iY.closeSync(t);}catch(e){}return rZ(r.toString());};const i8="win32"===process.platform;rq=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);let n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!i8)return e;let t=function(e){e.file=rV(e);let t=e.file&&rQ(e.file);return t?(e.args.unshift(e.file),e.command=t,rV(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=iK.normalize(e.command),e.command=rY(e.command),e.args=e.args.map(e=>rJ(e,r));let n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},r1={};const i7="win32"===process.platform;r1={hookChildProcess:function(e,t){if(!i7)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=d(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:d,verifyENOENTSync:function(e,t){return i7&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rH=h).spawn=h,rH.sync=function(e,t,r){let n=rq(e,t,r),i=rw.spawnSync(n.command,n.args,n.options);return i.error=i.error||r1.verifyENOENTSync(i.status,n),i;},rH._parse=rq,rH._enoent=r1;const i5=({cwd:e=c(rS).cwd(),path:t=c(rS).env[m()],preferLocal:r=!0,execPath:n=c(rS).execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?(0,rI.fileURLToPath)(e):e,s=c(rR).resolve(o),a=[];return r&&i9(a,s),i&&oe(a,n,s),[...a,t].join(c(rR).delimiter);},i9=(e,t)=>{let r;for(;r!==t;)e.push(c(rR).join(t,"node_modules/.bin")),r=t,t=c(rR).resolve(t,"..");},oe=(e,t,r)=>{let n=t instanceof URL?(0,rI.fileURLToPath)(t):t;e.push(c(rR).resolve(r,n,".."));},ot=({env:e=c(rS).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i5(t),e;},or=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(on(i,o)||!n)&&Object.defineProperty(e,r,o);},on=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},oi=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},oo=(e,t)=>`/* Wrapped ${e}*/ -${t}`,os=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oa=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),ol=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=oo.bind(null,n,t.toString());Object.defineProperty(i,"name",oa),Object.defineProperty(e,"toString",{...os,value:i});},oc=new WeakMap(),ou=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(oc.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))or(e,t,n,r);oi(e,t),ol(e,t,n);}(o,e),oc.set(o,n),o;};ou.callCount=e=>{if(!oc.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return oc.get(e);},r2=ou;const op=()=>Array.from({length:oh-od+1},of),of=(e,t)=>({name:"SIGRT"+(t+1),number:od+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),od=34,oh=64,om=[{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"}],ov=()=>[...om,...op()].map(og),og=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rT.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},oy=Object.fromEntries(ov().map(({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}])),oE=(e,t)=>{let r=ow(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},ow=(e,t)=>{let r=t.find(({name:t})=>rT.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=ov();return Object.assign({},...Array.from({length:oh+1},(t,r)=>oE(r,e)));})();const o_=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",ob=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:p,parsed:{options:{timeout:f,cwd:d=c(rS).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:oy[i].description,m=o_({timedOut:l,timeout:f,errorCode:n&&n.code,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),v=`Command ${m}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),y=g?`${v} -${n.message}`:v,E=[y,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=d,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=p&&!l,n;},ox=["stdin","stdout","stderr"],oR=e=>ox.some(t=>void 0!==e[t]),oO=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return ox.map(t=>e[t]);if(oR(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ox.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,ox.length)},(e,r)=>t[r]);};r4={};const oS=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;};if(oS(r3=rk.process)){var oI,oT=rg,oP=rU("1YMV0"),oA=/^win/i.test(r3.platform),o$=rv;"function"!=typeof o$&&(o$=o$.EventEmitter),r3.__signal_exit_emitter__?oI=r3.__signal_exit_emitter__:((oI=r3.__signal_exit_emitter__=new o$()).count=0,oI.emitted={}),oI.infinite||(oI.setMaxListeners(1/0),oI.infinite=!0);var oN=function(){ok&&oS(rk.process)&&(ok=!1,oP.forEach(function(e){try{r3.removeListener(e,oL[e]);}catch(e){}}),r3.emit=oF,r3.reallyExit=oj,oI.count-=1);};(r4=function(e,t){if(!oS(rk.process))return function(){};oT.equal(typeof e,"function","a callback must be provided for exit handler"),!1===ok&&oD();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oI.on(r,e),function(){oI.removeListener(r,e),0===oI.listeners("exit").length&&0===oI.listeners("afterexit").length&&oN();};}).unload=oN;var oC=function(e,t,r){oI.emitted[e]||(oI.emitted[e]=!0,oI.emit(e,t,r));},oL={};oP.forEach(function(e){oL[e]=function(){oS(rk.process)&&r3.listeners(e).length===oI.count&&(oN(),oC("exit",null,e),oC("afterexit",null,e),oA&&"SIGHUP"===e&&(e="SIGINT"),r3.kill(r3.pid,e));};}),r4.signals=function(){return oP;};var ok=!1,oD=function(){!ok&&oS(rk.process)&&(ok=!0,oI.count+=1,oP=oP.filter(function(e){try{return r3.on(e,oL[e]),!0;}catch(e){return!1;}}),r3.emit=oM,r3.reallyExit=oU);};r4.load=oD;var oj=r3.reallyExit,oU=function(e){oS(rk.process)&&(r3.exitCode=e||0,oC("exit",r3.exitCode,null),oC("afterexit",r3.exitCode,null),oj.call(r3,r3.exitCode));},oF=r3.emit,oM=function(e,t){if(!("exit"===e&&oS(rk.process)))return oF.apply(this,arguments);void 0!==t&&(r3.exitCode=t);var r=oF.apply(this,arguments);return oC("exit",r3.exitCode,null),oC("afterexit",r3.exitCode,null),r;};}else r4=function(){return function(){};};const oG=(e,t="SIGTERM",r={})=>{let n=e(t);return oB(e,t,r,n),n;},oB=(e,t,r,n)=>{if(!oH(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oV(r));i.unref&&i.unref();},oH=(e,{forceKillAfterTimeout:t},r)=>oq(e)&&!1!==t&&r,oq=e=>e===c(rT).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oV=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},oX=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oz=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oW=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oz(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oK=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oY=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r4)(()=>{e.kill();});return n.finally(()=>{i();});},oJ=e=>e instanceof rO.ChildProcess&&"function"==typeof e.then,oQ=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rE.createWriteStream)(r)),e;if(g(r))return e[t].pipe(r),e;if(!oJ(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!g(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oZ=e=>{null!==e.stdout&&(e.pipeStdout=oQ.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oQ.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oQ.bind(void 0,e,"all"));};r6={},r8=rP.constants,r7=ry.promisify,r5={},r9=rA.PassThrough,r5=e=>{let{array:t}=e={...e},{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new r9({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const o0=r7(rA.pipeline);class o1 extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r6=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r6.array=(e,t)=>y(e,{...t,array:!0}),r6.MaxBufferError=o1,ne={},nt=rA.PassThrough,ne=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new nt({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const o2=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o4=({input:e,inputFile:t})=>"string"!=typeof t?e:(o2(e),(0,rE.readFileSync)(t)),o3=e=>{let t=o4(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o6=({input:e,inputFile:t})=>"string"!=typeof t?e:(o2(e),(0,rE.createReadStream)(t)),o8=(e,t)=>{let r=o6(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o7=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(ne)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o5=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o9=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r6)(e,{encoding:t,maxBuffer:n}):c(r6).buffer(e,{maxBuffer:n});},se=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o9(e,{encoding:n,buffer:i,maxBuffer:o}),l=o9(t,{encoding:n,buffer:i,maxBuffer:o}),c=o9(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},o5(e,a),o5(t,l),o5(r,c)]);}},st=(async()=>{})().constructor.prototype,sr=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(st,e)]),sn=(e,t)=>{for(let[r,n]of sr){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},si=e=>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);});}),so=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],ss=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,sa=(e,t)=>so(e,t).join(" "),sl=(e,t)=>so(e,t).map(e=>ss(e)).join(" "),sc=e=>{let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;},su=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rO.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rx.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sp=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sf=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=sp(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sp(s,Array.isArray(a)?a.map(e=>su(e)):[su(a)],o.endsWith(" "));},sd=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sf({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sh=(0,r$.debuglog)("execa").enabled,sm=(e,t)=>(e+"").padStart(t,"0"),sv=()=>{let e=new Date();return`${sm(e.getHours(),2)}:${sm(e.getMinutes(),2)}:${sm(e.getSeconds(),2)}.${sm(e.getMilliseconds(),3)}`;},sg=(e,{verbose:t})=>{t&&c(rS).stderr.write(`[${sv()}] ${e} -`);},sy=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rS).env,...e}:e;return r?ot({env:o,cwd:n,execPath:i}):o;},sE=(e,t,r={})=>{let n=c(rH)._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||c(rS).cwd(),execPath:c(rS).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sh,...r}).env=sy(r),r.stdio=oO(r),"win32"===c(rS).platform&&"cmd"===c(rR).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sw=(e,t,r)=>"string"==typeof t||(0,rx.Buffer).isBuffer(t)?e.stripFinalNewline?function(e){let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e;}(t):t:void 0===r?void 0:"",s_=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sb=(e={})=>({preferLocal:!0,...s_(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sd(n,i);return E(o,s,sb(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sd(e,r);return w(n,i,sb(t));},r;}(),nr={},l(nn={},"isexe",()=>sx),l(nn,"sync",()=>sR),ni=rU("4oHc1");const sx=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sO(await(0,ni.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sR=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sO((0,iY.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sO=(e,t)=>e.isFile()&&sS(e,t),sS=(e,t)=>{let r=t.uid??process.getuid?.(),n=t.groups??process.getgroups?.()??[],i=t.gid??process.getgid?.()??n[0];if(void 0===r||void 0===i)throw Error("cannot get uid or gid");let o=new Set([i,...n]),s=e.mode,a=e.uid,l=e.gid,c=parseInt("100",8),u=parseInt("010",8);return!!(s&parseInt("001",8)||s&u&&o.has(l)||s&c&&a===r||s&(c|u)&&0===r);};l(no={},"isexe",()=>sI),l(no,"sync",()=>sT),ni=rU("4oHc1");const sI=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sA(await(0,ni.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sT=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sA((0,iY.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sP=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sP(t,r),s$="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?no:nn,sN=s$.isexe,sC=s$.sync;ns=iK.join,na=iK.delimiter,nl=iK.sep,nc=iK.posix;const sL="win32"===process.platform,sk=new RegExp(`[${nc.sep}${nl===nc.sep?"":nl}]`.replace(/(\\)/g,"\\$1")),sD=RegExp("^\\."+sk.source),sj=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sU=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=na})=>{let i=e.match(sk)?[""]:[...(sL?[process.cwd()]:[]),...(t||"").split(n)];if(sL){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},sF=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sD.test(t)?t.slice(0,2):"")+ns(r,t);},sM=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sU(e,t),o=[];for(let s of r){let r=sF(s,e);for(let e of n){let n=r+e;if(await sN(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw sj(e);};nr=sM,sM.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sU(e,t),o=[];for(let s of r){let r=sF(s,e);for(let e of n){let n=r+e;if(sC(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw sj(e);};const sG={stdio:"inherit",shell:!0};rG=rU("ER74K"),nu={},np=rU("3a7Qq"),nf={},nd=rU("6u4nl"),nf=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&nd(e);},nh={},nm=rU("dxkoV"),nv=rU("5RsFi"),ng=rU("5twQR"),ny={},nE={},nw=rU("6XGJc"),n_={},nb=rU("8uHBt"),nx={function:!0,object:!0},n_=function(e){return nb(e)&&nx[typeof e]||!1;},nb=rU("8uHBt"),nR=Error.captureStackTrace,nE=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nb(n)&&n_(r)&&(n=r,r=null),nb(n)&&nw(t,n),nb(r)&&(t.code=r),nR&&nR(t,nE),t;},nO=rU("bP3iK"),nS=rU("eXmen"),nI=rU("4SFhS").methods,nT={},nP={},nA=rU("8Vysl"),n$=Array.isArray,nP=function(e){return n$(e)?e:nA(e);},nb=rU("8uHBt"),nm=rU("dxkoV"),nN=Array.prototype.slice,nC=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(nN.call(e,this.length));},nT=function(e){return(e=nP(e)).forEach(function(e){nb(e)&&nm(e);}),nC.bind(e);},nL={},nm=rU("dxkoV"),nL=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nm(e.get)},void 0!==e.set)?(t.set=nm(e.set),e.delete&&(t.delete=nm(e.delete)),e.clear&&(t.clear=nm(e.clear))):t.set=t.get,t);},nk=Function.prototype.apply,nD=Function.prototype.call,nj=Object.create,nU=Object.defineProperties,nF=nI.on,nM=nI.emit,ny=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nj(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=nL(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nT(r.resolvers)),v=o?nO(function(t){var r,i,a=arguments;if(g&&(a=g(a)),null!==(r=o(a))&&hasOwnProperty.call(y,r))return d&&n.emit("get",r,a,this),y[r];if(i=1===a.length?nD.call(e,this,a[0]):nk.call(e,this,a),null===r){if(null!==(r=o(a)))throw nE("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y[r]=i,h&&n.emit("set",r,null,i),i;},i):0===t?function(){var t;if(hasOwnProperty.call(y,"data"))return d&&n.emit("get","data",arguments,this),y.data;if(t=arguments.length?nk.call(e,this,arguments):nD.call(e,this),hasOwnProperty.call(y,"data"))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y.data=t,h&&n.emit("set","data",null,t),t;}:function(t){var r,i,o=arguments;if(g&&(o=g(arguments)),i=o[0]+"",hasOwnProperty.call(y,i))return d&&n.emit("get",i,o,this),y[i];if(r=1===o.length?nD.call(e,this,o[0]):nk.call(e,this,o),hasOwnProperty.call(y,i))throw nE("Circular invocation","CIRCULAR_INVOCATION");return y[i]=r,h&&n.emit("set",i,null,r),r;},n={original:e,memoized:v,profileName:r.profileName,get:function(e){return(g&&(e=g(e)),o)?o(e):e[0]+"";},has:function(e){return hasOwnProperty.call(y,e);},delete:function(e){var t;hasOwnProperty.call(y,e)&&(a&&a(e),t=y[e],delete y[e],m&&n.emit("delete",e,t));},clear:function(){var e=y;l&&l(),y=nj(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nF.call(this,e,t);},emit:nM,updateEnv:function(){e=n.original;}},c=o?nO(function(e){var t,r=arguments;g&&(r=g(r)),null!==(t=o(r))&&n.delete(t);},i):0===t?function(){return n.delete("data");}:function(e){return g&&(e=g(arguments)[0]),n.delete(e);},u=nO(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nO(function(){var e,r=arguments;return 0===t?n.has("data"):(g&&(r=g(r)),null!==(e=o?o(r):r[0]+"")&&n.has(e));}),nU(v,{__memoized__:nS(!0),delete:nS(c),clear:nS(n.clear),_get:nS(u),_has:nS(p)}),n;},nh=function e(t){var r,n,i;if(nm(t),r=Object(arguments[1]),r.async&&r.promise)throw Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!r.force?t:(n=nf(r.length,t.length,r.async&&ng.async),i=ny(t,n,r),nv(ng,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},nu=function(e){var t,r=np(arguments[1]);return!r.normalizer&&0!==(t=r.length=nf(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rU("7o7h2"):t>1&&(r.normalizer=rU("jdXxe")(t)):!1===t?r.normalizer=rU("1DZyI")():1===t?r.normalizer=rU("loqvW")():r.normalizer=rU("f097S")(t)),r.async&&rU("7PnxH"),r.promise&&rU("fCNrK"),r.dispose&&rU("1EtHk"),r.maxAge&&rU("6VQvb"),r.max&&rU("jT7Ur"),r.refCounter&&rU("6ZksK"),nh(e,r);},nG=rU("dOmbL");const sB=/^~(?=$|\/|\\)/,{appendFile:sH,readFile:sq,writeFile:sV}=iY.promises,sX=T("~/.bashrc"),sz=c(nu)(P,{promise:!0});nB={};const sW="win32"!==iW.platform(),sK=iW.release(),sY=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nB=function(e){return sW?e.replace(/(\s+)/g,"\\$1"):sY(.../(\d+\.\d+)\.(\d+)/.exec(sK).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rU("awj79"),t=function(e){return e.split("").reverse().join("");},nH=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(nH={});const{appendFile:sJ}=iY.promises;rB=rU("9yJgU"),rM=rU("9ne19"),rG=rU("ER74K");const{appendFile:sQ}=iY.promises,sZ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nq=rU("ggaxg"),function(){rU("fXZh0").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(nV={}),nX={},nX=rU("elyHp"),nz={},nz={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}},rG=rU("ER74K"),nW={},nK=rU("jrMr3"),nY=rN.env.npm_package_json,nQ=!!((nJ=rN.env.npm_config_user_agent)&&nJ.startsWith("npm")),nZ=!!(nY&&nY.endsWith("package.json")),n0=nQ||nZ,n1=!!(nJ&&nJ.startsWith("yarn")),n2=n0||n1,n4=iW.homedir(),n3=process.env.XDG_CONFIG_HOME||iK.join(n4,".config","simple-update-notifier"),n6=function(e){return iK.join(n3,"".concat(e.replace("@","").replace("/","__"),".json"));},n8=function(){iY.existsSync(n3)||iY.mkdirSync(n3,{recursive:!0});},n7=function(e){var t=n6(e);try{if(!iY.existsSync(t))return;return JSON.parse(iY.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n5=function(e){var t=n6(e);iY.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n9=function(e,t){return j(void 0,void 0,void 0,function(){var r;return U(this,function(n){return r="https://registry.npmjs.org/-/package/".concat(e,"/dist-tags"),[2,new Promise(function(e,n){iZ.get(r,function(r){var i="";r.on("data",function(e){return i+=e;}),r.on("end",function(){try{var r=JSON.parse(i)[t];r||n(Error("Error getting version")),e(r);}catch(e){n(Error("Could not parse version response"));}});}).on("error",function(e){return n(e);});})];});});},ie=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return j(void 0,void 0,void 0,function(){var e,r;return U(this,function(i){switch(i.label){case 0:if(n8(),e=n7(t.name),!(s||!e||ethis.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=t||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url);}},{key:"getOptions",value:function(){return this.__opts;}},{key:"getMetadata",value:function(){return this.__opts.metadata;}},{key:"getStats",value:function(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes};}},{key:"getTotalSize",value:function(){var e=this;return new Promise(function(t,r){var n=function(t){e.__initProtocol(t);var r=Object.assign({},e.__headers);r.hasOwnProperty("range")&&delete r.range;var n=e.__getReqOptions("HEAD",t,r);return Object.assign({},e.__reqOptions,n);},i=function(o,s){var a=e.__protocol.request(s,function(s){if(e.__isRequireRedirect(s)){var a=/^https?:\/\//.test(s.headers.location)?s.headers.location:new rC.URL(s.headers.location,o).href;return e.emit("redirected",a,o),i(a,n(a));}return 200===s.statusCode?void t({name:e.__getFileNameFromHeaders(s.headers,s),total:parseInt(s.headers["content-length"])||null}):r(Error("Response status was "+s.statusCode));});a.on("error",function(e){return r(e);}),a.on("timeout",function(){return r(Error("timeout"));}),a.on("uncaughtException",function(e){return r(e);}),a.end();};i(e.url,n(e.url));});}},{key:"getResumeState",value:function(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total};}},{key:"resumeFromFile",value:function(e){var t=this,r=1=a))return this.emit("skip",{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:s}),this.__setState(this.__states.SKIPPED),t(!0);}this.__fileStream=ia.createWriteStream(this.__filePath,{});}this.emit("download",{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date(),this.__statsEstimate.throttleTime=new Date(),i.on("data",function(e){return n.__calculateStats(e.length);}),this.__pipes.forEach(function(e){i.pipe(e.stream,e.options),i=e.stream;}),i.pipe(this.__fileStream),i.on("error",this.__onError(t,r)),this.__fileStream.on("finish",this.__onFinished(t,r)),this.__fileStream.on("error",this.__onError(t,r));}},{key:"__hasFinished",value:function(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state);}},{key:"__isRequireRedirect",value:function(e){return 300e.statusCode&&e.headers.hasOwnProperty("location")&&e.headers.location;}},{key:"__onFinished",value:function(e,t){var r=this;return function(){r.__fileStream.close(function(n){if(n)return t(n);if(r.__hasFinished()){var i=!!r.__total&&r.__downloaded!==r.__total;if(i&&r.__isResumable&&r.__opts.resumeOnIncomplete&&r.__resumeRetryCount<=r.__opts.resumeOnIncompleteMaxRetry)return r.__resumeRetryCount++,r.emit("warning",Error("uncomplete download, retrying")),r.resume();r.__setState(r.__states.FINISHED),r.__pipes=[],r.emit("end",{fileName:r.__fileName,filePath:r.__filePath,totalSize:r.__total,incomplete:i,onDiskSize:r.__getFilesizeInBytes(r.__filePath),downloadedSize:r.__downloaded});}return e(r.__downloaded===r.__total);});};}},{key:"__closeFileStream",value:function(){var e=this;return this.__fileStream?new Promise(function(t,r){e.__fileStream.close(function(e){return e?r(e):t(!0);});}):Promise.resolve(!0);}},{key:"__onError",value:function(e,t){var r=this,n=!!(2=(void 0===o?999:o)?Promise.reject(t||Error("reached the maximum retries")):(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit("retry",this.__retryCount,this.__opts.retry,t),this.__response&&(this.__response.unpipe(),this.__pipes.forEach(function(e){return e.stream.unpipe();})),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then(function(){return new Promise(function(t){return e.__retryTimeout=setTimeout(function(){return t(0this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=t,this.emit("progress.throttled",this.getStats())),this.emit("progress",this.getStats()));}},{key:"__setState",value:function(e){this.state=e,this.emit("stateChanged",this.state);}},{key:"__getReqOptions",value:function(e,t){var r=2this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return iA(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class am extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}iy.HTTPError=am;const av="win32"===process.platform,ag="darwin"===process.platform;iy.downloadTool=function(e,t,r,n){return ix(this,void 0,void 0,function*(){t=t||al.join(eA(),ad.default()),yield ai.mkdirP(al.dirname(t)),an.debug("Downloading "+e),an.debug("Destination "+t);let i=e$("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=e$("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new iS.RetryHelper(3,i,o);return yield s.execute(()=>ix(this,void 0,void 0,function*(){return yield function(e,t,r,n){return ix(this,void 0,void 0,function*(){if(ao.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new ac.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(an.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new am(o.message.statusCode);throw an.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=af.promisify(ap.pipeline),a=e$("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,ao.createWriteStream(t)),an.debug("download complete"),l=!0,t;}finally{if(!l){an.debug("download failed");try{yield ai.rmRF(t);}catch(e){an.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof am)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},iy.extract7z=function(e,t,r){return ix(this,void 0,void 0,function*(){rg.ok(av,"extract7z() not supported on current OS"),rg.ok(e,'parameter "file" is required'),t=yield eR(t);let n=process.cwd();if(process.chdir(t),r)try{let t=an.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield iO.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=al.join(iE,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield ai.which("powershell",!0);yield iO.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},iy.extractTar=function(e,t,r="xz"){return ix(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eR(t),an.debug("Checking tar --version");let i="";yield iO.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),an.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],an.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return av&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield iO.exec("tar",n),t;});},iy.extractXar=function(e,t,r=[]){return ix(this,void 0,void 0,function*(){let n;rg.ok(ag,"extractXar() not supported on current OS"),rg.ok(e,'parameter "file" is required'),t=yield eR(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),an.isDebug()&&n.push("-v");let i=yield ai.which("xar",!0);return yield iO.exec(`"${i}"`,Array.from(new Set(n))),t;});},iy.extractZip=function(e,t){return ix(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eR(t),av?yield function(e,t){return ix(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ai.which("pwsh",!1);if(i){let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`;an.debug("Using pwsh at path: "+i),yield iO.exec(`"${i}"`,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}else{let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,t=yield ai.which("powershell",!0);an.debug("Using powershell at path: "+t),yield iO.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return ix(this,void 0,void 0,function*(){let r=yield ai.which("unzip",!0),n=[e];an.isDebug()||n.unshift("-q"),n.unshift("-o"),yield iO.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},iy.cacheDir=function(e,t,r,n){return ix(this,void 0,void 0,function*(){if(r=au.clean(r)||r,n=n||aa.arch(),an.debug(`Caching tool ${t} ${r} ${n}`),an.debug("source dir: "+e),!ao.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eO(t,r,n);for(let t of ao.readdirSync(e)){let r=al.join(e,t);yield ai.cp(r,i,{recursive:!0});}return eS(t,r,n),i;});},iy.cacheFile=function(e,t,r,n,i){return ix(this,void 0,void 0,function*(){if(n=au.clean(n)||n,i=i||aa.arch(),an.debug(`Caching tool ${r} ${n} ${i}`),an.debug("source file: "+e),!ao.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eO(r,n,i),s=al.join(o,t);return an.debug("destination file "+s),yield ai.cp(e,s),eS(r,n,i),o;});},iy.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||aa.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=au.clean(t)||"";let i=al.join(eP(),e,t,r);an.debug("checking cache: "+i),ao.existsSync(i)&&ao.existsSync(`${i}.complete`)?(an.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):an.debug("not found");}return n;},iy.findAllVersions=ex,iy.getManifestFromRepo=function(e,t,r,n="master"){return ix(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new ac.HttpClient("tool-cache"),a={};r&&(an.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let c="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u);}catch(e){an.debug("Invalid json");}}return i;});},iy.findFromManifest=function(e,t,r,n=aa.arch()){return ix(this,void 0,void 0,function*(){return yield as._findMatch(e,t,r,n);});},iy.isExplicitVersion=eI,iy.evaluateVersions=eT,rM=rU("9ne19"),rG=rU("ER74K"),ni=rU("4oHc1"),nG=rU("dOmbL"),im=rU("ceI0e"),Object.defineProperty(i$={},"__esModule",{value:!0}),i$.retryAsPromised=i$.TimeoutError=void 0;class ay extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}i$.TimeoutError=ay,i$.retryAsPromised=eN,i$.default=eN,iN=rU("fcBgE"),rG=rU("ER74K"),(rd=iC||(iC={}))[rd.Tar=0]="Tar",rd[rd.TarGz=1]="TarGz",rd[rd.TarXz=2]="TarXz",rd[rd.Zip=3]="Zip",rd[rd.SevenZip=4]="SevenZip",rB=rU("9yJgU");const aE=e=>{if(e){if("object"==typeof e)e={mode:511,...e};else if("number"==typeof e)e={mode:e};else if("string"==typeof e)e={mode:parseInt(e,8)};else throw TypeError("invalid options argument");}else e={mode:511};let t=e,r=e.fs||{};return e.mkdir=e.mkdir||r.mkdir||iY.mkdir,e.mkdirAsync=e.mkdirAsync?e.mkdirAsync:async(e,r)=>new Promise((n,i)=>t.mkdir(e,r,(e,t)=>e?i(e):n(t))),e.stat=e.stat||r.stat||iY.stat,e.statAsync=e.statAsync?e.statAsync:async e=>new Promise((r,n)=>t.stat(e,(e,t)=>e?n(e):r(t))),e.statSync=e.statSync||r.statSync||iY.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iY.mkdirSync,t;},aw=(e,t,r)=>{let n=(0,iK.dirname)(e),i={...aE(t),recursive:!1};if(n===e)try{return i.mkdirSync(e,i);}catch(e){if(e&&"EISDIR"!==e.code)throw e;return;}try{return i.mkdirSync(e,i),r||e;}catch(t){if(t&&"ENOENT"===t.code)return aw(e,i,aw(n,i,r));if(t&&"EEXIST"!==t.code&&t&&"EROFS"!==t.code)throw t;try{if(!i.statSync(e).isDirectory())throw t;}catch(e){throw t;}}},a_=Object.assign(async(e,t,r)=>{let n=aE(t);n.recursive=!1;let i=(0,iK.dirname)(e);return i===e?n.mkdirAsync(e,n).catch(e=>{if(e&&"EISDIR"!==e.code)throw e;}):n.mkdirAsync(e,n).then(()=>r||e,async t=>{if(t&&"ENOENT"===t.code)return a_(i,n).then(t=>a_(e,n,t));if(t&&"EEXIST"!==t.code&&"EROFS"!==t.code)throw t;return n.statAsync(e).then(e=>{if(e.isDirectory())return r;throw t;},()=>{throw t;});});},{sync:aw}),ab=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?ab(e,(0,iK.dirname)(t),t):void 0);},ax=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?ax(e,(0,iK.dirname)(t),t):void 0;}},aR=(e,t)=>{let r=aE(t);if(r.recursive=!0,(0,iK.dirname)(e)===e)return r.mkdirSync(e,r);let n=ax(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return aw(e,r);throw t;}},aO=Object.assign(async(e,t)=>{let r={...aE(t),recursive:!0};return(0,iK.dirname)(e)===e?await r.mkdirAsync(e,r):ab(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return a_(e,r);throw t;}));},{sync:aR}),aS=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aI=e=>{if(/\0/.test(e))throw Object.assign(TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=(0,iK.resolve)(e),"win32"===aS){let{root:t}=(0,iK.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aT=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aP=+aT[0]>10||10==+aT[0]&&+aT[1]>=12,aA=aP?e=>aE(e).mkdirSync===iY.mkdirSync:()=>!1,a$=Object.assign(aP?e=>aE(e).mkdir===iY.mkdir:()=>!1,{sync:aA}),aN=(e,t)=>{e=aI(e);let r=aE(t);return aA(r)?aR(e,r):aw(e,r);},aC=Object.assign(async(e,t)=>{e=aI(e);let r=aE(t);return a$(r)?aO(e,r):a_(e,r);},{mkdirpSync:aN,mkdirpNative:aO,mkdirpNativeSync:aR,mkdirpManual:a_,mkdirpManualSync:aw,sync:aN,native:aO,nativeSync:aR,manual:a_,manualSync:aw,useNative:a$,useNativeSync:aA});nG=rU("dOmbL"),im=rU("ceI0e"),iO=rU("jlr6Q"),rM=rU("9ne19"),rG=rU("ER74K"),ni=rU("4oHc1"),nG=rU("dOmbL"),im=rU("ceI0e"),iO=rU("jlr6Q"),rG=rU("ER74K"),iL=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rC.URL(t),!0;}catch{return!1;}},ik=async e=>{if(!iL(e))return!1;let t=await ez(e,"HEAD");return!!t||!!(t=await ez(e,"GET"));},iv=rU("4F3T1"),iD=rU("5tbf8"),ij=rU("cdjlt");const aL=/v?(\d\S*)/,ak={llvm:eQ(),clangtidy:eQ(),clangformat:eQ(),ninja:"1.12.1",cmake:"3.30.2",gcovr:"5.2",conan:"1.64.1",meson:"1.5.1",kcov:"42",task:"3.38.0",doxygen:eh()?"1.11.0-4":"1.11.0",gcc:"win32"===process.platform?"14.2.0posix-18.1.8-12.0.0-ucrt-r1":"",powershell:"7.4.5"},aD={pip:"22.2.0",python:"3.7.9"},aj={mingw:{24:"8.0.0-1",22:"8.0.0-1",20:"7.0.0-2"},llvm:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{24:"6.0",22:"6.0",20:"6.0",18:"5.0"},meson:{24:"1.0.0",22:"1.0.0",20:"1.0.0",18:"0.61.4"},nala:{24:"",22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{24:"42-binary",22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"},doxygen:{24:"1.11.0",22:"1.11.0",20:"1.10.0",18:"1.10.0"}},aU=c(nu)(tt,{promise:!0});rG=rU("ER74K"),Object.defineProperty(iU={},"__esModule",{value:!0}),iU.getUbuntuVersion=void 0,iU.getUbuntuVersion=ti;const aF=c(nu)(to,{promise:!0}),aM=c(nu)(tu,{promise:!0}),aG=c(nu)(tp,{promise:!0}),aB=c(nu)(tf,{promise:!0});rG=rU("ER74K"),im=rU("ceI0e"),nG=rU("dOmbL");const aH=new Map([[24,["Sequoia","15"]],[23,["Sonoma","14"]],[22,["Ventura","13"]],[21,["Monterey","12"]],[20,["Big Sur","11"]],[19,["Catalina","10.15"]],[18,["Mojave","10.14"]],[17,["High Sierra","10.13"]],[16,["Sierra","10.12"]],[15,["El Capitan","10.11"]],[14,["Yosemite","10.10"]],[13,["Mavericks","10.9"]],[12,["Mountain Lion","10.8"]],[11,["Lion","10.7"]],[10,["Snow Leopard","10.6"]],[9,["Leopard","10.5"]],[8,["Tiger","10.4"]],[7,["Panther","10.3"]],[6,["Jaguar","10.2"]],[5,["Puma","10.1"]]]),aq=c(nu)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rT).release()).split(".")[0];let[t,r]=aH.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rM=rU("9ne19"),rG=rU("ER74K"),ni=rU("4oHc1"),nG=rU("dOmbL"),im=rU("ceI0e"),iv=rU("4F3T1"),iF=rU("3tcGr"),iO=rU("jlr6Q"),rG=rU("ER74K"),ni=rU("4oHc1"),iM=iK.resolve(__dirname,"../../src/gcc"),iF=rU("3tcGr"),ij=rU("cdjlt"),rG=rU("ER74K"),im=rU("ceI0e"),im=rU("ceI0e"),iG=iK.resolve(__dirname,"../../src/kcov"),rM=rU("9ne19"),rG=rU("ER74K"),nG=rU("dOmbL"),im=rU("ceI0e"),ni=rU("4oHc1"),rB=rU("9yJgU"),rG=rU("ER74K");class aV extends Error{constructor(e){super(e),this.name="TimeoutError";}}class aX extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const az=e=>void 0===globalThis.DOMException?new aX(e):new DOMException(e),aW=e=>{let t=void 0===e.reason?az("This operation was aborted."):e.reason;return t instanceof Error?t:az(t);};im=rU("ceI0e"),rG=rU("ER74K"),rB=rU("9yJgU");const aK=rN.env["ProgramFiles(x86)"],aY=[rN.env["ProgramFiles(x86)"],rN.env.ProgramFiles],aJ=["Enterprise","Professional","Community","BuildTools"],aQ=["2022","2019","2017"],aZ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iB=tM;const a0=`${aK}\\Microsoft Visual Studio\\Installer`;iH=tG,iq=function(e,t,r,n,i,o){if("win32"!=rN.platform){rB.info("This is not a Windows virtual environment, bye!");return;}rN.env.PATH+=iK.delimiter+a0;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];n&&!0===JSON.parse(n)&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),i&&!0===JSON.parse(i)&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tG(o)}" ${a.join(" ")}`;rB.debug("vcvars command-line: "+l);let c=rw.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),u=c[0].split("\r\n"),p=c[1].split("\r\n"),f=c[2].split("\r\n"),d=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(d.length>0)throw Error("invalid parameters\r\n"+d.join("\r\n"));let h={};for(let e of u){let[t,r]=e.split("=");h[t]=r;}for(let e of(rB.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rB.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),rB.exportVariable(t,r));}rB.endGroup(),rB.info("Configured Developer Command Prompt");},nG=rU("dOmbL");const a1=12e5;(rh=iV||(iV={}))[rh.All=0]="All",rh[rh.ClangFormat=1]="ClangFormat",rh[rh.Core=2]="Core",rG=rU("ER74K"),im=rU("ceI0e"),ig=rU("ekDr6");const a2=function(e){let t=new Set(e);for(let r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t;}(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),a4=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),a3=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),a6=new Map(),a8={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04","17.0.6":"-ubuntu-22.04","18.1.4":"-ubuntu-18.04","18.1.7":"-ubuntu-18.04","18.1.8":"-ubuntu-18.04"},a7="18.1.8";iX=iK.resolve(__dirname,"../../src/llvm");const a5=c(nu)(t0,{promise:!0}),a9=c(nu)(t2,{promise:!0}),le=c(nu)(t4,{promise:!0});rM=rU("9ne19"),im=rU("ceI0e"),rG=rU("ER74K"),nG=rU("dOmbL"),iz=iK.resolve(__dirname,"../../src/msvc"),rG=rU("ER74K"),ni=rU("4oHc1"),im=rU("ceI0e"),rG=rU("ER74K"),im=rU("ceI0e"),im=rU("ceI0e"),rG=rU("ER74K"),nG=rU("dOmbL"),im=rU("ceI0e");let lt=!1;const lr={nala:t9,cmake:eX,ninja:tL,python:eZ,vcpkg:ra,bazel:ew,conan:function(e,t,r){return ta("conan",e);},meson:function(e,t,r){return ta("meson",e);},gcovr:function(e,t,r){return ta("gcovr",e);},opencppcoverage:rt,llvm:tZ,gcc:tI,choco:ev,brew:eu,powershell:ri,ccache:function(e,t,r){switch(process.platform){case"win32":return eg("ccache",e);case"darwin":return ef("ccache",e);case"linux":if(eh())return e_("ccache",e);if(ed())return ey([{name:"ccache",version:e}]);if(em())return en([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return eg("sccache",e);case"linux":case"darwin":return ef("sccache",e);default:throw Error("Unsupported platform");}},doxygen:tb,graphviz:ty,cppcheck:tv,clangtidy:function(e,t,r){return t1(e,t,r);},clangformat:function(e,t,r){return t1(e,t,r,iV.ClangFormat);},msvc:t7,vcvarsall:tB,kcov:tF,make:t8,task:function(e,t,r){return eG("task",e,rs,t,r);},sevenzip:eC},ln=Object.keys(lr),li=["compiler","architecture","timeout",...ln],lo={rcPath:T("~/.cpprc"),guard:"cpp"};rB=rU("9yJgU"),rG=rU("ER74K"),ij=rU("cdjlt"),rp(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rG.error)("main() panicked!"),(0,rG.error)(e),process.exitCode=1;}); -//# sourceMappingURL=setup-cpp.js.map \ No newline at end of file diff --git a/dist/modern/setup-cpp.js.map b/dist/modern/setup-cpp.js.map deleted file mode 100644 index 58409d24..00000000 --- a/dist/modern/setup-cpp.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rW","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rX","sync","command","path","rK","pathExt","iK","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i7","file","original","h","rq","rw","spawn","r1","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r5","getBufferedLength","r8","MAX_LENGTH","bufferedData","getBufferedValue","o0","on","o1","E","sE","sa","sl","sg","oK","c","rO","ChildProcess","sn","reject","ob","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","si","l","oW","oY","kill","oG","bind","cancel","oX","r2","exitCode","signal","se","sw","aborted","failed","o8","o7","oZ","w","o3","spawnSync","input","status","_","stdio","nr","nothrow","b","getuid","CI","x","sG","sc","O","S","R","join","map","I","SUDO_USER","iY","statSync","isDirectory","T","iW","homedir","replace","sB","P","guard","rcPath","A","$","rG","warning","nG","pathExists","sq","includes","sH","info","N","Set","split","sV","C","escapeSpace","overwrite","sX","nB","nH","rM","GITHUB_ACTIONS","rB","exportVariable","L","sz","sJ","k","sZ","some","test","PATH","addPath","D","sQ","j","next","throw","done","value","then","apply","U","return","call","label","ops","pop","trys","length","push","sent","Symbol","iterator","F","nW","pkg","ir","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","s0","V","DEBIAN_FRONTEND","LANG","LC_ALL","X","z","W","startsWith","K","Y","J","filter","Z","name","version","Q","id","trim","s2","s4","ee","s1","et","s3","er","clear","en","ei","binDir","eo","s6","flatMap","repository","key","ea","es","keyServer","s7","fileName","keyStorePath","ec","el","keyUrl","s8","tmpdir","ii","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s5","ed","eh","em","ev","im","SystemRoot","ALLUSERSPROFILE","lo","ChocolateyInstall","eg","s9","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","ae","at","eb","matchAll","ar","ex","aa","al","eP","ao","existsSync","readdirSync","eI","eR","eA","ad","ai","mkdirP","eO","au","clean","an","debug","rmRF","eS","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rg","ok","RUNNER_TEMP","e$","rk","eN","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","ay","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eU","eF","eM","iN","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","iy","installDir","eB","eq","eH","ni","chmod","i$","now","basename","downloadTool","rl","CACHE_TOOLS","cacheDir","eV","iv","ig","addExeExt","eX","ez","iZ","request","method","statusCode","end","eW","from","iD","localeCompare","eK","ik","has","JSON","stringify","eY","aL","iO","getExecOutput","console","eJ","eQ","eZ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e3","setupActionsPython","rU","e4","e6","parse","root","readdir","aD","python","e7","e9","e5","pip","te","tt","tr","tn","aj","Number","parseInt","ak","ti","execFile","encoding","shell","to","ts","iU","getUbuntuVersion","ta","aB","user","td","PIPX_HOME","aM","PIPX_BIN_DIR","aG","aU","th","tu","aC","tp","tf","aF","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aq","notice","tR","tO","readFile","tS","filterTag","filterName","tag","iM","tI","tP","tA","tT","t$","iF","tN","compare","tC","tL","tk","tD","tj","tU","iG","tF","tM","values","aZ","tG","execSync","entries","aQ","aY","aJ","aK","tB","iq","tH","a1","startGroup","milliseconds","fallback","customTimers","sign","aW","addEventListener","POSITIVE_INFINITY","aV","finally","tq","endGroup","lr","rc","tV","tX","NODE_DEBUG","tz","writeFile","rL","tW","tK","tY","a4","tJ","a3","a6","get","a2","a8","a7","tQ","tZ","a5","t3","t0","t1","t6","le","iV","All","ij","a9","t2","t4","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iX","t8","t7","iB","iH","t5","iz","t9","re","rt","rr","rn","arm64","arm","arm32","aarch64","x64","ri","ro","rs","ra","lt","addShExt","addShRelativePrefix","getInput","toLowerCase","ru","compiler","rp","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","li","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nX","create","autoloadLocales","addLocale","nz","nq","nV","cppcheck","gcovr","ln","isCI","parseFloat","format","success","rf","rd","rh","rY","rJ","r3","r7","r9","nt","ns","na","nl","nc","nx","nR","nI","n$","nN","nC","nk","nD","nj","nU","nF","nM","nY","nJ","nQ","nZ","n0","n1","n2","n4","n3","n6","n8","n7","n5","n9","ie","it","io","is","ia","il","ic","iu","ip","iL","any","every","defineProperty","exports","constant","isPR","forEach","pr","ne","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","setFailed","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","String","title","line","startLine","endLine","col","startColumn","endColumn","appendFileSync","random","rng","iJ","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","iQ","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","URL","href","setPrototypeOf","HttpClientError","readBody","Buffer","alloc","readBodyBuffer","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","getAgentDispatcher","_getProxyAgentDispatcher","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","_proxyAgentDispatcher","uri","pipelining","token","requestTls","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","_decodedUsername","decodeURIComponent","_decodedPassword","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","rm","connect","localAddress","arguments","defaultPort","ry","inherits","rv","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rF","Authorization","PersonalAccessTokenCredentialHandler","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","appendFile","chown","copyFile","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","readlink","realpath","rename","rmdir","symlink","truncate","unlink","utimes","promisify","Function","propertyIsEnumerable","foo","bar","trzy","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","contains","defineProperties","configurable","__ee__","__eeOnceListener__","off","methods","gs","set","undefined","toPrimitive","toStringTag","globalThis","self","window","__global__","__description__","__name__","hasInstance","isConcatSpreadable","species","unscopables","for","keyFor","floor","isFinite","delete","abs","NaN","async","memoized","context","cb","document","createTextNode","observe","characterData","queueMicrotask","MutationObserver","WebKitMutationObserver","setImmediate","promise","maxAge","unref","preFetch","hit","refCounter","deleteRef","getRefCount","rE","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","rcompare","compareLoose","compareBuild","rsort","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","COERCE","COERCEFULL","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTLFULL","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","formatted","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","add","extname","normalize","relative","force","recursive","retryDelay","IS_WINDOWS","isRooted","tryGetExecutablePath","exists","cp","copySourceDirectory","mv","which","findInPath","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","readFileSync","randomBytes","ToolRunner","r_","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argStringToArray","charAt","_setResult","rb","HandleTimeout","OSTYPE","i1","i0","rz","TESTING_WINDOWS","i2","i4","colon","pathEnv","pathExtExe","i3","i6","rV","rQ","rZ","r0","openSync","readSync","closeSync","i8","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rH","_parse","_enoent","i5","rS","preferLocal","execPath","addExecPath","rI","fileURLToPath","rR","i9","oe","ot","or","oi","getPrototypeOf","oo","os","oa","ol","oc","WeakMap","ou","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","op","oh","od","of","number","action","description","standard","om","forced","ov","og","signals","rT","supported","oy","oE","ow","o_","errorCode","signalDescription","Boolean","originalMessage","shortMessage","ox","oR","oO","oS","reallyExit","pid","oI","oT","oP","oA","o$","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oN","oL","oF","oj","r4","equal","oD","alwaysLast","unload","oC","oM","oU","load","oB","oH","oV","forceKillAfterTimeout","oq","SIGTERM","oz","killSignal","race","cleanup","detached","oJ","oQ","createWriteStream","pipeStdout","pipeStderr","pipeAll","rP","rA","PassThrough","array","objectMode","setEncoding","pipeline","r6","buffer","MaxBufferError","readable","isEmpty","o2","o4","inputFile","o6","createReadStream","o5","o9","st","sr","so","ss","su","rx","isBuffer","sp","sf","templates","expressions","template","sd","sh","r$","debuglog","enabled","sm","padStart","sv","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sy","localDir","stripFinalNewline","windowsHide","s_","sb","sx","sO","sR","sS","groups","getgroups","sI","sA","sT","sP","s$","_ISEXE_TEST_PLATFORM_","no","nn","sN","isexe","sC","posix","sL","sk","sD","source","sj","sU","sF","sM","nf","nd","function","object","n_","nb","captureStackTrace","nE","nw","nP","nA","nT","nm","nL","ny","normalizer","resolvers","nO","profileName","updateEnv","__memoized__","nS","_get","_has","nh","ng","nv","__profiler__","nu","np","primitive","sW","sK","release","sY","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rN","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nK","padEnd","isTTY","shouldNotifyInNpmScript","DH_STATES","IDLE","SKIPPED","STARTED","DOWNLOADING","RETRY","PAUSED","RESUMED","STOPPED","FINISHED","FAILED","__proto__","captureRejections","__validate","requestURL","state","__defaultOpts","body","retry","metadata","override","forceResume","removeOnStop","removeOnFail","progressThrottle","httpRequestOptions","httpsRequestOptions","resumeOnIncomplete","resumeIfFileExists","resumeOnIncompleteMaxRetry","__opts","__pipes","__total","__downloaded","__progress","__retryCount","__retryTimeout","__resumeRetryCount","__states","__promise","__request","__response","__isAborted","__isResumed","__isResumable","__isRedirected","__destFolder","__statsEstimate","time","bytes","prevBytes","throttleTime","__fileName","__filePath","updateOptions","__start","getTotalSize","total","__getFilePath","__getFilesizeInBytes","resumeFromFile","unpipe","stream","__fileStream","__requestAbort","__closeFileStream","__setState","__reqOptions","__emitStop","__headers","__getReqOptions","__initProtocol","downloaded","progress","speed","__protocol","__isRequireRedirect","rC","__getFileNameFromHeaders","destroyed","__downloadRequest","__onError","__onTimeout","__resetStats","__startDownload","flags","skip","skipSmaller","totalSize","downloadedSize","isResumed","__calculateStats","__onFinished","close","__hasFinished","resume","incomplete","onDiskSize","__retry","__removeFile","__getFileNameFromOpts","__uniqFileNameSync","prevPath","prevFileName","ext","getStats","throwIfNoEntry","accessSync","F_OK","abort","__resolvePending","ih","ib","as","ac","ap","af","iR","ah","iP","iS","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","am","httpStatusCode","new","target","HTTPError","av","ag","ix","authorization","statusMessage","extract7z","iE","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iC","aE","fs","mkdirAsync","statAsync","aw","a_","ab","ax","aR","aO","aS","__TESTING_MKDIRP_PLATFORM__","aI","aT","__TESTING_MKDIRP_NODE_VERSION__","aP","aA","a$","aN","mkdirpSync","mkdirpNative","mkdirpNativeSync","mkdirpManual","mkdirpManualSync","native","nativeSync","manual","manualSync","useNative","useNativeSync","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","powershell","mingw","nala","aH","aX","az","DOMException","reason","ProgramFiles","a0","win32","win64","x86_64","vcpkg","bazel","opencppcoverage","choco","brew","ccache","sccache","graphviz","ClangFormat","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/.pnpm/ci-info@4.0.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/ci-info@4.0.0/node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/file-command.ts","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/lib/index.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/src/index.ts","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/lib/proxy.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/src/proxy.ts","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13__@swc+helpers@0.5.13/node_modules/@parcel/runtime-js/lib/runtime-606d7c7b0691699a.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/lib/auth.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=wb6rtsgjkvzsp377hzv24bv2m4/node_modules/@actions/http-client/src/auth.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","../../src/utils/compat/fs/promises.ts","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/noop.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/_iterate.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-callable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-value.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/registered-extensions.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/mixin.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/shim.js","../../node_modules/.pnpm/event-emitter@0.3.5/node_modules/event-emitter/index.js","../../node_modules/.pnpm/d@1.0.2/node_modules/d/index.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/value/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/plain-function/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/function/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/prototype/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/object/is.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/normalize-options.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/shim.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/index.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-implemented.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/index.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/is-implemented.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/implementation.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/polyfill.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/validate-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/generate-name.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/standard-symbols.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/symbol-registry.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-arguments.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-function.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-pos-integer.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-integer.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/is-string.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/primitive.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-primitive-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/#/e-index-of.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/shim.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-1.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/async.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/map.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/for-each.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/_define-length.js","../../node_modules/.pnpm/next-tick@1.1.0/node_modules/next-tick/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/promise.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/primitive-set.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-callable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/to-short-string-representation.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/safe-to-string.js","../../node_modules/.pnpm/is-promise@2.2.2/node_modules/is-promise/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/dispose.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max-age.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/valid-timeout.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/max-timeout.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max.js","../../node_modules/.pnpm/lru-queue@0.1.0/node_modules/lru-queue/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/ref-counter.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","../../node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/name.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/normalize-trim.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-exe-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-suffix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/remove-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/replace-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/is-path-inside.ts","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io-util.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/exec.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13__@swc+helpers@0.5.13/node_modules/@parcel/runtime-js/lib/runtime-fd61ca5b164aabc9.js","../../node_modules/.pnpm/@parcel+runtime-js@2.12.0_@parcel+core@2.12.0_@swc+helpers@0.5.13__@swc+helpers@0.5.13/node_modules/@parcel/runtime-js/lib/runtime-afb71d798df2859a.js","../../src/main.ts","../../packages/envosman/src/index.ts","../../packages/envosman/src/add-env.ts","../../packages/exec-powershell/src/index.ts","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.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/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.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/enoent.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@5.3.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-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@7.2.0/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/index.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/index.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/posix.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/posix.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/mjs/win32.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/win32.ts","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/src/options.ts","../../packages/envosman/src/rc-file.ts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/index.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/root.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/root.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/admin.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/admin.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/is-admin.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/is-admin.mts","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/user-access.mjs","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/src/user-access.mts","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-length.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/plain.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/configure-map.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/error/custom.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-object.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-resolve.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/to-array.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-normalize.js","../../packages/untildify-user/src/index.ts","../../packages/envosman/src/utils.ts","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../packages/envosman/src/add-path.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","../../src/check-updates.ts","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../src/tool.ts","../../packages/setup-brew/src/index.ts","../../packages/setup-brew/src/install-pack.ts","../../packages/setup-brew/src/install.ts","../../node_modules/.pnpm/node-downloader-helper@2.1.9/node_modules/node-downloader-helper/dist/index.js","../../packages/setup-apt/src/index.ts","../../packages/setup-apt/src/alternatives.ts","../../packages/setup-apt/src/apt-key.ts","../../packages/setup-apt/src/install.ts","../../packages/setup-apt/src/apt-env.ts","../../packages/setup-apt/src/apt-repository.ts","../../packages/setup-apt/src/apt-timeout.ts","../../packages/setup-apt/src/get-apt.ts","../../packages/setup-apt/src/init-apt.ts","../../packages/setup-apt/src/qualify-install.ts","../../packages/setup-apt/src/is-installed.ts","../../packages/setup-apt/src/update.ts","../../src/bazel/bazel.ts","../../src/utils/env/hasDnf.ts","../../src/utils/env/isArch.ts","../../src/utils/env/isUbuntu.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/setup/setupDnfPack.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../src/utils/setup/setupBin.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/index.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/index.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-manual.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/mkdirp-manual.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/opts-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/opts-arg.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/mkdirp-native.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/find-made.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/find-made.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/path-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/path-arg.ts","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/use-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/src/use-native.ts","../../src/python/python.ts","../../src/utils/setup/version.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/utils/env/macos_version.ts","../../node_modules/.pnpm/macos-release@3.3.0/node_modules/macos-release/index.js","../../src/utils/setup/setupDmg.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/utils/github/load-assets.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../node_modules/.pnpm/p-timeout@6.1.2/node_modules/p-timeout/index.js","../../src/vcvarsall/vcvarsall.ts","../../node_modules/.pnpm/msvc-dev-cmd@https+++codeload.github.com+aminya+msvc-dev-cmd+tar.gz+c01f519bd995460228ed3dec4df51df92dc290fd/node_modules/msvc-dev-cmd/lib.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $d7DIX$os = require(\"os\");\nvar $d7DIX$path = require(\"path\");\nvar $d7DIX$fs = require(\"fs\");\nvar $d7DIX$crypto = require(\"crypto\");\nvar $d7DIX$http = require(\"http\");\nvar $d7DIX$https = require(\"https\");\nrequire(\"net\");\nvar $d7DIX$tls = require(\"tls\");\nvar $d7DIX$events = require(\"events\");\nvar $d7DIX$assert = require(\"assert\");\nvar $d7DIX$util = require(\"util\");\nvar $d7DIX$nodefs = require(\"node:fs\");\nvar $d7DIX$child_process = require(\"child_process\");\nvar $d7DIX$string_decoder = require(\"string_decoder\");\nvar $d7DIX$timers = require(\"timers\");\nvar $d7DIX$nodebuffer = require(\"node:buffer\");\nvar $d7DIX$nodepath = require(\"node:path\");\nvar $d7DIX$nodechild_process = require(\"node:child_process\");\nvar $d7DIX$nodeprocess = require(\"node:process\");\nvar $d7DIX$nodeurl = require(\"node:url\");\nvar $d7DIX$nodeos = require(\"node:os\");\nvar $d7DIX$buffer = require(\"buffer\");\nvar $d7DIX$stream = require(\"stream\");\nvar $d7DIX$nodeutil = require(\"node:util\");\nvar $d7DIX$process = require(\"process\");\nvar $d7DIX$url = require(\"url\");\nvar $d7DIX$console = require(\"console\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"9ne19\", function(module, exports) {\n\"use strict\";\n\nvar $elk84 = parcelRequire(\"elk84\");\nconst $6d31229dae4e3aa7$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $elk84.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$elk84.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $6d31229dae4e3aa7$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$6d31229dae4e3aa7$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $6d31229dae4e3aa7$var$env && $6d31229dae4e3aa7$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$6d31229dae4e3aa7$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $6d31229dae4e3aa7$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($6d31229dae4e3aa7$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($6d31229dae4e3aa7$var$env.BUILD_ID || // Jenkins, Cloudbees\n$6d31229dae4e3aa7$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$6d31229dae4e3aa7$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$6d31229dae4e3aa7$var$env.CI_APP_ID || // Appflow\n$6d31229dae4e3aa7$var$env.CI_BUILD_ID || // Appflow\n$6d31229dae4e3aa7$var$env.CI_BUILD_NUMBER || // Appflow\n$6d31229dae4e3aa7$var$env.CI_NAME || // Codeship and others\n$6d31229dae4e3aa7$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$6d31229dae4e3aa7$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $6d31229dae4e3aa7$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$6d31229dae4e3aa7$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $6d31229dae4e3aa7$var$env[obj.env] && $6d31229dae4e3aa7$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$6d31229dae4e3aa7$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $6d31229dae4e3aa7$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRegister(\"elk84\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Agola CI\",\"constant\":\"AGOLA\",\"env\":\"AGOLA_GIT_REF\",\"pr\":\"AGOLA_PULL_REQUEST_ID\"},{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"TF_BUILD\",\"pr\":{\"BUILD_REASON\":\"PullRequest\"}},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Earthly\",\"constant\":\"EARTHLY\",\"env\":\"EARTHLY_CI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"Gitea Actions\",\"constant\":\"GITEA_ACTIONS\",\"env\":\"GITEA_ACTIONS\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Prow\",\"constant\":\"PROW\",\"env\":\"PROW_JOB_ID\"},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vela\",\"constant\":\"VELA\",\"env\":\"VELA\",\"pr\":{\"VELA_PULL_REQUEST\":\"1\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]},\"pr\":\"VERCEL_GIT_PULL_REQUEST_ID\"},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRegister(\"ER74K\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $59a05e0535061862$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $59a05e0535061862$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $59a05e0535061862$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $59a05e0535061862$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $59a05e0535061862$export$a80b3bd66acc52ff);\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $9ne19 = parcelRequire(\"9ne19\");\nfunction $59a05e0535061862$export$a3bc9b8ed74fc(err) {\n return (0, $9ne19.GITHUB_ACTIONS) ? $9yJgU.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$491112666e282270(msg) {\n return (0, $9ne19.GITHUB_ACTIONS) ? $9yJgU.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$b31f6ae88848cf15(msg) {\n return (0, $9ne19.GITHUB_ACTIONS) ? $9yJgU.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$a80b3bd66acc52ff(msg) {\n return (0, $9ne19.GITHUB_ACTIONS) ? $9yJgU.info(msg) : console.log(msg);\n}\n\n});\nparcelRegister(\"9yJgU\", function(module, exports) {\n\"use strict\";\nvar $6f5a6808698f288d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $6f5a6808698f288d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $6f5a6808698f288d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $6f5a6808698f288d$var$__createBinding(result, mod, k);\n }\n $6f5a6808698f288d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $6f5a6808698f288d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $lffbf = parcelRequire(\"lffbf\");\n\nvar $60EQk = parcelRequire(\"60EQk\");\n\nvar $h6Xqd = parcelRequire(\"h6Xqd\");\n\nconst $6f5a6808698f288d$var$os = $6f5a6808698f288d$var$__importStar($d7DIX$os);\n\nconst $6f5a6808698f288d$var$path = $6f5a6808698f288d$var$__importStar($d7DIX$path);\n\nvar $cxnRr = parcelRequire(\"cxnRr\");\n/**\n * The code to exit an action\n */ var $6f5a6808698f288d$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($6f5a6808698f288d$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $6f5a6808698f288d$var$exportVariable(name, val) {\n const convertedVal = $h6Xqd.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $60EQk.issueFileCommand(\"ENV\", $60EQk.prepareKeyValueMessage(name, val));\n $lffbf.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $6f5a6808698f288d$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $6f5a6808698f288d$var$setSecret(secret) {\n $lffbf.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $6f5a6808698f288d$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $6f5a6808698f288d$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $60EQk.issueFileCommand(\"PATH\", inputPath);\n else $lffbf.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$6f5a6808698f288d$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $6f5a6808698f288d$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $6f5a6808698f288d$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $6f5a6808698f288d$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $6f5a6808698f288d$var$getMultilineInput(name, options) {\n const inputs = $6f5a6808698f288d$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $6f5a6808698f288d$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $6f5a6808698f288d$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $6f5a6808698f288d$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $6f5a6808698f288d$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $6f5a6808698f288d$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $60EQk.issueFileCommand(\"OUTPUT\", $60EQk.prepareKeyValueMessage(name, value));\n process.stdout.write($6f5a6808698f288d$var$os.EOL);\n $lffbf.issueCommand(\"set-output\", {\n name: name\n }, $h6Xqd.toCommandValue(value));\n}\nmodule.exports.setOutput = $6f5a6808698f288d$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $6f5a6808698f288d$var$setCommandEcho(enabled) {\n $lffbf.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $6f5a6808698f288d$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $6f5a6808698f288d$var$setFailed(message) {\n process.exitCode = $6f5a6808698f288d$var$ExitCode.Failure;\n $6f5a6808698f288d$var$error(message);\n}\nmodule.exports.setFailed = $6f5a6808698f288d$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $6f5a6808698f288d$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $6f5a6808698f288d$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $6f5a6808698f288d$var$debug(message) {\n $lffbf.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $6f5a6808698f288d$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $6f5a6808698f288d$var$error(message, properties = {}) {\n $lffbf.issueCommand(\"error\", $h6Xqd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $6f5a6808698f288d$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $6f5a6808698f288d$var$warning(message, properties = {}) {\n $lffbf.issueCommand(\"warning\", $h6Xqd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $6f5a6808698f288d$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $6f5a6808698f288d$var$notice(message, properties = {}) {\n $lffbf.issueCommand(\"notice\", $h6Xqd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $6f5a6808698f288d$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $6f5a6808698f288d$var$info(message) {\n process.stdout.write(message + $6f5a6808698f288d$var$os.EOL);\n}\nmodule.exports.info = $6f5a6808698f288d$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $6f5a6808698f288d$var$startGroup(name) {\n $lffbf.issue(\"group\", name);\n}\nmodule.exports.startGroup = $6f5a6808698f288d$var$startGroup;\n/**\n * End an output group.\n */ function $6f5a6808698f288d$var$endGroup() {\n $lffbf.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $6f5a6808698f288d$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $6f5a6808698f288d$var$group(name, fn) {\n return $6f5a6808698f288d$var$__awaiter(this, void 0, void 0, function*() {\n $6f5a6808698f288d$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $6f5a6808698f288d$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $6f5a6808698f288d$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $6f5a6808698f288d$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $60EQk.issueFileCommand(\"STATE\", $60EQk.prepareKeyValueMessage(name, value));\n $lffbf.issueCommand(\"save-state\", {\n name: name\n }, $h6Xqd.toCommandValue(value));\n}\nmodule.exports.saveState = $6f5a6808698f288d$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $6f5a6808698f288d$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $6f5a6808698f288d$var$getState;\nfunction $6f5a6808698f288d$var$getIDToken(aud) {\n return $6f5a6808698f288d$var$__awaiter(this, void 0, void 0, function*() {\n return yield $cxnRr.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $6f5a6808698f288d$var$getIDToken;\n\nvar $kPBPC = parcelRequire(\"kPBPC\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $kPBPC.summary;\n }\n});\n\nvar $kPBPC = parcelRequire(\"kPBPC\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $kPBPC.markdownSummary;\n }\n});\n\nvar $fv8Nn = parcelRequire(\"fv8Nn\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $fv8Nn.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $fv8Nn.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $fv8Nn.toPlatformPath;\n }\n});\n\n});\nparcelRegister(\"lffbf\", function(module, exports) {\n\"use strict\";\nvar $f776c62fb975da92$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $f776c62fb975da92$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $f776c62fb975da92$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $f776c62fb975da92$var$__createBinding(result, mod, k);\n }\n $f776c62fb975da92$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $f776c62fb975da92$var$os = $f776c62fb975da92$var$__importStar($d7DIX$os);\n\nvar $h6Xqd = parcelRequire(\"h6Xqd\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $f776c62fb975da92$var$issueCommand(command, properties, message) {\n const cmd = new $f776c62fb975da92$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $f776c62fb975da92$var$os.EOL);\n}\nmodule.exports.issueCommand = $f776c62fb975da92$var$issueCommand;\nfunction $f776c62fb975da92$var$issue(name, message = \"\") {\n $f776c62fb975da92$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $f776c62fb975da92$var$issue;\nconst $f776c62fb975da92$var$CMD_STRING = \"::\";\nclass $f776c62fb975da92$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $f776c62fb975da92$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$f776c62fb975da92$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$f776c62fb975da92$var$CMD_STRING}${$f776c62fb975da92$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $f776c62fb975da92$var$escapeData(s) {\n return $h6Xqd.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $f776c62fb975da92$var$escapeProperty(s) {\n return $h6Xqd.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRegister(\"h6Xqd\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $c75117269718ceeb$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $c75117269718ceeb$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $c75117269718ceeb$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $c75117269718ceeb$var$toCommandProperties;\n\n});\n\n\nparcelRegister(\"60EQk\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $46026cc01e4b16be$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $46026cc01e4b16be$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $46026cc01e4b16be$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $46026cc01e4b16be$var$__createBinding(result, mod, k);\n }\n $46026cc01e4b16be$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $46026cc01e4b16be$var$fs = $46026cc01e4b16be$var$__importStar($d7DIX$fs);\n\nconst $46026cc01e4b16be$var$os = $46026cc01e4b16be$var$__importStar($d7DIX$os);\n\nvar $4dndm = parcelRequire(\"4dndm\");\n\nvar $h6Xqd = parcelRequire(\"h6Xqd\");\nfunction $46026cc01e4b16be$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$46026cc01e4b16be$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $46026cc01e4b16be$var$fs.appendFileSync(filePath, `${$h6Xqd.toCommandValue(message)}${$46026cc01e4b16be$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $46026cc01e4b16be$var$issueFileCommand;\nfunction $46026cc01e4b16be$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$4dndm.default()}`;\n const convertedValue = $h6Xqd.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$46026cc01e4b16be$var$os.EOL}${convertedValue}${$46026cc01e4b16be$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $46026cc01e4b16be$var$prepareKeyValueMessage;\n\n});\nparcelRegister(\"4dndm\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $311a623cba3d6708$export$2e2bcd8739ae039);\n\nvar $5SVBN = parcelRequire(\"5SVBN\");\n\nvar $38Etc = parcelRequire(\"38Etc\");\nfunction $311a623cba3d6708$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $5SVBN.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $38Etc.default)(rnds);\n}\nvar $311a623cba3d6708$export$2e2bcd8739ae039 = $311a623cba3d6708$var$v4;\n\n});\nparcelRegister(\"5SVBN\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $448eaec0ed646784$export$2e2bcd8739ae039);\n\nconst $448eaec0ed646784$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $448eaec0ed646784$var$poolPtr = $448eaec0ed646784$var$rnds8Pool.length;\nfunction $448eaec0ed646784$export$2e2bcd8739ae039() {\n if ($448eaec0ed646784$var$poolPtr > $448eaec0ed646784$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($d7DIX$crypto))).randomFillSync($448eaec0ed646784$var$rnds8Pool);\n $448eaec0ed646784$var$poolPtr = 0;\n }\n return $448eaec0ed646784$var$rnds8Pool.slice($448eaec0ed646784$var$poolPtr, $448eaec0ed646784$var$poolPtr += 16);\n}\n\n});\n\nparcelRegister(\"38Etc\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $249182ed347396a3$export$2e2bcd8739ae039);\n\nvar $f9HAa = parcelRequire(\"f9HAa\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $249182ed347396a3$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$249182ed347396a3$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $249182ed347396a3$var$stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = ($249182ed347396a3$var$byteToHex[arr[offset + 0]] + $249182ed347396a3$var$byteToHex[arr[offset + 1]] + $249182ed347396a3$var$byteToHex[arr[offset + 2]] + $249182ed347396a3$var$byteToHex[arr[offset + 3]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 4]] + $249182ed347396a3$var$byteToHex[arr[offset + 5]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 6]] + $249182ed347396a3$var$byteToHex[arr[offset + 7]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 8]] + $249182ed347396a3$var$byteToHex[arr[offset + 9]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 10]] + $249182ed347396a3$var$byteToHex[arr[offset + 11]] + $249182ed347396a3$var$byteToHex[arr[offset + 12]] + $249182ed347396a3$var$byteToHex[arr[offset + 13]] + $249182ed347396a3$var$byteToHex[arr[offset + 14]] + $249182ed347396a3$var$byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!(0, $f9HAa.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $249182ed347396a3$export$2e2bcd8739ae039 = $249182ed347396a3$var$stringify;\n\n});\nparcelRegister(\"f9HAa\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b08980d5911a1fe8$export$2e2bcd8739ae039);\n\nvar $bpRYF = parcelRequire(\"bpRYF\");\nfunction $b08980d5911a1fe8$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $bpRYF.default).test(uuid);\n}\nvar $b08980d5911a1fe8$export$2e2bcd8739ae039 = $b08980d5911a1fe8$var$validate;\n\n});\nparcelRegister(\"bpRYF\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $0225185c16cb00a7$export$2e2bcd8739ae039);\nvar $0225185c16cb00a7$export$2e2bcd8739ae039 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\n\n});\n\n\n\n\n\nparcelRegister(\"cxnRr\", function(module, exports) {\n\"use strict\";\nvar $920b1366e053b5c7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $lpeQd = parcelRequire(\"lpeQd\");\n\nvar $8pFBD = parcelRequire(\"8pFBD\");\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\nclass $920b1366e053b5c7$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $lpeQd.HttpClient(\"actions/oidc-client\", [\n new $8pFBD.BearerCredentialHandler($920b1366e053b5c7$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $920b1366e053b5c7$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $920b1366e053b5c7$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $920b1366e053b5c7$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $920b1366e053b5c7$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $9yJgU.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $920b1366e053b5c7$var$OidcClient.getCall(id_token_url);\n $9yJgU.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $920b1366e053b5c7$var$OidcClient;\n\n});\nparcelRegister(\"lpeQd\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $f95771efec57d8f7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {\n enumerable: true,\n get: function() {\n return m[k];\n }\n };\n Object.defineProperty(o, k2, desc);\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $f95771efec57d8f7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $f95771efec57d8f7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) $f95771efec57d8f7$var$__createBinding(result, mod, k);\n }\n $f95771efec57d8f7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $f95771efec57d8f7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $f95771efec57d8f7$var$http = $f95771efec57d8f7$var$__importStar($d7DIX$http);\n\nconst $f95771efec57d8f7$var$https = $f95771efec57d8f7$var$__importStar($d7DIX$https);\n\nconst $f95771efec57d8f7$var$pm = $f95771efec57d8f7$var$__importStar((parcelRequire(\"bBH88\")));\n\nconst $f95771efec57d8f7$var$tunnel = $f95771efec57d8f7$var$__importStar((parcelRequire(\"eYDoL\")));\nvar $f95771efec57d8f7$var$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})($f95771efec57d8f7$var$HttpCodes || (module.exports.HttpCodes = $f95771efec57d8f7$var$HttpCodes = {}));\nvar $f95771efec57d8f7$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($f95771efec57d8f7$var$Headers || (module.exports.Headers = $f95771efec57d8f7$var$Headers = {}));\nvar $f95771efec57d8f7$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($f95771efec57d8f7$var$MediaTypes || (module.exports.MediaTypes = $f95771efec57d8f7$var$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 */ function $f95771efec57d8f7$var$getProxyUrl(serverUrl) {\n const proxyUrl = $f95771efec57d8f7$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $f95771efec57d8f7$var$getProxyUrl;\nconst $f95771efec57d8f7$var$HttpRedirectCodes = [\n $f95771efec57d8f7$var$HttpCodes.MovedPermanently,\n $f95771efec57d8f7$var$HttpCodes.ResourceMoved,\n $f95771efec57d8f7$var$HttpCodes.SeeOther,\n $f95771efec57d8f7$var$HttpCodes.TemporaryRedirect,\n $f95771efec57d8f7$var$HttpCodes.PermanentRedirect\n];\nconst $f95771efec57d8f7$var$HttpResponseRetryCodes = [\n $f95771efec57d8f7$var$HttpCodes.BadGateway,\n $f95771efec57d8f7$var$HttpCodes.ServiceUnavailable,\n $f95771efec57d8f7$var$HttpCodes.GatewayTimeout\n];\nconst $f95771efec57d8f7$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $f95771efec57d8f7$var$ExponentialBackoffCeiling = 10;\nconst $f95771efec57d8f7$var$ExponentialBackoffTimeSlice = 5;\nclass $f95771efec57d8f7$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $f95771efec57d8f7$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $f95771efec57d8f7$var$HttpClientError;\nclass $f95771efec57d8f7$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n readBodyBuffer() {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n const chunks = [];\n this.message.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n });\n this.message.on(\"end\", ()=>{\n resolve(Buffer.concat(chunks));\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $f95771efec57d8f7$var$HttpClientResponse;\nfunction $f95771efec57d8f7$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $f95771efec57d8f7$var$isHttps;\n\nclass $f95771efec57d8f7$var$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) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\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 */ getJson(requestUrl, additionalHeaders = {}) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$f95771efec57d8f7$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $f95771efec57d8f7$var$Headers.Accept, $f95771efec57d8f7$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$f95771efec57d8f7$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $f95771efec57d8f7$var$Headers.Accept, $f95771efec57d8f7$var$MediaTypes.ApplicationJson);\n additionalHeaders[$f95771efec57d8f7$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $f95771efec57d8f7$var$Headers.ContentType, $f95771efec57d8f7$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$f95771efec57d8f7$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $f95771efec57d8f7$var$Headers.Accept, $f95771efec57d8f7$var$MediaTypes.ApplicationJson);\n additionalHeaders[$f95771efec57d8f7$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $f95771efec57d8f7$var$Headers.ContentType, $f95771efec57d8f7$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$f95771efec57d8f7$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $f95771efec57d8f7$var$Headers.Accept, $f95771efec57d8f7$var$MediaTypes.ApplicationJson);\n additionalHeaders[$f95771efec57d8f7$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $f95771efec57d8f7$var$Headers.ContentType, $f95771efec57d8f7$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\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 */ request(verb, requestUrl, data, headers) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const 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 const maxTries = this._allowRetries && $f95771efec57d8f7$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $f95771efec57d8f7$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // 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 let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $f95771efec57d8f7$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) 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 // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$f95771efec57d8f7$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $f95771efec57d8f7$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\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 || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\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 */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n getAgentDispatcher(serverUrl) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n const parsedUrl = new URL(serverUrl);\n const proxyUrl = $f95771efec57d8f7$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (!useProxy) return undefined;\n return yield this._getProxyAgentDispatcher(parsedUrl, proxyUrl);\n });\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $f95771efec57d8f7$var$https : $f95771efec57d8f7$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $f95771efec57d8f7$var$lowercaseKeys(this.requestOptions.headers), $f95771efec57d8f7$var$lowercaseKeys(headers || {}));\n return $f95771efec57d8f7$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $f95771efec57d8f7$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $f95771efec57d8f7$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (!useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $f95771efec57d8f7$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (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) tunnelAgent = overHttps ? $f95771efec57d8f7$var$tunnel.httpsOverHttps : $f95771efec57d8f7$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $f95771efec57d8f7$var$tunnel.httpOverHttps : $f95771efec57d8f7$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if tunneling agent isn't assigned create a new agent\n if (!agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $f95771efec57d8f7$var$https.Agent(options) : new $f95771efec57d8f7$var$http.Agent(options);\n this._agent = agent;\n }\n if (usingSsl && this._ignoreSslError) // 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 return agent;\n }\n _getProxyAgentDispatcher(parsedUrl, proxyUrl) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n let proxyAgent;\n if (this._keepAlive) proxyAgent = this._proxyAgentDispatcher;\n // if agent is already assigned use that agent.\n if (proxyAgent) return proxyAgent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n // Lazy load ProxyAgent to avoid bundling all the undici\n const ProxyAgent = yield Promise.resolve().then(function() {\n return (parcelRequire(\"gqDK7\"));\n }).then((res)=>$f95771efec57d8f7$var$__importStar(res));\n proxyAgent = new ProxyAgent(Object.assign({\n uri: proxyUrl.href,\n pipelining: !this._keepAlive ? 0 : 1\n }, (proxyUrl.username || proxyUrl.password) && {\n token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString(\"base64\")}`\n }));\n this._proxyAgentDispatcher = proxyAgent;\n if (usingSsl && this._ignoreSslError) // 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 proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, {\n rejectUnauthorized: false\n });\n return proxyAgent;\n });\n }\n _performExponentialBackoff(retryNumber) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($f95771efec57d8f7$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $f95771efec57d8f7$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$f95771efec57d8f7$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $f95771efec57d8f7$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\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) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $f95771efec57d8f7$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $f95771efec57d8f7$var$HttpClient;\nconst $f95771efec57d8f7$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRegister(\"bBH88\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $87349b2b1a337063$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($87349b2b1a337063$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) try {\n return new $87349b2b1a337063$var$DecodedURL(proxyVar);\n } catch (_a) {\n if (!proxyVar.startsWith(\"http://\") && !proxyVar.startsWith(\"https://\")) return new $87349b2b1a337063$var$DecodedURL(`http://${proxyVar}`);\n }\n else return undefined;\n}\nmodule.exports.getProxyUrl = $87349b2b1a337063$var$getProxyUrl;\nfunction $87349b2b1a337063$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($87349b2b1a337063$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $87349b2b1a337063$var$checkBypass;\nfunction $87349b2b1a337063$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\nclass $87349b2b1a337063$var$DecodedURL extends URL {\n constructor(url, base){\n super(url, base);\n this._decodedUsername = decodeURIComponent(super.username);\n this._decodedPassword = decodeURIComponent(super.password);\n }\n get username() {\n return this._decodedUsername;\n }\n get password() {\n return this._decodedPassword;\n }\n}\n\n});\n\nparcelRegister(\"eYDoL\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"gBbBa\"));\n\n});\nparcelRegister(\"gBbBa\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $c159194268ce8bad$export$25cbd437c61a3835, (v) => $c159194268ce8bad$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $c159194268ce8bad$export$c06e3df7111bae43, (v) => $c159194268ce8bad$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $c159194268ce8bad$export$5d50e36ef656139f, (v) => $c159194268ce8bad$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $c159194268ce8bad$export$212d6605025321cc, (v) => $c159194268ce8bad$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $c159194268ce8bad$export$1c9f709888824e05, (v) => $c159194268ce8bad$export$1c9f709888824e05 = v);\nvar $c159194268ce8bad$export$25cbd437c61a3835;\nvar $c159194268ce8bad$export$c06e3df7111bae43;\nvar $c159194268ce8bad$export$5d50e36ef656139f;\nvar $c159194268ce8bad$export$212d6605025321cc;\nvar $c159194268ce8bad$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$c159194268ce8bad$export$25cbd437c61a3835 = $c159194268ce8bad$var$httpOverHttp;\n$c159194268ce8bad$export$c06e3df7111bae43 = $c159194268ce8bad$var$httpsOverHttp;\n$c159194268ce8bad$export$5d50e36ef656139f = $c159194268ce8bad$var$httpOverHttps;\n$c159194268ce8bad$export$212d6605025321cc = $c159194268ce8bad$var$httpsOverHttps;\nfunction $c159194268ce8bad$var$httpOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n agent.createSocket = $c159194268ce8bad$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n agent.createSocket = $c159194268ce8bad$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $c159194268ce8bad$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $d7DIX$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $c159194268ce8bad$var$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}\n$d7DIX$util.inherits($c159194268ce8bad$var$TunnelingAgent, $d7DIX$events.EventEmitter);\n$c159194268ce8bad$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $c159194268ce8bad$var$mergeOptions({\n request: req\n }, self.options, $c159194268ce8bad$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$c159194268ce8bad$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $c159194268ce8bad$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $c159194268ce8bad$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $c159194268ce8bad$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $c159194268ce8bad$var$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 $c159194268ce8bad$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $c159194268ce8bad$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$c159194268ce8bad$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $c159194268ce8bad$var$createSecureSocket(options, cb) {\n var self = this;\n $c159194268ce8bad$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $c159194268ce8bad$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $d7DIX$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $c159194268ce8bad$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $c159194268ce8bad$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $c159194268ce8bad$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $c159194268ce8bad$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $c159194268ce8bad$var$debug = function() {};\n$c159194268ce8bad$export$1c9f709888824e05 = $c159194268ce8bad$var$debug; // for test\n\n});\n\n\nparcelRegister(\"gqDK7\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./proxy-agent.74b39078.js\")).then(()=>parcelRequire(\"3z4gn\"));\n\n});\n\n\nparcelRegister(\"8pFBD\", function(module, exports) {\n\"use strict\";\nvar $6200ee9ea594e096$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $6200ee9ea594e096$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $6200ee9ea594e096$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $6200ee9ea594e096$var$BasicCredentialHandler;\nclass $6200ee9ea594e096$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $6200ee9ea594e096$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $6200ee9ea594e096$var$BearerCredentialHandler;\nclass $6200ee9ea594e096$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $6200ee9ea594e096$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $6200ee9ea594e096$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRegister(\"kPBPC\", function(module, exports) {\n\"use strict\";\nvar $f2a5ea9dfaccec65$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $f2a5ea9dfaccec65$var$access, appendFile: $f2a5ea9dfaccec65$var$appendFile, writeFile: $f2a5ea9dfaccec65$var$writeFile } = $d7DIX$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $f2a5ea9dfaccec65$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $f2a5ea9dfaccec65$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $f2a5ea9dfaccec65$var$access(pathFromEnv, $d7DIX$fs.constants.R_OK | $d7DIX$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $f2a5ea9dfaccec65$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $f2a5ea9dfaccec65$var$writeFile : $f2a5ea9dfaccec65$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $f2a5ea9dfaccec65$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($d7DIX$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $f2a5ea9dfaccec65$var$_summary = new $f2a5ea9dfaccec65$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $f2a5ea9dfaccec65$var$_summary;\nmodule.exports.summary = $f2a5ea9dfaccec65$var$_summary;\n\n});\n\nparcelRegister(\"fv8Nn\", function(module, exports) {\n\"use strict\";\nvar $b49092d2eccbb1b8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $b49092d2eccbb1b8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $b49092d2eccbb1b8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $b49092d2eccbb1b8$var$__createBinding(result, mod, k);\n }\n $b49092d2eccbb1b8$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $b49092d2eccbb1b8$var$path = $b49092d2eccbb1b8$var$__importStar($d7DIX$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $b49092d2eccbb1b8$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $b49092d2eccbb1b8$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $b49092d2eccbb1b8$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $b49092d2eccbb1b8$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $b49092d2eccbb1b8$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $b49092d2eccbb1b8$var$path.sep);\n}\nmodule.exports.toPlatformPath = $b49092d2eccbb1b8$var$toPlatformPath;\n\n});\n\n\n\nparcelRegister(\"a3PNV\", function(module, exports) {\nmodule.exports = $75325e6c99dba15d$var$isexe;\n$75325e6c99dba15d$var$isexe.sync = $75325e6c99dba15d$var$sync;\n\nfunction $75325e6c99dba15d$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $75325e6c99dba15d$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $75325e6c99dba15d$var$checkPathExt(path, options);\n}\nfunction $75325e6c99dba15d$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $75325e6c99dba15d$var$checkStat(stat, path, options));\n });\n}\nfunction $75325e6c99dba15d$var$sync(path, options) {\n return $75325e6c99dba15d$var$checkStat($d7DIX$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRegister(\"7gw6J\", function(module, exports) {\nmodule.exports = $54a2eef118d51a70$var$isexe;\n$54a2eef118d51a70$var$isexe.sync = $54a2eef118d51a70$var$sync;\n\nfunction $54a2eef118d51a70$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $54a2eef118d51a70$var$checkStat(stat, options));\n });\n}\nfunction $54a2eef118d51a70$var$sync(path, options) {\n return $54a2eef118d51a70$var$checkStat($d7DIX$fs.statSync(path), options);\n}\nfunction $54a2eef118d51a70$var$checkStat(stat, options) {\n return stat.isFile() && $54a2eef118d51a70$var$checkMode(stat, options);\n}\nfunction $54a2eef118d51a70$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRegister(\"1YMV0\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRegister(\"4oHc1\", function(module, exports) {\n\n$parcel$export(module.exports, \"chmod\", () => $5873751dcaaa8049$export$fe07cae62e774a05);\n$parcel$export(module.exports, \"lstat\", () => $5873751dcaaa8049$export$c29f07eab13966a4);\n$parcel$export(module.exports, \"mkdir\", () => $5873751dcaaa8049$export$d9fa9670717a639d);\n$parcel$export(module.exports, \"open\", () => $5873751dcaaa8049$export$3ce6949f20cea765);\n$parcel$export(module.exports, \"readdir\", () => $5873751dcaaa8049$export$b1e07c405f785337);\n$parcel$export(module.exports, \"readFile\", () => $5873751dcaaa8049$export$72c04af63de9061a);\n$parcel$export(module.exports, \"readlink\", () => $5873751dcaaa8049$export$3d3ca76659ee9f39);\n$parcel$export(module.exports, \"stat\", () => $5873751dcaaa8049$export$f82f04a91eb6144a);\n$parcel$export(module.exports, \"symlink\", () => $5873751dcaaa8049$export$ed42c6f39f07f97);\n$parcel$export(module.exports, \"utimes\", () => $5873751dcaaa8049$export$d85d919a687a608f);\n$parcel$export(module.exports, \"writeFile\", () => $5873751dcaaa8049$export$552bfb764b5cd2b4);\n$parcel$export(module.exports, \"rm\", () => $5873751dcaaa8049$export$a1f77f18af3aebd5);\n\n\nvar $5873751dcaaa8049$export$2e2bcd8739ae039 = $d7DIX$fs.promises;\nconst { access: $5873751dcaaa8049$export$9bb0e144ba4929ca, appendFile: $5873751dcaaa8049$export$31f54b44f813a103, chmod: $5873751dcaaa8049$export$fe07cae62e774a05, chown: $5873751dcaaa8049$export$86560bc0b866a003, copyFile: $5873751dcaaa8049$export$c763efb2c06e223f, lchmod: $5873751dcaaa8049$export$4d4374c7ea08c49f, lchown: $5873751dcaaa8049$export$b34a65c440b523a2, link: $5873751dcaaa8049$export$9c30223ca0a664fb, lstat: $5873751dcaaa8049$export$c29f07eab13966a4, mkdir: $5873751dcaaa8049$export$d9fa9670717a639d, mkdtemp: $5873751dcaaa8049$export$bb440dc863a3b46a, open: $5873751dcaaa8049$export$3ce6949f20cea765, readdir: $5873751dcaaa8049$export$b1e07c405f785337, readFile: $5873751dcaaa8049$export$72c04af63de9061a, readlink: $5873751dcaaa8049$export$3d3ca76659ee9f39, realpath: $5873751dcaaa8049$export$9f2c45015a422c45, rename: $5873751dcaaa8049$export$7ac989ec0c9c279, rmdir: $5873751dcaaa8049$export$3f660f6332b9a01d, stat: $5873751dcaaa8049$export$f82f04a91eb6144a, symlink: $5873751dcaaa8049$export$ed42c6f39f07f97, truncate: $5873751dcaaa8049$export$6a506b36fdea397d, unlink: $5873751dcaaa8049$export$5e0808041271ce04, utimes: $5873751dcaaa8049$export$d85d919a687a608f, writeFile: $5873751dcaaa8049$export$552bfb764b5cd2b4 } = $d7DIX$fs.promises;\nconst $5873751dcaaa8049$export$a1f77f18af3aebd5 = \"rm\" in $d7DIX$fs.promises ? $d7DIX$fs.promises.rm : (0, $d7DIX$util.promisify)($d7DIX$fs.unlink);\n\n});\n\nparcelRegister(\"7Ubzm\", function(module, exports) {\n\"use strict\";\n// eslint-disable-next-line no-empty-function\nmodule.exports = function() {};\n\n});\n\nparcelRegister(\"8tETt\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var sign = Math.sign;\n if (typeof sign !== \"function\") return false;\n return sign(10) === 1 && sign(-20) === -1;\n};\n\n});\n\nparcelRegister(\"hGADy\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n value = Number(value);\n if (isNaN(value) || value === 0) return value;\n return value > 0 ? 1 : -1;\n};\n\n});\n\nparcelRegister(\"9KLFQ\", function(module, exports) {\n// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\"use strict\";\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\n\nvar $gGM7W = parcelRequire(\"gGM7W\");\nvar $719d63fadfd73e41$var$bind = Function.prototype.bind, $719d63fadfd73e41$var$call = Function.prototype.call, $719d63fadfd73e41$var$keys = Object.keys, $719d63fadfd73e41$var$objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;\nmodule.exports = function(method, defVal) {\n return function(obj, cb /*, thisArg, compareFn*/ ) {\n var list, thisArg = arguments[2], compareFn = arguments[3];\n obj = Object($gGM7W(obj));\n $dxkoV(cb);\n list = $719d63fadfd73e41$var$keys(obj);\n if (compareFn) list.sort(typeof compareFn === \"function\" ? $719d63fadfd73e41$var$bind.call(compareFn, obj) : undefined);\n if (typeof method !== \"function\") method = list[method];\n return $719d63fadfd73e41$var$call.call(method, list, function(key, index) {\n if (!$719d63fadfd73e41$var$objPropertyIsEnumerable.call(obj, key)) return defVal;\n return $719d63fadfd73e41$var$call.call(cb, thisArg, obj[key], key, obj, index);\n });\n };\n};\n\n});\nparcelRegister(\"dxkoV\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(fn) {\n if (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n return fn;\n};\n\n});\n\nparcelRegister(\"gGM7W\", function(module, exports) {\n\"use strict\";\n\nvar $8uHBt = parcelRequire(\"8uHBt\");\nmodule.exports = function(value) {\n if (!$8uHBt(value)) throw new TypeError(\"Cannot use null or undefined\");\n return value;\n};\n\n});\nparcelRegister(\"8uHBt\", function(module, exports) {\n\"use strict\";\n\nvar $62f2f2cbdb0d9b5f$var$_undefined = (parcelRequire(\"7Ubzm\"))(); // Support ES3 engines\nmodule.exports = function(val) {\n return val !== $62f2f2cbdb0d9b5f$var$_undefined && val !== null;\n};\n\n});\n\n\n\nparcelRegister(\"5twQR\", function(module, exports) {\n\"use strict\";\n\n});\n\nparcelRegister(\"63IW4\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var assign = Object.assign, obj;\n if (typeof assign !== \"function\") return false;\n obj = {\n foo: \"raz\"\n };\n assign(obj, {\n bar: \"dwa\"\n }, {\n trzy: \"trzy\"\n });\n return obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};\n\n});\n\nparcelRegister(\"11hhf\", function(module, exports) {\n\"use strict\";\n\nvar $4bgzK = parcelRequire(\"4bgzK\");\n\nvar $gGM7W = parcelRequire(\"gGM7W\");\nvar $0be34958545b6834$var$max = Math.max;\nmodule.exports = function(dest, src /*, …srcn*/ ) {\n var error, i, length = $0be34958545b6834$var$max(arguments.length, 2), assign;\n dest = Object($gGM7W(dest));\n assign = function(key) {\n try {\n dest[key] = src[key];\n } catch (e) {\n if (!error) error = e;\n }\n };\n for(i = 1; i < length; ++i){\n src = arguments[i];\n $4bgzK(src).forEach(assign);\n }\n if (error !== undefined) throw error;\n return dest;\n};\n\n});\nparcelRegister(\"4bgzK\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"h6Tco\"))() ? Object.keys : (parcelRequire(\"jSHqR\"));\n\n});\nparcelRegister(\"h6Tco\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n try {\n Object.keys(\"primitive\");\n return true;\n } catch (e) {\n return false;\n }\n};\n\n});\n\nparcelRegister(\"jSHqR\", function(module, exports) {\n\"use strict\";\n\nvar $8uHBt = parcelRequire(\"8uHBt\");\nvar $e794c02ec5fb8b2f$var$keys = Object.keys;\nmodule.exports = function(object) {\n return $e794c02ec5fb8b2f$var$keys($8uHBt(object) ? Object(object) : object);\n};\n\n});\n\n\n\nparcelRegister(\"4P0KV\", function(module, exports) {\n\"use strict\";\n\nvar $gGM7W = parcelRequire(\"gGM7W\");\nvar $382c82ee6accafac$var$defineProperty = Object.defineProperty, $382c82ee6accafac$var$getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, $382c82ee6accafac$var$getOwnPropertyNames = Object.getOwnPropertyNames, $382c82ee6accafac$var$getOwnPropertySymbols = Object.getOwnPropertySymbols;\nmodule.exports = function(target, source) {\n var error, sourceObject = Object($gGM7W(source));\n target = Object($gGM7W(target));\n $382c82ee6accafac$var$getOwnPropertyNames(sourceObject).forEach(function(name) {\n try {\n $382c82ee6accafac$var$defineProperty(target, name, $382c82ee6accafac$var$getOwnPropertyDescriptor(source, name));\n } catch (e) {\n error = e;\n }\n });\n if (typeof $382c82ee6accafac$var$getOwnPropertySymbols === \"function\") $382c82ee6accafac$var$getOwnPropertySymbols(sourceObject).forEach(function(symbol) {\n try {\n $382c82ee6accafac$var$defineProperty(target, symbol, $382c82ee6accafac$var$getOwnPropertyDescriptor(source, symbol));\n } catch (e) {\n error = e;\n }\n });\n if (error !== undefined) throw error;\n return target;\n};\n\n});\n\nparcelRegister(\"lQbJp\", function(module, exports) {\n\"use strict\";\nvar $fe678de402197035$var$str = \"razdwatrzy\";\nmodule.exports = function() {\n if (typeof $fe678de402197035$var$str.contains !== \"function\") return false;\n return $fe678de402197035$var$str.contains(\"dwa\") === true && $fe678de402197035$var$str.contains(\"foo\") === false;\n};\n\n});\n\nparcelRegister(\"ffXEK\", function(module, exports) {\n\"use strict\";\nvar $b1b6883468080639$var$indexOf = String.prototype.indexOf;\nmodule.exports = function(searchString /*, position*/ ) {\n return $b1b6883468080639$var$indexOf.call(this, searchString, arguments[1]) > -1;\n};\n\n});\n\nparcelRegister(\"4SFhS\", function(module, exports) {\n\"use strict\";\n\nvar $eXmen = parcelRequire(\"eXmen\");\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\nvar apply = Function.prototype.apply, call = Function.prototype.call, create = Object.create, defineProperty = Object.defineProperty, defineProperties = Object.defineProperties, hasOwnProperty = Object.prototype.hasOwnProperty, descriptor = {\n configurable: true,\n enumerable: false,\n writable: true\n}, on, once, off, emit, methods, descriptors, base;\non = function(type, listener) {\n var data;\n $dxkoV(listener);\n if (!hasOwnProperty.call(this, \"__ee__\")) {\n data = descriptor.value = create(null);\n defineProperty(this, \"__ee__\", descriptor);\n descriptor.value = null;\n } else data = this.__ee__;\n if (!data[type]) data[type] = listener;\n else if (typeof data[type] === \"object\") data[type].push(listener);\n else data[type] = [\n data[type],\n listener\n ];\n return this;\n};\nonce = function(type, listener) {\n var once, self;\n $dxkoV(listener);\n self = this;\n on.call(this, type, once = function() {\n off.call(self, type, once);\n apply.call(listener, this, arguments);\n });\n once.__eeOnceListener__ = listener;\n return this;\n};\noff = function(type, listener) {\n var data, listeners, candidate, i;\n $dxkoV(listener);\n if (!hasOwnProperty.call(this, \"__ee__\")) return this;\n data = this.__ee__;\n if (!data[type]) return this;\n listeners = data[type];\n if (typeof listeners === \"object\") {\n for(i = 0; candidate = listeners[i]; ++i)if (candidate === listener || candidate.__eeOnceListener__ === listener) {\n if (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n else listeners.splice(i, 1);\n }\n } else if (listeners === listener || listeners.__eeOnceListener__ === listener) delete data[type];\n return this;\n};\nemit = function(type) {\n var i, l, listener, listeners, args;\n if (!hasOwnProperty.call(this, \"__ee__\")) return;\n listeners = this.__ee__[type];\n if (!listeners) return;\n if (typeof listeners === \"object\") {\n l = arguments.length;\n args = new Array(l - 1);\n for(i = 1; i < l; ++i)args[i - 1] = arguments[i];\n listeners = listeners.slice();\n for(i = 0; listener = listeners[i]; ++i)apply.call(listener, this, args);\n } else switch(arguments.length){\n case 1:\n call.call(listeners, this);\n break;\n case 2:\n call.call(listeners, this, arguments[1]);\n break;\n case 3:\n call.call(listeners, this, arguments[1], arguments[2]);\n break;\n default:\n l = arguments.length;\n args = new Array(l - 1);\n for(i = 1; i < l; ++i)args[i - 1] = arguments[i];\n apply.call(listeners, this, args);\n }\n};\nmethods = {\n on: on,\n once: once,\n off: off,\n emit: emit\n};\ndescriptors = {\n on: $eXmen(on),\n once: $eXmen(once),\n off: $eXmen(off),\n emit: $eXmen(emit)\n};\nbase = defineProperties({}, descriptors);\nmodule.exports = exports = function(o) {\n return o == null ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n\n});\nparcelRegister(\"eXmen\", function(module, exports) {\n\"use strict\";\n\nvar $eAnMX = parcelRequire(\"eAnMX\");\n\nvar $bDk1X = parcelRequire(\"bDk1X\");\n\nvar $6XGJc = parcelRequire(\"6XGJc\");\n\nvar $3a7Qq = parcelRequire(\"3a7Qq\");\n\nvar $iiFLO = parcelRequire(\"iiFLO\");\nvar $ae37d1f51244eedf$var$d = module.exports = function(dscr, value /*, options*/ ) {\n var c, e, w, options, desc;\n if (arguments.length < 2 || typeof dscr !== \"string\") {\n options = value;\n value = dscr;\n dscr = null;\n } else options = arguments[2];\n if ($eAnMX(dscr)) {\n c = $iiFLO.call(dscr, \"c\");\n e = $iiFLO.call(dscr, \"e\");\n w = $iiFLO.call(dscr, \"w\");\n } else {\n c = w = true;\n e = false;\n }\n desc = {\n value: value,\n configurable: c,\n enumerable: e,\n writable: w\n };\n return !options ? desc : $6XGJc($3a7Qq(options), desc);\n};\n$ae37d1f51244eedf$var$d.gs = function(dscr, get, set /*, options*/ ) {\n var c, e, options, desc;\n if (typeof dscr !== \"string\") {\n options = set;\n set = get;\n get = dscr;\n dscr = null;\n } else options = arguments[3];\n if (!$eAnMX(get)) get = undefined;\n else if (!$bDk1X(get)) {\n options = get;\n get = set = undefined;\n } else if (!$eAnMX(set)) set = undefined;\n else if (!$bDk1X(set)) {\n options = set;\n set = undefined;\n }\n if ($eAnMX(dscr)) {\n c = $iiFLO.call(dscr, \"c\");\n e = $iiFLO.call(dscr, \"e\");\n } else {\n c = true;\n e = false;\n }\n desc = {\n get: get,\n set: set,\n configurable: c,\n enumerable: e\n };\n return !options ? desc : $6XGJc($3a7Qq(options), desc);\n};\n\n});\nparcelRegister(\"eAnMX\", function(module, exports) {\n\"use strict\";\n// ES3 safe\nvar $a9e6e16d38aa38c1$var$_undefined = void 0;\nmodule.exports = function(value) {\n return value !== $a9e6e16d38aa38c1$var$_undefined && value !== null;\n};\n\n});\n\nparcelRegister(\"bDk1X\", function(module, exports) {\n\"use strict\";\n\nvar $lrn5l = parcelRequire(\"lrn5l\");\nvar $8782dfe866c0c94c$var$classRe = /^\\s*class[\\s{/}]/, $8782dfe866c0c94c$var$functionToString = Function.prototype.toString;\nmodule.exports = function(value) {\n if (!$lrn5l(value)) return false;\n if ($8782dfe866c0c94c$var$classRe.test($8782dfe866c0c94c$var$functionToString.call(value))) return false;\n return true;\n};\n\n});\nparcelRegister(\"lrn5l\", function(module, exports) {\n\"use strict\";\n\nvar $89yT1 = parcelRequire(\"89yT1\");\nmodule.exports = function(value) {\n if (typeof value !== \"function\") return false;\n if (!hasOwnProperty.call(value, \"length\")) return false;\n try {\n if (typeof value.length !== \"number\") return false;\n if (typeof value.call !== \"function\") return false;\n if (typeof value.apply !== \"function\") return false;\n } catch (error) {\n return false;\n }\n return !$89yT1(value);\n};\n\n});\nparcelRegister(\"89yT1\", function(module, exports) {\n\"use strict\";\n\nvar $dZcwn = parcelRequire(\"dZcwn\");\nmodule.exports = function(value) {\n if (!$dZcwn(value)) return false;\n try {\n if (!value.constructor) return false;\n return value.constructor.prototype === value;\n } catch (error) {\n return false;\n }\n};\n\n});\nparcelRegister(\"dZcwn\", function(module, exports) {\n\"use strict\";\n\nvar $eAnMX = parcelRequire(\"eAnMX\");\n// prettier-ignore\nvar $a2eaaf55bcdf8041$var$possibleTypes = {\n \"object\": true,\n \"function\": true,\n \"undefined\": true\n};\nmodule.exports = function(value) {\n if (!$eAnMX(value)) return false;\n return hasOwnProperty.call($a2eaaf55bcdf8041$var$possibleTypes, typeof value);\n};\n\n});\n\n\n\n\nparcelRegister(\"6XGJc\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"63IW4\"))() ? Object.assign : (parcelRequire(\"11hhf\"));\n\n});\n\nparcelRegister(\"3a7Qq\", function(module, exports) {\n\"use strict\";\n\nvar $8uHBt = parcelRequire(\"8uHBt\");\nvar $24d8640b00fd3bac$var$forEach = Array.prototype.forEach, $24d8640b00fd3bac$var$create = Object.create;\nvar $24d8640b00fd3bac$var$process = function(src, obj) {\n var key;\n for(key in src)obj[key] = src[key];\n};\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function(opts1 /*, …options*/ ) {\n var result = $24d8640b00fd3bac$var$create(null);\n $24d8640b00fd3bac$var$forEach.call(arguments, function(options) {\n if (!$8uHBt(options)) return;\n $24d8640b00fd3bac$var$process(Object(options), result);\n });\n return result;\n};\n\n});\n\nparcelRegister(\"iiFLO\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"lQbJp\"))() ? String.prototype.contains : (parcelRequire(\"ffXEK\"));\n\n});\n\n\n\nparcelRegister(\"jgVAQ\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var from = Array.from, arr, result;\n if (typeof from !== \"function\") return false;\n arr = [\n \"raz\",\n \"dwa\"\n ];\n result = from(arr);\n return Boolean(result && result !== arr && result[1] === \"dwa\");\n};\n\n});\n\nparcelRegister(\"hQqTa\", function(module, exports) {\n\"use strict\";\n\nvar $hXtQe = parcelRequire(\"hXtQe\");\nvar $cfdc2690ddfa2224$require$iteratorSymbol = $hXtQe.iterator;\n\nvar $iAtFO = parcelRequire(\"iAtFO\");\n\nvar $lTrIc = parcelRequire(\"lTrIc\");\n\nvar $6u4nl = parcelRequire(\"6u4nl\");\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\n\nvar $gGM7W = parcelRequire(\"gGM7W\");\n\nvar $8uHBt = parcelRequire(\"8uHBt\");\n\nvar $8bWuC = parcelRequire(\"8bWuC\");\nvar $cfdc2690ddfa2224$var$isArray = Array.isArray, $cfdc2690ddfa2224$var$call = Function.prototype.call, $cfdc2690ddfa2224$var$desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: null\n}, $cfdc2690ddfa2224$var$defineProperty = Object.defineProperty;\n// eslint-disable-next-line complexity, max-lines-per-function\nmodule.exports = function(arrayLike /*, mapFn, thisArg*/ ) {\n var mapFn = arguments[1], thisArg = arguments[2], Context, i, j, arr, length, code, iterator, result, getIterator, value;\n arrayLike = Object($gGM7W(arrayLike));\n if ($8uHBt(mapFn)) $dxkoV(mapFn);\n if (!this || this === Array || !$lTrIc(this)) {\n // Result: Plain array\n if (!mapFn) {\n if ($iAtFO(arrayLike)) {\n // Source: Arguments\n length = arrayLike.length;\n if (length !== 1) return Array.apply(null, arrayLike);\n arr = new Array(1);\n arr[0] = arrayLike[0];\n return arr;\n }\n if ($cfdc2690ddfa2224$var$isArray(arrayLike)) {\n // Source: Array\n arr = new Array(length = arrayLike.length);\n for(i = 0; i < length; ++i)arr[i] = arrayLike[i];\n return arr;\n }\n }\n arr = [];\n } else // Result: Non plain array\n Context = this;\n if (!$cfdc2690ddfa2224$var$isArray(arrayLike)) {\n if ((getIterator = arrayLike[$cfdc2690ddfa2224$require$iteratorSymbol]) !== undefined) {\n // Source: Iterator\n iterator = $dxkoV(getIterator).call(arrayLike);\n if (Context) arr = new Context();\n result = iterator.next();\n i = 0;\n while(!result.done){\n value = mapFn ? $cfdc2690ddfa2224$var$call.call(mapFn, thisArg, result.value, i) : result.value;\n if (Context) {\n $cfdc2690ddfa2224$var$desc.value = value;\n $cfdc2690ddfa2224$var$defineProperty(arr, i, $cfdc2690ddfa2224$var$desc);\n } else arr[i] = value;\n result = iterator.next();\n ++i;\n }\n length = i;\n } else if ($8bWuC(arrayLike)) {\n // Source: String\n length = arrayLike.length;\n if (Context) arr = new Context();\n for(i = 0, j = 0; i < length; ++i){\n value = arrayLike[i];\n if (i + 1 < length) {\n code = value.charCodeAt(0);\n // eslint-disable-next-line max-depth\n if (code >= 0xd800 && code <= 0xdbff) value += arrayLike[++i];\n }\n value = mapFn ? $cfdc2690ddfa2224$var$call.call(mapFn, thisArg, value, j) : value;\n if (Context) {\n $cfdc2690ddfa2224$var$desc.value = value;\n $cfdc2690ddfa2224$var$defineProperty(arr, j, $cfdc2690ddfa2224$var$desc);\n } else arr[j] = value;\n ++j;\n }\n length = j;\n }\n }\n if (length === undefined) {\n // Source: array or array-like\n length = $6u4nl(arrayLike.length);\n if (Context) arr = new Context(length);\n for(i = 0; i < length; ++i){\n value = mapFn ? $cfdc2690ddfa2224$var$call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];\n if (Context) {\n $cfdc2690ddfa2224$var$desc.value = value;\n $cfdc2690ddfa2224$var$defineProperty(arr, i, $cfdc2690ddfa2224$var$desc);\n } else arr[i] = value;\n }\n }\n if (Context) {\n $cfdc2690ddfa2224$var$desc.value = null;\n arr.length = length;\n }\n return arr;\n};\n\n});\nparcelRegister(\"hXtQe\", function(module, exports) {\n\"use strict\";\n\n\n\nmodule.exports = (parcelRequire(\"asjyI\"))() ? (parcelRequire(\"kld7H\")).Symbol : (parcelRequire(\"8ZJMO\"));\n\n});\nparcelRegister(\"asjyI\", function(module, exports) {\n\"use strict\";\n\nvar $kld7H = parcelRequire(\"kld7H\");\nvar $79cbb0e68aea8d18$var$validTypes = {\n object: true,\n symbol: true\n};\nmodule.exports = function() {\n var Symbol = $kld7H.Symbol;\n var symbol;\n if (typeof Symbol !== \"function\") return false;\n symbol = Symbol(\"test symbol\");\n try {\n String(symbol);\n } catch (e) {\n return false;\n }\n // Return 'true' also for polyfills\n if (!$79cbb0e68aea8d18$var$validTypes[typeof Symbol.iterator]) return false;\n if (!$79cbb0e68aea8d18$var$validTypes[typeof Symbol.toPrimitive]) return false;\n if (!$79cbb0e68aea8d18$var$validTypes[typeof Symbol.toStringTag]) return false;\n return true;\n};\n\n});\nparcelRegister(\"kld7H\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"gOf4U\"))() ? globalThis : (parcelRequire(\"atP66\"));\n\n});\nparcelRegister(\"gOf4U\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n if (typeof globalThis !== \"object\") return false;\n if (!globalThis) return false;\n return globalThis.Array === Array;\n};\n\n});\n\nparcelRegister(\"atP66\", function(module, exports) {\nvar $7a143fb439b4ac41$var$naiveFallback = function() {\n if (typeof self === \"object\" && self) return self;\n if (typeof window === \"object\" && window) return window;\n throw new Error(\"Unable to resolve global `this`\");\n};\nmodule.exports = function() {\n if (this) return this;\n // Unexpected strict mode (may happen if e.g. bundled into ESM module)\n // Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n // In all ES5+ engines global object inherits from Object.prototype\n // (if you approached one that doesn't please report)\n try {\n Object.defineProperty(Object.prototype, \"__global__\", {\n get: function() {\n return this;\n },\n configurable: true\n });\n } catch (error) {\n // Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n return $7a143fb439b4ac41$var$naiveFallback();\n }\n try {\n // Safari case (window.__global__ is resolved with global context, but __global__ does not)\n if (!__global__) return $7a143fb439b4ac41$var$naiveFallback();\n return __global__;\n } finally{\n delete Object.prototype.__global__;\n }\n}();\n\n});\n\n\n\nparcelRegister(\"8ZJMO\", function(module, exports) {\n// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\"use strict\";\n\nvar $eXmen = parcelRequire(\"eXmen\");\n\nvar $93JRo = parcelRequire(\"93JRo\");\n\nvar $kld7H = parcelRequire(\"kld7H\");\nvar $68c7896f9ebf703d$require$NativeSymbol = $kld7H.Symbol;\n\nvar $7pvFa = parcelRequire(\"7pvFa\");\n\nvar $5aDJl = parcelRequire(\"5aDJl\");\n\nvar $kuJ4U = parcelRequire(\"kuJ4U\");\nvar $68c7896f9ebf703d$var$create = Object.create, $68c7896f9ebf703d$var$defineProperties = Object.defineProperties, $68c7896f9ebf703d$var$defineProperty = Object.defineProperty;\nvar $68c7896f9ebf703d$var$SymbolPolyfill, $68c7896f9ebf703d$var$HiddenSymbol, $68c7896f9ebf703d$var$isNativeSafe;\nif (typeof $68c7896f9ebf703d$require$NativeSymbol === \"function\") try {\n String($68c7896f9ebf703d$require$NativeSymbol());\n $68c7896f9ebf703d$var$isNativeSafe = true;\n} catch (ignore) {}\nelse $68c7896f9ebf703d$require$NativeSymbol = null;\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\n$68c7896f9ebf703d$var$HiddenSymbol = function Symbol(description) {\n if (this instanceof $68c7896f9ebf703d$var$HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n return $68c7896f9ebf703d$var$SymbolPolyfill(description);\n};\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = $68c7896f9ebf703d$var$SymbolPolyfill = function Symbol(description) {\n var symbol;\n if (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n if ($68c7896f9ebf703d$var$isNativeSafe) return $68c7896f9ebf703d$require$NativeSymbol(description);\n symbol = $68c7896f9ebf703d$var$create($68c7896f9ebf703d$var$HiddenSymbol.prototype);\n description = description === undefined ? \"\" : String(description);\n return $68c7896f9ebf703d$var$defineProperties(symbol, {\n __description__: $eXmen(\"\", description),\n __name__: $eXmen(\"\", $7pvFa(description))\n });\n};\n$5aDJl($68c7896f9ebf703d$var$SymbolPolyfill);\n$kuJ4U($68c7896f9ebf703d$var$SymbolPolyfill);\n// Internal tweaks for real symbol producer\n$68c7896f9ebf703d$var$defineProperties($68c7896f9ebf703d$var$HiddenSymbol.prototype, {\n constructor: $eXmen($68c7896f9ebf703d$var$SymbolPolyfill),\n toString: $eXmen(\"\", function() {\n return this.__name__;\n })\n});\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\n$68c7896f9ebf703d$var$defineProperties($68c7896f9ebf703d$var$SymbolPolyfill.prototype, {\n toString: $eXmen(function() {\n return \"Symbol (\" + $93JRo(this).__description__ + \")\";\n }),\n valueOf: $eXmen(function() {\n return $93JRo(this);\n })\n});\n$68c7896f9ebf703d$var$defineProperty($68c7896f9ebf703d$var$SymbolPolyfill.prototype, $68c7896f9ebf703d$var$SymbolPolyfill.toPrimitive, $eXmen(\"\", function() {\n var symbol = $93JRo(this);\n if (typeof symbol === \"symbol\") return symbol;\n return symbol.toString();\n}));\n$68c7896f9ebf703d$var$defineProperty($68c7896f9ebf703d$var$SymbolPolyfill.prototype, $68c7896f9ebf703d$var$SymbolPolyfill.toStringTag, $eXmen(\"c\", \"Symbol\"));\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\n$68c7896f9ebf703d$var$defineProperty($68c7896f9ebf703d$var$HiddenSymbol.prototype, $68c7896f9ebf703d$var$SymbolPolyfill.toStringTag, $eXmen(\"c\", $68c7896f9ebf703d$var$SymbolPolyfill.prototype[$68c7896f9ebf703d$var$SymbolPolyfill.toStringTag]));\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\n$68c7896f9ebf703d$var$defineProperty($68c7896f9ebf703d$var$HiddenSymbol.prototype, $68c7896f9ebf703d$var$SymbolPolyfill.toPrimitive, $eXmen(\"c\", $68c7896f9ebf703d$var$SymbolPolyfill.prototype[$68c7896f9ebf703d$var$SymbolPolyfill.toPrimitive]));\n\n});\nparcelRegister(\"93JRo\", function(module, exports) {\n\"use strict\";\n\nvar $8cqlP = parcelRequire(\"8cqlP\");\nmodule.exports = function(value) {\n if (!$8cqlP(value)) throw new TypeError(value + \" is not a symbol\");\n return value;\n};\n\n});\nparcelRegister(\"8cqlP\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n if (!value) return false;\n if (typeof value === \"symbol\") return true;\n if (!value.constructor) return false;\n if (value.constructor.name !== \"Symbol\") return false;\n return value[value.constructor.toStringTag] === \"Symbol\";\n};\n\n});\n\n\nparcelRegister(\"7pvFa\", function(module, exports) {\n\"use strict\";\n\nvar $eXmen = parcelRequire(\"eXmen\");\nvar $56536dcd586e9de9$var$create = Object.create, $56536dcd586e9de9$var$defineProperty = Object.defineProperty, $56536dcd586e9de9$var$objPrototype = Object.prototype;\nvar $56536dcd586e9de9$var$created = $56536dcd586e9de9$var$create(null);\nmodule.exports = function(desc) {\n var postfix = 0, name, ie11BugWorkaround;\n while($56536dcd586e9de9$var$created[desc + (postfix || \"\")])++postfix;\n desc += postfix || \"\";\n $56536dcd586e9de9$var$created[desc] = true;\n name = \"@@\" + desc;\n $56536dcd586e9de9$var$defineProperty($56536dcd586e9de9$var$objPrototype, name, $eXmen.gs(null, function(value) {\n // For IE11 issue see:\n // https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n // ie11-broken-getters-on-dom-objects\n // https://github.com/medikoo/es6-symbol/issues/12\n if (ie11BugWorkaround) return;\n ie11BugWorkaround = true;\n $56536dcd586e9de9$var$defineProperty(this, name, $eXmen(value));\n ie11BugWorkaround = false;\n }));\n return name;\n};\n\n});\n\nparcelRegister(\"5aDJl\", function(module, exports) {\n\"use strict\";\n\nvar $eXmen = parcelRequire(\"eXmen\");\n\nvar $kld7H = parcelRequire(\"kld7H\");\nvar $3c3cb48c6cfc399c$require$NativeSymbol = $kld7H.Symbol;\nmodule.exports = function(SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n // To ensure proper interoperability with other native functions (e.g. Array.from)\n // fallback to eventual native implementation of given symbol\n hasInstance: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.hasInstance || SymbolPolyfill(\"hasInstance\")),\n isConcatSpreadable: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.isConcatSpreadable || SymbolPolyfill(\"isConcatSpreadable\")),\n iterator: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.iterator || SymbolPolyfill(\"iterator\")),\n match: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.match || SymbolPolyfill(\"match\")),\n replace: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.replace || SymbolPolyfill(\"replace\")),\n search: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.search || SymbolPolyfill(\"search\")),\n species: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.species || SymbolPolyfill(\"species\")),\n split: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.split || SymbolPolyfill(\"split\")),\n toPrimitive: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.toPrimitive || SymbolPolyfill(\"toPrimitive\")),\n toStringTag: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.toStringTag || SymbolPolyfill(\"toStringTag\")),\n unscopables: $eXmen(\"\", $3c3cb48c6cfc399c$require$NativeSymbol && $3c3cb48c6cfc399c$require$NativeSymbol.unscopables || SymbolPolyfill(\"unscopables\"))\n });\n};\n\n});\n\nparcelRegister(\"kuJ4U\", function(module, exports) {\n\"use strict\";\n\nvar $eXmen = parcelRequire(\"eXmen\");\n\nvar $93JRo = parcelRequire(\"93JRo\");\nvar $eeb99390e77991ca$var$registry = Object.create(null);\nmodule.exports = function(SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n for: $eXmen(function(key) {\n if ($eeb99390e77991ca$var$registry[key]) return $eeb99390e77991ca$var$registry[key];\n return $eeb99390e77991ca$var$registry[key] = SymbolPolyfill(String(key));\n }),\n keyFor: $eXmen(function(symbol) {\n var key;\n $93JRo(symbol);\n for(key in $eeb99390e77991ca$var$registry){\n if ($eeb99390e77991ca$var$registry[key] === symbol) return key;\n }\n return undefined;\n })\n });\n};\n\n});\n\n\n\nparcelRegister(\"iAtFO\", function(module, exports) {\n\"use strict\";\nvar $d8829b49cc4fff7b$var$objToString = Object.prototype.toString, $d8829b49cc4fff7b$var$id = $d8829b49cc4fff7b$var$objToString.call(function() {\n return arguments;\n}());\nmodule.exports = function(value) {\n return $d8829b49cc4fff7b$var$objToString.call(value) === $d8829b49cc4fff7b$var$id;\n};\n\n});\n\nparcelRegister(\"lTrIc\", function(module, exports) {\n\"use strict\";\nvar $ff043b072dec6b13$var$objToString = Object.prototype.toString, $ff043b072dec6b13$var$isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);\nmodule.exports = function(value) {\n return typeof value === \"function\" && $ff043b072dec6b13$var$isFunctionStringTag($ff043b072dec6b13$var$objToString.call(value));\n};\n\n});\n\nparcelRegister(\"6u4nl\", function(module, exports) {\n\"use strict\";\n\nvar $bq2jW = parcelRequire(\"bq2jW\");\nvar $4b88f0497a70818c$var$max = Math.max;\nmodule.exports = function(value) {\n return $4b88f0497a70818c$var$max(0, $bq2jW(value));\n};\n\n});\nparcelRegister(\"bq2jW\", function(module, exports) {\n\"use strict\";\n\nvar $3lVkV = parcelRequire(\"3lVkV\");\nvar $8503ec3a1073a137$var$abs = Math.abs, $8503ec3a1073a137$var$floor = Math.floor;\nmodule.exports = function(value) {\n if (isNaN(value)) return 0;\n value = Number(value);\n if (value === 0 || !isFinite(value)) return value;\n return $3lVkV(value) * $8503ec3a1073a137$var$floor($8503ec3a1073a137$var$abs(value));\n};\n\n});\nparcelRegister(\"3lVkV\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"8tETt\"))() ? Math.sign : (parcelRequire(\"hGADy\"));\n\n});\n\n\n\nparcelRegister(\"8bWuC\", function(module, exports) {\n\"use strict\";\nvar $5f6cb94585fe4542$var$objToString = Object.prototype.toString, $5f6cb94585fe4542$var$id = $5f6cb94585fe4542$var$objToString.call(\"\");\nmodule.exports = function(value) {\n return typeof value === \"string\" || value && typeof value === \"object\" && (value instanceof String || $5f6cb94585fe4542$var$objToString.call(value) === $5f6cb94585fe4542$var$id) || false;\n};\n\n});\n\n\nparcelRegister(\"7o7h2\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(args) {\n var id, i, length = args.length;\n if (!length) return \"\\x02\";\n id = String(args[i = 0]);\n while(--length)id += \"\\x01\" + args[++i];\n return id;\n};\n\n});\n\nparcelRegister(\"jdXxe\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(length) {\n if (!length) return function() {\n return \"\";\n };\n return function(args) {\n var id = String(args[0]), i = 0, currentLength = length;\n while(--currentLength)id += \"\\x01\" + args[++i];\n return id;\n };\n};\n\n});\n\nparcelRegister(\"1DZyI\", function(module, exports) {\n/* eslint max-statements: 0 */ \"use strict\";\n\nvar $1vsyN = parcelRequire(\"1vsyN\");\nvar $13292f492aaf5dc9$var$create = Object.create;\nmodule.exports = function() {\n var lastId = 0, map = [], cache = $13292f492aaf5dc9$var$create(null);\n return {\n get: function(args) {\n var index = 0, set = map, i, length = args.length;\n if (length === 0) return set[length] || null;\n if (set = set[length]) {\n while(index < length - 1){\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return null;\n set = set[1][i];\n ++index;\n }\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return null;\n return set[1][i] || null;\n }\n return null;\n },\n set: function(args) {\n var index = 0, set = map, i, length = args.length;\n if (length === 0) set[length] = ++lastId;\n else {\n if (!set[length]) set[length] = [\n [],\n []\n ];\n set = set[length];\n while(index < length - 1){\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) {\n i = set[0].push(args[index]) - 1;\n set[1].push([\n [],\n []\n ]);\n }\n set = set[1][i];\n ++index;\n }\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) i = set[0].push(args[index]) - 1;\n set[1][i] = ++lastId;\n }\n cache[lastId] = args;\n return lastId;\n },\n delete: function(id) {\n var index = 0, set = map, i, args = cache[id], length = args.length, path = [];\n if (length === 0) delete set[length];\n else if (set = set[length]) {\n while(index < length - 1){\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return;\n path.push(set, i);\n set = set[1][i];\n ++index;\n }\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return;\n id = set[1][i];\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n while(!set[0].length && path.length){\n i = path.pop();\n set = path.pop();\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n }\n }\n delete cache[id];\n },\n clear: function() {\n map = [];\n cache = $13292f492aaf5dc9$var$create(null);\n }\n };\n};\n\n});\nparcelRegister(\"1vsyN\", function(module, exports) {\n\"use strict\";\n\nvar $hrboG = parcelRequire(\"hrboG\");\n\nvar $6u4nl = parcelRequire(\"6u4nl\");\n\nvar $gGM7W = parcelRequire(\"gGM7W\");\nvar $118ed72d354a2db9$var$indexOf = Array.prototype.indexOf, $118ed72d354a2db9$var$objHasOwnProperty = Object.prototype.hasOwnProperty, $118ed72d354a2db9$var$abs = Math.abs, $118ed72d354a2db9$var$floor = Math.floor;\nmodule.exports = function(searchElement /*, fromIndex*/ ) {\n var i, length, fromIndex, val;\n if (!$hrboG(searchElement)) return $118ed72d354a2db9$var$indexOf.apply(this, arguments);\n length = $6u4nl($gGM7W(this).length);\n fromIndex = arguments[1];\n if (isNaN(fromIndex)) fromIndex = 0;\n else if (fromIndex >= 0) fromIndex = $118ed72d354a2db9$var$floor(fromIndex);\n else fromIndex = $6u4nl(this.length) - $118ed72d354a2db9$var$floor($118ed72d354a2db9$var$abs(fromIndex));\n for(i = fromIndex; i < length; ++i)if ($118ed72d354a2db9$var$objHasOwnProperty.call(this, i)) {\n val = this[i];\n if ($hrboG(val)) return i; // Jslint: ignore\n }\n return -1;\n};\n\n});\nparcelRegister(\"hrboG\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"iT9FP\"))() ? Number.isNaN : (parcelRequire(\"z7ebn\"));\n\n});\nparcelRegister(\"iT9FP\", function(module, exports) {\n\"use strict\";\nmodule.exports = function() {\n var numberIsNaN = Number.isNaN;\n if (typeof numberIsNaN !== \"function\") return false;\n return !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);\n};\n\n});\n\nparcelRegister(\"z7ebn\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(value) {\n // eslint-disable-next-line no-self-compare\n return value !== value;\n};\n\n});\n\n\n\n\nparcelRegister(\"loqvW\", function(module, exports) {\n\"use strict\";\n\nvar $1vsyN = parcelRequire(\"1vsyN\");\nmodule.exports = function() {\n var lastId = 0, argsMap = [], cache = [];\n return {\n get: function(args) {\n var index = $1vsyN.call(argsMap, args[0]);\n return index === -1 ? null : cache[index];\n },\n set: function(args) {\n argsMap.push(args[0]);\n cache.push(++lastId);\n return lastId;\n },\n delete: function(id) {\n var index = $1vsyN.call(cache, id);\n if (index !== -1) {\n argsMap.splice(index, 1);\n cache.splice(index, 1);\n }\n },\n clear: function() {\n argsMap = [];\n cache = [];\n }\n };\n};\n\n});\n\nparcelRegister(\"f097S\", function(module, exports) {\n\"use strict\";\n\nvar $1vsyN = parcelRequire(\"1vsyN\");\nvar $aebdef537871478e$var$create = Object.create;\nmodule.exports = function(length) {\n var lastId = 0, map = [\n [],\n []\n ], cache = $aebdef537871478e$var$create(null);\n return {\n get: function(args) {\n var index = 0, set = map, i;\n while(index < length - 1){\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return null;\n set = set[1][i];\n ++index;\n }\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return null;\n return set[1][i] || null;\n },\n set: function(args) {\n var index = 0, set = map, i;\n while(index < length - 1){\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) {\n i = set[0].push(args[index]) - 1;\n set[1].push([\n [],\n []\n ]);\n }\n set = set[1][i];\n ++index;\n }\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) i = set[0].push(args[index]) - 1;\n set[1][i] = ++lastId;\n cache[lastId] = args;\n return lastId;\n },\n delete: function(id) {\n var index = 0, set = map, i, path = [], args = cache[id];\n while(index < length - 1){\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return;\n path.push(set, i);\n set = set[1][i];\n ++index;\n }\n i = $1vsyN.call(set[0], args[index]);\n if (i === -1) return;\n id = set[1][i];\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n while(!set[0].length && path.length){\n i = path.pop();\n set = path.pop();\n set[0].splice(i, 1);\n set[1].splice(i, 1);\n }\n delete cache[id];\n },\n clear: function() {\n map = [\n [],\n []\n ];\n cache = $aebdef537871478e$var$create(null);\n }\n };\n};\n\n});\n\nparcelRegister(\"7PnxH\", function(module, exports) {\n/* eslint consistent-this: 0, no-shadow:0, no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */ // Support for asynchronous functions\n\"use strict\";\n\nvar $8Vysl = parcelRequire(\"8Vysl\");\n\nvar $3gAXE = parcelRequire(\"3gAXE\");\n\nvar $4P0KV = parcelRequire(\"4P0KV\");\n\nvar $bP3iK = parcelRequire(\"bP3iK\");\n\nvar $hRqDS = parcelRequire(\"hRqDS\");\nvar $5b2f8edbe5f00a10$var$slice = Array.prototype.slice, $5b2f8edbe5f00a10$var$apply = Function.prototype.apply, $5b2f8edbe5f00a10$var$create = Object.create;\n\n(parcelRequire(\"5twQR\")).async = function(tbi, conf) {\n var waiting = $5b2f8edbe5f00a10$var$create(null), cache = $5b2f8edbe5f00a10$var$create(null), base = conf.memoized, original = conf.original, currentCallback, currentContext, currentArgs;\n // Initial\n conf.memoized = $bP3iK(function(arg) {\n var args = arguments, last = args[args.length - 1];\n if (typeof last === \"function\") {\n currentCallback = last;\n args = $5b2f8edbe5f00a10$var$slice.call(args, 0, -1);\n }\n return base.apply(currentContext = this, currentArgs = args);\n }, base);\n try {\n $4P0KV(conf.memoized, base);\n } catch (ignore) {}\n // From cache (sync)\n conf.on(\"get\", function(id) {\n var cb, context, args;\n if (!currentCallback) return;\n // Unresolved\n if (waiting[id]) {\n if (typeof waiting[id] === \"function\") waiting[id] = [\n waiting[id],\n currentCallback\n ];\n else waiting[id].push(currentCallback);\n currentCallback = null;\n return;\n }\n // Resolved, assure next tick invocation\n cb = currentCallback;\n context = currentContext;\n args = currentArgs;\n currentCallback = currentContext = currentArgs = null;\n $hRqDS(function() {\n var data;\n if (hasOwnProperty.call(cache, id)) {\n data = cache[id];\n conf.emit(\"getasync\", id, args, context);\n $5b2f8edbe5f00a10$var$apply.call(cb, data.context, data.args);\n } else {\n // Purged in a meantime, we shouldn't rely on cached value, recall\n currentCallback = cb;\n currentContext = context;\n currentArgs = args;\n base.apply(context, args);\n }\n });\n });\n // Not from cache\n conf.original = function() {\n var args, cb, origCb, result;\n if (!currentCallback) return $5b2f8edbe5f00a10$var$apply.call(original, this, arguments);\n args = $8Vysl(arguments);\n cb = function self(err) {\n var cb, args, id = self.id;\n if (id == null) {\n // Shouldn't happen, means async callback was called sync way\n $hRqDS($5b2f8edbe5f00a10$var$apply.bind(self, this, arguments));\n return undefined;\n }\n delete self.id;\n cb = waiting[id];\n delete waiting[id];\n if (!cb) // Already processed,\n // outcome of race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n return undefined;\n args = $8Vysl(arguments);\n if (conf.has(id)) {\n if (err) conf.delete(id);\n else {\n cache[id] = {\n context: this,\n args: args\n };\n conf.emit(\"setasync\", id, typeof cb === \"function\" ? 1 : cb.length);\n }\n }\n if (typeof cb === \"function\") result = $5b2f8edbe5f00a10$var$apply.call(cb, this, args);\n else cb.forEach(function(cb) {\n result = $5b2f8edbe5f00a10$var$apply.call(cb, this, args);\n }, this);\n return result;\n };\n origCb = currentCallback;\n currentCallback = currentContext = currentArgs = null;\n args.push(cb);\n result = $5b2f8edbe5f00a10$var$apply.call(original, this, args);\n cb.cb = origCb;\n currentCallback = cb;\n return result;\n };\n // After not from cache call\n conf.on(\"set\", function(id) {\n if (!currentCallback) {\n conf.delete(id);\n return;\n }\n if (waiting[id]) {\n // Race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n if (typeof waiting[id] === \"function\") waiting[id] = [\n waiting[id],\n currentCallback.cb\n ];\n else waiting[id].push(currentCallback.cb);\n } else waiting[id] = currentCallback.cb;\n delete currentCallback.cb;\n currentCallback.id = id;\n currentCallback = null;\n });\n // On delete\n conf.on(\"delete\", function(id) {\n var result;\n // If false, we don't have value yet, so we assume that intention is not\n // to memoize this call. After value is obtained we don't cache it but\n // gracefully pass to callback\n if (hasOwnProperty.call(waiting, id)) return;\n if (!cache[id]) return;\n result = cache[id];\n delete cache[id];\n conf.emit(\"deleteasync\", id, $5b2f8edbe5f00a10$var$slice.call(result.args, 1));\n });\n // On clear\n conf.on(\"clear\", function() {\n var oldCache = cache;\n cache = $5b2f8edbe5f00a10$var$create(null);\n conf.emit(\"clearasync\", $3gAXE(oldCache, function(data) {\n return $5b2f8edbe5f00a10$var$slice.call(data.args, 1);\n }));\n });\n};\n\n});\nparcelRegister(\"8Vysl\", function(module, exports) {\n\"use strict\";\n\n\nmodule.exports = (parcelRequire(\"jgVAQ\"))() ? Array.from : (parcelRequire(\"hQqTa\"));\n\n});\n\nparcelRegister(\"3gAXE\", function(module, exports) {\n\"use strict\";\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\n\nvar $5RsFi = parcelRequire(\"5RsFi\");\nvar $260f896935c55f4a$var$call = Function.prototype.call;\nmodule.exports = function(obj, cb /*, thisArg*/ ) {\n var result = {}, thisArg = arguments[2];\n $dxkoV(cb);\n $5RsFi(obj, function(value, key, targetObj, index) {\n result[key] = $260f896935c55f4a$var$call.call(cb, thisArg, value, key, targetObj, index);\n });\n return result;\n};\n\n});\nparcelRegister(\"5RsFi\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"9KLFQ\"))(\"forEach\");\n\n});\n\n\nparcelRegister(\"bP3iK\", function(module, exports) {\n\"use strict\";\n\nvar $6u4nl = parcelRequire(\"6u4nl\");\nvar $89b704bc2e10ef22$var$test = function(arg1, arg2) {\n return arg2;\n};\nvar $89b704bc2e10ef22$var$desc, $89b704bc2e10ef22$var$defineProperty, $89b704bc2e10ef22$var$generate, $89b704bc2e10ef22$var$mixin;\ntry {\n Object.defineProperty($89b704bc2e10ef22$var$test, \"length\", {\n configurable: true,\n writable: false,\n enumerable: false,\n value: 1\n });\n} catch (ignore) {}\n\nif ($89b704bc2e10ef22$var$test.length === 1) {\n // ES6\n $89b704bc2e10ef22$var$desc = {\n configurable: true,\n writable: false,\n enumerable: false\n };\n $89b704bc2e10ef22$var$defineProperty = Object.defineProperty;\n module.exports = function(fn, length) {\n length = $6u4nl(length);\n if (fn.length === length) return fn;\n $89b704bc2e10ef22$var$desc.value = length;\n return $89b704bc2e10ef22$var$defineProperty(fn, \"length\", $89b704bc2e10ef22$var$desc);\n };\n} else {\n $89b704bc2e10ef22$var$mixin = (parcelRequire(\"4P0KV\"));\n $89b704bc2e10ef22$var$generate = function() {\n var cache = [];\n return function(length) {\n var args, i = 0;\n if (cache[length]) return cache[length];\n args = [];\n while(length--)args.push(\"a\" + (++i).toString(36));\n // eslint-disable-next-line no-new-func\n return new Function(\"fn\", \"return function (\" + args.join(\", \") + \") { return fn.apply(this, arguments); };\");\n };\n }();\n module.exports = function(src, length) {\n var target;\n length = $6u4nl(length);\n if (src.length === length) return src;\n target = $89b704bc2e10ef22$var$generate(length)(src);\n try {\n $89b704bc2e10ef22$var$mixin(target, src);\n } catch (ignore) {}\n return target;\n };\n}\n\n});\n\nparcelRegister(\"hRqDS\", function(module, exports) {\n\"use strict\";\nvar $d00c0d7cf2669596$var$ensureCallable = function(fn) {\n if (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n return fn;\n};\nvar $d00c0d7cf2669596$var$byObserver = function(Observer) {\n var node = document.createTextNode(\"\"), queue, currentQueue, i = 0;\n new Observer(function() {\n var callback;\n if (!queue) {\n if (!currentQueue) return;\n queue = currentQueue;\n } else if (currentQueue) queue = currentQueue.concat(queue);\n currentQueue = queue;\n queue = null;\n if (typeof currentQueue === \"function\") {\n callback = currentQueue;\n currentQueue = null;\n callback();\n return;\n }\n node.data = i = ++i % 2; // Invoke other batch, to handle leftover callbacks in case of crash\n while(currentQueue){\n callback = currentQueue.shift();\n if (!currentQueue.length) currentQueue = null;\n callback();\n }\n }).observe(node, {\n characterData: true\n });\n return function(fn) {\n $d00c0d7cf2669596$var$ensureCallable(fn);\n if (queue) {\n if (typeof queue === \"function\") queue = [\n queue,\n fn\n ];\n else queue.push(fn);\n return;\n }\n queue = fn;\n node.data = i = ++i % 2;\n };\n};\nmodule.exports = function() {\n // Node.js\n if (typeof process === \"object\" && process && typeof process.nextTick === \"function\") return process.nextTick;\n // queueMicrotask\n if (typeof queueMicrotask === \"function\") return function(cb) {\n queueMicrotask($d00c0d7cf2669596$var$ensureCallable(cb));\n };\n // MutationObserver\n if (typeof document === \"object\" && document) {\n if (typeof MutationObserver === \"function\") return $d00c0d7cf2669596$var$byObserver(MutationObserver);\n if (typeof WebKitMutationObserver === \"function\") return $d00c0d7cf2669596$var$byObserver(WebKitMutationObserver);\n }\n // W3C Draft\n // http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n if (typeof setImmediate === \"function\") return function(cb) {\n setImmediate($d00c0d7cf2669596$var$ensureCallable(cb));\n };\n // Wide available standard\n if (typeof setTimeout === \"function\" || typeof setTimeout === \"object\") return function(cb) {\n setTimeout($d00c0d7cf2669596$var$ensureCallable(cb), 0);\n };\n return null;\n}();\n\n});\n\n\nparcelRegister(\"fCNrK\", function(module, exports) {\n/* eslint max-statements: 0 */ // Support for functions returning promise\n\"use strict\";\n\nvar $3gAXE = parcelRequire(\"3gAXE\");\n\nvar $1uj1u = parcelRequire(\"1uj1u\");\n\nvar $ldE93 = parcelRequire(\"ldE93\");\n\nvar $gfYVH = parcelRequire(\"gfYVH\");\n\nvar $8worn = parcelRequire(\"8worn\");\n\nvar $hRqDS = parcelRequire(\"hRqDS\");\nvar $b600c2b36d416ce1$var$create = Object.create, $b600c2b36d416ce1$var$supportedModes = $1uj1u(\"then\", \"then:finally\", \"done\", \"done:finally\");\n\n(parcelRequire(\"5twQR\")).promise = function(mode, conf) {\n var waiting = $b600c2b36d416ce1$var$create(null), cache = $b600c2b36d416ce1$var$create(null), promises = $b600c2b36d416ce1$var$create(null);\n if (mode === true) mode = null;\n else {\n mode = $ldE93(mode);\n if (!$b600c2b36d416ce1$var$supportedModes[mode]) throw new TypeError(\"'\" + $gfYVH(mode) + \"' is not valid promise mode\");\n }\n // After not from cache call\n conf.on(\"set\", function(id, ignore, promise) {\n var isFailed = false;\n if (!$8worn(promise)) {\n // Non promise result\n cache[id] = promise;\n conf.emit(\"setasync\", id, 1);\n return;\n }\n waiting[id] = 1;\n promises[id] = promise;\n var onSuccess = function(result) {\n var count = waiting[id];\n if (isFailed) throw new Error(\"Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\\nConsider to rely on 'then' or 'done' mode instead.\");\n if (!count) return; // Deleted from cache before resolved\n delete waiting[id];\n cache[id] = result;\n conf.emit(\"setasync\", id, count);\n };\n var onFailure = function() {\n isFailed = true;\n if (!waiting[id]) return; // Deleted from cache (or succeed in case of finally)\n delete waiting[id];\n delete promises[id];\n conf.delete(id);\n };\n var resolvedMode = mode;\n if (!resolvedMode) resolvedMode = \"then\";\n if (resolvedMode === \"then\") {\n var nextTickFailure = function() {\n $hRqDS(onFailure);\n };\n // Eventual finally needs to be attached to non rejected promise\n // (so we not force propagation of unhandled rejection)\n promise = promise.then(function(result) {\n $hRqDS(onSuccess.bind(this, result));\n }, nextTickFailure);\n // If `finally` is a function we attach to it to remove cancelled promises.\n if (typeof promise.finally === \"function\") promise.finally(nextTickFailure);\n } else if (resolvedMode === \"done\") {\n // Not recommended, as it may mute any eventual \"Unhandled error\" events\n if (typeof promise.done !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'done' in 'done' mode\");\n promise.done(onSuccess, onFailure);\n } else if (resolvedMode === \"done:finally\") {\n // The only mode with no side effects assuming library does not throw unconditionally\n // for rejected promises.\n if (typeof promise.done !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode\");\n if (typeof promise.finally !== \"function\") throw new Error(\"Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode\");\n promise.done(onSuccess);\n promise.finally(onFailure);\n }\n });\n // From cache (sync)\n conf.on(\"get\", function(id, args, context) {\n var promise;\n if (waiting[id]) {\n ++waiting[id]; // Still waiting\n return;\n }\n promise = promises[id];\n var emit = function() {\n conf.emit(\"getasync\", id, args, context);\n };\n if ($8worn(promise)) {\n if (typeof promise.done === \"function\") promise.done(emit);\n else promise.then(function() {\n $hRqDS(emit);\n });\n } else emit();\n });\n // On delete\n conf.on(\"delete\", function(id) {\n delete promises[id];\n if (waiting[id]) {\n delete waiting[id];\n return; // Not yet resolved\n }\n if (!hasOwnProperty.call(cache, id)) return;\n var result = cache[id];\n delete cache[id];\n conf.emit(\"deleteasync\", id, [\n result\n ]);\n });\n // On clear\n conf.on(\"clear\", function() {\n var oldCache = cache;\n cache = $b600c2b36d416ce1$var$create(null);\n waiting = $b600c2b36d416ce1$var$create(null);\n promises = $b600c2b36d416ce1$var$create(null);\n conf.emit(\"clearasync\", $3gAXE(oldCache, function(data) {\n return [\n data\n ];\n }));\n });\n};\n\n});\nparcelRegister(\"1uj1u\", function(module, exports) {\n\"use strict\";\nvar $1157595a2eb51279$var$forEach = Array.prototype.forEach, $1157595a2eb51279$var$create = Object.create;\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function(arg /*, …args*/ ) {\n var set = $1157595a2eb51279$var$create(null);\n $1157595a2eb51279$var$forEach.call(arguments, function(name) {\n set[name] = true;\n });\n return set;\n};\n\n});\n\nparcelRegister(\"ldE93\", function(module, exports) {\n\"use strict\";\n\nvar $gGM7W = parcelRequire(\"gGM7W\");\n\nvar $c7KV3 = parcelRequire(\"c7KV3\");\nmodule.exports = function(value) {\n return $c7KV3($gGM7W(value));\n};\n\n});\nparcelRegister(\"c7KV3\", function(module, exports) {\n\"use strict\";\n\nvar $bEnef = parcelRequire(\"bEnef\");\nmodule.exports = function(stringifiable) {\n try {\n if (stringifiable && $bEnef(stringifiable.toString)) return stringifiable.toString();\n return String(stringifiable);\n } catch (e) {\n throw new TypeError(\"Passed argument cannot be stringifed\");\n }\n};\n\n});\nparcelRegister(\"bEnef\", function(module, exports) {\n// Deprecated\n\"use strict\";\nmodule.exports = function(obj) {\n return typeof obj === \"function\";\n};\n\n});\n\n\n\nparcelRegister(\"gfYVH\", function(module, exports) {\n\"use strict\";\n\nvar $aRFop = parcelRequire(\"aRFop\");\nvar $bd5d4f6b33deaf61$var$reNewLine = /[\\n\\r\\u2028\\u2029]/g;\nmodule.exports = function(value) {\n var string = $aRFop(value);\n // Trim if too long\n if (string.length > 100) string = string.slice(0, 99) + \"\\u2026\";\n // Replace eventual new lines\n string = string.replace($bd5d4f6b33deaf61$var$reNewLine, function(char) {\n return JSON.stringify(char).slice(1, -1);\n });\n return string;\n};\n\n});\nparcelRegister(\"aRFop\", function(module, exports) {\n\"use strict\";\n\nvar $bEnef = parcelRequire(\"bEnef\");\nmodule.exports = function(value) {\n try {\n if (value && $bEnef(value.toString)) return value.toString();\n return String(value);\n } catch (e) {\n return \"\";\n }\n};\n\n});\n\n\nparcelRegister(\"8worn\", function(module, exports) {\nmodule.exports = $634445414c62ad24$var$isPromise;\nmodule.exports.default = $634445414c62ad24$var$isPromise;\nfunction $634445414c62ad24$var$isPromise(obj) {\n return !!obj && (typeof obj === \"object\" || typeof obj === \"function\") && typeof obj.then === \"function\";\n}\n\n});\n\n\nparcelRegister(\"1EtHk\", function(module, exports) {\n// Call dispose callback on each cache purge\n\"use strict\";\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\n\nvar $5RsFi = parcelRequire(\"5RsFi\");\n\nvar $5twQR = parcelRequire(\"5twQR\");\nvar $1340903b1528d71a$var$apply = Function.prototype.apply;\n$5twQR.dispose = function(dispose, conf, options) {\n var del;\n $dxkoV(dispose);\n if (options.async && $5twQR.async || options.promise && $5twQR.promise) {\n conf.on(\"deleteasync\", del = function(id, resultArray) {\n $1340903b1528d71a$var$apply.call(dispose, null, resultArray);\n });\n conf.on(\"clearasync\", function(cache) {\n $5RsFi(cache, function(result, id) {\n del(id, result);\n });\n });\n return;\n }\n conf.on(\"delete\", del = function(id, result) {\n dispose(result);\n });\n conf.on(\"clear\", function(cache) {\n $5RsFi(cache, function(result, id) {\n del(id, result);\n });\n });\n};\n\n});\n\nparcelRegister(\"6VQvb\", function(module, exports) {\n/* eslint consistent-this: 0 */ // Timeout cached values\n\"use strict\";\n\nvar $8Vysl = parcelRequire(\"8Vysl\");\n\nvar $5RsFi = parcelRequire(\"5RsFi\");\n\nvar $hRqDS = parcelRequire(\"hRqDS\");\n\nvar $8worn = parcelRequire(\"8worn\");\n\nvar $jWpXq = parcelRequire(\"jWpXq\");\n\nvar $5twQR = parcelRequire(\"5twQR\");\nvar $50c0cac1882179df$var$noop = Function.prototype, $50c0cac1882179df$var$max = Math.max, $50c0cac1882179df$var$min = Math.min, $50c0cac1882179df$var$create = Object.create;\n$5twQR.maxAge = function(maxAge, conf, options) {\n var timeouts, postfix, preFetchAge, preFetchTimeouts;\n maxAge = $jWpXq(maxAge);\n if (!maxAge) return;\n timeouts = $50c0cac1882179df$var$create(null);\n postfix = options.async && $5twQR.async || options.promise && $5twQR.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, function(id) {\n timeouts[id] = setTimeout(function() {\n conf.delete(id);\n }, maxAge);\n if (typeof timeouts[id].unref === \"function\") timeouts[id].unref();\n if (!preFetchTimeouts) return;\n if (preFetchTimeouts[id]) {\n if (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n }\n preFetchTimeouts[id] = setTimeout(function() {\n delete preFetchTimeouts[id];\n }, preFetchAge);\n if (typeof preFetchTimeouts[id].unref === \"function\") preFetchTimeouts[id].unref();\n });\n conf.on(\"delete\" + postfix, function(id) {\n clearTimeout(timeouts[id]);\n delete timeouts[id];\n if (!preFetchTimeouts) return;\n if (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n delete preFetchTimeouts[id];\n });\n if (options.preFetch) {\n if (options.preFetch === true || isNaN(options.preFetch)) preFetchAge = 0.333;\n else preFetchAge = $50c0cac1882179df$var$max($50c0cac1882179df$var$min(Number(options.preFetch), 1), 0);\n if (preFetchAge) {\n preFetchTimeouts = {};\n preFetchAge = (1 - preFetchAge) * maxAge;\n conf.on(\"get\" + postfix, function(id, args, context) {\n if (!preFetchTimeouts[id]) {\n preFetchTimeouts[id] = \"nextTick\";\n $hRqDS(function() {\n var result;\n if (preFetchTimeouts[id] !== \"nextTick\") return;\n delete preFetchTimeouts[id];\n conf.delete(id);\n if (options.async) {\n args = $8Vysl(args);\n args.push($50c0cac1882179df$var$noop);\n }\n result = conf.memoized.apply(context, args);\n if (options.promise) // Supress eventual error warnings\n {\n if ($8worn(result)) {\n if (typeof result.done === \"function\") result.done($50c0cac1882179df$var$noop, $50c0cac1882179df$var$noop);\n else result.then($50c0cac1882179df$var$noop, $50c0cac1882179df$var$noop);\n }\n }\n });\n }\n });\n }\n }\n conf.on(\"clear\" + postfix, function() {\n $5RsFi(timeouts, function(id) {\n clearTimeout(id);\n });\n timeouts = {};\n if (preFetchTimeouts) {\n $5RsFi(preFetchTimeouts, function(id) {\n if (id !== \"nextTick\") clearTimeout(id);\n });\n preFetchTimeouts = {};\n }\n });\n};\n\n});\nparcelRegister(\"jWpXq\", function(module, exports) {\n\"use strict\";\n\nvar $6u4nl = parcelRequire(\"6u4nl\");\n\nvar $3yRn0 = parcelRequire(\"3yRn0\");\nmodule.exports = function(value) {\n value = $6u4nl(value);\n if (value > $3yRn0) throw new TypeError(value + \" exceeds maximum possible timeout\");\n return value;\n};\n\n});\nparcelRegister(\"3yRn0\", function(module, exports) {\n\"use strict\";\nmodule.exports = 2147483647;\n\n});\n\n\n\nparcelRegister(\"jT7Ur\", function(module, exports) {\n// Limit cache size, LRU (least recently used) algorithm.\n\"use strict\";\n\nvar $6u4nl = parcelRequire(\"6u4nl\");\n\nvar $kzv77 = parcelRequire(\"kzv77\");\n\nvar $5twQR = parcelRequire(\"5twQR\");\n$5twQR.max = function(max, conf, options) {\n var postfix, queue, hit;\n max = $6u4nl(max);\n if (!max) return;\n queue = $kzv77(max);\n postfix = options.async && $5twQR.async || options.promise && $5twQR.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, hit = function(id) {\n id = queue.hit(id);\n if (id === undefined) return;\n conf.delete(id);\n });\n conf.on(\"get\" + postfix, hit);\n conf.on(\"delete\" + postfix, queue.delete);\n conf.on(\"clear\" + postfix, queue.clear);\n};\n\n});\nparcelRegister(\"kzv77\", function(module, exports) {\n\"use strict\";\n\nvar $6u4nl = parcelRequire(\"6u4nl\");\nvar $ef9f3613d1de140e$var$create = Object.create, $ef9f3613d1de140e$var$hasOwnProperty = Object.prototype.hasOwnProperty;\nmodule.exports = function(limit) {\n var size = 0, base = 1, queue = $ef9f3613d1de140e$var$create(null), map = $ef9f3613d1de140e$var$create(null), index = 0, del;\n limit = $6u4nl(limit);\n return {\n hit: function(id) {\n var oldIndex = map[id], nuIndex = ++index;\n queue[nuIndex] = id;\n map[id] = nuIndex;\n if (!oldIndex) {\n ++size;\n if (size <= limit) return;\n id = queue[base];\n del(id);\n return id;\n }\n delete queue[oldIndex];\n if (base !== oldIndex) return;\n while(!$ef9f3613d1de140e$var$hasOwnProperty.call(queue, ++base))continue; //jslint: skip\n },\n delete: del = function(id) {\n var oldIndex = map[id];\n if (!oldIndex) return;\n delete queue[oldIndex];\n delete map[id];\n --size;\n if (base !== oldIndex) return;\n if (!size) {\n index = 0;\n base = 1;\n return;\n }\n while(!$ef9f3613d1de140e$var$hasOwnProperty.call(queue, ++base))continue; //jslint: skip\n },\n clear: function() {\n size = 0;\n base = 1;\n queue = $ef9f3613d1de140e$var$create(null);\n map = $ef9f3613d1de140e$var$create(null);\n index = 0;\n }\n };\n};\n\n});\n\n\nparcelRegister(\"6ZksK\", function(module, exports) {\n// Reference counter, useful for garbage collector like functionality\n\"use strict\";\n\nvar $eXmen = parcelRequire(\"eXmen\");\n\nvar $5twQR = parcelRequire(\"5twQR\");\nvar $516850099d9259ba$var$create = Object.create, $516850099d9259ba$var$defineProperties = Object.defineProperties;\n$5twQR.refCounter = function(ignore, conf, options) {\n var cache, postfix;\n cache = $516850099d9259ba$var$create(null);\n postfix = options.async && $5twQR.async || options.promise && $5twQR.promise ? \"async\" : \"\";\n conf.on(\"set\" + postfix, function(id, length) {\n cache[id] = length || 1;\n });\n conf.on(\"get\" + postfix, function(id) {\n ++cache[id];\n });\n conf.on(\"delete\" + postfix, function(id) {\n delete cache[id];\n });\n conf.on(\"clear\" + postfix, function() {\n cache = {};\n });\n $516850099d9259ba$var$defineProperties(conf.memoized, {\n deleteRef: $eXmen(function() {\n var id = conf.get(arguments);\n if (id === null) return null;\n if (!cache[id]) return null;\n if (!--cache[id]) {\n conf.delete(id);\n return true;\n }\n return false;\n }),\n getRefCount: $eXmen(function() {\n var id = conf.get(arguments);\n if (id === null) return 0;\n if (!cache[id]) return 0;\n return cache[id];\n })\n });\n};\n\n});\n\nparcelRegister(\"dOmbL\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $a0e12815be477d21$export$f8b9fb4db095815b);\n\nasync function $a0e12815be477d21$export$f8b9fb4db095815b(path) {\n try {\n await (0, $d7DIX$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $a0e12815be477d21$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($d7DIX$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRegister(\"awj79\", function(module, exports) {\n\"use strict\";\nvar $7a8bb83d1ba056f9$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($7a8bb83d1ba056f9$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRegister(\"fXZh0\", function(module, exports) {\n\nvar $b9fbe5501defe232$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */ function addLocale(locale, callable) {\n locales[locale] = callable;\n }\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($b9fbe5501defe232$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRegister(\"elyHp\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $ggaxg = parcelRequire(\"ggaxg\");\n\nvar $crMMK = parcelRequire(\"crMMK\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $a71df166cf79e30b$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $a71df166cf79e30b$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $a71df166cf79e30b$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $a71df166cf79e30b$var$timeDeltaFactory,\n addLocale: $a71df166cf79e30b$var$addLocale,\n defaultConfig: $a71df166cf79e30b$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $a71df166cf79e30b$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $a71df166cf79e30b$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $a71df166cf79e30b$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $a71df166cf79e30b$var$defaultConfig, config || {});\n return {\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $a71df166cf79e30b$var$format(firstDate, secondDate, options);\n }\n };\n}\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */ function $a71df166cf79e30b$var$format(firstDate, secondDate, config) {\n $a71df166cf79e30b$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $a71df166cf79e30b$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($a71df166cf79e30b$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\n}\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */ function $a71df166cf79e30b$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($a71df166cf79e30b$var$hasLocale(locale)) return;\n if ($crMMK && autoload) $a71df166cf79e30b$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $a71df166cf79e30b$var$hasLocale(localeId) {\n return Boolean($a71df166cf79e30b$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $a71df166cf79e30b$var$requireLocale(localeId) {\n try {\n $a71df166cf79e30b$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`);\n }\n}\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $a71df166cf79e30b$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $a71df166cf79e30b$var$timeUnits.some(function(unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\n}\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */ function $a71df166cf79e30b$var$pluralize(unit, value, config) {\n const unitTypeData = $a71df166cf79e30b$var$getLocaleDataForUnitType(config);\n const unitString = $ggaxg.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $a71df166cf79e30b$var$getLocaleDataForUnitType(config) {\n const localeData = $a71df166cf79e30b$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $a71df166cf79e30b$var$arrayUnique(lookupOrder);\n let unitTypeData = null;\n lookupOrder.some(function(unitType) {\n if (\"undefined\" !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $a71df166cf79e30b$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRegister(\"ggaxg\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"fXZh0\"));\n\n});\n\nparcelRegister(\"crMMK\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRegister(\"jrMr3\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $6UUXQ = parcelRequire(\"6UUXQ\");\n\nvar $4ojkK = parcelRequire(\"4ojkK\");\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $5Kc3o = parcelRequire(\"5Kc3o\");\n\nvar $3uxBW = parcelRequire(\"3uxBW\");\n\nvar $cdjlt = parcelRequire(\"cdjlt\");\n\nvar $edMUL = parcelRequire(\"edMUL\");\n\nvar $4QHs5 = parcelRequire(\"4QHs5\");\n\nvar $b7ZNe = parcelRequire(\"b7ZNe\");\n\nvar $3tcGr = parcelRequire(\"3tcGr\");\n\nvar $29YTh = parcelRequire(\"29YTh\");\n\nvar $5HQiF = parcelRequire(\"5HQiF\");\n\nvar $eKr8E = parcelRequire(\"eKr8E\");\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\n\nvar $k02ZJ = parcelRequire(\"k02ZJ\");\n\nvar $jSJWo = parcelRequire(\"jSJWo\");\n\nvar $3tYTc = parcelRequire(\"3tYTc\");\n\nvar $lXqm9 = parcelRequire(\"lXqm9\");\n\nvar $7opda = parcelRequire(\"7opda\");\n\nvar $e12Rv = parcelRequire(\"e12Rv\");\n\nvar $hb18N = parcelRequire(\"hb18N\");\n\nvar $hcLkw = parcelRequire(\"hcLkw\");\n\nvar $8qYh8 = parcelRequire(\"8qYh8\");\n\nvar $1MItZ = parcelRequire(\"1MItZ\");\n\nvar $ekDr6 = parcelRequire(\"ekDr6\");\n\nvar $dnnKg = parcelRequire(\"dnnKg\");\n\nvar $4F3T1 = parcelRequire(\"4F3T1\");\n\nvar $6K3XU = parcelRequire(\"6K3XU\");\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\n\nvar $fta4V = parcelRequire(\"fta4V\");\n\nvar $9xXeH = parcelRequire(\"9xXeH\");\n\nvar $8CAg3 = parcelRequire(\"8CAg3\");\n\nvar $cigJ0 = parcelRequire(\"cigJ0\");\n\nvar $5uMTr = parcelRequire(\"5uMTr\");\n\nvar $jlFkD = parcelRequire(\"jlFkD\");\n\nvar $bCYTf = parcelRequire(\"bCYTf\");\n\nvar $jXojG = parcelRequire(\"jXojG\");\n\nvar $gpcZS = parcelRequire(\"gpcZS\");\n\nvar $1U8CF = parcelRequire(\"1U8CF\");\n\nvar $cilv0 = parcelRequire(\"cilv0\");\n\nvar $a04bU = parcelRequire(\"a04bU\");\nmodule.exports = {\n parse: $3uxBW,\n valid: $cdjlt,\n clean: $edMUL,\n inc: $4QHs5,\n diff: $b7ZNe,\n major: $3tcGr,\n minor: $29YTh,\n patch: $5HQiF,\n prerelease: $eKr8E,\n compare: $5tbf8,\n rcompare: $k02ZJ,\n compareLoose: $jSJWo,\n compareBuild: $3tYTc,\n sort: $lXqm9,\n rsort: $7opda,\n gt: $e12Rv,\n lt: $hb18N,\n eq: $hcLkw,\n neq: $8qYh8,\n gte: $1MItZ,\n lte: $ekDr6,\n cmp: $dnnKg,\n coerce: $4F3T1,\n Comparator: $6K3XU,\n Range: $ggJh3,\n satisfies: $fta4V,\n toComparators: $9xXeH,\n maxSatisfying: $8CAg3,\n minSatisfying: $cigJ0,\n minVersion: $5uMTr,\n validRange: $jlFkD,\n outside: $bCYTf,\n gtr: $jXojG,\n ltr: $gpcZS,\n intersects: $1U8CF,\n simplifyRange: $cilv0,\n subset: $a04bU,\n SemVer: $lbpWb,\n re: $6UUXQ.re,\n src: $6UUXQ.src,\n tokens: $6UUXQ.t,\n SEMVER_SPEC_VERSION: $4ojkK.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $4ojkK.RELEASE_TYPES,\n compareIdentifiers: $5Kc3o.compareIdentifiers,\n rcompareIdentifiers: $5Kc3o.rcompareIdentifiers\n};\n\n});\nparcelRegister(\"6UUXQ\", function(module, exports) {\n\nvar $4ojkK = parcelRequire(\"4ojkK\");\nvar $509428f941de126a$require$MAX_SAFE_COMPONENT_LENGTH = $4ojkK.MAX_SAFE_COMPONENT_LENGTH;\nvar $509428f941de126a$require$MAX_SAFE_BUILD_LENGTH = $4ojkK.MAX_SAFE_BUILD_LENGTH;\nvar $509428f941de126a$require$MAX_LENGTH = $4ojkK.MAX_LENGTH;\n\nvar $eCCPy = parcelRequire(\"eCCPy\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $509428f941de126a$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $509428f941de126a$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $eCCPy(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCEPLAIN\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$509428f941de126a$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$509428f941de126a$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$509428f941de126a$require$MAX_SAFE_COMPONENT_LENGTH}}))?`);\ncreateToken(\"COERCE\", `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`);\ncreateToken(\"COERCEFULL\", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\ncreateToken(\"COERCERTLFULL\", src[t.COERCEFULL], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRegister(\"4ojkK\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $3328668fa7e25bf5$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $3328668fa7e25bf5$var$MAX_LENGTH = 256;\nconst $3328668fa7e25bf5$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $3328668fa7e25bf5$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $3328668fa7e25bf5$var$MAX_SAFE_BUILD_LENGTH = $3328668fa7e25bf5$var$MAX_LENGTH - 6;\nconst $3328668fa7e25bf5$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $3328668fa7e25bf5$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $3328668fa7e25bf5$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $3328668fa7e25bf5$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $3328668fa7e25bf5$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $3328668fa7e25bf5$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $3328668fa7e25bf5$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRegister(\"eCCPy\", function(module, exports) {\nconst $aa52bc3657d82534$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $aa52bc3657d82534$var$debug;\n\n});\n\n\nparcelRegister(\"lbpWb\", function(module, exports) {\n\nvar $eCCPy = parcelRequire(\"eCCPy\");\n\nvar $4ojkK = parcelRequire(\"4ojkK\");\nvar $f6bebeae01332b68$require$MAX_LENGTH = $4ojkK.MAX_LENGTH;\nvar $f6bebeae01332b68$require$MAX_SAFE_INTEGER = $4ojkK.MAX_SAFE_INTEGER;\n\nvar $6UUXQ = parcelRequire(\"6UUXQ\");\nvar $f6bebeae01332b68$require$re = $6UUXQ.safeRe;\nvar $f6bebeae01332b68$require$t = $6UUXQ.t;\n\nvar $fnN7l = parcelRequire(\"fnN7l\");\n\nvar $5Kc3o = parcelRequire(\"5Kc3o\");\nvar $f6bebeae01332b68$require$compareIdentifiers = $5Kc3o.compareIdentifiers;\nclass $f6bebeae01332b68$var$SemVer {\n constructor(version, options){\n options = $fnN7l(options);\n if (version instanceof $f6bebeae01332b68$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $f6bebeae01332b68$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$f6bebeae01332b68$require$MAX_LENGTH} characters`);\n $eCCPy(\"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 const m = version.trim().match(options.loose ? $f6bebeae01332b68$require$re[$f6bebeae01332b68$require$t.LOOSE] : $f6bebeae01332b68$require$re[$f6bebeae01332b68$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $f6bebeae01332b68$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $f6bebeae01332b68$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $f6bebeae01332b68$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $f6bebeae01332b68$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $eCCPy(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $f6bebeae01332b68$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $f6bebeae01332b68$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $f6bebeae01332b68$var$SemVer)) other = new $f6bebeae01332b68$var$SemVer(other, this.options);\n return $f6bebeae01332b68$require$compareIdentifiers(this.major, other.major) || $f6bebeae01332b68$require$compareIdentifiers(this.minor, other.minor) || $f6bebeae01332b68$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $f6bebeae01332b68$var$SemVer)) other = new $f6bebeae01332b68$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $eCCPy(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $f6bebeae01332b68$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $f6bebeae01332b68$var$SemVer)) other = new $f6bebeae01332b68$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $eCCPy(\"build compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $f6bebeae01332b68$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($f6bebeae01332b68$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $f6bebeae01332b68$var$SemVer;\n\n});\nparcelRegister(\"fnN7l\", function(module, exports) {\n// parse out just the options we care about\nconst $b32f1aadda1f386d$var$looseOption = Object.freeze({\n loose: true\n});\nconst $b32f1aadda1f386d$var$emptyOpts = Object.freeze({});\nconst $b32f1aadda1f386d$var$parseOptions = (options)=>{\n if (!options) return $b32f1aadda1f386d$var$emptyOpts;\n if (typeof options !== \"object\") return $b32f1aadda1f386d$var$looseOption;\n return options;\n};\nmodule.exports = $b32f1aadda1f386d$var$parseOptions;\n\n});\n\nparcelRegister(\"5Kc3o\", function(module, exports) {\nconst $42ea9942063b5568$var$numeric = /^[0-9]+$/;\nconst $42ea9942063b5568$var$compareIdentifiers = (a, b)=>{\n const anum = $42ea9942063b5568$var$numeric.test(a);\n const bnum = $42ea9942063b5568$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $42ea9942063b5568$var$rcompareIdentifiers = (a, b)=>$42ea9942063b5568$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $42ea9942063b5568$var$compareIdentifiers,\n rcompareIdentifiers: $42ea9942063b5568$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRegister(\"3uxBW\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\nconst $28ae3ee2c468d79d$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $lbpWb) return version;\n try {\n return new $lbpWb(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $28ae3ee2c468d79d$var$parse;\n\n});\n\nparcelRegister(\"cdjlt\", function(module, exports) {\n\nvar $3uxBW = parcelRequire(\"3uxBW\");\nconst $8e45b4850fb5e215$var$valid = (version, options)=>{\n const v = $3uxBW(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $8e45b4850fb5e215$var$valid;\n\n});\n\nparcelRegister(\"edMUL\", function(module, exports) {\n\nvar $3uxBW = parcelRequire(\"3uxBW\");\nconst $a5a838fcc4b18306$var$clean = (version, options)=>{\n const s = $3uxBW(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $a5a838fcc4b18306$var$clean;\n\n});\n\nparcelRegister(\"4QHs5\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\nconst $387db96f54af8d65$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $lbpWb(version instanceof $lbpWb ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $387db96f54af8d65$var$inc;\n\n});\n\nparcelRegister(\"b7ZNe\", function(module, exports) {\n\nvar $3uxBW = parcelRequire(\"3uxBW\");\nconst $81a047ff00eabe4e$var$diff = (version1, version2)=>{\n const v1 = $3uxBW(version1, null, true);\n const v2 = $3uxBW(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $81a047ff00eabe4e$var$diff;\n\n});\n\nparcelRegister(\"3tcGr\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\nconst $286deb33f6ce8095$var$major = (a, loose)=>new $lbpWb(a, loose).major;\nmodule.exports = $286deb33f6ce8095$var$major;\n\n});\n\nparcelRegister(\"29YTh\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\nconst $192ba7a3e01347b5$var$minor = (a, loose)=>new $lbpWb(a, loose).minor;\nmodule.exports = $192ba7a3e01347b5$var$minor;\n\n});\n\nparcelRegister(\"5HQiF\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\nconst $4279899efc7229f1$var$patch = (a, loose)=>new $lbpWb(a, loose).patch;\nmodule.exports = $4279899efc7229f1$var$patch;\n\n});\n\nparcelRegister(\"eKr8E\", function(module, exports) {\n\nvar $3uxBW = parcelRequire(\"3uxBW\");\nconst $abca69b6938840a3$var$prerelease = (version, options)=>{\n const parsed = $3uxBW(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $abca69b6938840a3$var$prerelease;\n\n});\n\nparcelRegister(\"5tbf8\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\nconst $3fb861d1287565ef$var$compare = (a, b, loose)=>new $lbpWb(a, loose).compare(new $lbpWb(b, loose));\nmodule.exports = $3fb861d1287565ef$var$compare;\n\n});\n\nparcelRegister(\"k02ZJ\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $e8f62168f2fc49b2$var$rcompare = (a, b, loose)=>$5tbf8(b, a, loose);\nmodule.exports = $e8f62168f2fc49b2$var$rcompare;\n\n});\n\nparcelRegister(\"jSJWo\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $e796b25c14a8d98b$var$compareLoose = (a, b)=>$5tbf8(a, b, true);\nmodule.exports = $e796b25c14a8d98b$var$compareLoose;\n\n});\n\nparcelRegister(\"3tYTc\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\nconst $28934fe5b05c3553$var$compareBuild = (a, b, loose)=>{\n const versionA = new $lbpWb(a, loose);\n const versionB = new $lbpWb(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $28934fe5b05c3553$var$compareBuild;\n\n});\n\nparcelRegister(\"lXqm9\", function(module, exports) {\n\nvar $3tYTc = parcelRequire(\"3tYTc\");\nconst $ffc38d79454ceefd$var$sort = (list, loose)=>list.sort((a, b)=>$3tYTc(a, b, loose));\nmodule.exports = $ffc38d79454ceefd$var$sort;\n\n});\n\nparcelRegister(\"7opda\", function(module, exports) {\n\nvar $3tYTc = parcelRequire(\"3tYTc\");\nconst $561e54bc7fc90dd8$var$rsort = (list, loose)=>list.sort((a, b)=>$3tYTc(b, a, loose));\nmodule.exports = $561e54bc7fc90dd8$var$rsort;\n\n});\n\nparcelRegister(\"e12Rv\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $a3436107a93d6d4b$var$gt = (a, b, loose)=>$5tbf8(a, b, loose) > 0;\nmodule.exports = $a3436107a93d6d4b$var$gt;\n\n});\n\nparcelRegister(\"hb18N\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $c814594c3c22c201$var$lt = (a, b, loose)=>$5tbf8(a, b, loose) < 0;\nmodule.exports = $c814594c3c22c201$var$lt;\n\n});\n\nparcelRegister(\"hcLkw\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $c868456a37a1d04f$var$eq = (a, b, loose)=>$5tbf8(a, b, loose) === 0;\nmodule.exports = $c868456a37a1d04f$var$eq;\n\n});\n\nparcelRegister(\"8qYh8\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $623f81d9205fd4a1$var$neq = (a, b, loose)=>$5tbf8(a, b, loose) !== 0;\nmodule.exports = $623f81d9205fd4a1$var$neq;\n\n});\n\nparcelRegister(\"1MItZ\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $14ccc776187af4c6$var$gte = (a, b, loose)=>$5tbf8(a, b, loose) >= 0;\nmodule.exports = $14ccc776187af4c6$var$gte;\n\n});\n\nparcelRegister(\"ekDr6\", function(module, exports) {\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nconst $a6f186265cd38866$var$lte = (a, b, loose)=>$5tbf8(a, b, loose) <= 0;\nmodule.exports = $a6f186265cd38866$var$lte;\n\n});\n\nparcelRegister(\"dnnKg\", function(module, exports) {\n\nvar $hcLkw = parcelRequire(\"hcLkw\");\n\nvar $8qYh8 = parcelRequire(\"8qYh8\");\n\nvar $e12Rv = parcelRequire(\"e12Rv\");\n\nvar $1MItZ = parcelRequire(\"1MItZ\");\n\nvar $hb18N = parcelRequire(\"hb18N\");\n\nvar $ekDr6 = parcelRequire(\"ekDr6\");\nconst $9bcfd7a13aa5088b$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $hcLkw(a, b, loose);\n case \"!=\":\n return $8qYh8(a, b, loose);\n case \">\":\n return $e12Rv(a, b, loose);\n case \">=\":\n return $1MItZ(a, b, loose);\n case \"<\":\n return $hb18N(a, b, loose);\n case \"<=\":\n return $ekDr6(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $9bcfd7a13aa5088b$var$cmp;\n\n});\n\nparcelRegister(\"4F3T1\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $3uxBW = parcelRequire(\"3uxBW\");\n\nvar $6UUXQ = parcelRequire(\"6UUXQ\");\nvar $364e01881da143a1$require$re = $6UUXQ.safeRe;\nvar $364e01881da143a1$require$t = $6UUXQ.t;\nconst $364e01881da143a1$var$coerce = (version, options)=>{\n if (version instanceof $lbpWb) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match(options.includePrerelease ? $364e01881da143a1$require$re[$364e01881da143a1$require$t.COERCEFULL] : $364e01881da143a1$require$re[$364e01881da143a1$require$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 // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.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 const coerceRtlRegex = options.includePrerelease ? $364e01881da143a1$require$re[$364e01881da143a1$require$t.COERCERTLFULL] : $364e01881da143a1$require$re[$364e01881da143a1$require$t.COERCERTL];\n let next;\n while((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1;\n }\n if (match === null) return null;\n const major = match[2];\n const minor = match[3] || \"0\";\n const patch = match[4] || \"0\";\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : \"\";\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : \"\";\n return $3uxBW(`${major}.${minor}.${patch}${prerelease}${build}`, options);\n};\nmodule.exports = $364e01881da143a1$var$coerce;\n\n});\n\nparcelRegister(\"6K3XU\", function(module, exports) {\nconst $4e8a1d60ff1ee511$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $4e8a1d60ff1ee511$var$Comparator {\n static get ANY() {\n return $4e8a1d60ff1ee511$var$ANY;\n }\n constructor(comp, options){\n options = $fnN7l(options);\n if (comp instanceof $4e8a1d60ff1ee511$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $eCCPy(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $4e8a1d60ff1ee511$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $eCCPy(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $4e8a1d60ff1ee511$require$re[$4e8a1d60ff1ee511$require$t.COMPARATORLOOSE] : $4e8a1d60ff1ee511$require$re[$4e8a1d60ff1ee511$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $4e8a1d60ff1ee511$var$ANY;\n else this.semver = new $lbpWb(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $eCCPy(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $4e8a1d60ff1ee511$var$ANY || version === $4e8a1d60ff1ee511$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $lbpWb(version, this.options);\n } catch (er) {\n return false;\n }\n return $dnnKg(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $4e8a1d60ff1ee511$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $ggJh3(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $ggJh3(this.value, options).test(comp.semver);\n }\n options = $fnN7l(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($dnnKg(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($dnnKg(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $4e8a1d60ff1ee511$var$Comparator;\n\nvar $fnN7l = parcelRequire(\"fnN7l\");\n\nvar $6UUXQ = parcelRequire(\"6UUXQ\");\nvar $4e8a1d60ff1ee511$require$re = $6UUXQ.safeRe;\nvar $4e8a1d60ff1ee511$require$t = $6UUXQ.t;\n\nvar $dnnKg = parcelRequire(\"dnnKg\");\n\nvar $eCCPy = parcelRequire(\"eCCPy\");\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\n\n});\nparcelRegister(\"ggJh3\", function(module, exports) {\nconst $bd8142734ffe07e3$var$SPACE_CHARACTERS = /\\s+/g;\n// hoisted class for cyclic dependency\nclass $bd8142734ffe07e3$var$Range {\n constructor(range, options){\n options = $fnN7l(options);\n if (range instanceof $bd8142734ffe07e3$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $bd8142734ffe07e3$var$Range(range.raw, options);\n }\n if (range instanceof $6K3XU) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.formatted = undefined;\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace($bd8142734ffe07e3$var$SPACE_CHARACTERS, \" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$bd8142734ffe07e3$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $bd8142734ffe07e3$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.formatted = undefined;\n }\n get range() {\n if (this.formatted === undefined) {\n this.formatted = \"\";\n for(let i = 0; i < this.set.length; i++){\n if (i > 0) this.formatted += \"||\";\n const comps = this.set[i];\n for(let k = 0; k < comps.length; k++){\n if (k > 0) this.formatted += \" \";\n this.formatted += comps[k].toString().trim();\n }\n }\n }\n return this.formatted;\n }\n format() {\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $bd8142734ffe07e3$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $bd8142734ffe07e3$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $bd8142734ffe07e3$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.HYPHENRANGELOOSE] : $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.HYPHENRANGE];\n range = range.replace(hr, $bd8142734ffe07e3$var$hyphenReplace(this.options.includePrerelease));\n $eCCPy(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.COMPARATORTRIM], $bd8142734ffe07e3$require$comparatorTrimReplace);\n $eCCPy(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.TILDETRIM], $bd8142734ffe07e3$require$tildeTrimReplace);\n $eCCPy(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.CARETTRIM], $bd8142734ffe07e3$require$caretTrimReplace);\n $eCCPy(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$bd8142734ffe07e3$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$bd8142734ffe07e3$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $eCCPy(\"loose invalid filter\", comp, this.options);\n return !!comp.match($bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.COMPARATORLOOSE]);\n });\n $eCCPy(\"range list\", rangeList);\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map();\n const comparators = rangeList.map((comp)=>new $6K3XU(comp, this.options));\n for (const comp of comparators){\n if ($bd8142734ffe07e3$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $bd8142734ffe07e3$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $bd8142734ffe07e3$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $bd8142734ffe07e3$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $bd8142734ffe07e3$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $lbpWb(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($bd8142734ffe07e3$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $bd8142734ffe07e3$var$Range;\n\nvar $KrBiD = parcelRequire(\"KrBiD\");\nconst $bd8142734ffe07e3$var$cache = new $KrBiD();\n\nvar $fnN7l = parcelRequire(\"fnN7l\");\n\nvar $6K3XU = parcelRequire(\"6K3XU\");\n\nvar $eCCPy = parcelRequire(\"eCCPy\");\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $6UUXQ = parcelRequire(\"6UUXQ\");\nvar $bd8142734ffe07e3$require$re = $6UUXQ.safeRe;\nvar $bd8142734ffe07e3$require$t = $6UUXQ.t;\nvar $bd8142734ffe07e3$require$comparatorTrimReplace = $6UUXQ.comparatorTrimReplace;\nvar $bd8142734ffe07e3$require$tildeTrimReplace = $6UUXQ.tildeTrimReplace;\nvar $bd8142734ffe07e3$require$caretTrimReplace = $6UUXQ.caretTrimReplace;\n\nvar $4ojkK = parcelRequire(\"4ojkK\");\nvar $bd8142734ffe07e3$require$FLAG_INCLUDE_PRERELEASE = $4ojkK.FLAG_INCLUDE_PRERELEASE;\nvar $bd8142734ffe07e3$require$FLAG_LOOSE = $4ojkK.FLAG_LOOSE;\nconst $bd8142734ffe07e3$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $bd8142734ffe07e3$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $bd8142734ffe07e3$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $bd8142734ffe07e3$var$parseComparator = (comp, options)=>{\n $eCCPy(\"comp\", comp, options);\n comp = $bd8142734ffe07e3$var$replaceCarets(comp, options);\n $eCCPy(\"caret\", comp);\n comp = $bd8142734ffe07e3$var$replaceTildes(comp, options);\n $eCCPy(\"tildes\", comp);\n comp = $bd8142734ffe07e3$var$replaceXRanges(comp, options);\n $eCCPy(\"xrange\", comp);\n comp = $bd8142734ffe07e3$var$replaceStars(comp, options);\n $eCCPy(\"stars\", comp);\n return comp;\n};\nconst $bd8142734ffe07e3$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $bd8142734ffe07e3$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$bd8142734ffe07e3$var$replaceTilde(c, options)).join(\" \");\n};\nconst $bd8142734ffe07e3$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.TILDELOOSE] : $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $eCCPy(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($bd8142734ffe07e3$var$isX(M)) ret = \"\";\n else if ($bd8142734ffe07e3$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($bd8142734ffe07e3$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $eCCPy(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $eCCPy(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $bd8142734ffe07e3$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$bd8142734ffe07e3$var$replaceCaret(c, options)).join(\" \");\n};\nconst $bd8142734ffe07e3$var$replaceCaret = (comp, options)=>{\n $eCCPy(\"caret\", comp, options);\n const r = options.loose ? $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.CARETLOOSE] : $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $eCCPy(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($bd8142734ffe07e3$var$isX(M)) ret = \"\";\n else if ($bd8142734ffe07e3$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($bd8142734ffe07e3$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $eCCPy(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $eCCPy(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $eCCPy(\"caret return\", ret);\n return ret;\n });\n};\nconst $bd8142734ffe07e3$var$replaceXRanges = (comp, options)=>{\n $eCCPy(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$bd8142734ffe07e3$var$replaceXRange(c, options)).join(\" \");\n};\nconst $bd8142734ffe07e3$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.XRANGELOOSE] : $bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $eCCPy(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $bd8142734ffe07e3$var$isX(M);\n const xm = xM || $bd8142734ffe07e3$var$isX(m);\n const xp = xm || $bd8142734ffe07e3$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $eCCPy(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $bd8142734ffe07e3$var$replaceStars = (comp, options)=>{\n $eCCPy(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($bd8142734ffe07e3$require$re[$bd8142734ffe07e3$require$t.STAR], \"\");\n};\nconst $bd8142734ffe07e3$var$replaceGTE0 = (comp, options)=>{\n $eCCPy(\"replaceGTE0\", comp, options);\n return comp.trim().replace($bd8142734ffe07e3$require$re[options.includePrerelease ? $bd8142734ffe07e3$require$t.GTE0PRE : $bd8142734ffe07e3$require$t.GTE0], \"\");\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\n// TODO build?\nconst $bd8142734ffe07e3$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr)=>{\n if ($bd8142734ffe07e3$var$isX(fM)) from = \"\";\n else if ($bd8142734ffe07e3$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($bd8142734ffe07e3$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($bd8142734ffe07e3$var$isX(tM)) to = \"\";\n else if ($bd8142734ffe07e3$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($bd8142734ffe07e3$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $bd8142734ffe07e3$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $eCCPy(set[i].semver);\n if (set[i].semver === $6K3XU.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRegister(\"KrBiD\", function(module, exports) {\nclass $08b9b4e5e74f4c66$var$LRUCache {\n constructor(){\n this.max = 1000;\n this.map = new Map();\n }\n get(key) {\n const value = this.map.get(key);\n if (value === undefined) return undefined;\n else {\n // Remove the key from the map and add it to the end\n this.map.delete(key);\n this.map.set(key, value);\n return value;\n }\n }\n delete(key) {\n return this.map.delete(key);\n }\n set(key, value) {\n const deleted = this.delete(key);\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value;\n this.delete(firstKey);\n }\n this.map.set(key, value);\n }\n return this;\n }\n}\nmodule.exports = $08b9b4e5e74f4c66$var$LRUCache;\n\n});\n\n\n\nparcelRegister(\"fta4V\", function(module, exports) {\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\nconst $b43161cf385a33e7$var$satisfies = (version, range, options)=>{\n try {\n range = new $ggJh3(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $b43161cf385a33e7$var$satisfies;\n\n});\n\nparcelRegister(\"9xXeH\", function(module, exports) {\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\n// Mostly just for testing and legacy API reasons\nconst $6f3525288de189bf$var$toComparators = (range, options)=>new $ggJh3(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $6f3525288de189bf$var$toComparators;\n\n});\n\nparcelRegister(\"8CAg3\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\nconst $646dff65c1424688$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $ggJh3(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $lbpWb(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $646dff65c1424688$var$maxSatisfying;\n\n});\n\nparcelRegister(\"cigJ0\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\nconst $8f3423ac20ac375e$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $ggJh3(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $lbpWb(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $8f3423ac20ac375e$var$minSatisfying;\n\n});\n\nparcelRegister(\"5uMTr\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\n\nvar $e12Rv = parcelRequire(\"e12Rv\");\nconst $4005ae3de7293118$var$minVersion = (range, loose)=>{\n range = new $ggJh3(range, loose);\n let minver = new $lbpWb(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $lbpWb(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $lbpWb(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $e12Rv(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $e12Rv(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $4005ae3de7293118$var$minVersion;\n\n});\n\nparcelRegister(\"jlFkD\", function(module, exports) {\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\nconst $e1600a1c29a24ed3$var$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 $ggJh3(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $e1600a1c29a24ed3$var$validRange;\n\n});\n\nparcelRegister(\"bCYTf\", function(module, exports) {\n\nvar $lbpWb = parcelRequire(\"lbpWb\");\n\nvar $6K3XU = parcelRequire(\"6K3XU\");\nconst { ANY: $877279cca35d9e65$var$ANY } = $6K3XU;\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\n\nvar $fta4V = parcelRequire(\"fta4V\");\n\nvar $e12Rv = parcelRequire(\"e12Rv\");\n\nvar $hb18N = parcelRequire(\"hb18N\");\n\nvar $ekDr6 = parcelRequire(\"ekDr6\");\n\nvar $1MItZ = parcelRequire(\"1MItZ\");\nconst $877279cca35d9e65$var$outside = (version, range, hilo, options)=>{\n version = new $lbpWb(version, options);\n range = new $ggJh3(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $e12Rv;\n ltefn = $ekDr6;\n ltfn = $hb18N;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $hb18N;\n ltefn = $1MItZ;\n ltfn = $e12Rv;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($fta4V(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $877279cca35d9e65$var$ANY) comparator = new $6K3XU(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $877279cca35d9e65$var$outside;\n\n});\n\nparcelRegister(\"jXojG\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $bCYTf = parcelRequire(\"bCYTf\");\nconst $e87663ba93a129fe$var$gtr = (version, range, options)=>$bCYTf(version, range, \">\", options);\nmodule.exports = $e87663ba93a129fe$var$gtr;\n\n});\n\nparcelRegister(\"gpcZS\", function(module, exports) {\n\nvar $bCYTf = parcelRequire(\"bCYTf\");\n// Determine if version is less than all the versions possible in the range\nconst $bf19101201057b48$var$ltr = (version, range, options)=>$bCYTf(version, range, \"<\", options);\nmodule.exports = $bf19101201057b48$var$ltr;\n\n});\n\nparcelRegister(\"1U8CF\", function(module, exports) {\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\nconst $1631b5b421be0331$var$intersects = (r1, r2, options)=>{\n r1 = new $ggJh3(r1, options);\n r2 = new $ggJh3(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $1631b5b421be0331$var$intersects;\n\n});\n\nparcelRegister(\"cilv0\", function(module, exports) {\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.\n\nvar $fta4V = parcelRequire(\"fta4V\");\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$5tbf8(a, b, options));\n for (const version of v){\n const included = $fta4V(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else 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\n});\n\nparcelRegister(\"a04bU\", function(module, exports) {\n\nvar $ggJh3 = parcelRequire(\"ggJh3\");\n\nvar $6K3XU = parcelRequire(\"6K3XU\");\nconst { ANY: $747d27bcf0579193$var$ANY } = $6K3XU;\n\nvar $fta4V = parcelRequire(\"fta4V\");\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\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\nconst $747d27bcf0579193$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $ggJh3(sub, options);\n dom = new $ggJh3(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $747d27bcf0579193$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) 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) return false;\n }\n return true;\n};\nconst $747d27bcf0579193$var$minimumVersionWithPreRelease = [\n new $6K3XU(\">=0.0.0-0\")\n];\nconst $747d27bcf0579193$var$minimumVersion = [\n new $6K3XU(\">=0.0.0\")\n];\nconst $747d27bcf0579193$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $747d27bcf0579193$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $747d27bcf0579193$var$ANY) return true;\n else if (options.includePrerelease) sub = $747d27bcf0579193$var$minimumVersionWithPreRelease;\n else sub = $747d27bcf0579193$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $747d27bcf0579193$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $747d27bcf0579193$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $747d27bcf0579193$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $747d27bcf0579193$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $5tbf8(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$fta4V(eq, String(gt), options)) return null;\n if (lt && !$fta4V(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$fta4V(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $747d27bcf0579193$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$fta4V(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $747d27bcf0579193$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$fta4V(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $747d27bcf0579193$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $5tbf8(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $747d27bcf0579193$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $5tbf8(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $747d27bcf0579193$var$subset;\n\n});\n\n\nparcelRegister(\"ceI0e\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $c4a4e66c88c6a351$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $c4a4e66c88c6a351$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $c4a4e66c88c6a351$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $d7DIX$path.dirname);\n$parcel$export(module.exports, \"join\", () => $d7DIX$path.join);\n\n\nvar $9ag04 = parcelRequire(\"9ag04\");\n\nvar $923E2 = parcelRequire(\"923E2\");\nfunction $c4a4e66c88c6a351$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $c4a4e66c88c6a351$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $c4a4e66c88c6a351$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $d7DIX$path.basename)(e) : (0, $d7DIX$path.basename)(e, (0, $d7DIX$path.extname)(e));\n}\nfunction $c4a4e66c88c6a351$export$873fead74fe2f1ff(e) {\n return (0, $d7DIX$path.normalize)(e).replace(RegExp((0, $9ag04.default)((0, $d7DIX$path.sep)) + \"$\"), \"\");\n}\nfunction $c4a4e66c88c6a351$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $c4a4e66c88c6a351$export$3e333f8cb13439c(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${a}${(0, $d7DIX$path.basename)(e, r)}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${(0, $d7DIX$path.basename)(e, r)}${a}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $c4a4e66c88c6a351$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $c4a4e66c88c6a351$export$19c5468f88f6e968(e) {\n const a = (0, $d7DIX$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $c4a4e66c88c6a351$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($923E2)))(e, a);\n}\nfunction $c4a4e66c88c6a351$export$7d0573375890d05c(e, a) {\n const r = (0, $d7DIX$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $d7DIX$path.sep)) || r === (0, $d7DIX$path.resolve)(e));\n}\nvar $c4a4e66c88c6a351$var$O = {}, $c4a4e66c88c6a351$var$R = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$R, \"name\", ()=>$c4a4e66c88c6a351$export$a8ff84c12d48cfa6);\nvar $c4a4e66c88c6a351$var$A = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$A, \"normalizeTrim\", ()=>$c4a4e66c88c6a351$export$873fead74fe2f1ff);\nvar $c4a4e66c88c6a351$var$I = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$I, \"addExeExt\", ()=>$c4a4e66c88c6a351$export$2d20c564cade3c93);\nvar $c4a4e66c88c6a351$var$T = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$T, \"addNamePrefix\", ()=>$c4a4e66c88c6a351$export$3e333f8cb13439c);\nvar $c4a4e66c88c6a351$var$_ = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$_, \"addNameSuffix\", ()=>$c4a4e66c88c6a351$export$3b60a3e9bd1aef9d);\nvar $c4a4e66c88c6a351$var$k = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$k, \"addShExt\", ()=>$c4a4e66c88c6a351$export$609be29b80b555e1);\nvar $c4a4e66c88c6a351$var$M = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$M, \"addShRelativePrefix\", ()=>$c4a4e66c88c6a351$export$e1f23f8d3e53fe6);\nvar $c4a4e66c88c6a351$var$W = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$W, \"removeExt\", ()=>$c4a4e66c88c6a351$export$19c5468f88f6e968);\nvar $c4a4e66c88c6a351$var$q = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$q, \"replaceExt\", ()=>$c4a4e66c88c6a351$export$e9c34737ac8e53d2);\nvar $c4a4e66c88c6a351$var$B = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$B, \"isPathInside\", ()=>$c4a4e66c88c6a351$export$7d0573375890d05c), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$R), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$A), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$I), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$T), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$_), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$k), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$M), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$W), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$q), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$B);\n\n});\nparcelRegister(\"9ag04\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $6ac1758338af6957$export$2e2bcd8739ae039);\nfunction $6ac1758338af6957$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRegister(\"923E2\", function(module, exports) {\n\"use strict\";\n\nfunction $693720bda980a8cc$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $d7DIX$path.basename(npath, $d7DIX$path.extname(npath)) + ext;\n var nFilepath = $d7DIX$path.join($d7DIX$path.dirname(npath), nFileName);\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if ($693720bda980a8cc$var$startsWithSingleDot(npath)) return \".\" + $d7DIX$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $693720bda980a8cc$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $d7DIX$path.sep || first2chars === \"./\";\n}\nmodule.exports = $693720bda980a8cc$var$replaceExt;\n\n});\n\n\nparcelRegister(\"fcBgE\", function(module, exports) {\n\"use strict\";\nvar $b114e28ec2b1dab2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $b114e28ec2b1dab2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $b114e28ec2b1dab2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $b114e28ec2b1dab2$var$__createBinding(result, mod, k);\n }\n $b114e28ec2b1dab2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b114e28ec2b1dab2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $b114e28ec2b1dab2$var$path = $b114e28ec2b1dab2$var$__importStar($d7DIX$path);\n\nconst $b114e28ec2b1dab2$var$ioUtil = $b114e28ec2b1dab2$var$__importStar((parcelRequire(\"ejt9m\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $b114e28ec2b1dab2$var$cp(source, dest, options = {}) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $b114e28ec2b1dab2$var$readCopyOptions(options);\n const destStat = (yield $b114e28ec2b1dab2$var$ioUtil.exists(dest)) ? yield $b114e28ec2b1dab2$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $b114e28ec2b1dab2$var$path.join(dest, $b114e28ec2b1dab2$var$path.basename(source)) : dest;\n if (!(yield $b114e28ec2b1dab2$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $b114e28ec2b1dab2$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $b114e28ec2b1dab2$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($b114e28ec2b1dab2$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $b114e28ec2b1dab2$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $b114e28ec2b1dab2$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $b114e28ec2b1dab2$var$mv(source, dest, options = {}) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $b114e28ec2b1dab2$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $b114e28ec2b1dab2$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $b114e28ec2b1dab2$var$path.join(dest, $b114e28ec2b1dab2$var$path.basename(source));\n destExists = yield $b114e28ec2b1dab2$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $b114e28ec2b1dab2$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $b114e28ec2b1dab2$var$mkdirP($b114e28ec2b1dab2$var$path.dirname(dest));\n yield $b114e28ec2b1dab2$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $b114e28ec2b1dab2$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $b114e28ec2b1dab2$var$rmRF(inputPath) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if ($b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $b114e28ec2b1dab2$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $b114e28ec2b1dab2$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $b114e28ec2b1dab2$var$mkdirP(fsPath) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok(fsPath, \"a path argument must be provided\");\n yield $b114e28ec2b1dab2$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $b114e28ec2b1dab2$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $b114e28ec2b1dab2$var$which(tool, check) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $b114e28ec2b1dab2$var$which(tool, false);\n if (!result) {\n if ($b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $b114e28ec2b1dab2$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $b114e28ec2b1dab2$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $b114e28ec2b1dab2$var$findInPath(tool) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($b114e28ec2b1dab2$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($b114e28ec2b1dab2$var$ioUtil.isRooted(tool)) {\n const filePath = yield $b114e28ec2b1dab2$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($b114e28ec2b1dab2$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($b114e28ec2b1dab2$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $b114e28ec2b1dab2$var$ioUtil.tryGetExecutablePath($b114e28ec2b1dab2$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $b114e28ec2b1dab2$var$findInPath;\nfunction $b114e28ec2b1dab2$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $b114e28ec2b1dab2$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $b114e28ec2b1dab2$var$mkdirP(destDir);\n const files = yield $b114e28ec2b1dab2$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $b114e28ec2b1dab2$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $b114e28ec2b1dab2$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $b114e28ec2b1dab2$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $b114e28ec2b1dab2$var$ioUtil.chmod(destDir, (yield $b114e28ec2b1dab2$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $b114e28ec2b1dab2$var$copyFile(srcFile, destFile, force) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $b114e28ec2b1dab2$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $b114e28ec2b1dab2$var$ioUtil.lstat(destFile);\n yield $b114e28ec2b1dab2$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $b114e28ec2b1dab2$var$ioUtil.chmod(destFile, \"0666\");\n yield $b114e28ec2b1dab2$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $b114e28ec2b1dab2$var$ioUtil.readlink(srcFile);\n yield $b114e28ec2b1dab2$var$ioUtil.symlink(symlinkFull, destFile, $b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $b114e28ec2b1dab2$var$ioUtil.exists(destFile)) || force) yield $b114e28ec2b1dab2$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRegister(\"ejt9m\", function(module, exports) {\n\"use strict\";\nvar $a6b97397ae88c6aa$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a6b97397ae88c6aa$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a6b97397ae88c6aa$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a6b97397ae88c6aa$var$__createBinding(result, mod, k);\n }\n $a6b97397ae88c6aa$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $a6b97397ae88c6aa$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $a6b97397ae88c6aa$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $a6b97397ae88c6aa$var$fs = $a6b97397ae88c6aa$var$__importStar($d7DIX$fs);\n\nconst $a6b97397ae88c6aa$var$path = $a6b97397ae88c6aa$var$__importStar($d7DIX$path);\n$a6b97397ae88c6aa$var$_a = $a6b97397ae88c6aa$var$fs.promises, module.exports.chmod = $a6b97397ae88c6aa$var$_a.chmod, module.exports.copyFile = $a6b97397ae88c6aa$var$_a.copyFile, module.exports.lstat = $a6b97397ae88c6aa$var$_a.lstat, module.exports.mkdir = $a6b97397ae88c6aa$var$_a.mkdir, module.exports.open = $a6b97397ae88c6aa$var$_a.open, module.exports.readdir = $a6b97397ae88c6aa$var$_a.readdir, module.exports.readlink = $a6b97397ae88c6aa$var$_a.readlink, module.exports.rename = $a6b97397ae88c6aa$var$_a.rename, module.exports.rm = $a6b97397ae88c6aa$var$_a.rm, module.exports.rmdir = $a6b97397ae88c6aa$var$_a.rmdir, module.exports.stat = $a6b97397ae88c6aa$var$_a.stat, module.exports.symlink = $a6b97397ae88c6aa$var$_a.symlink, module.exports.unlink = $a6b97397ae88c6aa$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $a6b97397ae88c6aa$var$fs.constants.O_RDONLY;\nfunction $a6b97397ae88c6aa$var$exists(fsPath) {\n return $a6b97397ae88c6aa$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $a6b97397ae88c6aa$var$exists;\nfunction $a6b97397ae88c6aa$var$isDirectory(fsPath, useStat = false) {\n return $a6b97397ae88c6aa$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $a6b97397ae88c6aa$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $a6b97397ae88c6aa$var$isRooted(p) {\n p = $a6b97397ae88c6aa$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $a6b97397ae88c6aa$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $a6b97397ae88c6aa$var$tryGetExecutablePath(filePath, extensions) {\n return $a6b97397ae88c6aa$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $a6b97397ae88c6aa$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($a6b97397ae88c6aa$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $a6b97397ae88c6aa$var$path.dirname(filePath);\n const upperName = $a6b97397ae88c6aa$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $a6b97397ae88c6aa$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($a6b97397ae88c6aa$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $a6b97397ae88c6aa$var$tryGetExecutablePath;\nfunction $a6b97397ae88c6aa$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $a6b97397ae88c6aa$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $a6b97397ae88c6aa$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $a6b97397ae88c6aa$var$getCmdPath;\n\n});\n\n\nparcelRegister(\"ktIRP\", function(module, exports) {\n\"use strict\";\nvar $ee8951c0913480f3$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ee8951c0913480f3$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ee8951c0913480f3$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ee8951c0913480f3$var$__createBinding(result, mod, k);\n }\n $ee8951c0913480f3$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ee8951c0913480f3$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $ee8951c0913480f3$var$semver = $ee8951c0913480f3$var$__importStar((parcelRequire(\"aNgTs\")));\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\n\n\nfunction $ee8951c0913480f3$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $ee8951c0913480f3$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $d7DIX$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $9yJgU.debug(`check ${version} satisfies ${versionSpec}`);\n if ($ee8951c0913480f3$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $9yJgU.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $ee8951c0913480f3$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $9yJgU.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $ee8951c0913480f3$var$_findMatch;\nfunction $ee8951c0913480f3$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $d7DIX$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $d7DIX$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $ee8951c0913480f3$var$_getOsVersion;\nfunction $ee8951c0913480f3$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($d7DIX$fs.existsSync(lsbReleaseFile)) contents = $d7DIX$fs.readFileSync(lsbReleaseFile).toString();\n else if ($d7DIX$fs.existsSync(osReleaseFile)) contents = $d7DIX$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $ee8951c0913480f3$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"aNgTs\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"dGCqI\", function(module, exports) {\n\nvar $fVQSr = parcelRequire(\"fVQSr\");\n\nvar $3MZit = parcelRequire(\"3MZit\");\nfunction $9f6d01fe1d33d468$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $fVQSr)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $3MZit(rnds);\n}\nmodule.exports = $9f6d01fe1d33d468$var$v4;\n\n});\nparcelRegister(\"fVQSr\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $d7DIX$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"3MZit\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $2c25671a93697bfe$var$byteToHex = [];\nfor(var $2c25671a93697bfe$var$i = 0; $2c25671a93697bfe$var$i < 256; ++$2c25671a93697bfe$var$i)$2c25671a93697bfe$var$byteToHex[$2c25671a93697bfe$var$i] = ($2c25671a93697bfe$var$i + 0x100).toString(16).substr(1);\nfunction $2c25671a93697bfe$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $2c25671a93697bfe$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $2c25671a93697bfe$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"jlr6Q\", function(module, exports) {\n\"use strict\";\nvar $e15501dac30ed2d7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $e15501dac30ed2d7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $e15501dac30ed2d7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $e15501dac30ed2d7$var$__createBinding(result, mod, k);\n }\n $e15501dac30ed2d7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e15501dac30ed2d7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $e15501dac30ed2d7$var$tr = $e15501dac30ed2d7$var$__importStar((parcelRequire(\"jbxr5\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $e15501dac30ed2d7$var$exec(commandLine, args, options) {\n return $e15501dac30ed2d7$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $e15501dac30ed2d7$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $e15501dac30ed2d7$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $e15501dac30ed2d7$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $e15501dac30ed2d7$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $e15501dac30ed2d7$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $d7DIX$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $d7DIX$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $e15501dac30ed2d7$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $e15501dac30ed2d7$var$getExecOutput;\n\n});\nparcelRegister(\"jbxr5\", function(module, exports) {\n\"use strict\";\nvar $df78fb148e5cacf0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $df78fb148e5cacf0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $df78fb148e5cacf0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $df78fb148e5cacf0$var$__createBinding(result, mod, k);\n }\n $df78fb148e5cacf0$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $df78fb148e5cacf0$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $df78fb148e5cacf0$var$os = $df78fb148e5cacf0$var$__importStar($d7DIX$os);\n\nconst $df78fb148e5cacf0$var$events = $df78fb148e5cacf0$var$__importStar($d7DIX$events);\n\nconst $df78fb148e5cacf0$var$child = $df78fb148e5cacf0$var$__importStar($d7DIX$child_process);\n\nconst $df78fb148e5cacf0$var$path = $df78fb148e5cacf0$var$__importStar($d7DIX$path);\n\nconst $df78fb148e5cacf0$var$io = $df78fb148e5cacf0$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $df78fb148e5cacf0$var$ioUtil = $df78fb148e5cacf0$var$__importStar((parcelRequire(\"ejt9m\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $df78fb148e5cacf0$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $df78fb148e5cacf0$var$ToolRunner extends $df78fb148e5cacf0$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($df78fb148e5cacf0$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($df78fb148e5cacf0$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $df78fb148e5cacf0$var$os.EOL.length);\n n = s.indexOf($df78fb148e5cacf0$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($df78fb148e5cacf0$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($df78fb148e5cacf0$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $df78fb148e5cacf0$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$df78fb148e5cacf0$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $df78fb148e5cacf0$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $df78fb148e5cacf0$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $df78fb148e5cacf0$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$df78fb148e5cacf0$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $df78fb148e5cacf0$var$os.EOL);\n const state = new $df78fb148e5cacf0$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $df78fb148e5cacf0$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $df78fb148e5cacf0$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $df78fb148e5cacf0$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $df78fb148e5cacf0$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $df78fb148e5cacf0$var$argStringToArray;\nclass $df78fb148e5cacf0$var$ExecState extends $df78fb148e5cacf0$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $d7DIX$timers.setTimeout($df78fb148e5cacf0$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRegister(\"lSnBZ\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.16ae5537.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\nparcelRegister(\"2p0xG\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./hdi.c1b21e1a.js\")).then(()=>parcelRequire(\"4YYb2\"));\n\n});\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\nvar $c7dd3a41c12bbb5b$exports = {};\n\"use strict\";\n\nvar $3a725e5932cc672a$exports = {};\n\"use strict\";\n\nvar $a819f7a726783acc$exports = {};\n\"use strict\";\n\nvar $a144cf96e3e9a15c$exports = {};\nconst $a144cf96e3e9a15c$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $a144cf96e3e9a15c$var$COLON = $a144cf96e3e9a15c$var$isWindows ? \";\" : \":\";\nvar $ff1862185d1397df$exports = {};\n\nvar $ff1862185d1397df$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $ff1862185d1397df$var$core = (parcelRequire(\"a3PNV\"));\nelse $ff1862185d1397df$var$core = (parcelRequire(\"7gw6J\"));\n$ff1862185d1397df$exports = $ff1862185d1397df$var$isexe;\n$ff1862185d1397df$var$isexe.sync = $ff1862185d1397df$var$sync;\nfunction $ff1862185d1397df$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $ff1862185d1397df$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $ff1862185d1397df$var$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}\nfunction $ff1862185d1397df$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $ff1862185d1397df$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $a144cf96e3e9a15c$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $a144cf96e3e9a15c$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $a144cf96e3e9a15c$var$COLON;\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(/\\//) || $a144cf96e3e9a15c$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$a144cf96e3e9a15c$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $a144cf96e3e9a15c$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $a144cf96e3e9a15c$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($a144cf96e3e9a15c$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $a144cf96e3e9a15c$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $a144cf96e3e9a15c$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($a144cf96e3e9a15c$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $d7DIX$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $ff1862185d1397df$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $a144cf96e3e9a15c$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $a144cf96e3e9a15c$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $d7DIX$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $ff1862185d1397df$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $a144cf96e3e9a15c$var$getNotFoundError(cmd);\n};\n$a144cf96e3e9a15c$exports = $a144cf96e3e9a15c$var$which;\n$a144cf96e3e9a15c$var$which.sync = $a144cf96e3e9a15c$var$whichSync;\n\n\nvar $21a0412ea0df2284$exports = {};\n\"use strict\";\nconst $21a0412ea0df2284$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$21a0412ea0df2284$exports = $21a0412ea0df2284$var$pathKey;\n// TODO: Remove this for the next major release\n$21a0412ea0df2284$exports.default = $21a0412ea0df2284$var$pathKey;\n\n\nfunction $a819f7a726783acc$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $a144cf96e3e9a15c$exports.sync(parsed.command, {\n path: env[$21a0412ea0df2284$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $d7DIX$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $d7DIX$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $a819f7a726783acc$var$resolveCommand(parsed) {\n return $a819f7a726783acc$var$resolveCommandAttempt(parsed) || $a819f7a726783acc$var$resolveCommandAttempt(parsed, true);\n}\n$a819f7a726783acc$exports = $a819f7a726783acc$var$resolveCommand;\n\n\nvar $1384d7bdf71358ff$export$ae50443ffc990749;\nvar $1384d7bdf71358ff$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $1384d7bdf71358ff$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $1384d7bdf71358ff$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $1384d7bdf71358ff$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$1384d7bdf71358ff$export$ae50443ffc990749 = $1384d7bdf71358ff$var$escapeCommand;\n$1384d7bdf71358ff$export$6ea29ee575e3f5ff = $1384d7bdf71358ff$var$escapeArgument;\n\n\nvar $10624ba8b1855359$exports = {};\n\"use strict\";\n\nvar $a029f1528dbf601b$exports = {};\n\"use strict\";\nvar $8262b66a7385d3da$exports = {};\n\"use strict\";\n$8262b66a7385d3da$exports = /^#!(.*)/;\n\n\n$a029f1528dbf601b$exports = (string = \"\")=>{\n const match = string.match($8262b66a7385d3da$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $10624ba8b1855359$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $d7DIX$fs.openSync(command, \"r\");\n $d7DIX$fs.readSync(fd, buffer, 0, size, 0);\n $d7DIX$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $a029f1528dbf601b$exports(buffer.toString());\n}\n$10624ba8b1855359$exports = $10624ba8b1855359$var$readShebang;\n\n\nconst $3a725e5932cc672a$var$isWin = process.platform === \"win32\";\nconst $3a725e5932cc672a$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $3a725e5932cc672a$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $3a725e5932cc672a$var$detectShebang(parsed) {\n parsed.file = $a819f7a726783acc$exports(parsed);\n const shebang = parsed.file && $10624ba8b1855359$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $a819f7a726783acc$exports(parsed);\n }\n return parsed.file;\n}\nfunction $3a725e5932cc672a$var$parseNonShell(parsed) {\n if (!$3a725e5932cc672a$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $3a725e5932cc672a$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$3a725e5932cc672a$var$isExecutableRegExp.test(commandFile);\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 = $3a725e5932cc672a$var$isCmdShimRegExp.test(commandFile);\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 = $d7DIX$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $1384d7bdf71358ff$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$1384d7bdf71358ff$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $3a725e5932cc672a$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $3a725e5932cc672a$var$parseNonShell(parsed);\n}\n$3a725e5932cc672a$exports = $3a725e5932cc672a$var$parse;\n\n\nvar $04034165e615e404$exports = {};\n\"use strict\";\nconst $04034165e615e404$var$isWin = process.platform === \"win32\";\nfunction $04034165e615e404$var$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}\nfunction $04034165e615e404$var$hookChildProcess(cp, parsed) {\n if (!$04034165e615e404$var$isWin) return;\n const originalEmit = cp.emit;\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 = $04034165e615e404$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $04034165e615e404$var$verifyENOENT(status, parsed) {\n if ($04034165e615e404$var$isWin && status === 1 && !parsed.file) return $04034165e615e404$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $04034165e615e404$var$verifyENOENTSync(status, parsed) {\n if ($04034165e615e404$var$isWin && status === 1 && !parsed.file) return $04034165e615e404$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$04034165e615e404$exports = {\n hookChildProcess: $04034165e615e404$var$hookChildProcess,\n verifyENOENT: $04034165e615e404$var$verifyENOENT,\n verifyENOENTSync: $04034165e615e404$var$verifyENOENTSync,\n notFoundError: $04034165e615e404$var$notFoundError\n};\n\n\nfunction $c7dd3a41c12bbb5b$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $3a725e5932cc672a$exports(command, args, options);\n // Spawn the child process\n const spawned = $d7DIX$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $04034165e615e404$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $c7dd3a41c12bbb5b$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $3a725e5932cc672a$exports(command, args, options);\n // Spawn the child process\n const result = $d7DIX$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $04034165e615e404$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$c7dd3a41c12bbb5b$exports = $c7dd3a41c12bbb5b$var$spawn;\n$c7dd3a41c12bbb5b$exports.spawn = $c7dd3a41c12bbb5b$var$spawn;\n$c7dd3a41c12bbb5b$exports.sync = $c7dd3a41c12bbb5b$var$spawnSync;\n$c7dd3a41c12bbb5b$exports._parse = $3a725e5932cc672a$exports;\n$c7dd3a41c12bbb5b$exports._enoent = $04034165e615e404$exports;\n\n\nfunction $2ab7bac94b4dccca$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $ac6213fd5778797d$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nconst $eaf8420dc1d50455$export$62a298cbef08d65c = ({ cwd: cwd = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(), path: pathOption = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env[(0, $ac6213fd5778797d$export$2e2bcd8739ae039)()], preferLocal: preferLocal = true, execPath: execPath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath, addExecPath: addExecPath = true } = {})=>{\n const cwdString = cwd instanceof URL ? (0, $d7DIX$nodeurl.fileURLToPath)(cwd) : cwd;\n const cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdString);\n const result = [];\n if (preferLocal) $eaf8420dc1d50455$var$applyPreferLocal(result, cwdPath);\n if (addExecPath) $eaf8420dc1d50455$var$applyExecPath(result, execPath, cwdPath);\n return [\n ...result,\n pathOption\n ].join((0, ($parcel$interopDefault($d7DIX$nodepath))).delimiter);\n};\nconst $eaf8420dc1d50455$var$applyPreferLocal = (result, cwdPath)=>{\n let previous;\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdPath, \"..\");\n }\n};\n// Ensure the running `node` binary is used\nconst $eaf8420dc1d50455$var$applyExecPath = (result, execPath, cwdPath)=>{\n const execPathString = execPath instanceof URL ? (0, $d7DIX$nodeurl.fileURLToPath)(execPath) : execPath;\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdPath, execPathString, \"..\"));\n};\nconst $eaf8420dc1d50455$export$340e1fbaac04248b = ({ env: env = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env, ...options } = {})=>{\n env = {\n ...env\n };\n const pathName = (0, $ac6213fd5778797d$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[pathName];\n env[pathName] = $eaf8420dc1d50455$export$62a298cbef08d65c(options);\n return env;\n};\n\n\nconst $aaee6e25a3997d84$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$aaee6e25a3997d84$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $aaee6e25a3997d84$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $aaee6e25a3997d84$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $aaee6e25a3997d84$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $aaee6e25a3997d84$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $aaee6e25a3997d84$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $aaee6e25a3997d84$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $aaee6e25a3997d84$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $aaee6e25a3997d84$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$aaee6e25a3997d84$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $aaee6e25a3997d84$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$aaee6e25a3997d84$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $aaee6e25a3997d84$var$changePrototype(to, from);\n $aaee6e25a3997d84$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $7b1fd4cd812d5227$var$calledFunctions = new WeakMap();\nconst $7b1fd4cd812d5227$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $7b1fd4cd812d5227$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $aaee6e25a3997d84$export$2e2bcd8739ae039)(onetime, function_);\n $7b1fd4cd812d5227$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$7b1fd4cd812d5227$var$onetime.callCount = (function_)=>{\n if (!$7b1fd4cd812d5227$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $7b1fd4cd812d5227$var$calledFunctions.get(function_);\n};\nvar $7b1fd4cd812d5227$export$2e2bcd8739ae039 = $7b1fd4cd812d5227$var$onetime;\n\n\n\n\nconst $431d023be48e6a32$export$e221a98f4fd84d36 = ()=>{\n const length = $431d023be48e6a32$export$dc8812f2f8882ff4 - $431d023be48e6a32$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $431d023be48e6a32$var$getRealtimeSignal);\n};\nconst $431d023be48e6a32$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $431d023be48e6a32$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $431d023be48e6a32$var$SIGRTMIN = 34;\nconst $431d023be48e6a32$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $b1a9bb7d4240f2b8$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $d94c33523db6959d$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $431d023be48e6a32$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $b1a9bb7d4240f2b8$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($d94c33523db6959d$var$normalizeSignal);\n return signals;\n};\nconst $d94c33523db6959d$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $d7DIX$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $fdad0395637cfe30$var$getSignalsByName = ()=>{\n const signals = (0, $d94c33523db6959d$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($fdad0395637cfe30$var$getSignalByName));\n};\nconst $fdad0395637cfe30$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $fdad0395637cfe30$export$c3fcb39d6848c78d = $fdad0395637cfe30$var$getSignalsByName();\nconst $fdad0395637cfe30$var$getSignalsByNumber = ()=>{\n const signals = (0, $d94c33523db6959d$export$c50078d4faa171f0)();\n const length = (0, $431d023be48e6a32$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$fdad0395637cfe30$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $fdad0395637cfe30$var$getSignalByNumber = (number, signals)=>{\n const signal = $fdad0395637cfe30$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $fdad0395637cfe30$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $d7DIX$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $fdad0395637cfe30$export$12f57f97a08d2468 = $fdad0395637cfe30$var$getSignalsByNumber();\n\n\nconst $52e31e2dff38816d$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $52e31e2dff38816d$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $fdad0395637cfe30$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $52e31e2dff38816d$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $7a40f7ba7330c654$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $7a40f7ba7330c654$var$hasAlias = (options)=>$7a40f7ba7330c654$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $7a40f7ba7330c654$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $7a40f7ba7330c654$var$aliases.map((alias)=>options[alias]);\n if ($7a40f7ba7330c654$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$7a40f7ba7330c654$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $7a40f7ba7330c654$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $7a40f7ba7330c654$export$889423b478ae2ba = (options)=>{\n const stdio = $7a40f7ba7330c654$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\nvar $7a0875ae79160463$exports = {};\n// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar $7a0875ae79160463$var$process = $parcel$global.process;\nconst $7a0875ae79160463$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($7a0875ae79160463$var$process)) $7a0875ae79160463$exports = function() {\n return function() {};\n};\nelse {\n var $7a0875ae79160463$var$assert = $d7DIX$assert;\n var $7a0875ae79160463$var$signals = (parcelRequire(\"1YMV0\"));\n var $7a0875ae79160463$var$isWin = /^win/i.test($7a0875ae79160463$var$process.platform);\n var $7a0875ae79160463$var$EE = $d7DIX$events;\n /* istanbul ignore if */ if (typeof $7a0875ae79160463$var$EE !== \"function\") $7a0875ae79160463$var$EE = $7a0875ae79160463$var$EE.EventEmitter;\n var $7a0875ae79160463$var$emitter;\n if ($7a0875ae79160463$var$process.__signal_exit_emitter__) $7a0875ae79160463$var$emitter = $7a0875ae79160463$var$process.__signal_exit_emitter__;\n else {\n $7a0875ae79160463$var$emitter = $7a0875ae79160463$var$process.__signal_exit_emitter__ = new $7a0875ae79160463$var$EE();\n $7a0875ae79160463$var$emitter.count = 0;\n $7a0875ae79160463$var$emitter.emitted = {};\n }\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!$7a0875ae79160463$var$emitter.infinite) {\n $7a0875ae79160463$var$emitter.setMaxListeners(Infinity);\n $7a0875ae79160463$var$emitter.infinite = true;\n }\n $7a0875ae79160463$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return function() {};\n $7a0875ae79160463$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($7a0875ae79160463$var$loaded === false) $7a0875ae79160463$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $7a0875ae79160463$var$emitter.removeListener(ev, cb);\n if ($7a0875ae79160463$var$emitter.listeners(\"exit\").length === 0 && $7a0875ae79160463$var$emitter.listeners(\"afterexit\").length === 0) $7a0875ae79160463$var$unload();\n };\n $7a0875ae79160463$var$emitter.on(ev, cb);\n return remove;\n };\n var $7a0875ae79160463$var$unload = function unload() {\n if (!$7a0875ae79160463$var$loaded || !$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$loaded = false;\n $7a0875ae79160463$var$signals.forEach(function(sig) {\n try {\n $7a0875ae79160463$var$process.removeListener(sig, $7a0875ae79160463$var$sigListeners[sig]);\n } catch (er) {}\n });\n $7a0875ae79160463$var$process.emit = $7a0875ae79160463$var$originalProcessEmit;\n $7a0875ae79160463$var$process.reallyExit = $7a0875ae79160463$var$originalProcessReallyExit;\n $7a0875ae79160463$var$emitter.count -= 1;\n };\n $7a0875ae79160463$exports.unload = $7a0875ae79160463$var$unload;\n var $7a0875ae79160463$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($7a0875ae79160463$var$emitter.emitted[event]) return;\n $7a0875ae79160463$var$emitter.emitted[event] = true;\n $7a0875ae79160463$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $7a0875ae79160463$var$sigListeners = {};\n $7a0875ae79160463$var$signals.forEach(function(sig) {\n $7a0875ae79160463$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return;\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 = $7a0875ae79160463$var$process.listeners(sig);\n if (listeners.length === $7a0875ae79160463$var$emitter.count) {\n $7a0875ae79160463$var$unload();\n $7a0875ae79160463$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($7a0875ae79160463$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $7a0875ae79160463$var$process.kill($7a0875ae79160463$var$process.pid, sig);\n }\n };\n });\n $7a0875ae79160463$exports.signals = function() {\n return $7a0875ae79160463$var$signals;\n };\n var $7a0875ae79160463$var$loaded = false;\n var $7a0875ae79160463$var$load = function load() {\n if ($7a0875ae79160463$var$loaded || !$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$loaded = true;\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 $7a0875ae79160463$var$emitter.count += 1;\n $7a0875ae79160463$var$signals = $7a0875ae79160463$var$signals.filter(function(sig) {\n try {\n $7a0875ae79160463$var$process.on(sig, $7a0875ae79160463$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $7a0875ae79160463$var$process.emit = $7a0875ae79160463$var$processEmit;\n $7a0875ae79160463$var$process.reallyExit = $7a0875ae79160463$var$processReallyExit;\n };\n $7a0875ae79160463$exports.load = $7a0875ae79160463$var$load;\n var $7a0875ae79160463$var$originalProcessReallyExit = $7a0875ae79160463$var$process.reallyExit;\n var $7a0875ae79160463$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $7a0875ae79160463$var$emit(\"exit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$originalProcessReallyExit.call($7a0875ae79160463$var$process, $7a0875ae79160463$var$process.exitCode);\n };\n var $7a0875ae79160463$var$originalProcessEmit = $7a0875ae79160463$var$process.emit;\n var $7a0875ae79160463$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $7a0875ae79160463$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $7a0875ae79160463$var$process.exitCode = arg;\n var ret = $7a0875ae79160463$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"exit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $7a0875ae79160463$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $2cd6bd8b1ebe5794$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $2cd6bd8b1ebe5794$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $2cd6bd8b1ebe5794$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $2cd6bd8b1ebe5794$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$2cd6bd8b1ebe5794$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $2cd6bd8b1ebe5794$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $2cd6bd8b1ebe5794$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$2cd6bd8b1ebe5794$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $2cd6bd8b1ebe5794$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($d7DIX$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $2cd6bd8b1ebe5794$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $2cd6bd8b1ebe5794$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $2cd6bd8b1ebe5794$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $2cd6bd8b1ebe5794$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $2cd6bd8b1ebe5794$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $2cd6bd8b1ebe5794$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $2cd6bd8b1ebe5794$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $2cd6bd8b1ebe5794$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($7a0875ae79160463$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $1b845941fd0b06aa$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $1b845941fd0b06aa$export$b58a61c52edb4f66(stream) {\n return $1b845941fd0b06aa$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $1b845941fd0b06aa$export$ac613ff475b69d05(stream) {\n return $1b845941fd0b06aa$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $1b845941fd0b06aa$export$f92d8ccfaec172d4(stream) {\n return $1b845941fd0b06aa$export$b58a61c52edb4f66(stream) && $1b845941fd0b06aa$export$ac613ff475b69d05(stream);\n}\nfunction $1b845941fd0b06aa$export$3053cdc6f2e088fd(stream) {\n return $1b845941fd0b06aa$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $d7ebb04b4e65e48e$var$isExecaChildProcess = (target)=>target instanceof (0, $d7DIX$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $d7ebb04b4e65e48e$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $d7DIX$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $1b845941fd0b06aa$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$d7ebb04b4e65e48e$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $1b845941fd0b06aa$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $d7ebb04b4e65e48e$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $d7ebb04b4e65e48e$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $d7ebb04b4e65e48e$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $d7ebb04b4e65e48e$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\nvar $51bb95e1718a9e99$exports = {};\n\"use strict\";\n\nvar $51bb95e1718a9e99$require$BufferConstants = $d7DIX$buffer.constants;\n\n\nvar $51bb95e1718a9e99$require$promisify = $d7DIX$util.promisify;\nvar $4d91ceac3d29e594$exports = {};\n\"use strict\";\n\nvar $4d91ceac3d29e594$require$PassThroughStream = $d7DIX$stream.PassThrough;\n$4d91ceac3d29e594$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $4d91ceac3d29e594$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $51bb95e1718a9e99$var$streamPipelinePromisified = $51bb95e1718a9e99$require$promisify($d7DIX$stream.pipeline);\nclass $51bb95e1718a9e99$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $51bb95e1718a9e99$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $4d91ceac3d29e594$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $51bb95e1718a9e99$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $51bb95e1718a9e99$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $51bb95e1718a9e99$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$51bb95e1718a9e99$exports = $51bb95e1718a9e99$var$getStream;\n$51bb95e1718a9e99$exports.buffer = (stream, options)=>$51bb95e1718a9e99$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$51bb95e1718a9e99$exports.array = (stream, options)=>$51bb95e1718a9e99$var$getStream(stream, {\n ...options,\n array: true\n });\n$51bb95e1718a9e99$exports.MaxBufferError = $51bb95e1718a9e99$var$MaxBufferError;\n\n\nvar $50d0883357807da8$exports = {};\n\"use strict\";\n\nvar $50d0883357807da8$require$PassThrough = $d7DIX$stream.PassThrough;\n$50d0883357807da8$exports = function() {\n var sources = [];\n var output = new $50d0883357807da8$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\nconst $45a146706e83d45f$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $45a146706e83d45f$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $45a146706e83d45f$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.readFileSync)(inputFile);\n};\nconst $45a146706e83d45f$export$7f2f9b6457412b41 = (options)=>{\n const input = $45a146706e83d45f$var$getInputSync(options);\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $45a146706e83d45f$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $45a146706e83d45f$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.createReadStream)(inputFile);\n};\nconst $45a146706e83d45f$export$412508d679148d5c = (spawned, options)=>{\n const input = $45a146706e83d45f$var$getInput(options);\n if (input === undefined) return;\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $45a146706e83d45f$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($50d0883357807da8$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $45a146706e83d45f$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $45a146706e83d45f$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $45a146706e83d45f$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $45a146706e83d45f$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $45a146706e83d45f$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $45a146706e83d45f$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $45a146706e83d45f$var$getBufferedData(stdout, stdoutPromise),\n $45a146706e83d45f$var$getBufferedData(stderr, stderrPromise),\n $45a146706e83d45f$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $98ef30edcc446ac2$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $98ef30edcc446ac2$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($98ef30edcc446ac2$var$nativePromisePrototype, property)\n ]);\nconst $98ef30edcc446ac2$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $98ef30edcc446ac2$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $98ef30edcc446ac2$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $78552e5bb63d35e7$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $78552e5bb63d35e7$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $78552e5bb63d35e7$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $78552e5bb63d35e7$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $78552e5bb63d35e7$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($78552e5bb63d35e7$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $78552e5bb63d35e7$export$ab3db8fe5ebf3a1 = (file, args)=>$78552e5bb63d35e7$var$normalizeArgs(file, args).join(\" \");\nconst $78552e5bb63d35e7$export$9d3099014bd914f8 = (file, args)=>$78552e5bb63d35e7$var$normalizeArgs(file, args).map((arg)=>$78552e5bb63d35e7$var$escapeArg(arg)).join(\" \");\nconst $78552e5bb63d35e7$var$SPACES_REGEXP = / +/g;\nconst $78552e5bb63d35e7$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($78552e5bb63d35e7$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $78552e5bb63d35e7$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $d7DIX$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $d7DIX$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $78552e5bb63d35e7$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $78552e5bb63d35e7$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($78552e5bb63d35e7$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $78552e5bb63d35e7$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$78552e5bb63d35e7$var$parseExpression(expression)) : [\n $78552e5bb63d35e7$var$parseExpression(expression)\n ];\n return $78552e5bb63d35e7$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $78552e5bb63d35e7$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $78552e5bb63d35e7$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $9f9390de39813be1$export$38bb3c1fbaa0bdcf = (0, $d7DIX$nodeutil.debuglog)(\"execa\").enabled;\nconst $9f9390de39813be1$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $9f9390de39813be1$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$9f9390de39813be1$var$padField(date.getHours(), 2)}:${$9f9390de39813be1$var$padField(date.getMinutes(), 2)}:${$9f9390de39813be1$var$padField(date.getSeconds(), 2)}.${$9f9390de39813be1$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $9f9390de39813be1$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($d7DIX$nodeprocess))).stderr.write(`[${$9f9390de39813be1$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $8991d7a42fe4b480$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $8991d7a42fe4b480$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($d7DIX$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $eaf8420dc1d50455$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $8991d7a42fe4b480$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($c7dd3a41c12bbb5b$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $8991d7a42fe4b480$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $9f9390de39813be1$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $8991d7a42fe4b480$var$getEnv(options);\n options.stdio = (0, $7a40f7ba7330c654$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($d7DIX$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($d7DIX$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $8991d7a42fe4b480$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $d7DIX$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $2ab7bac94b4dccca$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $8991d7a42fe4b480$export$db6b1668e3758717(file, args, options) {\n const parsed = $8991d7a42fe4b480$var$handleArguments(file, args, options);\n const command = (0, $78552e5bb63d35e7$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $78552e5bb63d35e7$export$9d3099014bd914f8)(file, args);\n (0, $9f9390de39813be1$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $2cd6bd8b1ebe5794$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($d7DIX$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $98ef30edcc446ac2$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $98ef30edcc446ac2$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $2cd6bd8b1ebe5794$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $2cd6bd8b1ebe5794$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $2cd6bd8b1ebe5794$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $2cd6bd8b1ebe5794$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $45a146706e83d45f$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $8991d7a42fe4b480$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $8991d7a42fe4b480$var$handleOutput(parsed.options, stderrResult);\n const all = $8991d7a42fe4b480$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $7b1fd4cd812d5227$export$2e2bcd8739ae039)(handlePromise);\n (0, $45a146706e83d45f$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $45a146706e83d45f$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $d7ebb04b4e65e48e$export$14becf8d91886424)(spawned);\n (0, $98ef30edcc446ac2$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $8991d7a42fe4b480$export$28823a701bb5a12d(file, args, options) {\n const parsed = $8991d7a42fe4b480$var$handleArguments(file, args, options);\n const command = (0, $78552e5bb63d35e7$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $78552e5bb63d35e7$export$9d3099014bd914f8)(file, args);\n (0, $9f9390de39813be1$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $45a146706e83d45f$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $8991d7a42fe4b480$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $8991d7a42fe4b480$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $8991d7a42fe4b480$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $8991d7a42fe4b480$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$8991d7a42fe4b480$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $8991d7a42fe4b480$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $8991d7a42fe4b480$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $78552e5bb63d35e7$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $8991d7a42fe4b480$export$db6b1668e3758717(file, args, $8991d7a42fe4b480$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $78552e5bb63d35e7$export$4a6ee54de9b0f25d)(templates, expressions);\n return $8991d7a42fe4b480$export$28823a701bb5a12d(file, args, $8991d7a42fe4b480$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $8991d7a42fe4b480$export$3d8c2f653ac9d0b9 = $8991d7a42fe4b480$var$create$();\nfunction $8991d7a42fe4b480$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $78552e5bb63d35e7$export$78bcee23e0849f6a)(command);\n return $8991d7a42fe4b480$export$db6b1668e3758717(file, args, options);\n}\nfunction $8991d7a42fe4b480$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $78552e5bb63d35e7$export$78bcee23e0849f6a)(command);\n return $8991d7a42fe4b480$export$28823a701bb5a12d(file, args, options);\n}\nfunction $8991d7a42fe4b480$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $7a40f7ba7330c654$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $8991d7a42fe4b480$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\nvar $656be56138103b68$exports = {};\nvar $23bb2506527d1c78$exports = {};\n\n$parcel$export($23bb2506527d1c78$exports, \"isexe\", () => $23bb2506527d1c78$export$35888d6059c232d4);\n$parcel$export($23bb2506527d1c78$exports, \"sync\", () => $23bb2506527d1c78$export$92d6409d68f0739a);\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */ \n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\nconst $23bb2506527d1c78$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $23bb2506527d1c78$var$checkStat(await (0, $4oHc1.stat)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $23bb2506527d1c78$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $23bb2506527d1c78$var$checkStat((0, $d7DIX$fs.statSync)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $23bb2506527d1c78$var$checkStat = (stat, options)=>stat.isFile() && $23bb2506527d1c78$var$checkMode(stat, options);\nconst $23bb2506527d1c78$var$checkMode = (stat, options)=>{\n const myUid = options.uid ?? process.getuid?.();\n const myGroups = options.groups ?? process.getgroups?.() ?? [];\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0];\n if (myUid === undefined || myGid === undefined) throw new Error(\"cannot get uid or gid\");\n const groups = new Set([\n myGid,\n ...myGroups\n ]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt(\"100\", 8);\n const g = parseInt(\"010\", 8);\n const o = parseInt(\"001\", 8);\n const ug = u | g;\n return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);\n};\n\n\nvar $5622fcc8d172370b$exports = {};\n\n$parcel$export($5622fcc8d172370b$exports, \"isexe\", () => $5622fcc8d172370b$export$35888d6059c232d4);\n$parcel$export($5622fcc8d172370b$exports, \"sync\", () => $5622fcc8d172370b$export$92d6409d68f0739a);\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */ \n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\nconst $5622fcc8d172370b$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $5622fcc8d172370b$var$checkStat(await (0, $4oHc1.stat)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $5622fcc8d172370b$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $5622fcc8d172370b$var$checkStat((0, $d7DIX$fs.statSync)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $5622fcc8d172370b$var$checkPathExt = (path, options)=>{\n const { pathExt: pathExt = process.env.PATHEXT || \"\" } = options;\n const peSplit = pathExt.split(\";\");\n if (peSplit.indexOf(\"\") !== -1) return true;\n for(let i = 0; i < peSplit.length; i++){\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) return true;\n }\n return false;\n};\nconst $5622fcc8d172370b$var$checkStat = (stat, path, options)=>stat.isFile() && $5622fcc8d172370b$var$checkPathExt(path, options);\n\n\n\n\nconst $87d288ae3836c46b$var$platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst $87d288ae3836c46b$var$impl = $87d288ae3836c46b$var$platform === \"win32\" ? $5622fcc8d172370b$exports : $23bb2506527d1c78$exports;\nconst $87d288ae3836c46b$export$35888d6059c232d4 = $87d288ae3836c46b$var$impl.isexe;\nconst $87d288ae3836c46b$export$92d6409d68f0739a = $87d288ae3836c46b$var$impl.sync;\n\n\nvar $656be56138103b68$require$isexe = $87d288ae3836c46b$export$35888d6059c232d4;\nvar $656be56138103b68$require$isexeSync = $87d288ae3836c46b$export$92d6409d68f0739a;\n\nvar $656be56138103b68$require$join = $d7DIX$path.join;\nvar $656be56138103b68$require$delimiter = $d7DIX$path.delimiter;\nvar $656be56138103b68$require$sep = $d7DIX$path.sep;\nvar $656be56138103b68$require$posix = $d7DIX$path.posix;\nconst $656be56138103b68$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $656be56138103b68$var$rSlash = new RegExp(`[${$656be56138103b68$require$posix.sep}${$656be56138103b68$require$sep === $656be56138103b68$require$posix.sep ? \"\" : $656be56138103b68$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $656be56138103b68$var$rRel = new RegExp(`^\\\\.${$656be56138103b68$var$rSlash.source}`);\nconst $656be56138103b68$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $656be56138103b68$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $656be56138103b68$require$delimiter })=>{\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($656be56138103b68$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$656be56138103b68$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($656be56138103b68$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item)=>[\n item,\n item.toLowerCase()\n ]);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $656be56138103b68$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $656be56138103b68$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $656be56138103b68$require$join(pathPart, cmd);\n};\nconst $656be56138103b68$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $656be56138103b68$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $656be56138103b68$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $656be56138103b68$require$isexe(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $656be56138103b68$var$getNotFoundError(cmd);\n};\nconst $656be56138103b68$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $656be56138103b68$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $656be56138103b68$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $656be56138103b68$require$isexeSync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $656be56138103b68$var$getNotFoundError(cmd);\n};\n$656be56138103b68$exports = $656be56138103b68$var$which;\n$656be56138103b68$var$which.sync = $656be56138103b68$var$whichSync;\n\n\n/** The cached powershell path */ let $beaad862f625dcb6$var$powershell;\nfunction $beaad862f625dcb6$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $8991d7a42fe4b480$export$db6b1668e3758717($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $8991d7a42fe4b480$export$28823a701bb5a12d($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$4dfdd3964d242d20() {\n if ($beaad862f625dcb6$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $beaad862f625dcb6$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $beaad862f625dcb6$var$powershell = maybePowerShell;\n }\n if ($beaad862f625dcb6$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $beaad862f625dcb6$var$powershell;\n}\n\n\n\n\n\nfunction $9b35e0b8c96f5aff$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $9b35e0b8c96f5aff$export$e3140dc7d0c35e48() {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI);\n}\nfunction $9b35e0b8c96f5aff$export$316200228f28b8ce() {\n return $9b35e0b8c96f5aff$export$e3140dc7d0c35e48() && $9b35e0b8c96f5aff$export$7683bf1311d8252();\n}\nfunction $9b35e0b8c96f5aff$export$d976d47922ae9667(command) {\n if ($9b35e0b8c96f5aff$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $9b35e0b8c96f5aff$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $9b35e0b8c96f5aff$export$58f152936f209932(program, args = [], execOptions = $9b35e0b8c96f5aff$export$151aeb0ade3989e1) {\n if ($9b35e0b8c96f5aff$export$316200228f28b8ce()) {\n const command = $9b35e0b8c96f5aff$var$getSudoCommand(program, args);\n return (0, $8991d7a42fe4b480$export$5c60dbe76a54db4)(command, execOptions);\n } else return (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(program, $9b35e0b8c96f5aff$var$quote(args), execOptions);\n}\nfunction $9b35e0b8c96f5aff$export$351270479e2eef26(program, args = [], execOptions = $9b35e0b8c96f5aff$export$151aeb0ade3989e1) {\n if ($9b35e0b8c96f5aff$export$316200228f28b8ce()) {\n const command = $9b35e0b8c96f5aff$var$getSudoCommand(program, args);\n return (0, $8991d7a42fe4b480$export$eb9ed1222071f2f6)(command, execOptions);\n } else return (0, $8991d7a42fe4b480$export$db6b1668e3758717)(program, $9b35e0b8c96f5aff$var$quote(args), execOptions);\n}\nfunction $9b35e0b8c96f5aff$var$getSudoCommand(program, args) {\n return `sudo ${$9b35e0b8c96f5aff$var$quote([\n program,\n ...args\n ]).join(\" \")}`;\n}\nfunction $9b35e0b8c96f5aff$var$quote(strings) {\n return strings.map((str)=>`'${str}'`);\n}\n\n\n// From `is-admin`: updated execa\n\n// https://stackoverflow.com/a/28268802\nasync function $c910c069694ee8b4$var$testFltmc() {\n try {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $c910c069694ee8b4$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"fsutil\", [\n \"dirty\",\n \"query\",\n process.env.systemdrive ?? \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $c910c069694ee8b4$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $74cab62d80c3a9d2$export$36ad181701cee597 = (0, $c910c069694ee8b4$export$2e2bcd8739ae039);\nconst $74cab62d80c3a9d2$export$2ebf12717e6b5bb8 = (0, $9b35e0b8c96f5aff$export$e3140dc7d0c35e48);\nfunction $74cab62d80c3a9d2$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $74cab62d80c3a9d2$export$36ad181701cee597();\n else return (0, $9b35e0b8c96f5aff$export$e3140dc7d0c35e48)();\n}\n\n\n\n\nasync function $013b1931593eeaf8$export$4718e061a205eab(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $9b35e0b8c96f5aff$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, ($parcel$interopDefault($d7DIX$fs))).statSync(path).isDirectory();\n await (0, $9b35e0b8c96f5aff$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], (0, $9b35e0b8c96f5aff$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $d1e4d6db9ef11162$exports = {};\n\"use strict\";\n\nvar $3a7Qq = parcelRequire(\"3a7Qq\");\nvar $d3e53142022fd418$exports = {};\n\"use strict\";\n\nvar $6u4nl = parcelRequire(\"6u4nl\");\n$d3e53142022fd418$exports = function(optsLength, fnLength, isAsync) {\n var length;\n if (isNaN(optsLength)) {\n length = fnLength;\n if (!(length >= 0)) return 1;\n if (isAsync && length) return length - 1;\n return length;\n }\n if (optsLength === false) return false;\n return $6u4nl(optsLength);\n};\n\n\nvar $e3a91571b35e55c1$exports = {};\n\"use strict\";\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\n\nvar $5RsFi = parcelRequire(\"5RsFi\");\n\nvar $5twQR = parcelRequire(\"5twQR\");\nvar $61fef4eb9e75f4d7$exports = {};\n/* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */ \"use strict\";\nvar $25b38db412911945$exports = {};\n\"use strict\";\n\nvar $6XGJc = parcelRequire(\"6XGJc\");\nvar $bb5315f67c38e724$exports = {};\n\"use strict\";\n\nvar $8uHBt = parcelRequire(\"8uHBt\");\nvar $bb5315f67c38e724$var$map = {\n function: true,\n object: true\n};\n$bb5315f67c38e724$exports = function(value) {\n return $8uHBt(value) && $bb5315f67c38e724$var$map[typeof value] || false;\n};\n\n\n\nvar $8uHBt = parcelRequire(\"8uHBt\");\nvar $25b38db412911945$var$captureStackTrace = Error.captureStackTrace;\n$25b38db412911945$exports = function(message /*, code, ext*/ ) {\n var err = new Error(message), code = arguments[1], ext = arguments[2];\n if (!$8uHBt(ext)) {\n if ($bb5315f67c38e724$exports(code)) {\n ext = code;\n code = null;\n }\n }\n if ($8uHBt(ext)) $6XGJc(err, ext);\n if ($8uHBt(code)) err.code = code;\n if ($25b38db412911945$var$captureStackTrace) $25b38db412911945$var$captureStackTrace(err, $25b38db412911945$exports);\n return err;\n};\n\n\n\nvar $bP3iK = parcelRequire(\"bP3iK\");\n\nvar $eXmen = parcelRequire(\"eXmen\");\n\nvar $4SFhS = parcelRequire(\"4SFhS\");\nvar $61fef4eb9e75f4d7$require$ee = $4SFhS.methods;\nvar $ef5a185c3e4954dd$exports = {};\n\"use strict\";\nvar $9495feabb86980bb$exports = {};\n\"use strict\";\n\nvar $8Vysl = parcelRequire(\"8Vysl\");\nvar $9495feabb86980bb$var$isArray = Array.isArray;\n$9495feabb86980bb$exports = function(arrayLike) {\n return $9495feabb86980bb$var$isArray(arrayLike) ? arrayLike : $8Vysl(arrayLike);\n};\n\n\n\nvar $8uHBt = parcelRequire(\"8uHBt\");\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\nvar $ef5a185c3e4954dd$var$slice = Array.prototype.slice, $ef5a185c3e4954dd$var$resolveArgs;\n$ef5a185c3e4954dd$var$resolveArgs = function(args) {\n return this.map(function(resolve, i) {\n return resolve ? resolve(args[i]) : args[i];\n }).concat($ef5a185c3e4954dd$var$slice.call(args, this.length));\n};\n$ef5a185c3e4954dd$exports = function(resolvers) {\n resolvers = $9495feabb86980bb$exports(resolvers);\n resolvers.forEach(function(resolve) {\n if ($8uHBt(resolve)) $dxkoV(resolve);\n });\n return $ef5a185c3e4954dd$var$resolveArgs.bind(resolvers);\n};\n\n\nvar $4cc9ea5e5d6ba20c$exports = {};\n\"use strict\";\n\nvar $dxkoV = parcelRequire(\"dxkoV\");\n$4cc9ea5e5d6ba20c$exports = function(userNormalizer) {\n var normalizer;\n if (typeof userNormalizer === \"function\") return {\n set: userNormalizer,\n get: userNormalizer\n };\n normalizer = {\n get: $dxkoV(userNormalizer.get)\n };\n if (userNormalizer.set !== undefined) {\n normalizer.set = $dxkoV(userNormalizer.set);\n if (userNormalizer.delete) normalizer.delete = $dxkoV(userNormalizer.delete);\n if (userNormalizer.clear) normalizer.clear = $dxkoV(userNormalizer.clear);\n return normalizer;\n }\n normalizer.set = normalizer.get;\n return normalizer;\n};\n\n\nvar $61fef4eb9e75f4d7$var$apply = Function.prototype.apply, $61fef4eb9e75f4d7$var$call = Function.prototype.call, $61fef4eb9e75f4d7$var$create = Object.create, $61fef4eb9e75f4d7$var$defineProperties = Object.defineProperties, $61fef4eb9e75f4d7$var$on = $61fef4eb9e75f4d7$require$ee.on, $61fef4eb9e75f4d7$var$emit = $61fef4eb9e75f4d7$require$ee.emit;\n$61fef4eb9e75f4d7$exports = function(original, length, options) {\n var cache = $61fef4eb9e75f4d7$var$create(null), conf, memLength, get, set, del, clear, extDel, extGet, extHas, normalizer, getListeners, setListeners, deleteListeners, memoized, resolve;\n if (length !== false) memLength = length;\n else if (isNaN(original.length)) memLength = 1;\n else memLength = original.length;\n if (options.normalizer) {\n normalizer = $4cc9ea5e5d6ba20c$exports(options.normalizer);\n get = normalizer.get;\n set = normalizer.set;\n del = normalizer.delete;\n clear = normalizer.clear;\n }\n if (options.resolvers != null) resolve = $ef5a185c3e4954dd$exports(options.resolvers);\n if (get) memoized = $bP3iK(function(arg) {\n var id, result, args = arguments;\n if (resolve) args = resolve(args);\n id = get(args);\n if (id !== null) {\n if (hasOwnProperty.call(cache, id)) {\n if (getListeners) conf.emit(\"get\", id, args, this);\n return cache[id];\n }\n }\n if (args.length === 1) result = $61fef4eb9e75f4d7$var$call.call(original, this, args[0]);\n else result = $61fef4eb9e75f4d7$var$apply.call(original, this, args);\n if (id === null) {\n id = get(args);\n if (id !== null) throw $25b38db412911945$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n id = set(args);\n } else if (hasOwnProperty.call(cache, id)) throw $25b38db412911945$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache[id] = result;\n if (setListeners) conf.emit(\"set\", id, null, result);\n return result;\n }, memLength);\n else if (length === 0) memoized = function() {\n var result;\n if (hasOwnProperty.call(cache, \"data\")) {\n if (getListeners) conf.emit(\"get\", \"data\", arguments, this);\n return cache.data;\n }\n if (arguments.length) result = $61fef4eb9e75f4d7$var$apply.call(original, this, arguments);\n else result = $61fef4eb9e75f4d7$var$call.call(original, this);\n if (hasOwnProperty.call(cache, \"data\")) throw $25b38db412911945$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache.data = result;\n if (setListeners) conf.emit(\"set\", \"data\", null, result);\n return result;\n };\n else memoized = function(arg) {\n var result, args = arguments, id;\n if (resolve) args = resolve(arguments);\n id = String(args[0]);\n if (hasOwnProperty.call(cache, id)) {\n if (getListeners) conf.emit(\"get\", id, args, this);\n return cache[id];\n }\n if (args.length === 1) result = $61fef4eb9e75f4d7$var$call.call(original, this, args[0]);\n else result = $61fef4eb9e75f4d7$var$apply.call(original, this, args);\n if (hasOwnProperty.call(cache, id)) throw $25b38db412911945$exports(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n cache[id] = result;\n if (setListeners) conf.emit(\"set\", id, null, result);\n return result;\n };\n conf = {\n original: original,\n memoized: memoized,\n profileName: options.profileName,\n get: function(args) {\n if (resolve) args = resolve(args);\n if (get) return get(args);\n return String(args[0]);\n },\n has: function(id) {\n return hasOwnProperty.call(cache, id);\n },\n delete: function(id) {\n var result;\n if (!hasOwnProperty.call(cache, id)) return;\n if (del) del(id);\n result = cache[id];\n delete cache[id];\n if (deleteListeners) conf.emit(\"delete\", id, result);\n },\n clear: function() {\n var oldCache = cache;\n if (clear) clear();\n cache = $61fef4eb9e75f4d7$var$create(null);\n conf.emit(\"clear\", oldCache);\n },\n on: function(type, listener) {\n if (type === \"get\") getListeners = true;\n else if (type === \"set\") setListeners = true;\n else if (type === \"delete\") deleteListeners = true;\n return $61fef4eb9e75f4d7$var$on.call(this, type, listener);\n },\n emit: $61fef4eb9e75f4d7$var$emit,\n updateEnv: function() {\n original = conf.original;\n }\n };\n if (get) extDel = $bP3iK(function(arg) {\n var id, args = arguments;\n if (resolve) args = resolve(args);\n id = get(args);\n if (id === null) return;\n conf.delete(id);\n }, memLength);\n else if (length === 0) extDel = function() {\n return conf.delete(\"data\");\n };\n else extDel = function(arg) {\n if (resolve) arg = resolve(arguments)[0];\n return conf.delete(arg);\n };\n extGet = $bP3iK(function() {\n var id, args = arguments;\n if (length === 0) return cache.data;\n if (resolve) args = resolve(args);\n if (get) id = get(args);\n else id = String(args[0]);\n return cache[id];\n });\n extHas = $bP3iK(function() {\n var id, args = arguments;\n if (length === 0) return conf.has(\"data\");\n if (resolve) args = resolve(args);\n if (get) id = get(args);\n else id = String(args[0]);\n if (id === null) return false;\n return conf.has(id);\n });\n $61fef4eb9e75f4d7$var$defineProperties(memoized, {\n __memoized__: $eXmen(true),\n delete: $eXmen(extDel),\n clear: $eXmen(conf.clear),\n _get: $eXmen(extGet),\n _has: $eXmen(extHas)\n });\n return conf;\n};\n\n\n\n$e3a91571b35e55c1$exports = function self(fn /*, options */ ) {\n var options, length, conf;\n $dxkoV(fn);\n options = Object(arguments[1]);\n if (options.async && options.promise) throw new Error(\"Options 'async' and 'promise' cannot be used together\");\n // Do not memoize already memoized function\n if (hasOwnProperty.call(fn, \"__memoized__\") && !options.force) return fn;\n // Resolve length;\n length = $d3e53142022fd418$exports(options.length, fn.length, options.async && $5twQR.async);\n // Configure cache map\n conf = $61fef4eb9e75f4d7$exports(fn, length, options);\n // Bind eventual extensions\n $5RsFi($5twQR, function(extFn, name) {\n if (options[name]) extFn(options[name], conf, options);\n });\n if (self.__profiler__) self.__profiler__(conf);\n conf.updateEnv();\n return conf.memoized;\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\n$d1e4d6db9ef11162$exports = function(fn /*, options*/ ) {\n var options = $3a7Qq(arguments[1]), length;\n if (!options.normalizer) {\n length = options.length = $d3e53142022fd418$exports(options.length, fn.length, options.async);\n if (length !== 0) {\n if (options.primitive) {\n if (length === false) options.normalizer = (parcelRequire(\"7o7h2\"));\n else if (length > 1) options.normalizer = (parcelRequire(\"jdXxe\"))(length);\n } else if (length === false) options.normalizer = (parcelRequire(\"1DZyI\"))();\n else if (length === 1) options.normalizer = (parcelRequire(\"loqvW\"))();\n else options.normalizer = (parcelRequire(\"f097S\"))(length);\n }\n }\n // Assure extensions\n if (options.async) (parcelRequire(\"7PnxH\"));\n if (options.promise) (parcelRequire(\"fCNrK\"));\n if (options.dispose) (parcelRequire(\"1EtHk\"));\n if (options.maxAge) (parcelRequire(\"6VQvb\"));\n if (options.max) (parcelRequire(\"jT7Ur\"));\n if (options.refCounter) (parcelRequire(\"6ZksK\"));\n return $e3a91571b35e55c1$exports(fn, options);\n};\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\n\n\nfunction $cc03115747abd396$export$3ce714bda98f65f0() {\n if ((0, $9b35e0b8c96f5aff$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $d7DIX$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $d7DIX$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $d7DIX$os.homedir)();\n if (maybeHomeDir === \"\") return undefined;\n return maybeHomeDir;\n }\n}\nconst $cc03115747abd396$var$tildeRegex = /^~(?=$|\\/|\\\\)/;\nfunction $cc03115747abd396$export$8312d9eeba321950(path) {\n const maybeHomeDir = $cc03115747abd396$export$3ce714bda98f65f0();\n if (maybeHomeDir === undefined) return path;\n return path.replace($cc03115747abd396$var$tildeRegex, maybeHomeDir);\n}\n\n\nconst { appendFile: $cc6b6f56a48c2610$var$appendFile, readFile: $cc6b6f56a48c2610$var$readFile, writeFile: $cc6b6f56a48c2610$var$writeFile } = (0, $d7DIX$fs.promises);\nconst $cc6b6f56a48c2610$export$74e1d742a60734ba = (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/.bashrc\");\nasync function $cc6b6f56a48c2610$var$sourceRCInRc_(options) {\n const sourceRcString = options.guard === undefined ? `\\nsource \"${options.rcPath}\"\\n` : `\\n# ${options.guard}\\nif [[ \"$SOURCE_${options.guard.toUpperCase()}RC\" != 0 && -f \"${options.rcPath}\" ]]; then source \"${options.rcPath}\"; fi\\n`;\n try {\n await Promise.all([\n $cc6b6f56a48c2610$var$addRCHeader(options),\n $cc6b6f56a48c2610$var$addSourceToTargetRc(sourceRcString, (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/.bashrc\")),\n $cc6b6f56a48c2610$var$addSourceToTargetRc(sourceRcString, (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/.profile\"))\n ]);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add ${sourceRcString} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n}\nconst $cc6b6f56a48c2610$export$1ff783a3949c8b15 = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($cc6b6f56a48c2610$var$sourceRCInRc_, {\n promise: true\n});\nasync function $cc6b6f56a48c2610$var$addRCHeader(options) {\n // a variable that prevents source rc from being called from .bashrc and .profile\n const rcHeader = options.guard === undefined ? \"\\n# Automatically Generated by envosman\\n\" : `\\n# Automatically Generated by envosman ${options.guard}\\nexport SOURCE_${options.guard.toUpperCase()}RC=0\\n`;\n if (await (0, $dOmbL.pathExists)(options.rcPath)) {\n const rcContent = await $cc6b6f56a48c2610$var$readFile(options.rcPath, \"utf8\");\n if (!rcContent.includes(rcHeader)) {\n // already executed setupCppInProfile\n await $cc6b6f56a48c2610$var$appendFile(options.rcPath, `\\n${rcHeader}\\n`);\n (0, $ER74K.info)(`Added ${rcHeader} to ${options.rcPath}`);\n }\n }\n}\nasync function $cc6b6f56a48c2610$var$addSourceToTargetRc(sourceRcString, targetRcPath) {\n if (await (0, $dOmbL.pathExists)(targetRcPath)) {\n const bashrcContent = await $cc6b6f56a48c2610$var$readFile(targetRcPath, \"utf-8\");\n if (!bashrcContent.includes(sourceRcString)) {\n await $cc6b6f56a48c2610$var$appendFile(targetRcPath, sourceRcString);\n (0, $ER74K.info)(`${sourceRcString} was added to ${targetRcPath}`);\n }\n }\n}\nasync function $cc6b6f56a48c2610$export$943913be1ba4f7ff(rcOptions) {\n if (await (0, $dOmbL.pathExists)(rcOptions.rcPath)) {\n const entries = (await $cc6b6f56a48c2610$var$readFile(rcOptions.rcPath, \"utf-8\")).split(\"\\n\");\n const uniqueEntries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n await $cc6b6f56a48c2610$var$writeFile(rcOptions.rcPath, uniqueEntries.join(\"\\n\"));\n await (0, $013b1931593eeaf8$export$4718e061a205eab)(rcOptions.rcPath);\n }\n}\n\n\nvar $ff873c95cf07adf2$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $ff873c95cf07adf2$var$is_posix_os = $d7DIX$os.platform() !== \"win32\";\nconst $ff873c95cf07adf2$var$version = $d7DIX$os.release();\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst $ff873c95cf07adf2$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $ff873c95cf07adf2$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$ff873c95cf07adf2$exports = function(given_path) {\n return $ff873c95cf07adf2$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $ff873c95cf07adf2$var$should_not_escape(...$ff873c95cf07adf2$var$windows_version_regex.exec($ff873c95cf07adf2$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\nvar $440f4387ee1a7906$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"awj79\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $440f4387ee1a7906$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($440f4387ee1a7906$exports);\n\n\nfunction $70acfbb77326be3f$export$4148cf4a40af9f34(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($ff873c95cf07adf2$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($440f4387ee1a7906$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\n\n\nconst { appendFile: $e29913a1d9c29856$var$appendFile } = (0, $d7DIX$fs.promises);\nasync function $e29913a1d9c29856$export$f63d3080ce25e0fd(name, valGiven, givenOptions = {}) {\n const options = {\n escapeSpace: false,\n overwrite: true,\n rcPath: (0, $cc6b6f56a48c2610$export$74e1d742a60734ba),\n ...givenOptions\n };\n const val = (0, $70acfbb77326be3f$export$4148cf4a40af9f34)(valGiven ?? \"\", options.escapeSpace);\n try {\n if (0, $9ne19.GITHUB_ACTIONS) try {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n (0, $ER74K.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $9yJgU.exportVariable)(name, val);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $e29913a1d9c29856$var$addEnvSystem(name, val, options);\n }\n else await $e29913a1d9c29856$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $ER74K.error)(`${err}\\nFailed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nasync function $e29913a1d9c29856$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven ?? \"\";\n switch(process.platform){\n case \"win32\":\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n (0, $ER74K.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $beaad862f625dcb6$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $ER74K.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await (0, $cc6b6f56a48c2610$export$1ff783a3949c8b15)(options);\n if (!options.overwrite) {\n await $e29913a1d9c29856$var$appendFile(options.rcPath, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $ER74K.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${options.rcPath}`);\n } else {\n await $e29913a1d9c29856$var$appendFile(options.rcPath, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $ER74K.info)(`${name}=\"${val}\" was added to \"${options.rcPath}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\n\n\n\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nconst { appendFile: $a291d034bf28b201$var$appendFile } = (0, $d7DIX$fs.promises);\nasync function $a291d034bf28b201$export$4c25481b843feb0b(path, givenOptions = {}) {\n const options = {\n rcPath: (0, $cc6b6f56a48c2610$export$74e1d742a60734ba),\n ...givenOptions\n };\n if ($a291d034bf28b201$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $d7DIX$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $9ne19.GITHUB_ACTIONS) try {\n (0, $9yJgU.addPath)(path);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $a291d034bf28b201$var$addPathSystem(path, options);\n }\n else await $a291d034bf28b201$var$addPathSystem(path, options);\n } catch (err) {\n (0, $ER74K.error)(`${err}\\nFailed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nasync function $a291d034bf28b201$var$addPathSystem(path, options) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $beaad862f625dcb6$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $ER74K.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await (0, $cc6b6f56a48c2610$export$1ff783a3949c8b15)(options);\n await $a291d034bf28b201$var$appendFile(options.rcPath, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $ER74K.info)(`\"${path}\" was added to \"${options.rcPath}\"`);\n return;\n default:\n return;\n }\n}\nconst $a291d034bf28b201$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $a291d034bf28b201$var$isIgnoredPath(path) {\n if ($a291d034bf28b201$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n const paths = process.env.PATH?.split((0, $d7DIX$path.delimiter)) ?? [];\n return paths.includes(path);\n }\n return false;\n}\n\n\n\n\n\n\nvar $ggaxg = parcelRequire(\"ggaxg\");\nvar $77f70800b555d1e7$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"fXZh0\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\";\n });\n}).call($77f70800b555d1e7$exports);\n\n\nvar $ddfdb3021fdfe31b$exports = {};\n\n$ddfdb3021fdfe31b$exports = (parcelRequire(\"elyHp\"));\n\n\nvar $4f38fb9d09e4f014$exports = {};\n$4f38fb9d09e4f014$exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $4fe3cd2ecda1db90$exports = {};\n\"use strict\";\n\n\nvar $jrMr3 = parcelRequire(\"jrMr3\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $4fe3cd2ecda1db90$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $4fe3cd2ecda1db90$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $4fe3cd2ecda1db90$var$packageJson = $d7DIX$process.env.npm_package_json;\nvar $4fe3cd2ecda1db90$var$userAgent = $d7DIX$process.env.npm_config_user_agent;\nvar $4fe3cd2ecda1db90$var$isNpm6 = Boolean($4fe3cd2ecda1db90$var$userAgent && $4fe3cd2ecda1db90$var$userAgent.startsWith(\"npm\"));\nvar $4fe3cd2ecda1db90$var$isNpm7 = Boolean($4fe3cd2ecda1db90$var$packageJson && $4fe3cd2ecda1db90$var$packageJson.endsWith(\"package.json\"));\nvar $4fe3cd2ecda1db90$var$isNpm = $4fe3cd2ecda1db90$var$isNpm6 || $4fe3cd2ecda1db90$var$isNpm7;\nvar $4fe3cd2ecda1db90$var$isYarn = Boolean($4fe3cd2ecda1db90$var$userAgent && $4fe3cd2ecda1db90$var$userAgent.startsWith(\"yarn\"));\nvar $4fe3cd2ecda1db90$var$isNpmOrYarn = $4fe3cd2ecda1db90$var$isNpm || $4fe3cd2ecda1db90$var$isYarn;\nvar $4fe3cd2ecda1db90$var$homeDirectory = $d7DIX$os.homedir();\nvar $4fe3cd2ecda1db90$var$configDir = process.env.XDG_CONFIG_HOME || $d7DIX$path.join($4fe3cd2ecda1db90$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $4fe3cd2ecda1db90$var$getConfigFile = function(packageName) {\n return $d7DIX$path.join($4fe3cd2ecda1db90$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $4fe3cd2ecda1db90$var$createConfigDir = function() {\n if (!$d7DIX$fs.existsSync($4fe3cd2ecda1db90$var$configDir)) $d7DIX$fs.mkdirSync($4fe3cd2ecda1db90$var$configDir, {\n recursive: true\n });\n};\nvar $4fe3cd2ecda1db90$var$getLastUpdate = function(packageName) {\n var configFile = $4fe3cd2ecda1db90$var$getConfigFile(packageName);\n try {\n if (!$d7DIX$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($d7DIX$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $4fe3cd2ecda1db90$var$saveLastUpdate = function(packageName) {\n var configFile = $4fe3cd2ecda1db90$var$getConfigFile(packageName);\n $d7DIX$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $4fe3cd2ecda1db90$var$getDistVersion = function(packageName, distTag) {\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $d7DIX$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $4fe3cd2ecda1db90$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $4fe3cd2ecda1db90$var$createConfigDir();\n lastUpdateCheck = $4fe3cd2ecda1db90$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $4fe3cd2ecda1db90$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $4fe3cd2ecda1db90$var$saveLastUpdate(pkg.name);\n if ($jrMr3.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $4fe3cd2ecda1db90$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"\\u250C\".concat(\"\\u2500\".repeat(width + 2), \"\\u2510\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat(\"\\u2500\".repeat(width + 2), \"\\u2518\"));\n return res.join(\"\\n\");\n};\nvar $4fe3cd2ecda1db90$var$simpleUpdateNotifier = function(args) {\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $4fe3cd2ecda1db90$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $4fe3cd2ecda1db90$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($4fe3cd2ecda1db90$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$4fe3cd2ecda1db90$exports = $4fe3cd2ecda1db90$var$simpleUpdateNotifier;\n\n\nvar $276f0975e227ff36$exports = {};\n$276f0975e227ff36$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.39.0\"}');\n\n\nasync function $cb87868918740ed3$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($4fe3cd2ecda1db90$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($276f0975e227ff36$exports)))\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $2fdf9153abf9f994$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $2fdf9153abf9f994$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $2fdf9153abf9f994$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $2fdf9153abf9f994$var$toArr(opts.string);\n opts.boolean = $2fdf9153abf9f994$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $2fdf9153abf9f994$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $2fdf9153abf9f994$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\n\nvar $4d675a29776046a6$exports = {};\n\"use strict\";\nObject.defineProperty($4d675a29776046a6$exports, \"__esModule\", {\n value: !0\n}), $4d675a29776046a6$exports.DownloaderHelper = $4d675a29776046a6$exports.DH_STATES = void 0;\nvar $4d675a29776046a6$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(a) {\n return typeof a;\n} : function(a) {\n return a && \"function\" == typeof Symbol && a.constructor === Symbol && a !== Symbol.prototype ? \"symbol\" : typeof a;\n}, $4d675a29776046a6$var$_createClass = function() {\n function a(a, b) {\n for(var c, d = 0; d < b.length; d++)c = b[d], c.enumerable = c.enumerable || !1, c.configurable = !0, \"value\" in c && (c.writable = !0), Object.defineProperty(a, c.key, c);\n }\n return function(b, c, d) {\n return c && a(b.prototype, c), d && a(b, d), b;\n };\n}();\n\nvar $4d675a29776046a6$var$fs = $4d675a29776046a6$var$_interopRequireWildcard($d7DIX$fs);\n\n\nvar $4d675a29776046a6$var$path = $4d675a29776046a6$var$_interopRequireWildcard($d7DIX$path);\n\nvar $4d675a29776046a6$var$http = $4d675a29776046a6$var$_interopRequireWildcard($d7DIX$http);\n\nvar $4d675a29776046a6$var$https = $4d675a29776046a6$var$_interopRequireWildcard($d7DIX$https);\n\nfunction $4d675a29776046a6$var$_interopRequireWildcard(a) {\n if (a && a.__esModule) return a;\n var b = {};\n if (null != a) for(var c in a)Object.prototype.hasOwnProperty.call(a, c) && (b[c] = a[c]);\n return b.default = a, b;\n}\nfunction $4d675a29776046a6$var$_classCallCheck(a, b) {\n if (!(a instanceof b)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $4d675a29776046a6$var$_possibleConstructorReturn(a, b) {\n if (!a) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return b && (\"object\" == typeof b || \"function\" == typeof b) ? b : a;\n}\nfunction $4d675a29776046a6$var$_inherits(a, b) {\n if (\"function\" != typeof b && null !== b) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof b);\n a.prototype = Object.create(b && b.prototype, {\n constructor: {\n value: a,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), b && (Object.setPrototypeOf ? Object.setPrototypeOf(a, b) : a.__proto__ = b);\n}\nvar $4d675a29776046a6$var$DH_STATES = $4d675a29776046a6$exports.DH_STATES = {\n IDLE: \"IDLE\",\n SKIPPED: \"SKIPPED\",\n STARTED: \"STARTED\",\n DOWNLOADING: \"DOWNLOADING\",\n RETRY: \"RETRY\",\n PAUSED: \"PAUSED\",\n RESUMED: \"RESUMED\",\n STOPPED: \"STOPPED\",\n FINISHED: \"FINISHED\",\n FAILED: \"FAILED\"\n}, $4d675a29776046a6$var$DownloaderHelper = $4d675a29776046a6$exports.DownloaderHelper = function(a) {\n function b(a, c) {\n var d = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {};\n $4d675a29776046a6$var$_classCallCheck(this, b);\n var e = $4d675a29776046a6$var$_possibleConstructorReturn(this, (b.__proto__ || Object.getPrototypeOf(b)).call(this, {\n captureRejections: !0\n }));\n return e.__validate(a, c) ? (e.url = e.requestURL = a.trim(), e.state = $4d675a29776046a6$var$DH_STATES.IDLE, e.__defaultOpts = {\n body: null,\n retry: !1,\n method: \"GET\",\n headers: {},\n fileName: \"\",\n timeout: -1,\n metadata: null,\n override: !1,\n forceResume: !1,\n removeOnStop: !0,\n removeOnFail: !0,\n progressThrottle: 1e3,\n httpRequestOptions: {},\n httpsRequestOptions: {},\n resumeOnIncomplete: !0,\n resumeIfFileExists: !1,\n resumeOnIncompleteMaxRetry: 5\n }, e.__opts = Object.assign({}, e.__defaultOpts), e.__pipes = [], e.__total = 0, e.__downloaded = 0, e.__progress = 0, e.__retryCount = 0, e.__retryTimeout = null, e.__resumeRetryCount = 0, e.__states = $4d675a29776046a6$var$DH_STATES, e.__promise = null, e.__request = null, e.__response = null, e.__isAborted = !1, e.__isResumed = !1, e.__isResumable = !1, e.__isRedirected = !1, e.__destFolder = c, e.__statsEstimate = {\n time: 0,\n bytes: 0,\n prevBytes: 0,\n throttleTime: 0\n }, e.__fileName = \"\", e.__filePath = \"\", e.updateOptions(d), e) : $4d675a29776046a6$var$_possibleConstructorReturn(e);\n }\n return $4d675a29776046a6$var$_inherits(b, a), $4d675a29776046a6$var$_createClass(b, [\n {\n key: \"start\",\n value: function c() {\n var a = this, b = function() {\n return new Promise(function(b, c) {\n a.__promise = {\n resolve: b,\n reject: c\n }, a.__start();\n });\n };\n return this.__opts.resumeIfFileExists && this.state !== this.__states.RESUMED ? this.getTotalSize().then(function(c) {\n var d = c.name, e = c.total, f = a.__opts.override;\n if (a.__opts.override = !0, a.__filePath = a.__getFilePath(d), a.__opts.override = f, a.__filePath && $4d675a29776046a6$var$fs.existsSync(a.__filePath)) {\n var g = a.__getFilesizeInBytes(a.__filePath);\n return g === e ? b() : a.resumeFromFile(a.__filePath, {\n total: e,\n fileName: d\n });\n }\n return b();\n }) : b();\n }\n },\n {\n key: \"pause\",\n value: function b() {\n var a = this;\n return this.state === this.__states.STOPPED ? Promise.resolve(!0) : (this.__response && (this.__response.unpipe(), this.__pipes.forEach(function(a) {\n return a.stream.unpipe();\n })), this.__fileStream && this.__fileStream.removeAllListeners(), this.__requestAbort(), this.__closeFileStream().then(function() {\n return a.__setState(a.__states.PAUSED), a.emit(\"pause\"), !0;\n }));\n }\n },\n {\n key: \"resume\",\n value: function a() {\n return this.__promise ? this.state === this.__states.STOPPED ? Promise.resolve(!1) : (this.__setState(this.__states.RESUMED), this.__isResumable && (this.__isResumed = !0, this.__reqOptions.headers.range = \"bytes=\" + this.__downloaded + \"-\"), this.emit(\"resume\", this.__isResumed), this.__start()) : this.start();\n }\n },\n {\n key: \"stop\",\n value: function c() {\n var a = this;\n if (this.state === this.__states.STOPPED) return Promise.resolve(!0);\n var b = function() {\n return new Promise(function(b, c) {\n $4d675a29776046a6$var$fs.access(a.__filePath, function(d) {\n return d ? (a.__emitStop(), b(!0)) : void $4d675a29776046a6$var$fs.unlink(a.__filePath, function(d) {\n return d ? (a.__setState(a.__states.FAILED), a.emit(\"error\", d), c(d)) : void (a.__emitStop(), b(!0));\n });\n });\n });\n };\n return this.__requestAbort(), this.__closeFileStream().then(function() {\n return a.__opts.removeOnStop ? b() : (a.__emitStop(), Promise.resolve(!0));\n });\n }\n },\n {\n key: \"pipe\",\n value: function c(a) {\n var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null;\n return this.__pipes.push({\n stream: a,\n options: b\n }), a;\n }\n },\n {\n key: \"unpipe\",\n value: function d() {\n var a = this, b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null, c = function(b) {\n return a.__response ? a.__response.unpipe(b) : b.unpipe();\n };\n if (b) {\n var e = this.__pipes.find(function(a) {\n return a.stream === b;\n });\n return void (e && (c(b), this.__pipes = this.__pipes.filter(function(a) {\n return a.stream !== b;\n })));\n }\n this.__pipes.forEach(function(a) {\n return c(a.stream);\n }), this.__pipes = [];\n }\n },\n {\n key: \"getDownloadPath\",\n value: function a() {\n return this.__filePath;\n }\n },\n {\n key: \"isResumable\",\n value: function a() {\n return this.__isResumable;\n }\n },\n {\n key: \"updateOptions\",\n value: function c(a) {\n var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : \"\";\n this.__opts = Object.assign({}, this.__opts, a), this.__headers = this.__opts.headers, -1 < this.__opts.timeout && (this.__opts.httpRequestOptions.timeout = this.__opts.timeout, this.__opts.httpsRequestOptions.timeout = this.__opts.timeout), (\"number\" != typeof this.__opts.progressThrottle || 0 > this.__opts.progressThrottle) && (this.__opts.progressThrottle = this.__defaultOpts.progressThrottle), this.url = b || this.url, this.__reqOptions = this.__getReqOptions(this.__opts.method, this.url, this.__opts.headers), this.__initProtocol(this.url);\n }\n },\n {\n key: \"getOptions\",\n value: function a() {\n return this.__opts;\n }\n },\n {\n key: \"getMetadata\",\n value: function a() {\n return this.__opts.metadata;\n }\n },\n {\n key: \"getStats\",\n value: function a() {\n return {\n total: this.__total,\n name: this.__fileName,\n downloaded: this.__downloaded,\n progress: this.__progress,\n speed: this.__statsEstimate.bytes\n };\n }\n },\n {\n key: \"getTotalSize\",\n value: function b() {\n var a = this;\n return new Promise(function(b, c) {\n var d = function(b) {\n a.__initProtocol(b);\n var c = Object.assign({}, a.__headers);\n c.hasOwnProperty(\"range\") && delete c.range;\n var d = a.__getReqOptions(\"HEAD\", b, c);\n return Object.assign({}, a.__reqOptions, d);\n }, e = function(f, g) {\n var h = a.__protocol.request(g, function(g) {\n if (a.__isRequireRedirect(g)) {\n var h = /^https?:\\/\\//.test(g.headers.location) ? g.headers.location : new $d7DIX$url.URL(g.headers.location, f).href;\n return a.emit(\"redirected\", h, f), e(h, d(h));\n }\n return 200 === g.statusCode ? void b({\n name: a.__getFileNameFromHeaders(g.headers, g),\n total: parseInt(g.headers[\"content-length\"]) || null\n }) : c(new Error(\"Response status was \" + g.statusCode));\n });\n h.on(\"error\", function(a) {\n return c(a);\n }), h.on(\"timeout\", function() {\n return c(new Error(\"timeout\"));\n }), h.on(\"uncaughtException\", function(a) {\n return c(a);\n }), h.end();\n };\n e(a.url, d(a.url));\n });\n }\n },\n {\n key: \"getResumeState\",\n value: function a() {\n return {\n downloaded: this.__downloaded,\n filePath: this.__filePath,\n fileName: this.__fileName,\n total: this.__total\n };\n }\n },\n {\n key: \"resumeFromFile\",\n value: function d(a) {\n var b = this, c = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {};\n return this.__opts.override = !0, this.__filePath = a, (c.total && c.fileName ? Promise.resolve({\n name: c.fileName,\n total: c.total\n }) : this.getTotalSize()).then(function(a) {\n var d = a.name, e = a.total;\n return b.__total = c.total || e, b.__fileName = c.fileName || d, b.__downloaded = c.downloaded || b.__getFilesizeInBytes(b.__filePath), b.__reqOptions.headers.range = \"bytes=\" + b.__downloaded + \"-\", b.__isResumed = !0, b.__isResumable = !0, b.__setState(b.__states.RESUMED), b.emit(\"resume\", b.__isResumed), new Promise(function(a, c) {\n b.__promise = {\n resolve: a,\n reject: c\n }, b.__start();\n });\n });\n }\n },\n {\n key: \"__start\",\n value: function a() {\n this.__isRedirected || this.state === this.__states.RESUMED || (this.emit(\"start\"), this.__setState(this.__states.STARTED), this.__initProtocol(this.url)), this.__response = null, this.__isAborted = !1, this.__request && !this.__request.destroyed && this.__request.destroy(), this.__retryTimeout && (clearTimeout(this.__retryTimeout), this.__retryTimeout = null), this.__request = this.__downloadRequest(this.__promise.resolve, this.__promise.reject), this.__request.on(\"error\", this.__onError(this.__promise.resolve, this.__promise.reject)), this.__request.on(\"timeout\", this.__onTimeout(this.__promise.resolve, this.__promise.reject)), this.__request.on(\"uncaughtException\", this.__onError(this.__promise.resolve, this.__promise.reject, !0)), this.__opts.body && this.__request.write(this.__opts.body), this.__request.end();\n }\n },\n {\n key: \"__resolvePending\",\n value: function b() {\n if (this.__promise) {\n var a = this.__promise.resolve;\n return this.__promise = null, a(!0);\n }\n }\n },\n {\n key: \"__downloadRequest\",\n value: function d(a, b) {\n var c = this;\n return this.__protocol.request(this.__reqOptions, function(d) {\n if (c.__response = d, c.__isResumed || (c.__total = parseInt(d.headers[\"content-length\"]) || null, c.__resetStats()), c.__isRequireRedirect(d)) {\n var e = /^https?:\\/\\//.test(d.headers.location) ? d.headers.location : new $d7DIX$url.URL(d.headers.location, c.url).href;\n return c.__isRedirected = !0, c.__initProtocol(e), c.emit(\"redirected\", e, c.url), c.__start();\n }\n if (200 !== d.statusCode && 206 !== d.statusCode) {\n var f = new Error(\"Response status was \" + d.statusCode);\n return f.status = d.statusCode || 0, f.body = d.body || \"\", c.__setState(c.__states.FAILED), c.emit(\"error\", f), b(f);\n }\n c.__opts.forceResume ? c.__isResumable = !0 : d.headers.hasOwnProperty(\"accept-ranges\") && \"none\" !== d.headers[\"accept-ranges\"] && (c.__isResumable = !0), c.__startDownload(d, a, b);\n });\n }\n },\n {\n key: \"__startDownload\",\n value: function h(a, b, c) {\n var d = this, e = a;\n if (!this.__isResumed) {\n var i = this.__getFileNameFromHeaders(a.headers);\n if (this.__filePath = this.__getFilePath(i), this.__fileName = this.__filePath.split($4d675a29776046a6$var$path.sep).pop(), $4d675a29776046a6$var$fs.existsSync(this.__filePath)) {\n var f = this.__getFilesizeInBytes(this.__filePath), g = this.__total ? this.__total : 0;\n if (\"object\" === $4d675a29776046a6$var$_typeof(this.__opts.override) && this.__opts.override.skip && (this.__opts.override.skipSmaller || f >= g)) return this.emit(\"skip\", {\n totalSize: this.__total,\n fileName: this.__fileName,\n filePath: this.__filePath,\n downloadedSize: f\n }), this.__setState(this.__states.SKIPPED), b(!0);\n }\n this.__fileStream = $4d675a29776046a6$var$fs.createWriteStream(this.__filePath, {});\n } else this.__fileStream = $4d675a29776046a6$var$fs.createWriteStream(this.__filePath, {\n flags: \"a\"\n });\n this.emit(\"download\", {\n fileName: this.__fileName,\n filePath: this.__filePath,\n totalSize: this.__total,\n isResumed: this.__isResumed,\n downloadedSize: this.__downloaded\n }), this.__retryCount = 0, this.__isResumed = !1, this.__isRedirected = !1, this.__setState(this.__states.DOWNLOADING), this.__statsEstimate.time = new Date, this.__statsEstimate.throttleTime = new Date, e.on(\"data\", function(a) {\n return d.__calculateStats(a.length);\n }), this.__pipes.forEach(function(a) {\n e.pipe(a.stream, a.options), e = a.stream;\n }), e.pipe(this.__fileStream), e.on(\"error\", this.__onError(b, c)), this.__fileStream.on(\"finish\", this.__onFinished(b, c)), this.__fileStream.on(\"error\", this.__onError(b, c));\n }\n },\n {\n key: \"__hasFinished\",\n value: function a() {\n return !this.__isAborted && -1 === [\n this.__states.PAUSED,\n this.__states.STOPPED,\n this.__states.RETRY,\n this.__states.FAILED,\n this.__states.RESUMED\n ].indexOf(this.state);\n }\n },\n {\n key: \"__isRequireRedirect\",\n value: function b(a) {\n return 300 < a.statusCode && 400 > a.statusCode && a.headers.hasOwnProperty(\"location\") && a.headers.location;\n }\n },\n {\n key: \"__onFinished\",\n value: function d(a, b) {\n var c = this;\n return function() {\n c.__fileStream.close(function(d) {\n if (d) return b(d);\n if (c.__hasFinished()) {\n var e = !!c.__total && c.__downloaded !== c.__total;\n if (e && c.__isResumable && c.__opts.resumeOnIncomplete && c.__resumeRetryCount <= c.__opts.resumeOnIncompleteMaxRetry) return c.__resumeRetryCount++, c.emit(\"warning\", new Error(\"uncomplete download, retrying\")), c.resume();\n c.__setState(c.__states.FINISHED), c.__pipes = [], c.emit(\"end\", {\n fileName: c.__fileName,\n filePath: c.__filePath,\n totalSize: c.__total,\n incomplete: e,\n onDiskSize: c.__getFilesizeInBytes(c.__filePath),\n downloadedSize: c.__downloaded\n });\n }\n return a(c.__downloaded === c.__total);\n });\n };\n }\n },\n {\n key: \"__closeFileStream\",\n value: function b() {\n var a = this;\n return this.__fileStream ? new Promise(function(b, c) {\n a.__fileStream.close(function(a) {\n return a ? c(a) : b(!0);\n });\n }) : Promise.resolve(!0);\n }\n },\n {\n key: \"__onError\",\n value: function e(a, b) {\n var c = this, d = !!(2 < arguments.length && void 0 !== arguments[2]) && arguments[2];\n return function(a) {\n return c.__pipes = [], d && c.__requestAbort(), c.state === c.__states.STOPPED || c.state === c.__states.FAILED ? void 0 : c.__opts.retry ? c.__retry(a).catch(function(d) {\n c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"error\", d ? d : a), b(d ? d : a);\n });\n }) : c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"error\", a), b(a);\n });\n };\n }\n },\n {\n key: \"__retry\",\n value: function h() {\n var a = this, b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null;\n if (!this.__opts.retry || \"object\" !== $4d675a29776046a6$var$_typeof(this.__opts.retry)) return Promise.reject(b || new Error(\"wrong retry options\"));\n var c = this.__opts.retry, d = c.delay, e = void 0 === d ? 0 : d, f = c.maxRetries, g = void 0 === f ? 999 : f;\n return this.__retryCount >= g ? Promise.reject(b || new Error(\"reached the maximum retries\")) : (this.__retryCount++, this.__setState(this.__states.RETRY), this.emit(\"retry\", this.__retryCount, this.__opts.retry, b), this.__response && (this.__response.unpipe(), this.__pipes.forEach(function(a) {\n return a.stream.unpipe();\n })), this.__fileStream && this.__fileStream.removeAllListeners(), this.__requestAbort(), this.__closeFileStream().then(function() {\n return new Promise(function(b) {\n return a.__retryTimeout = setTimeout(function() {\n return b(0 < a.__downloaded ? a.resume() : a.__start());\n }, e);\n });\n }));\n }\n },\n {\n key: \"__onTimeout\",\n value: function d(a, b) {\n var c = this;\n return function() {\n return c.__requestAbort(), c.__opts.retry ? c.__retry(new Error(\"timeout\")).catch(function(a) {\n c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), a ? b(a) : (c.emit(\"timeout\"), b(new Error(\"timeout\")));\n });\n }) : c.__removeFile().finally(function() {\n c.__setState(c.__states.FAILED), c.emit(\"timeout\"), b(new Error(\"timeout\"));\n });\n };\n }\n },\n {\n key: \"__resetStats\",\n value: function a() {\n this.__retryCount = 0, this.__downloaded = 0, this.__progress = 0, this.__resumeRetryCount = 0, this.__statsEstimate = {\n time: 0,\n bytes: 0,\n prevBytes: 0,\n throttleTime: 0\n };\n }\n },\n {\n key: \"__getFileNameFromHeaders\",\n value: function k(a, b) {\n var c = \"\", d = /.*filename\\*=.*?'.*?'([^\"].+?[^\"])(?:(?:;)|$)/i, e = /.*filename=\"(.*?)\";?/i, f = /.*filename=([^\"].+?[^\"])(?:(?:;)|$)/i, g = a.hasOwnProperty(\"content-disposition\"), h = g ? a[\"content-disposition\"].match(d) : null, i = !g || h ? null : a[\"content-disposition\"].match(e), j = !g || h || i ? null : a[\"content-disposition\"].match(f);\n return g && (h || i || j) ? (c = a[\"content-disposition\"], c = c.trim(), h ? c = h[1] : i ? c = i[1] : j && (c = j[1]), c = c.replace(/[/\\\\]/g, \"\")) : 0 < $4d675a29776046a6$var$path.basename(new $d7DIX$url.URL(this.requestURL).pathname).length ? c = $4d675a29776046a6$var$path.basename(new $d7DIX$url.URL(this.requestURL).pathname) : c = new $d7DIX$url.URL(this.requestURL).hostname + \".html\", this.__opts.fileName ? this.__getFileNameFromOpts(c, b) : c.replace(/\\.*$/, \"\");\n }\n },\n {\n key: \"__getFilePath\",\n value: function d(a) {\n var b = $4d675a29776046a6$var$path.join(this.__destFolder, a), c = b;\n return this.__opts.override || this.state === this.__states.RESUMED || (c = this.__uniqFileNameSync(c), b !== c && this.emit(\"renamed\", {\n path: c,\n fileName: c.split($4d675a29776046a6$var$path.sep).pop(),\n prevPath: b,\n prevFileName: b.split($4d675a29776046a6$var$path.sep).pop()\n })), c;\n }\n },\n {\n key: \"__getFileNameFromOpts\",\n value: function g(a, b) {\n if (!this.__opts.fileName) return a;\n if (\"string\" == typeof this.__opts.fileName) return this.__opts.fileName;\n if (\"function\" == typeof this.__opts.fileName) {\n var h = $4d675a29776046a6$var$path.join(this.__destFolder, a);\n return b && b.headers || this.__response && this.__response.headers ? this.__opts.fileName(a, h, (b ? b : this.__response).headers[\"content-type\"]) : this.__opts.fileName(a, h);\n }\n if (\"object\" === $4d675a29776046a6$var$_typeof(this.__opts.fileName)) {\n var c = this.__opts.fileName, d = c.name, e = !!c.hasOwnProperty(\"ext\") && c.ext;\n if (\"string\" == typeof e) return d + \".\" + e;\n if (\"boolean\" == typeof e) {\n if (e) return d;\n var f = a.includes(\".\") ? a.split(\".\").pop() : \"\";\n return \"\" === f ? d : d + \".\" + f;\n }\n }\n return a;\n }\n },\n {\n key: \"__calculateStats\",\n value: function f(a) {\n var b = new Date, c = b - this.__statsEstimate.time, d = b - this.__statsEstimate.throttleTime, e = this.__total || 0;\n a && (this.__downloaded += a, this.__progress = 0 === e ? 0 : 100 * (this.__downloaded / e), (this.__downloaded === e || 1e3 < c) && (this.__statsEstimate.time = b, this.__statsEstimate.bytes = this.__downloaded - this.__statsEstimate.prevBytes, this.__statsEstimate.prevBytes = this.__downloaded), (this.__downloaded === e || d > this.__opts.progressThrottle) && (this.__statsEstimate.throttleTime = b, this.emit(\"progress.throttled\", this.getStats())), this.emit(\"progress\", this.getStats()));\n }\n },\n {\n key: \"__setState\",\n value: function b(a) {\n this.state = a, this.emit(\"stateChanged\", this.state);\n }\n },\n {\n key: \"__getReqOptions\",\n value: function f(a, b) {\n var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}, d = new $d7DIX$url.URL(b), e = {\n protocol: d.protocol,\n host: d.hostname,\n port: d.port,\n path: d.pathname + d.search,\n method: a\n };\n return c && (e.headers = c), e;\n }\n },\n {\n key: \"__getFilesizeInBytes\",\n value: function d(a) {\n try {\n var b = $4d675a29776046a6$var$fs.statSync(a, {\n throwIfNoEntry: !1\n }), c = b.size || 0;\n return c;\n } catch (a) {\n this.emit(\"warning\", a);\n }\n return 0;\n }\n },\n {\n key: \"__validate\",\n value: function d(a, b) {\n if (\"string\" != typeof a) throw new Error(\"URL should be an string\");\n if (\"\" === a.trim()) throw new Error(\"URL couldn't be empty\");\n if (\"string\" != typeof b) throw new Error(\"Destination Folder should be an string\");\n if (\"\" === b.trim()) throw new Error(\"Destination Folder couldn't be empty\");\n if (!$4d675a29776046a6$var$fs.existsSync(b)) throw new Error(\"Destination Folder must exist\");\n var c = $4d675a29776046a6$var$fs.statSync(b);\n if (!c.isDirectory()) throw new Error(\"Destination Folder must be a directory\");\n try {\n $4d675a29776046a6$var$fs.accessSync(b, $4d675a29776046a6$var$fs.constants.W_OK);\n } catch (a) {\n throw new Error(\"Destination Folder must be writable\");\n }\n return !0;\n }\n },\n {\n key: \"__initProtocol\",\n value: function c(a) {\n var b = this.__getReqOptions(this.__opts.method, a, this.__headers);\n this.requestURL = a, -1 < a.indexOf(\"https://\") ? (this.__protocol = $4d675a29776046a6$var$https, b.agent = new $4d675a29776046a6$var$https.Agent({\n keepAlive: !1\n }), this.__reqOptions = Object.assign({}, b, this.__opts.httpsRequestOptions)) : (this.__protocol = $4d675a29776046a6$var$http, b.agent = new $4d675a29776046a6$var$http.Agent({\n keepAlive: !1\n }), this.__reqOptions = Object.assign({}, b, this.__opts.httpRequestOptions));\n }\n },\n {\n key: \"__uniqFileNameSync\",\n value: function f(a) {\n if (\"string\" != typeof a || \"\" === a) return a;\n try {\n $4d675a29776046a6$var$fs.accessSync(a, $4d675a29776046a6$var$fs.F_OK);\n var b = a.match(/(.*)(\\([0-9]+\\))(\\..*)$/), c = b ? b[1].trim() : a, d = b ? parseInt(b[2].replace(/\\(|\\)/, \"\")) : 0, e = a.split(\".\").pop();\n return e !== a && 0 < e.length ? (e = \".\" + e, c = c.replace(e, \"\")) : e = \"\", this.__uniqFileNameSync(c + \" (\" + ++d + \")\" + e);\n } catch (b) {\n return a;\n }\n }\n },\n {\n key: \"__removeFile\",\n value: function b() {\n var a = this;\n return new Promise(function(b) {\n return a.__fileStream ? void a.__fileStream.close(function(c) {\n return c && a.emit(\"warning\", c), a.__opts.removeOnFail ? $4d675a29776046a6$var$fs.access(a.__filePath, function(d) {\n return d ? b() : void $4d675a29776046a6$var$fs.unlink(a.__filePath, function(d) {\n d && a.emit(\"warning\", c), b();\n });\n }) : void b();\n }) : b();\n });\n }\n },\n {\n key: \"__requestAbort\",\n value: function a() {\n this.__isAborted = !0, this.__retryTimeout && (clearTimeout(this.__retryTimeout), this.__retryTimeout = null), this.__response && this.__response.destroy(), this.__request && (this.__request.destroy ? this.__request.destroy() : this.__request.abort());\n }\n },\n {\n key: \"__emitStop\",\n value: function a() {\n this.__resolvePending(), this.__setState(this.__states.STOPPED), this.emit(\"stop\");\n }\n }\n ]), b;\n}($d7DIX$events.EventEmitter);\n\n\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nconst { appendFile: $55703262513e8a67$var$appendFile } = (0, $d7DIX$fs.promises);\nasync function $55703262513e8a67$export$6fe6436bd9f53d02(name, path, priority = 40) {\n await (0, $9b35e0b8c96f5aff$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n priority.toString()\n ]);\n}\nasync function $55703262513e8a67$export$d04a90794d7fd3eb(name, path, rcOptions, priority = 40) {\n if (0, $9ne19.GITHUB_ACTIONS) await $55703262513e8a67$export$6fe6436bd9f53d02(name, path, priority);\n else {\n await (0, $cc6b6f56a48c2610$export$1ff783a3949c8b15)(rcOptions);\n await $55703262513e8a67$var$appendFile(rcOptions.rcPath, `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n/**\n * Get the environment variables to use for the apt command\n * @param apt The apt command to use\n * @private Used internally\n */ function $e9d3eb7844c6c70d$export$a5e1e68142f7a16c(apt) {\n const env = {\n ...process.env,\n DEBIAN_FRONTEND: \"noninteractive\"\n };\n if (apt === \"nala\") {\n // if LANG/LC_ALL is not set, enable utf8 otherwise nala fails because of ASCII encoding\n if (env.LANG === undefined) env.LANG = \"C.UTF-8\";\n if (env.LC_ALL === undefined) env.LC_ALL = \"C.UTF-8\";\n }\n return env;\n}\n\n\n\n\n\n/**\n * The timeout to use for apt commands\n * Wait up to 300 seconds if the apt-get lock is held\n * @private Used internally\n */ const $6d7ec0b965ba5da4$export$63332523ab2676dd = \"Dpkg::Lock::Timeout=300\";\n\n\n\nfunction $3316f84a8f4b138a$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $3316f84a8f4b138a$export$dbc6d2ab1ba4bfb0() {\n let apt;\n if ($3316f84a8f4b138a$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\n\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $9ag04 = parcelRequire(\"9ag04\");\n\n\n\n\n\nasync function $c4d8c66323ed89a2$export$e8ed7ca5b57b702e(pack) {\n try {\n // check if a package is installed\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"dpkg\", [\n \"-s\",\n pack\n ], {\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(\"apt-get\"),\n stdio: \"pipe\"\n });\n if (typeof stdout !== \"string\") return false;\n const lines = stdout.split(\"\\n\");\n // check if the output contains a line that starts with \"Status: install ok installed\"\n return lines.some((line)=>line.startsWith(\"Status: install ok installed\"));\n } catch {\n return false;\n }\n}\nasync function $c4d8c66323ed89a2$export$aaa4b6507c96b5db(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ], {\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(\"apt-get\"),\n stdio: \"pipe\"\n });\n if (typeof stdout !== \"string\") return false;\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n\n\n\n\n\nlet $590a5c2ae10aa9af$export$81eb835454e204ce = false // eslint-disable-line import/no-mutable-exports\n;\nfunction $590a5c2ae10aa9af$export$a4e956e5b5ed6e4f(apt = (0, $3316f84a8f4b138a$export$dbc6d2ab1ba4bfb0)()) {\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\",\n \"-o\",\n (0, $6d7ec0b965ba5da4$export$63332523ab2676dd)\n ] : [\n \"update\",\n \"-o\",\n (0, $6d7ec0b965ba5da4$export$63332523ab2676dd)\n ], {\n ...(0, $9b35e0b8c96f5aff$export$151aeb0ade3989e1),\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt)\n });\n $590a5c2ae10aa9af$export$81eb835454e204ce = true;\n}\nconst $590a5c2ae10aa9af$export$5f8013d121f67421 = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($590a5c2ae10aa9af$export$a4e956e5b5ed6e4f);\n\n\nvar $fd3ace85be502365$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($fd3ace85be502365$export$e6e2160a140a491e || ($fd3ace85be502365$export$e6e2160a140a491e = {}));\nasync function $fd3ace85be502365$export$94780099199674f4(packages, apt = (0, $3316f84a8f4b138a$export$dbc6d2ab1ba4bfb0)()) {\n return (await Promise.all(packages.map((pack)=>$fd3ace85be502365$export$80158881e1e46aed(pack, apt)))).filter((pack)=>pack !== undefined);\n}\nasync function $fd3ace85be502365$export$80158881e1e46aed(pack, apt = (0, $3316f84a8f4b138a$export$dbc6d2ab1ba4bfb0)()) {\n // Qualify the package into full package name/version\n const qualified = await $fd3ace85be502365$var$getAptArg(apt, pack.name, pack.version);\n // filter out the package that are already installed\n return await (0, $c4d8c66323ed89a2$export$e8ed7ca5b57b702e)(qualified) ? undefined : qualified;\n}\nasync function $fd3ace85be502365$var$aptPackageType(apt, name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $9ag04.default)(name)}-${(0, $9ag04.default)(version)}$`\n ], {\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt),\n stdio: \"pipe\"\n });\n if (stdout.trim() !== \"\") return 0;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ], {\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt)\n });\n if (stdout.trim() === \"\") return 1;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ], {\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt),\n stdio: \"pipe\"\n });\n if (showStdout.trim() !== \"\") return 2;\n } catch {\n // ignore\n }\n // If apt-cache fails, update the repos and try again\n if (!(0, $590a5c2ae10aa9af$export$81eb835454e204ce)) {\n (0, $590a5c2ae10aa9af$export$5f8013d121f67421)(apt);\n return $fd3ace85be502365$var$aptPackageType(apt, name, version);\n }\n return 3;\n}\nasync function $fd3ace85be502365$var$getAptArg(apt, name, version) {\n const package_type = await $fd3ace85be502365$var$aptPackageType(apt, name, version);\n switch(package_type){\n case 0:\n return `${name}-${version}`;\n case 1:\n return `${name}=${version}`;\n case 2:\n if (version !== undefined && version !== \"\") (0, $ER74K.warning)(`Could not find package ${name} with version ${version}. Installing the latest version.`);\n return name;\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`);\n }\n}\n\n\n\nasync function $c44e45ae77d04a10$export$d54f1fb36f75bb7f(apt) {\n // Update the repos\n (0, $590a5c2ae10aa9af$export$5f8013d121f67421)(apt);\n const toInstall = await (0, $fd3ace85be502365$export$94780099199674f4)([\n {\n name: \"ca-certificates\"\n },\n {\n name: \"gnupg\"\n },\n {\n name: \"apt-utils\"\n }\n ], apt);\n if (toInstall.length !== 0) (0, $9b35e0b8c96f5aff$export$58f152936f209932)(apt, [\n \"install\",\n \"-y\",\n \"--fix-broken\",\n \"-o\",\n (0, $6d7ec0b965ba5da4$export$63332523ab2676dd),\n ...toInstall\n ], {\n ...(0, $9b35e0b8c96f5aff$export$151aeb0ade3989e1),\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt)\n });\n}\nconst $c44e45ae77d04a10$export$70771269792f1560 = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($c44e45ae77d04a10$export$d54f1fb36f75bb7f, {\n promise: true\n});\n\n\n\n\nasync function $8745dfadf9e31e16$export$226ded8785806269(repo, apt = (0, $3316f84a8f4b138a$export$dbc6d2ab1ba4bfb0)()) {\n await (0, $c44e45ae77d04a10$export$70771269792f1560)(apt);\n await $8745dfadf9e31e16$export$72acbc95491a2e38(apt);\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n \"--no-update\",\n repo\n ], {\n ...(0, $9b35e0b8c96f5aff$export$151aeb0ade3989e1),\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt)\n });\n // Update the repos\n (0, $590a5c2ae10aa9af$export$5f8013d121f67421).clear() // ensure update is called\n ;\n (0, $590a5c2ae10aa9af$export$5f8013d121f67421)(apt);\n}\nasync function $8745dfadf9e31e16$export$72acbc95491a2e38(apt) {\n if (await (0, $c4d8c66323ed89a2$export$e8ed7ca5b57b702e)(\"software-properties-common\")) return;\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(apt, [\n \"install\",\n \"-y\",\n \"--fix-broken\",\n \"-o\",\n (0, $6d7ec0b965ba5da4$export$63332523ab2676dd),\n \"software-properties-common\"\n ], {\n ...(0, $9b35e0b8c96f5aff$export$151aeb0ade3989e1),\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt)\n });\n}\n\n\n\n\n\n\n\nconst $8802eeb63986cd81$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $8802eeb63986cd81$export$87fb71929453bd8f(packages, update = false) {\n const apt = (0, $3316f84a8f4b138a$export$dbc6d2ab1ba4bfb0)();\n for (const { name: name, version: version } of packages)(0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n // Update the repos if needed\n if (update) (0, $590a5c2ae10aa9af$export$5f8013d121f67421)(apt);\n // Add the repos if needed\n await $8802eeb63986cd81$var$addRepositories(apt, packages);\n const needToInstall = await (0, $fd3ace85be502365$export$94780099199674f4)(packages, apt);\n if (needToInstall.length === 0) {\n (0, $ER74K.info)(\"All packages are already installed\");\n return {\n binDir: \"/usr/bin/\"\n };\n }\n // Initialize apt if needed\n await (0, $c44e45ae77d04a10$export$70771269792f1560)(apt);\n try {\n // Add the keys if needed\n await $8802eeb63986cd81$var$addAptKeys(packages);\n // Install\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...needToInstall\n ], {\n ...(0, $9b35e0b8c96f5aff$export$151aeb0ade3989e1),\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt)\n });\n } catch (err) {\n if ($8802eeb63986cd81$var$isExecaError(err)) {\n if ($8802eeb63986cd81$var$retryErrors.some((error)=>err.stderr.includes(error))) {\n (0, $ER74K.warning)(`Failed to install packages ${needToInstall}. Retrying...`);\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"-o\",\n (0, $6d7ec0b965ba5da4$export$63332523ab2676dd),\n ...needToInstall\n ], {\n ...(0, $9b35e0b8c96f5aff$export$151aeb0ade3989e1),\n env: (0, $e9d3eb7844c6c70d$export$a5e1e68142f7a16c)(apt)\n });\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $8802eeb63986cd81$var$addRepositories(apt, packages) {\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>pack.repository ?? []))\n ];\n await Promise.all(allRepositories.map((repo)=>(0, $8745dfadf9e31e16$export$226ded8785806269)(repo, apt)));\n}\nasync function $8802eeb63986cd81$var$addAptKeys(packages) {\n await Promise.all(packages.map(async (pack)=>{\n if (pack.key !== undefined) await (0, $99405a7b584f25ed$export$5a01c6fa4f60a79f)(pack.key);\n }));\n}\nfunction $8802eeb63986cd81$var$isExecaError(err) {\n return typeof err.stderr === \"string\";\n}\n\n\nfunction $99405a7b584f25ed$export$5a01c6fa4f60a79f(options) {\n if (\"keyUrl\" in options) return $99405a7b584f25ed$export$118a136d06dbf4dc(options);\n else return $99405a7b584f25ed$export$11aa10c05ada0934(options);\n}\nconst $99405a7b584f25ed$export$8b9fa96f1a5cad63 = \"/etc/apt/trusted.gpg.d\";\nconst $99405a7b584f25ed$export$5c7b28dbb1dc8fdf = \"keyserver.ubuntu.com\";\nasync function $99405a7b584f25ed$export$11aa10c05ada0934({ key: key, keyServer: keyServer = $99405a7b584f25ed$export$5c7b28dbb1dc8fdf, fileName: fileName, keyStorePath: keyStorePath = $99405a7b584f25ed$export$5c7b28dbb1dc8fdf }) {\n try {\n $99405a7b584f25ed$var$assertGpgFileName(fileName);\n const filePath = (0, $d7DIX$path.join)(keyStorePath, fileName);\n if (!await (0, $dOmbL.pathExists)(filePath)) {\n $99405a7b584f25ed$var$initGpg();\n await (0, $9b35e0b8c96f5aff$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--keyserver\",\n keyServer,\n \"--recv-keys\",\n key\n ]);\n await (0, $9b35e0b8c96f5aff$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n filePath\n ]);\n }\n return filePath;\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add apt key via server ${keyServer}: ${err}`);\n return undefined;\n }\n}\nasync function $99405a7b584f25ed$export$118a136d06dbf4dc({ keyUrl: keyUrl, fileName: fileName, keyStorePath: keyStorePath = $99405a7b584f25ed$export$8b9fa96f1a5cad63 }) {\n try {\n $99405a7b584f25ed$var$assertGpgFileName(fileName);\n const filePath = (0, $d7DIX$path.join)(keyStorePath, fileName);\n if (!await (0, $dOmbL.pathExists)(filePath)) {\n $99405a7b584f25ed$var$initGpg();\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dlPath = (0, $d7DIX$path.join)((0, $d7DIX$os.tmpdir)(), fileName);\n const dl = new (0, $4d675a29776046a6$exports.DownloaderHelper)(keyUrl, (0, $d7DIX$os.tmpdir)(), {\n fileName: fileName\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download ${keyUrl}: ${err}`);\n });\n await dl.start();\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--import\",\n dlPath\n ]);\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"chmod\", [\n \"644\",\n filePath\n ]);\n }\n return filePath;\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add apt key via download ${keyUrl}: ${err}`);\n return undefined;\n }\n}\nfunction $99405a7b584f25ed$var$initGpg() {\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nfunction $99405a7b584f25ed$var$assertGpgFileName(fileName) {\n if (!fileName.endsWith(\".gpg\")) throw new Error(`Key file name must end with .gpg: ${fileName}`);\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* eslint-disable require-atomic-updates */ let $3b801cbe73da1992$var$binDir;\nasync function $3b801cbe73da1992$export$c5eeb9c87a610a0e(options = {}) {\n // brew is only available on darwin and linux\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n // check if the function has already been called\n if (typeof $3b801cbe73da1992$var$binDir === \"string\") return {\n binDir: $3b801cbe73da1992$var$binDir\n };\n // check if brew is already installed\n const maybeBinDir = await (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports)))(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $3b801cbe73da1992$var$binDir = (0, $d7DIX$path.dirname)(maybeBinDir);\n return {\n binDir: $3b801cbe73da1992$var$binDir\n };\n }\n // download the installation script\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dl = new (0, $4d675a29776046a6$exports.DownloaderHelper)(\"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\", (0, $d7DIX$os.tmpdir)(), {\n fileName: \"install-brew.sh\"\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download the brew installer script: ${err}`);\n });\n await dl.start();\n // brew installation is not thread-safe\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"/bin/bash\", [\n dl.getDownloadPath()\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n // add the bin directory to the PATH\n $3b801cbe73da1992$var$binDir = $3b801cbe73da1992$export$2b05267713308cc();\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)($3b801cbe73da1992$var$binDir, options.rcOptions);\n return {\n binDir: $3b801cbe73da1992$var$binDir\n };\n}\nfunction $3b801cbe73da1992$export$2b05267713308cc() {\n if (process.platform === \"darwin\") {\n if (process.arch === \"arm64\") return \"/opt/homebrew/bin/\";\n else return \"/usr/local/bin/\";\n }\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n throw new Error(\"Unsupported platform for brew\");\n}\n\n\n/* eslint-disable require-atomic-updates */ let $a38ba2d26eb849e1$var$hasBrew = false;\nasync function $a38ba2d26eb849e1$export$72d03060ad30aa7f(name, version, givenOptions = {}) {\n const options = {\n overwrite: true,\n cask: false,\n args: [],\n ...givenOptions\n };\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!$a38ba2d26eb849e1$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $3b801cbe73da1992$export$c5eeb9c87a610a0e)();\n $a38ba2d26eb849e1$var$hasBrew = true;\n }\n const binDir = (0, $3b801cbe73da1992$export$2b05267713308cc)();\n const brewPath = (0, $d7DIX$path.join)(binDir, \"brew\");\n // Args\n const args = [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name\n ];\n if (options.overwrite) args.push(\"--overwrite\");\n if (options.cask) args.push(\"--cask\");\n // brew is not thread-safe\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(brewPath, args, {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n\n\n\n\n\n\n\nlet $3cbfee605ac1e082$var$hasDnfCache = undefined;\nfunction $3cbfee605ac1e082$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($3cbfee605ac1e082$var$hasDnfCache === undefined) $3cbfee605ac1e082$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $3cbfee605ac1e082$var$hasDnfCache;\n}\n\n\n\nlet $84785c71f430250a$var$isArchCache = undefined;\nfunction $84785c71f430250a$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($84785c71f430250a$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $84785c71f430250a$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $84785c71f430250a$var$isArchCache;\n}\n\n\n\nlet $7b55ac603b97ae6e$var$isUbuntuCache = undefined;\nfunction $7b55ac603b97ae6e$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($7b55ac603b97ae6e$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $7b55ac603b97ae6e$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $7b55ac603b97ae6e$var$isUbuntuCache;\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n/* eslint-disable require-atomic-updates */ let $5540d46c90af649b$var$binDir;\nasync function $5540d46c90af649b$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $5540d46c90af649b$var$binDir === \"string\") return {\n binDir: $5540d46c90af649b$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $5540d46c90af649b$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $5540d46c90af649b$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(powershell, [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\"\n ], {\n stdio: \"inherit\"\n });\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(chocoPath, (0, $447038b429c54f91$export$9460b536668416ce));\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeChoco !== null) $5540d46c90af649b$var$binDir = (0, $ceI0e.dirname)(maybeChoco);\n else $5540d46c90af649b$var$binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $dOmbL.pathExists)($5540d46c90af649b$var$binDir)) return {\n binDir: $5540d46c90af649b$var$binDir\n };\n return undefined;\n}\n\n\n\nlet $ca3ee4fd324ae5e9$var$hasChoco = false;\nasync function $ca3ee4fd324ae5e9$export$9f6912bc890040b2(name, version, args = []) {\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via chocolatey`);\n if (!$ca3ee4fd324ae5e9$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $5540d46c90af649b$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $ca3ee4fd324ae5e9$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n env.TMP = undefined;\n env.TEMP = undefined;\n env.Path = undefined;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $ER74K.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nasync function $7e2451edad050552$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$7e2451edad050552$var$getDnfArg(pack.name, pack.version)));\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $7e2451edad050552$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $ER74K.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\nasync function $8550ac0edfced131$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $99405a7b584f25ed$export$118a136d06dbf4dc)({\n fileName: \"bazel-archive-keyring.gpg\",\n keyUrl: \"https://bazel.build/bazel-release.pub.gpg\"\n });\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`\n ]);\n return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n/* eslint-disable require-atomic-updates */ let $6f126e8fe01fa080$var$didUpdate = false;\nlet $6f126e8fe01fa080$var$didInit = false;\nasync function $6f126e8fe01fa080$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$6f126e8fe01fa080$var$didUpdate && aur !== \"yay\") {\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $6f126e8fe01fa080$var$didUpdate = true;\n }\n // install base-devel\n if (!$6f126e8fe01fa080$var$didInit && aur !== \"yay\") {\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $6f126e8fe01fa080$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $9b35e0b8c96f5aff$export$58f152936f209932)(aur ?? pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $6f126e8fe01fa080$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $ER74K.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $6f126e8fe01fa080$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $6f126e8fe01fa080$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($6f126e8fe01fa080$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\nfunction $37a450505a669dce$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"ccache\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $4F3T1 = parcelRequire(\"4F3T1\");\n\nvar $ekDr6 = parcelRequire(\"ekDr6\");\n\n\nvar $b6359893e987d0a9$exports = {};\n\nvar $b6359893e987d0a9$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $b6359893e987d0a9$var$__createBinding = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $b6359893e987d0a9$var$__setModuleDefault = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $b6359893e987d0a9$var$__importStar = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $b6359893e987d0a9$var$__createBinding(result, mod, k);\n }\n $b6359893e987d0a9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b6359893e987d0a9$var$__awaiter = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $b6359893e987d0a9$var$__importDefault = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($b6359893e987d0a9$exports, \"__esModule\", {\n value: true\n});\n$b6359893e987d0a9$exports.evaluateVersions = $b6359893e987d0a9$exports.isExplicitVersion = $b6359893e987d0a9$exports.findFromManifest = $b6359893e987d0a9$exports.getManifestFromRepo = $b6359893e987d0a9$exports.findAllVersions = $b6359893e987d0a9$exports.find = $b6359893e987d0a9$exports.cacheFile = $b6359893e987d0a9$exports.cacheDir = $b6359893e987d0a9$exports.extractZip = $b6359893e987d0a9$exports.extractXar = $b6359893e987d0a9$exports.extractTar = $b6359893e987d0a9$exports.extract7z = $b6359893e987d0a9$exports.downloadTool = $b6359893e987d0a9$exports.HTTPError = void 0;\n\nconst $b6359893e987d0a9$var$core = $b6359893e987d0a9$var$__importStar((parcelRequire(\"9yJgU\")));\n\nconst $b6359893e987d0a9$var$io = $b6359893e987d0a9$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $b6359893e987d0a9$var$fs = $b6359893e987d0a9$var$__importStar($d7DIX$fs);\n\nconst $b6359893e987d0a9$var$mm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"ktIRP\")));\n\nconst $b6359893e987d0a9$var$os = $b6359893e987d0a9$var$__importStar($d7DIX$os);\n\nconst $b6359893e987d0a9$var$path = $b6359893e987d0a9$var$__importStar($d7DIX$path);\n\nconst $b6359893e987d0a9$var$httpm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"lpeQd\")));\n\nconst $b6359893e987d0a9$var$semver = $b6359893e987d0a9$var$__importStar((parcelRequire(\"aNgTs\")));\n\nconst $b6359893e987d0a9$var$stream = $b6359893e987d0a9$var$__importStar($d7DIX$stream);\n\nconst $b6359893e987d0a9$var$util = $b6359893e987d0a9$var$__importStar($d7DIX$util);\n\n\nconst $b6359893e987d0a9$var$v4_1 = $b6359893e987d0a9$var$__importDefault((parcelRequire(\"dGCqI\")));\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\nvar $339994c479086605$exports = {};\n\"use strict\";\nvar $339994c479086605$var$__createBinding = $339994c479086605$exports && $339994c479086605$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $339994c479086605$var$__setModuleDefault = $339994c479086605$exports && $339994c479086605$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $339994c479086605$var$__importStar = $339994c479086605$exports && $339994c479086605$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $339994c479086605$var$__createBinding(result, mod, k);\n }\n $339994c479086605$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $339994c479086605$var$__awaiter = $339994c479086605$exports && $339994c479086605$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($339994c479086605$exports, \"__esModule\", {\n value: true\n});\n$339994c479086605$exports.RetryHelper = void 0;\n\nconst $339994c479086605$var$core = $339994c479086605$var$__importStar((parcelRequire(\"9yJgU\")));\n/**\n * Internal class for retries\n */ class $339994c479086605$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $339994c479086605$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $339994c479086605$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $339994c479086605$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $339994c479086605$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$339994c479086605$exports.RetryHelper = $339994c479086605$var$RetryHelper;\n\n\nclass $b6359893e987d0a9$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$b6359893e987d0a9$exports.HTTPError = $b6359893e987d0a9$var$HTTPError;\nconst $b6359893e987d0a9$var$IS_WINDOWS = process.platform === \"win32\";\nconst $b6359893e987d0a9$var$IS_MAC = process.platform === \"darwin\";\nconst $b6359893e987d0a9$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $b6359893e987d0a9$var$downloadTool(url, dest, auth, headers) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getTempDirectory(), $b6359893e987d0a9$var$v4_1.default());\n yield $b6359893e987d0a9$var$io.mkdirP($b6359893e987d0a9$var$path.dirname(dest));\n $b6359893e987d0a9$var$core.debug(`Downloading ${url}`);\n $b6359893e987d0a9$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $339994c479086605$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n return yield $b6359893e987d0a9$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $b6359893e987d0a9$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$b6359893e987d0a9$exports.downloadTool = $b6359893e987d0a9$var$downloadTool;\nfunction $b6359893e987d0a9$var$downloadToolAttempt(url, dest, auth, headers) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if ($b6359893e987d0a9$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $b6359893e987d0a9$var$httpm.HttpClient($b6359893e987d0a9$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $b6359893e987d0a9$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $b6359893e987d0a9$var$HTTPError(response.message.statusCode);\n $b6359893e987d0a9$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $b6359893e987d0a9$var$util.promisify($b6359893e987d0a9$var$stream.pipeline);\n const responseMessageFactory = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $b6359893e987d0a9$var$fs.createWriteStream(dest));\n $b6359893e987d0a9$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $b6359893e987d0a9$var$core.debug(\"download failed\");\n try {\n yield $b6359893e987d0a9$var$io.rmRF(dest);\n } catch (err) {\n $b6359893e987d0a9$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extract7z(file, dest, _7zPath) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($b6359893e987d0a9$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $b6359893e987d0a9$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $jlr6Q.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $b6359893e987d0a9$var$io.which(\"powershell\", true);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extract7z = $b6359893e987d0a9$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extractTar(file, dest, flags = \"xz\") {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $b6359893e987d0a9$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $jlr6Q.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $b6359893e987d0a9$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($b6359893e987d0a9$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($b6359893e987d0a9$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $jlr6Q.exec(`tar`, args);\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractTar = $b6359893e987d0a9$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extractXar(file, dest, flags = []) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($b6359893e987d0a9$var$IS_MAC, \"extractXar() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($b6359893e987d0a9$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $b6359893e987d0a9$var$io.which(\"xar\", true);\n yield $jlr6Q.exec(`\"${xarPath}\"`, $b6359893e987d0a9$var$_unique(args));\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractXar = $b6359893e987d0a9$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extractZip(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n if ($b6359893e987d0a9$var$IS_WINDOWS) yield $b6359893e987d0a9$var$extractZipWin(file, dest);\n else yield $b6359893e987d0a9$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractZip = $b6359893e987d0a9$var$extractZip;\nfunction $b6359893e987d0a9$var$extractZipWin(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $b6359893e987d0a9$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $b6359893e987d0a9$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $jlr6Q.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $b6359893e987d0a9$var$io.which(\"powershell\", true);\n $b6359893e987d0a9$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $b6359893e987d0a9$var$extractZipNix(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $b6359893e987d0a9$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$b6359893e987d0a9$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $jlr6Q.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $b6359893e987d0a9$var$cacheDir(sourceDir, tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n version = $b6359893e987d0a9$var$semver.clean(version) || version;\n arch = arch || $b6359893e987d0a9$var$os.arch();\n $b6359893e987d0a9$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $b6359893e987d0a9$var$core.debug(`source dir: ${sourceDir}`);\n if (!$b6359893e987d0a9$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $b6359893e987d0a9$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $b6359893e987d0a9$var$fs.readdirSync(sourceDir)){\n const s = $b6359893e987d0a9$var$path.join(sourceDir, itemName);\n yield $b6359893e987d0a9$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $b6359893e987d0a9$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$b6359893e987d0a9$exports.cacheDir = $b6359893e987d0a9$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $b6359893e987d0a9$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n version = $b6359893e987d0a9$var$semver.clean(version) || version;\n arch = arch || $b6359893e987d0a9$var$os.arch();\n $b6359893e987d0a9$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $b6359893e987d0a9$var$core.debug(`source file: ${sourceFile}`);\n if (!$b6359893e987d0a9$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $b6359893e987d0a9$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $b6359893e987d0a9$var$path.join(destFolder, targetFile);\n $b6359893e987d0a9$var$core.debug(`destination file ${destPath}`);\n yield $b6359893e987d0a9$var$io.cp(sourceFile, destPath);\n // write .complete\n $b6359893e987d0a9$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$b6359893e987d0a9$exports.cacheFile = $b6359893e987d0a9$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $b6359893e987d0a9$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $b6359893e987d0a9$var$os.arch();\n // attempt to resolve an explicit version\n if (!$b6359893e987d0a9$var$isExplicitVersion(versionSpec)) {\n const localVersions = $b6359893e987d0a9$var$findAllVersions(toolName, arch);\n const match = $b6359893e987d0a9$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $b6359893e987d0a9$var$semver.clean(versionSpec) || \"\";\n const cachePath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $b6359893e987d0a9$var$core.debug(`checking cache: ${cachePath}`);\n if ($b6359893e987d0a9$var$fs.existsSync(cachePath) && $b6359893e987d0a9$var$fs.existsSync(`${cachePath}.complete`)) {\n $b6359893e987d0a9$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $b6359893e987d0a9$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$b6359893e987d0a9$exports.find = $b6359893e987d0a9$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $b6359893e987d0a9$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $b6359893e987d0a9$var$os.arch();\n const toolPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), toolName);\n if ($b6359893e987d0a9$var$fs.existsSync(toolPath)) {\n const children = $b6359893e987d0a9$var$fs.readdirSync(toolPath);\n for (const child of children)if ($b6359893e987d0a9$var$isExplicitVersion(child)) {\n const fullPath = $b6359893e987d0a9$var$path.join(toolPath, child, arch || \"\");\n if ($b6359893e987d0a9$var$fs.existsSync(fullPath) && $b6359893e987d0a9$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$b6359893e987d0a9$exports.findAllVersions = $b6359893e987d0a9$var$findAllVersions;\nfunction $b6359893e987d0a9$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $b6359893e987d0a9$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $b6359893e987d0a9$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $b6359893e987d0a9$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$b6359893e987d0a9$exports.getManifestFromRepo = $b6359893e987d0a9$var$getManifestFromRepo;\nfunction $b6359893e987d0a9$var$findFromManifest(versionSpec, stable, manifest, archFilter = $b6359893e987d0a9$var$os.arch()) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $b6359893e987d0a9$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$b6359893e987d0a9$exports.findFromManifest = $b6359893e987d0a9$var$findFromManifest;\nfunction $b6359893e987d0a9$var$_createExtractFolder(dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getTempDirectory(), $b6359893e987d0a9$var$v4_1.default());\n yield $b6359893e987d0a9$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $b6359893e987d0a9$var$_createToolPath(tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), tool, $b6359893e987d0a9$var$semver.clean(version) || version, arch || \"\");\n $b6359893e987d0a9$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $b6359893e987d0a9$var$io.rmRF(folderPath);\n yield $b6359893e987d0a9$var$io.rmRF(markerPath);\n yield $b6359893e987d0a9$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $b6359893e987d0a9$var$_completeToolPath(tool, version, arch) {\n const folderPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), tool, $b6359893e987d0a9$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $b6359893e987d0a9$var$fs.writeFileSync(markerPath, \"\");\n $b6359893e987d0a9$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $b6359893e987d0a9$var$isExplicitVersion(versionSpec) {\n const c = $b6359893e987d0a9$var$semver.clean(versionSpec) || \"\";\n $b6359893e987d0a9$var$core.debug(`isExplicit: ${c}`);\n const valid = $b6359893e987d0a9$var$semver.valid(c) != null;\n $b6359893e987d0a9$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$b6359893e987d0a9$exports.isExplicitVersion = $b6359893e987d0a9$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $b6359893e987d0a9$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $b6359893e987d0a9$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($b6359893e987d0a9$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $b6359893e987d0a9$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $b6359893e987d0a9$var$core.debug(`matched: ${version}`);\n else $b6359893e987d0a9$var$core.debug(\"match not found\");\n return version;\n}\n$b6359893e987d0a9$exports.evaluateVersions = $b6359893e987d0a9$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $b6359893e987d0a9$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $d7DIX$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $b6359893e987d0a9$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $d7DIX$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $b6359893e987d0a9$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $b6359893e987d0a9$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\nvar $ba82889b517d2eb4$exports = {};\n\"use strict\";\nObject.defineProperty($ba82889b517d2eb4$exports, \"__esModule\", {\n value: true\n});\n$ba82889b517d2eb4$exports.retryAsPromised = $ba82889b517d2eb4$exports.TimeoutError = void 0;\nclass $ba82889b517d2eb4$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$ba82889b517d2eb4$exports.TimeoutError = $ba82889b517d2eb4$var$TimeoutError;\nfunction $ba82889b517d2eb4$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $ba82889b517d2eb4$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $ba82889b517d2eb4$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $ba82889b517d2eb4$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $ba82889b517d2eb4$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $ba82889b517d2eb4$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$ba82889b517d2eb4$exports.retryAsPromised = $ba82889b517d2eb4$var$retryAsPromised;\n$ba82889b517d2eb4$exports.default = $ba82889b517d2eb4$var$retryAsPromised;\n\n\n\n\nvar $fcBgE = parcelRequire(\"fcBgE\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\n\n\n\n\n\n\nfunction $6285d3d29afbf608$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"p7zip\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\n\nvar $4615baf4c3b031c2$export$9b5fafdc242c3687;\n(function(ArchiveType) {\n ArchiveType[ArchiveType[\"Tar\"] = 0] = \"Tar\";\n ArchiveType[ArchiveType[\"TarGz\"] = 1] = \"TarGz\";\n ArchiveType[ArchiveType[\"TarXz\"] = 2] = \"TarXz\";\n ArchiveType[ArchiveType[\"Zip\"] = 3] = \"Zip\";\n ArchiveType[ArchiveType[\"SevenZip\"] = 4] = \"SevenZip\";\n})($4615baf4c3b031c2$export$9b5fafdc242c3687 || ($4615baf4c3b031c2$export$9b5fafdc242c3687 = {}));\nfunction $4615baf4c3b031c2$export$3628f1147c560166(file) {\n const ext = file.split(\".\").pop();\n if (ext === \"tar\") return 0;\n if (ext === \"gz\" || ext === \"tgz\") return 1;\n if (ext === \"xz\" || ext === \"txz\") return 2;\n if (ext === \"zip\") return 3;\n if (ext === \"7z\" || ext === \"exe\") return 4;\n // default to 7z\n (0, $ER74K.warning)(`Unknown archive type: ${ext}. Defaulting to 7z`);\n return 4;\n}\nfunction $4615baf4c3b031c2$export$d2992a902ce784d7(archiveType) {\n switch(archiveType){\n case 0:\n case 1:\n return $4615baf4c3b031c2$export$2ab07ac150064014;\n case 2:\n return $4615baf4c3b031c2$export$2ab07ac150064014;\n case 3:\n return $4615baf4c3b031c2$export$6411c5cbab21135b;\n default:\n return $4615baf4c3b031c2$export$eecfe186811d4a20;\n }\n}\nlet $4615baf4c3b031c2$var$sevenZip;\nasync function $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest) {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(await $4615baf4c3b031c2$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $013b1931593eeaf8$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $4615baf4c3b031c2$var$getSevenZip() {\n if ($4615baf4c3b031c2$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $6285d3d29afbf608$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $4615baf4c3b031c2$var$sevenZip = \"7z\";\n }\n return $4615baf4c3b031c2$var$sevenZip;\n}\nfunction $4615baf4c3b031c2$export$7949938b2681a4f0(file, dest) {\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nasync function $4615baf4c3b031c2$export$6411c5cbab21135b(file, dest) {\n // if unzip is available use it\n if ((0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"unzip\", {\n nothrow: true\n }) !== null) {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"unzip\", [\n file,\n \"-d\",\n dest\n ], {\n stdio: \"inherit\"\n });\n await (0, $013b1931593eeaf8$export$4718e061a205eab)(dest);\n return dest;\n }\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nasync function $4615baf4c3b031c2$export$2ab07ac150064014(file, dest, stripComponents = 0, flags = []) {\n await $4615baf4c3b031c2$var$installTarDependencies($4615baf4c3b031c2$export$3628f1147c560166(file));\n try {\n await (0, $fcBgE.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n `--strip-components=${stripComponents}`,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $ER74K.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n await (0, $013b1931593eeaf8$export$4718e061a205eab)(dest);\n return dest;\n}\nasync function $4615baf4c3b031c2$var$installTarDependencies(archiveType) {\n (0, $ER74K.info)(\"Installing tar extraction dependencies\");\n switch(archiveType){\n case 1:\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) {\n await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gzip\");\n await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\");\n } else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"gzip\"\n },\n {\n name: \"tar\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"gzip\"\n },\n {\n name: \"tar\"\n }\n ]);\n }\n break;\n case 2:\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) {\n await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"xz\");\n await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\");\n } else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"xz\"\n },\n {\n name: \"tar\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"xz-utils\"\n },\n {\n name: \"tar\"\n }\n ]);\n }\n break;\n default:\n throw new Error(`Unsupported archive type: ${archiveType} for tar extraction`);\n }\n}\n\n\nasync function $d81b351c18e56f74$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $ER74K.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? (0, $d7DIX$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $ceI0e.join)((0, $d7DIX$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $9ne19.GITHUB_ACTIONS) try {\n const dir = (0, $b6359893e987d0a9$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $ceI0e.join)(dir, extractedFolderName);\n const binDir = (0, $ceI0e.join)(installDir, binRelativeDir);\n if (await (0, $dOmbL.pathExists)((0, $ceI0e.join)(binDir, binFileName))) {\n (0, $ER74K.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $ceI0e.join)(setupDir, extractedFolderName);\n const binDir = (0, $ceI0e.join)(installDir, binRelativeDir);\n const binFile = (0, $ceI0e.join)(binDir, binFileName);\n await $d81b351c18e56f74$var$downloadExtractInstall(binDir, binFile, name, version, url, setupDir, extractFunction, arch);\n await $d81b351c18e56f74$var$cacheInstallation(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\nasync function $d81b351c18e56f74$var$downloadExtractInstall(binDir, binFile, name, version, url, setupDir, givenExtractFunction, arch) {\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $dOmbL.pathExists)(binDir),\n (0, $dOmbL.pathExists)(binFile)\n ])).includes(false)) try {\n const downloaded = await $d81b351c18e56f74$var$tryDownload(name, version, url);\n (0, $ER74K.info)(`Extracting ${downloaded} to ${setupDir}`);\n const extractFunction = givenExtractFunction ?? (0, $4615baf4c3b031c2$export$d2992a902ce784d7)((0, $4615baf4c3b031c2$export$3628f1147c560166)(url));\n await extractFunction(downloaded, setupDir);\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`);\n }\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $ER74K.info)(`Add ${binDir} to PATH`);\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n // Check if the binary exists after extraction\n if (!await (0, $dOmbL.pathExists)(binFile)) throw new Error(`Failed to find the binary ${binFile} after extracting ${name} ${version} ${arch}`);\n // make the binary executable on non-windows platforms\n if (process.platform !== \"win32\") try {\n await (0, $4oHc1.chmod)(binFile, \"755\");\n } catch (err) {\n (0, $ER74K.warning)(`Failed to make ${binFile} executable: ${err}`);\n }\n}\nasync function $d81b351c18e56f74$var$tryDownload(name, version, url) {\n (0, $ER74K.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($ba82889b517d2eb4$exports)))(()=>{\n const downloadedFilePath = (0, $ceI0e.join)(process.env.RUNNER_TEMP ?? (0, $d7DIX$os.tmpdir)(), `${Date.now()}-${(0, $d7DIX$path.basename)(url)}`);\n return (0, $b6359893e987d0a9$exports.downloadTool)(url, downloadedFilePath);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n return downloaded;\n}\nasync function $d81b351c18e56f74$var$cacheInstallation(setupDir, name, version) {\n // check if inside Github Actions. If so, cache the installation\n if ((0, $9ne19.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n if ((0, $447038b429c54f91$export$fc4ce4d885cb1082)(\"cache-tools\") === \"true\" || process.env.CACHE_TOOLS === \"true\") await (0, $b6359893e987d0a9$exports.cacheDir)(setupDir, name, version);\n }\n}\n\n\n/** Get the platform data for cmake */ function $cd6a37a8a2760b1d$var$getCmakePackageInfo(version, platform, arch) {\n const semVersion = (0, (/*@__PURE__*/$parcel$interopDefault($4F3T1)))(version) ?? version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($ekDr6)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($ekDr6)))(semVersion, \"v3.19.1\");\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($ekDr6)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nfunction $cd6a37a8a2760b1d$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"cmake\", version, $cd6a37a8a2760b1d$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\n\n\n\n\nconst $213efe4d38824bb3$export$edfda2f049ea6cd1 = (opts)=>{\n if (!opts) opts = {\n mode: 511\n };\n else if (typeof opts === \"object\") opts = {\n mode: 511,\n ...opts\n };\n else if (typeof opts === \"number\") opts = {\n mode: opts\n };\n else if (typeof opts === \"string\") opts = {\n mode: parseInt(opts, 8)\n };\n else throw new TypeError(\"invalid options argument\");\n const resolved = opts;\n const optsFs = opts.fs || {};\n opts.mkdir = opts.mkdir || optsFs.mkdir || (0, $d7DIX$fs.mkdir);\n opts.mkdirAsync = opts.mkdirAsync ? opts.mkdirAsync : async (path, options)=>{\n return new Promise((res, rej)=>resolved.mkdir(path, options, (er, made)=>er ? rej(er) : res(made)));\n };\n opts.stat = opts.stat || optsFs.stat || (0, $d7DIX$fs.stat);\n opts.statAsync = opts.statAsync ? opts.statAsync : async (path)=>new Promise((res, rej)=>resolved.stat(path, (err, stats)=>err ? rej(err) : res(stats)));\n opts.statSync = opts.statSync || optsFs.statSync || (0, $d7DIX$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $d7DIX$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $d1360c07373ce87f$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $d7DIX$path.dirname)(path);\n const opts = {\n ...(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(options),\n recursive: false\n };\n if (parent === path) try {\n return opts.mkdirSync(path, opts);\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n return;\n }\n try {\n opts.mkdirSync(path, opts);\n return made || path;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $d1360c07373ce87f$export$fa6f1b792dc805a5(path, opts, $d1360c07373ce87f$export$fa6f1b792dc805a5(parent, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer && fer.code !== \"EROFS\") throw er;\n try {\n if (!opts.statSync(path).isDirectory()) throw er;\n } catch (_) {\n throw er;\n }\n }\n};\nconst $d1360c07373ce87f$export$96a3a6083628c9d8 = Object.assign(async (path, options, made)=>{\n const opts = (0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(options);\n opts.recursive = false;\n const parent = (0, $d7DIX$path.dirname)(path);\n if (parent === path) return opts.mkdirAsync(path, opts).catch((er)=>{\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== \"EISDIR\") throw er;\n });\n return opts.mkdirAsync(path, opts).then(()=>made || path, async (er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return $d1360c07373ce87f$export$96a3a6083628c9d8(parent, opts).then((made)=>$d1360c07373ce87f$export$96a3a6083628c9d8(path, opts, made));\n if (fer && fer.code !== \"EEXIST\" && fer.code !== \"EROFS\") throw er;\n return opts.statAsync(path).then((st)=>{\n if (st.isDirectory()) return made;\n else throw er;\n }, ()=>{\n throw er;\n });\n });\n}, {\n sync: $d1360c07373ce87f$export$fa6f1b792dc805a5\n});\n\n\n\n\nconst $127b62d5686bf57f$export$f0fc1d32fc1d7461 = async (opts, parent, path)=>{\n // we never want the 'made' return value to be a root directory\n if (path === parent) return;\n return opts.statAsync(parent).then((st)=>st.isDirectory() ? path : undefined, // will fail later\n (er)=>{\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $127b62d5686bf57f$export$f0fc1d32fc1d7461(opts, (0, $d7DIX$path.dirname)(parent), parent) : undefined;\n });\n};\nconst $127b62d5686bf57f$export$5bbea51519185a10 = (opts, parent, path)=>{\n if (path === parent) return undefined;\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined;\n } catch (er) {\n const fer = er;\n return fer && fer.code === \"ENOENT\" ? $127b62d5686bf57f$export$5bbea51519185a10(opts, (0, $d7DIX$path.dirname)(parent), parent) : undefined;\n }\n};\n\n\n\n\nconst $1270729a9df7458f$export$abcdbcf229aec40d = (path, options)=>{\n const opts = (0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(options);\n opts.recursive = true;\n const parent = (0, $d7DIX$path.dirname)(path);\n if (parent === path) return opts.mkdirSync(path, opts);\n const made = (0, $127b62d5686bf57f$export$5bbea51519185a10)(opts, path);\n try {\n opts.mkdirSync(path, opts);\n return made;\n } catch (er) {\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $d1360c07373ce87f$export$fa6f1b792dc805a5)(path, opts);\n else throw er;\n }\n};\nconst $1270729a9df7458f$export$efd8fb7a8c453d34 = Object.assign(async (path, options)=>{\n const opts = {\n ...(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(options),\n recursive: true\n };\n const parent = (0, $d7DIX$path.dirname)(path);\n if (parent === path) return await opts.mkdirAsync(path, opts);\n return (0, $127b62d5686bf57f$export$f0fc1d32fc1d7461)(opts, path).then((made)=>opts.mkdirAsync(path, opts).then((m)=>made || m).catch((er)=>{\n const fer = er;\n if (fer && fer.code === \"ENOENT\") return (0, $d1360c07373ce87f$export$96a3a6083628c9d8)(path, opts);\n else throw er;\n }));\n}, {\n sync: $1270729a9df7458f$export$abcdbcf229aec40d\n});\n\n\n\n\nconst $d1995f79f946ef1b$var$platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;\nconst $d1995f79f946ef1b$export$84f52eb1a6059876 = (path)=>{\n if (/\\0/.test(path)) // simulate same failure that node raises\n throw Object.assign(new TypeError(\"path must be a string without null bytes\"), {\n path: path,\n code: \"ERR_INVALID_ARG_VALUE\"\n });\n path = (0, $d7DIX$path.resolve)(path);\n if ($d1995f79f946ef1b$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $d7DIX$path.parse)(path);\n if (badWinChars.test(path.substring(root.length))) throw Object.assign(new Error(\"Illegal characters in path.\"), {\n path: path,\n code: \"EINVAL\"\n });\n }\n return path;\n};\n\n\n\n\nconst $47b88f304ce53f29$var$version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version;\nconst $47b88f304ce53f29$var$versArr = $47b88f304ce53f29$var$version.replace(/^v/, \"\").split(\".\");\nconst $47b88f304ce53f29$var$hasNative = +$47b88f304ce53f29$var$versArr[0] > 10 || +$47b88f304ce53f29$var$versArr[0] === 10 && +$47b88f304ce53f29$var$versArr[1] >= 12;\nconst $47b88f304ce53f29$export$f32201cb36e5654a = !$47b88f304ce53f29$var$hasNative ? ()=>false : (opts)=>(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts).mkdirSync === (0, $d7DIX$fs.mkdirSync);\nconst $47b88f304ce53f29$export$875f149e5ea533c1 = Object.assign(!$47b88f304ce53f29$var$hasNative ? ()=>false : (opts)=>(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts).mkdir === (0, $d7DIX$fs.mkdir), {\n sync: $47b88f304ce53f29$export$f32201cb36e5654a\n});\n\n\nconst $7af994a2ece3b048$export$f5e50515bfceb13b = (path, opts)=>{\n path = (0, $d1995f79f946ef1b$export$84f52eb1a6059876)(path);\n const resolved = (0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts);\n return (0, $47b88f304ce53f29$export$f32201cb36e5654a)(resolved) ? (0, $1270729a9df7458f$export$abcdbcf229aec40d)(path, resolved) : (0, $d1360c07373ce87f$export$fa6f1b792dc805a5)(path, resolved);\n};\nconst $7af994a2ece3b048$export$92d6409d68f0739a = $7af994a2ece3b048$export$f5e50515bfceb13b;\nconst $7af994a2ece3b048$export$d5db38ffe1f43b01 = (0, $d1360c07373ce87f$export$96a3a6083628c9d8);\nconst $7af994a2ece3b048$export$36e1c11973ff5d6a = (0, $d1360c07373ce87f$export$fa6f1b792dc805a5);\nconst $7af994a2ece3b048$export$e199e4a0c0335c4f = (0, $1270729a9df7458f$export$efd8fb7a8c453d34);\nconst $7af994a2ece3b048$export$dd70f1af61563969 = (0, $1270729a9df7458f$export$abcdbcf229aec40d);\nconst $7af994a2ece3b048$export$fd6858aa0f578dc7 = Object.assign(async (path, opts)=>{\n path = (0, $d1995f79f946ef1b$export$84f52eb1a6059876)(path);\n const resolved = (0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts);\n return (0, $47b88f304ce53f29$export$875f149e5ea533c1)(resolved) ? (0, $1270729a9df7458f$export$efd8fb7a8c453d34)(path, resolved) : (0, $d1360c07373ce87f$export$96a3a6083628c9d8)(path, resolved);\n}, {\n mkdirpSync: $7af994a2ece3b048$export$f5e50515bfceb13b,\n mkdirpNative: $1270729a9df7458f$export$efd8fb7a8c453d34,\n mkdirpNativeSync: $1270729a9df7458f$export$abcdbcf229aec40d,\n mkdirpManual: $d1360c07373ce87f$export$96a3a6083628c9d8,\n mkdirpManualSync: $d1360c07373ce87f$export$fa6f1b792dc805a5,\n sync: $7af994a2ece3b048$export$f5e50515bfceb13b,\n native: (0, $1270729a9df7458f$export$efd8fb7a8c453d34),\n nativeSync: (0, $1270729a9df7458f$export$abcdbcf229aec40d),\n manual: (0, $d1360c07373ce87f$export$96a3a6083628c9d8),\n manualSync: (0, $d1360c07373ce87f$export$fa6f1b792dc805a5),\n useNative: $47b88f304ce53f29$export$875f149e5ea533c1,\n useNativeSync: $47b88f304ce53f29$export$f32201cb36e5654a\n});\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n// src/modules/https-utils.ts\n\n\nfunction $4292e7ca85c2347c$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $4292e7ca85c2347c$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $d7DIX$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($4292e7ca85c2347c$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $4292e7ca85c2347c$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $d7DIX$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $4292e7ca85c2347c$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $4292e7ca85c2347c$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $4292e7ca85c2347c$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $4292e7ca85c2347c$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $4292e7ca85c2347c$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $4F3T1 = parcelRequire(\"4F3T1\");\n\nvar $5tbf8 = parcelRequire(\"5tbf8\");\n\nvar $cdjlt = parcelRequire(\"cdjlt\");\nfunction $5683decf99cdafe6$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($5tbf8)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $5683decf99cdafe6$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $5683decf99cdafe6$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version);\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && await (0, $4292e7ca85c2347c$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $5683decf99cdafe6$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $4292e7ca85c2347c$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $5683decf99cdafe6$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $5683decf99cdafe6$export$5b54ecc7386538f(file, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n try {\n const execout = await (0, $jlr6Q.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = version_output.trim().match(versionRegex)?.[1];\n return (0, (/*@__PURE__*/$parcel$interopDefault($4F3T1)))(version) ?? undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $5683decf99cdafe6$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $5683decf99cdafe6$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($5tbf8)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $5683decf99cdafe6$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($cdjlt)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($4F3T1)))(version);\n if (coercedVersion !== null) {\n (0, $ER74K.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $5683decf99cdafe6$export$b19007c0050a2fcc(version) {\n return Number.parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $5683decf99cdafe6$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\nfunction $5683decf99cdafe6$export$c5628088f192d2ef(tag1, tag2) {\n const v1 = (0, (/*@__PURE__*/$parcel$interopDefault($4F3T1)))(tag1);\n const v2 = (0, (/*@__PURE__*/$parcel$interopDefault($4F3T1)))(tag2);\n if (v1 !== null && v2 !== null) // put the latest version first\n return v2.compare(v1);\n // if the tags are not semver, compare them as strings, putting the latest tag first\n return tag2.localeCompare(tag1);\n}\n\n\nfunction $eac35b7c3e82d235$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\nfunction $0965eaed961dcb55$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.6\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n // the suffixes relate to the suffix in the llvm releases\n return \"17.0.6-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.6\";\n }\n}\nconst $0965eaed961dcb55$export$5fb1985a02d8f66f = {\n llvm: $0965eaed961dcb55$var$getLLVMDefault(),\n clangtidy: $0965eaed961dcb55$var$getLLVMDefault(),\n clangformat: $0965eaed961dcb55$var$getLLVMDefault(),\n ninja: \"1.12.1\",\n cmake: \"3.30.2\",\n gcovr: \"5.2\",\n conan: \"1.64.1\",\n meson: \"1.5.1\",\n kcov: \"42\",\n task: \"3.38.0\",\n doxygen: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"1.11.0-4\" : \"1.11.0\",\n gcc: process.platform === \"win32\" ? \"14.2.0posix-18.1.8-12.0.0-ucrt-r1\" : \"\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n powershell: \"7.4.5\"\n};\nconst $0965eaed961dcb55$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $0965eaed961dcb55$export$1bb63c984aa6e760 = {\n // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64\n mingw: {\n 24: \"8.0.0-1\",\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n // the suffixes relate to the suffix in the llvm releases\n llvm: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 24: \"6.0\",\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 24: \"1.0.0\",\n 22: \"1.0.0\",\n 20: \"1.0.0\",\n 18: \"0.61.4\"\n },\n nala: {\n 24: \"\",\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\"\n },\n kcov: {\n 24: \"42-binary\",\n 22: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n },\n doxygen: {\n 24: \"1.11.0\",\n 22: \"1.11.0\",\n 20: \"1.10.0\",\n 18: \"1.10.0\"\n }\n};\n\n\nasync function $ae5265b0f840d575$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($d7DIX$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $ae5265b0f840d575$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $ae5265b0f840d575$var$setupPipx(foundPython);\n await $ae5265b0f840d575$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$setupPipx(foundPython) {\n try {\n if (!await (0, $cfebcec0830c9a7b$export$ffe24b8e86dbc863)(foundPython)) try {\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n } catch (err) {\n if ((0, $cfebcec0830c9a7b$export$6de3fef38027e326)(\"pipx\", false) === null) throw new Error(`pipx was not installed correctly ${err}`);\n }\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $ae5265b0f840d575$var$setupWheel(foundPython) {\n try {\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $ceI0e.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $9ne19.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $ER74K.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"lSnBZ\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n if (foundPython === undefined) throw new Error(\"Python binary could not be found\");\n const binDir = (0, $ceI0e.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $ae5265b0f840d575$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n if (foundPython === undefined) throw new Error(\"Python binary could not be found\");\n installInfo = {\n bin: foundPython,\n installDir: (0, $ceI0e.dirname)(foundPython),\n binDir: (0, $ceI0e.dirname)(foundPython)\n };\n }\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $ae5265b0f840d575$var$findPython(setupDir);\n if (bin === undefined) throw new Error(\"Python binary could not be found\");\n const binDir = (0, $ceI0e.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $ceI0e.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(brewPythonBin, (0, $447038b429c54f91$export$9460b536668416ce));\n break;\n }\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $ae5265b0f840d575$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n // On Windows, search in C:\\PythonXX\n if (process.platform === \"win32\") {\n const rootDir = (0, $d7DIX$path.parse)((0, $d7DIX$os.homedir)()).root;\n // find all directories in rootDir using readdir\n const pythonDirs = (await (0, $4oHc1.readdir)(rootDir)).filter((dir)=>dir.startsWith(\"Python\"));\n for (const pythonDir of pythonDirs)for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $ae5265b0f840d575$var$isPythonUpToDate(pythonBin, (0, $ceI0e.join)(rootDir, pythonDir));\n if (foundPython !== undefined) return foundPython;\n }\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $ceI0e.join)(binDir, (0, $ceI0e.addExeExt)(candidate));\n if (await (0, $dOmbL.pathExists)(pythonBinPath)) {\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pythonBinPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports)))(candidate, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$findOrSetupPip(foundPython) {\n const maybePip = await $ae5265b0f840d575$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $ER74K.info)(\"pip was not found. Installing pip\");\n await $ae5265b0f840d575$var$setupPip(foundPython);\n return $ae5265b0f840d575$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $ae5265b0f840d575$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $ae5265b0f840d575$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPipUptoDate(pip) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pipPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports)))(pip, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pipPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$setupPip(foundPython) {\n const upgraded = await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $cfebcec0830c9a7b$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $ae5265b0f840d575$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $ER74K.info)(err1.toString());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $ER74K.info)(err2.toString());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $ae5265b0f840d575$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $jlr6Q.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $ceI0e.join)(base_exec_prefix, \"Scripts\"), (0, $ceI0e.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $ceI0e.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $eac35b7c3e82d235$export$7a5d5c156e7dc406)(dirs);\n}\nconst $ae5265b0f840d575$export$4bf645347c3b7001 = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($ae5265b0f840d575$var$addPythonBaseExecPrefix_raw, {\n promise: true\n});\n\n\n\nfunction $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $0965eaed961dcb55$export$1bb63c984aa6e760)) return $cb3b5dc5a4eadeb1$var$getDefaultLinuxVersion(osVersion, (0, $0965eaed961dcb55$export$1bb63c984aa6e760)[name]);\n else if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && name in (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)) return (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)[name] ?? \"\";\n else if (version === \"true\") return \"\";\n return version ?? \"\";\n}\nfunction $cb3b5dc5a4eadeb1$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $cb3b5dc5a4eadeb1$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>Number.parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$cb3b5dc5a4eadeb1$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n for (const tool of toolsInUse)opts[tool] = targetVersion;\n return true;\n}\n\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $41d8846c4231ef5c$exports = {};\n\"use strict\";\nObject.defineProperty($41d8846c4231ef5c$exports, \"__esModule\", {\n value: true\n});\n$41d8846c4231ef5c$exports.getUbuntuVersion = void 0;\n\nfunction $41d8846c4231ef5c$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $41d8846c4231ef5c$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $d7DIX$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($41d8846c4231ef5c$var$isSystemError(error) && error.code === \"ENOENT\") {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(\" \")}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function $41d8846c4231ef5c$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $41d8846c4231ef5c$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split(\"\\n\")){\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== \"Ubuntu\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$41d8846c4231ef5c$exports.getUbuntuVersion = $41d8846c4231ef5c$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\nasync function $d6a4ad0ff65d0a5e$var$ubuntuVersion_raw() {\n try {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $41d8846c4231ef5c$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n return null;\n }\n}\nconst $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($d6a4ad0ff65d0a5e$var$ubuntuVersion_raw, {\n promise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $d6a4ad0ff65d0a5e$var$detectUsingOsVersion() {\n if (!(\"version\" in (0, ($parcel$interopDefault($d7DIX$os))) && typeof (0, ($parcel$interopDefault($d7DIX$os))).version === \"function\")) return null;\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($d7DIX$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = Number.parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = Number.parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = Number.parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\nasync function $cfebcec0830c9a7b$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $cfebcec0830c9a7b$export$7c60aea099ad1c1d(await $cfebcec0830c9a7b$var$getPython(), name, version, options);\n}\nasync function $cfebcec0830c9a7b$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $cfebcec0830c9a7b$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $cfebcec0830c9a7b$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $9yJgU.info)(`Installing ${name} ${version ?? \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n const env = process.env;\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await $cfebcec0830c9a7b$var$getPipxHome();\n env.PIPX_BIN_DIR = await $cfebcec0830c9a7b$var$getPipxBinDir();\n }\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\",\n env: env\n });\n } catch (err) {\n (0, $9yJgU.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $cfebcec0830c9a7b$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $cfebcec0830c9a7b$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $ae5265b0f840d575$export$4bf645347c3b7001)(givenPython);\n const binDir = await $cfebcec0830c9a7b$var$findBinDir(execPaths, name);\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n}\nasync function $cfebcec0830c9a7b$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $cfebcec0830c9a7b$var$getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME;\n if (pipxHome !== undefined) return pipxHome;\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/.local/pipx\");\n if (await (0, $dOmbL.pathExists)(compatHome)) return compatHome;\n switch(process.platform){\n case \"win32\":\n pipxHome = (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/AppData/Local/pipx\");\n break;\n case \"darwin\":\n pipxHome = (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/Library/Application Support/pipx\");\n break;\n default:\n pipxHome = (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/.local/share/pipx\");\n break;\n }\n await (0, $7af994a2ece3b048$export$fd6858aa0f578dc7)(pipxHome);\n await (0, $7af994a2ece3b048$export$fd6858aa0f578dc7)((0, $ceI0e.join)(pipxHome, \"trash\"));\n await (0, $7af994a2ece3b048$export$fd6858aa0f578dc7)((0, $ceI0e.join)(pipxHome, \"shared\"));\n await (0, $7af994a2ece3b048$export$fd6858aa0f578dc7)((0, $ceI0e.join)(pipxHome, \"venv\"));\n return pipxHome;\n}\nconst $cfebcec0830c9a7b$var$getPipxHome = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($cfebcec0830c9a7b$var$getPipxHome_raw, {\n promise: true\n});\nasync function $cfebcec0830c9a7b$var$getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) return process.env.PIPX_BIN_DIR;\n const pipxBinDir = (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/.local/bin\");\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(pipxBinDir, (0, $447038b429c54f91$export$9460b536668416ce));\n await (0, $7af994a2ece3b048$export$fd6858aa0f578dc7)(pipxBinDir);\n return pipxBinDir;\n}\nconst $cfebcec0830c9a7b$var$getPipxBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($cfebcec0830c9a7b$var$getPipxBinDir_raw, {\n promise: true\n});\nasync function $cfebcec0830c9a7b$var$getPython_raw() {\n const pythonBin = (await (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $cfebcec0830c9a7b$var$getPython = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($cfebcec0830c9a7b$var$getPython_raw, {\n promise: true\n});\nasync function $cfebcec0830c9a7b$var$pipHasPackage(python, name) {\n const result = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $cfebcec0830c9a7b$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $dOmbL.pathExists)((0, $ceI0e.join)(dir, (0, $ceI0e.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync((0, $ceI0e.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $ceI0e.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $cfebcec0830c9a7b$export$6de3fef38027e326(name, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n (0, $9yJgU.info)(`Installing ${name} via the system package manager`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(addPythonPrefix ? `python-${name}` : name);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: addPythonPrefix ? `python3-${name}` : name\n }\n ]);\n }\n return null;\n}\n\n\nfunction $928be18130bb437a$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $6f659008f4a1ac73$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $6f659008f4a1ac73$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $6f659008f4a1ac73$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return binDir;\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $9f6a19f1eee9e3b6$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"graphviz\", version);\n return $9f6a19f1eee9e3b6$var$activateGraphviz();\n case \"darwin\":\n return (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"graphviz\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $9f6a19f1eee9e3b6$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\n\n\n\n\n\nconst $82e36289e99c3795$var$nameMap = new Map([\n [\n 24,\n [\n \"Sequoia\",\n \"15\"\n ]\n ],\n [\n 23,\n [\n \"Sonoma\",\n \"14\"\n ]\n ],\n [\n 22,\n [\n \"Ventura\",\n \"13\"\n ]\n ],\n [\n 21,\n [\n \"Monterey\",\n \"12\"\n ]\n ],\n [\n 20,\n [\n \"Big Sur\",\n \"11\"\n ]\n ],\n [\n 19,\n [\n \"Catalina\",\n \"10.15\"\n ]\n ],\n [\n 18,\n [\n \"Mojave\",\n \"10.14\"\n ]\n ],\n [\n 17,\n [\n \"High Sierra\",\n \"10.13\"\n ]\n ],\n [\n 16,\n [\n \"Sierra\",\n \"10.12\"\n ]\n ],\n [\n 15,\n [\n \"El Capitan\",\n \"10.11\"\n ]\n ],\n [\n 14,\n [\n \"Yosemite\",\n \"10.10\"\n ]\n ],\n [\n 13,\n [\n \"Mavericks\",\n \"10.9\"\n ]\n ],\n [\n 12,\n [\n \"Mountain Lion\",\n \"10.8\"\n ]\n ],\n [\n 11,\n [\n \"Lion\",\n \"10.7\"\n ]\n ],\n [\n 10,\n [\n \"Snow Leopard\",\n \"10.6\"\n ]\n ],\n [\n 9,\n [\n \"Leopard\",\n \"10.5\"\n ]\n ],\n [\n 8,\n [\n \"Tiger\",\n \"10.4\"\n ]\n ],\n [\n 7,\n [\n \"Panther\",\n \"10.3\"\n ]\n ],\n [\n 6,\n [\n \"Jaguar\",\n \"10.2\"\n ]\n ],\n [\n 5,\n [\n \"Puma\",\n \"10.1\"\n ]\n ]\n]);\nfunction $82e36289e99c3795$export$2e2bcd8739ae039(release) {\n release = Number((release || (0, ($parcel$interopDefault($d7DIX$nodeos))).release()).split(\".\")[0]);\n const [name, version] = $82e36289e99c3795$var$nameMap.get(release) || [\n \"Unknown\",\n \"\"\n ];\n return {\n name: name,\n version: version\n };\n}\n\n\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */ function $baa90ea94af07c06$var$macosVersion_raw() {\n if (process.platform !== \"darwin\") return [];\n const { version: version } = (0, $82e36289e99c3795$export$2e2bcd8739ae039)();\n return version.split(\".\").map((v)=>Number.parseInt(v, 10));\n}\nconst $baa90ea94af07c06$export$b16fc932ee62ae86 = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($baa90ea94af07c06$var$macosVersion_raw);\n\n\n\n\n\nasync function $4e7ff62cf3fa94e2$export$9beb52a1d6d0b068(path, destDir) {\n const { ArchiveHdi: ArchiveHdi } = await (parcelRequire(\"2p0xG\"));\n const dmg = new ArchiveHdi(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $d7DIX$path.join)(destDir, entry.path));\n });\n}\n\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $4b1f70d03c91cebd$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`\n };\n }\n case \"darwin\":\n {\n const folderName = `Doxygen-${version}`;\n return {\n binRelativeDir: \"Doxygen/Doxygen.app/Contents/Resources/\",\n binFileName: (0, $ceI0e.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $4e7ff62cf3fa94e2$export$9beb52a1d6d0b068),\n url: `https://doxygen.nl/files/${folderName}.dmg`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $4b1f70d03c91cebd$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($ba82889b517d2eb4$exports)))(()=>{\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n const binDir = await $4b1f70d03c91cebd$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n // let installationInfo: InstallationInfo\n // try {\n // installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n // } catch {\n const installationInfo = await (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"doxygen\", undefined);\n // }\n // only install graphviz if the macOS version is greater than 11\n if ((0, $baa90ea94af07c06$export$b16fc932ee62ae86)()[0] > 11) await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $84785c71f430250a$export$d415ddb6702ec3a2)() || (0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"doxygen\", version, $4b1f70d03c91cebd$var$getDoxygenPackageInfo, setupDir, arch);\n try {\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $ER74K.info)(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`);\n }\n } catch (err) {\n (0, $ER74K.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(\"Unsupported linux distributions\");\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\nasync function $4b1f70d03c91cebd$var$activateWinDoxygen() {\n switch(process.platform){\n case \"win32\":\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\"\n ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $dOmbL.pathExists)((0, $ceI0e.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $4F3T1 = parcelRequire(\"4F3T1\");\n\nvar $3tcGr = parcelRequire(\"3tcGr\");\n\n\n\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nasync function $1ebfc945e4f5b17a$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $jlr6Q.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim(), (0, $447038b429c54f91$export$9460b536668416ce));\n else (0, $ER74K.error)(\"SDKROOT not set\");\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n}\n\n\n\n\n\n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\nasync function $ed2149069e69ea7d$export$a5b751e9bb8ea3c6(path) {\n const data = await (0, $4oHc1.readFile)(path, \"utf-8\");\n return JSON.parse(data);\n}\nfunction $ed2149069e69ea7d$export$bf1aed226e28cc62(assets, opts) {\n // get the list of versions\n let tags = Object.keys(assets);\n // filter the versions\n if (opts.filterTag !== undefined) tags = tags.filter(opts.filterTag);\n if (tags.length === 0) throw new Error(`no tag found for version ${opts.version}`);\n // find the first tag that starts with the version\n // loop over the versions starting with the latest\n let tag;\n for (const mingwVersion of tags)if (mingwVersion.startsWith(opts.version)) {\n tag = mingwVersion;\n break;\n }\n if (tag === undefined) throw new Error(`version ${opts.version} is not supported`);\n // get the list of assets\n let matchedNames = assets[tag];\n // filter the assets\n if (opts.filterName !== undefined) matchedNames = matchedNames.filter(opts.filterName);\n if (matchedNames.length === 0) throw new Error(`no asset found for version ${opts.version} and arch ${opts.arch}`);\n // use the first asset if the arch is not specified\n if (opts.arch === undefined) return {\n tag: tag,\n name: matchedNames[0]\n };\n // find the asset that matches the arch\n for (const name of matchedNames){\n // search each asset name for the arch\n if (name.includes(opts.arch)) return {\n tag: tag,\n name: name\n };\n }\n throw new Error(`arch ${opts.arch} could not be found among ${JSON.stringify(matchedNames)}`);\n}\n\n\n\n\n\n\n\n\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/gcc\");\nasync function $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwAssets = await (0, $ed2149069e69ea7d$export$a5b751e9bb8ea3c6)((0, $ceI0e.join)($bd769018416dc7f2$var$$parcel$__dirname, \"github_brechtsanders_winlibs_mingw.json\"));\n const asset = (0, $ed2149069e69ea7d$export$bf1aed226e28cc62)(mingwAssets, {\n version: version,\n arch: arch === \"x64\" ? \"x86_64\" : arch === \"ia32\" ? \"i386\" : arch,\n filterName: (name)=>name.endsWith(\".7z\")\n });\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $4615baf4c3b031c2$export$eecfe186811d4a20),\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${asset.tag}/${asset.name}`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $bd769018416dc7f2$export$405fab3de79b77b(version, setupDir, arch, priority = 40) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"g++\", version, $bd769018416dc7f2$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $ER74K.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $bd769018416dc7f2$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n if (version === \"\") // the default version\n installationInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"gcc\"\n },\n {\n name: \"g++\"\n }\n ]);\n else // add the PPA for access to more versions\n installationInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"gcc\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n },\n {\n name: \"g++\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n }\n } else {\n (0, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n if (version === \"\") // the default version\n installationInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"gcc-multilib\"\n }\n ]);\n else // add the PPA for access to more versions\n installationInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"gcc-multilib\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n }\n }\n break;\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return installAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) {\n await $bd769018416dc7f2$var$activateGcc(version, installationInfo.binDir, priority);\n return installationInfo;\n }\n return undefined;\n}\nasync function $bd769018416dc7f2$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $bd769018416dc7f2$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"mingw-w64\",\n version: version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: {\n key: \"1E9377A2BA9EF27F\",\n fileName: \"ubuntu-toolchain-r-test.gpg\"\n }\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n // Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n // Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n // await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $bd769018416dc7f2$var$setupChocoMingw(version, arch) {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n if (arch === \"x64\" && await (0, $dOmbL.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n } else if (arch === \"ia32\" && await (0, $dOmbL.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n } else if (await (0, $dOmbL.pathExists)(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $bd769018416dc7f2$var$activateGcc(givenVersion, binDir, priority = 40) {\n const promises = [];\n // Setup gcc as the compiler\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`, rcOptions),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`, rcOptions),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`, rcOptions),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`, rcOptions),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`, rcOptions),\n // )\n if (process.platform === \"win32\") promises.push((0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CC\", (0, $ceI0e.addExeExt)(`${binDir}/gcc`), (0, $447038b429c54f91$export$9460b536668416ce)), (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CXX\", (0, $ceI0e.addExeExt)(`${binDir}/g++`), (0, $447038b429c54f91$export$9460b536668416ce)));\n else {\n // if version is empty, get the version from the gcc command\n let version = givenVersion;\n if (givenVersion === \"\") {\n version = await $bd769018416dc7f2$var$getGccCmdVersion(binDir, version);\n (0, $ER74K.info)(`Using gcc version ${version}`);\n }\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($3tcGr)))((0, (/*@__PURE__*/$parcel$interopDefault($4F3T1)))(version) ?? version);\n if (majorVersion >= 5) {\n promises.push((0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`, (0, $447038b429c54f91$export$9460b536668416ce)), (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`, (0, $447038b429c54f91$export$9460b536668416ce)));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"cc\", `${binDir}/gcc-${majorVersion}`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"cxx\", `${binDir}/g++-${majorVersion}`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"gcc\", `${binDir}/gcc-${majorVersion}`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"g++\", `${binDir}/g++-${majorVersion}`, (0, $447038b429c54f91$export$9460b536668416ce), priority));\n } else {\n promises.push((0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`, (0, $447038b429c54f91$export$9460b536668416ce)), (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`, (0, $447038b429c54f91$export$9460b536668416ce)));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"cc\", `${binDir}/gcc-${version}`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"cxx\", `${binDir}/g++-${version}`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"gcc\", `${binDir}/gcc-${version}`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"g++\", `${binDir}/g++-${version}`, (0, $447038b429c54f91$export$9460b536668416ce), priority));\n }\n }\n promises.push((0, $1ebfc945e4f5b17a$export$28f5fd35e3005b7a)());\n if (0, $9ne19.GITHUB_ACTIONS) await $bd769018416dc7f2$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $bd769018416dc7f2$var$getGccCmdVersion(binDir, givenVersion) {\n // TODO get the version from the package manager\n try {\n let gccExe = \"gcc\";\n if (await (0, $dOmbL.pathExists)(`${binDir}/gcc`)) gccExe = `${binDir}/gcc`;\n else {\n // try to find the gcc exe in the bin dir\n const files = (await (0, $4oHc1.readdir)(binDir)).sort((exe1, exe2)=>{\n const version1 = exe1.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] || \"\";\n const version2 = exe2.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] || \"\";\n return (0, $5683decf99cdafe6$export$c5628088f192d2ef)(version1, version2);\n });\n for (const file of files)if (file.startsWith(\"gcc\")) {\n gccExe = `${binDir}/${file}`;\n break;\n }\n }\n const { stdout: versionStdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(gccExe, [\n \"--version\"\n ], {\n stdio: \"pipe\"\n });\n // gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\n // gcc-12 (Homebrew GCC 12.4.0) 12.4.0\n // gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0\n const versionMatch = versionStdout.match(/gcc.* \\(.*\\) ([\\d.]+)/);\n if (versionMatch !== null) return versionMatch[1];\n (0, $ER74K.warning)(`Failed to parse gcc version from: ${versionStdout}`);\n return givenVersion;\n } catch (err) {\n (0, $ER74K.error)(`Failed to get gcc version: ${err}`);\n return givenVersion;\n }\n}\nasync function $bd769018416dc7f2$var$addGccLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($bd769018416dc7f2$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\nvar $3tcGr = parcelRequire(\"3tcGr\");\n\nvar $cdjlt = parcelRequire(\"cdjlt\");\n\n\nfunction $9e5689f497201ccc$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $9e5689f497201ccc$export$2a0488baf2a20c0f() {\n return (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\", (0, $447038b429c54f91$export$9460b536668416ce));\n}\nfunction $9e5689f497201ccc$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($cdjlt)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($3tcGr)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"GCOV\", gcov, (0, $447038b429c54f91$export$9460b536668416ce));\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n/** Get the platform name Ninja uses in their download links */ function $c8e436f083063bf5$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c8e436f083063bf5$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $c8e436f083063bf5$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $c8e436f083063bf5$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"ninja\", version, $c8e436f083063bf5$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $a32e41fd6d9c05e4$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/kcov\");\nfunction $a32e41fd6d9c05e4$var$getDownloadKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: (0, $ceI0e.addExeExt)(\"kcov\")\n };\n}\nfunction $a32e41fd6d9c05e4$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $ceI0e.addExeExt)(\"kcov\"),\n extractFunction: $a32e41fd6d9c05e4$var$buildKcov\n };\n}\nasync function $a32e41fd6d9c05e4$var$buildKcov(file, dest) {\n const out = await (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, 1);\n // build after extraction using CMake\n const cmake = await $a32e41fd6d9c05e4$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $ceI0e.join)($a32e41fd6d9c05e4$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $ER74K.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $ceI0e.join)(out, \"build\");\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $a32e41fd6d9c05e4$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $cd6a37a8a2760b1d$export$c28663a621f418ce)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $ceI0e.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"~\"), \"cmake\"), \"\");\n cmake = (0, $ceI0e.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $c8e436f083063bf5$export$e6190f4bfe2ef71)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $ceI0e.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"~\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $ER74K.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $5683decf99cdafe6$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $5683decf99cdafe6$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\n\n\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nclass $f9a171a8ebc27dbc$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $f9a171a8ebc27dbc$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $f9a171a8ebc27dbc$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $f9a171a8ebc27dbc$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $f9a171a8ebc27dbc$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $f9a171a8ebc27dbc$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $f9a171a8ebc27dbc$var$getDOMException(reason);\n};\nfunction $f9a171a8ebc27dbc$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($f9a171a8ebc27dbc$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($f9a171a8ebc27dbc$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $f9a171a8ebc27dbc$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $02d923838c94048f$export$3c7cae5a162b1458;\nvar $02d923838c94048f$export$704f0be24425353b;\nvar $02d923838c94048f$export$f49c12d2898d28cb;\nvar $02d923838c94048f$export$a6a3bfb882356813;\nvar $02d923838c94048f$export$443b8bb890f5027e;\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\n\n\n\nconst $02d923838c94048f$var$PROGRAM_FILES_X86 = $d7DIX$process.env[\"ProgramFiles(x86)\"];\nconst $02d923838c94048f$var$PROGRAM_FILES = [\n $d7DIX$process.env[\"ProgramFiles(x86)\"],\n $d7DIX$process.env[\"ProgramFiles\"]\n];\nconst $02d923838c94048f$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $02d923838c94048f$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $02d923838c94048f$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\n/**\n * Convert the vs version (e.g. 2022) or year (e.g. 17.0) to the version number (e.g. 17.0)\n * @param {string | undefined} vsversion the year (e.g. 2022) or version number (e.g. 17.0)\n * @returns {string | undefined} the version number (e.g. 17.0)\n */ function $02d923838c94048f$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($02d923838c94048f$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $02d923838c94048f$var$VsYearVersion) return $02d923838c94048f$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$02d923838c94048f$export$3c7cae5a162b1458 = $02d923838c94048f$var$vsversion_to_versionnumber;\n/**\n * Convert the vs version (e.g. 17.0) or year (e.g. 2022) to the year (e.g. 2022)\n * @param {string} vsversion the version number (e.g. 17.0) or year (e.g. 2022)\n * @returns {string} the year (e.g. 2022)\n */ function $02d923838c94048f$var$vsversion_to_year(vsversion) {\n if (Object.keys($02d923838c94048f$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($02d923838c94048f$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$02d923838c94048f$export$704f0be24425353b = $02d923838c94048f$var$vsversion_to_year;\nconst $02d923838c94048f$var$VSWHERE_PATH = `${$02d923838c94048f$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\n/**\n * Find MSVC tools with vswhere\n * @param {string} pattern the pattern to search for\n * @param {string} version_pattern the version pattern to search for\n * @returns {string | null} the path to the found MSVC tools\n */ function $02d923838c94048f$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $d7DIX$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $9yJgU.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$02d923838c94048f$export$f49c12d2898d28cb = $02d923838c94048f$var$findWithVswhere;\n/**\n * Find the vcvarsall.bat file for the given Visual Studio version\n * @param {string | undefined} vsversion the version of Visual Studio to find (year or version number)\n * @returns {string} the path to the vcvarsall.bat file\n */ function $02d923838c94048f$var$findVcvarsall(vsversion) {\n const vsversion_number = $02d923838c94048f$var$vsversion_to_versionnumber(vsversion);\n let version_pattern;\n if (vsversion_number) {\n const upper_bound = vsversion_number.split(\".\")[0] + \".9\";\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`;\n } else version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $02d923838c94048f$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $d7DIX$fs.existsSync(path)) {\n $9yJgU.info(`Found with vswhere: ${path}`);\n return path;\n }\n $9yJgU.info(\"Not found with vswhere\");\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [\n $02d923838c94048f$var$vsversion_to_year(vsversion)\n ] : $02d923838c94048f$var$YEARS;\n for (const prog_files of $02d923838c94048f$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $02d923838c94048f$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $9yJgU.info(`Trying standard location: ${path}`);\n if ($d7DIX$fs.existsSync(path)) {\n $9yJgU.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $9yJgU.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$02d923838c94048f$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($d7DIX$fs.existsSync(path)) {\n $9yJgU.info(`Found VS 2015: ${path}`);\n return path;\n }\n $9yJgU.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$02d923838c94048f$export$a6a3bfb882356813 = $02d923838c94048f$var$findVcvarsall;\nfunction $02d923838c94048f$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $02d923838c94048f$var$filterPathValue(path) {\n let paths = path.split(\";\");\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index;\n }\n return paths.filter(unique).join(\";\");\n}\n/**\n * Setup MSVC Developer Command Prompt\n * @param {string} arch - Target architecture\n * @param {string | undefined} sdk - Windows SDK number to build for\n * @param {string | undefined} toolset - VC++ compiler toolset version\n * @param {boolean | 'true' | 'false' | undefined} uwp - Build for Universal Windows Platform\n * @param {boolean | 'true' | 'false' | undefined} spectre - Enable Spectre mitigations\n * @param {string | undefined} vsversion - The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. \"2019\").\n */ function $02d923838c94048f$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($d7DIX$process.platform != \"win32\") {\n $9yJgU.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $d7DIX$process.env.PATH += $d7DIX$path.delimiter + $02d923838c94048f$var$VSWHERE_PATH;\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\"\n };\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) arch = arch_aliases[arch.toLowerCase()];\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n var args = [\n arch\n ];\n if (uwp && JSON.parse(uwp) === true) args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre && JSON.parse(spectre) === true) args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$02d923838c94048f$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $9yJgU.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $d7DIX$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\n const old_environment = cmd_output_parts[0].split(\"\\r\\n\");\n const vcvars_output = cmd_output_parts[1].split(\"\\r\\n\");\n const new_environment = cmd_output_parts[2].split(\"\\r\\n\");\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line)=>{\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\n\"));\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {};\n for (let string of old_environment){\n const [name, value] = string.split(\"=\");\n old_env_vars[name] = value;\n }\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n $9yJgU.startGroup(\"Environment variables\");\n for (let string of new_environment){\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes(\"=\")) continue;\n let [name, new_value] = string.split(\"=\");\n let old_value = old_env_vars[name];\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n $9yJgU.info(`Setting ${name}`);\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if ($02d923838c94048f$var$isPathVariable(name)) new_value = $02d923838c94048f$var$filterPathValue(new_value);\n $9yJgU.exportVariable(name, new_value);\n }\n }\n $9yJgU.endGroup();\n $9yJgU.info(`Configured Developer Command Prompt`);\n}\n$02d923838c94048f$export$443b8bb890f5027e = $02d923838c94048f$var$setupMSVCDevCmd;\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nfunction $ffa3775f67868b5f$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $ffa3775f67868b5f$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $dOmbL.pathExists)(VCTargetsPath)) {\n (0, $ER74K.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath, (0, $447038b429c54f91$export$9460b536668416ce));\n }\n await (0, $02d923838c94048f$export$443b8bb890f5027e)($ffa3775f67868b5f$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nconst $38b6fc81fd22ef04$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $38b6fc81fd22ef04$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $38b6fc81fd22ef04$export$7bd623b29ec8e1eb) {\n (0, $9yJgU.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $f9a171a8ebc27dbc$export$2e2bcd8739ae039)($38b6fc81fd22ef04$var$installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $ER74K.error)(e);\n if (e instanceof Error && e.stack !== undefined) (0, $ER74K.error)(e.stack);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $9yJgU.endGroup)();\n return hasLLVM;\n}\nasync function $38b6fc81fd22ef04$var$installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages) {\n // eslint-disable-next-line no-param-reassign\n const hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $ffa3775f67868b5f$export$5dcf571c91fc8369)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else if (tool === \"brew\") // eslint-disable no-await-in-loop\n installationInfo = await (0, $3b801cbe73da1992$export$c5eeb9c87a610a0e)({\n rcOptions: $447038b429c54f91$export$9460b536668416ce\n });\n else {\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $ceI0e.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n const setupVersion = (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion);\n // get the setup function\n const setupFunction = (0, $f58f76cc72dbc50d$export$18a3521ac7306af4)[tool];\n // eslint-disable no-await-in-loop\n installationInfo = await setupFunction(setupVersion, setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nvar $cf098dcb81ecb127$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($cf098dcb81ecb127$export$35fa309210df3df6 || ($cf098dcb81ecb127$export$35fa309210df3df6 = {}));\nasync function $cf098dcb81ecb127$export$a86791c88ded7e54(majorVersion, packages = 0) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n // download the installation script\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"ca-certificates\"\n }\n ]);\n const dl = new (0, $4d675a29776046a6$exports.DownloaderHelper)(\"https://apt.llvm.org/llvm.sh\", (0, $d7DIX$os.tmpdir)(), {\n fileName: \"llvm.sh\"\n });\n dl.on(\"error\", (err)=>{\n throw new Error(`Failed to download the LLVM installer script: ${err}`);\n });\n await dl.start();\n const installerScript = await (0, $4oHc1.readFile)(dl.getDownloadPath(), \"utf-8\");\n const installerPath = (0, $d7DIX$path.join)((0, $d7DIX$os.tmpdir)(), \"llvm-setup-cpp.sh\");\n const neededPackages = await $cf098dcb81ecb127$var$patchAptLLVMScript(installerScript, installerPath, majorVersion, packages);\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)(neededPackages);\n await (0, $4oHc1.chmod)(installerPath, \"755\");\n await (0, $9b35e0b8c96f5aff$export$351270479e2eef26)(\"bash\", [\n installerPath,\n `${majorVersion}`,\n ...packages === 0 ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $38b6fc81fd22ef04$export$7bd623b29ec8e1eb)\n });\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(`${installationFolder}/bin`, (0, $447038b429c54f91$export$9460b536668416ce));\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $cf098dcb81ecb127$var$patchAptLLVMScript(givenScript, target_path, majorVersion, packages) {\n let script = $cf098dcb81ecb127$var$debugScript(givenScript);\n script = $cf098dcb81ecb127$var$nonInteractiveScript(script);\n script = $cf098dcb81ecb127$var$choosePackages(packages, script, majorVersion);\n script = await $cf098dcb81ecb127$var$removeConflictingPackages(script);\n script = $cf098dcb81ecb127$var$useNalaScript(script);\n await (0, $4oHc1.writeFile)(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $cf098dcb81ecb127$var$debugScript(script) {\n if (process.env.NODE_DEBUG !== \"1\" && process.env.NODE_DEBUG !== \"true\") return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $cf098dcb81ecb127$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, `add-apt-repository -y -n \"\\${REPO_NAME}\"\napt-get update -o ${(0, $6d7ec0b965ba5da4$export$63332523ab2676dd)} -y`);\n}\nasync function $cf098dcb81ecb127$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, `apt-get install -o Dpkg::Options::=\"--force-overwrite\" -o ${(0, $6d7ec0b965ba5da4$export$63332523ab2676dd)} -y --fix-broken`);\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $c4d8c66323ed89a2$export$aaa4b6507c96b5db)(installingPack)) {\n (0, $d7DIX$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $cf098dcb81ecb127$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $3316f84a8f4b138a$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $cf098dcb81ecb127$var$choosePackages(packages, script, majorVersion) {\n if (packages === 1) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $ekDr6 = parcelRequire(\"ekDr6\");\n\n\nconst $83abdd9bf69b2f6a$export$aa5307f1aca77413 = (0, $5683decf99cdafe6$export$cbd9528a83fbffa1)([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $83abdd9bf69b2f6a$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $83abdd9bf69b2f6a$var$DARWIN_X64_MISSING = 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 \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\"\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 */ const $83abdd9bf69b2f6a$var$UBUNTU_RC = new Map();\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */ // TODO change based on ubuntu version\nconst $83abdd9bf69b2f6a$var$UBUNTU_X64_SUFFIX_MAP = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n \"18.1.4\": \"-ubuntu-18.04\",\n \"18.1.7\": \"-ubuntu-18.04\",\n \"18.1.8\": \"-ubuntu-18.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $83abdd9bf69b2f6a$var$MAX_UBUNTU = \"18.1.8\";\n// ================================================\n// URL\n// ================================================\n/** Gets a LLVM download URL for GitHub. */ function $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $83abdd9bf69b2f6a$var$getDarwinUrl(version) {\n if ($83abdd9bf69b2f6a$var$DARWIN_X64_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($ekDr6)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $83abdd9bf69b2f6a$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $83abdd9bf69b2f6a$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$83abdd9bf69b2f6a$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $5683decf99cdafe6$export$deb1064c8260c54c)($83abdd9bf69b2f6a$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $83abdd9bf69b2f6a$var$UBUNTU_X64_SUFFIX_MAP) linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_X64_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_X64_SUFFIX_MAP[$83abdd9bf69b2f6a$var$MAX_UBUNTU];\n (0, $ER74K.warning)(`Falling back to LLVM version ${$83abdd9bf69b2f6a$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($ekDr6)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $83abdd9bf69b2f6a$var$getWin32Url(version) {\n if ($83abdd9bf69b2f6a$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($ekDr6)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($ekDr6)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $4292e7ca85c2347c$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $83abdd9bf69b2f6a$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $83abdd9bf69b2f6a$var$getDarwinUrl(version);\n case \"linux\":\n return $83abdd9bf69b2f6a$export$ae24f9682a44836b(version);\n case \"win32\":\n return $83abdd9bf69b2f6a$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $83abdd9bf69b2f6a$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $5683decf99cdafe6$export$4e4d3581f69a6d71)($83abdd9bf69b2f6a$export$aa5307f1aca77413, platform, version, $83abdd9bf69b2f6a$export$94df0e59ebebf4a7);\n (0, $ER74K.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $ceI0e.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $4615baf4c3b031c2$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, 1);\n }\n };\n}\n\n\n\nvar $0213127e07869fde$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/llvm\");\nasync function $0213127e07869fde$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $0213127e07869fde$var$setupLLVMWithoutActivation(version, setupDir, arch);\n await $0213127e07869fde$export$6238b5ebfd6640e7(installationInfo.installDir ?? setupDir);\n return installationInfo;\n}\nasync function $0213127e07869fde$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM\n const [installationInfo, _1] = await Promise.all([\n $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch),\n $0213127e07869fde$var$addLLVMLoggingMatcher()\n ]);\n // install LLVM dependencies\n await $0213127e07869fde$var$setupLLVMDeps(arch);\n return installationInfo;\n}\nconst $0213127e07869fde$var$setupLLVMWithoutActivation = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($0213127e07869fde$var$setupLLVMWithoutActivation_raw, {\n promise: true\n});\nfunction $0213127e07869fde$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch, (0, $cf098dcb81ecb127$export$35fa309210df3df6).ClangFormat);\n}\nfunction $0213127e07869fde$export$814ccfc953503728(version, setupDir, arch) {\n return $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $cf098dcb81ecb127$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $5683decf99cdafe6$export$afd7401db249098f)(version);\n const majorVersion = Number.parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return await (0, $cf098dcb81ecb127$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $ER74K.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"llvm\", version, (0, $83abdd9bf69b2f6a$export$f203993d12226a27), setupDir, arch);\n await $0213127e07869fde$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $0213127e07869fde$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $0213127e07869fde$var$llvmBinaryDeps = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($0213127e07869fde$var$llvmBinaryDeps_raw, {\n promise: true\n});\nasync function $0213127e07869fde$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await (0, $bd769018416dc7f2$export$405fab3de79b77b)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch, 40);\n}\nconst $0213127e07869fde$var$setupLLVMDeps = (0, (/*@__PURE__*/$parcel$interopDefault($d1e4d6db9ef11162$exports)))($0213127e07869fde$var$setupLLVMDeps_raw, {\n promise: true\n});\nasync function $0213127e07869fde$export$6238b5ebfd6640e7(directory) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\";\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\";\n const actPromises = [\n // the output of this action\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory, (0, $447038b429c54f91$export$9460b536668416ce)),\n // Setup LLVM as the compiler\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $d7DIX$path.delimiter)}${ld}`, (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $d7DIX$path.delimiter)}${dyld}`, (0, $447038b429c54f91$export$9460b536668416ce)),\n // compiler flags\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`, (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`, (0, $447038b429c54f91$export$9460b536668416ce)),\n // compiler paths\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CC\", (0, $ceI0e.addExeExt)(`${directory}/bin/clang`), (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CXX\", (0, $ceI0e.addExeExt)(`${directory}/bin/clang++`), (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`, (0, $447038b429c54f91$export$9460b536668416ce)),\n // os sdks\n (0, $1ebfc945e4f5b17a$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`, rcOptions))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`, rcOptions))\n // }\n // }\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n const priority = 60;\n actPromises.push((0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"cc\", `${directory}/bin/clang`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"cxx\", `${directory}/bin/clang++`, (0, $447038b429c54f91$export$9460b536668416ce), priority), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"clang\", `${directory}/bin/clang`, (0, $447038b429c54f91$export$9460b536668416ce)), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"clang++\", `${directory}/bin/clang++`, (0, $447038b429c54f91$export$9460b536668416ce)), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"lld\", `${directory}/bin/lld`, (0, $447038b429c54f91$export$9460b536668416ce)), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"ld.lld\", `${directory}/bin/ld.lld`, (0, $447038b429c54f91$export$9460b536668416ce)), (0, $55703262513e8a67$export$d04a90794d7fd3eb)(\"llvm-ar\", `${directory}/bin/llvm-ar`, (0, $447038b429c54f91$export$9460b536668416ce)));\n }\n await Promise.all(actPromises);\n}\nasync function $0213127e07869fde$var$addLLVMLoggingMatcher() {\n if (0, $9ne19.GITHUB_ACTIONS) {\n const matcherPath = (0, $ceI0e.join)($0213127e07869fde$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $b2527beb3f2e4071$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"make\", version);\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\", (0, $447038b429c54f91$export$9460b536668416ce));\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\nfunction $841211d84f4a44cd$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $756746e991f4f289$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/msvc\");\nasync function $756746e991f4f289$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $02d923838c94048f$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $ER74K.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $02d923838c94048f$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $ER74K.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualstudio2017buildtools\", \"15.9.41.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualstudio2019buildtools\", \"16.11.7.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\";\n } else if (version === \"17.0\") {\n toolset = undefined;\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $ER74K.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $ffa3775f67868b5f$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $9ne19.GITHUB_ACTIONS) await $756746e991f4f289$var$addMSVCLoggingMatcher();\n}\nasync function $756746e991f4f289$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($756746e991f4f289$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $4oHc1 = parcelRequire(\"4oHc1\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\nlet $24fc56c48fbaa7ba$var$binDir;\nasync function $24fc56c48fbaa7ba$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $24fc56c48fbaa7ba$var$binDir === \"string\") return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $24fc56c48fbaa7ba$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n }\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"python3-apt\"\n }\n ]);\n $24fc56c48fbaa7ba$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n // If nala is available in the default repositories, install it\n try {\n const nalaPack = await (0, $fd3ace85be502365$export$80158881e1e46aed)({\n name: \"nala\",\n version: version\n });\n if (nalaPack !== undefined) {\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: nalaPack\n }\n ]);\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n }\n } catch (err) {\n // ignore\n (0, $ER74K.info)(`Failed to install nala: ${err}`);\n }\n // Nala is not available in the default repositories\n // Check if the legacy version is available\n try {\n const nalaLegacyPack = await (0, $fd3ace85be502365$export$80158881e1e46aed)({\n name: \"nala-legacy\"\n });\n if (nalaLegacyPack !== undefined) {\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: nalaLegacyPack\n }\n ], true);\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n }\n } catch (err) {\n // ignore\n (0, $ER74K.info)(`Failed to install nala-legacy: ${err}`);\n }\n // Install via the installer script\n await $24fc56c48fbaa7ba$var$setupNalaViaInstaller();\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n}\nasync function $24fc56c48fbaa7ba$var$setupNalaViaInstaller() {\n const installer = new (0, $4d675a29776046a6$exports.DownloaderHelper)(\"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh\", (0, $d7DIX$os.tmpdir)(), {\n fileName: \"install-nala.sh\"\n });\n installer.on(\"error\", (err)=>{\n throw new Error(`Failed to download install-nala.sh: ${err}`);\n });\n await installer.start();\n const installerPath = (0, $ceI0e.join)((0, $d7DIX$os.tmpdir)(), \"install-nala.sh\");\n // Patch the installer script to not use sudo explicitly\n const script = await (0, $4oHc1.readFile)(installerPath, \"utf8\");\n await (0, $4oHc1.writeFile)(installerPath, script.replace(/sudo/g, \"\"));\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"wget\"\n }\n ]);\n try {\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"bash\", [\n installerPath\n ]);\n } catch (err) {\n (0, $ER74K.error)(`Failed to install nala via installer: ${err}`);\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"apt\", [\n \"install\",\n \"-y\",\n \"-t\",\n \"nala\",\n \"nala\"\n ]);\n }\n}\nfunction $24fc56c48fbaa7ba$export$2747aa8ef20f818d(script) {\n if ((0, $3316f84a8f4b138a$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\n\nasync function $54ef9c824222402f$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $54ef9c824222402f$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $54ef9c824222402f$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return binDir;\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n\n/** Get the platform data for cmake */ function $772fce954f353e90$var$getPowerShellPackageInfo(version, platform, arch) {\n return {\n url: $772fce954f353e90$var$getPowershellUrl(platform, arch, version),\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"pwsh\"),\n extractedFolderName: \"\"\n };\n}\nfunction $772fce954f353e90$var$getPowershellUrl(platform, arch, version) {\n switch(platform){\n case \"win32\":\n {\n const osArchStr = [\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch) ? \"win-x86\" : \"win-x64\";\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/PowerShell-${version}-${osArchStr}.zip`;\n }\n case \"darwin\":\n {\n const osArchStr = [\n \"arm\",\n \"arm64\"\n ].includes(arch) ? \"osx-arm64\" : \"osx-x64\";\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`;\n }\n case \"linux\":\n {\n const archMap = {\n arm64: \"linux-arm64\",\n arm: \"linux-arm64\",\n arm32: \"linux-arm32\",\n aarch64: \"linux-arm64\",\n x64: \"linux-x64\"\n };\n const osArchStr = archMap[arch] ?? \"linux-x64\";\n // TODO support musl\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`;\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $772fce954f353e90$export$1ff6ad96ee130aba(version, setupDir, arch) {\n try {\n return await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"pwsh\", version, $772fce954f353e90$var$getPowerShellPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $ER74K.error)(`Failed to setup pwsh via download: ${err}. Trying package managers...`);\n return $772fce954f353e90$export$f145d39203ef47a0(version, setupDir, arch);\n }\n}\nasync function $772fce954f353e90$export$f145d39203ef47a0(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(binDir, (0, $447038b429c54f91$export$9460b536668416ce));\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"powershell\", version, {\n cask: true,\n overwrite: false\n });\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n \"curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo\"\n ]);\n return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"packages-microsoft-prod.deb\"\n ]);\n // TODO Debian\n // const keyFileName = await addAptKeyViaURL(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n return (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(\"Unsupported linux distribution\");\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\n\nfunction $bcbacc5f1ce862e1$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $a38ba2d26eb849e1$export$72d03060ad30aa7f)(\"sccache\", version);\n default:\n throw new Error(\"Unsupported platform\");\n }\n}\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n/** Get the platform name task uses in their download links */ function $19fb71dac36c98fd$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $19fb71dac36c98fd$var$getTaskArch(arch) {\n switch(arch){\n case \"x64\":\n return \"amd64\";\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\";\n default:\n return arch;\n }\n}\n/** Get the platform data for task */ function $19fb71dac36c98fd$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $19fb71dac36c98fd$var$getTaskPlatform(platform);\n const taskArch = $19fb71dac36c98fd$var$getTaskArch(arch);\n const extension = platform === \"win32\" ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $19fb71dac36c98fd$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"task\", version, $19fb71dac36c98fd$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\nlet $6de10099eaeb725f$var$hasVCPKG = false;\nasync function $6de10099eaeb725f$export$490bdba4ef3e3f82(version, setupDir, _arch) {\n if (!$6de10099eaeb725f$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n // clone if not already exists\n if (!await (0, $dOmbL.pathExists)((0, $ceI0e.join)(setupDir, (0, $ceI0e.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $ceI0e.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $ER74K.notice)(`Vcpkg folder already exists at ${setupDir}. Skipping the clone`);\n // if version specified, checkout the version\n if (version !== \"\" && version !== \"true\") {\n (0, $ER74K.info)(`Checking out vcpkg version ${version}`);\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"git\", [\n \"checkout\",\n version\n ], {\n cwd: setupDir,\n stdio: \"inherit\"\n });\n }\n // bootstrap vcpkg\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)((0, $ceI0e.addShExt)((0, $ceI0e.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $013b1931593eeaf8$export$4718e061a205eab)(setupDir);\n await (0, $a291d034bf28b201$export$4c25481b843feb0b)(setupDir, (0, $447038b429c54f91$export$9460b536668416ce));\n // eslint-disable-next-line require-atomic-updates\n $6de10099eaeb725f$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $ceI0e.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($656be56138103b68$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $f58f76cc72dbc50d$export$18a3521ac7306af4 = {\n nala: (0, $24fc56c48fbaa7ba$export$d73cbe8caeff03c5),\n cmake: (0, $cd6a37a8a2760b1d$export$c28663a621f418ce),\n ninja: (0, $c8e436f083063bf5$export$e6190f4bfe2ef71),\n python: (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02),\n vcpkg: (0, $6de10099eaeb725f$export$490bdba4ef3e3f82),\n bazel: (0, $8550ac0edfced131$export$a66bc93580b0a849),\n conan: (0, $928be18130bb437a$export$249d0c7d779d362f),\n meson: (0, $841211d84f4a44cd$export$f73905553f087748),\n gcovr: (0, $9e5689f497201ccc$export$b98d69f362caf61f),\n opencppcoverage: (0, $54ef9c824222402f$export$6aa28a97600a8ae3),\n llvm: (0, $0213127e07869fde$export$3016de7ae9d14988),\n gcc: (0, $bd769018416dc7f2$export$405fab3de79b77b),\n choco: (0, $5540d46c90af649b$export$b804d731cdad7ef9),\n brew: (0, $3b801cbe73da1992$export$c5eeb9c87a610a0e),\n powershell: (0, $772fce954f353e90$export$1ff6ad96ee130aba),\n ccache: (0, $37a450505a669dce$export$111263621bbb0768),\n sccache: (0, $bcbacc5f1ce862e1$export$b963b67cda80fdc),\n doxygen: (0, $4b1f70d03c91cebd$export$b6e6613a954051ee),\n graphviz: (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9),\n cppcheck: (0, $6f659008f4a1ac73$export$13d77464c548b5d3),\n clangtidy: (0, $0213127e07869fde$export$814ccfc953503728),\n clangformat: (0, $0213127e07869fde$export$1cf2d186cecf1f54),\n msvc: (0, $756746e991f4f289$export$a91ef0362c1a7298),\n vcvarsall: (0, $ffa3775f67868b5f$export$5dcf571c91fc8369),\n kcov: (0, $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b),\n make: (0, $b2527beb3f2e4071$export$b0a9411329e2916),\n task: (0, $19fb71dac36c98fd$export$4456b3a3d3540077),\n sevenzip: (0, $6285d3d29afbf608$export$5fc39629e14c8173)\n};\nconst $f58f76cc72dbc50d$export$904054328df186b = Object.keys($f58f76cc72dbc50d$export$18a3521ac7306af4);\nconst $f58f76cc72dbc50d$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$f58f76cc72dbc50d$export$904054328df186b\n];\n\n\nfunction $447038b429c54f91$export$7300a92932ee17a3(args) {\n return (0, $2fdf9153abf9f994$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $f58f76cc72dbc50d$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $f58f76cc72dbc50d$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $447038b429c54f91$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $447038b429c54f91$export$f57ebcae4da846e4() {\n (0, $ER74K.info)(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`);\n console.table({\n \"compiler and analyzer\": {\n tools: \"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat\"\n },\n \"build system\": {\n tools: \"--cmake, --ninja, --meson, --make, --task, --bazel\"\n },\n \"package manager\": {\n tools: \"--vcpkg, --conan, --choco, --brew, --nala\"\n },\n cache: {\n tools: \"--ccache, --sccache\"\n },\n documentation: {\n tools: \"--doxygen, --graphviz\"\n },\n coverage: {\n tools: \"--gcovr, --opencppcoverage, --kcov\"\n },\n other: {\n tools: \"--python, --powershell, --sevenzip\"\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $447038b429c54f91$export$fc4ce4d885cb1082(key) {\n const value = (0, $9yJgU.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $447038b429c54f91$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `\\u{2705} ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\nconst $447038b429c54f91$export$9460b536668416ce = {\n rcPath: (0, $cc03115747abd396$export$8312d9eeba321950)(\"~/.cpprc\"),\n guard: \"cpp\"\n};\n\n\n\n\nvar $9yJgU = parcelRequire(\"9yJgU\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $cdjlt = parcelRequire(\"cdjlt\");\n\n\n\n\n\n\nfunction $546e05b24c5c5b72$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($cdjlt)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $ER74K.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $546e05b24c5c5b72$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $546e05b24c5c5b72$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $9yJgU.startGroup)(`Installing ${compiler} ${version ?? \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $0213127e07869fde$export$3016de7ae9d14988)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $9e5689f497201ccc$export$2a0488baf2a20c0f)();\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $bd769018416dc7f2$export$f115c01d224b9e9a)(gccVersion, (0, $d7DIX$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $d7DIX$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\", (0, $447038b429c54f91$export$9460b536668416ce));\n await (0, $9e5689f497201ccc$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"gcc\", installationInfo));\n break;\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\":\n {\n const installationInfo = await (0, $756746e991f4f289$export$a91ef0362c1a7298)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\", (0, $447038b429c54f91$export$9460b536668416ce));\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $9yJgU.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CC\", \"clang\", (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\", (0, $447038b429c54f91$export$9460b536668416ce))\n ]);\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $ER74K.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $9yJgU.endGroup)();\n}\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $0e55037d0c830549$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $9ne19.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $cb87868918740ed3$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $447038b429c54f91$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $447038b429c54f91$export$f57ebcae4da846e4)();\n // cpu architecture\n const arch = opts.architecture ?? process.arch;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? (0, $cc03115747abd396$export$8312d9eeba321950)(\"~\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $ddfdb3021fdfe31b$exports.create({\n autoloadLocales: true\n });\n $ddfdb3021fdfe31b$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($4f38fb9d09e4f014$exports))));\n $ggaxg.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($77f70800b555d1e7$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $ER74K.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $ER74K.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $f58f76cc72dbc50d$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $9ne19.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $38b6fc81fd22ef04$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, Number.parseFloat(opts.timeout ?? \"20\") * 60000);\n time2 = Date.now();\n (0, $ER74K.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $546e05b24c5c5b72$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $ER74K.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $cc6b6f56a48c2610$export$943913be1ba4f7ff)((0, $447038b429c54f91$export$9460b536668416ce));\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $ER74K.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n for (const tool of successMessages)(0, $ER74K.success)(tool);\n for (const tool of errorMessages)(0, $ER74K.error)(tool);\n (0, $ER74K.info)(\"setup-cpp finished\");\n if (!(0, $9ne19.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $ER74K.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $ER74K.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$0e55037d0c830549$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $ER74K.error)(\"main() panicked!\");\n (0, $ER74K.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Agola CI\",\n \"constant\": \"AGOLA\",\n \"env\": \"AGOLA_GIT_REF\",\n \"pr\": \"AGOLA_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"TF_BUILD\",\n \"pr\": {\n \"BUILD_REASON\": \"PullRequest\"\n }\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Earthly\",\n \"constant\": \"EARTHLY\",\n \"env\": \"EARTHLY_CI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"Gitea Actions\",\n \"constant\": \"GITEA_ACTIONS\",\n \"env\": \"GITEA_ACTIONS\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Prow\",\n \"constant\": \"PROW\",\n \"env\": \"PROW_JOB_ID\"\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vela\",\n \"constant\": \"VELA\",\n \"env\": \"VELA\",\n \"pr\": {\n \"VELA_PULL_REQUEST\": \"1\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n },\n \"pr\": \"VERCEL_GIT_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return GITHUB_ACTIONS ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,null,null,null,null,"import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;",null,null,null,null,null,null,"module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"proxy-agent.74b39078.js\"))).then(() => parcelRequire('3z4gn'));",null,null,null,null,null,null,"module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","// 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","import * as fs from \"fs\"\nexport default fs.promises\n\nexport const {\n access,\n appendFile,\n chmod,\n chown,\n copyFile,\n lchmod,\n lchown,\n link,\n lstat,\n mkdir,\n mkdtemp,\n open,\n readdir,\n readFile,\n readlink,\n realpath,\n rename,\n rmdir,\n stat,\n symlink,\n truncate,\n unlink,\n utimes,\n writeFile,\n} = fs.promises\n\nimport { promisify } from \"util\"\nexport const rm = \"rm\" in fs.promises\n ? (\n fs.promises as typeof fs.promises & {\n rm: (path: string, options?: fs.RmDirOptions) => Promise\n }\n ).rm\n : promisify(fs.unlink)\n","\"use strict\";\n\n// eslint-disable-next-line no-empty-function\nmodule.exports = function () {};\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar sign = Math.sign;\n\tif (typeof sign !== \"function\") return false;\n\treturn sign(10) === 1 && sign(-20) === -1;\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tvalue = Number(value);\n\tif (isNaN(value) || value === 0) return value;\n\treturn value > 0 ? 1 : -1;\n};\n","// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\n\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , value = require(\"./valid-value\")\n , bind = Function.prototype.bind\n , call = Function.prototype.call\n , keys = Object.keys\n , objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nmodule.exports = function (method, defVal) {\n\treturn function (obj, cb /*, thisArg, compareFn*/) {\n\t\tvar list, thisArg = arguments[2], compareFn = arguments[3];\n\t\tobj = Object(value(obj));\n\t\tcallable(cb);\n\n\t\tlist = keys(obj);\n\t\tif (compareFn) {\n\t\t\tlist.sort(typeof compareFn === \"function\" ? bind.call(compareFn, obj) : undefined);\n\t\t}\n\t\tif (typeof method !== \"function\") method = list[method];\n\t\treturn call.call(method, list, function (key, index) {\n\t\t\tif (!objPropertyIsEnumerable.call(obj, key)) return defVal;\n\t\t\treturn call.call(cb, thisArg, obj[key], key, obj, index);\n\t\t});\n\t};\n};\n","\"use strict\";\n\nmodule.exports = function (fn) {\n\tif (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) throw new TypeError(\"Cannot use null or undefined\");\n\treturn value;\n};\n","\"use strict\";\n\nvar _undefined = require(\"../function/noop\")(); // Support ES3 engines\n\nmodule.exports = function (val) { return val !== _undefined && val !== null; };\n","\"use strict\";\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar assign = Object.assign, obj;\n\tif (typeof assign !== \"function\") return false;\n\tobj = { foo: \"raz\" };\n\tassign(obj, { bar: \"dwa\" }, { trzy: \"trzy\" });\n\treturn obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};\n","\"use strict\";\n\nvar keys = require(\"../keys\")\n , value = require(\"../valid-value\")\n , max = Math.max;\n\nmodule.exports = function (dest, src /*, …srcn*/) {\n\tvar error, i, length = max(arguments.length, 2), assign;\n\tdest = Object(value(dest));\n\tassign = function (key) {\n\t\ttry {\n\t\t\tdest[key] = src[key];\n\t\t} catch (e) {\n\t\t\tif (!error) error = e;\n\t\t}\n\t};\n\tfor (i = 1; i < length; ++i) {\n\t\tsrc = arguments[i];\n\t\tkeys(src).forEach(assign);\n\t}\n\tif (error !== undefined) throw error;\n\treturn dest;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.keys : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\ttry {\n\t\tObject.keys(\"primitive\");\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isValue = require(\"../is-value\");\n\nvar keys = Object.keys;\n\nmodule.exports = function (object) { return keys(isValue(object) ? Object(object) : object); };\n","\"use strict\";\n\nvar value = require(\"./valid-value\")\n , defineProperty = Object.defineProperty\n , getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor\n , getOwnPropertyNames = Object.getOwnPropertyNames\n , getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\nmodule.exports = function (target, source) {\n\tvar error, sourceObject = Object(value(source));\n\ttarget = Object(value(target));\n\tgetOwnPropertyNames(sourceObject).forEach(function (name) {\n\t\ttry {\n\t\t\tdefineProperty(target, name, getOwnPropertyDescriptor(source, name));\n\t\t} catch (e) { error = e; }\n\t});\n\tif (typeof getOwnPropertySymbols === \"function\") {\n\t\tgetOwnPropertySymbols(sourceObject).forEach(function (symbol) {\n\t\t\ttry {\n\t\t\t\tdefineProperty(target, symbol, getOwnPropertyDescriptor(source, symbol));\n\t\t\t} catch (e) { error = e; }\n\t\t});\n\t}\n\tif (error !== undefined) throw error;\n\treturn target;\n};\n","\"use strict\";\n\nvar str = \"razdwatrzy\";\n\nmodule.exports = function () {\n\tif (typeof str.contains !== \"function\") return false;\n\treturn str.contains(\"dwa\") === true && str.contains(\"foo\") === false;\n};\n","\"use strict\";\n\nvar indexOf = String.prototype.indexOf;\n\nmodule.exports = function (searchString /*, position*/) {\n\treturn indexOf.call(this, searchString, arguments[1]) > -1;\n};\n","'use strict';\n\nvar d = require('d')\n , callable = require('es5-ext/object/valid-callable')\n\n , apply = Function.prototype.apply, call = Function.prototype.call\n , create = Object.create, defineProperty = Object.defineProperty\n , defineProperties = Object.defineProperties\n , hasOwnProperty = Object.prototype.hasOwnProperty\n , descriptor = { configurable: true, enumerable: false, writable: true }\n\n , on, once, off, emit, methods, descriptors, base;\n\non = function (type, listener) {\n\tvar data;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) {\n\t\tdata = descriptor.value = create(null);\n\t\tdefineProperty(this, '__ee__', descriptor);\n\t\tdescriptor.value = null;\n\t} else {\n\t\tdata = this.__ee__;\n\t}\n\tif (!data[type]) data[type] = listener;\n\telse if (typeof data[type] === 'object') data[type].push(listener);\n\telse data[type] = [data[type], listener];\n\n\treturn this;\n};\n\nonce = function (type, listener) {\n\tvar once, self;\n\n\tcallable(listener);\n\tself = this;\n\ton.call(this, type, once = function () {\n\t\toff.call(self, type, once);\n\t\tapply.call(listener, this, arguments);\n\t});\n\n\tonce.__eeOnceListener__ = listener;\n\treturn this;\n};\n\noff = function (type, listener) {\n\tvar data, listeners, candidate, i;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return this;\n\tdata = this.__ee__;\n\tif (!data[type]) return this;\n\tlisteners = data[type];\n\n\tif (typeof listeners === 'object') {\n\t\tfor (i = 0; (candidate = listeners[i]); ++i) {\n\t\t\tif ((candidate === listener) ||\n\t\t\t\t\t(candidate.__eeOnceListener__ === listener)) {\n\t\t\t\tif (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n\t\t\t\telse listeners.splice(i, 1);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif ((listeners === listener) ||\n\t\t\t\t(listeners.__eeOnceListener__ === listener)) {\n\t\t\tdelete data[type];\n\t\t}\n\t}\n\n\treturn this;\n};\n\nemit = function (type) {\n\tvar i, l, listener, listeners, args;\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return;\n\tlisteners = this.__ee__[type];\n\tif (!listeners) return;\n\n\tif (typeof listeners === 'object') {\n\t\tl = arguments.length;\n\t\targs = new Array(l - 1);\n\t\tfor (i = 1; i < l; ++i) args[i - 1] = arguments[i];\n\n\t\tlisteners = listeners.slice();\n\t\tfor (i = 0; (listener = listeners[i]); ++i) {\n\t\t\tapply.call(listener, this, args);\n\t\t}\n\t} else {\n\t\tswitch (arguments.length) {\n\t\tcase 1:\n\t\t\tcall.call(listeners, this);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tcall.call(listeners, this, arguments[1]);\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tcall.call(listeners, this, arguments[1], arguments[2]);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tl = arguments.length;\n\t\t\targs = new Array(l - 1);\n\t\t\tfor (i = 1; i < l; ++i) {\n\t\t\t\targs[i - 1] = arguments[i];\n\t\t\t}\n\t\t\tapply.call(listeners, this, args);\n\t\t}\n\t}\n};\n\nmethods = {\n\ton: on,\n\tonce: once,\n\toff: off,\n\temit: emit\n};\n\ndescriptors = {\n\ton: d(on),\n\tonce: d(once),\n\toff: d(off),\n\temit: d(emit)\n};\n\nbase = defineProperties({}, descriptors);\n\nmodule.exports = exports = function (o) {\n\treturn (o == null) ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n","\"use strict\";\n\nvar isValue = require(\"type/value/is\")\n , isPlainFunction = require(\"type/plain-function/is\")\n , assign = require(\"es5-ext/object/assign\")\n , normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , contains = require(\"es5-ext/string/#/contains\");\n\nvar d = (module.exports = function (dscr, value/*, options*/) {\n\tvar c, e, w, options, desc;\n\tif (arguments.length < 2 || typeof dscr !== \"string\") {\n\t\toptions = value;\n\t\tvalue = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[2];\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t\tw = contains.call(dscr, \"w\");\n\t} else {\n\t\tc = w = true;\n\t\te = false;\n\t}\n\n\tdesc = { value: value, configurable: c, enumerable: e, writable: w };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n});\n\nd.gs = function (dscr, get, set/*, options*/) {\n\tvar c, e, options, desc;\n\tif (typeof dscr !== \"string\") {\n\t\toptions = set;\n\t\tset = get;\n\t\tget = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[3];\n\t}\n\tif (!isValue(get)) {\n\t\tget = undefined;\n\t} else if (!isPlainFunction(get)) {\n\t\toptions = get;\n\t\tget = set = undefined;\n\t} else if (!isValue(set)) {\n\t\tset = undefined;\n\t} else if (!isPlainFunction(set)) {\n\t\toptions = set;\n\t\tset = undefined;\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t} else {\n\t\tc = true;\n\t\te = false;\n\t}\n\n\tdesc = { get: get, set: set, configurable: c, enumerable: e };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n};\n","\"use strict\";\n\n// ES3 safe\nvar _undefined = void 0;\n\nmodule.exports = function (value) { return value !== _undefined && value !== null; };\n","\"use strict\";\n\nvar isFunction = require(\"../function/is\");\n\nvar classRe = /^\\s*class[\\s{/}]/, functionToString = Function.prototype.toString;\n\nmodule.exports = function (value) {\n\tif (!isFunction(value)) return false;\n\tif (classRe.test(functionToString.call(value))) return false;\n\treturn true;\n};\n","\"use strict\";\n\nvar isPrototype = require(\"../prototype/is\");\n\nmodule.exports = function (value) {\n\tif (typeof value !== \"function\") return false;\n\n\tif (!hasOwnProperty.call(value, \"length\")) return false;\n\n\ttry {\n\t\tif (typeof value.length !== \"number\") return false;\n\t\tif (typeof value.call !== \"function\") return false;\n\t\tif (typeof value.apply !== \"function\") return false;\n\t} catch (error) {\n\t\treturn false;\n\t}\n\n\treturn !isPrototype(value);\n};\n","\"use strict\";\n\nvar isObject = require(\"../object/is\");\n\nmodule.exports = function (value) {\n\tif (!isObject(value)) return false;\n\ttry {\n\t\tif (!value.constructor) return false;\n\t\treturn value.constructor.prototype === value;\n\t} catch (error) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isValue = require(\"../value/is\");\n\n// prettier-ignore\nvar possibleTypes = { \"object\": true, \"function\": true, \"undefined\": true /* document.all */ };\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) return false;\n\treturn hasOwnProperty.call(possibleTypes, typeof value);\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.assign : require(\"./shim\");\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\nvar process = function (src, obj) {\n\tvar key;\n\tfor (key in src) obj[key] = src[key];\n};\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (opts1 /*, …options*/) {\n\tvar result = create(null);\n\tforEach.call(arguments, function (options) {\n\t\tif (!isValue(options)) return;\n\t\tprocess(Object(options), result);\n\t});\n\treturn result;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? String.prototype.contains : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar from = Array.from, arr, result;\n\tif (typeof from !== \"function\") return false;\n\tarr = [\"raz\", \"dwa\"];\n\tresult = from(arr);\n\treturn Boolean(result && result !== arr && result[1] === \"dwa\");\n};\n","\"use strict\";\n\nvar iteratorSymbol = require(\"es6-symbol\").iterator\n , isArguments = require(\"../../function/is-arguments\")\n , isFunction = require(\"../../function/is-function\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , callable = require(\"../../object/valid-callable\")\n , validValue = require(\"../../object/valid-value\")\n , isValue = require(\"../../object/is-value\")\n , isString = require(\"../../string/is-string\")\n , isArray = Array.isArray\n , call = Function.prototype.call\n , desc = { configurable: true, enumerable: true, writable: true, value: null }\n , defineProperty = Object.defineProperty;\n\n// eslint-disable-next-line complexity, max-lines-per-function\nmodule.exports = function (arrayLike /*, mapFn, thisArg*/) {\n\tvar mapFn = arguments[1]\n\t , thisArg = arguments[2]\n\t , Context\n\t , i\n\t , j\n\t , arr\n\t , length\n\t , code\n\t , iterator\n\t , result\n\t , getIterator\n\t , value;\n\n\tarrayLike = Object(validValue(arrayLike));\n\n\tif (isValue(mapFn)) callable(mapFn);\n\tif (!this || this === Array || !isFunction(this)) {\n\t\t// Result: Plain array\n\t\tif (!mapFn) {\n\t\t\tif (isArguments(arrayLike)) {\n\t\t\t\t// Source: Arguments\n\t\t\t\tlength = arrayLike.length;\n\t\t\t\tif (length !== 1) return Array.apply(null, arrayLike);\n\t\t\t\tarr = new Array(1);\n\t\t\t\tarr[0] = arrayLike[0];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t\tif (isArray(arrayLike)) {\n\t\t\t\t// Source: Array\n\t\t\t\tarr = new Array((length = arrayLike.length));\n\t\t\t\tfor (i = 0; i < length; ++i) arr[i] = arrayLike[i];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t}\n\t\tarr = [];\n\t} else {\n\t\t// Result: Non plain array\n\t\tContext = this;\n\t}\n\n\tif (!isArray(arrayLike)) {\n\t\tif ((getIterator = arrayLike[iteratorSymbol]) !== undefined) {\n\t\t\t// Source: Iterator\n\t\t\titerator = callable(getIterator).call(arrayLike);\n\t\t\tif (Context) arr = new Context();\n\t\t\tresult = iterator.next();\n\t\t\ti = 0;\n\t\t\twhile (!result.done) {\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, result.value, i) : result.value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[i] = value;\n\t\t\t\t}\n\t\t\t\tresult = iterator.next();\n\t\t\t\t++i;\n\t\t\t}\n\t\t\tlength = i;\n\t\t} else if (isString(arrayLike)) {\n\t\t\t// Source: String\n\t\t\tlength = arrayLike.length;\n\t\t\tif (Context) arr = new Context();\n\t\t\tfor (i = 0, j = 0; i < length; ++i) {\n\t\t\t\tvalue = arrayLike[i];\n\t\t\t\tif (i + 1 < length) {\n\t\t\t\t\tcode = value.charCodeAt(0);\n\t\t\t\t\t// eslint-disable-next-line max-depth\n\t\t\t\t\tif (code >= 0xd800 && code <= 0xdbff) value += arrayLike[++i];\n\t\t\t\t}\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, value, j) : value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, j, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[j] = value;\n\t\t\t\t}\n\t\t\t\t++j;\n\t\t\t}\n\t\t\tlength = j;\n\t\t}\n\t}\n\tif (length === undefined) {\n\t\t// Source: array or array-like\n\t\tlength = toPosInt(arrayLike.length);\n\t\tif (Context) arr = new Context(length);\n\t\tfor (i = 0; i < length; ++i) {\n\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];\n\t\t\tif (Context) {\n\t\t\t\tdesc.value = value;\n\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t} else {\n\t\t\t\tarr[i] = value;\n\t\t\t}\n\t\t}\n\t}\n\tif (Context) {\n\t\tdesc.value = null;\n\t\tarr.length = length;\n\t}\n\treturn arr;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")()\n\t? require(\"ext/global-this\").Symbol\n\t: require(\"./polyfill\");\n","\"use strict\";\n\nvar global = require(\"ext/global-this\")\n , validTypes = { object: true, symbol: true };\n\nmodule.exports = function () {\n\tvar Symbol = global.Symbol;\n\tvar symbol;\n\tif (typeof Symbol !== \"function\") return false;\n\tsymbol = Symbol(\"test symbol\");\n\ttry { String(symbol); }\n\tcatch (e) { return false; }\n\n\t// Return 'true' also for polyfills\n\tif (!validTypes[typeof Symbol.iterator]) return false;\n\tif (!validTypes[typeof Symbol.toPrimitive]) return false;\n\tif (!validTypes[typeof Symbol.toStringTag]) return false;\n\n\treturn true;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? globalThis : require(\"./implementation\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tif (typeof globalThis !== \"object\") return false;\n\tif (!globalThis) return false;\n\treturn globalThis.Array === Array;\n};\n","var naiveFallback = function () {\n\tif (typeof self === \"object\" && self) return self;\n\tif (typeof window === \"object\" && window) return window;\n\tthrow new Error(\"Unable to resolve global `this`\");\n};\n\nmodule.exports = (function () {\n\tif (this) return this;\n\n\t// Unexpected strict mode (may happen if e.g. bundled into ESM module)\n\n\t// Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n\t// In all ES5+ engines global object inherits from Object.prototype\n\t// (if you approached one that doesn't please report)\n\ttry {\n\t\tObject.defineProperty(Object.prototype, \"__global__\", {\n\t\t\tget: function () { return this; },\n\t\t\tconfigurable: true\n\t\t});\n\t} catch (error) {\n\t\t// Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n\t\treturn naiveFallback();\n\t}\n\ttry {\n\t\t// Safari case (window.__global__ is resolved with global context, but __global__ does not)\n\t\tif (!__global__) return naiveFallback();\n\t\treturn __global__;\n\t} finally {\n\t\tdelete Object.prototype.__global__;\n\t}\n})();\n","// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\n\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"./validate-symbol\")\n , NativeSymbol = require(\"ext/global-this\").Symbol\n , generateName = require(\"./lib/private/generate-name\")\n , setupStandardSymbols = require(\"./lib/private/setup/standard-symbols\")\n , setupSymbolRegistry = require(\"./lib/private/setup/symbol-registry\");\n\nvar create = Object.create\n , defineProperties = Object.defineProperties\n , defineProperty = Object.defineProperty;\n\nvar SymbolPolyfill, HiddenSymbol, isNativeSafe;\n\nif (typeof NativeSymbol === \"function\") {\n\ttry {\n\t\tString(NativeSymbol());\n\t\tisNativeSafe = true;\n\t} catch (ignore) {}\n} else {\n\tNativeSymbol = null;\n}\n\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\nHiddenSymbol = function Symbol(description) {\n\tif (this instanceof HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n\treturn SymbolPolyfill(description);\n};\n\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = SymbolPolyfill = function Symbol(description) {\n\tvar symbol;\n\tif (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n\tif (isNativeSafe) return NativeSymbol(description);\n\tsymbol = create(HiddenSymbol.prototype);\n\tdescription = description === undefined ? \"\" : String(description);\n\treturn defineProperties(symbol, {\n\t\t__description__: d(\"\", description),\n\t\t__name__: d(\"\", generateName(description))\n\t});\n};\n\nsetupStandardSymbols(SymbolPolyfill);\nsetupSymbolRegistry(SymbolPolyfill);\n\n// Internal tweaks for real symbol producer\ndefineProperties(HiddenSymbol.prototype, {\n\tconstructor: d(SymbolPolyfill),\n\ttoString: d(\"\", function () { return this.__name__; })\n});\n\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\ndefineProperties(SymbolPolyfill.prototype, {\n\ttoString: d(function () { return \"Symbol (\" + validateSymbol(this).__description__ + \")\"; }),\n\tvalueOf: d(function () { return validateSymbol(this); })\n});\ndefineProperty(\n\tSymbolPolyfill.prototype, SymbolPolyfill.toPrimitive,\n\td(\"\", function () {\n\t\tvar symbol = validateSymbol(this);\n\t\tif (typeof symbol === \"symbol\") return symbol;\n\t\treturn symbol.toString();\n\t})\n);\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d(\"c\", \"Symbol\"));\n\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toStringTag,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])\n);\n\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toPrimitive,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive])\n);\n","\"use strict\";\n\nvar isSymbol = require(\"./is-symbol\");\n\nmodule.exports = function (value) {\n\tif (!isSymbol(value)) throw new TypeError(value + \" is not a symbol\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tif (!value) return false;\n\tif (typeof value === \"symbol\") return true;\n\tif (!value.constructor) return false;\n\tif (value.constructor.name !== \"Symbol\") return false;\n\treturn value[value.constructor.toStringTag] === \"Symbol\";\n};\n","\"use strict\";\n\nvar d = require(\"d\");\n\nvar create = Object.create, defineProperty = Object.defineProperty, objPrototype = Object.prototype;\n\nvar created = create(null);\nmodule.exports = function (desc) {\n\tvar postfix = 0, name, ie11BugWorkaround;\n\twhile (created[desc + (postfix || \"\")]) ++postfix;\n\tdesc += postfix || \"\";\n\tcreated[desc] = true;\n\tname = \"@@\" + desc;\n\tdefineProperty(\n\t\tobjPrototype, name,\n\t\td.gs(null, function (value) {\n\t\t\t// For IE11 issue see:\n\t\t\t// https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n\t\t\t// ie11-broken-getters-on-dom-objects\n\t\t\t// https://github.com/medikoo/es6-symbol/issues/12\n\t\t\tif (ie11BugWorkaround) return;\n\t\t\tie11BugWorkaround = true;\n\t\t\tdefineProperty(this, name, d(value));\n\t\t\tie11BugWorkaround = false;\n\t\t})\n\t);\n\treturn name;\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , NativeSymbol = require(\"ext/global-this\").Symbol;\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\t// To ensure proper interoperability with other native functions (e.g. Array.from)\n\t\t// fallback to eventual native implementation of given symbol\n\t\thasInstance: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.hasInstance) || SymbolPolyfill(\"hasInstance\")\n\t\t),\n\t\tisConcatSpreadable: d(\n\t\t\t\"\",\n\t\t\t(NativeSymbol && NativeSymbol.isConcatSpreadable) ||\n\t\t\t\tSymbolPolyfill(\"isConcatSpreadable\")\n\t\t),\n\t\titerator: d(\"\", (NativeSymbol && NativeSymbol.iterator) || SymbolPolyfill(\"iterator\")),\n\t\tmatch: d(\"\", (NativeSymbol && NativeSymbol.match) || SymbolPolyfill(\"match\")),\n\t\treplace: d(\"\", (NativeSymbol && NativeSymbol.replace) || SymbolPolyfill(\"replace\")),\n\t\tsearch: d(\"\", (NativeSymbol && NativeSymbol.search) || SymbolPolyfill(\"search\")),\n\t\tspecies: d(\"\", (NativeSymbol && NativeSymbol.species) || SymbolPolyfill(\"species\")),\n\t\tsplit: d(\"\", (NativeSymbol && NativeSymbol.split) || SymbolPolyfill(\"split\")),\n\t\ttoPrimitive: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toPrimitive) || SymbolPolyfill(\"toPrimitive\")\n\t\t),\n\t\ttoStringTag: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toStringTag) || SymbolPolyfill(\"toStringTag\")\n\t\t),\n\t\tunscopables: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.unscopables) || SymbolPolyfill(\"unscopables\")\n\t\t)\n\t});\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"../../../validate-symbol\");\n\nvar registry = Object.create(null);\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\tfor: d(function (key) {\n\t\t\tif (registry[key]) return registry[key];\n\t\t\treturn (registry[key] = SymbolPolyfill(String(key)));\n\t\t}),\n\t\tkeyFor: d(function (symbol) {\n\t\t\tvar key;\n\t\t\tvalidateSymbol(symbol);\n\t\t\tfor (key in registry) {\n\t\t\t\tif (registry[key] === symbol) return key;\n\t\t\t}\n\t\t\treturn undefined;\n\t\t})\n\t});\n};\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , id = objToString.call((function () { return arguments; })());\n\nmodule.exports = function (value) { return objToString.call(value) === id; };\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);\n\nmodule.exports = function (value) {\n\treturn typeof value === \"function\" && isFunctionStringTag(objToString.call(value));\n};\n","\"use strict\";\n\nvar toInteger = require(\"./to-integer\")\n , max = Math.max;\n\nmodule.exports = function (value) { return max(0, toInteger(value)); };\n","\"use strict\";\n\nvar sign = require(\"../math/sign\")\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (value) {\n\tif (isNaN(value)) return 0;\n\tvalue = Number(value);\n\tif (value === 0 || !isFinite(value)) return value;\n\treturn sign(value) * floor(abs(value));\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Math.sign : require(\"./shim\");\n","\"use strict\";\n\nvar objToString = Object.prototype.toString, id = objToString.call(\"\");\n\nmodule.exports = function (value) {\n\treturn (\n\t\ttypeof value === \"string\" ||\n\t\t(value &&\n\t\t\ttypeof value === \"object\" &&\n\t\t\t(value instanceof String || objToString.call(value) === id)) ||\n\t\tfalse\n\t);\n};\n","\"use strict\";\n\nmodule.exports = function (args) {\n\tvar id, i, length = args.length;\n\tif (!length) return \"\\u0002\";\n\tid = String(args[(i = 0)]);\n\twhile (--length) id += \"\\u0001\" + args[++i];\n\treturn id;\n};\n","\"use strict\";\n\nmodule.exports = function (length) {\n\tif (!length) {\n\t\treturn function () { return \"\"; };\n\t}\n\treturn function (args) {\n\t\tvar id = String(args[0]), i = 0, currentLength = length;\n\t\twhile (--currentLength) {\n\t\t\tid += \"\\u0001\" + args[++i];\n\t\t}\n\t\treturn id;\n\t};\n};\n","/* eslint max-statements: 0 */\n\n\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nvar create = Object.create;\n\nmodule.exports = function () {\n\tvar lastId = 0, map = [], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) return set[length] || null;\n\t\t\tif ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) return null;\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\treturn set[1][i] || null;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) {\n\t\t\t\tset[length] = ++lastId;\n\t\t\t} else {\n\t\t\t\tif (!set[length]) {\n\t\t\t\t\tset[length] = [[], []];\n\t\t\t\t}\n\t\t\t\tset = set[length];\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t\t}\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t}\n\t\t\t\tset[1][i] = ++lastId;\n\t\t\t}\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, args = cache[id], length = args.length, path = [];\n\t\t\tif (length === 0) {\n\t\t\t\tdelete set[length];\n\t\t\t} else if ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tpath.push(set, i);\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tid = set[1][i];\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\t\ti = path.pop();\n\t\t\t\t\tset = path.pop();\n\t\t\t\t\tset[0].splice(i, 1);\n\t\t\t\t\tset[1].splice(i, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar numberIsNaN = require(\"../../number/is-nan\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , value = require(\"../../object/valid-value\")\n , indexOf = Array.prototype.indexOf\n , objHasOwnProperty = Object.prototype.hasOwnProperty\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (searchElement /*, fromIndex*/) {\n\tvar i, length, fromIndex, val;\n\tif (!numberIsNaN(searchElement)) return indexOf.apply(this, arguments);\n\n\tlength = toPosInt(value(this).length);\n\tfromIndex = arguments[1];\n\tif (isNaN(fromIndex)) fromIndex = 0;\n\telse if (fromIndex >= 0) fromIndex = floor(fromIndex);\n\telse fromIndex = toPosInt(this.length) - floor(abs(fromIndex));\n\n\tfor (i = fromIndex; i < length; ++i) {\n\t\tif (objHasOwnProperty.call(this, i)) {\n\t\t\tval = this[i];\n\t\t\tif (numberIsNaN(val)) return i; // Jslint: ignore\n\t\t}\n\t}\n\treturn -1;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Number.isNaN : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar numberIsNaN = Number.isNaN;\n\tif (typeof numberIsNaN !== \"function\") return false;\n\treturn !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\t// eslint-disable-next-line no-self-compare\n\treturn value !== value;\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nmodule.exports = function () {\n\tvar lastId = 0, argsMap = [], cache = [];\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = indexOf.call(argsMap, args[0]);\n\t\t\treturn index === -1 ? null : cache[index];\n\t\t},\n\t\tset: function (args) {\n\t\t\targsMap.push(args[0]);\n\t\t\tcache.push(++lastId);\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = indexOf.call(cache, id);\n\t\t\tif (index !== -1) {\n\t\t\t\targsMap.splice(index, 1);\n\t\t\t\tcache.splice(index, 1);\n\t\t\t}\n\t\t},\n\t\tclear: function () {\n\t\t\targsMap = [];\n\t\t\tcache = [];\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\")\n , create = Object.create;\n\nmodule.exports = function (length) {\n\tvar lastId = 0, map = [[], []], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) return null;\n\t\t\treturn set[1][i] || null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t}\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t}\n\t\t\tset[1][i] = ++lastId;\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, path = [], args = cache[id];\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tpath.push(set, i);\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tid = set[1][i];\n\t\t\tset[0].splice(i, 1);\n\t\t\tset[1].splice(i, 1);\n\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\ti = path.pop();\n\t\t\t\tset = path.pop();\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [[], []];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","/* eslint consistent-this: 0, no-shadow:0, no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n// Support for asynchronous functions\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , objectMap = require(\"es5-ext/object/map\")\n , mixin = require(\"es5-ext/object/mixin\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , nextTick = require(\"next-tick\");\n\nvar slice = Array.prototype.slice, apply = Function.prototype.apply, create = Object.create;\n\nrequire(\"../lib/registered-extensions\").async = function (tbi, conf) {\n\tvar waiting = create(null)\n\t , cache = create(null)\n\t , base = conf.memoized\n\t , original = conf.original\n\t , currentCallback\n\t , currentContext\n\t , currentArgs;\n\n\t// Initial\n\tconf.memoized = defineLength(function (arg) {\n\t\tvar args = arguments, last = args[args.length - 1];\n\t\tif (typeof last === \"function\") {\n\t\t\tcurrentCallback = last;\n\t\t\targs = slice.call(args, 0, -1);\n\t\t}\n\t\treturn base.apply((currentContext = this), (currentArgs = args));\n\t}, base);\n\ttry { mixin(conf.memoized, base); }\n\tcatch (ignore) {}\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id) {\n\t\tvar cb, context, args;\n\t\tif (!currentCallback) return;\n\n\t\t// Unresolved\n\t\tif (waiting[id]) {\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback];\n\t\t\telse waiting[id].push(currentCallback);\n\t\t\tcurrentCallback = null;\n\t\t\treturn;\n\t\t}\n\n\t\t// Resolved, assure next tick invocation\n\t\tcb = currentCallback;\n\t\tcontext = currentContext;\n\t\targs = currentArgs;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\tnextTick(function () {\n\t\t\tvar data;\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tdata = cache[id];\n\t\t\t\tconf.emit(\"getasync\", id, args, context);\n\t\t\t\tapply.call(cb, data.context, data.args);\n\t\t\t} else {\n\t\t\t\t// Purged in a meantime, we shouldn't rely on cached value, recall\n\t\t\t\tcurrentCallback = cb;\n\t\t\t\tcurrentContext = context;\n\t\t\t\tcurrentArgs = args;\n\t\t\t\tbase.apply(context, args);\n\t\t\t}\n\t\t});\n\t});\n\n\t// Not from cache\n\tconf.original = function () {\n\t\tvar args, cb, origCb, result;\n\t\tif (!currentCallback) return apply.call(original, this, arguments);\n\t\targs = aFrom(arguments);\n\t\tcb = function self(err) {\n\t\t\tvar cb, args, id = self.id;\n\t\t\tif (id == null) {\n\t\t\t\t// Shouldn't happen, means async callback was called sync way\n\t\t\t\tnextTick(apply.bind(self, this, arguments));\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tdelete self.id;\n\t\t\tcb = waiting[id];\n\t\t\tdelete waiting[id];\n\t\t\tif (!cb) {\n\t\t\t\t// Already processed,\n\t\t\t\t// outcome of race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\targs = aFrom(arguments);\n\t\t\tif (conf.has(id)) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconf.delete(id);\n\t\t\t\t} else {\n\t\t\t\t\tcache[id] = { context: this, args: args };\n\t\t\t\t\tconf.emit(\"setasync\", id, typeof cb === \"function\" ? 1 : cb.length);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (typeof cb === \"function\") {\n\t\t\t\tresult = apply.call(cb, this, args);\n\t\t\t} else {\n\t\t\t\tcb.forEach(function (cb) { result = apply.call(cb, this, args); }, this);\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\t\torigCb = currentCallback;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\targs.push(cb);\n\t\tresult = apply.call(original, this, args);\n\t\tcb.cb = origCb;\n\t\tcurrentCallback = cb;\n\t\treturn result;\n\t};\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id) {\n\t\tif (!currentCallback) {\n\t\t\tconf.delete(id);\n\t\t\treturn;\n\t\t}\n\t\tif (waiting[id]) {\n\t\t\t// Race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback.cb];\n\t\t\telse waiting[id].push(currentCallback.cb);\n\t\t} else {\n\t\t\twaiting[id] = currentCallback.cb;\n\t\t}\n\t\tdelete currentCallback.cb;\n\t\tcurrentCallback.id = id;\n\t\tcurrentCallback = null;\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tvar result;\n\t\t// If false, we don't have value yet, so we assume that intention is not\n\t\t// to memoize this call. After value is obtained we don't cache it but\n\t\t// gracefully pass to callback\n\t\tif (hasOwnProperty.call(waiting, id)) return;\n\t\tif (!cache[id]) return;\n\t\tresult = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, slice.call(result.args, 1));\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\tconf.emit(\n\t\t\t\"clearasync\", objectMap(oldCache, function (data) { return slice.call(data.args, 1); })\n\t\t);\n\t});\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Array.from : require(\"./shim\");\n","\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , forEach = require(\"./for-each\")\n , call = Function.prototype.call;\n\nmodule.exports = function (obj, cb /*, thisArg*/) {\n\tvar result = {}, thisArg = arguments[2];\n\tcallable(cb);\n\tforEach(obj, function (value, key, targetObj, index) {\n\t\tresult[key] = call.call(cb, thisArg, value, key, targetObj, index);\n\t});\n\treturn result;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./_iterate\")(\"forEach\");\n","\"use strict\";\n\nvar toPosInt = require(\"../number/to-pos-integer\");\n\nvar test = function (arg1, arg2) { return arg2; };\n\nvar desc, defineProperty, generate, mixin;\n\ntry {\n\tObject.defineProperty(test, \"length\", {\n\t\tconfigurable: true,\n\t\twritable: false,\n\t\tenumerable: false,\n\t\tvalue: 1\n\t});\n}\ncatch (ignore) {}\n\nif (test.length === 1) {\n\t// ES6\n\tdesc = { configurable: true, writable: false, enumerable: false };\n\tdefineProperty = Object.defineProperty;\n\tmodule.exports = function (fn, length) {\n\t\tlength = toPosInt(length);\n\t\tif (fn.length === length) return fn;\n\t\tdesc.value = length;\n\t\treturn defineProperty(fn, \"length\", desc);\n\t};\n} else {\n\tmixin = require(\"../object/mixin\");\n\tgenerate = (function () {\n\t\tvar cache = [];\n\t\treturn function (length) {\n\t\t\tvar args, i = 0;\n\t\t\tif (cache[length]) return cache[length];\n\t\t\targs = [];\n\t\t\twhile (length--) args.push(\"a\" + (++i).toString(36));\n\t\t\t// eslint-disable-next-line no-new-func\n\t\t\treturn new Function(\n\t\t\t\t\"fn\",\n\t\t\t\t\"return function (\" + args.join(\", \") + \") { return fn.apply(this, arguments); };\"\n\t\t\t);\n\t\t};\n\t})();\n\tmodule.exports = function (src, length) {\n\t\tvar target;\n\t\tlength = toPosInt(length);\n\t\tif (src.length === length) return src;\n\t\ttarget = generate(length)(src);\n\t\ttry { mixin(target, src); }\n\t\tcatch (ignore) {}\n\t\treturn target;\n\t};\n}\n","'use strict';\n\nvar ensureCallable = function (fn) {\n\tif (typeof fn !== 'function') throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n\nvar byObserver = function (Observer) {\n\tvar node = document.createTextNode(''), queue, currentQueue, i = 0;\n\tnew Observer(function () {\n\t\tvar callback;\n\t\tif (!queue) {\n\t\t\tif (!currentQueue) return;\n\t\t\tqueue = currentQueue;\n\t\t} else if (currentQueue) {\n\t\t\tqueue = currentQueue.concat(queue);\n\t\t}\n\t\tcurrentQueue = queue;\n\t\tqueue = null;\n\t\tif (typeof currentQueue === 'function') {\n\t\t\tcallback = currentQueue;\n\t\t\tcurrentQueue = null;\n\t\t\tcallback();\n\t\t\treturn;\n\t\t}\n\t\tnode.data = (i = ++i % 2); // Invoke other batch, to handle leftover callbacks in case of crash\n\t\twhile (currentQueue) {\n\t\t\tcallback = currentQueue.shift();\n\t\t\tif (!currentQueue.length) currentQueue = null;\n\t\t\tcallback();\n\t\t}\n\t}).observe(node, { characterData: true });\n\treturn function (fn) {\n\t\tensureCallable(fn);\n\t\tif (queue) {\n\t\t\tif (typeof queue === 'function') queue = [queue, fn];\n\t\t\telse queue.push(fn);\n\t\t\treturn;\n\t\t}\n\t\tqueue = fn;\n\t\tnode.data = (i = ++i % 2);\n\t};\n};\n\nmodule.exports = (function () {\n\t// Node.js\n\tif ((typeof process === 'object') && process && (typeof process.nextTick === 'function')) {\n\t\treturn process.nextTick;\n\t}\n\n\t// queueMicrotask\n\tif (typeof queueMicrotask === \"function\") {\n\t\treturn function (cb) { queueMicrotask(ensureCallable(cb)); };\n\t}\n\n\t// MutationObserver\n\tif ((typeof document === 'object') && document) {\n\t\tif (typeof MutationObserver === 'function') return byObserver(MutationObserver);\n\t\tif (typeof WebKitMutationObserver === 'function') return byObserver(WebKitMutationObserver);\n\t}\n\n\t// W3C Draft\n\t// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n\tif (typeof setImmediate === 'function') {\n\t\treturn function (cb) { setImmediate(ensureCallable(cb)); };\n\t}\n\n\t// Wide available standard\n\tif ((typeof setTimeout === 'function') || (typeof setTimeout === 'object')) {\n\t\treturn function (cb) { setTimeout(ensureCallable(cb), 0); };\n\t}\n\n\treturn null;\n}());\n","/* eslint max-statements: 0 */\n\n// Support for functions returning promise\n\n\"use strict\";\n\nvar objectMap = require(\"es5-ext/object/map\")\n , primitiveSet = require(\"es5-ext/object/primitive-set\")\n , ensureString = require(\"es5-ext/object/validate-stringifiable-value\")\n , toShortString = require(\"es5-ext/to-short-string-representation\")\n , isPromise = require(\"is-promise\")\n , nextTick = require(\"next-tick\");\n\nvar create = Object.create\n , supportedModes = primitiveSet(\"then\", \"then:finally\", \"done\", \"done:finally\");\n\nrequire(\"../lib/registered-extensions\").promise = function (mode, conf) {\n\tvar waiting = create(null), cache = create(null), promises = create(null);\n\n\tif (mode === true) {\n\t\tmode = null;\n\t} else {\n\t\tmode = ensureString(mode);\n\t\tif (!supportedModes[mode]) {\n\t\t\tthrow new TypeError(\"'\" + toShortString(mode) + \"' is not valid promise mode\");\n\t\t}\n\t}\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id, ignore, promise) {\n\t\tvar isFailed = false;\n\n\t\tif (!isPromise(promise)) {\n\t\t\t// Non promise result\n\t\t\tcache[id] = promise;\n\t\t\tconf.emit(\"setasync\", id, 1);\n\t\t\treturn;\n\t\t}\n\t\twaiting[id] = 1;\n\t\tpromises[id] = promise;\n\t\tvar onSuccess = function (result) {\n\t\t\tvar count = waiting[id];\n\t\t\tif (isFailed) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Detected unordered then|done & finally resolution, which \" +\n\t\t\t\t\t\t\"in turn makes proper detection of success/failure impossible (when in \" +\n\t\t\t\t\t\t\"'done:finally' mode)\\n\" +\n\t\t\t\t\t\t\"Consider to rely on 'then' or 'done' mode instead.\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (!count) return; // Deleted from cache before resolved\n\t\t\tdelete waiting[id];\n\t\t\tcache[id] = result;\n\t\t\tconf.emit(\"setasync\", id, count);\n\t\t};\n\t\tvar onFailure = function () {\n\t\t\tisFailed = true;\n\t\t\tif (!waiting[id]) return; // Deleted from cache (or succeed in case of finally)\n\t\t\tdelete waiting[id];\n\t\t\tdelete promises[id];\n\t\t\tconf.delete(id);\n\t\t};\n\n\t\tvar resolvedMode = mode;\n\t\tif (!resolvedMode) resolvedMode = \"then\";\n\n\t\tif (resolvedMode === \"then\") {\n\t\t\tvar nextTickFailure = function () { nextTick(onFailure); };\n\t\t\t// Eventual finally needs to be attached to non rejected promise\n\t\t\t// (so we not force propagation of unhandled rejection)\n\t\t\tpromise = promise.then(function (result) {\n\t\t\t\tnextTick(onSuccess.bind(this, result));\n\t\t\t}, nextTickFailure);\n\t\t\t// If `finally` is a function we attach to it to remove cancelled promises.\n\t\t\tif (typeof promise.finally === \"function\") {\n\t\t\t\tpromise.finally(nextTickFailure);\n\t\t\t}\n\t\t} else if (resolvedMode === \"done\") {\n\t\t\t// Not recommended, as it may mute any eventual \"Unhandled error\" events\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess, onFailure);\n\t\t} else if (resolvedMode === \"done:finally\") {\n\t\t\t// The only mode with no side effects assuming library does not throw unconditionally\n\t\t\t// for rejected promises.\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (typeof promise.finally !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'finally' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess);\n\t\t\tpromise.finally(onFailure);\n\t\t}\n\t});\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id, args, context) {\n\t\tvar promise;\n\t\tif (waiting[id]) {\n\t\t\t++waiting[id]; // Still waiting\n\t\t\treturn;\n\t\t}\n\t\tpromise = promises[id];\n\t\tvar emit = function () { conf.emit(\"getasync\", id, args, context); };\n\t\tif (isPromise(promise)) {\n\t\t\tif (typeof promise.done === \"function\") promise.done(emit);\n\t\t\telse {\n\t\t\t\tpromise.then(function () { nextTick(emit); });\n\t\t\t}\n\t\t} else {\n\t\t\temit();\n\t\t}\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tdelete promises[id];\n\t\tif (waiting[id]) {\n\t\t\tdelete waiting[id];\n\t\t\treturn; // Not yet resolved\n\t\t}\n\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\tvar result = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, [result]);\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\twaiting = create(null);\n\t\tpromises = create(null);\n\t\tconf.emit(\"clearasync\", objectMap(oldCache, function (data) { return [data]; }));\n\t});\n};\n","\"use strict\";\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (arg /*, …args*/) {\n\tvar set = create(null);\n\tforEach.call(arguments, function (name) { set[name] = true; });\n\treturn set;\n};\n","\"use strict\";\n\nvar ensureValue = require(\"./valid-value\")\n , stringifiable = require(\"./validate-stringifiable\");\n\nmodule.exports = function (value) { return stringifiable(ensureValue(value)); };\n","\"use strict\";\n\nvar isCallable = require(\"./is-callable\");\n\nmodule.exports = function (stringifiable) {\n\ttry {\n\t\tif (stringifiable && isCallable(stringifiable.toString)) return stringifiable.toString();\n\t\treturn String(stringifiable);\n\t} catch (e) {\n\t\tthrow new TypeError(\"Passed argument cannot be stringifed\");\n\t}\n};\n","// Deprecated\n\n\"use strict\";\n\nmodule.exports = function (obj) { return typeof obj === \"function\"; };\n","\"use strict\";\n\nvar safeToString = require(\"./safe-to-string\");\n\nvar reNewLine = /[\\n\\r\\u2028\\u2029]/g;\n\nmodule.exports = function (value) {\n\tvar string = safeToString(value);\n\t// Trim if too long\n\tif (string.length > 100) string = string.slice(0, 99) + \"…\";\n\t// Replace eventual new lines\n\tstring = string.replace(reNewLine, function (char) {\n\t\treturn JSON.stringify(char).slice(1, -1);\n\t});\n\treturn string;\n};\n","\"use strict\";\n\nvar isCallable = require(\"./object/is-callable\");\n\nmodule.exports = function (value) {\n\ttry {\n\t\tif (value && isCallable(value.toString)) return value.toString();\n\t\treturn String(value);\n\t} catch (e) {\n\t\treturn \"\";\n\t}\n};\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","// Call dispose callback on each cache purge\n\n\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"../lib/registered-extensions\")\n , apply = Function.prototype.apply;\n\nextensions.dispose = function (dispose, conf, options) {\n\tvar del;\n\tcallable(dispose);\n\tif ((options.async && extensions.async) || (options.promise && extensions.promise)) {\n\t\tconf.on(\n\t\t\t\"deleteasync\",\n\t\t\t(del = function (id, resultArray) { apply.call(dispose, null, resultArray); })\n\t\t);\n\t\tconf.on(\"clearasync\", function (cache) {\n\t\t\tforEach(cache, function (result, id) { del(id, result); });\n\t\t});\n\t\treturn;\n\t}\n\tconf.on(\"delete\", (del = function (id, result) { dispose(result); }));\n\tconf.on(\"clear\", function (cache) {\n\t\tforEach(cache, function (result, id) { del(id, result); });\n\t});\n};\n","/* eslint consistent-this: 0 */\n\n// Timeout cached values\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , forEach = require(\"es5-ext/object/for-each\")\n , nextTick = require(\"next-tick\")\n , isPromise = require(\"is-promise\")\n , timeout = require(\"timers-ext/valid-timeout\")\n , extensions = require(\"../lib/registered-extensions\");\n\nvar noop = Function.prototype, max = Math.max, min = Math.min, create = Object.create;\n\nextensions.maxAge = function (maxAge, conf, options) {\n\tvar timeouts, postfix, preFetchAge, preFetchTimeouts;\n\n\tmaxAge = timeout(maxAge);\n\tif (!maxAge) return;\n\n\ttimeouts = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\tconf.on(\"set\" + postfix, function (id) {\n\t\ttimeouts[id] = setTimeout(function () { conf.delete(id); }, maxAge);\n\t\tif (typeof timeouts[id].unref === \"function\") timeouts[id].unref();\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id]) {\n\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\t}\n\t\tpreFetchTimeouts[id] = setTimeout(function () {\n\t\t\tdelete preFetchTimeouts[id];\n\t\t}, preFetchAge);\n\t\tif (typeof preFetchTimeouts[id].unref === \"function\") preFetchTimeouts[id].unref();\n\t});\n\tconf.on(\"delete\" + postfix, function (id) {\n\t\tclearTimeout(timeouts[id]);\n\t\tdelete timeouts[id];\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\tdelete preFetchTimeouts[id];\n\t});\n\n\tif (options.preFetch) {\n\t\tif (options.preFetch === true || isNaN(options.preFetch)) {\n\t\t\tpreFetchAge = 0.333;\n\t\t} else {\n\t\t\tpreFetchAge = max(min(Number(options.preFetch), 1), 0);\n\t\t}\n\t\tif (preFetchAge) {\n\t\t\tpreFetchTimeouts = {};\n\t\t\tpreFetchAge = (1 - preFetchAge) * maxAge;\n\t\t\tconf.on(\"get\" + postfix, function (id, args, context) {\n\t\t\t\tif (!preFetchTimeouts[id]) {\n\t\t\t\t\tpreFetchTimeouts[id] = \"nextTick\";\n\t\t\t\t\tnextTick(function () {\n\t\t\t\t\t\tvar result;\n\t\t\t\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") return;\n\t\t\t\t\t\tdelete preFetchTimeouts[id];\n\t\t\t\t\t\tconf.delete(id);\n\t\t\t\t\t\tif (options.async) {\n\t\t\t\t\t\t\targs = aFrom(args);\n\t\t\t\t\t\t\targs.push(noop);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresult = conf.memoized.apply(context, args);\n\t\t\t\t\t\tif (options.promise) {\n\t\t\t\t\t\t\t// Supress eventual error warnings\n\t\t\t\t\t\t\tif (isPromise(result)) {\n\t\t\t\t\t\t\t\tif (typeof result.done === \"function\") result.done(noop, noop);\n\t\t\t\t\t\t\t\telse result.then(noop, noop);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tconf.on(\"clear\" + postfix, function () {\n\t\tforEach(timeouts, function (id) { clearTimeout(id); });\n\t\ttimeouts = {};\n\t\tif (preFetchTimeouts) {\n\t\t\tforEach(preFetchTimeouts, function (id) { if (id !== \"nextTick\") clearTimeout(id); });\n\t\t\tpreFetchTimeouts = {};\n\t\t}\n\t});\n};\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\")\n , maxTimeout = require(\"./max-timeout\");\n\nmodule.exports = function (value) {\n\tvalue = toPosInt(value);\n\tif (value > maxTimeout) throw new TypeError(value + \" exceeds maximum possible timeout\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = 2147483647;\n","// Limit cache size, LRU (least recently used) algorithm.\n\n\"use strict\";\n\nvar toPosInteger = require(\"es5-ext/number/to-pos-integer\")\n , lruQueue = require(\"lru-queue\")\n , extensions = require(\"../lib/registered-extensions\");\n\nextensions.max = function (max, conf, options) {\n\tvar postfix, queue, hit;\n\n\tmax = toPosInteger(max);\n\tif (!max) return;\n\n\tqueue = lruQueue(max);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\n\t\t\"set\" + postfix,\n\t\t(hit = function (id) {\n\t\t\tid = queue.hit(id);\n\t\t\tif (id === undefined) return;\n\t\t\tconf.delete(id);\n\t\t})\n\t);\n\tconf.on(\"get\" + postfix, hit);\n\tconf.on(\"delete\" + postfix, queue.delete);\n\tconf.on(\"clear\" + postfix, queue.clear);\n};\n","'use strict';\n\nvar toPosInt = require('es5-ext/number/to-pos-integer')\n\n , create = Object.create, hasOwnProperty = Object.prototype.hasOwnProperty;\n\nmodule.exports = function (limit) {\n\tvar size = 0, base = 1, queue = create(null), map = create(null), index = 0, del;\n\tlimit = toPosInt(limit);\n\treturn {\n\t\thit: function (id) {\n\t\t\tvar oldIndex = map[id], nuIndex = ++index;\n\t\t\tqueue[nuIndex] = id;\n\t\t\tmap[id] = nuIndex;\n\t\t\tif (!oldIndex) {\n\t\t\t\t++size;\n\t\t\t\tif (size <= limit) return;\n\t\t\t\tid = queue[base];\n\t\t\t\tdel(id);\n\t\t\t\treturn id;\n\t\t\t}\n\t\t\tdelete queue[oldIndex];\n\t\t\tif (base !== oldIndex) return;\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tdelete: del = function (id) {\n\t\t\tvar oldIndex = map[id];\n\t\t\tif (!oldIndex) return;\n\t\t\tdelete queue[oldIndex];\n\t\t\tdelete map[id];\n\t\t\t--size;\n\t\t\tif (base !== oldIndex) return;\n\t\t\tif (!size) {\n\t\t\t\tindex = 0;\n\t\t\t\tbase = 1;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tclear: function () {\n\t\t\tsize = 0;\n\t\t\tbase = 1;\n\t\t\tqueue = create(null);\n\t\t\tmap = create(null);\n\t\t\tindex = 0;\n\t\t}\n\t};\n};\n","// Reference counter, useful for garbage collector like functionality\n\n\"use strict\";\n\nvar d = require(\"d\")\n , extensions = require(\"../lib/registered-extensions\")\n , create = Object.create\n , defineProperties = Object.defineProperties;\n\nextensions.refCounter = function (ignore, conf, options) {\n\tvar cache, postfix;\n\n\tcache = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\"set\" + postfix, function (id, length) { cache[id] = length || 1; });\n\tconf.on(\"get\" + postfix, function (id) { ++cache[id]; });\n\tconf.on(\"delete\" + postfix, function (id) { delete cache[id]; });\n\tconf.on(\"clear\" + postfix, function () { cache = {}; });\n\n\tdefineProperties(conf.memoized, {\n\t\tdeleteRef: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return null;\n\t\t\tif (!cache[id]) return null;\n\t\t\tif (!--cache[id]) {\n\t\t\t\tconf.delete(id);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}),\n\t\tgetRefCount: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return 0;\n\t\t\tif (!cache[id]) return 0;\n\t\t\treturn cache[id];\n\t\t}),\n\t});\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], 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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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('build 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: 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(options.includePrerelease ? re[t.COERCEFULL] : 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 // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.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 const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]\n let next\n while ((next = coerceRtlRegex.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 coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n const major = match[2]\n const minor = match[3] || '0'\n const patch = match[4] || '0'\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''\n\n return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","const SPACE_CHARACTERS = /\\s+/g\n\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.formatted = undefined\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\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.formatted = undefined\n }\n\n get range () {\n if (this.formatted === undefined) {\n this.formatted = ''\n for (let i = 0; i < this.set.length; i++) {\n if (i > 0) {\n this.formatted += '||'\n }\n const comps = this.set[i]\n for (let k = 0; k < comps.length; k++) {\n if (k > 0) {\n this.formatted += ' '\n }\n this.formatted += comps[k].toString().trim()\n }\n }\n }\n return this.formatted\n }\n\n format () {\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('../internal/lrucache')\nconst cache = new LRU()\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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\n// TODO build?\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr) => {\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","class LRUCache {\n constructor () {\n this.max = 1000\n this.map = new Map()\n }\n\n get (key) {\n const value = this.map.get(key)\n if (value === undefined) {\n return undefined\n } else {\n // Remove the key from the map and add it to the end\n this.map.delete(key)\n this.map.set(key, value)\n return value\n }\n }\n\n delete (key) {\n return this.map.delete(key)\n }\n\n set (key, value) {\n const deleted = this.delete(key)\n\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value\n this.delete(firstKey)\n }\n\n this.map.set(key, value)\n }\n\n return this\n }\n}\n\nmodule.exports = LRUCache\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n",null,"import { basename, extname } from \"path\"\n\n/**\n * Get the name of the given file path.\n *\n * By default the file extension is included in the returned name. To remove the extension, set the second parameter to `false`.\n *\n * @example\n *\n * ```js\n * import { name } from \"patha\"\n *\n * name(\"path/to/file.md\") // gives \"file.md\"\n *\n * name(\"path/to/file.md\", false) // gives \"file\"\n * ```\n *\n * @param path The given file path\n * @param includeExtension If the name should include the file extension as well\n * @returns The base name without the extension\n */\nexport function name(path: string, includeExtension: boolean = true) {\n if (includeExtension) {\n return basename(path)\n } else {\n return basename(path, extname(path))\n }\n}\n","import { normalize, sep } from \"path\"\nimport escapeRegexp from \"escape-string-regexp\"\n\n/**\n * Normalizes the path and removes the trailing slashes.\n *\n * @example\n *\n * ```js\n * import { normalize, normalizeTrim } from \"patha\"\n *\n * normalizeTrim(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf\"\n *\n * normalize(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf/\"\n * ```\n *\n * @param path The given file path\n * @returns The normalized and trimmed file path\n */\nexport function normalizeTrim(path: string) {\n return normalize(path).replace(new RegExp(`${escapeRegexp(sep)}$`), \"\")\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @example\n *\n * ```js\n * import { addExeExt } from \"patha\"\n *\n * addExeExt(\"path/to/file-name\") // gives \"path/to/file-name.exe\" on Windows and \"path/to/file-name\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext Defaults to `.exe` on Windows\n * @param other_ext Defaults to `\"\"` On other platforms.\n */\nexport function addExeExt(name: string, win_ext = \".exe\", other_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a prefix to the start of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNamePrefix } from \"patha\"\n *\n * addNamePrefix(\"path/to/file-name.ext\", \"new-\") // gives \"path/to/new-file-name.ext\"\n * ```\n *\n * @param path The given file path\n * @param prefix The prefix to add to the start of the file name\n * @returns The path with a prefix added to its file name\n */\nexport function addNamePrefix(path: string, prefix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name prefix\n const NameWithPrefix = `${prefix}${nameWithoutExt}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithPrefix)\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a suffix to the end of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNameSuffix } from \"patha\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \"-old\") // gives \"path/to/file-name-old.ext\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \".test\") // gives \"path/to/file-name.test.ext\"\n * ```\n *\n * @param path The given file path\n * @param suffix The suffix to add to the end of the file name\n * @returns The path with a suffix added to its file name\n */\nexport function addNameSuffix(path: string, suffix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name suffix\n const NameWithSuffix = `${nameWithoutExt}${suffix}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithSuffix)\n}\n","/**\n * Add a native shell extension to the given name.\n *\n * @example\n *\n * ```js\n * import { addShExt } from \"patha\"\n *\n * addShExt(\"path/to/file-name\") // gives \"path/to/file-name.cmd\" on Windows and \"path/to/file-name.sh\" on others\n *\n * addShExt(\"path/to/file-name\", \".bat\") // gives \"path/to/file-name.bat\" on Windows and \"path/to/file-name.sh\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.cmd` on Windows\n * @param other_ext `.sh` On others.\n * @returns The file path with the shell extension added\n */\nexport function addShExt(name: string, win_ext = \".cmd\", other_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","/**\n * Prefix a `./` for unix shell and nothing for `cmd`.\n *\n * @example\n *\n * ```js\n * import { addShRelativePrefix } from \"patha\"\n *\n * addShRelativePrefix(\"some/file-name\") // gives \"some/file-name\" on Windows and \"./some/file-name\" on others.\n * ```\n *\n * @param path The given path\n * @returns The path with `./` added on Unix\n */\nexport function addShRelativePrefix(path: string) {\n if (process.platform === \"win32\") {\n return path\n }\n return `./${path}`\n}\n","import { extname } from \"path\"\n\n/**\n * Remove a path's extension.\n *\n * @example\n *\n * ```js\n * import { removeExt } from \"patha\"\n *\n * removeExt(\"some/dir/file.ext\") // gives \"some/dir/file\"\n * ```\n *\n * @param path The given path\n * @returns The path without its file extension\n */\nexport function removeExt(path: string) {\n const extensionLength = extname(path).length\n return path.slice(0, -extensionLength)\n}\n","import replaceExtOrig from \"replace-ext\"\n\n/**\n * Replaces the extension from path with extension and returns the updated path string.\n *\n * Does not replace the extension if path is not a string or is empty.\n *\n * @example\n *\n * ```js\n * import { replaceExt } from \"patha\"\n *\n * replaceExt(\"path/to/file.md\", \".html\") // gives \"path/to/file.html\"\n * ```\n *\n * @param path The given path\n * @param extension The extension to replace\n */\nexport function replaceExt(path: string, extension: string) {\n // TODO replaceExt should not change `/` to `\\\\` on Windows\n return replaceExtOrig(path, extension)\n}\n","import { relative, resolve, sep } from \"path\"\n\n/**\n * Check if a path is inside another path.\n *\n * Note that relative paths are resolved against `process.cwd()` to make them absolute.\n *\n * This function does not check if the paths exist and it only works with strings.\n *\n * @example\n *\n * ```js\n * import { isPathInside } from \"patha\"\n *\n * isPathInside(\"a/b/c\", \"a/b\")\n * //=> true\n *\n * isPathInside(\"a/b/c\", \"x/y\")\n * //=> false\n *\n * isPathInside(\"a/b/c\", \"a/b/c\")\n * //=> false\n *\n * isPathInside(\"/Users/some/dev/aa\", \"/Users/some\")\n * //=> true\n * ```\n */\nexport function isPathInside(childPath: string, parentPath: string): boolean {\n // copied from is-path-inside because the package uses node:path that can't be bundled for the browser\n\n const relation = relative(parentPath, childPath)\n\n return Boolean(relation && relation !== \"..\" && !relation.startsWith(`..${sep}`) && relation !== resolve(childPath))\n}\n","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n var nFilepath = path.join(path.dirname(npath), nFileName);\n\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if (startsWithSingleDot(npath)) {\n return '.' + path.sep + nFilepath;\n }\n\n return nFilepath;\n}\n\nfunction startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === '.' + path.sep || first2chars === './';\n}\n\nmodule.exports = replaceExt;\n",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction 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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.16ae5537.js\"))).then(() => parcelRequire('4kQHk'));","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"hdi.c1b21e1a.js\"))).then(() => parcelRequire('4YYb2'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport { finalizeRC } from \"envosman\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates.js\"\nimport { parseArgs, printHelp, rcOptions } from \"./cli-options.js\"\nimport { installCompiler } from \"./compilers.js\"\nimport { installTool } from \"./installTool.js\"\nimport { tools } from \"./tool.js\"\nimport { isArch } from \"./utils/env/isArch.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version.js\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack.js\"\nimport { syncVersions } from \"./versions/versions.js\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"~\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n Number.parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeRC(rcOptions)\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup-cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n for (const tool of successMessages) {\n success(tool)\n }\n for (const tool of errorMessages) {\n error(tool)\n }\n\n info(\"setup-cpp finished\")\n\n if (!GITHUB_ACTIONS) {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","export { addEnv, AddEnvOptions } from \"./add-env.js\"\nexport { addPath, AddPathOptions } from \"./add-path.js\"\nexport { finalizeRC, sourceRCInRc as sourceRC } from \"./rc-file.js\"\n","import { promises } from \"fs\"\nimport { exportVariable as ghExportVariable } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\"\nimport { escapeString } from \"./utils.js\"\nconst { appendFile } = promises\n\n/**\n * The options for adding an environment variable\n */\nexport type AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n escapeSpace: boolean\n /** If false, the variable will be only added if it is not already defined (Default to true) */\n overwrite: boolean\n /**\n * The path to the RC file that the env variables should be added to.\n */\n rcPath: string\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\n\nexport async function addEnv(\n name: string,\n valGiven: string | undefined,\n givenOptions: Partial = {},\n) {\n const options = {\n escapeSpace: false,\n overwrite: true,\n rcPath: defaultRcPath,\n ...givenOptions,\n }\n\n const val = escapeString(valGiven ?? \"\", options.escapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n ghExportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\n }\n } catch (err) {\n error(`${err}\\nFailed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\nasync function addEnvSystem(name: string, valGiven: string | undefined, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options)\n if (!options.overwrite) {\n await appendFile(options.rcPath, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${options.rcPath}`)\n } else {\n await appendFile(options.rcPath, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${options.rcPath}`)\n }\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n","import * as execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" },\n): execa.ExecaChildProcess {\n return execa.execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" },\n): execa.ExecaSyncReturnValue {\n return execa.execaSync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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 cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\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\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","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","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","'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';\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';\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 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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport pathKey from 'path-key';\n\nexport const npmRunPath = ({\n\tcwd = process.cwd(),\n\tpath: pathOption = process.env[pathKey()],\n\tpreferLocal = true,\n\texecPath = process.execPath,\n\taddExecPath = true,\n} = {}) => {\n\tconst cwdString = cwd instanceof URL ? fileURLToPath(cwd) : cwd;\n\tconst cwdPath = path.resolve(cwdString);\n\tconst result = [];\n\n\tif (preferLocal) {\n\t\tapplyPreferLocal(result, cwdPath);\n\t}\n\n\tif (addExecPath) {\n\t\tapplyExecPath(result, execPath, cwdPath);\n\t}\n\n\treturn [...result, pathOption].join(path.delimiter);\n};\n\nconst applyPreferLocal = (result, cwdPath) => {\n\tlet previous;\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\n// Ensure the running `node` binary is used\nconst applyExecPath = (result, execPath, cwdPath) => {\n\tconst execPathString = execPath instanceof URL ? fileURLToPath(execPath) : execPath;\n\tresult.push(path.resolve(cwdPath, execPathString, '..'));\n};\n\nexport const npmRunPathEnv = ({env = process.env, ...options} = {}) => {\n\tenv = {...env};\n\n\tconst pathName = pathKey({env});\n\toptions.path = env[pathName];\n\tenv[pathName] = npmRunPath(options);\n\n\treturn env;\n};\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","'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","'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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n",null,"import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n",null,"/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkStat = (stat: Stats, options: IsexeOptions) =>\n stat.isFile() && checkMode(stat, options)\n\nconst checkMode = (stat: Stats, options: IsexeOptions) => {\n const myUid = options.uid ?? process.getuid?.()\n const myGroups = options.groups ?? process.getgroups?.() ?? []\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0]\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid')\n }\n\n const groups = new Set([myGid, ...myGroups])\n\n const mod = stat.mode\n const uid = stat.uid\n const gid = stat.gid\n\n const u = parseInt('100', 8)\n const g = parseInt('010', 8)\n const o = parseInt('001', 8)\n const ug = u | g\n\n return !!(\n mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0)\n )\n}\n",null,"/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkPathExt = (path: string, options: IsexeOptions) => {\n const { pathExt = process.env.PATHEXT || '' } = options\n const peSplit = pathExt.split(';')\n if (peSplit.indexOf('') !== -1) {\n return true\n }\n\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase()\n const ext = path.substring(path.length - p.length).toLowerCase()\n\n if (p && ext === p) {\n return true\n }\n }\n return false\n}\n\nconst checkStat = (stat: Stats, path: string, options: IsexeOptions) =>\n stat.isFile() && checkPathExt(path, options)\n","export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n","import { promises } from \"fs\"\nimport { grantUserWriteAccess } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { untildifyUser } from \"untildify-user\"\nconst { appendFile, readFile, writeFile } = promises\n\nexport const defaultRcPath = untildifyUser(\"~/.bashrc\")\n\n/**\n * Options for adding an rc file\n */\nexport type RcOptions = {\n /** The path to the RC file that the env variables should be added to. */\n rcPath: string\n\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n\nasync function sourceRCInRc_(options: RcOptions) {\n const sourceRcString = options.guard === undefined\n ? `\\nsource \"${options.rcPath}\"\\n`\n : `\\n# ${options.guard}\\nif [[ \"$SOURCE_${options.guard.toUpperCase()}RC\" != 0 && -f \"${options.rcPath}\" ]]; then source \"${options.rcPath}\"; fi\\n`\n\n try {\n await Promise.all([\n addRCHeader(options),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.bashrc\")),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.profile\")),\n ])\n } catch (err) {\n warning(`Failed to add ${sourceRcString} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n}\n\n/**\n * handles adding conditions to source rc file from .bashrc and .profile\n */\nexport const sourceRCInRc = memoize(sourceRCInRc_, { promise: true })\n\nasync function addRCHeader(options: RcOptions) {\n // a variable that prevents source rc from being called from .bashrc and .profile\n const rcHeader = options.guard === undefined\n ? \"\\n# Automatically Generated by envosman\\n\"\n : `\\n# Automatically Generated by envosman ${options.guard}\\nexport SOURCE_${options.guard.toUpperCase()}RC=0\\n`\n\n if (await pathExists(options.rcPath)) {\n const rcContent = await readFile(options.rcPath, \"utf8\")\n if (!rcContent.includes(rcHeader)) {\n // already executed setupCppInProfile\n await appendFile(options.rcPath, `\\n${rcHeader}\\n`)\n info(`Added ${rcHeader} to ${options.rcPath}`)\n }\n }\n}\n\nasync function addSourceToTargetRc(sourceRcString: string, targetRcPath: string) {\n if (await pathExists(targetRcPath)) {\n const bashrcContent = await readFile(targetRcPath, \"utf-8\")\n if (!bashrcContent.includes(sourceRcString)) {\n await appendFile(targetRcPath, sourceRcString)\n info(`${sourceRcString} was added to ${targetRcPath}`)\n }\n }\n}\n\nexport async function finalizeRC(rcOptions: RcOptions) {\n if (await pathExists(rcOptions.rcPath)) {\n const entries = (await readFile(rcOptions.rcPath, \"utf-8\")).split(\"\\n\")\n\n const uniqueEntries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n await writeFile(rcOptions.rcPath, uniqueEntries.join(\"\\n\"))\n\n await grantUserWriteAccess(rcOptions.rcPath)\n }\n}\n","export * from \"./root.mjs\"\nexport * from \"./admin.mjs\"\nexport * from \"./user-access.mjs\"\n",null,"import which from \"which\"\nimport {\n execa,\n execaCommand,\n execaCommandSync,\n execaSync,\n SyncOptions as ExecaSyncOptions,\n ExecaSyncReturnValue,\n Options as ExecaOptions,\n ExecaChildProcess,\n} from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: ExecaSyncOptions = { stdio: \"inherit\", shell: true }\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: ExecaSyncOptions = defaultExecOptions,\n): ExecaSyncReturnValue {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommandSync(command, execOptions)\n } else {\n return execaSync(program, quote(args), execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: ExecaOptions = defaultExecOptions,\n): ExecaChildProcess {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommand(command, execOptions)\n } else {\n return execa(program, quote(args), execOptions)\n }\n}\n\nfunction getSudoCommand(program: string, args: string[]) {\n return `sudo ${quote([program, ...args]).join(\" \")}`\n}\n\nfunction quote(strings: string[]) {\n return strings.map((str) => `'${str}'`)\n}\n",null,"import { default as isAdminWindowsOrig } from \"./is-admin.mjs\"\nimport { isRoot } from \"./root.mjs\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: updated execa\n\nimport { execa } from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root.mjs\"\nimport fs from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = fs.statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","\"use strict\";\n\nvar normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , resolveLength = require(\"./lib/resolve-length\")\n , plain = require(\"./plain\");\n\nmodule.exports = function (fn/*, options*/) {\n\tvar options = normalizeOpts(arguments[1]), length;\n\n\tif (!options.normalizer) {\n\t\tlength = options.length = resolveLength(options.length, fn.length, options.async);\n\t\tif (length !== 0) {\n\t\t\tif (options.primitive) {\n\t\t\t\tif (length === false) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/primitive\");\n\t\t\t\t} else if (length > 1) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/get-primitive-fixed\")(length);\n\t\t\t\t}\n\t\t\t} else if (length === false) options.normalizer = require(\"./normalizers/get\")();\n\t\t\telse if (length === 1) options.normalizer = require(\"./normalizers/get-1\")();\n\t\t\telse options.normalizer = require(\"./normalizers/get-fixed\")(length);\n\t\t}\n\t}\n\n\t// Assure extensions\n\tif (options.async) require(\"./ext/async\");\n\tif (options.promise) require(\"./ext/promise\");\n\tif (options.dispose) require(\"./ext/dispose\");\n\tif (options.maxAge) require(\"./ext/max-age\");\n\tif (options.max) require(\"./ext/max\");\n\tif (options.refCounter) require(\"./ext/ref-counter\");\n\n\treturn plain(fn, options);\n};\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\");\n\nmodule.exports = function (optsLength, fnLength, isAsync) {\n\tvar length;\n\tif (isNaN(optsLength)) {\n\t\tlength = fnLength;\n\t\tif (!(length >= 0)) return 1;\n\t\tif (isAsync && length) return length - 1;\n\t\treturn length;\n\t}\n\tif (optsLength === false) return false;\n\treturn toPosInt(optsLength);\n};\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"./lib/registered-extensions\")\n , configure = require(\"./lib/configure-map\")\n , resolveLength = require(\"./lib/resolve-length\");\n\nmodule.exports = function self(fn/*, options */) {\n\tvar options, length, conf;\n\n\tcallable(fn);\n\toptions = Object(arguments[1]);\n\n\tif (options.async && options.promise) {\n\t\tthrow new Error(\"Options 'async' and 'promise' cannot be used together\");\n\t}\n\n\t// Do not memoize already memoized function\n\tif (hasOwnProperty.call(fn, \"__memoized__\") && !options.force) return fn;\n\n\t// Resolve length;\n\tlength = resolveLength(options.length, fn.length, options.async && extensions.async);\n\n\t// Configure cache map\n\tconf = configure(fn, length, options);\n\n\t// Bind eventual extensions\n\tforEach(extensions, function (extFn, name) {\n\t\tif (options[name]) extFn(options[name], conf, options);\n\t});\n\n\tif (self.__profiler__) self.__profiler__(conf);\n\n\tconf.updateEnv();\n\treturn conf.memoized;\n};\n","/* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n\"use strict\";\n\nvar customError = require(\"es5-ext/error/custom\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , d = require(\"d\")\n , ee = require(\"event-emitter\").methods\n , resolveResolve = require(\"./resolve-resolve\")\n , resolveNormalize = require(\"./resolve-normalize\");\n\nvar apply = Function.prototype.apply\n , call = Function.prototype.call\n , create = Object.create\n , defineProperties = Object.defineProperties\n , on = ee.on\n , emit = ee.emit;\n\nmodule.exports = function (original, length, options) {\n\tvar cache = create(null)\n\t , conf\n\t , memLength\n\t , get\n\t , set\n\t , del\n\t , clear\n\t , extDel\n\t , extGet\n\t , extHas\n\t , normalizer\n\t , getListeners\n\t , setListeners\n\t , deleteListeners\n\t , memoized\n\t , resolve;\n\tif (length !== false) memLength = length;\n\telse if (isNaN(original.length)) memLength = 1;\n\telse memLength = original.length;\n\n\tif (options.normalizer) {\n\t\tnormalizer = resolveNormalize(options.normalizer);\n\t\tget = normalizer.get;\n\t\tset = normalizer.set;\n\t\tdel = normalizer.delete;\n\t\tclear = normalizer.clear;\n\t}\n\tif (options.resolvers != null) resolve = resolveResolve(options.resolvers);\n\n\tif (get) {\n\t\tmemoized = defineLength(function (arg) {\n\t\t\tvar id, result, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id !== null) {\n\t\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\t\treturn cache[id];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (id === null) {\n\t\t\t\tid = get(args);\n\t\t\t\tif (id !== null) throw customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t\tid = set(args);\n\t\t\t} else if (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\tmemoized = function () {\n\t\t\tvar result;\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", \"data\", arguments, this);\n\t\t\t\treturn cache.data;\n\t\t\t}\n\t\t\tif (arguments.length) result = apply.call(original, this, arguments);\n\t\t\telse result = call.call(original, this);\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache.data = result;\n\t\t\tif (setListeners) conf.emit(\"set\", \"data\", null, result);\n\t\t\treturn result;\n\t\t};\n\t} else {\n\t\tmemoized = function (arg) {\n\t\t\tvar result, args = arguments, id;\n\t\t\tif (resolve) args = resolve(arguments);\n\t\t\tid = String(args[0]);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\treturn cache[id];\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t};\n\t}\n\tconf = {\n\t\toriginal: original,\n\t\tmemoized: memoized,\n\t\tprofileName: options.profileName,\n\t\tget: function (args) {\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tif (get) return get(args);\n\t\t\treturn String(args[0]);\n\t\t},\n\t\thas: function (id) { return hasOwnProperty.call(cache, id); },\n\t\tdelete: function (id) {\n\t\t\tvar result;\n\t\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\t\tif (del) del(id);\n\t\t\tresult = cache[id];\n\t\t\tdelete cache[id];\n\t\t\tif (deleteListeners) conf.emit(\"delete\", id, result);\n\t\t},\n\t\tclear: function () {\n\t\t\tvar oldCache = cache;\n\t\t\tif (clear) clear();\n\t\t\tcache = create(null);\n\t\t\tconf.emit(\"clear\", oldCache);\n\t\t},\n\t\ton: function (type, listener) {\n\t\t\tif (type === \"get\") getListeners = true;\n\t\t\telse if (type === \"set\") setListeners = true;\n\t\t\telse if (type === \"delete\") deleteListeners = true;\n\t\t\treturn on.call(this, type, listener);\n\t\t},\n\t\temit: emit,\n\t\tupdateEnv: function () { original = conf.original; },\n\t};\n\tif (get) {\n\t\textDel = defineLength(function (arg) {\n\t\t\tvar id, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id === null) return;\n\t\t\tconf.delete(id);\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\textDel = function () { return conf.delete(\"data\"); };\n\t} else {\n\t\textDel = function (arg) {\n\t\t\tif (resolve) arg = resolve(arguments)[0];\n\t\t\treturn conf.delete(arg);\n\t\t};\n\t}\n\textGet = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return cache.data;\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\treturn cache[id];\n\t});\n\textHas = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return conf.has(\"data\");\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\tif (id === null) return false;\n\t\treturn conf.has(id);\n\t});\n\tdefineProperties(memoized, {\n\t\t__memoized__: d(true),\n\t\tdelete: d(extDel),\n\t\tclear: d(conf.clear),\n\t\t_get: d(extGet),\n\t\t_has: d(extHas),\n\t});\n\treturn conf;\n};\n","\"use strict\";\n\nvar assign = require(\"../object/assign\")\n , isObject = require(\"../object/is-object\")\n , isValue = require(\"../object/is-value\")\n , captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (message /*, code, ext*/) {\n\tvar err = new Error(message), code = arguments[1], ext = arguments[2];\n\tif (!isValue(ext)) {\n\t\tif (isObject(code)) {\n\t\t\text = code;\n\t\t\tcode = null;\n\t\t}\n\t}\n\tif (isValue(ext)) assign(err, ext);\n\tif (isValue(code)) err.code = code;\n\tif (captureStackTrace) captureStackTrace(err, module.exports);\n\treturn err;\n};\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar map = { function: true, object: true };\n\nmodule.exports = function (value) { return (isValue(value) && map[typeof value]) || false; };\n","\"use strict\";\n\nvar toArray = require(\"es5-ext/array/to-array\")\n , isValue = require(\"es5-ext/object/is-value\")\n , callable = require(\"es5-ext/object/valid-callable\");\n\nvar slice = Array.prototype.slice, resolveArgs;\n\nresolveArgs = function (args) {\n\treturn this.map(function (resolve, i) { return resolve ? resolve(args[i]) : args[i]; }).concat(\n\t\tslice.call(args, this.length)\n\t);\n};\n\nmodule.exports = function (resolvers) {\n\tresolvers = toArray(resolvers);\n\tresolvers.forEach(function (resolve) { if (isValue(resolve)) callable(resolve); });\n\treturn resolveArgs.bind(resolvers);\n};\n","\"use strict\";\n\nvar from = require(\"./from\")\n , isArray = Array.isArray;\n\nmodule.exports = function (arrayLike) { return isArray(arrayLike) ? arrayLike : from(arrayLike); };\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\");\n\nmodule.exports = function (userNormalizer) {\n\tvar normalizer;\n\tif (typeof userNormalizer === \"function\") return { set: userNormalizer, get: userNormalizer };\n\tnormalizer = { get: callable(userNormalizer.get) };\n\tif (userNormalizer.set !== undefined) {\n\t\tnormalizer.set = callable(userNormalizer.set);\n\t\tif (userNormalizer.delete) normalizer.delete = callable(userNormalizer.delete);\n\t\tif (userNormalizer.clear) normalizer.clear = callable(userNormalizer.clear);\n\t\treturn normalizer;\n\t}\n\tnormalizer.set = normalizer.get;\n\treturn normalizer;\n};\n","import { homedir } from \"os\"\nimport { join } from \"path\"\nimport { isSudo } from \"admina\"\n\nexport function userHomeDir() {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER)\n } else {\n return join(\"/home/\", process.env.SUDO_USER)\n }\n } else {\n const maybeHomeDir = homedir()\n if (maybeHomeDir === \"\") {\n return undefined\n }\n return maybeHomeDir\n }\n}\n\nconst tildeRegex = /^~(?=$|\\/|\\\\)/\n\n/**\n * Replaces a tilde with the user's home directory\n *\n * @example UntildifyUser(\"~/foo\") // /home/user/foo\n *\n * @param path The path to untildify\n * @returns The untildified path\n */\nexport function untildifyUser(path: string) {\n const maybeHomeDir = userHomeDir()\n if (maybeHomeDir === undefined) {\n return path\n }\n\n return path.replace(tildeRegex, maybeHomeDir)\n}\n","import escapeSpace from \"escape-path-with-spaces\"\nimport escapeQuote from \"escape-quotes\"\n\n/**\n * Escape a string for use in a shell command\n * @param valGiven The string to escape\n * @param shouldEscapeSpace Whether to escape spaces in the string\n *\n * @private\n */\nexport function escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, \"\\\"\", \"\\\\\")\n}\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","import { promises } from \"fs\"\nimport { delimiter } from \"path\"\nimport { addPath as ghAddPath } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\"\nconst { appendFile } = promises\n\n/**\n * The options for adding a PATH variable\n */\nexport type AddPathOptions = {\n /**\n * The path to the RC file that the PATH variables should be added to.\n */\n rcPath: string\n /** Provide a name (your tool) to add a variable guard for sourcing your rc file */\n guard?: string\n}\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\n\nexport async function addPath(path: string, givenOptions: Partial = {}) {\n const options = { rcPath: defaultRcPath, ...givenOptions }\n\n if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (GITHUB_ACTIONS) {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path, options)\n }\n } else {\n await addPathSystem(path, options)\n }\n } catch (err) {\n error(`${err}\\nFailed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nasync function addPathSystem(path: string, options: AddPathOptions) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options)\n await appendFile(options.rcPath, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${options.rcPath}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\n}\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.39.0\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { untildifyUser } from \"untildify-user\"\nimport { type Inputs, inputs } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function printHelp() {\n info(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: \"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat\" },\n \"build system\": { tools: \"--cmake, --ninja, --meson, --make, --task, --bazel\" },\n \"package manager\": { tools: \"--vcpkg, --conan, --choco, --brew, --nala\" },\n cache: { tools: \"--ccache, --sccache\" },\n documentation: { tools: \"--doxygen, --graphviz\" },\n coverage: { tools: \"--gcovr, --opencppcoverage, --kcov\" },\n other: { tools: \"--python, --powershell, --sevenzip\" },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n\nexport const rcOptions = {\n rcPath: untildifyUser(\"~/.cpprc\"),\n guard: \"cpp\",\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { setupBrew } from \"setup-brew\"\nimport { setupBazel } from \"./bazel/bazel.js\"\nimport { setupCcache } from \"./ccache/ccache.js\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey.js\"\nimport { setupCmake } from \"./cmake/cmake.js\"\nimport { setupConan } from \"./conan/conan.js\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck.js\"\nimport { setupDoxygen } from \"./doxygen/doxygen.js\"\nimport { setupGcc } from \"./gcc/gcc.js\"\nimport { setupGcovr } from \"./gcovr/gcovr.js\"\nimport { setupGraphviz } from \"./graphviz/graphviz.js\"\nimport { setupKcov } from \"./kcov/kcov.js\"\nimport { setupClangFormat, setupClangTools, setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMake } from \"./make/make.js\"\nimport { setupMeson } from \"./meson/meson.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { setupNala } from \"./nala/nala.js\"\nimport { setupNinja } from \"./ninja/ninja.js\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage.js\"\nimport { setupPowershell } from \"./powershell/powershell.js\"\nimport { setupPython } from \"./python/python.js\"\nimport { setupSccache } from \"./sccache/sccache.js\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip.js\"\nimport { setupTask } from \"./task/task.js\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\n\n/** The setup functions */\nexport const setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** An array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\n","export * from \"./install-pack.js\"\nexport * from \"./install.js\"\n","import { join } from \"path\"\nimport { info } from \"ci-log\"\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\n/* eslint-disable require-atomic-updates */\nlet hasBrew = false\n\nexport type BrewPackOptions = {\n /** Whether to overwrite the package if it already exists */\n overwrite?: boolean\n /** Whether to install the package as a cask */\n cask?: boolean\n /** Extra args */\n args?: string[]\n}\n\n/** A function that installs a package using brew\n *\n * @param name The name of the package\n * @param version The version of the package (optional)\n * @param options The options for installing the package\n *\n * @returns The installation information\n */\nexport async function installBrewPack(\n name: string,\n version?: string,\n givenOptions: BrewPackOptions = {},\n): Promise {\n const options = {\n overwrite: true,\n cask: false,\n args: [],\n ...givenOptions,\n }\n\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew()\n hasBrew = true\n }\n\n const binDir = getBrewBinDir()\n const brewPath = join(binDir, \"brew\")\n\n // Args\n const args = [\n \"install\",\n (version !== undefined && version !== \"\") ? `${name}@${version}` : name,\n ]\n if (options.overwrite) {\n args.push(\"--overwrite\")\n }\n if (options.cask) {\n args.push(\"--cask\")\n }\n\n // brew is not thread-safe\n execaSync(brewPath, args, { stdio: \"inherit\" })\n\n return { binDir }\n}\n","import { tmpdir } from \"os\"\nimport { dirname } from \"path\"\nimport { type AddPathOptions, addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\nexport type SetupBrewOptions = {\n /** Options for adding the brew path to the rc file */\n rcOptions?: AddPathOptions\n /** (Unsupported option) The version of brew to install */\n version?: never\n /** (Unsupported option) The directory where brew should be installed */\n setupDir?: never\n /** (Unsupported option) The architecture of the system */\n arch?: never\n}\n\nexport async function setupBrew(options: SetupBrewOptions = {}): Promise {\n // brew is only available on darwin and linux\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n\n // check if the function has already been called\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n // check if brew is already installed\n const maybeBinDir = await which(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }])\n const dl = new DownloaderHelper(\"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\", tmpdir(), {\n fileName: \"install-brew.sh\",\n })\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the brew installer script: ${err}`)\n })\n await dl.start()\n\n // brew installation is not thread-safe\n execaSync(\"/bin/bash\", [dl.getDownloadPath()], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n // add the bin directory to the PATH\n binDir = getBrewBinDir()\n await addPath(binDir, options.rcOptions)\n\n return { binDir }\n}\n\n/**\n * Get the path where brew is installed\n * @returns {string} The path where brew is installed\n *\n * Based on the installation script from https://brew.sh\n */\nexport function getBrewBinDir() {\n if (process.platform === \"darwin\") {\n if (process.arch === \"arm64\") {\n return \"/opt/homebrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\n }\n\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n }\n\n throw new Error(\"Unsupported platform for brew\")\n}\n","'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.DownloaderHelper=exports.DH_STATES=void 0;var _typeof='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&'function'==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?'symbol':typeof a},_createClass=function(){function a(a,b){for(var c,d=0;dthis.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=b||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url)}},{key:'getOptions',value:function a(){return this.__opts}},{key:'getMetadata',value:function a(){return this.__opts.metadata}},{key:'getStats',value:function a(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes}}},{key:'getTotalSize',value:function b(){var a=this;return new Promise(function(b,c){var d=function(b){a.__initProtocol(b);var c=Object.assign({},a.__headers);c.hasOwnProperty('range')&&delete c.range;var d=a.__getReqOptions('HEAD',b,c);return Object.assign({},a.__reqOptions,d)},e=function(f,g){var h=a.__protocol.request(g,function(g){if(a.__isRequireRedirect(g)){var h=/^https?:\\/\\//.test(g.headers.location)?g.headers.location:new _url.URL(g.headers.location,f).href;return a.emit('redirected',h,f),e(h,d(h))}return 200===g.statusCode?void b({name:a.__getFileNameFromHeaders(g.headers,g),total:parseInt(g.headers['content-length'])||null}):c(new Error('Response status was '+g.statusCode))});h.on('error',function(a){return c(a)}),h.on('timeout',function(){return c(new Error('timeout'))}),h.on('uncaughtException',function(a){return c(a)}),h.end()};e(a.url,d(a.url))})}},{key:'getResumeState',value:function a(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total}}},{key:'resumeFromFile',value:function d(a){var b=this,c=1=g))return this.emit('skip',{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:f}),this.__setState(this.__states.SKIPPED),b(!0)}this.__fileStream=fs.createWriteStream(this.__filePath,{})}else this.__fileStream=fs.createWriteStream(this.__filePath,{flags:'a'});this.emit('download',{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date,this.__statsEstimate.throttleTime=new Date,e.on('data',function(a){return d.__calculateStats(a.length)}),this.__pipes.forEach(function(a){e.pipe(a.stream,a.options),e=a.stream}),e.pipe(this.__fileStream),e.on('error',this.__onError(b,c)),this.__fileStream.on('finish',this.__onFinished(b,c)),this.__fileStream.on('error',this.__onError(b,c))}},{key:'__hasFinished',value:function a(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state)}},{key:'__isRequireRedirect',value:function b(a){return 300a.statusCode&&a.headers.hasOwnProperty('location')&&a.headers.location}},{key:'__onFinished',value:function d(a,b){var c=this;return function(){c.__fileStream.close(function(d){if(d)return b(d);if(c.__hasFinished()){var e=!!c.__total&&c.__downloaded!==c.__total;if(e&&c.__isResumable&&c.__opts.resumeOnIncomplete&&c.__resumeRetryCount<=c.__opts.resumeOnIncompleteMaxRetry)return c.__resumeRetryCount++,c.emit('warning',new Error('uncomplete download, retrying')),c.resume();c.__setState(c.__states.FINISHED),c.__pipes=[],c.emit('end',{fileName:c.__fileName,filePath:c.__filePath,totalSize:c.__total,incomplete:e,onDiskSize:c.__getFilesizeInBytes(c.__filePath),downloadedSize:c.__downloaded})}return a(c.__downloaded===c.__total)})}}},{key:'__closeFileStream',value:function b(){var a=this;return this.__fileStream?new Promise(function(b,c){a.__fileStream.close(function(a){return a?c(a):b(!0)})}):Promise.resolve(!0)}},{key:'__onError',value:function e(a,b){var c=this,d=!!(2=g?Promise.reject(b||new Error('reached the maximum retries')):(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit('retry',this.__retryCount,this.__opts.retry,b),this.__response&&(this.__response.unpipe(),this.__pipes.forEach(function(a){return a.stream.unpipe()})),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then(function(){return new Promise(function(b){return a.__retryTimeout=setTimeout(function(){return b(0this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=b,this.emit('progress.throttled',this.getStats())),this.emit('progress',this.getStats()))}},{key:'__setState',value:function b(a){this.state=a,this.emit('stateChanged',this.state)}},{key:'__getReqOptions',value:function f(a,b){var c=2 {\n throw new Error(`Failed to download ${keyUrl}: ${err}`)\n })\n await dl.start()\n\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--import\",\n dlPath,\n ])\n execRootSync(\"chmod\", [\"644\", filePath])\n }\n return filePath\n } catch (err) {\n warning(`Failed to add apt key via download ${keyUrl}: ${err}`)\n return undefined\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nfunction assertGpgFileName(fileName: string) {\n if (!fileName.endsWith(\".gpg\")) {\n throw new Error(`Key file name must end with .gpg: ${fileName}`)\n }\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport type { ExecaError } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { type AddAptKeyOptions, addAptKey } from \"./apt-key.js\"\nimport { addAptRepository } from \"./apt-repository.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\nimport { initAptMemoized } from \"./init-apt.js\"\nimport { filterAndQualifyAptPackages } from \"./qualify-install.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\n/**\n * The information about an installation result\n */\nexport type InstallationInfo = {\n /** The install dir of the package (Defaults to `undefined`) */\n installDir?: string\n /** The bin dir of the package (Defaults to `/usr/bin`) */\n binDir: string\n /** The bin path of the package (Defaults to `undefined`) */\n bin?: string\n}\n\n/**\n * The information about an apt package\n */\nexport type AptPackage = {\n /** The name of the package */\n name: string\n /** The version of the package (optional) */\n version?: string\n /** The repository to add before installing the package (optional) */\n repository?: string\n /** The key to add before installing the package (optional) */\n key?: AddAptKeyOptions\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/**\n * Install a package using apt\n *\n * @param packages The packages to install (name, and optional info like version and repositories)\n * @param update Whether to update the package list before installing (Defaults to `false`)\n *\n * @returns The installation information\n *\n * @example\n * ```ts\n * await installAptPack([{ name: \"ca-certificates\" }, { name: \"gnupg\" }])\n * ```\n *\n * @example\n * ```ts\n await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n * ```\n */\nexport async function installAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\n\n // Update the repos if needed\n if (update) {\n updateAptReposMemoized(apt)\n }\n\n // Add the repos if needed\n await addRepositories(apt, packages)\n\n const needToInstall = await filterAndQualifyAptPackages(packages, apt)\n\n if (needToInstall.length === 0) {\n info(\"All packages are already installed\")\n return { binDir: \"/usr/bin/\" }\n }\n\n // Initialize apt if needed\n await initAptMemoized(apt)\n\n try {\n // Add the keys if needed\n await addAptKeys(packages)\n\n // Install\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...needToInstall], {\n ...defaultExecOptions,\n env: getAptEnv(apt),\n })\n } catch (err) {\n if (isExecaError(err)) {\n if (retryErrors.some((error) => err.stderr.includes(error))) {\n warning(`Failed to install packages ${needToInstall}. Retrying...`)\n execRootSync(\n apt,\n [\"install\", \"--fix-broken\", \"-y\", \"-o\", aptTimeout, ...needToInstall],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function addRepositories(apt: string, packages: AptPackage[]) {\n const allRepositories = [...new Set(packages.flatMap((pack) => pack.repository ?? []))]\n await Promise.all(allRepositories.map((repo) => addAptRepository(repo, apt)))\n}\n\nasync function addAptKeys(packages: AptPackage[]) {\n await Promise.all(packages.map(async (pack) => {\n if (pack.key !== undefined) {\n await addAptKey(pack.key)\n }\n }))\n}\n\nfunction isExecaError(err: unknown): err is ExecaError {\n return typeof (err as ExecaError).stderr === \"string\"\n}\n","/**\n * Get the environment variables to use for the apt command\n * @param apt The apt command to use\n * @private Used internally\n */\n\nexport function getAptEnv(apt: string) {\n const env: NodeJS.ProcessEnv = { ...process.env, DEBIAN_FRONTEND: \"noninteractive\" }\n\n if (apt === \"nala\") {\n // if LANG/LC_ALL is not set, enable utf8 otherwise nala fails because of ASCII encoding\n if (env.LANG === undefined) {\n env.LANG = \"C.UTF-8\"\n }\n if (env.LC_ALL === undefined) {\n env.LC_ALL = \"C.UTF-8\"\n }\n }\n\n return env\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\nimport { initAptMemoized } from \"./init-apt.js\"\nimport { isAptPackInstalled } from \"./is-installed.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\nexport async function addAptRepository(repo: string, apt = getApt()) {\n await initAptMemoized(apt)\n await installAddAptRepo(apt)\n execRootSync(\"add-apt-repository\", [\"-y\", \"--no-update\", repo], { ...defaultExecOptions, env: getAptEnv(apt) })\n\n // Update the repos\n updateAptReposMemoized.clear() // ensure update is called\n updateAptReposMemoized(apt)\n}\n\nexport async function installAddAptRepo(apt: string) {\n if (await isAptPackInstalled(\"software-properties-common\")) {\n return\n }\n execRootSync(\n apt,\n [\"install\", \"-y\", \"--fix-broken\", \"-o\", aptTimeout, \"software-properties-common\"],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n}\n","/**\n * The timeout to use for apt commands\n * Wait up to 300 seconds if the apt-get lock is held\n * @private Used internally\n */\n\nexport const aptTimeout = \"Dpkg::Lock::Timeout=300\"\n","import which from \"which\"\n\n/**\n * Check if nala is installed\n */\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\n/**\n * Get the apt command to use\n * If nala is installed, use that, otherwise use apt-get\n */\nexport function getApt() {\n let apt: string\n if (hasNala()) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport memoize from \"memoizee\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { filterAndQualifyAptPackages } from \"./qualify-install.js\"\nimport { updateAptReposMemoized } from \"./update.js\"\n\n/** Install gnupg and certificates (usually missing from docker containers) */\nexport async function initApt(apt: string) {\n // Update the repos\n updateAptReposMemoized(apt)\n\n const toInstall = await filterAndQualifyAptPackages([\n { name: \"ca-certificates\" },\n { name: \"gnupg\" },\n { name: \"apt-utils\" },\n ], apt)\n\n if (toInstall.length !== 0) {\n execRootSync(apt, [\"install\", \"-y\", \"--fix-broken\", \"-o\", aptTimeout, ...toInstall], {\n ...defaultExecOptions,\n env: getAptEnv(apt),\n })\n }\n}\n\n/** Install gnupg and certificates (usually missing from docker containers) (memoized) */\nexport const initAptMemoized = memoize(initApt, { promise: true })\n","import { warning } from \"ci-log\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { execa } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { getApt } from \"./get-apt.js\"\nimport type { AptPackage } from \"./install.js\"\nimport { isAptPackInstalled } from \"./is-installed.js\"\nimport { updateAptReposMemoized, updatedRepos } from \"./update.js\"\n\n/**\n * The type of apt package to install\n */\nexport enum AptPackageType {\n NameDashVersion = 0,\n NameEqualsVersion = 1,\n Name = 2,\n None = 3,\n}\n\n/**\n * Filter out the packages that are already installed and qualify the packages into a full package name/version\n */\nexport async function filterAndQualifyAptPackages(packages: AptPackage[], apt: string = getApt()) {\n return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(pack, apt))))\n .filter((pack) => pack !== undefined)\n}\n\n/**\n * Qualify the package into full package name/version.\n * If the package is not installed, return the full package name/version.\n * If the package is already installed, return undefined\n */\nexport async function qualifiedNeededAptPackage(pack: AptPackage, apt: string = getApt()) {\n // Qualify the package into full package name/version\n const qualified = await getAptArg(apt, pack.name, pack.version)\n // filter out the package that are already installed\n return (await isAptPackInstalled(qualified)) ? undefined : qualified\n}\n\nasync function aptPackageType(apt: string, name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ], { env: getAptEnv(apt), stdio: \"pipe\" })\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`], { env: getAptEnv(apt) })\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name], { env: getAptEnv(apt), stdio: \"pipe\" })\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n // If apt-cache fails, update the repos and try again\n if (!updatedRepos) {\n updateAptReposMemoized(apt)\n return aptPackageType(apt, name, version)\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(apt: string, name: string, version: string | undefined) {\n const package_type = await aptPackageType(apt, name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n if (version !== undefined && version !== \"\") {\n warning(`Could not find package ${name} with version ${version}. Installing the latest version.`)\n }\n return name\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n","import { execa } from \"execa\"\nimport { getAptEnv } from \"./apt-env.js\"\n\n/**\n * Check if a package is installed\n * @param pack The package to check\n * @returns `true` if the package is installed, `false` otherwise\n */\nexport async function isAptPackInstalled(pack: string) {\n try {\n // check if a package is installed\n const { stdout } = await execa(\"dpkg\", [\"-s\", pack], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" })\n if (typeof stdout !== \"string\") {\n return false\n }\n const lines = stdout.split(\"\\n\")\n // check if the output contains a line that starts with \"Status: install ok installed\"\n return lines.some((line) => line.startsWith(\"Status: install ok installed\"))\n } catch {\n return false\n }\n}\n\n/**\n * Check if a package matching a regexp is installed\n * @param regexp The regexp to check\n * @returns `true` if a package is installed, `false` otherwise\n */\nexport async function isAptPackRegexInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" })\n if (typeof stdout !== \"string\") {\n return false\n }\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { defaultExecOptions, execRootSync } from \"admina\"\nimport memoize from \"memoizee\"\nimport { getAptEnv } from \"./apt-env.js\"\nimport { aptTimeout } from \"./apt-timeout.js\"\nimport { getApt } from \"./get-apt.js\"\n\nexport let updatedRepos = false // eslint-disable-line import/no-mutable-exports\n\n/**\n * Update the apt repositories\n * @param apt The apt command to use (optional)\n */\nexport function updateAptRepos(apt: string = getApt()) {\n execRootSync(\n apt,\n apt !== \"nala\" ? [\"update\", \"-y\", \"-o\", aptTimeout] : [\"update\", \"-o\", aptTimeout],\n { ...defaultExecOptions, env: getAptEnv(apt) },\n )\n\n updatedRepos = true\n}\n\n/**\n * Update the apt repositories (memoized)\n * @param apt The apt command to use (optional)\n */\nexport const updateAptReposMemoized = memoize(updateAptRepos)\n","import { execRootSync } from \"admina\"\nimport { addAptKeyViaURL, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return installBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaURL({\n fileName: \"bazel-archive-keyring.gpg\",\n keyUrl: \"https://bazel.build/bazel-release.pub.gpg\",\n })\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return installAptPack([{ name: \"bazel\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey.js\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n env.TMP = undefined\n env.TEMP = undefined\n env.Path = undefined\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n info(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n","import { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execaSync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" },\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath, rcOptions)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\n}\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\n}\n","import { addExeExt } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverLte from \"semver/functions/lte\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { tmpdir } from \"os\"\nimport { basename } from \"path\"\nimport { cacheDir, downloadTool, find } from \"@actions/tool-cache\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { chmod } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport retry from \"retry-as-promised\"\nimport { maybeGetInput, rcOptions } from \"../../cli-options.js\"\nimport { getArchiveType, getExtractFunction } from \"./extract.js\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: (file: string, dest: string) => Promise\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n bin?: string\n}\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string,\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch,\n )\n\n // Restore from cache (if found).\n if (GITHUB_ACTIONS) {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (await pathExists(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir, rcOptions)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n await downloadExtractInstall(binDir, binFile, name, version, url, setupDir, extractFunction, arch)\n\n await cacheInstallation(setupDir, name, version)\n\n return { installDir, binDir }\n}\n\nasync function downloadExtractInstall(\n binDir: string,\n binFile: string,\n name: string,\n version: string,\n url: string,\n setupDir: string,\n givenExtractFunction: PackageInfo[\"extractFunction\"],\n arch: string,\n) {\n // download ane extract the package into the installation directory.\n if ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n const downloaded = await tryDownload(name, version, url)\n\n info(`Extracting ${downloaded} to ${setupDir}`)\n\n const extractFunction = givenExtractFunction ?? getExtractFunction(getArchiveType(url))\n await extractFunction(downloaded, setupDir)\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir, rcOptions)\n\n // Check if the binary exists after extraction\n if (!(await pathExists(binFile))) {\n throw new Error(`Failed to find the binary ${binFile} after extracting ${name} ${version} ${arch}`)\n }\n\n // make the binary executable on non-windows platforms\n if (process.platform !== \"win32\") {\n try {\n await chmod(binFile, \"755\")\n } catch (err) {\n warning(`Failed to make ${binFile} executable: ${err}`)\n }\n }\n}\n\nasync function tryDownload(name: string, version: string, url: string) {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n const downloadedFilePath = join(process.env.RUNNER_TEMP ?? tmpdir(), `${Date.now()}-${basename(url)}`)\n\n return downloadTool(url, downloadedFilePath)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n return downloaded\n}\n\nasync function cacheInstallation(setupDir: string, name: string, version: string) {\n // check if inside Github Actions. If so, cache the installation\n if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n if (maybeGetInput(\"cache-tools\") === \"true\" || process.env.CACHE_TOOLS === \"true\") {\n await cacheDir(setupDir, name, version)\n }\n }\n}\n",null,null,null,null,"'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { mkdirP } from \"@actions/io\"\nimport { grantUserWriteAccess } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nexport enum ArchiveType {\n Tar = 0,\n TarGz = 1,\n TarXz = 2,\n Zip = 3,\n SevenZip = 4,\n}\n\nexport function getArchiveType(file: string): ArchiveType {\n const ext = file.split(\".\").pop()\n\n if (ext === \"tar\") {\n return ArchiveType.Tar\n }\n\n if (ext === \"gz\" || ext === \"tgz\") {\n return ArchiveType.TarGz\n }\n\n if (ext === \"xz\" || ext === \"txz\") {\n return ArchiveType.TarXz\n }\n\n if (ext === \"zip\") {\n return ArchiveType.Zip\n }\n\n if (ext === \"7z\" || ext === \"exe\") {\n return ArchiveType.SevenZip\n }\n\n // default to 7z\n warning(`Unknown archive type: ${ext}. Defaulting to 7z`)\n return ArchiveType.SevenZip\n}\n\nexport function getExtractFunction(archiveType: ArchiveType) {\n switch (archiveType) {\n case ArchiveType.Tar:\n case ArchiveType.TarGz:\n return extractTarByExe\n case ArchiveType.TarXz:\n return extractTarByExe\n case ArchiveType.Zip:\n return extractZip\n default:\n return extract7Zip\n }\n}\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using unzip or 7z\nexport async function extractZip(file: string, dest: string) {\n // if unzip is available use it\n if (which.sync(\"unzip\", { nothrow: true }) !== null) {\n await execa(\"unzip\", [file, \"-d\", dest], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n }\n\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, stripComponents: number = 0, flags: string[] = []) {\n await installTarDependencies(getArchiveType(file))\n\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, `--strip-components=${stripComponents}`, ...flags], {\n stdio: \"inherit\",\n })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n await grantUserWriteAccess(dest)\n return dest\n}\n\nasync function installTarDependencies(archiveType: ArchiveType) {\n info(\"Installing tar extraction dependencies\")\n\n switch (archiveType) {\n case ArchiveType.TarGz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"gzip\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"gzip\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"gzip\" }, { name: \"tar\" }])\n }\n }\n break\n }\n case ArchiveType.TarXz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"xz\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"xz\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"xz-utils\" }, { name: \"tar\" }])\n }\n }\n break\n }\n default:\n throw new Error(`Unsupported archive type: ${archiveType} for tar extraction`)\n }\n}\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"p7zip-full\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { addPath } from \"envosman\"\nimport { execa, execaSync } from \"execa\"\nimport memoize from \"memoizee\"\nimport { mkdirp } from \"mkdirp\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python.js\"\nimport { getVersion } from \"../../versions/versions.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../env/ubuntu_version.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n const env = process.env\n\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await getPipxHome()\n env.PIPX_BIN_DIR = await getPipxBinDir()\n }\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n env,\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME\n if (pipxHome !== undefined) {\n return pipxHome\n }\n\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = untildifyUser(\"~/.local/pipx\")\n if (await pathExists(compatHome)) {\n return compatHome\n }\n\n switch (process.platform) {\n case \"win32\": {\n pipxHome = untildifyUser(\"~/AppData/Local/pipx\")\n break\n }\n case \"darwin\": {\n pipxHome = untildifyUser(\"~/Library/Application Support/pipx\")\n break\n }\n default: {\n pipxHome = untildifyUser(\"~/.local/share/pipx\")\n break\n }\n }\n\n await mkdirp(pipxHome)\n await mkdirp(join(pipxHome, \"trash\"))\n await mkdirp(join(pipxHome, \"shared\"))\n await mkdirp(join(pipxHome, \"venv\"))\n return pipxHome\n}\nconst getPipxHome = memoize(getPipxHome_raw, { promise: true })\n\nasync function getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) {\n return process.env.PIPX_BIN_DIR\n }\n\n const pipxBinDir = untildifyUser(\"~/.local/bin\")\n await addPath(pipxBinDir, rcOptions)\n await mkdirp(pipxBinDir)\n return pipxBinDir\n}\nconst getPipxBinDir = memoize(getPipxBinDir_raw, { promise: true })\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { promise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(addPythonPrefix ? `python-${name}` : name)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n }\n }\n return null\n}\n",null,"import { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\nimport { pathArg } from './path-arg.js'\nimport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore start */\nexport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nexport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js'\nexport { useNative, useNativeSync } from './use-native.js'\n/* c8 ignore stop */\n\nexport const mkdirpSync = (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNativeSync(resolved)\n ? mkdirpNativeSync(path, resolved)\n : mkdirpManualSync(path, resolved)\n}\n\nexport const sync = mkdirpSync\nexport const manual = mkdirpManual\nexport const manualSync = mkdirpManualSync\nexport const native = mkdirpNative\nexport const nativeSync = mkdirpNativeSync\nexport const mkdirp = Object.assign(\n async (path: string, opts?: MkdirpOptions) => {\n path = pathArg(path)\n const resolved = optsArg(opts)\n return useNative(resolved)\n ? mkdirpNative(path, resolved)\n : mkdirpManual(path, resolved)\n },\n {\n mkdirpSync,\n mkdirpNative,\n mkdirpNativeSync,\n mkdirpManual,\n mkdirpManualSync,\n\n sync: mkdirpSync,\n native: mkdirpNative,\n nativeSync: mkdirpNativeSync,\n manual: mkdirpManual,\n manualSync: mkdirpManualSync,\n useNative,\n useNativeSync,\n }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpManualSync = (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n): string | undefined | void => {\n const parent = dirname(path)\n const opts = { ...optsArg(options), recursive: false }\n\n if (parent === path) {\n try {\n return opts.mkdirSync(path, opts)\n } catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n return\n }\n }\n\n try {\n opts.mkdirSync(path, opts)\n return made || path\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts, mkdirpManualSync(parent, opts, made))\n }\n if (fer && fer.code !== 'EEXIST' && fer && fer.code !== 'EROFS') {\n throw er\n }\n try {\n if (!opts.statSync(path).isDirectory()) throw er\n } catch (_) {\n throw er\n }\n }\n}\n\nexport const mkdirpManual = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions,\n made?: string | undefined | void\n ): Promise => {\n const opts = optsArg(options)\n opts.recursive = false\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirAsync(path, opts).catch(er => {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code !== 'EISDIR') {\n throw er\n }\n })\n }\n\n return opts.mkdirAsync(path, opts).then(\n () => made || path,\n async er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(parent, opts).then(\n (made?: string | undefined | void) => mkdirpManual(path, opts, made)\n )\n }\n if (fer && fer.code !== 'EEXIST' && fer.code !== 'EROFS') {\n throw er\n }\n return opts.statAsync(path).then(\n st => {\n if (st.isDirectory()) {\n return made\n } else {\n throw er\n }\n },\n () => {\n throw er\n }\n )\n }\n )\n },\n { sync: mkdirpManualSync }\n)\n",null,"import {\n MakeDirectoryOptions,\n mkdir,\n mkdirSync,\n stat,\n Stats,\n statSync,\n} from 'fs'\n\nexport interface FsProvider {\n stat?: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync?: (path: string) => Stats\n mkdirSync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n}\n\ninterface Options extends FsProvider {\n mode?: number | string\n fs?: FsProvider\n mkdirAsync?: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise\n statAsync?: (path: string) => Promise\n}\n\nexport type MkdirpOptions = Options | number | string\n\nexport interface MkdirpOptionsResolved {\n mode: number\n fs: FsProvider\n mkdirAsync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => Promise\n statAsync: (path: string) => Promise\n stat: (\n path: string,\n callback: (err: NodeJS.ErrnoException | null, stats: Stats) => any\n ) => any\n mkdir: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean },\n callback: (err: NodeJS.ErrnoException | null, made?: string) => any\n ) => any\n statSync: (path: string) => Stats\n mkdirSync: (\n path: string,\n opts: MakeDirectoryOptions & { recursive?: boolean }\n ) => string | undefined\n recursive?: boolean\n}\n\nexport const optsArg = (opts?: MkdirpOptions): MkdirpOptionsResolved => {\n if (!opts) {\n opts = { mode: 0o777 }\n } else if (typeof opts === 'object') {\n opts = { mode: 0o777, ...opts }\n } else if (typeof opts === 'number') {\n opts = { mode: opts }\n } else if (typeof opts === 'string') {\n opts = { mode: parseInt(opts, 8) }\n } else {\n throw new TypeError('invalid options argument')\n }\n\n const resolved = opts as MkdirpOptionsResolved\n const optsFs = opts.fs || {}\n\n opts.mkdir = opts.mkdir || optsFs.mkdir || mkdir\n\n opts.mkdirAsync = opts.mkdirAsync\n ? opts.mkdirAsync\n : async (\n path: string,\n options: MakeDirectoryOptions & { recursive?: boolean }\n ): Promise => {\n return new Promise((res, rej) =>\n resolved.mkdir(path, options, (er, made) =>\n er ? rej(er) : res(made)\n )\n )\n }\n\n opts.stat = opts.stat || optsFs.stat || stat\n opts.statAsync = opts.statAsync\n ? opts.statAsync\n : async (path: string) =>\n new Promise((res, rej) =>\n resolved.stat(path, (err, stats) => (err ? rej(err) : res(stats)))\n )\n\n opts.statSync = opts.statSync || optsFs.statSync || statSync\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || mkdirSync\n\n return resolved\n}\n",null,"import { dirname } from 'path'\nimport { findMade, findMadeSync } from './find-made.js'\nimport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nexport const mkdirpNativeSync = (\n path: string,\n options?: MkdirpOptions\n): string | void | undefined => {\n const opts = optsArg(options)\n opts.recursive = true\n const parent = dirname(path)\n if (parent === path) {\n return opts.mkdirSync(path, opts)\n }\n\n const made = findMadeSync(opts, path)\n try {\n opts.mkdirSync(path, opts)\n return made\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts)\n } else {\n throw er\n }\n }\n}\n\nexport const mkdirpNative = Object.assign(\n async (\n path: string,\n options?: MkdirpOptions\n ): Promise => {\n const opts = { ...optsArg(options), recursive: true }\n const parent = dirname(path)\n if (parent === path) {\n return await opts.mkdirAsync(path, opts)\n }\n\n return findMade(opts, path).then((made?: string | undefined) =>\n opts\n .mkdirAsync(path, opts)\n .then(m => made || m)\n .catch(er => {\n const fer = er as NodeJS.ErrnoException\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(path, opts)\n } else {\n throw er\n }\n })\n )\n },\n { sync: mkdirpNativeSync }\n)\n",null,"import { dirname } from 'path'\nimport { MkdirpOptionsResolved } from './opts-arg.js'\n\nexport const findMade = async (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): Promise => {\n // we never want the 'made' return value to be a root directory\n if (path === parent) {\n return\n }\n\n return opts.statAsync(parent).then(\n st => (st.isDirectory() ? path : undefined), // will fail later\n er => {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMade(opts, dirname(parent), parent)\n : undefined\n }\n )\n}\n\nexport const findMadeSync = (\n opts: MkdirpOptionsResolved,\n parent: string,\n path?: string\n): undefined | string => {\n if (path === parent) {\n return undefined\n }\n\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n return fer && fer.code === 'ENOENT'\n ? findMadeSync(opts, dirname(parent), parent)\n : undefined\n }\n}\n",null,"const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform\nimport { parse, resolve } from 'path'\nexport const pathArg = (path: string) => {\n if (/\\0/.test(path)) {\n // simulate same failure that node raises\n throw Object.assign(\n new TypeError('path must be a string without null bytes'),\n {\n path,\n code: 'ERR_INVALID_ARG_VALUE',\n }\n )\n }\n\n path = resolve(path)\n if (platform === 'win32') {\n const badWinChars = /[*|\"<>?:]/\n const { root } = parse(path)\n if (badWinChars.test(path.substring(root.length))) {\n throw Object.assign(new Error('Illegal characters in path.'), {\n path,\n code: 'EINVAL',\n })\n }\n }\n\n return path\n}\n",null,"import { mkdir, mkdirSync } from 'fs'\nimport { MkdirpOptions, optsArg } from './opts-arg.js'\n\nconst version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version\nconst versArr = version.replace(/^v/, '').split('.')\nconst hasNative = +versArr[0] > 10 || (+versArr[0] === 10 && +versArr[1] >= 12)\n\nexport const useNativeSync = !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdirSync === mkdirSync\n\nexport const useNative = Object.assign(\n !hasNative\n ? () => false\n : (opts?: MkdirpOptions) => optsArg(opts).mkdir === mkdir,\n {\n sync: useNativeSync,\n }\n)\n","import assert from \"assert\"\nimport { homedir } from \"os\"\nimport { parse as pathParse } from \"path\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack.js\"\nimport { isBinUptoDate } from \"../utils/setup/version.js\"\nimport { unique } from \"../utils/std/index.js\"\nimport { MinVersions } from \"../versions/default_versions.js\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n try {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n } catch (err) {\n if (setupPipPackSystem(\"pipx\", false) === null) {\n throw new Error(`pipx was not installed correctly ${err}`)\n }\n }\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string): Promise {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python.js\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n installInfo = { bin: foundPython, installDir: dirname(foundPython), binDir: dirname(foundPython) }\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const bin = await findPython(setupDir)\n if (bin === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir, rcOptions)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await installBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix: {\n stdout: string\n stderr: string\n } = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin, rcOptions)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await installAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n\n // On Windows, search in C:\\PythonXX\n if (process.platform === \"win32\") {\n const rootDir = pathParse(homedir()).root\n // find all directories in rootDir using readdir\n const pythonDirs = (await readdir(rootDir)).filter((dir) => dir.startsWith(\"Python\"))\n\n for (const pythonDir of pythonDirs) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, join(rootDir, pythonDir))\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n }\n }\n\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pipPath, MinVersions.pip!)) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error).toString())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error).toString())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { promise: true })\n","import { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverValid from \"semver/functions/valid\"\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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise,\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return Number.parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n\nexport function compareVersion(tag1: string, tag2: string) {\n const v1 = semverCoerce(tag1)\n const v2 = semverCoerce(tag2)\n if (v1 !== null && v2 !== null) {\n // put the latest version first\n return v2.compare(v1)\n }\n\n // if the tags are not semver, compare them as strings, putting the latest tag first\n return tag2.localeCompare(tag1)\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { isArch } from \"../utils/env/isArch.js\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.6\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n // the suffixes relate to the suffix in the llvm releases\n return \"17.0.6-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.6\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.12.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.30.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.2\", // \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.64.1\", // 2.0.17 // https://github.com/conan-io/conan/releases\n meson: \"1.5.1\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.38.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.11.0-4\" : \"1.11.0\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: process.platform === \"win32\"\n ? \"14.2.0posix-18.1.8-12.0.0-ucrt-r1\"\n : \"\", // use the default version on Ubuntu, Fedora, Arch, macOS, etc.\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n powershell: \"7.4.5\", // https://github.com/PowerShell/PowerShell/releases/tag/v7.4.5\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64\n mingw: {\n 24: \"8.0.0-1\",\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n // the suffixes relate to the suffix in the llvm releases\n llvm: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 24: \"6.0\",\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 24: \"1.0.0\",\n 22: \"1.0.0\",\n 20: \"1.0.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 24: \"\",\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 24: \"42-binary\",\n 22: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n doxygen: {\n 24: \"1.11.0\",\n 22: \"1.11.0\",\n 20: \"1.10.0\",\n 18: \"1.10.0\",\n },\n}\n","import type { Opts } from \"../cli-options.js\"\nimport type { Inputs } from \"../tool.js\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions.js\"\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n if (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name] ?? \"\"\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => Number.parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n for (const tool of toolsInUse) {\n opts[tool] = targetVersion\n }\n\n return true\n}\n","import os from \"os\"\nimport { warning } from \"ci-log\"\nimport memoize from \"memoizee\"\nimport { installAptPack } from \"setup-apt\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { isUbuntu } from \"./isUbuntu.js\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await installAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { promise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n if (!(\"version\" in os && typeof os.version === \"function\")) {\n return null\n }\n\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion: string = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = Number.parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = Number.parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = Number.parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"cppcheck\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { setupGraphviz } from \"../graphviz/graphviz.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { macosVersion } from \"../utils/env/macos_version.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { setupDmg } from \"../utils/setup/setupDmg.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n case \"darwin\": {\n const folderName = `Doxygen-${version}`\n return {\n binRelativeDir: \"Doxygen/Doxygen.app/Contents/Resources/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: setupDmg,\n url: `https://doxygen.nl/files/${folderName}.dmg`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n // let installationInfo: InstallationInfo\n // try {\n // installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n // } catch {\n const installationInfo = await installBrewPack(\"doxygen\", undefined)\n // }\n\n // only install graphviz if the macOS version is greater than 11\n if (macosVersion()[0] > 11) {\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n }\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([{ name: \"doxygen\", version }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n try {\n await installAptPack([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n info(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`)\n }\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await installAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (\n const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]\n ) {\n // eslint-disable-next-line no-await-in-loop\n if (await pathExists(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir, rcOptions)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return installBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"graphviz\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import macosRelease from \"macos-release\"\nimport memoize from \"memoizee\"\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */\nfunction macosVersion_raw() {\n if (process.platform !== \"darwin\") {\n return []\n }\n\n const { version } = macosRelease()\n return version.split(\".\").map((v) => Number.parseInt(v, 10))\n}\nexport const macosVersion = memoize(macosVersion_raw)\n","import os from 'node:os';\n\nconst nameMap = new Map([\n\t[24, ['Sequoia', '15']],\n\t[23, ['Sonoma', '14']],\n\t[22, ['Ventura', '13']],\n\t[21, ['Monterey', '12']],\n\t[20, ['Big Sur', '11']],\n\t[19, ['Catalina', '10.15']],\n\t[18, ['Mojave', '10.14']],\n\t[17, ['High Sierra', '10.13']],\n\t[16, ['Sierra', '10.12']],\n\t[15, ['El Capitan', '10.11']],\n\t[14, ['Yosemite', '10.10']],\n\t[13, ['Mavericks', '10.9']],\n\t[12, ['Mountain Lion', '10.8']],\n\t[11, ['Lion', '10.7']],\n\t[10, ['Snow Leopard', '10.6']],\n\t[9, ['Leopard', '10.5']],\n\t[8, ['Tiger', '10.4']],\n\t[7, ['Panther', '10.3']],\n\t[6, ['Jaguar', '10.2']],\n\t[5, ['Puma', '10.1']],\n]);\n\nexport default function macosRelease(release) {\n\trelease = Number((release || os.release()).split('.')[0]);\n\n\tconst [name, version] = nameMap.get(release) || ['Unknown', ''];\n\n\treturn {\n\t\tname,\n\t\tversion,\n\t};\n}\n","import { join } from \"path\"\n\nexport async function setupDmg(path: string, destDir: string) {\n const { ArchiveHdi } = await import(\"@shockpkg/archive-files/esm/archive/hdi.mjs\")\n\n const dmg = new ArchiveHdi(path)\n await dmg.read(async (entry) => {\n await entry.extract(join(destDir, entry.path))\n })\n}\n","import { addEnv, addPath } from \"envosman\"\n\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info, warning } from \"ci-log\"\nimport { type ExecaReturnValue, execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverMajor from \"semver/functions/major\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { loadGitHubAssetList, matchAsset } from \"../utils/github/load-assets.js\"\nimport { extract7Zip } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { compareVersion } from \"../utils/setup/version.js\"\n\nasync function getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): Promise {\n switch (platform) {\n case \"win32\": {\n const mingwAssets = await loadGitHubAssetList(\n join(__dirname, \"github_brechtsanders_winlibs_mingw.json\"),\n )\n const asset = matchAsset(\n mingwAssets,\n {\n version,\n arch: arch === \"x64\"\n ? \"x86_64\"\n : arch === \"ia32\"\n ? \"i386\"\n : arch,\n filterName: (name) => name.endsWith(\".7z\"),\n },\n )\n\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${asset.tag}/${asset.name}`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupGcc(version: string, setupDir: string, arch: string, priority: number = 40) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = await installBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc\" }, { name: \"g++\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n {\n name: \"g++\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc-multilib\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([{\n name: \"gcc-multilib\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n }])\n }\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return installAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([\n {\n name: \"mingw-w64\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n // Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n // Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n // await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir, rcOptions)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir, rcOptions)\n } else if (await pathExists(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(givenVersion: string, binDir: string, priority: number = 40) {\n const promises: Promise>[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`, rcOptions),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`, rcOptions),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`, rcOptions),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`, rcOptions),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`, rcOptions),\n // )\n\n if (process.platform === \"win32\") {\n promises.push(\n addEnv(\"CC\", addExeExt(`${binDir}/gcc`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${binDir}/g++`), rcOptions),\n )\n } else {\n // if version is empty, get the version from the gcc command\n let version = givenVersion\n if (givenVersion === \"\") {\n version = await getGccCmdVersion(binDir, version)\n info(`Using gcc version ${version}`)\n }\n\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n )\n }\n } else {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${version}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${version}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${version}`, rcOptions, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function getGccCmdVersion(binDir: string, givenVersion: string) {\n // TODO get the version from the package manager\n try {\n let gccExe = \"gcc\"\n if (await pathExists(`${binDir}/gcc`)) {\n gccExe = `${binDir}/gcc`\n } else {\n // try to find the gcc exe in the bin dir\n const files = (await readdir(binDir)).sort(\n (exe1, exe2) => {\n const version1 = exe1.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] || \"\"\n const version2 = exe2.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] || \"\"\n return compareVersion(version1, version2)\n },\n )\n for (const file of files) {\n if (file.startsWith(\"gcc\")) {\n gccExe = `${binDir}/${file}`\n break\n }\n }\n }\n\n const { stdout: versionStdout } = await execa(gccExe, [\"--version\"], { stdio: \"pipe\" })\n\n // gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\n // gcc-12 (Homebrew GCC 12.4.0) 12.4.0\n // gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0\n\n const versionMatch = (versionStdout as string).match(/gcc.* \\(.*\\) ([\\d.]+)/)\n\n if (versionMatch !== null) {\n return versionMatch[1]\n }\n\n warning(`Failed to parse gcc version from: ${versionStdout}`)\n return givenVersion\n } catch (err) {\n error(`Failed to get gcc version: ${err}`)\n return givenVersion\n }\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { error } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim(), rcOptions)\n } else {\n error(\"SDKROOT not set\")\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { readFile } from \"fs/promises\"\n\n/**\n * The list of assets of a GitHub release\n * @key tag The tag of the release\n * @value assets The names of the assets of the release\n */\nexport type Assets = Record\n\nexport async function loadGitHubAssetList(path: string): Promise {\n const data = await readFile(path, \"utf-8\")\n return JSON.parse(data)\n}\n\ntype MatchAssetOpts = {\n version: string\n arch?: string\n filterTag?: (version: string) => boolean\n filterName?: (asset: string) => boolean\n}\n\n/**\n * Match the asset that matches the version and arch\n */\nexport function matchAsset(\n assets: Assets,\n opts: MatchAssetOpts,\n): { tag: string; name: string } {\n // get the list of versions\n let tags = Object.keys(assets)\n\n // filter the versions\n if (opts.filterTag !== undefined) {\n tags = tags.filter(opts.filterTag)\n }\n\n if (tags.length === 0) {\n throw new Error(`no tag found for version ${opts.version}`)\n }\n\n // find the first tag that starts with the version\n // loop over the versions starting with the latest\n let tag: string | undefined\n for (const mingwVersion of tags) {\n if (mingwVersion.startsWith(opts.version)) {\n tag = mingwVersion\n break\n }\n }\n if (tag === undefined) {\n throw new Error(`version ${opts.version} is not supported`)\n }\n\n // get the list of assets\n let matchedNames = assets[tag]\n\n // filter the assets\n if (opts.filterName !== undefined) {\n matchedNames = matchedNames.filter(opts.filterName)\n }\n\n if (matchedNames.length === 0) {\n throw new Error(`no asset found for version ${opts.version} and arch ${opts.arch}`)\n }\n\n // use the first asset if the arch is not specified\n if (opts.arch === undefined) {\n return { tag, name: matchedNames[0] }\n }\n\n // find the asset that matches the arch\n for (const name of matchedNames) {\n // search each asset name for the arch\n if (name.includes(opts.arch)) {\n return { tag, name }\n }\n }\n\n throw new Error(`arch ${opts.arch} could not be found among ${JSON.stringify(matchedNames)}`)\n}\n","import { addEnv } from \"envosman\"\nimport semverMajor from \"semver/functions/major\"\nimport semverValid from \"semver/functions/valid\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\", rcOptions)\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov, rcOptions)\n}\n","import { info } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake.js\"\nimport { setupNinja } from \"../ninja/ninja.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { extractTarByExe } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, 1)\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\n }\n\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"~\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), join(untildifyUser(\"~\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","import { delimiter } from \"path\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupGcc } from \"../gcc/gcc.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type InstallationInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer.js\"\nimport { getLLVMPackageInfo } from \"./llvm_url.js\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM\n const [installationInfo, _1] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n addLLVMLoggingMatcher(),\n ])\n\n // install LLVM dependencies\n await setupLLVMDeps(arch)\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { promise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = Number.parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await installAptPack([{ name: \"libtinfo5\" }])\n } else {\n await installAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { promise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { promise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory, rcOptions),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`, rcOptions),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/lib${delimiter}${dyld}`, rcOptions),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`, rcOptions),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`, rcOptions),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`), rcOptions),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`, rcOptions),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`, rcOptions))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`, rcOptions))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n addUpdateAlternativesToRc(\"cc\", `${directory}/bin/clang`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${directory}/bin/clang++`, rcOptions, priority),\n addUpdateAlternativesToRc(\"clang\", `${directory}/bin/clang`, rcOptions),\n addUpdateAlternativesToRc(\"clang++\", `${directory}/bin/clang++`, rcOptions),\n addUpdateAlternativesToRc(\"lld\", `${directory}/bin/lld`, rcOptions),\n addUpdateAlternativesToRc(\"ld.lld\", `${directory}/bin/ld.lld`, rcOptions),\n addUpdateAlternativesToRc(\"llvm-ar\", `${directory}/bin/llvm-ar`, rcOptions),\n )\n }\n\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n }\n}\n","import { info } from \"console\"\nimport { tmpdir } from \"os\"\nimport { join } from \"path\"\nimport { execRoot } from \"admina\"\nimport { addPath } from \"envosman\"\nimport { chmod, readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { aptTimeout, hasNala, installAptPack, isAptPackRegexInstalled } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { DEFAULT_TIMEOUT } from \"../installTool.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\nexport enum LLVMPackages {\n All = 0,\n ClangFormat = 1,\n Core = 2,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }])\n const dl = new DownloaderHelper(\"https://apt.llvm.org/llvm.sh\", tmpdir(), { fileName: \"llvm.sh\" })\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the LLVM installer script: ${err}`)\n })\n await dl.start()\n const installerScript = await readFile(dl.getDownloadPath(), \"utf-8\")\n\n const installerPath = join(tmpdir(), \"llvm-setup-cpp.sh\")\n const neededPackages = await patchAptLLVMScript(\n installerScript,\n installerPath,\n majorVersion,\n packages,\n )\n await installAptPack(neededPackages)\n await chmod(installerPath, \"755\")\n await execRoot(\n \"bash\",\n [installerPath, `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`, rcOptions)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(\n givenScript: string,\n target_path: string,\n majorVersion: number,\n packages: LLVMPackages,\n) {\n let script = debugScript(givenScript)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (process.env.NODE_DEBUG !== \"1\" && process.env.NODE_DEBUG !== \"true\") {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n `add-apt-repository -y -n \"\\${REPO_NAME}\"\napt-get update -o ${aptTimeout} -y`,\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n `apt-get install -o Dpkg::Options::=\"--force-overwrite\" -o ${aptTimeout} -y --fix-broken`,\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isAptPackRegexInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport pTimeout from \"p-timeout\"\nimport { join } from \"patha\"\nimport { setupBrew } from \"setup-brew\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { type ToolName, setups } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n if (e instanceof Error && e.stack !== undefined) {\n error(e.stack)\n }\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n) {\n // eslint-disable-next-line no-param-reassign\n const hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else if (tool === \"brew\") {\n // eslint-disable no-await-in-loop\n installationInfo = await setupBrew({ rcOptions })\n } else {\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"llvm\" : tool)\n\n const setupVersion = getVersion(tool, version, osVersion)\n\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable no-await-in-loop\n installationInfo = await setupFunction(setupVersion, setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n return hasLLVM\n}\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { pathExists } from \"path-exists\"\nimport { rcOptions } from \"../cli-options.js\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (VCTargetsPath !== undefined && (await pathExists(VCTargetsPath))) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath, rcOptions)\n }\n\n await setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community', 'BuildTools']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\n/**\n * Convert the vs version (e.g. 2022) or year (e.g. 17.0) to the version number (e.g. 17.0)\n * @param {string | undefined} vsversion the year (e.g. 2022) or version number (e.g. 17.0)\n * @returns {string | undefined} the version number (e.g. 17.0)\n */\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\n/**\n * Convert the vs version (e.g. 17.0) or year (e.g. 2022) to the year (e.g. 2022)\n * @param {string} vsversion the version number (e.g. 17.0) or year (e.g. 2022)\n * @returns {string} the year (e.g. 2022)\n */\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\n/**\n * Find MSVC tools with vswhere\n * @param {string} pattern the pattern to search for\n * @param {string} version_pattern the version pattern to search for\n * @returns {string | null} the path to the found MSVC tools\n */\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\n/**\n * Find the vcvarsall.bat file for the given Visual Studio version\n * @param {string | undefined} vsversion the version of Visual Studio to find (year or version number)\n * @returns {string} the path to the vcvarsall.bat file\n */\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/**\n * Setup MSVC Developer Command Prompt\n * @param {string} arch - Target architecture\n * @param {string | undefined} sdk - Windows SDK number to build for\n * @param {string | undefined} toolset - VC++ compiler toolset version\n * @param {boolean | 'true' | 'false' | undefined} uwp - Build for Universal Windows Platform\n * @param {boolean | 'true' | 'false' | undefined} spectre - Enable Spectre mitigations\n * @param {string | undefined} vsversion - The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. \"2019\").\n */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n\n if (uwp && JSON.parse(uwp) === true) {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre && JSON.parse(spectre) === true) {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd\n","import { info, warning } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { addExeExt } from \"patha\"\nimport semverLte from \"semver/functions/lte\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract.js\"\nimport type { PackageInfo } from \"../utils/setup/setupBin.js\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version.js\"\n\n// ================================================\n// Version\n// ================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_X64_MISSING = 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 \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_X64_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n \"18.1.4\": \"-ubuntu-18.04\",\n \"18.1.7\": \"-ubuntu-18.04\",\n \"18.1.8\": \"-ubuntu-18.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"18.1.8\"\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/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_X64_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/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let linuxVersion: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_X64_SUFFIX_MAP) {\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm version: ${specificVersion}`)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction: platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, 1)\n },\n }\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n await installBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\", rcOptions)\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"make\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { findVcvarsall, vsversion_to_versionnumber } from \"msvc-dev-cmd/lib.js\"\nimport { join } from \"patha\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall.js\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { tmpdir } from \"os\"\nimport { execRootSync } from \"admina\"\nimport { error, info } from \"ci-log\"\nimport { readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { dirname, join } from \"patha\"\nimport { hasNala, installAptPack, qualifiedNeededAptPackage } from \"setup-apt\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n await installAptPack([{ name: \"python3-apt\" }])\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n // If nala is available in the default repositories, install it\n try {\n const nalaPack = await qualifiedNeededAptPackage({ name: \"nala\", version })\n if (nalaPack !== undefined) {\n await installAptPack([{ name: nalaPack }])\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala: ${err}`)\n }\n\n // Nala is not available in the default repositories\n // Check if the legacy version is available\n try {\n const nalaLegacyPack = await qualifiedNeededAptPackage({ name: \"nala-legacy\" })\n if (nalaLegacyPack !== undefined) {\n await installAptPack([{ name: nalaLegacyPack }], true)\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala-legacy: ${err}`)\n }\n\n // Install via the installer script\n await setupNalaViaInstaller()\n\n return { binDir }\n}\n\nasync function setupNalaViaInstaller() {\n const installer = new DownloaderHelper(\n \"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh\",\n tmpdir(),\n { fileName: \"install-nala.sh\" },\n )\n installer.on(\"error\", (err) => {\n throw new Error(`Failed to download install-nala.sh: ${err}`)\n })\n await installer.start()\n\n const installerPath = join(tmpdir(), \"install-nala.sh\")\n\n // Patch the installer script to not use sudo explicitly\n const script = await readFile(installerPath, \"utf8\")\n await writeFile(installerPath, script.replace(/sudo/g, \"\"))\n\n await installAptPack([{ name: \"wget\" }])\n\n try {\n execRootSync(\"bash\", [installerPath])\n } catch (err) {\n error(`Failed to install nala via installer: ${err}`)\n execRootSync(\"apt\", [\"install\", \"-y\", \"-t\", \"nala\", \"nala\"])\n }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\n}\n","import { addPath } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { execRootSync } from \"admina\"\nimport { error } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n/** Get the platform data for cmake */\nfunction getPowerShellPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n return {\n url: getPowershellUrl(platform, arch, version),\n binRelativeDir: \"\",\n binFileName: addExeExt(\"pwsh\"),\n extractedFolderName: \"\",\n }\n}\n\nfunction getPowershellUrl(\n platform: string,\n arch: string,\n version: string,\n) {\n switch (platform) {\n case \"win32\": {\n const osArchStr = ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch))\n ? \"win-x86\"\n : \"win-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/PowerShell-${version}-${osArchStr}.zip`\n }\n case \"darwin\": {\n const osArchStr = [\"arm\", \"arm64\"].includes(arch) ? \"osx-arm64\" : \"osx-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n case \"linux\": {\n const archMap = {\n arm64: \"linux-arm64\",\n arm: \"linux-arm64\",\n arm32: \"linux-arm32\",\n aarch64: \"linux-arm64\",\n x64: \"linux-x64\",\n } as Record\n const osArchStr = archMap[arch] ?? \"linux-x64\"\n // TODO support musl\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string, setupDir: string, arch: string) {\n try {\n return await setupBin(\"pwsh\", version, getPowerShellPackageInfo, setupDir, arch)\n } catch (err) {\n error(`Failed to setup pwsh via download: ${err}. Trying package managers...`)\n return setupPowershellSystem(version, setupDir, arch)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershellSystem(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"powershell\", version, { cask: true, overwrite: false })\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"curl\" }])\n execRootSync(\"/bin/bash\", [\n \"-c\",\n \"curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo\",\n ])\n return setupDnfPack([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"curl\" }])\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaURL(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return installAptPack([{ name: \"powershell\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { installBrewPack } from \"setup-brew\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return installBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const extension = platform === \"win32\" ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { grantUserWriteAccess } from \"admina\"\nimport { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await installAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n // clone if not already exists\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. Skipping the clone`)\n }\n\n // if version specified, checkout the version\n if (version !== \"\" && version !== \"true\") {\n info(`Checking out vcpkg version ${version}`)\n execaSync(\"git\", [\"checkout\", version], {\n cwd: setupDir,\n stdio: \"inherit\",\n })\n }\n\n // bootstrap vcpkg\n execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(setupDir)\n\n await addPath(setupDir, rcOptions)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { join } from \"path\"\nimport { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc.js\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr.js\"\nimport { setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch,\n )\n\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion = compiler === \"mingw\"\n ? getVersion(\"mingw\", version, osVersion)\n : getVersion(\"gcc\", version, osVersion)\n const installationInfo = compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n await activateGcovGCC(gccVersion)\n\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch,\n )\n\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\", rcOptions), addEnv(\"CXX\", \"clang++\", rcOptions)])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";GkMII,CAAAA,CAAA,C8EMAC,CAAA,CmBDAC,CAAA,CWuDAC,CAAA,CgDtDAC,CAAA,C/DRAC,CAAA,CCAAC,CAAA,CCAAC,CAAA,C,8IzFSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO,CAAAO,OAAA,CACT,KAAM,CAAAC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,CAASskB,EAAA,CAAoBrkB,CAAA,CAAUC,CAAA,CACjE,GrFaE6qD,QAAA,CAAUh1C,EACZ,EAKakR,EAAA,CAAQllB,MAAA,CAAOmB,IAAI,CAAC8d,EAAA,EAMpB6E,EAAA,CAAwB,CAAC,WAAY,eAAgB,aAAcoB,EAAA,CAAM,CFOzErV,EAAA,CAAY,CACvB7I,MAAA,CAAQP,CAAA,CAAc,YACtBM,KAAA,CAAO,KACT,E,6C5E+EAic,EAAA,CAAK9jB,OAAA,CAAQ+pD,IAAI,EACdx/C,IAAI,CAACxL,CAAC,GACLiB,OAAA,CAAQqF,QAAQ,CAAGtG,CACrB,IACC2V,KAAK,CAAC3V,CAAC,GACN,GAAAkJ,EAAA,CAAA/D,KAAI,EAAE,oBACN,GAAA+D,EAAA,CAAA/D,KAAI,EAAEnF,CAAA,EACNiB,OAAA,CAAQqF,QAAQ,CAAG,CACrB","ignoreList":[]} \ No newline at end of file diff --git a/dist/modern/setup-cpp.mjs b/dist/modern/setup-cpp.mjs new file mode 100644 index 00000000..ea3e65f1 --- /dev/null +++ b/dist/modern/setup-cpp.mjs @@ -0,0 +1,3 @@ +#!/usr/bin/env node +function e(e){return e&&e.__esModule&&{}.hasOwnProperty.call(e,"default")?e.default:e}function t(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}function r(e,t,r){const n=new Nn(e,t,r);process.stdout.write(""+n+Pn.EOL)}function n(){return Ln>$n.length-16&&(Rr.randomFillSync($n),Ln=0),$n.slice(Ln,Ln+=16)}function o(e){return"string"==typeof e&&Dn.test(e)}function i(e,t=0){const r=(kn[e[t+0]]+kn[e[t+1]]+kn[e[t+2]]+kn[e[t+3]]+"-"+kn[e[t+4]]+kn[e[t+5]]+"-"+kn[e[t+6]]+kn[e[t+7]]+"-"+kn[e[t+8]]+kn[e[t+9]]+"-"+kn[e[t+10]]+kn[e[t+11]]+kn[e[t+12]]+kn[e[t+13]]+kn[e[t+14]]+kn[e[t+15]]).toLowerCase();if(!o(r))throw TypeError("Stringified UUID is invalid");return r}function s(e){if(!o(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}function a(e,t,r){function n(e,n,o,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;e.length>r;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof n&&(n=s(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+e.length);if(c.set(n),c.set(e,n.length),c=r(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,o){a=a||0;for(let e=0;16>e;++e)o[a+e]=c[e];return o}return i(c)}try{n.name=e}catch(o){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}function c(e){const t="https:"===e.protocol;if(function(e){if(!e.hostname)return!1;if(function(e){const t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}(e.hostname))return!0;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=+e.port:"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const o of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if("*"===o||n.some((e=>e===o||e.endsWith("."+o)||o.startsWith(".")&&e.endsWith(""+o))))return!0;return!1}(e))return;const r=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new Zn(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Zn("http://"+r)}}function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||no.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",(function(e,r,n,o){for(var i=p(r,n,o),s=0,a=t.requests.length;a>s;++s){var c=t.requests[s];if(c.host===i.host&&c.port===i.port)return t.requests.splice(s,1),void c.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function l(e,t){var r=this;u.prototype.createSocket.call(r,e,(function(n){var o=e.request.getHeader("host"),i=f({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host}),s=ro.connect(0,i);r.sockets[r.sockets.indexOf(n)]=s,t(s)}))}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function f(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var o=Object.keys(n),i=0,s=o.length;s>i;++i){var a=o[i];void 0!==n[a]&&(e[a]=n[a])}}return e}function d(){return So||(So=1,function(e){var t=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.summary=e.markdownSummary=e.SUMMARY_DOCS_URL=e.SUMMARY_ENV_VAR=void 0;const r=mr,n=gr,{access:o,appendFile:i,writeFile:s}=n.promises;e.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const a=new class{constructor(){this._buffer=""}filePath(){return t(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield o(t,n.constants.R_OK|n.constants.W_OK)}catch(r){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return t(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?s:i;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return t(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(r.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:o}=e,i=t?"th":"td",s=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(i,r,s)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:o}=r||{},i=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o}),s=this.wrap("img",null,Object.assign({src:e,alt:t},i));return this.addRaw(s).addEOL()}addHeading(e,t){const r="h"+t,n=this.wrap(["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",e);return this.addRaw(n).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.markdownSummary=a,e.summary=a}($o)),$o}function h(){return To||(To=1,function(e){function t(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 r(e,t={}){u.issueCommand("error",p.toCommandProperties(t),e instanceof Error?""+e:e)}function n(e){u.issue("group",e)}function o(){u.issue("endgroup")}var i=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=wn&&wn.__importStar||function(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 s(t,e),t},c=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.getIDToken=e.getState=e.saveState=e.group=e.endGroup=e.startGroup=e.info=e.notice=e.warning=e.error=e.debug=e.isDebug=e.setFailed=e.setCommandEcho=e.setOutput=e.getBooleanInput=e.getMultilineInput=e.getInput=e.addPath=e.setSecret=e.exportVariable=e.ExitCode=void 0;const u=Rn,l=Cn,p=Sn,f=a(mr),m=a(Sr),v=function(){if(bo)return Qn;bo=1;var e=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.OidcClient=void 0;const t=_o,n=Oo,o=h();class i{static createHttpClient(e=!0,r=10){const o={allowRetries:e,maxRetries:r};return new t.HttpClient("actions/oidc-client",[new n.BearerCredentialHandler(i.getRequestToken())],o)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(t){var r;return e(this,void 0,void 0,(function*(){const e=i.createHttpClient(),n=yield e.getJson(t).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)})),o=null===(r=n.result)||void 0===r?void 0:r.value;if(!o)throw Error("Response json body do not have ID Token field");return o}))}static getIDToken(t){return e(this,void 0,void 0,(function*(){try{let e=i.getIDTokenUrl();t&&(e=`${e}&audience=${encodeURIComponent(t)}`),o.debug("ID token url is "+e);const r=yield i.getCall(e);return o.setSecret(r),r}catch(r){throw Error("Error message: "+r.message)}}))}}return Qn.OidcClient=i,Qn}();var y,g;(g=y=e.ExitCode||(e.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exportVariable=function(e,t){const r=p.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return l.issueFileCommand("ENV",l.prepareKeyValueMessage(e,t));u.issueCommand("set-env",{name:e},r)},e.setSecret=function(e){u.issueCommand("add-mask",{},e)},e.addPath=function(e){process.env.GITHUB_PATH?l.issueFileCommand("PATH",e):u.issueCommand("add-path",{},e),process.env.PATH=`${e}${m.delimiter}${process.env.PATH}`},e.getInput=t,e.getMultilineInput=function(e,r){const n=t(e,r).split("\n").filter((e=>""!==e));return r&&!1===r.trimWhitespace?n:n.map((e=>e.trim()))},e.getBooleanInput=function(e,r){const n=t(e,r);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return l.issueFileCommand("OUTPUT",l.prepareKeyValueMessage(e,t));process.stdout.write(f.EOL),u.issueCommand("set-output",{name:e},p.toCommandValue(t))},e.setCommandEcho=function(e){u.issue("echo",e?"on":"off")},e.setFailed=function(e){process.exitCode=y.Failure,r(e)},e.isDebug=function(){return"1"===process.env.RUNNER_DEBUG},e.debug=function(e){u.issueCommand("debug",{},e)},e.error=r,e.warning=function(e,t={}){u.issueCommand("warning",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.notice=function(e,t={}){u.issueCommand("notice",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.info=function(e){process.stdout.write(e+f.EOL)},e.startGroup=n,e.endGroup=o,e.group=function(e,t){return c(this,void 0,void 0,(function*(){let r;n(e);try{r=yield t()}finally{o()}return r}))},e.saveState=function(e,t){if(process.env.GITHUB_STATE)return l.issueFileCommand("STATE",l.prepareKeyValueMessage(e,t));u.issueCommand("save-state",{name:e},p.toCommandValue(t))},e.getState=function(e){return process.env["STATE_"+e]||""},e.getIDToken=function(e){return c(this,void 0,void 0,(function*(){return yield v.OidcClient.getIDToken(e)}))};var E=d();Object.defineProperty(e,"summary",{enumerable:!0,get:function(){return E.summary}});var w=d();Object.defineProperty(e,"markdownSummary",{enumerable:!0,get:function(){return w.markdownSummary}});var _=function(){if(Io)return Lo;Io=1;var e=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),t=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=wn&&wn.__importStar||function(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var o in r)"default"!==o&&Object.hasOwnProperty.call(r,o)&&e(n,r,o);return t(n,r),n};Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.toPlatformPath=Lo.toWin32Path=Lo.toPosixPath=void 0;const n=r(Sr);return Lo.toPosixPath=function(e){return e.replace(/[\\]/g,"/")},Lo.toWin32Path=function(e){return e.replace(/[/]/g,"\\")},Lo.toPlatformPath=function(e){return e.replace(/[/\\]/g,n.sep)},Lo}();Object.defineProperty(e,"toPosixPath",{enumerable:!0,get:function(){return _.toPosixPath}}),Object.defineProperty(e,"toWin32Path",{enumerable:!0,get:function(){return _.toWin32Path}}),Object.defineProperty(e,"toPlatformPath",{enumerable:!0,get:function(){return _.toPlatformPath}})}(On)),On}function m(e){return _n.GITHUB_ACTIONS?Do.error(e):console.log(`${e}`)}function v(e){return _n.GITHUB_ACTIONS?Do.warning(e):console.log(`${e}`)}function y(e){return _n.GITHUB_ACTIONS?Do.notice(e):console.log(`${e}`)}function g(e){return _n.GITHUB_ACTIONS?Do.info(e):console.log(e)}function E(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(r,n){E(e,t||{},(function(e,t){e?n(e):r(t)}))}))}Co(e,t||{},(function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)}))}function w(e,t){const r=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,i=o&&void 0!==process.chdir&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch(a){}let s;try{s=Yo.sync(e.command,{path:r[Ko({env:r})],pathExt:t?Wo.delimiter:void 0})}catch(c){}finally{i&&process.chdir(n)}return s&&(s=Wo.resolve(o?e.options.cwd:"",s)),s}function _(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 b(e,t){return ci&&1===e&&!t.file?_(t.original,"spawn"):null}function O(e,t,r){const n=li(e,t,r),o=ui.spawn(n.command,n.args,n.options);return pi.hookChildProcess(o,n),o}function R(e={}){const{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"}function S(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe}function I(e){return S(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState}async function T(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=hs(t);return await new Promise(((t,o)=>{const i=e=>{e&&n.getBufferedLength()<=ps.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e)};(async()=>{try{await ms(e,n),t()}catch(r){i(r)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&i(new vs)}))})),n.getBufferedValue()}function x(e,t,r){const n=Gs(e,t,r),o=Ls(e,t),i=Ds(e,t);let s;Ms(i,n.options),is(n.options);try{s=nn.spawn(n.file,n.args,n.options)}catch(p){const e=new nn.ChildProcess,t=Promise.reject(Pi({error:p,stdout:"",stderr:"",all:"",command:o,escapedCommand:i,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return Ps(e,t),e}const a=As(s),c=os(s,n.options,a),u=ss(s,n.options,c);s.kill=Qi.bind(null,s.kill.bind(s)),s.cancel=ns.bind(null,s,{isCanceled:!1});const l=wi((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,l,p]=await Is(s,n.options,u),f=Bs(n.options,c),d=Bs(n.options,l),h=Bs(n.options,p);if(e||0!==t||null!==r){const c=Pi({error:e,exitCode:t,signal:r,stdout:f,stderr:d,all:h,command:o,escapedCommand:i,parsed:n,timedOut:a,isCanceled:!!n.options.signal&&n.options.signal.aborted,killed:s.killed});if(!n.options.reject)return c;throw c}return{command:o,escapedCommand:i,exitCode:0,stdout:f,stderr:d,all:h,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return bs(s,n.options),s.all=Os(s,n.options),cs(s),Ps(s,l),s}function P(e,t,r){const n=Gs(e,t,r),o=Ls(e,t),i=Ds(e,t);Ms(i,n.options);const s=_s(n.options);let a;try{a=nn.spawnSync(n.file,n.args,{...n.options,input:s})}catch(l){throw Pi({error:l,stdout:"",stderr:"",all:"",command:o,escapedCommand:i,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const c=Bs(n.options,a.stdout,a.error),u=Bs(n.options,a.stderr,a.error);if(a.error||0!==a.status||null!==a.signal){const e=Pi({stdout:c,stderr:u,error:a.error,signal:a.signal,exitCode:a.status,command:o,escapedCommand:i,parsed:n,timedOut:a.error&&"ETIMEDOUT"===a.error.code,isCanceled:!1,killed:null!==a.signal});if(!n.options.reject)return e;throw e}return{command:o,escapedCommand:i,exitCode:0,stdout:c,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}function A(e,t=["-NoProfile","-NoLogo","-NonInteractive"],r={stdio:"inherit"}){return x(function(){if(void 0===ma){const e=ha.sync("pwsh",{nothrow:!0});null!==e&&(ma=e);const t=ha.sync("powershell",{nothrow:!0});null!==t&&(ma=t)}if(void 0===ma)throw Error("Could not find powershell");return ma}(),[...t,"-c",e],r)}function N(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function C(){return null!==ha.sync("sudo",{nothrow:!0})}function $(){return 0===process.getuid?.()||!!process.env.CI}function L(){return $()&&C()}function D(e){return L()?"sudo "+e:e}function k(e,t=[],r=ga){return L()?function(e,t){const[r,...n]=Us(e);return P(r,n,t)}(j(e,t),r):P(e,F(t),r)}function U(e,t=[],r=ga){return L()?function(e,t){const[r,...n]=Us(e);return x(r,n,t)}(j(e,t),r):x(e,F(t),r)}function j(e,t){return"sudo "+F([e,...t]).join(" ")}function F(e){return e.map((e=>`'${e}'`))}function M(){return"win32"===process.platform?Ea():$()}async function G(e){if(("linux"===process.platform||"darwin"===process.platform)&&L()&&void 0!==process.env.SUDO_USER){let t=gr.statSync(e).isDirectory();await U("chown",[...t?["-R"]:[],process.env.SUDO_USER,e],ga)}}function B(){if(lc)return uc;lc=1;var e=Ya,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;return uc=function(i,s){var a,c=Object(e(s));if(i=Object(e(i)),n(c).forEach((function(e){try{t(i,e,r(s,e))}catch(n){a=n}})),"function"==typeof o&&o(c).forEach((function(e){try{t(i,e,r(s,e))}catch(n){a=n}})),void 0!==a)throw a;return i}}function H(){return Bc?Gc:(Bc=1,Gc=(jc?Uc:(jc=1,Uc=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}))()?globalThis:function(){if(Mc)return Fc;Mc=1;var e=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw Error("Unable to resolve global `this`")};return Fc=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(t){return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}()}())}function q(){if(Wc)return Xc;Wc=1;var e=zc?Vc:(zc=1,Vc=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])});return Xc=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t}}function V(){return ou?nu:(ou=1,nu=function(){if(qc)return Hc;qc=1;var e=H(),t={object:!0,symbol:!0};return Hc=function(){var r=e.Symbol;return"function"==typeof r&&(r("test symbol"),!!t[typeof r.iterator]&&!!t[typeof r.toPrimitive]&&!!t[typeof r.toStringTag])}}()()?H().Symbol:function(){if(ru)return tu;ru=1;var e,t,r,n=$c,o=q(),i=H().Symbol,s=function(){if(Kc)return Yc;Kc=1;var e=$c,t=Object.defineProperty,r=Object.prototype,n=(0,Object.create)(null);return Yc=function(o){for(var i,s,a=0;n[o+(a||"")];)++a;return n[o+=a||""]=!0,t(r,i="@@"+o,e.gs(null,(function(r){s||(s=!0,t(this,i,e(r)),s=!1)}))),i}}(),a=function(){if(Qc)return Jc;Qc=1;var e=$c,t=H().Symbol;return Jc=function(r){return Object.defineProperties(r,{hasInstance:e("",t&&t.hasInstance||r("hasInstance")),isConcatSpreadable:e("",t&&t.isConcatSpreadable||r("isConcatSpreadable")),iterator:e("",t&&t.iterator||r("iterator")),match:e("",t&&t.match||r("match")),replace:e("",t&&t.replace||r("replace")),search:e("",t&&t.search||r("search")),species:e("",t&&t.species||r("species")),split:e("",t&&t.split||r("split")),toPrimitive:e("",t&&t.toPrimitive||r("toPrimitive")),toStringTag:e("",t&&t.toStringTag||r("toStringTag")),unscopables:e("",t&&t.unscopables||r("unscopables"))})}}(),c=function(){if(eu)return Zc;eu=1;var e=$c,t=q(),r=Object.create(null);return Zc=function(n){return Object.defineProperties(n,{for:e((function(e){return r[e]?r[e]:r[e]=n(e+"")})),keyFor:e((function(e){var n;for(n in t(e),r)if(r[n]===e)return n}))})}}(),u=Object.create,l=Object.defineProperties,p=Object.defineProperty;if("function"==typeof i)try{i(),r=!0}catch(f){}else i=null;return t=function(r){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return e(r)},tu=e=function e(o){var a;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return r?i(o):(a=u(t.prototype),l(a,{__description__:n("",o=void 0===o?"":o+""),__name__:n("",s(o))}))},a(e),c(e),l(t.prototype,{constructor:n(e),toString:n("",(function(){return this.__name__}))}),l(e.prototype,{toString:n((function(){return"Symbol ("+o(this).__description__+")"})),valueOf:n((function(){return o(this)}))}),p(e.prototype,e.toPrimitive,n("",(function(){var e=o(this);return"symbol"==typeof e?e:""+e}))),p(e.prototype,e.toStringTag,n("c","Symbol")),p(t.prototype,e.toStringTag,n("c",e.prototype[e.toStringTag])),p(t.prototype,e.toPrimitive,n("c",e.prototype[e.toPrimitive])),tu}())}function z(){return hu?du:(hu=1,du=(kc?Dc:(kc=1,Dc=function(){var e,t,r=Array.from;return"function"==typeof r&&!(!(t=r(e=["raz","dwa"]))||t===e||"dwa"!==t[1])}))()?Array.from:function(){if(fu)return pu;fu=1;var e=V().iterator,t=function(){if(su)return iu;su=1;var e={}.toString,t=e.call(function(){return arguments}());return iu=function(r){return e.call(r)===t}}(),r=function(){if(cu)return au;cu=1;var e={}.toString,t=/t/.test.bind(/^[object [A-Za-z0-9]*Function]$/);return au=function(r){return"function"==typeof r&&t(e.call(r))}}(),n=qa,o=Xa,i=Ya,s=Da,a=function(){if(lu)return uu;lu=1;var e={}.toString,t=e.call("");return uu=function(r){return"string"==typeof r||r&&"object"==typeof r&&(r instanceof String||e.call(r)===t)||!1}}(),c=Array.isArray,u=function(){}.call,l={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;return pu=function(f){var d,h,m,v,y,g,E,w,_,b,O=arguments[1],R=arguments[2];if(f=Object(i(f)),s(O)&&o(O),this&&this!==Array&&r(this))d=this;else{if(!O){if(t(f))return 1!==(y=f.length)?Array.apply(null,f):((v=[,])[0]=f[0],v);if(c(f)){for(v=Array(y=f.length),h=0;y>h;++h)v[h]=f[h];return v}}v=[]}if(!c(f))if(void 0!==(_=f[e])){for(E=o(_).call(f),d&&(v=new d),w=E.next(),h=0;!w.done;)b=O?u.call(O,R,w.value,h):w.value,d?(l.value=b,p(v,h,l)):v[h]=b,w=E.next(),++h;y=h}else if(a(f)){for(y=f.length,d&&(v=new d),h=0,m=0;y>h;++h)b=f[h],y>h+1&&(55296>(g=b.charCodeAt(0))||g>56319||(b+=f[++h])),b=O?u.call(O,R,b,m):b,d?(l.value=b,p(v,m,l)):v[m]=b,++m;y=m}if(void 0===y)for(y=n(f.length),d&&(v=new d(y)),h=0;y>h;++h)b=O?u.call(O,R,f[h],h):f[h],d?(l.value=b,p(v,h,l)):v[h]=b;return d&&(l.value=null,v.length=y),v},pu}())}function X(){if($u)return Cu;$u=1;var e=Nu?Au:(Nu=1,Au=(Tu?Iu:(Tu=1,Iu=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}))()?Number.isNaN:Pu?xu:(Pu=1,xu=function(e){return e!=e})),t=qa,r=Ya,n=[].indexOf,o={}.hasOwnProperty,i=Math.abs,s=Math.floor;return Cu=function(a){var c,u,l;if(!e(a))return n.apply(this,arguments);for(u=t(r(this).length),c=l=isNaN(l=arguments[1])?0:0>l?t(this.length)-s(i(l)):s(l);u>c;++c)if(o.call(this,c)&&e(this[c]))return c;return-1},Cu}function W(){if(Gu)return Mu;Gu=1;var e=Xa,t=rc,r=function(){}.call;return Mu=function(n,o){var i={},s=arguments[2];return e(o),t(n,(function(e,t,n,a){i[t]=r.call(o,s,e,t,n,a)})),i},Mu}function Y(){if(Hu)return Bu;Hu=1;var e=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},t=function(t){var r,n,o=document.createTextNode(""),i=0;return new t((function(){var e;if(r)n&&(r=n.concat(r));else{if(!n)return;r=n}if(n=r,r=null,"function"==typeof n)return e=n,n=null,void e();for(o.data=i=++i%2;n;)e=n.shift(),n.length||(n=null),e()})).observe(o,{characterData:!0}),function(t){e(t),r?"function"==typeof r?r=[r,t]:r.push(t):(r=t,o.data=i=++i%2)}};return Bu=function(){if("object"==typeof process&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(t){queueMicrotask(e(t))};if("object"==typeof document&&document){if("function"==typeof MutationObserver)return t(MutationObserver);if("function"==typeof WebKitMutationObserver)return t(WebKitMutationObserver)}return"function"==typeof setImmediate?function(t){setImmediate(e(t))}:"function"==typeof setTimeout||"object"==typeof setTimeout?function(t){setTimeout(e(t),0)}:null}()}function K(){return Wu?Xu:(Wu=1,Xu=function(e){return"function"==typeof e})}function J(){function e(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}return nl||(nl=1,Ll.exports=e,Ll.exports.default=e),Ll.exports}function Q(){if(ol)return $l;ol=1;var e=W(),t=function(){if(zu)return Vu;zu=1;var e=[].forEach,t=Object.create;return Vu=function(r){var n=t(null);return e.call(arguments,(function(e){n[e]=!0})),n},Vu}(),r=function(){if(Qu)return Ju;Qu=1;var e=Ya,t=function(){if(Ku)return Yu;Ku=1;var e=K();return Yu=function(t){try{return t&&e(t.toString)?""+t:t+""}catch(r){throw new TypeError("Passed argument cannot be stringifed")}}}();return Ju=function(r){return t(e(r))}}(),n=function(){if(rl)return tl;rl=1;var e=function(){if(el)return Zu;el=1;var e=K();return Zu=function(t){try{return t&&e(t.toString)?""+t:t+""}catch(r){return""}}}();return tl=function(t){var r=e(t);return r.length>100&&(r=r.slice(0,99)+"…"),r.replace(/[\n\r\u2028\u2029]/g,(function(e){return JSON.stringify(e).slice(1,-1)}))}}(),o=J(),i=Y(),s=Object.create,a=t("then","then:finally","done","done:finally");return nc.promise=function(t,c){var u=s(null),l=s(null),p=s(null);if(!0===t)t=null;else if(t=r(t),!a[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");c.on("set",(function(e,r,n){var s=!1;if(!o(n))return l[e]=n,void c.emit("setasync",e,1);u[e]=1,p[e]=n;var a=function(t){var r=u[e];if(s)throw Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete u[e],l[e]=t,c.emit("setasync",e,r))},f=function(){s=!0,u[e]&&(delete u[e],delete p[e],c.delete(e))},d=t;if(d||(d="then"),"then"===d){var h=function(){i(f)};"function"==typeof(n=n.then((function(e){i(a.bind(this,e))}),h)).finally&&n.finally(h)}else if("done"===d){if("function"!=typeof n.done)throw Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(a,f)}else if("done:finally"===d){if("function"!=typeof n.done)throw Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(a),n.finally(f)}})),c.on("get",(function(e,t,r){var n;if(u[e])++u[e];else{var s=function(){c.emit("getasync",e,t,r)};o(n=p[e])?"function"==typeof n.done?n.done(s):n.then((function(){i(s)})):s()}})),c.on("delete",(function(e){if(delete p[e],u[e])delete u[e];else if(hasOwnProperty.call(l,e)){var t=l[e];delete l[e],c.emit("deleteasync",e,[t])}})),c.on("clear",(function(){var t=l;l=s(null),u=s(null),p=s(null),c.emit("clearasync",e(t,(function(e){return[e]})))}))},$l}async function Z(e){try{return await fn.access(e),!0}catch{return!1}}function ee(e){const t=function(){if(L()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?Ir("/Users/",process.env.SUDO_USER):Ir("/home/",process.env.SUDO_USER);{const e=vr();if(""===e)return;return e}}();return void 0===t?e:e.replace(ql,t)}async function te(e){const t=void 0===e.guard?"\n# Automatically Generated by envosman\n":`\n# Automatically Generated by envosman ${e.guard}\nexport SOURCE_${e.guard.toUpperCase()}RC=0\n`;await Z(e.rcPath)&&((await zl(e.rcPath,"utf8")).includes(t)||(await Vl(e.rcPath,`\n${t}\n`),g(`Added ${t} to ${e.rcPath}`)))}async function re(e,t){await Z(t)&&((await zl(t,"utf-8")).includes(e)||(await Vl(t,e),g(`${e} was added to ${t}`)))}async function ne(e,t,r={}){const n={escapeSpace:!1,overwrite:!0,rcPath:Wl,...r},o=function(e,t=!1){const r=t?ep(e):e;return sp(r,'"',"\\")}(t??"",n.escapeSpace);try{if(_n.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e])return void g(`Environment variable ${e} is already defined. Skipping.`);Do.exportVariable(e,o)}catch(i){m(i),await oe(e,o,n)}else await oe(e,o,n)}catch(i){m(`${i}\nFailed to export environment variable ${e}=${o}. You should add it manually.`)}}async function oe(e,t,r){const n=t??"";switch(process.platform){case"win32":return r.overwrite||void 0===process.env[e]?(await A(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),void g(`${e}='${n}' was set in the environment.`)):void g(`Environment variable ${e} is already defined. Skipping.`);case"linux":case"darwin":return await Yl(r),void(r.overwrite?(await ap(r.rcPath,`\nexport ${e}="${n}"\n`),g(`${e}="${n}" was added to "${r.rcPath}`)):(await ap(r.rcPath,`\nif [ -z "\${${e}}" ]; then export ${e}="${n}"; fi\n`),g(`if not defined ${e} then ${e}="${n}" was added to "${r.rcPath}`)))}process.env[e]=n}async function ie(e,t={}){const r={rcPath:Wl,...t};if(!function(e){return!!up.some((t=>t.test(e)))&&(process.env.PATH?.split(Tr)??[]).includes(e)}(e)){process.env.PATH=`${e}${Tr}${process.env.PATH}`;try{if(_n.GITHUB_ACTIONS)try{Do.addPath(e)}catch(n){m(n),await se(e,r)}else await se(e,r)}catch(n){m(`${n}\nFailed to add ${e} to the percistent PATH. You should add it manually.`)}}}async function se(e,t){switch(process.platform){case"win32":return await A(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),void g(`"${e}" was added to the PATH.`);case"linux":case"darwin":return await Yl(t),await cp(t.rcPath,`\nexport PATH="${e}:$PATH"\n`),void g(`"${e}" was added to "${t.rcPath}"`);default:return}}function ae(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function ce(e){Array.isArray(e)||(e=[e]);for(const t of e){const{id:e,data:r}=t;Ep[e]=r}}function ue(e,t,r){const n=function(e){const t=Ep[e.locale];let r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType),r=Array.from(new Set(r));let n=null;if(r.some((function(e){if(void 0!==t[e])return n=t[e],!0})),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n}(r);return mp.pluralize(r.locale,t,n[e]).replace("{0}",t)}function le(){if(Uf)return kf;Uf=1;const e=/\s+/g;class t{constructor(r,i){if(i=n(i),r instanceof t)return r.loose===!!i.loose&&r.includePrerelease===!!i.includePrerelease?r:new t(r.raw,i);if(r instanceof o)return this.raw=r.value,this.set=[[r]],this.formatted=void 0,this;if(this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease,this.raw=r.trim().replace(e," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!h(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;this.set.length>e;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;t.length>e;e++)e>0&&(this.formatted+=" "),this.formatted+=(""+t[e]).trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&f)|(this.options.loose&&d))+":"+e,n=r.get(t);if(n)return n;const s=this.options.loose;e=e.replace(s?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE],T(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(a[c.COMPARATORTRIM],u),i("comparator trim",e),e=e.replace(a[c.TILDETRIM],l),i("tilde trim",e),e=e.replace(a[c.CARETTRIM],p),i("caret trim",e);let m=e.split(" ").map((e=>y(e,this.options))).join(" ").split(/\s+/).map((e=>I(e,this.options)));s&&(m=m.filter((e=>(i("loose invalid filter",e,this.options),!!e.match(a[c.COMPARATORLOOSE]))))),i("range list",m);const v=new Map,g=m.map((e=>new o(e,this.options)));for(const r of g){if(h(r))return[r];v.set(r.value,r)}v.size>1&&v.has("")&&v.delete("");const E=[...v.values()];return r.set(t,E),E}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some((t=>v(t,r)&&e.set.some((e=>v(e,r)&&t.every((t=>e.every((e=>t.intersects(e,r)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(t){return!1}for(let r=0;this.set.length>r;r++)if(x(this.set[r],e,this.options))return!0;return!1}}kf=t;const r=new Mf,n=xp,o=pe(),i=Rp,s=Fp,{safeRe:a,t:c,comparatorTrimReplace:u,tildeTrimReplace:l,caretTrimReplace:p}=Sp,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:d}=Op,h=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,v=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},y=(e,t)=>(i("comp",e,t),e=_(e,t),i("caret",e),e=E(e,t),i("tildes",e),e=O(e,t),i("xrange",e),e=S(e,t),i("stars",e),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,E=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>e.replace(t.loose?a[c.TILDELOOSE]:a[c.TILDE],((t,r,n,o,s)=>{let a;return i("tilde",e,t,r,n,o,s),g(r)?a="":g(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:g(o)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(i("replaceTilde pr",s),a=`>=${r}.${n}.${o}-${s} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,i("tilde return",a),a})),_=(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?a[c.CARETLOOSE]:a[c.CARET],((t,n,o,s,a)=>{let c;return i("caret",e,t,n,o,s,a),g(n)?c="":g(o)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:g(s)?c="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(i("replaceCaret pr",a),c="0"===n?"0"===o?`>=${n}.${o}.${s}-${a} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s}-${a} <${+n+1}.0.0-0`):(i("no pr"),c="0"===n?"0"===o?`>=${n}.${o}.${s}${r} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s} <${+n+1}.0.0-0`),i("caret return",c),c}))},O=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>R(e,t))).join(" ")),R=(e,t)=>(e=e.trim()).replace(t.loose?a[c.XRANGELOOSE]:a[c.XRANGE],((r,n,o,s,a,c)=>{i("xRange",e,r,n,o,s,a,c);const u=g(o),l=u||g(s),p=l||g(a);return"="===n&&p&&(n=""),c=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(l&&(s=0),a=0,">"===n?(n=">=",l?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===n&&(n="<",l?o=+o+1:s=+s+1),"<"===n&&(c="-0"),r=`${n+o}.${s}.${a}${c}`):l?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${s}.0${c} <${o}.${+s+1}.0-0`),i("xRange return",r),r})),S=(e,t)=>(i("replaceStars",e,t),e.trim().replace(a[c.STAR],"")),I=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),T=e=>(t,r,n,o,i,s,a,c,u,l,p,f)=>`${r=g(n)?"":g(o)?`>=${n}.0.0${e?"-0":""}`:g(i)?`>=${n}.${o}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${c=g(u)?"":g(l)?`<${+u+1}.0.0-0`:g(p)?`<${u}.${+l+1}.0-0`:f?`<=${u}.${l}.${p}-${f}`:e?`<${u}.${l}.${+p+1}-0`:"<="+c}`.trim(),x=(e,t,r)=>{for(let n=0;e.length>n;n++)if(!e[n].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!==o.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0};return kf}function pe(){if(Ff)return jf;Ff=1;const e=Symbol();class t{static get ANY(){return e}constructor(n,o){if(o=r(o),n instanceof t){if(n.loose===!!o.loose)return n;n=n.value}n=n.trim().split(/\s+/).join(" "),s("comparator",n,o),this.options=o,this.loose=!!o.loose,this.parse(n),this.value=this.semver===e?"":this.operator+this.semver.version,s("comp",this)}parse(t){const r=t.match(this.options.loose?n[o.COMPARATORLOOSE]:n[o.COMPARATOR]);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),this.semver=r[2]?new a(r[2],this.options.loose):e}toString(){return this.value}test(t){if(s("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new a(t,this.options)}catch(r){return!1}return i(t,this.operator,this.semver,this.options)}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new c(e.value,n).test(this.value):""===e.operator?""===e.value||new c(this.value,n).test(e.semver):!((n=r(n)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(i(this.semver,"<",e.semver,n)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(i(this.semver,">",e.semver,n)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}jf=t;const r=xp,{safeRe:n,t:o}=Sp,i=Pf,s=Rp,a=Fp,c=le();return jf}function fe(e,t,r,n){return new(r||(r=Promise))((function(t,o){function i(e){try{a(n.next(e))}catch(t){o(t)}}function s(e){try{a(n.throw(e))}catch(t){o(t)}}function a(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(i,s)}a((n=n.call(e)).next())}))}function de(e,t){function r(r){return function(c){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,o=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&i[3]>r[1])){a.label=r[1];break}if(6===r[0]&&i[1]>a.label){a.label=i[1],i=r;break}if(i&&i[2]>a.label){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(c){r=[6,c],o=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,c])}}var n,o,i,s,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s}function he(e){return null==e?[]:Array.isArray(e)?e:[e]}function me(e,t,r,n){var o,i=e[t],s=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(o=+r)==0?o:r),!!r)):0*(o=+r)==0?o:r;e[t]=null==i?s:Array.isArray(i)?i.concat(s):[i,s]}async function ve(e,t,r,n=40){_n.GITHUB_ACTIONS?await async function(e,t,r=40){await U("update-alternatives",["--install","/usr/bin/"+e,e,t,""+r])}(e,t,n):(await Yl(r),await Wd(r.rcPath,`\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} ${n}; fi\n`))}function ye(e){const t={...process.env,DEBIAN_FRONTEND:"noninteractive"};return"nala"===e&&(void 0===t.LANG&&(t.LANG="C.UTF-8"),void 0===t.LC_ALL&&(t.LC_ALL="C.UTF-8")),t}function ge(){return null!==ha.sync("nala",{nothrow:!0})}function Ee(){let e;return e=ge()?"nala":"apt-get",e}function we(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}async function _e(e){try{const{stdout:t}=await x("dpkg",["-s",e],{env:ye("apt-get"),stdio:"pipe"});return"string"==typeof t&&t.split("\n").some((e=>e.startsWith("Status: install ok installed")))}catch{return!1}}async function be(e,t=Ee()){return(await Promise.all(e.map((e=>Oe(e,t))))).filter((e=>void 0!==e))}async function Oe(e,t=Ee()){const r=await async function(e,t,r){switch(await Re(e,t,r)){case Qd.NameDashVersion:return`${t}-${r}`;case Qd.NameEqualsVersion:return`${t}=${r}`;case Qd.Name:return void 0!==r&&""!==r&&v(`Could not find package ${t} with version ${r}. Installing the latest version.`),t;default:throw Error(`Could not find package ${t} ${r??""}`)}}(t,e.name,e.version);return await _e(r)?void 0:r}async function Re(e,t,r){if(void 0!==r&&""!==r){const{stdout:n}=await x("apt-cache",["search","--names-only",`^${we(t)}-${we(r)}$`],{env:ye(e),stdio:"pipe"});if(""!==n.trim())return Qd.NameDashVersion;try{const{stdout:n}=await x("apt-cache",["show",`${t}=${r}`],{env:ye(e)});if(""===n.trim())return Qd.NameEqualsVersion}catch{}}try{const{stdout:r}=await x("apt-cache",["show",t],{env:ye(e),stdio:"pipe"});if(""!==r.trim())return Qd.Name}catch{}return Kd?Qd.None:(Jd(e),Re(e,t,r))}async function Se(e,t=!1){const r=Ee();for(const{name:i,version:s}of e)g(`Installing ${i} ${s??""} via ${r}`);t&&Jd(r),await async function(e,t){const r=[...new Set(t.flatMap((e=>e.repository??[])))];await Promise.all(r.map((t=>async function(e,t=Ee()){await eh(t),await async function(e){await _e("software-properties-common")||k(e,["install","-y","--fix-broken","-o",Yd,"software-properties-common"],{...ga,env:ye(e)})}(t),k("add-apt-repository",["-y","--no-update",e],{...ga,env:ye(t)}),Jd.clear(),Jd(t)}(t,e))))}(r,e);const n=await be(e,r);if(0===n.length)return g("All packages are already installed"),{binDir:"/usr/bin/"};await eh(r);try{await async function(e){await Promise.all(e.map((async e=>{var t;void 0!==e.key&&await(t=e.key,"keyUrl"in t?Ie(t):async function({key:e,keyServer:t=nh,fileName:r,keyStorePath:n=nh}){try{xe(r);const o=Ir(n,r);return await Z(o)||(Te(),await U("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+o,"--keyserver",t,"--recv-keys",e]),await U("chmod",["644",o])),o}catch(o){return void v(`Failed to add apt key via server ${t}: ${o}`)}}(t))})))}(e),k(r,["install","--fix-broken","-y",...n],{...ga,env:ye(r)})}catch(o){if(!function(e){return"string"==typeof e.stderr}(o))throw o;th.some((e=>o.stderr.includes(e)))&&(v(`Failed to install packages ${n}. Retrying...`),k(r,["install","--fix-broken","-y","-o",Yd,...n],{...ga,env:ye(r)}))}return{binDir:"/usr/bin/"}}async function Ie({keyUrl:e,fileName:t,keyStorePath:r=rh}){try{xe(t);const n=Ir(r,t);if(!(await Z(n))){Te(),await Se([{name:"ca-certificates"}]);const r=Ir(yr(),t),o=new Xd.DownloaderHelper(e,yr(),{fileName:t});o.on("error",(t=>{throw Error(`Failed to download ${e}: ${t}`)})),await o.start(),k("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--import",r]),k("chmod",["644",n])}return n}catch(n){return void v(`Failed to add apt key via download ${e}: ${n}`)}}function Te(){k("gpg",["-k"])}function xe(e){if(!e.endsWith(".gpg"))throw Error("Key file name must end with .gpg: "+e)}async function Pe(e={}){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof oh)return{binDir:oh};const t=await ha("brew",{nothrow:!0});if(null!==t)return oh=xr(t),{binDir:oh};await Se([{name:"ca-certificates"}]);const r=new Xd.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",yr(),{fileName:"install-brew.sh"});return r.on("error",(e=>{throw Error("Failed to download the brew installer script: "+e)})),await r.start(),P("/bin/bash",[r.getDownloadPath()],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),oh=Ae(),await ie(oh,e.rcOptions),{binDir:oh}}function Ae(){if("darwin"===process.platform)return"arm64"===process.arch?"/opt/homebrew/bin/":"/usr/local/bin/";if("linux"===process.platform)return"/home/linuxbrew/.linuxbrew/bin/";throw Error("Unsupported platform for brew")}async function Ne(e,t,r={}){const n={overwrite:!0,cask:!1,args:[],...r};g(`Installing ${e} ${t??""} via brew`),ch&&null!==ha.sync("brew",{nothrow:!0})||(await Pe(),ch=!0);const o=Ae(),i=Ir(o,"brew"),s=["install",void 0!==t&&""!==t?`${e}@${t}`:e];return n.overwrite&&s.push("--overwrite"),n.cask&&s.push("--cask"),P(i,s,{stdio:"inherit"}),{binDir:o}}function Ce(){return"linux"===process.platform&&(void 0===ih&&(ih=null!==ha.sync("dnf",{nothrow:!0})),ih)}function $e(){return"linux"===process.platform&&(void 0===sh&&(sh=null!==ha.sync("pacman",{nothrow:!0})),sh)}function Le(){return"linux"===process.platform&&(void 0===ah&&(ah=null!==ha.sync("apt-get",{nothrow:!0})),ah)}function De(e,t){return Object.keys(t).forEach((r=>{"default"===r||"__esModule"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get:()=>t[r]})})),e}function ke(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function Ue(e,t=!0){return t?Pr(e):Pr(e,Ar(e))}function je(e){return Nr(e).replace(RegExp(we(Cr)+"$"),"")}function Fe(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function Me(e,t){const r=Ar(e),n=`${t}${Pr(e,r)}${r}`;return Ir(xr(e),n)}function Ge(e,t){const r=Ar(e),n=`${Pr(e,r)}${t}${r}`;return Ir(xr(e),n)}function Be(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function He(e){return"win32"===process.platform?e:"./"+e}function qe(e){const t=Ar(e).length;return e.slice(0,-t)}function Ve(e,t){return lh(e,t)}function ze(e,t){const r=$r(t,e);return!(!r||".."===r||r.startsWith(".."+Cr)||r===Lr(e))}async function Xe(e,t,r){if("win32"!==process.platform)return;if("string"==typeof bh)return{binDir:bh};const n=ha.sync("choco",{nothrow:!0});if(null!==n)return bh=xr(n),{binDir:bh};let o="powershell.exe";const i=ha.sync(process.env.SystemRoot+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",{nothrow:!0});null!==i&&(o=i),P(o,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});const s=process.env.ALLUSERSPROFILE+"\\chocolatey\\bin";await ie(s,fy);const a=ha.sync("choco",{nothrow:!0});return bh=null!==a?xr(a):(process.env.ChocolateyInstall??"C:/ProgramData/chocolatey")+"/bin",await Z(bh)?{binDir:bh}:void 0}async function We(e,t,r=[]){g(`Installing ${e} ${t??""} via chocolatey`),Oh&&null!==ha.sync("choco",{nothrow:!0})||(await Xe(0,0,process),Oh=!0);const n=process.env.PATH,o={...process.env};if(o.TMP=void 0,o.TEMP=void 0,o.Path=void 0,o.PATH=n,void 0!==t&&""!==t)P("choco",["install","-y",e,"--version="+t,...r],{env:o,extendEnv:!1,stdio:"inherit"});else try{P("choco",["install","-y",e,...r],{env:o,extendEnv:!1,stdio:"inherit"})}catch(s){if(!s.message.includes("exit code 3010"))throw s;g(e+" might require a reboot for the completion of the installation.")}const i=(process.env.ChocolateyInstall??"C:/ProgramData/chocolatey")+"/bin";return await ie(i,fy),{binDir:i}}async function Ye(e){for(const{name:t,version:r}of e)g(`Installing ${t} ${r??""} via dnf`);return k("dnf",["-y","install",...await Promise.all(e.map((e=>async function(e,t){if(void 0!==t&&""!==t){const{stdout:r}=await x("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{const{stdout:r}=await x("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;v(`Failed to install ${e} ${t} via dnf, trying without version`)}}return e}(e.name,e.version))))]),{binDir:"/usr/bin/"}}async function Ke(e,t,r){g(`Installing ${e} ${t??""} via pacman`);const n="pacman";if("yay"===r&&null===ha.sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);Rh||"yay"===r||(k(n,["-Sy","--noconfirm"]),Rh=!0),Sh||"yay"===r||(k(n,["-S","--noconfirm","base-devel"]),Sh=!0);const o=e=>"yay"===r?P(r,["-S","--noconfirm",e]):k(r??n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){const r=await async function(e,t){const r=[];try{const{stdout:n}=await x(e,["-Si",t]);for(const e of n.matchAll(Ih))r.push(e[1])}catch(n){v(`Failed to get available versions for ${t}: ${n}`)}return r}(n,e);if(r.includes(t))try{o(`${e}=${t}`)}catch{o(`${e}${t}`)}else g(`Failed to install ${e} ${t} via pacman, trying without version`),o(e)}else o(e);return{binDir:"/usr/bin/"}}function Je(e){return $h(this,void 0,void 0,(function*(){if(kh.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield kh.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(t){throw Error("File was unable to be removed "+t)}}))}function Qe(e){return $h(this,void 0,void 0,(function*(){Lh.ok(e,"a path argument must be provided"),yield kh.mkdir(e,{recursive:!0})}))}function Ze(e){return $h(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(kh.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(Dh.delimiter))e&&t.push(e);if(kh.isRooted(e)){const r=yield kh.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(Dh.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(Dh.delimiter))e&&r.push(e);const n=[];for(const o of r){const r=yield kh.tryGetExecutablePath(Dh.join(o,e),t);r&&n.push(r)}return n}))}function et(e,t,r,n){return $h(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield Qe(t);const o=yield kh.readdir(e);for(const i of o){const o=`${e}/${i}`,s=`${t}/${i}`;(yield kh.lstat(o)).isDirectory()?yield et(o,s,r,n):yield tt(o,s,n)}yield kh.chmod(t,(yield kh.stat(e)).mode)}))}function tt(e,t,r){return $h(this,void 0,void 0,(function*(){if((yield kh.lstat(e)).isSymbolicLink()){try{yield kh.lstat(t),yield kh.unlink(t)}catch(n){"EPERM"===n.code&&(yield kh.chmod(t,"0666"),yield kh.unlink(t))}const r=yield kh.readlink(e);yield kh.symlink(r,t,kh.IS_WINDOWS?"junction":null)}else(yield kh.exists(t))&&!r||(yield kh.copyFile(e,t))}))}function rt(e,t,r){return fm(this,void 0,void 0,(function*(){const n=mm.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const o=n[0];return t=n.slice(1).concat(t||[]),new mm.ToolRunner(o,t,r).exec()}))}function nt(e,t){const r=[];t=t||Cm.arch();const n=$m.join(ut(),e);if(Am.existsSync(n)){const e=Am.readdirSync(n);for(const o of e)if(at(o)){const e=$m.join(n,o,t||"");Am.existsSync(e)&&Am.existsSync(e+".complete")&&r.push(o)}}return r}function ot(e){return Im(this,void 0,void 0,(function*(){return e||(e=$m.join(lt(),Fm.default())),yield Pm.mkdirP(e),e}))}function it(e,t,r){return Im(this,void 0,void 0,(function*(){const n=$m.join(ut(),e,Dm.clean(t)||t,r||"");xm.debug("destination "+n);const o=n+".complete";return yield Pm.rmRF(n),yield Pm.rmRF(o),yield Pm.mkdirP(n),n}))}function st(e,t,r){const n=$m.join(ut(),e,Dm.clean(t)||t,r||"");Am.writeFileSync(n+".complete",""),xm.debug("finished caching tool")}function at(e){const t=Dm.clean(e)||"";xm.debug("isExplicit: "+t);const r=null!=Dm.valid(t);return xm.debug("explicit? "+r),r}function ct(e,t){let r="";xm.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>Dm.gt(e,t)?1:-1))).length-1;n>=0;n--){const o=e[n];if(Dm.satisfies(o,t)){r=o;break}}return xm.debug(r?"matched: "+r:"match not found"),r}function ut(){const e=process.env.RUNNER_TOOL_CACHE||"";return jm.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function lt(){const e=process.env.RUNNER_TEMP||"";return jm.ok(e,"Expected RUNNER_TEMP to be defined"),e}function pt(e,t){const r=wn[e];return void 0!==r?r:t}function ft(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");const r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+(new Date).toLocaleTimeString(),r),new Promise((function(t,n){let o,i,s;r.timeout&&(o=setTimeout((function(){i&&clearTimeout(i),n(new Ym(r.name+" timed out",s))}),r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then((function(){o&&clearTimeout(o),i&&clearTimeout(i)})).catch((function(a){o&&clearTimeout(o),i&&clearTimeout(i),s=a,r.report&&r.report(a&&""+a||a,r,a);var c=r.max>r.$current;if(!c)return n(a);if(c=0===r.match.length||r.match.some((function(e){return function(e,t){if("function"==typeof e)try{if(t instanceof e)return!0}catch(r){return!!e(t)}return e===""+t||e===t.message||e instanceof RegExp&&(e.test(t.message)||e.test(""+t))}(e,a)})),!c)return n(a);var u=r.backoffBase*Math.pow(r.backoffExponent,r.$current-1);r.$current++,r.report&&r.report(`Retrying ${r.name} (${r.$current})`,r),u?(r.report&&r.report(`Delaying retry of ${r.name} by ${u}`,r),i=setTimeout((function(){ft(e,r).then(t).catch(n)}),u)):ft(e,r).then(t).catch(n)}))}))}function dt(e,t,r){switch(process.platform){case"win32":return We("7zip",e);case"darwin":return Ne("p7zip",e);case"linux":if($e())return Ke("p7zip",e);if(Ce())return Ye([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(Le())return Se([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function ht(e){const t=e.split(".").pop();return"tar"===t?0:"gz"===t||"tgz"===t?1:"xz"===t||"txz"===t?2:"zip"===t?3:("7z"===t||"exe"===t||v(`Unknown archive type: ${t}. Defaulting to 7z`),4)}async function mt(e,t){return await x(await async function(){return void 0===Jm&&(null===ha.sync("7z",{nothrow:!0})&&await dt("",0,process),Jm="7z"),Jm}(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await G(t),t}function vt(e,t){return mt(e,t)}async function yt(e,t){return null!==ha.sync("unzip",{nothrow:!0})?(await x("unzip",[e,"-d",t],{stdio:"inherit"}),await G(t),t):mt(e,t)}async function gt(e,t,r=0,n=[]){await async function(e){switch(g("Installing tar extraction dependencies"),e){case 1:"linux"===process.platform&&($e()?(await Ke("gzip"),await Ke("tar")):Ce()?await Ye([{name:"gzip"},{name:"tar"}]):Le()&&await Se([{name:"gzip"},{name:"tar"}]));break;case 2:"linux"===process.platform&&($e()?(await Ke("xz"),await Ke("tar")):Ce()?await Ye([{name:"xz"},{name:"tar"}]):Le()&&await Se([{name:"xz-utils"},{name:"tar"}]));break;default:throw Error(`Unsupported archive type: ${e} for tar extraction`)}}(ht(e));try{await Uh(t)}catch{}try{await x("tar",["xf",e,"-C",t,"--strip-components="+r,...n],{stdio:"inherit"})}catch(o){"win32"===process.platform&&o.message.includes("Can't create '\\\\?\\C:")&&v(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`)}return await G(t),t}async function Et(e,t,r,n,o){g(`Installing ${e} ${t} ${o} via direct downloading`),process.env.RUNNER_TEMP=process.env.RUNNER_TEMP??yr(),process.env.RUNNER_TOOL_CACHE=process.env.RUNNER_TOOL_CACHE??Ir(yr(),"setup-cpp","hostedtoolcache");const{url:i,binRelativeDir:s,binFileName:a,extractedFolderName:c,extractFunction:u}=await r(t,process.platform,o);if(_n.GITHUB_ACTIONS)try{const r=Xm(e,t);if(r){const n=Ir(r,c),o=Ir(n,s);if(await Z(Ir(o,a)))return g(`${e} ${t} was found in the cache at ${o}.`),await ie(o,fy),{installDir:n,binDir:o}}}catch{}const l=Ir(n,c),p=Ir(l,s),f=Ir(p,a);return await async function(e,t,r,n,o,i,s,a){if((await Promise.all([Z(e),Z(t)])).includes(!1))try{const e=await async function(e,t,r){g(`Download ${e} ${t}`);return await Km((()=>{const e=Ir(process.env.RUNNER_TEMP??yr(),`${Date.now()}-${Pr(r)}`);return Vm(r,e)}),{name:r,max:4,backoffBase:2e3,report:e=>g(e)})}(r,n,o);g(`Extracting ${e} to ${i}`);const t=s??function(e){switch(e){case 0:case 1:case 2:return gt;case 3:return yt;default:return mt}}(ht(o));await t(e,i)}catch(c){throw Error(`Failed to download ${r} ${n} ${a} from ${o}: ${c}`)}if(g(`Add ${e} to PATH`),await ie(e,fy),!(await Z(t)))throw Error(`Failed to find the binary ${t} after extracting ${r} ${n} ${a}`);if("win32"!==process.platform)try{await Jr(t,"755")}catch(c){v(`Failed to make ${t} executable: ${c}`)}}(p,f,e,t,i,n,u,o),await async function(e,t,r){_n.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"!==dr("cache-tools")&&"true"!==process.env.CACHE_TOOLS||await zm(e,t,r))}(n,e,t),{installDir:l,binDir:p}}function wt(e,t,r){const n=Df(e)??e;switch(t){case"win32":{const t=bf(n,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(r)?t?"win32-x86":"windows-i386":t?"win64-x64":"windows-x86_64";const i=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:Fe("cmake"),extractedFolderName:i,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${i}.zip`}}case"darwin":{const t=`cmake-${e}-${bf(n,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:Fe("cmake"),extractedFolderName:t,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${t}.tar.gz`}}case"linux":{const t=bf(n,"v3.19.8");let o;o=["aarch64"].includes(r)?t?"Linux-aarch64":"linux-aarch64":t?"Linux-x86_64":"linux-x86_64";const i=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:Fe("cmake"),extractedFolderName:i,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${i}.tar.gz`}}default:throw Error(`Unsupported platform '${t}'`)}}function _t(e,t,r){return Et("cmake",e,wt,t,r)}function bt(e,t){return new Promise((r=>{try{const n=Mr(e,{method:t},(e=>{r(function(e){return void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode}(e))}));n.on("error",(e=>{r(!1)})),n.end()}catch{r(!1)}}))}function Ot(e,t){return Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort(((e,t)=>{try{return rf(e,t)}catch(r){return e.localeCompare(t)}})).reverse()}async function Rt(e,t,r=hv){const n=await async function(e,t=hv){try{const r=await dm(e,["--version"]),n=r.stdout||r.stderr||"",o=n.trim().match(t)?.[1];return Df(o)??void 0}catch(r){return void console.error(r)}}(e,r);return void 0!==n&&""!==t&&-1!==rf(n,t)}function St(){switch(process.platform){case"win32":default:return"17.0.6";case"linux":return"17.0.6-ubuntu-22.04";case"darwin":return"15.0.3"}}async function It(e,t,r){const n=await async function(e,t,r){let n,o=await Tt(t);if(void 0!==o){const e=xr(o);n={bin:o,installDir:e,binDir:e}}else{if(_n.GITHUB_ACTIONS)try{g("Installing python in GitHub Actions");const{setupActionsPython:i}=await import("./assets/actions_python-mhNRejTS.mjs");if(await i(e,t,r),o=await Tt(t),void 0===o)throw Error("Python binary could not be found");const s=xr(o);n={bin:o,installDir:s,binDir:s}}catch(i){v(""+i)}void 0===n&&(n=await async function(e,t){let r;switch(process.platform){case"win32":{e?await We("python3",t,["--params=/InstallDir:"+e]):await We("python3",t);const n=await Tt(e);if(void 0===n)throw Error("Python binary could not be found");const o=xr(n);await ie(o,fy),r={installDir:o,binDir:o,bin:n};break}case"darwin":{r=await Ne("python3",t);const e=await x("brew",["--prefix","python"],{stdio:"pipe"}),n=Ir(e.stdout,"libexec","bin");await ie(n,fy);break}case"linux":if($e())r=await Ke("python",t);else if(Ce())r=await Ye([{name:"python3",version:t}]);else{if(!Le())throw Error("Unsupported linux distributions");r=await Se([{name:"python3",version:t},{name:"python-is-python3"}])}break;default:throw Error("Unsupported platform")}return r}(t,e))}if(void 0===o||void 0===n.bin){if(o=await Tt(t),void 0===o)throw Error("Python binary could not be found");n={bin:o,installDir:xr(o),binDir:xr(o)}}return n}(e,t,r);Vr(void 0!==n.bin);const o=n.bin,i=await async function(e){const t=await Pt();return void 0===t?(g("pip was not found. Installing pip"),await async function(e){await Nt(e)||(await jt("pip"),await Nt(e))}(e),Pt()):t}(o);if(void 0===i)throw Error("pip was not installed correctly");return await async function(e){try{if(!(await Ut(e)))try{await kt(e,"pipx",void 0,{upgrade:!0,usePipx:!1})}catch(t){if(null===jt("pipx",!1))throw Error("pipx was not installed correctly "+t)}await x(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await kt(e,"venv",void 0,{upgrade:!1,usePipx:!1})}catch(t){v(`Failed to install pipx: ${""+t}. Ignoring...`)}}(o),await async function(e){try{await kt(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await kt(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1})}catch(t){v(`Failed to install setuptools or wheel: ${""+t}. Ignoring...`)}}(o),n}async function Tt(e){for(const t of["python3","python"]){const r=await xt(t,e);if(void 0!==r)return r}if("win32"===process.platform){const e=Dr(vr()).root,t=(await Qr(e)).filter((e=>e.startsWith("Python")));for(const r of t)for(const t of["python3","python"]){const n=await xt(t,Ir(e,r));if(void 0!==n)return n}}}async function xt(e,t){try{if(void 0!==t){const r=Ir(t,Fe(e));if(await Z(r)&&await Rt(r,vv.python))return r}const r=await ha(e,{nothrow:!0,all:!0})??[];for(const e of r)if(await Rt(e,vv.python))return e}catch{}}async function Pt(){for(const e of["pip3","pip"]){const t=await At(e);if(void 0!==t)return t}}async function At(e){try{const t=await ha(e,{nothrow:!0,all:!0})??[];for(const e of t)if(await Rt(e,vv.pip))return e}catch{}}async function Nt(e){try{return await x(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0}catch(t){g(""+t);try{return await x(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0}catch(r){g(""+r)}}return!1}function Ct(e,t,r=null){return $t(t)&&"linux"===process.platform&&null!==r&&e in yv?function(e,t){const r=e[0],n=Object.keys(t).map((e=>Number.parseInt(e,10))).sort(((e,t)=>t-e)).find((e=>r>=e));return void 0===n?"":t[n]}(r,yv[e]):$t(t)&&e in mv?mv[e]??"":"true"===t?"":t??""}function $t(e){return"true"===e||void 0===e}function Lt(){if(!("version"in mr)||"function"!=typeof mr.version)return null;const e=mr.version().split(".");return[Number.parseInt(e[0].replace("#",""),10),Number.parseInt(e[1].replace("~",""),10),Number.parseInt(e[2].split("-")[0],10)]}async function Dt(e,t,r={}){return kt(await Sv(),e,t,r)}async function kt(e,t,r,n={}){const{usePipx:o=!0,user:i=!0,upgrade:s=!1,isLibrary:a=!1}=n,c=o&&!a&&await Ut(e),u=c?"pipx":"pip",l=await async function(e,t){return 0===(await x(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode}(e,t);if(l)try{Do.info(`Installing ${t} ${r??""} via ${u}`);const n=void 0!==r&&""!==r?`${t}==${r}`:t,o=s?c?["upgrade"]:["install","--upgrade"]:["install"],a=!c&&i?["--user"]:[],l=process.env;c&&i&&(l.PIPX_HOME=await Ov(),l.PIPX_BIN_DIR=await Rv()),P(e,["-m",u,...o,...a,n],{stdio:"inherit",env:l})}catch(d){if(Do.info(`Failed to install ${t} via ${u}: ${d}.`),null===await jt(t))throw Error(`Failed to install ${t} via ${u}: ${d}.`)}else if(null===await jt(t))throw Error(`Failed to install ${t} as it was not found via ${u} or the system package manager`);const p=await gv(e),f=await async function(e,t){const r=(await Promise.all(e.map((e=>Z(Ir(e,Fe(t))))))).findIndex((e=>e));if(-1!==r)return e[r];const n=ha.sync(Fe(t),{nothrow:!0});return null!==n?xr(n):e[e.length-1]}(p,t);return await ie(f,fy),{binDir:f}}async function Ut(e){return 0===(await x(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode}function jt(e,t=!0){if("linux"===process.platform){if(Do.info(`Installing ${e} via the system package manager`),$e())return Ke(t?"python-"+e:e);if(Ce())return Ye([{name:t?"python3-"+e:e}]);if(Le())return Se([{name:t?"python3-"+e:e}])}return null}async function Ft(e,t,r){switch(process.platform){case"win32":return await We("graphviz",e),async function(){if("win32"===process.platform){const e="C:/Program Files/Graphviz/bin";return await ie(e,fy),{binDir:e}}throw Error("Unsupported platform")}();case"darwin":return Ne("graphviz",e);case"linux":if($e())return Ke("graphviz",e);if(Ce())return Ye([{name:"graphviz",version:e}]);if(Le())return Se([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}async function Mt(e,t){const{ArchiveHdi:r}=await import("./assets/hdi-CLiriP2M.mjs"),n=new r(e);await n.read((async e=>{await e.extract(Ir(t,e.path))}))}function Gt(e,t,r){switch(t){case"linux":{const t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:Fe("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`}}case"win32":{const t="doxygen-"+e;return{binRelativeDir:"",binFileName:Fe("doxygen"),extractedFolderName:t,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`}}case"darwin":{const t="Doxygen-"+e;return{binRelativeDir:"Doxygen/Doxygen.app/Contents/Resources/",binFileName:Fe("doxygen"),extractedFolderName:t,extractFunction:Mt,url:`https://doxygen.nl/files/${t}.dmg`}}default:throw Error(`Unsupported platform '${t}'`)}}async function Bt(){if("darwin"===process.platform)try{const e=await dm("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await ne("SDKROOT",t.trim(),fy):m("SDKROOT not set")}catch(e){m(e)}}async function Ht(e,t,r){if("win32"===t){const t=function(e,t){let r,n=Object.keys(e);if(void 0!==t.filterTag&&(n=n.filter(t.filterTag)),0===n.length)throw Error("no tag found for version "+t.version);for(const i of n)if(i.startsWith(t.version)){r=i;break}if(void 0===r)throw Error(`version ${t.version} is not supported`);let o=e[r];if(void 0!==t.filterName&&(o=o.filter(t.filterName)),0===o.length)throw Error(`no asset found for version ${t.version} and arch ${t.arch}`);if(void 0===t.arch)return{tag:r,name:o[0]};for(const i of o)if(i.includes(t.arch))return{tag:r,name:i};throw Error(`arch ${t.arch} could not be found among ${JSON.stringify(o)}`)}(await async function(e){const t=await Zr(e,"utf-8");return JSON.parse(t)}(Ir(xv,"github_brechtsanders_winlibs_mingw.json")),{version:e,arch:"x64"===r?"x86_64":"ia32"===r?"i386":r,filterName:e=>e.endsWith(".7z")});return{binRelativeDir:"bin/",binFileName:Fe("g++"),extractedFolderName:"mingw64",extractFunction:mt,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.tag}/${t.name}`}}throw Error(`Unsupported platform '${t}'`)}async function qt(e,t,r,n=40){let o;switch(process.platform){case"win32":"arm"!==r&&"arm64"!==r||await We("gcc-arm-embedded",e);try{o=await Et("g++",e,Ht,t,r)}catch(i){g(`Failed to download g++ binary. ${i}. Falling back to chocolatey.`),o=await async function(e,t){let r;if(await We("mingw",e),"x64"===t&&await Z("C:/tools/mingw64/bin")?(r="C:/tools/mingw64/bin",await ie(r,fy)):"ia32"===t&&await Z("C:/tools/mingw32/bin")?(r="C:/tools/mingw32/bin",await ie(r,fy)):await Z((process.env.ChocolateyInstall??"C:/ProgramData/chocolatey")+"/bin/g++.exe")&&(r=(process.env.ChocolateyInstall??"C:/ProgramData/chocolatey")+"/bin"),void 0!==r)return{binDir:r}}(e,r)}break;case"darwin":o=await Ne("gcc",e);break;case"linux":"x64"===r?$e()?o=await Ke("gcc",e):Ce()?o=await Ye([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):Le()&&(o=""===e?await Se([{name:"gcc"},{name:"g++"}]):await Se([{name:"gcc",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}},{name:"g++",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])):(g(`Install g++-multilib because gcc for ${r} was requested`),$e()?o=await Ke("gcc-multilib",e):Le()&&(o=""===e?await Se([{name:"gcc-multilib"}]):await Se([{name:"gcc-multilib",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}])));break;default:throw Error("Unsupported platform for "+r)}if(void 0!==o)return await async function(e,t,r=40){const n=[];if("win32"===process.platform)n.push(ne("CC",Fe(t+"/gcc"),fy),ne("CXX",Fe(t+"/g++"),fy));else{let o=e;""===e&&(o=await async function(e,t){try{let r="gcc";if(await Z(e+"/gcc"))r=e+"/gcc";else{const t=(await Qr(e)).sort(((e,t)=>function(e,t){const r=Df(e),n=Df(t);return null!==r&&null!==n?n.compare(r):t.localeCompare(e)}(e.match(/^gcc-?(.*)(\.exe)?$/)?.[1]??"",t.match(/^gcc-?(.*)(\.exe)?$/)?.[1]??"")));for(const n of t)if(n.startsWith("gcc")){r=`${e}/${n}`;break}}const{stdout:n}=await x(r,["--version"],{stdio:"pipe"}),o=n.match(/gcc.* \(.*\) ([\d.]+)/);return null!==o?o[1]:(v("Failed to parse gcc version from: "+n),t)}catch(i){return m("Failed to get gcc version: "+i),t}}(t,o),g("Using gcc version "+o));const s=Kp(Df(o)??o);5>s?(n.push(ne("CC",`${t}/gcc-${o}`,fy),ne("CXX",`${t}/g++-${o}`,fy)),Le()&&n.push(ve("cc",`${t}/gcc-${o}`,fy,r),ve("cxx",`${t}/g++-${o}`,fy,r),ve("gcc",`${t}/gcc-${o}`,fy,r),ve("g++",`${t}/g++-${o}`,fy,r))):(n.push(ne("CC",`${t}/gcc-${s}`,fy),ne("CXX",`${t}/g++-${s}`,fy)),Le()&&n.push(ve("cc",`${t}/gcc-${s}`,fy,r),ve("cxx",`${t}/g++-${s}`,fy,r),ve("gcc",`${t}/gcc-${s}`,fy,r),ve("g++",`${t}/g++-${s}`,fy,r)))}n.push(Bt()),_n.GITHUB_ACTIONS&&await async function(){const e=Ir(xv,"gcc_matcher.json");if(!(await Z(e)))return v("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");g("::add-matcher::"+e)}(),await Promise.all(n)}(e,o.binDir,n),o}function Vt(e,t,r){const n=function(e){switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}}(t);return{binRelativeDir:"",binFileName:Fe("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`}}function zt(e,t,r){return Et("ninja",e,Vt,t,r)}function Xt(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:Fe("kcov")}}function Wt(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:Fe("kcov"),extractFunction:Yt}}async function Yt(e,t){const r=await gt(e,t,1),n=await async function(){let e=ha.sync("cmake",{nothrow:!0});if(null===e){const{binDir:t}=await _t(Ct("cmake",void 0,await bv()),Ir(ee("~"),"cmake"),"");e=Ir(t,"cmake")}return null===ha.sync("ninja",{nothrow:!0})&&await zt(Ct("ninja",void 0,await bv()),Ir(ee("~"),"ninja"),""),e}();"linux"===process.platform&&($e()?await Promise.all([Ke("libdwarf"),Ke("libcurl-openssl")]):Ce()?await Ye([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):Le()&&await Se([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}]));try{if(null!==ha.sync("patch",{nothrow:!0})){const e=Ir(Pv,"gcc13.patch");await x("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"})}else g("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13")}catch{}const o=Ir(r,"build");return await x(n,["-S",r,"-B",o,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await x(n,["--build",o,"--config","Release"],{cwd:r,stdio:"inherit"}),r}function Kt(e){return Object.values(Hv).includes(e)?e:e in Hv?Hv[e]:e}function Jt(e){if(Object.keys(Hv).includes(e))return e;for(const[t,r]of Object.entries(Hv))if(r===e)return t;return e}function Qt(e){const t=Kt(e);let r;if(t){const e=t.split(".")[0]+".9";r=`-version "${t},${e}"`}else r="-latest";let n=function(e,t){try{return(""+Dv.execSync(`vswhere -products * ${t} -prerelease -property installationPath`)).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(r){Lv.warning("vswhere failed: "+r)}return null}(0,r);if(n&&kv.existsSync(n))return Lv.info("Found with vswhere: "+n),n;Lv.info("Not found with vswhere");const o=e?[Jt(e)]:Bv;for(const i of Mv)for(const e of o)for(const t of Gv)if(n=`${i}\\Microsoft Visual Studio\\${e}\\${t}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,Lv.info("Trying standard location: "+n),kv.existsSync(n))return Lv.info("Found standard location: "+n),n;if(Lv.info("Not found in standard locations"),n=Fv+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",kv.existsSync(n))return Lv.info("Found VS 2015: "+n),n;throw Lv.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found")}function Zt(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}async function er(e,t,r,n,o,i,s){void 0!==t&&await Z(t)&&(g(`Adding ${t} to PATH`),await ne("VCTargetsPath",t,fy)),await Xv(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}}(r),o,n,i,s,e)}async function tr(e,t,r,n,o,i,s,a=Wv){Do.startGroup(`Installing ${e} ${t}`);let c=!1;try{c=await function(e,t){const{milliseconds:r,fallback:n,message:o,customTimers:i={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t;let s;const a=new Promise(((a,c)=>{if("number"!=typeof r||1!==Math.sign(r))throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(t.signal){const{signal:e}=t;e.aborted&&c($v(e)),e.addEventListener("abort",(()=>{c($v(e))}))}if(r===1/0)return void e.then(a,c);const u=new Av;s=i.setTimeout.call(void 0,(()=>{if(n)try{a(n())}catch(t){c(t)}else"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?c(o):(u.message=o??`Promise timed out after ${r} milliseconds`,c(u))}),r),(async()=>{try{a(await e)}catch(t){c(t)}})()})).finally((()=>{a.clear()}));return a.clear=()=>{i.clearTimeout.call(void 0,s),s=void 0},a}(async function(e,t,r,n,o,i){const s=["llvm","clangformat","clangtidy"].includes(e);let a;if("vcvarsall"===e)await er(Ct(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)a=await Pe({rcOptions:fy});else{const i=Ir(o,s?"llvm":e),c=Ct(e,t,r),u=uy[e];a=await u(c,i,n)}return i.push(hr(e,a)),s}(e,t,r,n,o,i),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`})}catch(u){m(u),u instanceof Error&&void 0!==u.stack&&m(u.stack),s.push(e+" failed to install")}return Do.endGroup(),c}function rr(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function nr(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function or(e,t){switch(e){case"darwin":return function(e){if(Qv.has(e))return null;const t="clang+llvm-",r=`-x86_64${"9.0.0"===e?"-darwin-apple":"-apple-darwin"}.tar.xz`;return bf(e,"9.0.1")?nr(e,t,r):rr(e,t,r)}(t);case"linux":return function(e){let t=e;const r=Zv.get(t);let n;if(void 0!==r&&(t=r),t.includes("ubuntu")){const e=t.replace(/-ubuntu-.*/,"");if(!Kv.has(e))throw Error("Unsupported Ubuntu version: "+e);n=t.replace(e,""),t=Ot(Kv,e)[0]}else""!==t&&t in ey?n=ey[t]:(n=ey[ty],v(`Falling back to LLVM version ${ty} ${n} for the Ubuntu.`));const o="clang+llvm-";let i;return i="5.0.0"===t?`-linux-x86_64${n}.tar.xz`:n.includes("-rhel86")?`-x86_64-unknown-linux-gnu${n}.tar.xz`:`-x86_64-linux-gnu${n}.tar.xz`,bf(t,"9.0.1")?nr(t,o,i):rr(t,o,i)}(t);case"win32":return async function(e){if(Jv.has(e))return null;const t="LLVM-",r=bf(e,"3.7.0")?"-win32.exe":"-win64.exe",n=bf(e,"9.0.1");let o,i=!1;return n&&(o=nr(e,t,r),await dv(o)||(i=!0)),!i&&n||(o=rr(e,t,r)),o}(t);default:return null}}async function ir(e,t,r){const[n,o]=await async function(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){const e=await n(t,r);if(null!==e&&await dv(e))return[r,e]}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);for(const o of Ot(e,r)){const e=await n(t,o);if(null!==e&&await dv(e))return[o,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`)}(Kv,t,e,or);return g("specific llvm version: "+n),{url:o,extractedFolderName:"",binRelativeDir:"bin",binFileName:Fe("clang"),extractFunction:"win32"===t?vt:(e,t)=>gt(e,t,1)}}async function sr(e,t,r){const n=await ny(e,t,r);return await async function(e){const t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[ne("LLVM_PATH",e,fy),ne("LD_LIBRARY_PATH",`${e}/lib${Tr}${t}`,fy),ne("DYLD_LIBRARY_PATH",`${e}/lib${Tr}${r}`,fy),ne("LDFLAGS",`-L"${e}/lib"`,fy),ne("CPPFLAGS",`-I"${e}/include"`,fy),ne("CC",Fe(e+"/bin/clang"),fy),ne("CXX",Fe(e+"/bin/clang++"),fy),ne("LIBRARY_PATH",e+"/lib",fy),Bt()];if(Le()){const t=60;n.push(ve("cc",e+"/bin/clang",fy,t),ve("cxx",e+"/bin/clang++",fy,t),ve("clang",e+"/bin/clang",fy),ve("clang++",e+"/bin/clang++",fy),ve("lld",e+"/bin/lld",fy),ve("ld.lld",e+"/bin/ld.lld",fy),ve("llvm-ar",e+"/bin/llvm-ar",fy))}await Promise.all(n)}(n.installDir??t),n}async function ar(e,t,r,n=Yv.All){const o=function(e){if(null===qp(e))try{const t=Df(e);if(null!==t)return g(`Coerced version '${e}' to '${t}'`),t.version}catch(t){}return e}(e),i=Number.parseInt(o.split(".")[0],10);try{if(Le())return await async function(e,t=0){const r="/usr/lib/llvm-"+e;await Se([{name:"ca-certificates"}]);const n=new Xd.DownloaderHelper("https://apt.llvm.org/llvm.sh",yr(),{fileName:"llvm.sh"});n.on("error",(e=>{throw Error("Failed to download the LLVM installer script: "+e)})),await n.start();const o=await Zr(n.getDownloadPath(),"utf-8"),i=Ir(yr(),"llvm-setup-cpp.sh"),s=await async function(e,t,r,n){let o=function(e){return"1"!==process.env.NODE_DEBUG&&"true"!==process.env.NODE_DEBUG?e.replace(/set -eux/g,"set -eu"):e}(e);return o=function(e){return e.replace(/add-apt-repository "\${REPO_NAME}"/g,`add-apt-repository -y -n "\${REPO_NAME}"\napt-get update -o ${Yd} -y`)}(o),o=function(e,t,r){return 1===e?t.replace(/ -y \$PKG/g," -y clang-format-"+r):t}(n,o,r),o=await async function(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${Yd} -y --fix-broken`);return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map((async e=>{const r=e.replace("$LLVM_VERSION","*");await async function(e){try{const{stdout:t}=await x("dpkg",["-l",e],{env:ye("apt-get"),stdio:"pipe"});return"string"==typeof t&&t.split("\n").some((e=>e.startsWith("ii")))}catch{return!1}}(r)&&(En("Removing conflicting package "+r),t=t.replace(e,""))}))),t}(o),o=function(e){return ge()?e.replace(/apt-get/g,"nala"):e}(o),await en(t,o),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}]}(o,i,e,t);return await Se(s),await Jr(i,"755"),await U("bash",[i,""+e,...0===t?["all"]:[]],{stdio:"inherit",shell:!0,timeout:Wv}),await ie(r+"/bin",fy),{installDir:""+r,binDir:r+"/bin",bin:r+"/bin/clang++"}}(i,n)}catch(a){g("Failed to install llvm via system package manager "+a)}const s=await Et("llvm",e,ir,t,r);return await oy(i),s}async function cr(){if(_n.GITHUB_ACTIONS){const e=Ir(ry,"llvm_matcher.json");if(!(await Z(e)))return v("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");g("::add-matcher::"+e)}}async function ur(e,t,r,n,o,i){if("win32"!==process.platform)return;const s=qv(e);g(`Checking if MSVC ${s} is already installed`);let a,c,u=!1;try{const e=zv(s);u=!0,g("Found the pre-installed version of MSVC at "+e)}catch{}if(!u)try{"14.0"===s?(a="14.0",await We("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),c="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===s?(a="14.16",await We("visualstudio2017buildtools","15.9.41.0",[]),c="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===s?(a="14.29",await We("visualstudio2019buildtools","16.11.7.0",[]),c="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===s?(a=void 0,await We("visualstudio2022buildtools","117.0.5.0",[]),c=void 0):m(`The given MSVC versions ${e} is not supported yet.`)}catch(l){m(l)}await er(s,c,r,a,n,o,i),_n.GITHUB_ACTIONS&&await async function(){const e=Ir(sy,"msvc_matcher.json");if(!(await Z(e)))return v("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");g("::add-matcher::"+e)}()}function lr(e,t,r){return{url:pr(t,r,e),binRelativeDir:"",binFileName:Fe("pwsh"),extractedFolderName:""}}function pr(e,t,r){switch(e){case"win32":return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/PowerShell-${r}-${["ia32","x86","i386","x32"].includes(t)?"win-x86":"win-x64"}.zip`;case"darwin":return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${["arm","arm64"].includes(t)?"osx-arm64":"osx-x64"}.tar.gz`;case"linux":return`https://github.com/PowerShell/PowerShell/releases/download/v${r}/powershell-${r}-${{arm64:"linux-arm64",arm:"linux-arm64",arm32:"linux-arm32",aarch64:"linux-arm64",x64:"linux-x64"}[t]??"linux-x64"}.tar.gz`;default:throw Error(`Unsupported platform '${e}'`)}}function fr(e,t,r){const n=function(e){return"win32"===e?"windows":e}(t),o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e}}(r),i="win32"===t?"zip":"tar.gz";return{binRelativeDir:"",binFileName:Fe("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${n}_${o}.${i}`}}function dr(e){const t=Do.getInput(e.toLowerCase());if("false"!==t&&""!==t)return t}function hr(e,t){let r=`✅ ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r}import mr,{homedir as vr,tmpdir as yr}from"os";import gr,{promises as Er,mkdir as wr,stat as _r,statSync as br,mkdirSync as Or}from"fs";import Rr from"crypto";import Sr,{join as Ir,delimiter as Tr,dirname as xr,basename as Pr,extname as Ar,normalize as Nr,sep as Cr,relative as $r,resolve as Lr,parse as Dr}from"path";import*as kr from"http";import Ur from"http";import*as jr from"https";import Fr,{request as Mr}from"https";import"net";import Gr from"tls";import Br from"events";import Hr from"util";import qr from"child_process";import Vr from"assert";import zr from"buffer";import Xr from"stream";import{debuglog as Wr}from"node:util";import Yr from"node:process";import Kr,{chmod as Jr,readdir as Qr,readFile as Zr,writeFile as en}from"fs/promises";import{Buffer as tn}from"node:buffer";import rn from"node:path";import nn,{ChildProcess as on}from"node:child_process";import{fileURLToPath as sn}from"node:url";import an,{constants as cn}from"node:os";import{createWriteStream as un,readFileSync as ln,createReadStream as pn,promises as fn}from"node:fs";import dn from"process";import hn,{URL as mn,fileURLToPath as vn}from"url";import yn from"string_decoder";import gn from"timers";import{info as En}from"console";var wn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},_n={};const bn=[{name:"Agola CI",constant:"AGOLA",env:"AGOLA_GIT_REF",pr:"AGOLA_PULL_REQUEST_ID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"TF_BUILD",pr:{BUILD_REASON:"PullRequest"}},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Earthly",constant:"EARTHLY",env:"EARTHLY_CI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"Gitea Actions",constant:"GITEA_ACTIONS",env:"GITEA_ACTIONS"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Prow",constant:"PROW",env:"PROW_JOB_ID"},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vela",constant:"VELA",env:"VELA",pr:{VELA_PULL_REQUEST:"1"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]},pr:"VERCEL_GIT_PULL_REQUEST_ID"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}];!function(e){function t(e){return"string"==typeof e?!!n[e]:"env"in e?n[e.env]&&n[e.env].includes(e.includes):"any"in e?e.any.some((function(e){return!!n[e]})):Object.keys(e).every((function(t){return n[t]===e[t]}))}const r=bn,n=process.env;Object.defineProperty(e,"_vendors",{value:r.map((function(e){return e.constant}))}),e.name=null,e.isPR=null,r.forEach((function(r){const o=(Array.isArray(r.env)?r.env:[r.env]).every((function(e){return t(e)}));if(e[r.constant]=o,o)switch(e.name=r.name,typeof r.pr){case"string":e.isPR=!!n[r.pr];break;case"object":e.isPR="env"in r.pr?r.pr.env in n&&n[r.pr.env]!==r.pr.ne:"any"in r.pr?r.pr.any.some((function(e){return!!n[e]})):t(r.pr);break;default:e.isPR=null}})),e.isCI=!("false"===n.CI||!(n.BUILD_ID||n.BUILD_NUMBER||n.CI||n.CI_APP_ID||n.CI_BUILD_ID||n.CI_BUILD_NUMBER||n.CI_NAME||n.CONTINUOUS_INTEGRATION||n.RUN_ID||e.name))}(_n);var On={},Rn={},Sn={};Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.toCommandProperties=Sn.toCommandValue=void 0,Sn.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)},Sn.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}};var In=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),Tn=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),xn=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&In(t,e,r);return Tn(t,e),t};Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.issue=Rn.issueCommand=void 0;const Pn=xn(mr),An=Sn;Rn.issueCommand=r,Rn.issue=function(e,t=""){r(e,{},t)};class Nn{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,An.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+function(e){return An.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}(this.message),e}}var Cn={};const $n=new Uint8Array(256);let Ln=$n.length;const Dn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,kn=[];for(let hy=0;256>hy;++hy)kn.push((hy+256).toString(16).substr(1));let Un,jn,Fn=0,Mn=0;const Gn=a("v3",48,(function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),Rr.createHash("md5").update(e).digest()})),Bn=a("v5",80,(function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),Rr.createHash("sha1").update(e).digest()})),Hn=Object.freeze(Object.defineProperty({__proto__:null,NIL:"00000000-0000-0000-0000-000000000000",parse:s,stringify:i,v1:function(e,t,r){let o=t&&r||0;const s=t||Array(16);let a=(e=e||{}).node||Un,c=void 0!==e.clockseq?e.clockseq:jn;if(null==a||null==c){const t=e.random||(e.rng||n)();null==a&&(a=Un=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==c&&(c=jn=16383&(t[6]<<8|t[7]))}let u=void 0!==e.msecs?e.msecs:Date.now(),l=void 0!==e.nsecs?e.nsecs:Mn+1;const p=u-Fn+(l-Mn)/1e4;if(0>p&&void 0===e.clockseq&&(c=c+1&16383),(0>p||u>Fn)&&void 0===e.nsecs&&(l=0),l>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Fn=u,Mn=l,jn=c,u+=122192928e5;const f=(1e4*(268435455&u)+l)%4294967296;s[o++]=f>>>24&255,s[o++]=f>>>16&255,s[o++]=f>>>8&255,s[o++]=255&f;const d=u/4294967296*1e4&268435455;s[o++]=d>>>8&255,s[o++]=255&d,s[o++]=d>>>24&15|16,s[o++]=d>>>16&255,s[o++]=c>>>8|128,s[o++]=255&c;for(let n=0;6>n;++n)s[o+n]=a[n];return t||i(s)},v3:Gn,v4:function(e,t,r){const o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;16>e;++e)t[r+e]=o[e];return t}return i(o)},v5:Bn,validate:o,version:function(e){if(!o(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},Symbol.toStringTag,{value:"Module"})),qn=t(Hn);var Vn=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),zn=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Xn=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Vn(t,e,r);return zn(t,e),t};Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.prepareKeyValueMessage=Cn.issueFileCommand=void 0;const Wn=Xn(gr),Yn=Xn(mr),Kn=qn,Jn=Sn;Cn.issueFileCommand=function(e,t){const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!Wn.existsSync(r))throw Error("Missing file at path: "+r);Wn.appendFileSync(r,`${Jn.toCommandValue(t)}${Yn.EOL}`,{encoding:"utf8"})},Cn.prepareKeyValueMessage=function(e,t){const r="ghadelimiter_"+Kn.v4(),n=Jn.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${Yn.EOL}${n}${Yn.EOL}${r}`};var Qn={};class Zn extends URL{_decodedUsername;_decodedPassword;constructor(e,t){super(e,t),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}var eo,to={},ro=Gr,no=Ur,oo=Fr,io=Br,so=Hr;to.httpOverHttp=function(e){var t=new u(e);return t.request=no.request,t},to.httpsOverHttp=function(e){var t=new u(e);return t.request=no.request,t.createSocket=l,t.defaultPort=443,t},to.httpOverHttps=function(e){var t=new u(e);return t.request=oo.request,t},to.httpsOverHttps=function(e){var t=new u(e);return t.request=oo.request,t.createSocket=l,t.defaultPort=443,t},so.inherits(u,io.EventEmitter),u.prototype.addRequest=function(e,t,r,n){var o=this,i=f({request:e},o.options,p(t,r,n));this.maxSockets>o.sockets.length?o.createSocket(i,(function(t){function r(){o.emit("free",t,i)}function n(e){o.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)})):o.requests.push(i)},u.prototype.createSocket=function(e,t){function r(r,i,a){var c;return s.removeAllListeners(),i.removeAllListeners(),200!==r.statusCode?(eo("tunneling socket could not be established, statusCode=%d",r.statusCode),i.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):a.length>0?(eo("got illegal response body from proxy"),i.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):(eo("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=i,t(i))}var n=this,o={};n.sockets.push(o);var i=f({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),eo("making CONNECT request");var s=n.request(i);s.useChunkedEncodingByDefault=!1,s.once("response",(function(e){e.upgrade=!0})),s.once("upgrade",(function(e,t,n){process.nextTick((function(){r(e,t,n)}))})),s.once("connect",r),s.once("error",(function(t){s.removeAllListeners(),eo("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),n.removeSocket(o)})),s.end()},u.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,(function(e){r.request.onSocket(e)}))}},eo=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=[].slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},to.debug=eo;var ao,co,uo,lo,po,fo=to;(co=ao||(ao={}))[co.OK=200]="OK",co[co.MultipleChoices=300]="MultipleChoices",co[co.MovedPermanently=301]="MovedPermanently",co[co.ResourceMoved=302]="ResourceMoved",co[co.SeeOther=303]="SeeOther",co[co.NotModified=304]="NotModified",co[co.UseProxy=305]="UseProxy",co[co.SwitchProxy=306]="SwitchProxy",co[co.TemporaryRedirect=307]="TemporaryRedirect",co[co.PermanentRedirect=308]="PermanentRedirect",co[co.BadRequest=400]="BadRequest",co[co.Unauthorized=401]="Unauthorized",co[co.PaymentRequired=402]="PaymentRequired",co[co.Forbidden=403]="Forbidden",co[co.NotFound=404]="NotFound",co[co.MethodNotAllowed=405]="MethodNotAllowed",co[co.NotAcceptable=406]="NotAcceptable",co[co.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",co[co.RequestTimeout=408]="RequestTimeout",co[co.Conflict=409]="Conflict",co[co.Gone=410]="Gone",co[co.TooManyRequests=429]="TooManyRequests",co[co.InternalServerError=500]="InternalServerError",co[co.NotImplemented=501]="NotImplemented",co[co.BadGateway=502]="BadGateway",co[co.ServiceUnavailable=503]="ServiceUnavailable",co[co.GatewayTimeout=504]="GatewayTimeout",(lo=uo||(uo={})).Accept="accept",lo.ContentType="content-type",(po||(po={})).ApplicationJson="application/json";const ho=[ao.MovedPermanently,ao.ResourceMoved,ao.SeeOther,ao.TemporaryRedirect,ao.PermanentRedirect],mo=[ao.BadGateway,ao.ServiceUnavailable,ao.GatewayTimeout],vo=["OPTIONS","GET","DELETE","HEAD"];class yo extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,yo.prototype)}statusCode;result}class go{constructor(e){this.message=e}message;async readBody(){return new Promise((async e=>{let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(""+t)}))}))}async readBodyBuffer(){return new Promise((async e=>{const t=[];this.message.on("data",(e=>{t.push(e)})),this.message.on("end",(()=>{e(Buffer.concat(t))}))}))}}const Eo=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{}),wo=Object.freeze(Object.defineProperty({__proto__:null,get Headers(){return uo},HttpClient:class{userAgent;handlers;requestOptions;_ignoreSslError=!1;_socketTimeout;_allowRedirects=!0;_allowRedirectDowngrade=!1;_maxRedirects=50;_allowRetries=!1;_maxRetries=1;_agent;_proxyAgent;_proxyAgentDispatcher;_keepAlive=!1;_disposed=!1;constructor(e,t,r){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))}async options(e,t){return this.request("OPTIONS",e,null,t||{})}async get(e,t){return this.request("GET",e,null,t||{})}async del(e,t){return this.request("DELETE",e,null,t||{})}async post(e,t,r){return this.request("POST",e,t,r||{})}async patch(e,t,r){return this.request("PATCH",e,t,r||{})}async put(e,t,r){return this.request("PUT",e,t,r||{})}async head(e,t){return this.request("HEAD",e,null,t||{})}async sendStream(e,t,r,n){return this.request(e,t,r,n)}async getJson(e,t={}){t[uo.Accept]=this._getExistingOrDefaultHeader(t,uo.Accept,po.ApplicationJson);const r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){const n=JSON.stringify(t,null,2);r[uo.Accept]=this._getExistingOrDefaultHeader(r,uo.Accept,po.ApplicationJson),r[uo.ContentType]=this._getExistingOrDefaultHeader(r,uo.ContentType,po.ApplicationJson);const o=await this.post(e,n,r);return this._processResponse(o,this.requestOptions)}async putJson(e,t,r={}){const n=JSON.stringify(t,null,2);r[uo.Accept]=this._getExistingOrDefaultHeader(r,uo.Accept,po.ApplicationJson),r[uo.ContentType]=this._getExistingOrDefaultHeader(r,uo.ContentType,po.ApplicationJson);const o=await this.put(e,n,r);return this._processResponse(o,this.requestOptions)}async patchJson(e,t,r={}){const n=JSON.stringify(t,null,2);r[uo.Accept]=this._getExistingOrDefaultHeader(r,uo.Accept,po.ApplicationJson),r[uo.ContentType]=this._getExistingOrDefaultHeader(r,uo.ContentType,po.ApplicationJson);const o=await this.patch(e,n,r);return this._processResponse(o,this.requestOptions)}async request(e,t,r,n){if(this._disposed)throw Error("Client has already been disposed.");const o=new URL(t);let i=this._prepareRequest(e,o,n);const s=this._allowRetries&&vo.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=await this.requestRaw(i,r),a&&a.message&&a.message.statusCode===ao.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,i,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&ho.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const s=a.message.headers.location;if(!s)break;const c=new URL(s);if("https:"===o.protocol&&o.protocol!==c.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(await a.readBody(),c.hostname!==o.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];i=this._prepareRequest(e,c,n),a=await this.requestRaw(i,r),t--}if(!a.message.statusCode||!mo.includes(a.message.statusCode))return a;c+=1,s>c&&(await a.readBody(),await this._performExponentialBackoff(c))}while(s>c);return a}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}async requestRaw(e,t){return new Promise(((r,n)=>{this.requestRawWithCallback(e,t,(function(e,t){e?n(e):t?r(t):n(Error("Unknown error"))}))}))}requestRawWithCallback(e,t,r){function n(e,t){o||(o=!0,r(e,t))}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1;const i=e.httpModule.request(e.options,(e=>{n(void 0,new go(e))}));let s;i.on("socket",(e=>{s=e})),i.setTimeout(this._socketTimeout||18e4,(()=>{s&&s.end(),n(Error("Request timeout: "+e.options.path))})),i.on("error",(function(e){n(e)})),t&&"string"==typeof t&&i.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(function(){i.end()})),t.pipe(i)):i.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}async getAgentDispatcher(e){const t=new URL(e),r=c(t);if(r&&r.hostname)return await this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const o="https:"===n.parsedUrl.protocol;n.httpModule=o?jr:kr;const i=o?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const s of this.handlers)s.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Eo(this.requestOptions.headers),Eo(e||{})):Eo(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=Eo(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=c(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),n||(t=this._agent),t)return t;const o="https:"===e.protocol;let i=100;if(this.requestOptions&&(i=this.requestOptions.maxSockets||kr.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:i,keepAlive:this._keepAlive,proxy:{...(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`},host:r.hostname,port:r.port}};let n;const s="https:"===r.protocol;n=o?s?fo.httpsOverHttps:fo.httpsOverHttp:s?fo.httpOverHttps:fo.httpOverHttp,t=n(e),this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:i};t=o?new jr.Agent(e):new kr.Agent(e),this._agent=t}return o&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}async _getProxyAgentDispatcher(e,t){let r;if(this._keepAlive&&(r=this._proxyAgentDispatcher),r)return r;const n="https:"===e.protocol;return r=new(await import("./assets/proxy-agent-CtreyBpw.mjs").then((e=>e.p)))({uri:t.href,pipelining:this._keepAlive?1:0,...(t.username||t.password)&&{token:"Basic "+Buffer.from(`${t.username}:${t.password}`).toString("base64")}}),this._proxyAgentDispatcher=r,n&&this._ignoreSslError&&(r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:!1})),r}async _performExponentialBackoff(e){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}async _processResponse(e,t){return new Promise((async(r,n)=>{const o=e.message.statusCode||0,i={statusCode:o,result:null,headers:{}};let s,a;o===ao.NotFound&&r(i);try{a=await e.readBody(),a&&a.length>0&&(s=t&&t.deserializeDates?JSON.parse(a,(function(e,t){if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),i.result=s),i.headers=e.message.headers}catch(c){}if(o>299){let e;e=s&&s.message?s.message:a&&a.length>0?a:`Failed request: (${o})`;const t=new yo(e,o);t.result=i.result,n(t)}else r(i)}))}},HttpClientError:yo,HttpClientResponse:go,get HttpCodes(){return ao},get MediaTypes(){return po},getProxyUrl:function(e){const t=c(new URL(e));return t?t.href:""},isHttps:function(e){return"https:"===new URL(e).protocol}},Symbol.toStringTag,{value:"Module"})),_o=t(wo);var bo,Oo={},Ro=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.PersonalAccessTokenCredentialHandler=Oo.BearerCredentialHandler=Oo.BasicCredentialHandler=void 0,Oo.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return Ro(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},Oo.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token}canHandleAuthentication(){return!1}handleAuthentication(){return Ro(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},Oo.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return Ro(this,void 0,void 0,(function*(){throw Error("not implemented")}))}};var So,Io,To,xo,Po,Ao,No,Co,$o={},Lo={},Do=h(),ko={exports:{}};Co="win32"===process.platform||wn.TESTING_WINDOWS?function(){function e(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;r.length>n;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1}(t,r)}function t(t,n,o){r.stat(t,(function(r,i){o(r,!r&&e(i,t,n))}))}if(Po)return xo;Po=1,xo=t,t.sync=function(t,n){return e(r.statSync(t),t,n)};var r=gr;return xo}():function(){function e(e,n,o){r.stat(e,(function(e,r){o(e,!e&&t(r,n))}))}function t(e,t){return e.isFile()&&function(e,t){var r=e.mode,n=e.uid,o=e.gid,i=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),u=a|c;return r&parseInt("001",8)||r&c&&o===s||r&a&&n===i||r&u&&0===i}(e,t)}if(No)return Ao;No=1,Ao=e,e.sync=function(e,n){return t(r.statSync(e),n)};var r=gr;return Ao}();var Uo=E;E.sync=function(e,t){try{return Co.sync(e,t||{})}catch(r){if(t&&t.ignoreErrors||"EACCES"===r.code)return!1;throw r}};const jo="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,Fo=Sr,Mo=jo?";":":",Go=Uo,Bo=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),Ho=(e,t)=>{const r=t.colon||Mo,n=e.match(/\//)||jo&&e.match(/\\/)?[""]:[...jo?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=jo?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=jo?o.split(r):[""];return jo&&-1!==e.indexOf(".")&&""!==i[0]&&i.unshift(""),{pathEnv:n,pathExt:i,pathExtExe:o}},qo=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:o,pathExtExe:i}=Ho(e,t),s=[],a=r=>new Promise(((o,i)=>{if(r===n.length)return t.all&&s.length?o(s):i(Bo(e));const a=n[r],u=/^".*"$/.test(a)?a.slice(1,-1):a,l=Fo.join(u,e),p=!u&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;o(c(p,r,0))})),c=(e,r,n)=>new Promise(((u,l)=>{if(n===o.length)return u(a(r+1));const p=o[n];Go(e+p,{pathExt:i},((o,i)=>{if(!o&&i){if(!t.all)return u(e+p);s.push(e+p)}return u(c(e,r,n+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};var Vo=qo;qo.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:o}=Ho(e,t),i=[];for(let a=0;r.length>a;a++){const c=r[a],u=/^".*"$/.test(c)?c.slice(1,-1):c,l=Fo.join(u,e),p=!u&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;n.length>e;e++){const r=p+n[e];try{if(Go.sync(r,{pathExt:o})){if(!t.all)return r;i.push(r)}}catch(s){}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw Bo(e)};var zo={exports:{}};const Xo=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};zo.exports=Xo,zo.exports.default=Xo;const Wo=Sr,Yo=Vo,Ko=zo.exports;var Jo={};const Qo=/([()\][%!^"`<>&|;, *?])/g;Jo.command=function(e){return e.replace(Qo,"^$1")},Jo.argument=function(e,t){return e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Qo,"^$1"),t&&(e=e.replace(Qo,"^$1")),e};const Zo=/^#!(.*)/,ei=gr,ti=Sr,ri=function(e){return w(e)||w(e,!0)},ni=Jo,oi=function(e){const t=Buffer.alloc(150);let r;try{r=ei.openSync(e,"r"),ei.readSync(r,t,0,150,0),ei.closeSync(r)}catch(n){}return((e="")=>{const t=e.match(Zo);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return"env"===o?n:n?`${o} ${n}`:o})(""+t)},ii="win32"===process.platform,si=/\.(?:com|exe)$/i,ai=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,ci="win32"===process.platform,ui=qr,li=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);const n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!ii)return e;const t=function(e){e.file=ri(e);const t=e.file&&oi(e.file);return t?(e.args.unshift(e.file),e.command=t,ri(e)):e.file}(e),r=!si.test(t);if(e.options.forceShell||r){const r=ai.test(t);e.command=ti.normalize(e.command),e.command=ni.command(e.command),e.args=e.args.map((e=>ni.argument(e,r)));const n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}(n)},pi={hookChildProcess:function(e,t){if(!ci)return;const r=e.emit;e.emit=function(n,o){if("exit"===n){const n=b(o,t);if(n)return r.call(e,"error",n)}return r.apply(e,arguments)}},verifyENOENT:b,verifyENOENTSync:function(e,t){return ci&&1===e&&!t.file?_(t.original,"spawnSync"):null},notFoundError:_};ko.exports=O,ko.exports.spawn=O,ko.exports.sync=function(e,t,r){const n=li(e,t,r),o=ui.spawnSync(n.command,n.args,n.options);return o.error=o.error||pi.verifyENOENTSync(o.status,n),o},ko.exports._parse=li,ko.exports._enoent=pi;const fi=e(ko.exports),di=({env:e=Yr.env,...t}={})=>{const r=R({env:e={...e}});return t.path=e[r],e[r]=(({cwd:e=Yr.cwd(),path:t=Yr.env[R()],preferLocal:r=!0,execPath:n=Yr.execPath,addExecPath:o=!0}={})=>{const i=e instanceof URL?sn(e):e,s=rn.resolve(i),a=[];return r&&((e,t)=>{let r;for(;r!==t;)e.push(rn.join(t,"node_modules/.bin")),r=t,t=rn.resolve(t,"..")})(a,s),o&&((e,t,r)=>{const n=t instanceof URL?sn(t):t;e.push(rn.resolve(r,n,".."))})(a,n,s),[...a,t].join(rn.delimiter)})(t),e},hi=(e,t,r,n)=>{if("length"===r||"prototype"===r)return;if("arguments"===r||"caller"===r)return;const o=Object.getOwnPropertyDescriptor(e,r),i=Object.getOwnPropertyDescriptor(t,r);!mi(o,i)&&n||Object.defineProperty(e,r,i)},mi=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},vi=(e,t)=>`/* Wrapped ${e}*/\n${t}`,yi=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),gi=Object.getOwnPropertyDescriptor(function(){}.toString,"name"),Ei=new WeakMap,wi=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,n=0;const o=e.displayName||e.name||"",i=function(...s){if(Ei.set(i,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${o}\` can only be called once`);return r};return function(e,t,{ignoreNonConfigurable:r=!1}={}){const{name:n}=e;for(const o of Reflect.ownKeys(t))hi(e,t,o,r);((e,t)=>{const r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)})(e,t),((e,t,r)=>{const n=""===r?"":`with ${r.trim()}() `,o=vi.bind(null,n,""+t);Object.defineProperty(o,"name",gi),Object.defineProperty(e,"toString",{...yi,value:o})})(e,t,n)}(i,e),Ei.set(i,n),i};wi.callCount=e=>{if(!Ei.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Ei.get(e)};const _i=(e,t)=>({name:"SIGRT"+(t+1),number:bi+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),bi=34,Oi=[{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"}],Ri=()=>{const e=Array.from({length:64-bi+1},_i);return[...Oi,...e].map(Si)},Si=({name:e,number:t,description:r,action:n,forced:o=!1,standard:i})=>{const{signals:{[e]:s}}=cn,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:o,standard:i}},Ii=({name:e,number:t,description:r,supported:n,action:o,forced:i,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:o,forced:i,standard:s}],Ti=(()=>{const e=Ri();return Object.fromEntries(e.map(Ii))})(),xi=(e,t)=>{const r=t.find((({name:t})=>cn.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))};(()=>{const e=Ri(),t=Array.from({length:65},((t,r)=>((e,t)=>{const r=xi(e,t);if(void 0===r)return{};const{name:n,description:o,supported:i,action:s,forced:a,standard:c}=r;return{[e]:{name:n,number:e,description:o,supported:i,action:s,forced:a,standard:c}}})(r,e)));Object.assign({},...t)})();const Pi=({stdout:e,stderr:t,all:r,error:n,signal:o,exitCode:i,command:s,escapedCommand:a,timedOut:c,isCanceled:u,killed:l,parsed:{options:{timeout:p,cwd:f=Yr.cwd()}}})=>{const d=void 0===(o=null===o?void 0:o)?void 0:Ti[o].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:o,exitCode:i,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${o})`:void 0!==i?"failed with exit code "+i:"failed")({timedOut:c,timeout:p,errorCode:n&&n.code,signal:o,signalDescription:d,exitCode:i=null===i?void 0:i,isCanceled:u}),m=`Command ${h}: ${s}`,v="[object Error]"==={}.toString.call(n),y=v?`${m}\n${n.message}`:m,g=[y,t,e].filter(Boolean).join("\n");return v?(n.originalMessage=n.message,n.message=g):n=Error(g),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=i,n.signal=o,n.signalDescription=d,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!c,n.isCanceled=u,n.killed=l&&!c,n},Ai=["stdin","stdout","stderr"];var Ni,Ci={exports:{}},$i={exports:{}},Li=wn.process;const Di=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on};if(Di(Li)){var ki,Ui=Vr,ji=(Ni||(Ni=1,(Ki=$i).exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&Ki.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&Ki.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")),$i.exports),Fi=/^win/i.test(Li.platform),Mi=Br;"function"!=typeof Mi&&(Mi=Mi.EventEmitter),Li.__signal_exit_emitter__?ki=Li.__signal_exit_emitter__:((ki=Li.__signal_exit_emitter__=new Mi).count=0,ki.emitted={}),ki.infinite||(ki.setMaxListeners(1/0),ki.infinite=!0),Ci.exports=function(e,t){if(!Di(wn.process))return function(){};Ui.equal(typeof e,"function","a callback must be provided for exit handler"),!1===qi&&Vi();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),ki.on(r,e),function(){ki.removeListener(r,e),0===ki.listeners("exit").length&&0===ki.listeners("afterexit").length&&Gi()}};var Gi=function(){qi&&Di(wn.process)&&(qi=!1,ji.forEach((function(e){try{Li.removeListener(e,Hi[e])}catch(t){}})),Li.emit=Wi,Li.reallyExit=zi,ki.count-=1)};Ci.exports.unload=Gi;var Bi=function(e,t,r){ki.emitted[e]||(ki.emitted[e]=!0,ki.emit(e,t,r))},Hi={};ji.forEach((function(e){Hi[e]=function(){Di(wn.process)&&Li.listeners(e).length===ki.count&&(Gi(),Bi("exit",null,e),Bi("afterexit",null,e),Fi&&"SIGHUP"===e&&(e="SIGINT"),Li.kill(Li.pid,e))}})),Ci.exports.signals=function(){return ji};var qi=!1,Vi=function(){!qi&&Di(wn.process)&&(qi=!0,ki.count+=1,ji=ji.filter((function(e){try{return Li.on(e,Hi[e]),!0}catch(t){return!1}})),Li.emit=Yi,Li.reallyExit=Xi)};Ci.exports.load=Vi;var zi=Li.reallyExit,Xi=function(e){Di(wn.process)&&(Li.exitCode=e||0,Bi("exit",Li.exitCode,null),Bi("afterexit",Li.exitCode,null),zi.call(Li,Li.exitCode))},Wi=Li.emit,Yi=function(e,t){if("exit"===e&&Di(wn.process)){void 0!==t&&(Li.exitCode=t);var r=Wi.apply(this,arguments);return Bi("exit",Li.exitCode,null),Bi("afterexit",Li.exitCode,null),r}return Wi.apply(this,arguments)}}else Ci.exports=function(){return function(){}};var Ki;const Ji=e(Ci.exports),Qi=(e,t="SIGTERM",r={})=>{const n=e(t);return Zi(e,t,r,n),n},Zi=(e,t,r,n)=>{if(!es(t,r,n))return;const o=rs(r),i=setTimeout((()=>{e("SIGKILL")}),o);i.unref&&i.unref()},es=(e,{forceKillAfterTimeout:t},r)=>ts(e)&&!1!==t&&r,ts=e=>e===an.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),rs=({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},ns=(e,t)=>{e.kill()&&(t.isCanceled=!0)},os=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{if(0===t||void 0===t)return n;let o;const i=new Promise(((n,i)=>{o=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,i)}),t)})),s=n.finally((()=>{clearTimeout(o)}));return Promise.race([i,s])},is=({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})`)},ss=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;const o=Ji((()=>{e.kill()}));return n.finally((()=>{o()}))},as=(e,t,r)=>{if("string"==typeof r)return e[t].pipe(un(r)),e;if(I(r))return e[t].pipe(r),e;if(!(e=>e instanceof on&&"function"==typeof e.then)(r))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!I(r.stdin))throw new TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r},cs=e=>{null!==e.stdout&&(e.pipeStdout=as.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=as.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=as.bind(void 0,e,"all"))};var us={exports:{}};const{PassThrough:ls}=Xr,{constants:ps}=zr,fs=Xr,{promisify:ds}=Hr,hs=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const n="buffer"===r;let o=!1;t?o=!(r||n):r=r||"utf8",n&&(r=null);const i=new ls({objectMode:o});r&&i.setEncoding(r);let s=0;const a=[];return i.on("data",(e=>{a.push(e),o?s=a.length:s+=e.length})),i.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),i.getBufferedLength=()=>s,i},ms=ds(fs.pipeline);class vs extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}us.exports=T,us.exports.buffer=(e,t)=>T(e,{...t,encoding:"buffer"}),us.exports.array=(e,t)=>T(e,{...t,array:!0}),us.exports.MaxBufferError=vs;const ys=e(us.exports),{PassThrough:gs}=Xr,Es=e((function(){function e(o){return Array.isArray(o)?(o.forEach(e),this):(r.push(o),o.once("end",t.bind(null,o)),o.once("error",n.emit.bind(n,"error")),o.pipe(n,{end:!1}),this)}function t(e){!(r=r.filter((function(t){return t!==e}))).length&&n.readable&&n.end()}var r=[],n=new gs({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length},n.on("unpipe",t),[].slice.call(arguments).forEach(e),n})),ws=e=>{if(void 0!==e)throw new TypeError("The `input` and `inputFile` options cannot be both set.")},_s=e=>{const t=(({input:e,inputFile:t})=>"string"!=typeof t?e:(ws(e),ln(t)))(e);if(S(t))throw new TypeError("The `input` option cannot be a stream in sync mode");return t},bs=(e,t)=>{const r=(({input:e,inputFile:t})=>"string"!=typeof t?e:(ws(e),pn(t)))(t);void 0!==r&&(S(r)?r.pipe(e.stdin):e.stdin.end(r))},Os=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;const r=Es();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},Rs=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t}catch(r){return r.bufferedData}}},Ss=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?ys(e,{encoding:t,maxBuffer:n}):ys.buffer(e,{maxBuffer:n})},Is=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:o,maxBuffer:i},s)=>{const a=Ss(e,{encoding:n,buffer:o,maxBuffer:i}),c=Ss(t,{encoding:n,buffer:o,maxBuffer:i}),u=Ss(r,{encoding:n,buffer:o,maxBuffer:2*i});try{return await Promise.all([s,a,c,u])}catch(l){return Promise.all([{error:l,signal:l.signal,timedOut:l.timedOut},Rs(e,a),Rs(t,c),Rs(r,u)])}},Ts=(async()=>{})().constructor.prototype,xs=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(Ts,e)])),Ps=(e,t)=>{for(const[r,n]of xs){const o="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o})}},As=e=>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)}))})),Ns=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],Cs=/^[\w.-]+$/,$s=/"/g,Ls=(e,t)=>Ns(e,t).join(" "),Ds=(e,t)=>Ns(e,t).map((e=>(e=>"string"!=typeof e||Cs.test(e)?e:`"${e.replace($s,'\\"')}"`)(e))).join(" "),ks=/ +/g,Us=e=>{const t=[];for(const r of e.trim().split(ks)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t},js=Wr("execa").enabled,Fs=(e,t)=>(e+"").padStart(t,"0"),Ms=(e,{verbose:t})=>{t&&Yr.stderr.write(`[${(()=>{const e=new Date;return`${Fs(e.getHours(),2)}:${Fs(e.getMinutes(),2)}:${Fs(e.getSeconds(),2)}.${Fs(e.getMilliseconds(),3)}`})()}] ${e}\n`)},Gs=(e,t,r={})=>{const n=fi._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||Yr.cwd(),execPath:Yr.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:js,...r}).env=(({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:o})=>{const i=t?{...Yr.env,...e}:e;return r?di({env:i,cwd:n,execPath:o}):i})(r),r.stdio=(e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return Ai.map((t=>e[t]));if((e=>Ai.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+Ai.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,Ai.length)},((e,r)=>t[r]))})(r),"win32"===Yr.platform&&"cmd"===rn.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},Bs=(e,t,r)=>"string"==typeof t||tn.isBuffer(t)?e.stripFinalNewline?function(e){const t="string"==typeof e?"\r":13;return e[e.length-1]===("string"==typeof e?"\n":10)&&(e=e.slice(0,-1)),e[e.length-1]===t&&(e=e.slice(0,-1)),e}(t):t:void 0===r?void 0:"";var Hs={},qs={};Object.defineProperty(qs,"__esModule",{value:!0}),qs.sync=qs.isexe=void 0;const Vs=gr,zs=Kr;qs.isexe=async(e,t={})=>{const{ignoreErrors:r=!1}=t;try{return Xs(await(0,zs.stat)(e),t)}catch(n){if(r||"EACCES"===n.code)return!1;throw n}},qs.sync=(e,t={})=>{const{ignoreErrors:r=!1}=t;try{return Xs((0,Vs.statSync)(e),t)}catch(n){if(r||"EACCES"===n.code)return!1;throw n}};const Xs=(e,t)=>e.isFile()&&Ws(e,t),Ws=(e,t)=>{const r=t.uid??process.getuid?.(),n=t.groups??process.getgroups?.()??[],o=t.gid??process.getgid?.()??n[0];if(void 0===r||void 0===o)throw Error("cannot get uid or gid");const i=new Set([o,...n]),s=e.mode,a=e.uid,c=e.gid,u=parseInt("100",8),l=parseInt("010",8),p=u|l;return!!(s&parseInt("001",8)||s&l&&i.has(c)||s&u&&a===r||s&p&&0===r)};var Ys={};Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.sync=Ys.isexe=void 0;const Ks=gr,Js=Kr;Ys.isexe=async(e,t={})=>{const{ignoreErrors:r=!1}=t;try{return Qs(await(0,Js.stat)(e),e,t)}catch(n){if(r||"EACCES"===n.code)return!1;throw n}},Ys.sync=(e,t={})=>{const{ignoreErrors:r=!1}=t;try{return Qs((0,Ks.statSync)(e),e,t)}catch(n){if(r||"EACCES"===n.code)return!1;throw n}};const Qs=(e,t,r)=>e.isFile()&&((e,t)=>{const{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let o=0;n.length>o;o++){const t=n[o].toLowerCase(),r=e.substring(e.length-t.length).toLowerCase();if(t&&r===t)return!0}return!1})(t,r);var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0}),function(e){var t=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)"default"!==o&&{}.hasOwnProperty.call(e,o)&&t(n,e,o);return r(n,e),n},o=wn&&wn.__exportStar||function(e,r){for(var n in e)"default"===n||{}.hasOwnProperty.call(r,n)||t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.sync=e.isexe=e.posix=e.win32=void 0;const i=n(qs);e.posix=i;const s=n(Ys);e.win32=s,o(Zs,e);const a="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?s:i;e.isexe=a.isexe,e.sync=a.sync}(Hs);const{isexe:ea,sync:ta}=Hs,{join:ra,delimiter:na,sep:oa,posix:ia}=Sr,sa="win32"===process.platform,aa=RegExp(`[${ia.sep}${oa===ia.sep?"":oa}]`.replace(/(\\)/g,"\\$1")),ca=RegExp("^\\."+aa.source),ua=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),la=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=na})=>{const o=e.match(aa)?[""]:[...sa?[process.cwd()]:[],...(t||"").split(n)];if(sa){const t=r||[".EXE",".CMD",".BAT",".COM"].join(n),i=t.split(n).flatMap((e=>[e,e.toLowerCase()]));return e.includes(".")&&""!==i[0]&&i.unshift(""),{pathEnv:o,pathExt:i,pathExtExe:t}}return{pathEnv:o,pathExt:[""]}},pa=(e,t)=>{const r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&ca.test(t)?t.slice(0,2):"")+ra(r,t)},fa=async(e,t={})=>{const{pathEnv:r,pathExt:n,pathExtExe:o}=la(e,t),i=[];for(const s of r){const r=pa(s,e);for(const e of n){const n=r+e;if(await ea(n,{pathExt:o,ignoreErrors:!0})){if(!t.all)return n;i.push(n)}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw ua(e)};var da=fa;fa.sync=(e,t={})=>{const{pathEnv:r,pathExt:n,pathExtExe:o}=la(e,t),i=[];for(const s of r){const r=pa(s,e);for(const e of n){const n=r+e;if(ta(n,{pathExt:o,ignoreErrors:!0})){if(!t.all)return n;i.push(n)}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw ua(e)};const ha=e(da);let ma;var va,ya={};N(ya,"hasSudo",(()=>C)),N(ya,"isRoot",(()=>$)),N(ya,"isSudo",(()=>L)),N(ya,"prependSudo",(()=>D)),N(ya,"defaultExecOptions",(()=>ga)),N(ya,"execRootSync",(()=>k)),N(ya,"execRoot",(()=>U));let ga={stdio:"inherit",shell:!0};N(va={},"isAdminWindows",(()=>Ea)),N(va,"isAdminPosix",(()=>wa)),N(va,"isAdmin",(()=>M));let Ea=async function(){if("win32"!==process.platform)return!1;try{return await x("fsutil",["dirty","query",process.env.systemdrive??""]),!0}catch(e){return"ENOENT"===e.code&&async function(){try{return await x("fltmc"),!0}catch{return!1}}()}},wa=$;N({},"grantUserWriteAccess",(()=>G));var _a,ba,Oa,Ra,Sa,Ia,Ta,xa,Pa,Aa,Na,Ca,$a,La,Da=function(e){return null!=e},ka=Da,Ua=[].forEach,ja=Object.create,Fa=function(e){var t=ja(null);return Ua.call(arguments,(function(e){ka(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t},Ma="function"==typeof(Oa=Math.sign)&&1===Oa(10)&&-1===Oa(-20)?Math.sign:ba?_a:(ba=1,_a=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1}),Ga=Math.abs,Ba=Math.floor,Ha=Math.max,qa=function(e){return Ha(0,function(e){return isNaN(e)?0:0!=(e=+e)&&isFinite(e)?Ma(e)*Ba(Ga(e)):e}(e))},Va=qa,za=function(e,t,r){var n;return isNaN(e)?0>(n=t)?1:r&&n?n-1:n:!1!==e&&Va(e)},Xa=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},Wa=Da,Ya=function(e){if(!Wa(e))throw new TypeError("Cannot use null or undefined");return e},Ka=Xa,Ja=Ya,Qa=function(){}.bind,Za=function(){}.call,ec=Object.keys,tc={}.propertyIsEnumerable,rc=(Ra="forEach",function(e,t){var r,n=arguments[2],o=arguments[3];return e=Object(Ja(e)),Ka(t),r=ec(e),o&&r.sort("function"==typeof o?Qa.call(o,e):void 0),"function"!=typeof Ra&&(Ra=r[Ra]),Za.call(Ra,r,(function(r,o){return tc.call(e,r)?Za.call(t,n,e[r],r,e,o):undefined}))}),nc={},oc={exports:{}},ic="function"==typeof(La=Object.assign)&&(La($a={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),$a.foo+$a.bar+$a.trzy==="razdwatrzy")?Object.assign:function(){if(Ca)return Na;Ca=1;var e=Aa?Pa:(Aa=1,Pa=(Ia?Sa:(Ia=1,Sa=function(){try{return!0}catch(e){return!1}}))()?Object.keys:function(){if(xa)return Ta;xa=1;var e=Da,t=Object.keys;return Ta=function(r){return t(e(r)?Object(r):r)}}()),t=Ya,r=Math.max;return Na=function(n,o){var i,s,a,c=r(arguments.length,2);for(n=Object(t(n)),a=function(e){try{n[e]=o[e]}catch(t){i||(i=t)}},s=1;c>s;++s)e(o=arguments[s]).forEach(a);if(void 0!==i)throw i;return n},Na}(),sc=Da,ac={function:!0,object:!0},cc=function(e){return sc(e)&&ac[typeof e]||!1};!function(e){var t=ic,r=cc,n=Da,o=Error.captureStackTrace;e.exports=function(i){var s=Error(i),a=arguments[1],c=arguments[2];return n(c)||r(a)&&(c=a,a=null),n(c)&&t(s,c),n(a)&&(s.code=a),o&&o(s,e.exports),s}}(oc);var uc,lc,pc,fc,dc=oc.exports,hc={exports:{}},mc=qa;try{Object.defineProperty((function(e,t){return t}),"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(dy){}fc=B(),pc=function(){var e=[];return function(t){var r,n=0;if(e[t])return e[t];for(r=[];t--;)r.push("a"+(++n).toString(36));return Function("fn","return function ("+r.join(", ")+") { return fn.apply(this, arguments); };")}}(),hc.exports=function(e,t){var r;if(t=mc(t),e.length===t)return e;r=pc(t)(e);try{fc(r,e)}catch(dy){}return r};var vc,yc,gc=hc.exports,Ec={exports:{}},wc=function(e){return null!=e},_c=wc,bc={object:!0,function:!0,undefined:!0},Oc=function(e){if(!function(e){return!!_c(e)&&hasOwnProperty.call(bc,typeof e)}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}},Rc=/^\s*class[\s{/}]/,Sc=function(){}.toString,Ic="razdwatrzy",Tc="function"==typeof Ic.contains&&!0===Ic.contains("dwa")&&!1===Ic.contains("foo")?"".contains:function(){if(yc)return vc;yc=1;var e="".indexOf;return vc=function(t){return e.call(this,t,arguments[1])>-1}}(),xc=wc,Pc=function(e){return!!function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(t){return!1}return!Oc(e)}(e)&&!Rc.test(Sc.call(e))},Ac=ic,Nc=Fa,Cc=Tc;(Ec.exports=function(e,t){var r,n,o,i,s;return 2>arguments.length||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],xc(e)?(r=Cc.call(e,"c"),n=Cc.call(e,"e"),o=Cc.call(e,"w")):(r=o=!0,n=!1),s={value:t,configurable:r,enumerable:n,writable:o},i?Ac(Nc(i),s):s}).gs=function(e,t,r){var n,o,i,s;return"string"!=typeof e?(i=r,r=t,t=e,e=null):i=arguments[3],xc(t)?Pc(t)?xc(r)?Pc(r)||(i=r,r=void 0):r=void 0:(i=t,t=r=void 0):t=void 0,xc(e)?(n=Cc.call(e,"c"),o=Cc.call(e,"e")):(n=!0,o=!1),s={get:t,set:r,configurable:n,enumerable:o},i?Ac(Nc(i),s):s};var $c=Ec.exports,Lc={exports:{}};!function(e,t){var r,n,o,i,s,a,c,u=$c,l=Xa,p=function(){}.apply,f=function(){}.call,d=Object.create,h=Object.defineProperty,m=Object.defineProperties,v={}.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,i;return l(t),i=this,r.call(this,e,n=function(){o.call(i,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},o=function(e,t){var r,n,o,i;if(l(t),!v.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if("object"==typeof(n=r[e]))for(i=0;o=n[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===n.length?r[e]=n[i?0:1]:n.splice(i,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},i=function(e){var t,r,n,o,i;if(v.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(i=Array((r=arguments.length)-1),t=1;r>t;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;n=o[t];++t)p.call(n,this,i)}else switch(arguments.length){case 1:f.call(o,this);break;case 2:f.call(o,this,arguments[1]);break;case 3:f.call(o,this,arguments[1],arguments[2]);break;default:for(i=Array((r=arguments.length)-1),t=1;r>t;++t)i[t-1]=arguments[t];p.call(o,this,i)}},s={on:r=function(e,t){var r;return l(t),v.call(this,"__ee__")?r=this.__ee__:(r=y.value=d(null),h(this,"__ee__",y),y.value=null),r[e]?"object"==typeof r[e]?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n,off:o,emit:i},a={on:u(r),once:u(n),off:u(o),emit:u(i)},c=m({},a),e.exports=t=function(e){return null==e?d(c):m(Object(e),a)},t.methods=s}(Lc,Lc.exports);var Dc,kc,Uc,jc,Fc,Mc,Gc,Bc,Hc,qc,Vc,zc,Xc,Wc,Yc,Kc,Jc,Qc,Zc,eu,tu,ru,nu,ou,iu,su,au,cu,uu,lu,pu,fu,du,hu,mu,vu=Lc.exports,yu=z(),gu=Array.isArray,Eu=Da,wu=Xa,_u=[].slice;mu=function(e){return this.map((function(t,r){return t?t(e[r]):e[r]})).concat(_u.call(e,this.length))};var bu,Ou,Ru,Su,Iu,Tu,xu,Pu,Au,Nu,Cu,$u,Lu,Du,ku,Uu,ju,Fu,Mu,Gu,Bu,Hu,qu,Vu,zu,Xu,Wu,Yu,Ku,Ju,Qu,Zu,el,tl,rl,nl,ol,il,sl,al,cl,ul,ll,pl,fl,dl,hl,ml=Xa,vl=dc,yl=gc,gl=$c,El=vu.methods,wl=function(e){return(t=e,e=gu(t)?t:yu(t)).forEach((function(e){Eu(e)&&wu(e)})),mu.bind(e);var t},_l=function(){}.apply,bl=function(){}.call,Ol=Object.create,Rl=Object.defineProperties,Sl=El.on,Il=El.emit,Tl=Xa,xl=rc,Pl=nc,Al=function(e,t,r){var n,o,i,s,a,c,u,l,p,f,d,h,m,v,y,g=Ol(null);return o=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(f=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:ml(e.get)},void 0!==e.set?(t.set=ml(e.set),e.delete&&(t.delete=ml(e.delete)),e.clear&&(t.clear=ml(e.clear)),t):(t.set=t.get,t))}(r.normalizer),i=f.get,s=f.set,a=f.delete,c=f.clear),null!=r.resolvers&&(y=wl(r.resolvers)),v=i?yl((function(t){var r,o,a=arguments;if(y&&(a=y(a)),null!==(r=i(a))&&hasOwnProperty.call(g,r))return d&&n.emit("get",r,a,this),g[r];if(o=1===a.length?bl.call(e,this,a[0]):_l.call(e,this,a),null===r){if(null!==(r=i(a)))throw vl("Circular invocation","CIRCULAR_INVOCATION");r=s(a)}else if(hasOwnProperty.call(g,r))throw vl("Circular invocation","CIRCULAR_INVOCATION");return g[r]=o,h&&n.emit("set",r,null,o),o}),o):0===t?function(){var t;if(hasOwnProperty.call(g,"data"))return d&&n.emit("get","data",arguments,this),g.data;if(t=arguments.length?_l.call(e,this,arguments):bl.call(e,this),hasOwnProperty.call(g,"data"))throw vl("Circular invocation","CIRCULAR_INVOCATION");return g.data=t,h&&n.emit("set","data",null,t),t}:function(t){var r,o,i=arguments;if(y&&(i=y(arguments)),o=i[0]+"",hasOwnProperty.call(g,o))return d&&n.emit("get",o,i,this),g[o];if(r=1===i.length?bl.call(e,this,i[0]):_l.call(e,this,i),hasOwnProperty.call(g,o))throw vl("Circular invocation","CIRCULAR_INVOCATION");return g[o]=r,h&&n.emit("set",o,null,r),r},n={original:e,memoized:v,profileName:r.profileName,get:function(e){return y&&(e=y(e)),i?i(e):e[0]+""},has:function(e){return hasOwnProperty.call(g,e)},delete:function(e){var t;hasOwnProperty.call(g,e)&&(a&&a(e),t=g[e],delete g[e],m&&n.emit("delete",e,t))},clear:function(){var e=g;c&&c(),g=Ol(null),n.emit("clear",e)},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),Sl.call(this,e,t)},emit:Il,updateEnv:function(){e=n.original}},u=i?yl((function(e){var t,r=arguments;y&&(r=y(r)),null!==(t=i(r))&&n.delete(t)}),o):0===t?function(){return n.delete("data")}:function(e){return y&&(e=y(arguments)[0]),n.delete(e)},l=yl((function(){var e,r=arguments;return 0===t?g.data:(y&&(r=y(r)),e=i?i(r):r[0]+"",g[e])})),p=yl((function(){var e,r=arguments;return 0===t?n.has("data"):(y&&(r=y(r)),null!==(e=i?i(r):r[0]+"")&&n.has(e))})),Rl(v,{__memoized__:gl(!0),delete:gl(u),clear:gl(n.clear),_get:gl(l),_has:gl(p)}),n},Nl=za,Cl={},$l={},Ll={exports:{}},Dl={},kl={},Ul={},jl={},Fl=Fa,Ml=za,Gl=function e(t){var r,n,o;if(Tl(t),(r=Object(arguments[1])).async&&r.promise)throw Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!r.force?t:(n=Nl(r.length,t.length,r.async&&Pl.async),o=Al(t,n,r),xl(Pl,(function(e,t){r[t]&&e(r[t],o,r)})),e.__profiler__&&e.__profiler__(o),o.updateEnv(),o.memoized)},Bl=function(e){var t,r=Fl(arguments[1]);return r.normalizer||0!==(t=r.length=Ml(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=(Ou||(Ou=1,bu=function(e){var t,r,n=e.length;if(!n)return"";for(t=e[r=0]+"";--n;)t+=""+e[++r];return t}),bu):t>1&&(r.normalizer=(Su||(Su=1,Ru=function(e){return e?function(t){for(var r=t[0]+"",n=0,o=e;--o;)r+=""+t[++n];return r}:function(){return""}}),Ru)(t)):r.normalizer=!1===t?function(){if(Du)return Lu;Du=1;var e=X(),t=Object.create;return Lu=function(){var r=0,n=[],o=t(null);return{get:function(t){var r,o=0,i=n,s=t.length;if(0===s)return i[s]||null;if(i=i[s]){for(;s-1>o;){if(-1===(r=e.call(i[0],t[o])))return null;i=i[1][r],++o}return-1===(r=e.call(i[0],t[o]))?null:i[1][r]||null}return null},set:function(t){var i,s=0,a=n,c=t.length;if(0===c)a[c]=++r;else{for(a[c]||(a[c]=[[],[]]),a=a[c];c-1>s;)-1===(i=e.call(a[0],t[s]))&&(i=a[0].push(t[s])-1,a[1].push([[],[]])),a=a[1][i],++s;-1===(i=e.call(a[0],t[s]))&&(i=a[0].push(t[s])-1),a[1][i]=++r}return o[r]=t,r},delete:function(t){var r,i=0,s=n,a=o[t],c=a.length,u=[];if(0===c)delete s[c];else if(s=s[c]){for(;c-1>i;){if(-1===(r=e.call(s[0],a[i])))return;u.push(s,r),s=s[1][r],++i}if(-1===(r=e.call(s[0],a[i])))return;for(t=s[1][r],s[0].splice(r,1),s[1].splice(r,1);!s[0].length&&u.length;)r=u.pop(),(s=u.pop())[0].splice(r,1),s[1].splice(r,1)}delete o[t]},clear:function(){n=[],o=t(null)}}},Lu}()():1===t?function(){if(Uu)return ku;Uu=1;var e=X();return ku=function(){var t=0,r=[],n=[];return{get:function(t){var o=e.call(r,t[0]);return-1===o?null:n[o]},set:function(e){return r.push(e[0]),n.push(++t),t},delete:function(t){var o=e.call(n,t);-1!==o&&(r.splice(o,1),n.splice(o,1))},clear:function(){r=[],n=[]}}}}()():function(){if(Fu)return ju;Fu=1;var e=X(),t=Object.create;return ju=function(r){var n=0,o=[[],[]],i=t(null);return{get:function(t){for(var n,i=0,s=o;r-1>i;){if(-1===(n=e.call(s[0],t[i])))return null;s=s[1][n],++i}return-1===(n=e.call(s[0],t[i]))?null:s[1][n]||null},set:function(t){for(var s,a=0,c=o;r-1>a;)-1===(s=e.call(c[0],t[a]))&&(s=c[0].push(t[a])-1,c[1].push([[],[]])),c=c[1][s],++a;return-1===(s=e.call(c[0],t[a]))&&(s=c[0].push(t[a])-1),c[1][s]=++n,i[n]=t,n},delete:function(t){for(var n,s=0,a=o,c=[],u=i[t];r-1>s;){if(-1===(n=e.call(a[0],u[s])))return;c.push(a,n),a=a[1][n],++s}if(-1!==(n=e.call(a[0],u[s]))){for(t=a[1][n],a[0].splice(n,1),a[1].splice(n,1);!a[0].length&&c.length;)n=c.pop(),(a=c.pop())[0].splice(n,1),a[1].splice(n,1);delete i[t]}},clear:function(){o=[[],[]],i=t(null)}}},ju}()(t)),r.async&&function(){if(qu)return Cl;qu=1;var e=z(),t=W(),r=B(),n=gc,o=Y(),i=[].slice,s=function(){}.apply,a=Object.create;nc.async=function(c,u){var l,p,f,d=a(null),h=a(null),m=u.memoized,v=u.original;u.memoized=n((function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(l=r,t=i.call(t,0,-1)),m.apply(p=this,f=t)}),m);try{r(u.memoized,m)}catch(dy){}u.on("get",(function(e){var t,r,n;if(l){if(d[e])return"function"==typeof d[e]?d[e]=[d[e],l]:d[e].push(l),void(l=null);t=l,r=p,n=f,l=p=f=null,o((function(){var o;hasOwnProperty.call(h,e)?(o=h[e],u.emit("getasync",e,n,r),s.call(t,o.context,o.args)):(l=t,p=r,f=n,m.apply(r,n))}))}})),u.original=function(){var t,r,n,i;return l?(t=e(arguments),r=function t(r){var n,a,c=t.id;if(null!=c){if(delete t.id,n=d[c],delete d[c],n)return a=e(arguments),u.has(c)&&(r?u.delete(c):(h[c]={context:this,args:a},u.emit("setasync",c,"function"==typeof n?1:n.length))),"function"==typeof n?i=s.call(n,this,a):n.forEach((function(e){i=s.call(e,this,a)}),this),i}else o(s.bind(t,this,arguments))},n=l,l=p=f=null,t.push(r),i=s.call(v,this,t),r.cb=n,l=r,i):s.call(v,this,arguments)},u.on("set",(function(e){l?(d[e]?"function"==typeof d[e]?d[e]=[d[e],l.cb]:d[e].push(l.cb):d[e]=l.cb,delete l.cb,l.id=e,l=null):u.delete(e)})),u.on("delete",(function(e){var t;hasOwnProperty.call(d,e)||h[e]&&(t=h[e],delete h[e],u.emit("deleteasync",e,i.call(t.args,1)))})),u.on("clear",(function(){var e=h;h=a(null),u.emit("clearasync",t(e,(function(e){return i.call(e.args,1)})))}))}}(),r.promise&&Q(),r.dispose&&function(){if(il)return Dl;il=1;var e=Xa,t=rc,r=nc,n=function(){}.apply;r.dispose=function(o,i,s){var a;if(e(o),s.async&&r.async||s.promise&&r.promise)return i.on("deleteasync",a=function(e,t){n.call(o,null,t)}),void i.on("clearasync",(function(e){t(e,(function(e,t){a(t,e)}))}));i.on("delete",a=function(e,t){o(t)}),i.on("clear",(function(e){t(e,(function(e,t){a(t,e)}))}))}}(),r.maxAge&&function(){if(ll)return kl;ll=1;var e=z(),t=rc,r=Y(),n=J(),o=function(){if(ul)return cl;ul=1;var e=qa,t=al?sl:(al=1,sl=2147483647);return cl=function(r){if((r=e(r))>t)throw new TypeError(r+" exceeds maximum possible timeout");return r}}(),i=nc,s=Function.prototype,a=Math.max,c=Math.min,u=Object.create;i.maxAge=function(l,p,f){var d,h,m,v;(l=o(l))&&(d=u(null),p.on("set"+(h=f.async&&i.async||f.promise&&i.promise?"async":""),(function(e){d[e]=setTimeout((function(){p.delete(e)}),l),"function"==typeof d[e].unref&&d[e].unref(),v&&(v[e]&&"nextTick"!==v[e]&&clearTimeout(v[e]),v[e]=setTimeout((function(){delete v[e]}),m),"function"==typeof v[e].unref&&v[e].unref())})),p.on("delete"+h,(function(e){clearTimeout(d[e]),delete d[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e])})),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:a(c(+f.preFetch,1),0))&&(v={},m=(1-m)*l,p.on("get"+h,(function(t,o,i){v[t]||(v[t]="nextTick",r((function(){var r;"nextTick"===v[t]&&(delete v[t],p.delete(t),f.async&&(o=e(o)).push(s),r=p.memoized.apply(i,o),f.promise&&n(r)&&("function"==typeof r.done?r.done(s,s):r.then(s,s)))})))}))),p.on("clear"+h,(function(){t(d,(function(e){clearTimeout(e)})),d={},v&&(t(v,(function(e){"nextTick"!==e&&clearTimeout(e)})),v={})})))}}(),r.max&&function(){if(dl)return Ul;dl=1;var e=qa,t=function(){if(fl)return pl;fl=1;var e=qa,t=Object.create,r={}.hasOwnProperty;return pl=function(n){var o,i=0,s=1,a=t(null),c=t(null),u=0;return n=e(n),{hit:function(e){var t=c[e],l=++u;if(a[l]=e,c[e]=l,!t){if(++i,n>=i)return;return o(e=a[s]),e}if(delete a[t],s===t)for(;!r.call(a,++s);)continue},delete:o=function(e){var t=c[e];if(t&&(delete a[t],delete c[e],--i,s===t)){if(!i)return u=0,void(s=1);for(;!r.call(a,++s);)continue}},clear:function(){i=0,s=1,a=t(null),c=t(null),u=0}}}}(),r=nc;r.max=function(n,o,i){var s,a,c;(n=e(n))&&(a=t(n),o.on("set"+(s=i.async&&r.async||i.promise&&r.promise?"async":""),c=function(e){void 0!==(e=a.hit(e))&&o.delete(e)}),o.on("get"+s,c),o.on("delete"+s,a.delete),o.on("clear"+s,a.clear))}}(),r.refCounter&&function(){if(hl)return jl;hl=1;var e=$c,t=nc,r=Object.create,n=Object.defineProperties;t.refCounter=function(o,i,s){var a,c;a=r(null),i.on("set"+(c=s.async&&t.async||s.promise&&t.promise?"async":""),(function(e,t){a[e]=t||1})),i.on("get"+c,(function(e){++a[e]})),i.on("delete"+c,(function(e){delete a[e]})),i.on("clear"+c,(function(){a={}})),n(i.memoized,{deleteRef:e((function(){var e=i.get(arguments);return null===e?null:a[e]?! --a[e]&&(i.delete(e),!0):null})),getRefCount:e((function(){var e=i.get(arguments);return null===e?0:a[e]?a[e]:0}))})}}(),Gl(e,r)};const Hl=e(Bl),ql=/^~(?=$|\/|\\)/,{appendFile:Vl,readFile:zl,writeFile:Xl}=Er,Wl=ee("~/.bashrc"),Yl=Hl((async function(e){const t=void 0===e.guard?`\nsource "${e.rcPath}"\n`:`\n# ${e.guard}\nif [[ "$SOURCE_${e.guard.toUpperCase()}RC" != 0 && -f "${e.rcPath}" ]]; then source "${e.rcPath}"; fi\n`;try{await Promise.all([te(e),re(t,ee("~/.bashrc")),re(t,ee("~/.profile"))])}catch(r){v(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${r}`)}}),{promise:!0}),Kl=mr,Jl="win32"!==Kl.platform(),Ql=Kl.release(),Zl=/(\d+\.\d+)\.(\d+)/,ep=e((function(e){return Jl?e.replace(/(\s+)/g,"\\$1"):((e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184)(...Zl.exec(Ql).splice(1))?e:e.replace(/(\s+)/g,"%20")}));var tp,rp,np,op,ip={exports:{}};np=function(){if(rp)return tp;rp=1;var e=/[|\\{}()[\]^$+*?.]/g;return tp=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(e,"\\$&")}}(),op=function(e){return e.split("").reverse().join("")},ip.exports=function(e,t,r){var n;return null==t&&(t="'"),null==r&&(r="\\"),"string"!=typeof e?e:(n=RegExp("(["+np(t)+"])(?!"+np(r)+")","g"),op(op(e).replace(n,"$1"+r)))};const sp=e(ip.exports),{appendFile:ap}=Er,{appendFile:cp}=Er,up=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];var lp={exports:{}};!function(e){!function(){function t(e,t,o){if(r(e),"object"!=typeof o)throw Error("List of variants should be specified as an object");var i=n[e](t);return void 0!==o[i]?o[i]:null}function r(e){(function(e){return void 0!==n[e]})(e)||function(e){try{ae(__dirname+"/../locales/"+e+".js")}catch(t){throw Error("Failed to load the following locale: "+e)}}(e)}var n={};e.exports={create:function(e){return r(e),{pluralize:function(r,n){return t(e,r,n)}}},addLocale:function(e,t){n[e]=t},pluralize:t}}()}(lp);var pp=lp.exports,fp=pp,dp={};pp.addLocale("en",(function(e){var t=Math.floor(Math.abs(e)),r=(""+e).replace(/^[^.]*\.?/,"").length;return"string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r?"one":"other"}));var hp={exports:{}};hp.exports=!("undefined"==typeof process||!process.versions||!process.versions.node);const mp=fp,vp=hp.exports,yp=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],gp={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},Ep={};var wp={create:function(e){return e=Object.assign({},gp,e||{}),{format:function(t,r,n){return function(e,t,r){if(function(e,t){const{autoload:r}=t;if(!Ep[e]){if(!vp||!r)throw Error(`Missing locale: ${e}, you must load it manually before using it`);!function(e){try{ce(ae(`../locales/${e}.js`))}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`)}}(e)}}(r.locale,{autoload:r.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");const n=function(e,t){let r=t-e;const n=[];return yp.some((function(e){const t=e[0],o=e[1],i=Math.floor(r/o);if(r-=i*o,n.push([t,i]),0>=r)return!0})),n}(e,t),o=[];for(const i of n){const[e,t]=i;if(t>0&&o.push(ue(e,t,r)),o.length>=r.span)break}return o.join(r.delimiter)}(t,r,n=Object.assign({},e,n||{}))}}},addLocale:ce,defaultConfig:gp};const _p=e({id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}});var bp={exports:{}},Op={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Rp="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};!function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=Op,i=Rp,s=(t=e.exports={}).re=[],a=t.safeRe=[],c=t.src=[],u=t.t={};let l=0;const p="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",o],[p,n]],d=(e,t,r)=>{const n=(e=>{for(const[t,r]of f)e=e.split(t+"*").join(`${t}{0,${r}}`).split(t+"+").join(`${t}{1,${r}}`);return e})(t),o=l++;i(e,o,t),u[e]=o,c[o]=t,s[o]=RegExp(t,r?"g":void 0),a[o]=RegExp(n,r?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","\\d+"),d("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),d("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),d("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER",p+"+"),d("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),d("FULL",`^${c[u.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),d("LOOSE",`^${c[u.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",c[u.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),d("XRANGEIDENTIFIER",c[u.NUMERICIDENTIFIER]+"|x|X|\\*"),d("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),d("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),d("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),d("COERCE",c[u.COERCEPLAIN]+"(?:$|[^\\d])"),d("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),d("COERCERTL",c[u.COERCE],!0),d("COERCERTLFULL",c[u.COERCEFULL],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",d("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",d("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(bp,bp.exports);var Sp=bp.exports;const Ip=Object.freeze({loose:!0}),Tp=Object.freeze({});var xp=e=>e?"object"!=typeof e?Ip:e:Tp;const Pp=/^[0-9]+$/,Ap=(e,t)=>{const r=Pp.test(e),n=Pp.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1};var Np={compareIdentifiers:Ap,rcompareIdentifiers:(e,t)=>Ap(t,e)};const Cp=Rp,{MAX_LENGTH:$p,MAX_SAFE_INTEGER:Lp}=Op,{safeRe:Dp,t:kp}=Sp,Up=xp,{compareIdentifiers:jp}=Np;var Fp=class e{constructor(t,r){if(r=Up(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>$p)throw new TypeError(`version is longer than ${$p} characters`);Cp("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?Dp[kp.LOOSE]:Dp[kp.FULL]);if(!n)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Lp||0>this.major)throw new TypeError("Invalid major version");if(this.minor>Lp||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>Lp||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&Lp>t)return t}return e})):[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(t){if(Cp("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),jp(this.major,t.major)||jp(this.minor,t.minor)||jp(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{const e=this.prerelease[r],n=t.prerelease[r];if(Cp("prerelease compare",r,e,n),void 0===e&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===e)return-1;if(e!==n)return jp(e,n)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{const e=this.build[r],n=t.build[r];if(Cp("build compare",r,e,n),void 0===e&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===e)return-1;if(e!==n)return jp(e,n)}while(++r)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);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":{const e=+r?1:0;if(!t&&!1===r)throw Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===jp(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw Error("invalid increment argument: "+e)}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this}};const Mp=Fp;var Gp=(e,t,r=!1)=>{if(e instanceof Mp)return e;try{return new Mp(e,t)}catch(n){if(!r)return null;throw n}};const Bp=Gp;var Hp=(e,t)=>{const r=Bp(e,t);return r?r.version:null};const qp=e(Hp),Vp=Gp;const zp=Fp;const Xp=Gp;const Wp=Fp;var Yp=(e,t)=>new Wp(e,t).major;const Kp=e(Yp),Jp=Fp;const Qp=Fp;const Zp=Gp;const ef=Fp;var tf=(e,t,r)=>new ef(e,r).compare(new ef(t,r));const rf=e(tf),nf=tf;const of=tf;const sf=Fp;var af=(e,t,r)=>{const n=new sf(e,r),o=new sf(t,r);return n.compare(o)||n.compareBuild(o)};const cf=af;const uf=af;const lf=tf;var pf=(e,t,r)=>lf(e,t,r)>0;const ff=tf;var df=(e,t,r)=>0>ff(e,t,r);const hf=tf;var mf=(e,t,r)=>0===hf(e,t,r);const vf=tf;var yf=(e,t,r)=>0!==vf(e,t,r);const gf=tf;var Ef=(e,t,r)=>gf(e,t,r)>=0;const wf=tf;var _f=(e,t,r)=>0>=wf(e,t,r);const bf=e(_f),Of=mf,Rf=yf,Sf=pf,If=Ef,Tf=df,xf=_f;var Pf=(e,t,r,n)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return Of(e,r,n);case"!=":return Rf(e,r,n);case">":return Sf(e,r,n);case">=":return If(e,r,n);case"<":return Tf(e,r,n);case"<=":return xf(e,r,n);default:throw new TypeError("Invalid operator: "+t)}};const Af=Fp,Nf=Gp,{safeRe:Cf,t:$f}=Sp;var Lf=(e,t)=>{if(e instanceof Af)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?Cf[$f.COERCERTLFULL]:Cf[$f.COERCERTL];let o;for(;(o=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&o.index+o[0].length===r.index+r[0].length||(r=o),n.lastIndex=o.index+o[1].length+o[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?Cf[$f.COERCEFULL]:Cf[$f.COERCE]);return null===r?null:Nf(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}${t.includePrerelease&&r[5]?"-"+r[5]:""}${t.includePrerelease&&r[6]?"+"+r[6]:""}`,t)};const Df=e(Lf);var kf,Uf,jf,Ff,Mf=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}};const Gf=le();var Bf=(e,t,r)=>{try{t=new Gf(t,r)}catch(n){return!1}return t.test(e)};const Hf=le();const qf=Fp,Vf=le();const zf=Fp,Xf=le();const Wf=Fp,Yf=le(),Kf=pf;const Jf=le();const Qf=Fp,Zf=pe(),{ANY:ed}=Zf,td=le(),rd=Bf,nd=pf,od=df,id=_f,sd=Ef;var ad=(e,t,r,n)=>{let o,i,s,a,c;switch(e=new Qf(e,n),t=new td(t,n),r){case">":o=nd,i=id,s=od,a=">",c=">=";break;case"<":o=od,i=sd,s=nd,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(rd(e,t,n))return!1;for(let u=0;t.set.length>u;++u){let r=null,l=null;if(t.set[u].forEach((e=>{e.semver===ed&&(e=new Zf(">=0.0.0")),r=r||e,l=l||e,o(e.semver,r.semver,n)?r=e:s(e.semver,l.semver,n)&&(l=e)})),r.operator===a||r.operator===c)return!1;if((!l.operator||l.operator===a)&&i(e,l.semver))return!1;if(l.operator===c&&s(e,l.semver))return!1}return!0};const cd=ad;const ud=ad;const ld=le();const pd=Bf,fd=tf,dd=le(),hd=pe(),{ANY:md}=hd,vd=Bf,yd=tf,gd=[new hd(">=0.0.0-0")],Ed=[new hd(">=0.0.0")],wd=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===md){if(1===t.length&&t[0].semver===md)return!0;e=r.includePrerelease?gd:Ed}if(1===t.length&&t[0].semver===md){if(r.includePrerelease)return!0;t=Ed}const n=new Set;let o,i,s,a,c,u,l;for(const d of e)">"===d.operator||">="===d.operator?o=_d(o,d,r):"<"===d.operator||"<="===d.operator?i=bd(i,d,r):n.add(d.semver);if(n.size>1)return null;if(o&&i){if(s=yd(o.semver,i.semver,r),s>0)return null;if(0===s&&(">="!==o.operator||"<="!==i.operator))return null}for(const d of n){if(o&&!vd(d,o+"",r))return null;if(i&&!vd(d,i+"",r))return null;for(const e of t)if(!vd(d,e+"",r))return!1;return!0}let p=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver,f=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;p&&1===p.prerelease.length&&"<"===i.operator&&0===p.prerelease[0]&&(p=!1);for(const d of t){if(l=l||">"===d.operator||">="===d.operator,u=u||"<"===d.operator||"<="===d.operator,o)if(f&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===f.major&&d.semver.minor===f.minor&&d.semver.patch===f.patch&&(f=!1),">"===d.operator||">="===d.operator){if(a=_d(o,d,r),a===d&&a!==o)return!1}else if(">="===o.operator&&!vd(o.semver,d+"",r))return!1;if(i)if(p&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===p.major&&d.semver.minor===p.minor&&d.semver.patch===p.patch&&(p=!1),"<"===d.operator||"<="===d.operator){if(c=bd(i,d,r),c===d&&c!==i)return!1}else if("<="===i.operator&&!vd(i.semver,d+"",r))return!1;if(!d.operator&&(i||o)&&0!==s)return!1}return!(o&&u&&!i&&0!==s||i&&l&&!o&&0!==s||f||p)},_d=(e,t,r)=>{if(!e)return t;const n=yd(e.semver,t.semver,r);return n>0?e:0>n||">"===t.operator&&">="===e.operator?t:e},bd=(e,t,r)=>{if(!e)return t;const n=yd(e.semver,t.semver,r);return 0>n?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};const Od=Sp,Rd=Op,Sd=Fp,Id=Np;var Td={parse:Gp,valid:Hp,clean:(e,t)=>{const r=Vp(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},inc:(e,t,r,n,o)=>{"string"==typeof r&&(o=n,n=r,r=void 0);try{return new zp(e instanceof zp?e.version:e,r).inc(t,n,o).version}catch(i){return null}},diff:(e,t)=>{const r=Xp(e,null,!0),n=Xp(t,null,!0),o=r.compare(n);if(0===o)return null;const i=o>0,s=i?r:n,a=i?n:r,c=!!s.prerelease.length;if(a.prerelease.length&&!c)return a.patch||a.minor?s.patch?"patch":s.minor?"minor":"major":"major";const u=c?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},major:Yp,minor:(e,t)=>new Jp(e,t).minor,patch:(e,t)=>new Qp(e,t).patch,prerelease:(e,t)=>{const r=Zp(e,t);return r&&r.prerelease.length?r.prerelease:null},compare:tf,rcompare:(e,t,r)=>nf(t,e,r),compareLoose:(e,t)=>of(e,t,!0),compareBuild:af,sort:(e,t)=>e.sort(((e,r)=>cf(e,r,t))),rsort:(e,t)=>e.sort(((e,r)=>uf(r,e,t))),gt:pf,lt:df,eq:mf,neq:yf,gte:Ef,lte:_f,cmp:Pf,coerce:Lf,Comparator:pe(),Range:le(),satisfies:Bf,toComparators:(e,t)=>new Hf(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" "))),maxSatisfying:(e,t,r)=>{let n=null,o=null,i=null;try{i=new Vf(t,r)}catch(s){return null}return e.forEach((e=>{i.test(e)&&(n&&-1!==o.compare(e)||(n=e,o=new qf(n,r)))})),n},minSatisfying:(e,t,r)=>{let n=null,o=null,i=null;try{i=new Xf(t,r)}catch(s){return null}return e.forEach((e=>{i.test(e)&&(n&&1!==o.compare(e)||(n=e,o=new zf(n,r)))})),n},minVersion:(e,t)=>{e=new Yf(e,t);let r=new Wf("0.0.0");if(e.test(r))return r;if(r=new Wf("0.0.0-0"),e.test(r))return r;r=null;for(let n=0;e.set.length>n;++n){let t=null;e.set[n].forEach((e=>{const r=new Wf(e.semver.version);switch(e.operator){case">":0===r.prerelease.length?r.patch++:r.prerelease.push(0),r.raw=r.format();case"":case">=":t&&!Kf(r,t)||(t=r);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!t||r&&!Kf(r,t)||(r=t)}return r&&e.test(r)?r:null},validRange:(e,t)=>{try{return new Jf(e,t).range||"*"}catch(r){return null}},outside:ad,gtr:(e,t,r)=>cd(e,t,">",r),ltr:(e,t,r)=>ud(e,t,"<",r),intersects:(e,t,r)=>(e=new ld(e,r),t=new ld(t,r),e.intersects(t,r)),simplifyRange:(e,t,r)=>{const n=[];let o=null,i=null;const s=e.sort(((e,t)=>fd(e,t,r)));for(const u of s)pd(u,t,r)?(i=u,o||(o=u)):(i&&n.push([o,i]),i=null,o=null);o&&n.push([o,null]);const a=[];for(const[u,l]of n)a.push(u===l?u:l||u!==s[0]?l?u===s[0]?"<="+l:`${u} - ${l}`:">="+u:"*");const c=a.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>c.length?c:t},subset:(e,t,r={})=>{if(e===t)return!0;e=new dd(e,r),t=new dd(t,r);let n=!1;e:for(const o of e.set){for(const e of t.set){const t=wd(o,e,r);if(n=n||null!==t,t)continue e}if(n)return!1}return!0},SemVer:Sd,re:Od.re,src:Od.src,tokens:Od.t,SEMVER_SPEC_VERSION:Rd.SEMVER_SPEC_VERSION,RELEASE_TYPES:Rd.RELEASE_TYPES,compareIdentifiers:Id.compareIdentifiers,rcompareIdentifiers:Id.rcompareIdentifiers},xd=Td,Pd=mr,Ad=Sr,Nd=gr,Cd=Fr,$d=dn.env.npm_package_json,Ld=dn.env.npm_config_user_agent,Dd=!(!Ld||!Ld.startsWith("npm")),kd=!(!$d||!$d.endsWith("package.json")),Ud=Dd||kd,jd=!(!Ld||!Ld.startsWith("yarn")),Fd=Ud||jd,Md=Pd.homedir(),Gd=process.env.XDG_CONFIG_HOME||Ad.join(Md,".config","simple-update-notifier"),Bd=function(e){return Ad.join(Gd,"".concat(e.replace("@","").replace("/","__"),".json"))},Hd=function(e,t){return fe(void 0,0,void 0,(function(){var r;return de(this,(function(n){return r="https://registry.npmjs.org/-/package/".concat(e,"/dist-tags"),[2,new Promise((function(e,n){Cd.get(r,(function(r){var o="";r.on("data",(function(e){return o+=e})),r.on("end",(function(){try{var r=JSON.parse(o)[t];r||n(Error("Error getting version")),e(r)}catch(i){n(Error("Could not parse version response"))}}))})).on("error",(function(e){return n(e)}))}))]}))}))},qd=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,o=e.distTag,i=void 0===o?"latest":o,s=e.alwaysRun,a=e.debug;return fe(void 0,0,void 0,(function(){var r,o;return de(this,(function(c){switch(c.label){case 0:return Nd.existsSync(Gd)||Nd.mkdirSync(Gd,{recursive:!0}),r=function(t){var r=Bd(t);try{if(!Nd.existsSync(r))return;return JSON.parse(Nd.readFileSync(r,"utf8")).lastUpdateCheck}catch(e){return}}(t.name),s||!r||r<(new Date).getTime()-n?[4,Hd(t.name,i)]:[3,2];case 1:return o=c.sent(),u=Bd(t.name),Nd.writeFileSync(u,JSON.stringify({lastUpdateCheck:(new Date).getTime()})),xd.gt(o,t.version)?[2,o]:(a&&console.error("Latest version (".concat(o,") not newer than current version (").concat(t.version,")")),[3,3]);case 2:a&&console.error("Too recent to check for a new update. simpleUpdateNotifier() interval set to ".concat(n,"ms but only ").concat((new Date).getTime()-r,"ms since last check.")),c.label=3;case 3:return[2,!1]}var u}))}))};const Vd=e((function(e){return fe(void 0,0,void 0,(function(){var t,r;return de(this,(function(n){switch(n.label){case 0:if(!e.alwaysRun&&(!process.stdout.isTTY||Fd&&!e.shouldNotifyInNpmScript))return e.debug&&console.error("Opting out of running simpleUpdateNotifier()"),[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,qd(e)];case 2:return(t=n.sent())&&console.error(function(e){for(var t=e.split("\n"),r=Math.max.apply(Math,t.map((function(e){return e.length}))),n=["┌".concat("─".repeat(r+2),"┐")],o=0,i=t;i.length>o;o++)n.push("│ ".concat(i[o].padEnd(r)," │"));return n.push("└".concat("─".repeat(r+2),"┘")),n.join("\n")}("New version of ".concat(e.pkg.name," available!\nCurrent Version: ").concat(e.pkg.version,"\nLatest Version: ").concat(t))),[3,4];case 3:return r=n.sent(),e.debug&&r instanceof Error&&console.error("Unexpected error in simpleUpdateNotifier():",r),[3,4];case 4:return[2]}}))}))})),zd={name:"setup-cpp",version:"0.39.0"};var Xd={};!function(e){function t(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(e,"__esModule",{value:!0}),e.DownloaderHelper=e.DH_STATES=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r,n=0;t.length>n;n++)(r=t[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=t(gr),s=hn,a=t(Sr),c=t(Ur),u=t(Fr),l=Br,p=e.DH_STATES={IDLE:"IDLE",SKIPPED:"SKIPPED",STARTED:"STARTED",DOWNLOADING:"DOWNLOADING",RETRY:"RETRY",PAUSED:"PAUSED",RESUMED:"RESUMED",STOPPED:"STOPPED",FINISHED:"FINISHED",FAILED:"FAILED"};e.DownloaderHelper=function(e){function t(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{captureRejections:!0}));return i.__validate(e,n)?(i.url=i.requestURL=e.trim(),i.state=p.IDLE,i.__defaultOpts={body:null,retry:!1,method:"GET",headers:{},fileName:"",timeout:-1,metadata:null,override:!1,forceResume:!1,removeOnStop:!0,removeOnFail:!0,progressThrottle:1e3,httpRequestOptions:{},httpsRequestOptions:{},resumeOnIncomplete:!0,resumeIfFileExists:!1,resumeOnIncompleteMaxRetry:5},i.__opts=Object.assign({},i.__defaultOpts),i.__pipes=[],i.__total=0,i.__downloaded=0,i.__progress=0,i.__retryCount=0,i.__retryTimeout=null,i.__resumeRetryCount=0,i.__states=p,i.__promise=null,i.__request=null,i.__response=null,i.__isAborted=!1,i.__isResumed=!1,i.__isResumable=!1,i.__isRedirected=!1,i.__destFolder=n,i.__statsEstimate={time:0,bytes:0,prevBytes:0,throttleTime:0},i.__fileName="",i.__filePath="",i.updateOptions(o),i):r(i)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"start",value:function(){var e=this,t=function(){return new Promise((function(t,r){e.__promise={resolve:t,reject:r},e.__start()}))};return this.__opts.resumeIfFileExists&&this.state!==this.__states.RESUMED?this.getTotalSize().then((function(r){var n=r.name,o=r.total,s=e.__opts.override;return e.__opts.override=!0,e.__filePath=e.__getFilePath(n),e.__opts.override=s,e.__filePath&&i.existsSync(e.__filePath)?e.__getFilesizeInBytes(e.__filePath)===o?t():e.resumeFromFile(e.__filePath,{total:o,fileName:n}):t()})):t()}},{key:"pause",value:function(){var e=this;return this.state===this.__states.STOPPED?Promise.resolve(!0):(this.__response&&(this.__response.unpipe(),this.__pipes.forEach((function(e){return e.stream.unpipe()}))),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then((function(){return e.__setState(e.__states.PAUSED),e.emit("pause"),!0})))}},{key:"resume",value:function(){return this.__promise?this.state===this.__states.STOPPED?Promise.resolve(!1):(this.__setState(this.__states.RESUMED),this.__isResumable&&(this.__isResumed=!0,this.__reqOptions.headers.range="bytes="+this.__downloaded+"-"),this.emit("resume",this.__isResumed),this.__start()):this.start()}},{key:"stop",value:function(){var e=this;return this.state===this.__states.STOPPED?Promise.resolve(!0):(this.__requestAbort(),this.__closeFileStream().then((function(){return e.__opts.removeOnStop?new Promise((function(t,r){i.access(e.__filePath,(function(n){return n?(e.__emitStop(),t(!0)):void i.unlink(e.__filePath,(function(n){return n?(e.__setState(e.__states.FAILED),e.emit("error",n),r(n)):(e.__emitStop(),void t(!0))}))}))})):(e.__emitStop(),Promise.resolve(!0))})))}},{key:"pipe",value:function(e){return this.__pipes.push({stream:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null}),e}},{key:"unpipe",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=function(t){return e.__response?e.__response.unpipe(t):t.unpipe()};t?this.__pipes.find((function(e){return e.stream===t}))&&(r(t),this.__pipes=this.__pipes.filter((function(e){return e.stream!==t}))):(this.__pipes.forEach((function(e){return r(e.stream)})),this.__pipes=[])}},{key:"getDownloadPath",value:function(){return this.__filePath}},{key:"isResumable",value:function(){return this.__isResumable}},{key:"updateOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.__opts=Object.assign({},this.__opts,e),this.__headers=this.__opts.headers,this.__opts.timeout>-1&&(this.__opts.httpRequestOptions.timeout=this.__opts.timeout,this.__opts.httpsRequestOptions.timeout=this.__opts.timeout),("number"!=typeof this.__opts.progressThrottle||0>this.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=t||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url)}},{key:"getOptions",value:function(){return this.__opts}},{key:"getMetadata",value:function(){return this.__opts.metadata}},{key:"getStats",value:function(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes}}},{key:"getTotalSize",value:function(){var e=this;return new Promise((function(t,r){var n=function(t){e.__initProtocol(t);var r=Object.assign({},e.__headers);r.hasOwnProperty("range")&&delete r.range;var n=e.__getReqOptions("HEAD",t,r);return Object.assign({},e.__reqOptions,n)},o=function(i,a){var c=e.__protocol.request(a,(function(a){if(e.__isRequireRedirect(a)){var c=/^https?:\/\//.test(a.headers.location)?a.headers.location:new s.URL(a.headers.location,i).href;return e.emit("redirected",c,i),o(c,n(c))}return 200===a.statusCode?void t({name:e.__getFileNameFromHeaders(a.headers,a),total:parseInt(a.headers["content-length"])||null}):r(Error("Response status was "+a.statusCode))}));c.on("error",(function(e){return r(e)})),c.on("timeout",(function(){return r(Error("timeout"))})),c.on("uncaughtException",(function(e){return r(e)})),c.end()};o(e.url,n(e.url))}))}},{key:"getResumeState",value:function(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total}}},{key:"resumeFromFile",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.__opts.override=!0,this.__filePath=e,(r.total&&r.fileName?Promise.resolve({name:r.fileName,total:r.total}):this.getTotalSize()).then((function(e){var n=e.name;return t.__total=r.total||e.total,t.__fileName=r.fileName||n,t.__downloaded=r.downloaded||t.__getFilesizeInBytes(t.__filePath),t.__reqOptions.headers.range="bytes="+t.__downloaded+"-",t.__isResumed=!0,t.__isResumable=!0,t.__setState(t.__states.RESUMED),t.emit("resume",t.__isResumed),new Promise((function(e,r){t.__promise={resolve:e,reject:r},t.__start()}))}))}},{key:"__start",value:function(){this.__isRedirected||this.state===this.__states.RESUMED||(this.emit("start"),this.__setState(this.__states.STARTED),this.__initProtocol(this.url)),this.__response=null,this.__isAborted=!1,this.__request&&!this.__request.destroyed&&this.__request.destroy(),this.__retryTimeout&&(clearTimeout(this.__retryTimeout),this.__retryTimeout=null),this.__request=this.__downloadRequest(this.__promise.resolve,this.__promise.reject),this.__request.on("error",this.__onError(this.__promise.resolve,this.__promise.reject)),this.__request.on("timeout",this.__onTimeout(this.__promise.resolve,this.__promise.reject)),this.__request.on("uncaughtException",this.__onError(this.__promise.resolve,this.__promise.reject,!0)),this.__opts.body&&this.__request.write(this.__opts.body),this.__request.end()}},{key:"__resolvePending",value:function(){if(this.__promise){var e=this.__promise.resolve;return this.__promise=null,e(!0)}}},{key:"__downloadRequest",value:function(e,t){var r=this;return this.__protocol.request(this.__reqOptions,(function(n){if(r.__response=n,r.__isResumed||(r.__total=parseInt(n.headers["content-length"])||null,r.__resetStats()),r.__isRequireRedirect(n)){var o=/^https?:\/\//.test(n.headers.location)?n.headers.location:new s.URL(n.headers.location,r.url).href;return r.__isRedirected=!0,r.__initProtocol(o),r.emit("redirected",o,r.url),r.__start()}if(200!==n.statusCode&&206!==n.statusCode){var i=Error("Response status was "+n.statusCode);return i.status=n.statusCode||0,i.body=n.body||"",r.__setState(r.__states.FAILED),r.emit("error",i),t(i)}(r.__opts.forceResume||n.headers.hasOwnProperty("accept-ranges")&&"none"!==n.headers["accept-ranges"])&&(r.__isResumable=!0),r.__startDownload(n,e,t)}))}},{key:"__startDownload",value:function(e,t,r){var o=this,s=e;if(this.__isResumed)this.__fileStream=i.createWriteStream(this.__filePath,{flags:"a"});else{var c=this.__getFileNameFromHeaders(e.headers);if(this.__filePath=this.__getFilePath(c),this.__fileName=this.__filePath.split(a.sep).pop(),i.existsSync(this.__filePath)){var u=this.__getFilesizeInBytes(this.__filePath),l=this.__total?this.__total:0;if("object"===n(this.__opts.override)&&this.__opts.override.skip&&(this.__opts.override.skipSmaller||u>=l))return this.emit("skip",{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:u}),this.__setState(this.__states.SKIPPED),t(!0)}this.__fileStream=i.createWriteStream(this.__filePath,{})}this.emit("download",{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date,this.__statsEstimate.throttleTime=new Date,s.on("data",(function(e){return o.__calculateStats(e.length)})),this.__pipes.forEach((function(e){s.pipe(e.stream,e.options),s=e.stream})),s.pipe(this.__fileStream),s.on("error",this.__onError(t,r)),this.__fileStream.on("finish",this.__onFinished(t,r)),this.__fileStream.on("error",this.__onError(t,r))}},{key:"__hasFinished",value:function(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state)}},{key:"__isRequireRedirect",value:function(e){return e.statusCode>300&&400>e.statusCode&&e.headers.hasOwnProperty("location")&&e.headers.location}},{key:"__onFinished",value:function(e,t){var r=this;return function(){r.__fileStream.close((function(n){if(n)return t(n);if(r.__hasFinished()){var o=!!r.__total&&r.__downloaded!==r.__total;if(o&&r.__isResumable&&r.__opts.resumeOnIncomplete&&r.__opts.resumeOnIncompleteMaxRetry>=r.__resumeRetryCount)return r.__resumeRetryCount++,r.emit("warning",Error("uncomplete download, retrying")),r.resume();r.__setState(r.__states.FINISHED),r.__pipes=[],r.emit("end",{fileName:r.__fileName,filePath:r.__filePath,totalSize:r.__total,incomplete:o,onDiskSize:r.__getFilesizeInBytes(r.__filePath),downloadedSize:r.__downloaded})}return e(r.__downloaded===r.__total)}))}}},{key:"__closeFileStream",value:function(){var e=this;return this.__fileStream?new Promise((function(t,r){e.__fileStream.close((function(e){return e?r(e):t(!0)}))})):Promise.resolve(!0)}},{key:"__onError",value:function(e,t){var r=this,n=!(2>=arguments.length||void 0===arguments[2])&&arguments[2];return function(e){return r.__pipes=[],n&&r.__requestAbort(),r.state===r.__states.STOPPED||r.state===r.__states.FAILED?void 0:r.__opts.retry?r.__retry(e).catch((function(n){r.__removeFile().finally((function(){r.__setState(r.__states.FAILED),r.emit("error",n||e),t(n||e)}))})):r.__removeFile().finally((function(){r.__setState(r.__states.FAILED),r.emit("error",e),t(e)}))}}},{key:"__retry",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.__opts.retry||"object"!==n(this.__opts.retry))return Promise.reject(t||Error("wrong retry options"));var r=this.__opts.retry,o=r.delay,i=void 0===o?0:o,s=r.maxRetries;return(void 0===s?999:s)>this.__retryCount?(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit("retry",this.__retryCount,this.__opts.retry,t),this.__response&&(this.__response.unpipe(),this.__pipes.forEach((function(e){return e.stream.unpipe()}))),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then((function(){return new Promise((function(t){return e.__retryTimeout=setTimeout((function(){return t(e.__downloaded>0?e.resume():e.__start())}),i)}))}))):Promise.reject(t||Error("reached the maximum retries"))}},{key:"__onTimeout",value:function(e,t){var r=this;return function(){return r.__requestAbort(),r.__opts.retry?r.__retry(Error("timeout")).catch((function(e){r.__removeFile().finally((function(){r.__setState(r.__states.FAILED),e?t(e):(r.emit("timeout"),t(Error("timeout")))}))})):r.__removeFile().finally((function(){r.__setState(r.__states.FAILED),r.emit("timeout"),t(Error("timeout"))}))}}},{key:"__resetStats",value:function(){this.__retryCount=0,this.__downloaded=0,this.__progress=0,this.__resumeRetryCount=0,this.__statsEstimate={time:0,bytes:0,prevBytes:0,throttleTime:0}}},{key:"__getFileNameFromHeaders",value:function(e,t){var r="",n=e.hasOwnProperty("content-disposition"),o=n?e["content-disposition"].match(/.*filename\*=.*?'.*?'([^"].+?[^"])(?:(?:;)|$)/i):null,i=!n||o?null:e["content-disposition"].match(/.*filename="(.*?)";?/i),c=!n||o||i?null:e["content-disposition"].match(/.*filename=([^"].+?[^"])(?:(?:;)|$)/i);return n&&(o||i||c)?(r=(r=e["content-disposition"]).trim(),o?r=o[1]:i?r=i[1]:c&&(r=c[1]),r=r.replace(/[/\\]/g,"")):r=a.basename(new s.URL(this.requestURL).pathname).length>0?a.basename(new s.URL(this.requestURL).pathname):new s.URL(this.requestURL).hostname+".html",this.__opts.fileName?this.__getFileNameFromOpts(r,t):r.replace(/\.*$/,"")}},{key:"__getFilePath",value:function(e){var t=a.join(this.__destFolder,e),r=t;return this.__opts.override||this.state===this.__states.RESUMED||t!==(r=this.__uniqFileNameSync(r))&&this.emit("renamed",{path:r,fileName:r.split(a.sep).pop(),prevPath:t,prevFileName:t.split(a.sep).pop()}),r}},{key:"__getFileNameFromOpts",value:function(e,t){if(!this.__opts.fileName)return e;if("string"==typeof this.__opts.fileName)return this.__opts.fileName;if("function"==typeof this.__opts.fileName){var r=a.join(this.__destFolder,e);return t&&t.headers||this.__response&&this.__response.headers?this.__opts.fileName(e,r,(t||this.__response).headers["content-type"]):this.__opts.fileName(e,r)}if("object"===n(this.__opts.fileName)){var o=this.__opts.fileName,i=o.name,s=!!o.hasOwnProperty("ext")&&o.ext;if("string"==typeof s)return i+"."+s;if("boolean"==typeof s){if(s)return i;var c=e.includes(".")?e.split(".").pop():"";return""===c?i:i+"."+c}}return e}},{key:"__calculateStats",value:function(e){var t=new Date,r=t-this.__statsEstimate.time,n=t-this.__statsEstimate.throttleTime,o=this.__total||0;e&&(this.__downloaded+=e,this.__progress=0===o?0:this.__downloaded/o*100,(this.__downloaded===o||r>1e3)&&(this.__statsEstimate.time=t,this.__statsEstimate.bytes=this.__downloaded-this.__statsEstimate.prevBytes,this.__statsEstimate.prevBytes=this.__downloaded),(this.__downloaded===o||n>this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=t,this.emit("progress.throttled",this.getStats())),this.emit("progress",this.getStats()))}},{key:"__setState",value:function(e){this.state=e,this.emit("stateChanged",this.state)}},{key:"__getReqOptions",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new s.URL(t),o={protocol:n.protocol,host:n.hostname,port:n.port,path:n.pathname+n.search,method:e};return r&&(o.headers=r),o}},{key:"__getFilesizeInBytes",value:function(e){try{return i.statSync(e,{throwIfNoEntry:!1}).size||0}catch(t){this.emit("warning",t)}return 0}},{key:"__validate",value:function(e,t){if("string"!=typeof e)throw Error("URL should be an string");if(""===e.trim())throw Error("URL couldn't be empty");if("string"!=typeof t)throw Error("Destination Folder should be an string");if(""===t.trim())throw Error("Destination Folder couldn't be empty");if(!i.existsSync(t))throw Error("Destination Folder must exist");if(!i.statSync(t).isDirectory())throw Error("Destination Folder must be a directory");try{i.accessSync(t,i.constants.W_OK)}catch(r){throw Error("Destination Folder must be writable")}return!0}},{key:"__initProtocol",value:function(e){var t=this.__getReqOptions(this.__opts.method,e,this.__headers);this.requestURL=e,e.indexOf("https://")>-1?(this.__protocol=u,t.agent=new u.Agent({keepAlive:!1}),this.__reqOptions=Object.assign({},t,this.__opts.httpsRequestOptions)):(this.__protocol=c,t.agent=new c.Agent({keepAlive:!1}),this.__reqOptions=Object.assign({},t,this.__opts.httpRequestOptions))}},{key:"__uniqFileNameSync",value:function(e){if("string"!=typeof e||""===e)return e;try{i.accessSync(e,i.F_OK);var t=e.match(/(.*)(\([0-9]+\))(\..*)$/),r=t?t[1].trim():e,n=t?parseInt(t[2].replace(/\(|\)/,"")):0,o=e.split(".").pop();return o!==e&&o.length>0?r=r.replace(o="."+o,""):o="",this.__uniqFileNameSync(r+" ("+ ++n+")"+o)}catch(s){return e}}},{key:"__removeFile",value:function(){var e=this;return new Promise((function(t){return e.__fileStream?void e.__fileStream.close((function(r){return r&&e.emit("warning",r),e.__opts.removeOnFail?i.access(e.__filePath,(function(n){return n?t():void i.unlink(e.__filePath,(function(n){n&&e.emit("warning",r),t()}))})):void t()})):t()}))}},{key:"__requestAbort",value:function(){this.__isAborted=!0,this.__retryTimeout&&(clearTimeout(this.__retryTimeout),this.__retryTimeout=null),this.__response&&this.__response.destroy(),this.__request&&(this.__request.destroy?this.__request.destroy():this.__request.abort())}},{key:"__emitStop",value:function(){this.__resolvePending(),this.__setState(this.__states.STOPPED),this.emit("stop")}}]),t}(l.EventEmitter)}(Xd);const{appendFile:Wd}=Er,Yd="Dpkg::Lock::Timeout=300";let Kd=!1;const Jd=Hl((function(e=Ee()){k(e,"nala"!==e?["update","-y","-o",Yd]:["update","-o",Yd],{...ga,env:ye(e)}),Kd=!0}));var Qd,Zd;(Zd=Qd||(Qd={}))[Zd.NameDashVersion=0]="NameDashVersion",Zd[Zd.NameEqualsVersion=1]="NameEqualsVersion",Zd[Zd.Name=2]="Name",Zd[Zd.None=3]="None";const eh=Hl((async function(e){Jd(e);const t=await be([{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}],e);0!==t.length&&k(e,["install","-y","--fix-broken","-o",Yd,...t],{...ga,env:ye(e)})}),{promise:!0}),th=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"],rh="/etc/apt/trusted.gpg.d",nh="keyserver.ubuntu.com";let oh,ih,sh,ah,ch=!1;var uh=Sr;const lh=e((function(e,t){if("string"!=typeof e)return e;if(0===e.length)return e;var r,n=uh.basename(e,uh.extname(e))+t,o=uh.join(uh.dirname(e),n);return(r=e.slice(0,2))==="."+uh.sep||"./"===r?"."+uh.sep+o:o}));var ph={},fh={};ke(fh,"name",(()=>Ue));var dh={};ke(dh,"normalizeTrim",(()=>je));var hh={};ke(hh,"addExeExt",(()=>Fe));var mh={};ke(mh,"addNamePrefix",(()=>Me));var vh={};ke(vh,"addNameSuffix",(()=>Ge));var yh={};ke(yh,"addShExt",(()=>Be));var gh={};ke(gh,"addShRelativePrefix",(()=>He));var Eh={};ke(Eh,"removeExt",(()=>qe));var wh={};ke(wh,"replaceExt",(()=>Ve));var _h={};let bh;ke(_h,"isPathInside",(()=>ze)),De(ph,fh),De(ph,dh),De(ph,hh),De(ph,mh),De(ph,vh),De(ph,yh),De(ph,gh),De(ph,Eh),De(ph,wh),De(ph,_h);let Oh=!1,Rh=!1,Sh=!1;const Ih=/Version\s*:\s*(.*)/g;var Th={},xh={},Ph={};!function(e){function t(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}var r,n=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.getCmdPath=e.tryGetExecutablePath=e.isRooted=e.isDirectory=e.exists=e.READONLY=e.UV_FS_O_EXLOCK=e.IS_WINDOWS=e.unlink=e.symlink=e.stat=e.rmdir=e.rm=e.rename=e.readlink=e.readdir=e.open=e.mkdir=e.lstat=e.copyFile=e.chmod=void 0;const a=i(gr),c=i(Sr);e.chmod=(r=a.promises).chmod,e.copyFile=r.copyFile,e.lstat=r.lstat,e.mkdir=r.mkdir,e.open=r.open,e.readdir=r.readdir,e.readlink=r.readlink,e.rename=r.rename,e.rm=r.rm,e.rmdir=r.rmdir,e.stat=r.stat,e.symlink=r.symlink,e.unlink=r.unlink,e.IS_WINDOWS="win32"===process.platform,e.UV_FS_O_EXLOCK=268435456,e.READONLY=a.constants.O_RDONLY,e.exists=function(t){return s(this,void 0,void 0,(function*(){try{yield e.stat(t)}catch(r){if("ENOENT"===r.code)return!1;throw r}return!0}))},e.isDirectory=function(t,r=!1){return s(this,void 0,void 0,(function*(){return(r?yield e.stat(t):yield e.lstat(t)).isDirectory()}))},e.isRooted=function(t){if(!(t=function(t){return t=t||"",e.IS_WINDOWS?(t=t.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):t.replace(/\/\/+/g,"/")}(t)))throw Error('isRooted() parameter "p" cannot be empty');return e.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")},e.tryGetExecutablePath=function(r,n){return s(this,void 0,void 0,(function*(){let o;try{o=yield e.stat(r)}catch(s){"ENOENT"!==s.code&&console.log(`Unexpected error attempting to determine if executable file exists '${r}': ${s}`)}if(o&&o.isFile())if(e.IS_WINDOWS){const e=c.extname(r).toUpperCase();if(n.some((t=>t.toUpperCase()===e)))return r}else if(t(o))return r;const i=r;for(const a of n){r=i+a,o=void 0;try{o=yield e.stat(r)}catch(s){"ENOENT"!==s.code&&console.log(`Unexpected error attempting to determine if executable file exists '${r}': ${s}`)}if(o&&o.isFile()){if(e.IS_WINDOWS){try{const t=c.dirname(r),n=c.basename(r).toUpperCase();for(const o of yield e.readdir(t))if(n===o.toUpperCase()){r=c.join(t,o);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${r}': ${s}`)}return r}if(t(o))return r}}return""}))},e.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}}(Ph);var Ah=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),Nh=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ch=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Ah(t,e,r);return Nh(t,e),t},$h=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(xh,"__esModule",{value:!0}),xh.findInPath=xh.which=Uh=xh.mkdirP=xh.rmRF=xh.mv=xh.cp=void 0;const Lh=Vr,Dh=Ch(Sr),kh=Ch(Ph);xh.cp=function(e,t,r={}){return $h(this,void 0,void 0,(function*(){const{force:n,recursive:o,copySourceDirectory:i}=function(e){return{force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}}(r),s=(yield kh.exists(t))?yield kh.stat(t):null;if(s&&s.isFile()&&!n)return;const a=s&&s.isDirectory()&&i?Dh.join(t,Dh.basename(e)):t;if(!(yield kh.exists(e)))throw Error("no such file or directory: "+e);if((yield kh.stat(e)).isDirectory()){if(!o)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield et(e,a,0,n)}else{if(""===Dh.relative(e,a))throw Error(`'${a}' and '${e}' are the same file`);yield tt(e,a,n)}}))},xh.mv=function(e,t,r={}){return $h(this,void 0,void 0,(function*(){if(yield kh.exists(t)){let n=!0;if((yield kh.isDirectory(t))&&(t=Dh.join(t,Dh.basename(e)),n=yield kh.exists(t)),n){if(null!=r.force&&!r.force)throw Error("Destination already exists");yield Je(t)}}yield Qe(Dh.dirname(t)),yield kh.rename(e,t)}))},xh.rmRF=Je;var Uh=xh.mkdirP=Qe;xh.which=function e(t,r){return $h(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(kh.IS_WINDOWS?`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`:`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return r}const n=yield Ze(t);return n&&n.length>0?n[0]:""}))},xh.findInPath=Ze;var jh={exports:{}},Fh={exports:{}};!function(e,t){function r(e){A[e]=N++}function n(e){for(var t=0;$.length>t;t++){var r=$[t][0],n=$[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>R)return null;if(!(t.loose?x[A.LOOSE]:x[A.FULL]).test(e))return null;try{return new i(e,t)}catch(r){return null}}function i(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof i){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>R)throw new TypeError("version is longer than "+R+" characters");if(!(this instanceof i))return new i(e,t);O("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?x[A.LOOSE]:x[A.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>S||0>this.major)throw new TypeError("Invalid major version");if(this.minor>S||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>S||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=r[4]?r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&S>t)return t}return e})):[],this.build=r[5]?r[5].split("."):[],this.format()}function s(e,t){var r=D.test(e),n=D.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1}function a(e,t,r){return new i(e,r).compare(new i(t,r))}function c(e,t,r){return a(e,t,r)>0}function u(e,t,r){return 0>a(e,t,r)}function l(e,t,r){return 0===a(e,t,r)}function p(e,t,r){return 0!==a(e,t,r)}function f(e,t,r){return a(e,t,r)>=0}function d(e,t,r){return 0>=a(e,t,r)}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return l(e,r,n);case"!=":return p(e,r,n);case">":return c(e,r,n);case">=":return f(e,r,n);case"<":return u(e,r,n);case"<=":return d(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),O("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===k?"":this.operator+this.semver.version,O("comp",this)}function v(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof v)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new v(e.raw,t);if(e instanceof m)return new v(e.value,t);if(!(this instanceof v))return new v(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function y(e,t){for(var r=!0,n=e.slice(),o=n.pop();r&&n.length;)r=n.every((function(e){return o.intersects(e,t)})),o=n.pop();return r}function g(e){return!e||"x"===e.toLowerCase()||"*"===e}function E(e,t,r,n,o,i,s,a,c,u,l,p,f){return((t=g(r)?"":g(n)?">="+r+".0.0":g(o)?">="+r+"."+n+".0":">="+t)+" "+(a=g(c)?"":g(u)?"<"+(+c+1)+".0.0":g(l)?"<"+c+"."+(+u+1)+".0":p?"<="+c+"."+u+"."+l+"-"+p:"<="+a)).trim()}function w(e,t,r){for(var n=0;e.length>n;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(n=0;e.length>n;n++)if(O(e[n].semver),e[n].semver!==k&&e[n].semver.prerelease.length>0){var o=e[n].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function _(e,t,r){try{t=new v(t,r)}catch(n){return!1}return t.test(e)}function b(e,t,r,n){var o,s,a,l,p;switch(e=new i(e,n),t=new v(t,n),r){case">":o=c,s=d,a=u,l=">",p=">=";break;case"<":o=u,s=f,a=c,l="<",p="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_(e,t,n))return!1;for(var h=0;t.set.length>h;++h){var y=null,g=null;if(t.set[h].forEach((function(e){e.semver===k&&(e=new m(">=0.0.0")),g=g||e,o(e.semver,(y=y||e).semver,n)?y=e:a(e.semver,g.semver,n)&&(g=e)})),y.operator===l||y.operator===p)return!1;if((!g.operator||g.operator===l)&&s(e,g.semver))return!1;if(g.operator===p&&a(e,g.semver))return!1}return!0}var O;t=Fh.exports=i,O="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=[].slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var R=256,S=Number.MAX_SAFE_INTEGER||9007199254740991,I=R-6,T=t.re=[],x=t.safeRe=[],P=t.src=[],A=t.tokens={},N=0,C="[a-zA-Z0-9-]",$=[["\\s",1],["\\d",R],[C,I]];r("NUMERICIDENTIFIER"),P[A.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),P[A.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),P[A.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+C+"*",r("MAINVERSION"),P[A.MAINVERSION]="("+P[A.NUMERICIDENTIFIER]+")\\.("+P[A.NUMERICIDENTIFIER]+")\\.("+P[A.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),P[A.MAINVERSIONLOOSE]="("+P[A.NUMERICIDENTIFIERLOOSE]+")\\.("+P[A.NUMERICIDENTIFIERLOOSE]+")\\.("+P[A.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),P[A.PRERELEASEIDENTIFIER]="(?:"+P[A.NUMERICIDENTIFIER]+"|"+P[A.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),P[A.PRERELEASEIDENTIFIERLOOSE]="(?:"+P[A.NUMERICIDENTIFIERLOOSE]+"|"+P[A.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),P[A.PRERELEASE]="(?:-("+P[A.PRERELEASEIDENTIFIER]+"(?:\\."+P[A.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),P[A.PRERELEASELOOSE]="(?:-?("+P[A.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+P[A.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),P[A.BUILDIDENTIFIER]=C+"+",r("BUILD"),P[A.BUILD]="(?:\\+("+P[A.BUILDIDENTIFIER]+"(?:\\."+P[A.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),P[A.FULLPLAIN]="v?"+P[A.MAINVERSION]+P[A.PRERELEASE]+"?"+P[A.BUILD]+"?",P[A.FULL]="^"+P[A.FULLPLAIN]+"$",r("LOOSEPLAIN"),P[A.LOOSEPLAIN]="[v=\\s]*"+P[A.MAINVERSIONLOOSE]+P[A.PRERELEASELOOSE]+"?"+P[A.BUILD]+"?",r("LOOSE"),P[A.LOOSE]="^"+P[A.LOOSEPLAIN]+"$",r("GTLT"),P[A.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),P[A.XRANGEIDENTIFIERLOOSE]=P[A.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),P[A.XRANGEIDENTIFIER]=P[A.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),P[A.XRANGEPLAIN]="[v=\\s]*("+P[A.XRANGEIDENTIFIER]+")(?:\\.("+P[A.XRANGEIDENTIFIER]+")(?:\\.("+P[A.XRANGEIDENTIFIER]+")(?:"+P[A.PRERELEASE]+")?"+P[A.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),P[A.XRANGEPLAINLOOSE]="[v=\\s]*("+P[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+P[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+P[A.XRANGEIDENTIFIERLOOSE]+")(?:"+P[A.PRERELEASELOOSE]+")?"+P[A.BUILD]+"?)?)?",r("XRANGE"),P[A.XRANGE]="^"+P[A.GTLT]+"\\s*"+P[A.XRANGEPLAIN]+"$",r("XRANGELOOSE"),P[A.XRANGELOOSE]="^"+P[A.GTLT]+"\\s*"+P[A.XRANGEPLAINLOOSE]+"$",r("COERCE"),P[A.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),T[A.COERCERTL]=RegExp(P[A.COERCE],"g"),x[A.COERCERTL]=RegExp(n(P[A.COERCE]),"g"),r("LONETILDE"),P[A.LONETILDE]="(?:~>?)",r("TILDETRIM"),P[A.TILDETRIM]="(\\s*)"+P[A.LONETILDE]+"\\s+",T[A.TILDETRIM]=RegExp(P[A.TILDETRIM],"g"),x[A.TILDETRIM]=RegExp(n(P[A.TILDETRIM]),"g"),r("TILDE"),P[A.TILDE]="^"+P[A.LONETILDE]+P[A.XRANGEPLAIN]+"$",r("TILDELOOSE"),P[A.TILDELOOSE]="^"+P[A.LONETILDE]+P[A.XRANGEPLAINLOOSE]+"$",r("LONECARET"),P[A.LONECARET]="(?:\\^)",r("CARETTRIM"),P[A.CARETTRIM]="(\\s*)"+P[A.LONECARET]+"\\s+",T[A.CARETTRIM]=RegExp(P[A.CARETTRIM],"g"),x[A.CARETTRIM]=RegExp(n(P[A.CARETTRIM]),"g"),r("CARET"),P[A.CARET]="^"+P[A.LONECARET]+P[A.XRANGEPLAIN]+"$",r("CARETLOOSE"),P[A.CARETLOOSE]="^"+P[A.LONECARET]+P[A.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),P[A.COMPARATORLOOSE]="^"+P[A.GTLT]+"\\s*("+P[A.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),P[A.COMPARATOR]="^"+P[A.GTLT]+"\\s*("+P[A.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),P[A.COMPARATORTRIM]="(\\s*)"+P[A.GTLT]+"\\s*("+P[A.LOOSEPLAIN]+"|"+P[A.XRANGEPLAIN]+")",T[A.COMPARATORTRIM]=RegExp(P[A.COMPARATORTRIM],"g"),x[A.COMPARATORTRIM]=RegExp(n(P[A.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),P[A.HYPHENRANGE]="^\\s*("+P[A.XRANGEPLAIN]+")\\s+-\\s+("+P[A.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),P[A.HYPHENRANGELOOSE]="^\\s*("+P[A.XRANGEPLAINLOOSE]+")\\s+-\\s+("+P[A.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),P[A.STAR]="(<|>)?=?\\s*\\*";for(var L=0;N>L;L++)O(L,P[L]),T[L]||(T[L]=RegExp(P[L]),x[L]=RegExp(n(P[L])));t.parse=o,t.valid=function(e,t){var r=o(e,t);return r?r.version:null},t.clean=function(e,t){var r=o(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},t.SemVer=i,i.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},i.prototype.toString=function(){return this.version},i.prototype.compare=function(e){return O("SemVer.compare",this.version,this.options,e),e instanceof i||(e=new i(e,this.options)),this.compareMain(e)||this.comparePre(e)},i.prototype.compareMain=function(e){return e instanceof i||(e=new i(e,this.options)),s(this.major,e.major)||s(this.minor,e.minor)||s(this.patch,e.patch)},i.prototype.comparePre=function(e){if(e instanceof i||(e=new i(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;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(O("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return s(r,n)}while(++t)},i.prototype.compareBuild=function(e){e instanceof i||(e=new i(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(O("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return s(r,n)}while(++t)},i.prototype.inc=function(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{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&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},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new i(e,r).inc(t,n).version}catch(o){return null}},t.diff=function(e,t){if(l(e,t))return null;var r=o(e),n=o(t),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return i+a;return s},t.compareIdentifiers=s;var D=/^[0-9]+$/;t.rcompareIdentifiers=function(e,t){return s(t,e)},t.major=function(e,t){return new i(e,t).major},t.minor=function(e,t){return new i(e,t).minor},t.patch=function(e,t){return new i(e,t).patch},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0)},t.compareBuild=function(e,t,r){var n=new i(e,r),o=new i(t,r);return n.compare(o)||n.compareBuild(o)},t.rcompare=function(e,t,r){return a(t,e,r)},t.sort=function(e,r){return e.sort((function(e,n){return t.compareBuild(e,n,r)}))},t.rsort=function(e,r){return e.sort((function(e,n){return t.compareBuild(n,e,r)}))},t.gt=c,t.lt=u,t.eq=l,t.neq=p,t.gte=f,t.lte=d,t.cmp=h,t.Comparator=m;var k={};m.prototype.parse=function(e){var t=e.match(this.options.loose?x[A.COMPARATORLOOSE]:x[A.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new i(t[2],this.options.loose):k},m.prototype.toString=function(){return this.value},m.prototype.test=function(e){if(O("Comparator.test",e,this.options.loose),this.semver===k||e===k)return!0;if("string"==typeof e)try{e=new i(e,this.options)}catch(t){return!1}return h(e,this.operator,this.semver,this.options)},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw new TypeError("a Comparator is required");var r;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new v(e.value,t),_(this.value,r,t));if(""===e.operator)return""===e.value||(r=new v(this.value,t),_(e.semver,r,t));var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||o||i&&s||a||c},t.Range=v,v.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},v.prototype.toString=function(){return this.range},v.prototype.parseRange=function(e){var t=this.options.loose;e=e.replace(t?x[A.HYPHENRANGELOOSE]:x[A.HYPHENRANGE],E),O("hyphen replace",e),e=e.replace(x[A.COMPARATORTRIM],"$1$2$3"),O("comparator trim",e,x[A.COMPARATORTRIM]),e=(e=(e=e.replace(x[A.TILDETRIM],"$1~")).replace(x[A.CARETTRIM],"$1^")).split(/\s+/).join(" ");var r=t?x[A.COMPARATORLOOSE]:x[A.COMPARATOR],n=e.split(" ").map((function(e){return function(e,t){return O("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return O("caret",e,t),e.replace(t.loose?x[A.CARETLOOSE]:x[A.CARET],(function(t,r,n,o,i){var s;return O("caret",e,t,r,n,o,i),g(r)?s="":g(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":g(o)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":i?(O("replaceCaret pr",i),s="0"===r?"0"===n?">="+r+"."+n+"."+o+"-"+i+" <"+r+"."+n+"."+(+o+1):">="+r+"."+n+"."+o+"-"+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+o+"-"+i+" <"+(+r+1)+".0.0"):(O("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+o+" <"+r+"."+n+"."+(+o+1):">="+r+"."+n+"."+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+o+" <"+(+r+1)+".0.0"),O("caret return",s),s}))}(e,t)})).join(" ")}(e,t),O("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return e.replace(t.loose?x[A.TILDELOOSE]:x[A.TILDE],(function(t,r,n,o,i){var s;return O("tilde",e,t,r,n,o,i),g(r)?s="":g(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":g(o)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":i?(O("replaceTilde pr",i),s=">="+r+"."+n+"."+o+"-"+i+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+o+" <"+r+"."+(+n+1)+".0",O("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),O("tildes",e),e=function(e,t){return O("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){return(e=e.trim()).replace(t.loose?x[A.XRANGELOOSE]:x[A.XRANGE],(function(r,n,o,i,s,a){O("xRange",e,r,n,o,i,s,a);var c=g(o),u=c||g(i),l=u||g(s);return"="===n&&l&&(n=""),a=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&l?(u&&(i=0),s=0,">"===n?(n=">=",u?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",u?o=+o+1:i=+i+1),r=n+o+"."+i+"."+s+a):u?r=">="+o+".0.0"+a+" <"+(+o+1)+".0.0"+a:l&&(r=">="+o+"."+i+".0"+a+" <"+o+"."+(+i+1)+".0"+a),O("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),O("xrange",e),e=function(e,t){return O("replaceStars",e,t),e.trim().replace(x[A.STAR],"")}(e,t),O("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(n=n.filter((function(e){return!!e.match(r)}))),n.map((function(e){return new m(e,this.options)}),this)},v.prototype.intersects=function(e,t){if(!(e instanceof v))throw new TypeError("a Range is required");return this.set.some((function(r){return y(r,t)&&e.set.some((function(e){return y(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new v(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},v.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new i(e,this.options)}catch(r){return!1}for(var t=0;this.set.length>t;t++)if(w(this.set[t],e,this.options))return!0;return!1},t.satisfies=_,t.maxSatisfying=function(e,t,r){var n=null,o=null;try{var s=new v(t,r)}catch(a){return null}return e.forEach((function(e){s.test(e)&&(n&&-1!==o.compare(e)||(o=new i(n=e,r)))})),n},t.minSatisfying=function(e,t,r){var n=null,o=null;try{var s=new v(t,r)}catch(a){return null}return e.forEach((function(e){s.test(e)&&(n&&1!==o.compare(e)||(o=new i(n=e,r)))})),n},t.minVersion=function(e,t){e=new v(e,t);var r=new i("0.0.0");if(e.test(r))return r;if(r=new i("0.0.0-0"),e.test(r))return r;r=null;for(var n=0;e.set.length>n;++n)e.set[n].forEach((function(e){var t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!c(r,t)||(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}}));return r&&e.test(r)?r:null},t.validRange=function(e,t){try{return new v(e,t).range||"*"}catch(r){return null}},t.ltr=function(e,t,r){return b(e,t,"<",r)},t.gtr=function(e,t,r){return b(e,t,">",r)},t.outside=b,t.prerelease=function(e,t){var r=o(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new v(e,r),t=new v(t,r),e.intersects(t)},t.coerce=function(e,t){if(e instanceof i)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r=null;if((t=t||{}).rtl){for(var n;(n=x[A.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),x[A.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;x[A.COERCERTL].lastIndex=-1}else r=e.match(x[A.COERCE]);return null===r?null:o(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}}(0,Fh.exports);var Mh=Fh.exports;!function(e,t){var r=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t},i=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t._readLinuxVersionFile=t._getOsVersion=t._findMatch=void 0;const s=o(Mh),a=h(),c=mr,u=qr,l=gr;t._findMatch=function(t,r,n,o){return i(this,void 0,void 0,(function*(){const i=c.platform();let u,l,p;for(const c of n){const n=c.version;if(a.debug(`check ${n} satisfies ${t}`),s.satisfies(n,t)&&(!r||c.stable===r)&&(p=c.files.find((t=>{a.debug(`${t.arch}===${o} && ${t.platform}===${i}`);let r=t.arch===o&&t.platform===i;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||s.satisfies(n,t.platform_version)}return r})),p)){a.debug("matched "+c.version),l=c;break}}return l&&p&&(u=Object.assign({},l),u.files=[p]),u}))},t._getOsVersion=function(){const t=c.platform();let r="";if("darwin"===t)r=""+u.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},t._readLinuxVersionFile=function(){const e="/etc/lsb-release",t="/etc/os-release";let r="";return l.existsSync(e)?r=""+l.readFileSync(e):l.existsSync(t)&&(r=""+l.readFileSync(t)),r}}(jh,jh.exports);for(var Gh=jh.exports,Bh=Rr,Hh=[],qh=0;256>qh;++qh)Hh[qh]=(qh+256).toString(16).substr(1);var Vh=function(){return Bh.randomBytes(16)},zh=function(e,t){var r=t||0;return""+Hh[e[r++]]+Hh[e[r++]]+Hh[e[r++]]+Hh[e[r++]]+"-"+Hh[e[r++]]+Hh[e[r++]]+"-"+Hh[e[r++]]+Hh[e[r++]]+"-"+Hh[e[r++]]+Hh[e[r++]]+"-"+Hh[e[r++]]+Hh[e[r++]]+Hh[e[r++]]+Hh[e[r++]]+Hh[e[r++]]+Hh[e[r++]]},Xh=function(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||Vh)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;16>i;++i)t[n+i]=o[i];return t||zh(o)},Wh={},Yh={},Kh=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),Jh=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Qh=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Kh(t,e,r);return Jh(t,e),t},Zh=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(Yh,"__esModule",{value:!0}),Yh.argStringToArray=Yh.ToolRunner=void 0;const em=Qh(mr),tm=Qh(Br),rm=Qh(qr),nm=Qh(Sr),om=Qh(xh),im=Qh(Ph),sm=gn,am="win32"===process.platform;Yh.ToolRunner=class extends tm.EventEmitter{constructor(e,t,r){if(super(),!e)throw Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){const r=this._getSpawnFileName(),n=this._getSpawnArgs(e);let o=t?"":"[command]";if(am)if(this._isCmdFile()){o+=r;for(const e of n)o+=" "+e}else if(e.windowsVerbatimArguments){o+=`"${r}"`;for(const e of n)o+=" "+e}else{o+=this._windowsQuoteCmdArg(r);for(const e of n)o+=" "+this._windowsQuoteCmdArg(e)}else{o+=r;for(const e of n)o+=" "+e}return o}_processLineBuffer(e,t,r){try{let n=t+""+e,o=n.indexOf(em.EOL);for(;o>-1;)r(n.substring(0,o)),n=n.substring(o+em.EOL.length),o=n.indexOf(em.EOL);return n}catch(n){return this._debug("error processing line. Failed with error "+n),""}}_getSpawnFileName(){return am&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(am&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(const r of this.args)t+=" ",t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return t+='"',[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=!1;for(const i of e)if(t.some((e=>e===i))){r=!0;break}if(!r)return e;let n='"',o=!0;for(let i=e.length;i>0;i--)n+=e[i-1],o&&"\\"===e[i-1]?n+="\\":'"'===e[i-1]?(o=!0,n+='"'):o=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){const r={};return r.cwd=(e=e||{}).cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return Zh(this,void 0,void 0,(function*(){return!im.isRooted(this.toolPath)&&(this.toolPath.includes("/")||am&&this.toolPath.includes("\\"))&&(this.toolPath=nm.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield om.which(this.toolPath,!0),new Promise(((e,t)=>Zh(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)+em.EOL);const n=new cm(r,this.toolPath);if(n.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield im.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const o=this._getSpawnFileName(),i=rm.spawn(o,this._getSpawnArgs(r),this._getSpawnOptions(this.options,o));let s="";i.stdout&&i.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),s=this._processLineBuffer(e,s,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let a="";if(i.stderr&&i.stderr.on("data",(e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),a=this._processLineBuffer(e,a,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),i.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),i.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),i.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{s.length>0&&this.emit("stdline",s),a.length>0&&this.emit("errline",a),i.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!i.stdin)throw Error("child process missing stdin");i.stdin.end(this.options.input)}}))))}))}},Yh.argStringToArray=function(e){function t(e){o&&'"'!==e&&(i+="\\"),i+=e,o=!1}const r=[];let n=!1,o=!1,i="";for(let s=0;e.length>s;s++){const a=e.charAt(s);'"'!==a?"\\"===a&&o?t(a):"\\"===a&&n?o=!0:" "!==a||n?t(a):i.length>0&&(r.push(i),i=""):o?t(a):n=!n}return i.length>0&&r.push(i.trim()),r};class cm extends tm.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=sm.setTimeout(cm.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())}}var um=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),lm=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),pm=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&um(t,e,r);return lm(t,e),t},fm=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(Wh,"__esModule",{value:!0});var dm=Wh.getExecOutput=Wh.exec=void 0;const hm=yn,mm=pm(Yh);var vm=Wh.exec=rt;dm=Wh.getExecOutput=function(e,t,r){var n,o;return fm(this,void 0,void 0,(function*(){let i="",s="";const a=new hm.StringDecoder("utf8"),c=new hm.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,l=null===(o=null==r?void 0:r.listeners)||void 0===o?void 0:o.stderr,p=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout:e=>{i+=a.write(e),u&&u(e)},stderr:e=>{s+=c.write(e),l&&l(e)}}),f=yield rt(e,t,Object.assign(Object.assign({},r),{listeners:p}));return i+=a.end(),s+=c.end(),{exitCode:f,stdout:i,stderr:s}}))};var ym={},gm=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),Em=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),wm=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&gm(t,e,r);return Em(t,e),t},_m=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(ym,"__esModule",{value:!0}),ym.RetryHelper=void 0;const bm=wm(h());ym.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 _m(this,void 0,void 0,(function*(){let r=1;for(;this.maxAttempts>r;){try{return yield e()}catch(n){if(t&&!t(n))throw n;bm.info(n.message)}const o=this.getSleepAmount();bm.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 _m(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};var Om=wn&&wn.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),Rm=wn&&wn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Sm=wn&&wn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Om(t,e,r);return Rm(t,e),t},Im=wn&&wn.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},Tm=wn&&wn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Th,"__esModule",{value:!0}),Th.evaluateVersions=Th.isExplicitVersion=Th.findFromManifest=Th.getManifestFromRepo=Th.findAllVersions=Xm=Th.find=Th.cacheFile=zm=Th.cacheDir=Th.extractZip=Th.extractXar=Th.extractTar=Th.extract7z=Vm=Th.downloadTool=Th.HTTPError=void 0;const xm=Sm(h()),Pm=Sm(xh),Am=Sm(gr),Nm=Sm(Gh),Cm=Sm(mr),$m=Sm(Sr),Lm=Sm(_o),Dm=Sm(Mh),km=Sm(Xr),Um=Sm(Hr),jm=Vr,Fm=Tm(Xh),Mm=Wh,Gm=ym;class Bm extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Th.HTTPError=Bm;const Hm="win32"===process.platform,qm="darwin"===process.platform;var Vm=Th.downloadTool=function(e,t,r,n){return Im(this,void 0,void 0,(function*(){t=t||$m.join(lt(),Fm.default()),yield Pm.mkdirP($m.dirname(t)),xm.debug("Downloading "+e),xm.debug("Destination "+t);const o=pt("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),i=pt("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new Gm.RetryHelper(3,o,i);return yield s.execute((()=>Im(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return Im(this,void 0,void 0,(function*(){if(Am.existsSync(t))throw Error(`Destination file path ${t} already exists`);const o=new Lm.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(xm.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const i=yield o.get(e,n);if(200!==i.message.statusCode){const t=new Bm(i.message.statusCode);throw xm.debug(`Failed to download from "${e}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),t}const s=Um.promisify(km.pipeline),a=pt("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>i.message))();let c=!1;try{return yield s(a,Am.createWriteStream(t)),xm.debug("download complete"),c=!0,t}finally{if(!c){xm.debug("download failed");try{yield Pm.rmRF(t)}catch(u){xm.debug(`Failed to delete '${t}'. ${u.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof Bm&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))};Th.extract7z=function(e,t,r){return Im(this,void 0,void 0,(function*(){jm.ok(Hm,"extract7z() not supported on current OS"),jm.ok(e,'parameter "file" is required'),t=yield ot(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",xm.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],n={silent:!0};yield Mm.exec(`"${r}"`,t,n)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${$m.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,"")}'`],o={silent:!0};try{const e=yield Pm.which("powershell",!0);yield Mm.exec(`"${e}"`,r,o)}finally{process.chdir(n)}}return t}))},Th.extractTar=function(e,t,r="xz"){return Im(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield ot(t),xm.debug("Checking tar --version");let n="";yield Mm.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=""+e,stderr:e=>n+=""+e}}),xm.debug(n.trim());const o=n.toUpperCase().includes("GNU TAR");let i;i=r instanceof Array?r:[r],xm.isDebug()&&!r.includes("v")&&i.push("-v");let s=t,a=e;return Hm&&o&&(i.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",s,"-f",a),yield Mm.exec("tar",i),t}))},Th.extractXar=function(e,t,r=[]){return Im(this,void 0,void 0,(function*(){let n;jm.ok(qm,"extractXar() not supported on current OS"),jm.ok(e,'parameter "file" is required'),t=yield ot(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),xm.isDebug()&&n.push("-v");const o=yield Pm.which("xar",!0);var i;return yield Mm.exec(`"${o}"`,(i=n,Array.from(new Set(i)))),t}))},Th.extractZip=function(e,t){return Im(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield ot(t),Hm?yield function(e,t){return Im(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=yield Pm.which("pwsh",!1);if(o){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];xm.debug("Using pwsh at path: "+o),yield Mm.exec(`"${o}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield Pm.which("powershell",!0);xm.debug("Using powershell at path: "+t),yield Mm.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Im(this,void 0,void 0,(function*(){const r=yield Pm.which("unzip",!0),n=[e];xm.isDebug()||n.unshift("-q"),n.unshift("-o"),yield Mm.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))};var zm=Th.cacheDir=function(e,t,r,n){return Im(this,void 0,void 0,(function*(){if(r=Dm.clean(r)||r,n=n||Cm.arch(),xm.debug(`Caching tool ${t} ${r} ${n}`),xm.debug("source dir: "+e),!Am.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const o=yield it(t,r,n);for(const t of Am.readdirSync(e)){const r=$m.join(e,t);yield Pm.cp(r,o,{recursive:!0})}return st(t,r,n),o}))};Th.cacheFile=function(e,t,r,n,o){return Im(this,void 0,void 0,(function*(){if(n=Dm.clean(n)||n,o=o||Cm.arch(),xm.debug(`Caching tool ${r} ${n} ${o}`),xm.debug("source file: "+e),!Am.statSync(e).isFile())throw Error("sourceFile is not a file");const i=yield it(r,n,o),s=$m.join(i,t);return xm.debug("destination file "+s),yield Pm.cp(e,s),st(r,n,o),i}))};var Xm=Th.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||Cm.arch(),at(t)||(t=ct(nt(e,r),t));let n="";if(t){t=Dm.clean(t)||"";const o=$m.join(ut(),e,t,r);xm.debug("checking cache: "+o),Am.existsSync(o)&&Am.existsSync(o+".complete")?(xm.debug(`Found tool in cache ${e} ${t} ${r}`),n=o):xm.debug("not found")}return n};Th.findAllVersions=nt,Th.getManifestFromRepo=function(e,t,r,n="master"){return Im(this,void 0,void 0,(function*(){let o=[];const i=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new Lm.HttpClient("tool-cache"),a={};r&&(xm.debug("set auth"),a.authorization=r);const c=yield s.getJson(i,a);if(!c.result)return o;let u="";for(const e of c.result.tree)if("versions-manifest.json"===e.path){u=e.url;break}a.accept="application/vnd.github.VERSION.raw";let l=yield(yield s.get(u,a)).readBody();if(l){l=l.replace(/^\uFEFF/,"");try{o=JSON.parse(l)}catch(p){xm.debug("Invalid json")}}return o}))},Th.findFromManifest=function(e,t,r,n=Cm.arch()){return Im(this,void 0,void 0,(function*(){return yield Nm._findMatch(e,t,r,n)}))},Th.isExplicitVersion=at,Th.evaluateVersions=ct;var Wm={};Object.defineProperty(Wm,"__esModule",{value:!0}),Wm.retryAsPromised=Wm.TimeoutError=void 0;let Ym=class extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t}};Wm.TimeoutError=Ym,Wm.retryAsPromised=ft;var Km=Wm.default=ft;let Jm;const Qm=e=>{if(e)if("object"==typeof e)e={mode:511,...e};else if("number"==typeof e)e={mode:e};else{if("string"!=typeof e)throw new TypeError("invalid options argument");e={mode:parseInt(e,8)}}else e={mode:511};const t=e,r=e.fs||{};return e.mkdir=e.mkdir||r.mkdir||wr,e.mkdirAsync=e.mkdirAsync?e.mkdirAsync:async(e,r)=>new Promise(((n,o)=>t.mkdir(e,r,((e,t)=>e?o(e):n(t))))),e.stat=e.stat||r.stat||_r,e.statAsync=e.statAsync?e.statAsync:async e=>new Promise(((r,n)=>t.stat(e,((e,t)=>e?n(e):r(t))))),e.statSync=e.statSync||r.statSync||br,e.mkdirSync=e.mkdirSync||r.mkdirSync||Or,t},Zm=(e,t,r)=>{const n=xr(e),o={...Qm(t),recursive:!1};if(n===e)try{return o.mkdirSync(e,o)}catch(i){if(i&&"EISDIR"!==i.code)throw i;return}try{return o.mkdirSync(e,o),r||e}catch(i){const t=i;if(t&&"ENOENT"===t.code)return Zm(e,o,Zm(n,o,r));if(t&&"EEXIST"!==t.code&&t&&"EROFS"!==t.code)throw i;try{if(!o.statSync(e).isDirectory())throw i}catch(s){throw i}}},ev=Object.assign((async(e,t,r)=>{const n=Qm(t);n.recursive=!1;const o=xr(e);return o===e?n.mkdirAsync(e,n).catch((e=>{if(e&&"EISDIR"!==e.code)throw e})):n.mkdirAsync(e,n).then((()=>r||e),(async t=>{const i=t;if(i&&"ENOENT"===i.code)return ev(o,n).then((t=>ev(e,n,t)));if(i&&"EEXIST"!==i.code&&"EROFS"!==i.code)throw t;return n.statAsync(e).then((e=>{if(e.isDirectory())return r;throw t}),(()=>{throw t}))}))}),{sync:Zm}),tv=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then((e=>e.isDirectory()?r:void 0),(r=>r&&"ENOENT"===r.code?tv(e,xr(t),t):void 0))},rv=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0}catch(n){return n&&"ENOENT"===n.code?rv(e,xr(t),t):void 0}},nv=(e,t)=>{const r=Qm(t);if(r.recursive=!0,xr(e)===e)return r.mkdirSync(e,r);const n=rv(r,e);try{return r.mkdirSync(e,r),n}catch(o){if(o&&"ENOENT"===o.code)return Zm(e,r);throw o}},ov=Object.assign((async(e,t)=>{const r={...Qm(t),recursive:!0};return xr(e)===e?await r.mkdirAsync(e,r):tv(r,e).then((t=>r.mkdirAsync(e,r).then((e=>t||e)).catch((t=>{if(t&&"ENOENT"===t.code)return ev(e,r);throw t}))))}),{sync:nv}),iv=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,sv=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=Lr(e),"win32"===iv){const t=/[*|"<>?:]/,{root:r}=Dr(e);if(t.test(e.substring(r.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e},av=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),cv=+av[0]>10||10==+av[0]&&+av[1]>=12,uv=cv?e=>Qm(e).mkdirSync===Or:()=>!1,lv=Object.assign(cv?e=>Qm(e).mkdir===wr:()=>!1,{sync:uv}),pv=(e,t)=>{e=sv(e);const r=Qm(t);return uv(r)?nv(e,r):Zm(e,r)},fv=Object.assign((async(e,t)=>{e=sv(e);const r=Qm(t);return lv(r)?ov(e,r):ev(e,r)}),{mkdirpSync:pv,mkdirpNative:ov,mkdirpNativeSync:nv,mkdirpManual:ev,mkdirpManualSync:Zm,sync:pv,native:ov,nativeSync:nv,manual:ev,manualSync:Zm,useNative:lv,useNativeSync:uv});var dv=async e=>{const t=(e=>{if("string"!=typeof e)return!1;const t=e.trim();if(t.includes(" "))return!1;try{return new mn(t),!0}catch{return!1}})(e);if(!t)return!1;let r=await bt(e,"HEAD");return!!r||(r=await bt(e,"GET"),!!r)};const hv=/v?(\d\S*)/,mv={llvm:St(),clangtidy:St(),clangformat:St(),ninja:"1.12.1",cmake:"3.30.2",gcovr:"5.2",conan:"1.64.1",meson:"1.5.1",kcov:"42",task:"3.38.0",doxygen:$e()?"1.11.0-4":"1.11.0",gcc:"win32"===process.platform?"14.2.0posix-18.1.8-12.0.0-ucrt-r1":"",powershell:"7.4.5"},vv={pip:"22.2.0",python:"3.7.9"},yv={mingw:{24:"8.0.0-1",22:"8.0.0-1",20:"7.0.0-2"},llvm:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{24:"17.0.6-ubuntu-22.04",22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{24:"6.0",22:"6.0",20:"6.0",18:"5.0"},meson:{24:"1.0.0",22:"1.0.0",20:"1.0.0",18:"0.61.4"},nala:{24:"",22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{24:"42-binary",22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"},doxygen:{24:"1.11.0",22:"1.11.0",20:"1.10.0",18:"1.10.0"}},gv=Hl((async function(e){const t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");const r=(await dm(e+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim();return t.push(Ir(r,"Scripts"),Ir(r,"Scripts","bin"),Ir(r,"bin")),function(e){return[...new Set(e)]}(t)}),{promise:!0});var Ev={};Object.defineProperty(Ev,"__esModule",{value:!0});var wv=Ev.getUbuntuVersion=void 0;const _v=qr;wv=Ev.getUbuntuVersion=async function(){if("linux"!==process.platform)return[];const e=await(t="lsb_release",r=["-a"],new Promise(((e,n)=>{_v.execFile(t,r,{encoding:"utf8",shell:!1},((o,i,s)=>{if(o)return"errno"in o&&"ENOENT"===o.code?void e(null):void n(Error(`Could not execute \`${t} ${r.join(" ")}\`: ${o} (stderr=${s})`));e(i)}))})));var t,r;if(null===e)return[];const n=/^Distributor ID:\s*(.+)$/,o=/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/,i=/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/;let s=null,a=null,c=!1;for(const u of e.split("\n")){const e=u.match(n);if(null!==e){if("Ubuntu"!==e[1])return[];c=!0}const t=u.match(o);t&&(s=t);const r=u.match(i);if(r&&(a=r),c&&s&&a)break}if(!c)return[];for(const u of[s,a])if(u){const e=[u[1],u[2]];return u[3]&&e.push(u[3]),e.map((e=>parseInt(e,10)))}return[]};const bv=Hl((async function(){try{if(Le()){try{null===ha.sync("lsb_release",{nothrow:!0})&&await Se([{name:"lsb-release"}])}catch{return Lt()}const e=await wv();return 0===e.length?Lt():e}return null}catch(e){return v(""+e),null}}),{promise:!0}),Ov=Hl((async function(){let e=process.env.PIPX_HOME;if(void 0!==e)return e;const t=ee("~/.local/pipx");if(await Z(t))return t;switch(process.platform){case"win32":e=ee("~/AppData/Local/pipx");break;case"darwin":e=ee("~/Library/Application Support/pipx");break;default:e=ee("~/.local/share/pipx")}return await fv(e),await fv(Ir(e,"trash")),await fv(Ir(e,"shared")),await fv(Ir(e,"venv")),e}),{promise:!0}),Rv=Hl((async function(){if(void 0!==process.env.PIPX_BIN_DIR)return process.env.PIPX_BIN_DIR;const e=ee("~/.local/bin");return await ie(e,fy),await fv(e),e}),{promise:!0}),Sv=Hl((async function(){const e=(await It(Ct("python",void 0,await bv()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e}),{promise:!0}),Iv=new Map([[24,["Sequoia","15"]],[23,["Sonoma","14"]],[22,["Ventura","13"]],[21,["Monterey","12"]],[20,["Big Sur","11"]],[19,["Catalina","10.15"]],[18,["Mojave","10.14"]],[17,["High Sierra","10.13"]],[16,["Sierra","10.12"]],[15,["El Capitan","10.11"]],[14,["Yosemite","10.10"]],[13,["Mavericks","10.9"]],[12,["Mountain Lion","10.8"]],[11,["Lion","10.7"]],[10,["Snow Leopard","10.6"]],[9,["Leopard","10.5"]],[8,["Tiger","10.4"]],[7,["Panther","10.3"]],[6,["Jaguar","10.2"]],[5,["Puma","10.1"]]]),Tv=Hl((function(){if("darwin"!==process.platform)return[];const{version:e}=function(e){e=+(e||an.release()).split(".")[0];const[t,r]=Iv.get(e)||["Unknown",""];return{name:t,version:r}}();return e.split(".").map((e=>Number.parseInt(e,10)))})),xv="string"==typeof __dirname?__dirname:Sr.dirname(vn(import.meta.url)),Pv="string"==typeof __dirname?__dirname:Sr.dirname(vn(import.meta.url));class Av extends Error{constructor(e){super(e),this.name="TimeoutError"}}class Nv extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}const Cv=e=>void 0===globalThis.DOMException?new Nv(e):new DOMException(e),$v=e=>{const t=void 0===e.reason?Cv("This operation was aborted."):e.reason;return t instanceof Error?t:Cv(t)},Lv=h(),Dv=qr,kv=gr,Uv=Sr,jv=dn,Fv=jv.env["ProgramFiles(x86)"],Mv=[jv.env["ProgramFiles(x86)"],jv.env.ProgramFiles],Gv=["Enterprise","Professional","Community","BuildTools"],Bv=["2022","2019","2017"],Hv={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};var qv=Kt;const Vv=Fv+"\\Microsoft Visual Studio\\Installer";var zv=Qt,Xv=function(e,t,r,n,o,i){if("win32"!=jv.platform)return void Lv.info("This is not a Windows virtual environment, bye!");jv.env.PATH+=Uv.delimiter+Vv;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];n&&!0===JSON.parse(n)&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),o&&!0===JSON.parse(o)&&a.push("-vcvars_spectre_libs=spectre");const c=`"${Qt(i)}" ${a.join(" ")}`;Lv.debug("vcvars command-line: "+c);const u=(""+Dv.execSync(`set && cls && ${c} && cls && set`,{shell:"cmd"})).split("\f"),l=u[0].split("\r\n"),p=u[1].split("\r\n"),f=u[2].split("\r\n"),d=p.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(d.length>0)throw Error("invalid parameters\r\n"+d.join("\r\n"));let h={};for(let m of l){const[e,t]=m.split("=");h[e]=t}Lv.startGroup("Environment variables");for(let m of f){if(!m.includes("="))continue;let[e,t]=m.split("=");t!==h[e]&&(Lv.info("Setting "+e),Zt(e)&&(t=t.split(";").filter((function(e,t,r){return r.indexOf(e)===t})).join(";")),Lv.exportVariable(e,t))}Lv.endGroup(),Lv.info("Configured Developer Command Prompt")};const Wv=12e5;var Yv=(e=>(e[e.All=0]="All",e[e.ClangFormat=1]="ClangFormat",e[e.Core=2]="Core",e))(Yv||{});const Kv=function(e){const t=new Set(e);for(const r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t}(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),Jv=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),Qv=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6","18.1.0","18.1.1","18.1.2","18.1.3","18.1.4","18.1.5","18.1.6","18.1.7","18.1.8"]),Zv=new Map,ey={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04","17.0.6":"-ubuntu-22.04","18.1.4":"-ubuntu-18.04","18.1.7":"-ubuntu-18.04","18.1.8":"-ubuntu-18.04"},ty="18.1.8",ry="string"==typeof __dirname?__dirname:Sr.dirname(vn(import.meta.url)),ny=Hl((async function(e,t,r){const[n,o]=await Promise.all([ar(e,t,r),cr()]);return await iy(r),n}),{promise:!0}),oy=Hl((async function(e){Le()&&(e>10?await Se([{name:"libtinfo-dev"}]):await Se([{name:"libtinfo5"}]))}),{promise:!0}),iy=Hl((async function(e){"linux"===process.platform&&await qt(Ct("gcc",void 0,await bv()),"",e,40)}),{promise:!0}),sy="string"==typeof __dirname?__dirname:Sr.dirname(vn(import.meta.url));let ay,cy=!1;const uy={nala:async function(e,t,r){if(!Le())return;if("string"==typeof ay)return{binDir:ay};const n=ha.sync("nala",{nothrow:!0});if(null!==n)return ay=xr(n),{binDir:ay};await Se([{name:"python3-apt"}]),ay="/usr/bin";try{const t=await Oe({name:"nala",version:e});if(void 0!==t)return await Se([{name:t}]),{binDir:ay}}catch(o){g("Failed to install nala: "+o)}try{const e=await Oe({name:"nala-legacy"});if(void 0!==e)return await Se([{name:e}],!0),{binDir:ay}}catch(o){g("Failed to install nala-legacy: "+o)}return await async function(){const e=new Xd.DownloaderHelper("https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",yr(),{fileName:"install-nala.sh"});e.on("error",(e=>{throw Error("Failed to download install-nala.sh: "+e)})),await e.start();const t=Ir(yr(),"install-nala.sh"),r=await Zr(t,"utf8");await en(t,r.replace(/sudo/g,"")),await Se([{name:"wget"}]);try{k("bash",[t])}catch(o){m("Failed to install nala via installer: "+o),k("apt",["install","-y","-t","nala","nala"])}}(),{binDir:ay}},cmake:_t,ninja:zt,python:It,vcpkg:async function(e,t,r){return cy&&null!==ha.sync("vcpkg",{nothrow:!0})?{binDir:xr(ha.sync("vcpkg"))}:("linux"===process.platform&&($e()?await Promise.all([Ke("curl"),Ke("zip"),Ke("unzip"),Ke("tar"),Ke("git"),Ke("pkg-config")]):Ce()?await Ye([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):Le()&&await Se([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}])),await Z(Ir(t,Be("bootstrap-vcpkg",".bat")))?y(`Vcpkg folder already exists at ${t}. Skipping the clone`):P("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:xr(t),stdio:"inherit"}),""!==e&&"true"!==e&&(g("Checking out vcpkg version "+e),P("git",["checkout",e],{cwd:t,stdio:"inherit"})),P(Be(He("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await G(t),await ie(t,fy),cy=!0,{binDir:t})},bazel:async function(e,t,r){switch(process.platform){case"win32":return We("bazelisk",e);case"darwin":return Ne("bazelisk",e);case"linux":if($e())throw Error("installing bazel on Arch linux is not supported yet");if(Ce())return await Ye([{name:"dnf-plugins-core"}]),k("dnf",["copr","enable","vbatts/bazel"]),Ye([{name:"bazel4"}]);if(Le())return k("bash",["-c",`echo "deb [arch=amd64 signed-by=${await Ie({fileName:"bazel-archive-keyring.gpg",keyUrl:"https://bazel.build/bazel-release.pub.gpg"})}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),Se([{name:"bazel",version:e}],!0);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},conan:function(e,t,r){return Dt("conan",e)},meson:function(e,t,r){return Dt("meson",e)},gcovr:function(e,t,r){return Dt("gcovr",e)},opencppcoverage:async function(e,t,r){if("win32"===process.platform)return await We("opencppcoverage",e),{binDir:await async function(){const e="C:/Program Files/OpenCppCoverage";return await ie(e,fy),e}()}},llvm:sr,gcc:qt,choco:Xe,brew:Pe,powershell:async function(e,t,r){try{return await Et("pwsh",e,lr,t,r)}catch(n){return m(`Failed to setup pwsh via download: ${n}. Trying package managers...`),async function(e){switch(process.platform){case"win32":{await We("powershell-core",e);const t="C:/Program Files/PowerShell/7";return await ie(t,fy),{binDir:t}}case"darwin":return Ne("powershell",e,{cask:!0,overwrite:!1});case"linux":if($e())return Ke("powershell-bin",e,"yay");if(Ce())return await Ye([{name:"curl"}]),k("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),Ye([{name:"powershell",version:e}]);if(Le()){await Se([{name:"curl"}]);const t=await bv();return k("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${t[0]}.0${t[1]}/packages-microsoft-prod.deb`]),k("dpkg",["-i","packages-microsoft-prod.deb"]),Se([{name:"powershell",version:e}],!0)}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}(e)}},ccache:function(e,t,r){switch(process.platform){case"win32":return We("ccache",e);case"darwin":return Ne("ccache",e);case"linux":if($e())return Ke("ccache",e);if(Ce())return Ye([{name:"ccache",version:e}]);if(Le())return Se([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},sccache:function(e,t,r){switch(process.platform){case"win32":return We("sccache",e);case"linux":case"darwin":return Ne("sccache",e);default:throw Error("Unsupported platform")}},doxygen:async function(e,t,r){switch(process.platform){case"win32":{await Km((()=>We("doxygen.install",e)),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>g(e)});const t={binDir:await async function(){if("win32"===process.platform){for(const e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await Z(Ir(e,"doxygen.exe")))return await ie(e,fy),e;throw Error("Failed to find doxygen binary")}throw Error("Unsupported platform")}()};return await Ft(Ct("graphviz",void 0)),t}case"darwin":{const e=await Ne("doxygen",void 0);return Tv()[0]>11&&await Ft(Ct("graphviz",void 0)),e}case"linux":{let o;if(""===e||$e()||Ce())if($e())o=await Ke("doxygen",e);else{if(Ce())return Ye([{name:"doxygen",version:e}]);if(!Le())throw Error("Unsupported linux distributions");o=await Se([{name:"doxygen",version:e}])}else{if(!Le())throw Error("Unsupported linux distributions");try{o=await Et("doxygen",e,Gt,t,r);try{await Se([{name:"libclang-cpp9"}])}catch(n){g("Failed to download libclang-cpp9 that might be needed for running doxygen. "+n)}}catch(n){y(`Failed to download doxygen binary. ${n}. Falling back to apt-get.`),o=await Se([{name:"doxygen"}])}}return await Ft(Ct("graphviz",void 0,await bv())),o}default:throw Error("Unsupported platform")}},graphviz:Ft,cppcheck:async function(e,t,r){switch(process.platform){case"win32":return await We("cppcheck",e),{binDir:await async function(){const e="C:/Program Files/Cppcheck";return await ie(e,fy),e}()};case"darwin":return Ne("cppcheck",e);case"linux":if($e())return Ke("cppcheck",e);if(Ce())return Ye([{name:"ccache",version:e}]);if(Le())return Se([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},clangtidy:function(e,t,r){return ar(e,t,r)},clangformat:function(e,t,r){return ar(e,t,r,Yv.ClangFormat)},msvc:ur,vcvarsall:er,kcov:async function(e,t,r){if("linux"!==process.platform)return void g("Kcov is not supported on non-linux");const n=e.split("-");let o=function(e){return e.match(/^v/)?e:"v"+e}(n[0]);const i=n[1],s=function(e){return Number.parseInt(e.replace(/^v/,""),10)}(o);let a;return 38===s&&(o="v38"),"binary"!==i||39>s?(a=await Et("kcov",o,Wt,t,r),a):(a=await Et("kcov",o,Xt,t,r),$e()?await Ke("binutils"):Ce()?await Ye([{name:"binutils"}]):Le()&&await Se([{name:"libbinutils"}]),a)},make:async function(e,t,r){switch(process.platform){case"win32":return We("make",e);case"darwin":return await Ne("make",e),await ie("/usr/local/opt/make/libexec/gnubin",fy),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if($e())return Ke("make",e);if(Ce())return Ye([{name:"make",version:e}]);if(Le())return Se([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},task:function(e,t,r){return Et("task",e,fr,t,r)},sevenzip:dt},ly=Object.keys(uy),py=["compiler","architecture","timeout",...ly],fy={rcPath:ee("~/.cpprc"),guard:"cpp"};(async function(e){let t=Promise.resolve();_n.GITHUB_ACTIONS||(t=async function(){try{await Vd({pkg:zd})}catch(e){v("Failed to check for updates: "+(e instanceof Error?e.message+e.stack:e))}}(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=function(e){return function(e,t){var r,n,o,i,s,a={_:[]},c=0,u=0,l=0,p=(e=e||[]).length;const f=void 0!==(t=t||{}).alias,d=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=he(t.string),t.boolean=he(t.boolean),f)for(r in t.alias)for(n=t.alias[r]=he(t.alias[r]),c=0;n.length>c;c++)(t.alias[n[c]]=n.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(u=(n=t.alias[t.boolean[c]]||[]).length;u-- >0;)t.boolean.push(n[u]);for(c=t.string.length;c-- >0;)for(u=(n=t.alias[t.string[c]]||[]).length;u-- >0;)t.string.push(n[u]);if(h)for(r in t.default)if(i=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[i])for(t[i].push(r),c=0;n.length>c;c++)t[i].push(n[c]);const m=d?Object.keys(t.alias):[];for(c=0;p>c;c++){if("--"===(o=e[c])){a._=a._.concat(e.slice(++c));break}for(u=0;o.length>u&&45===o.charCodeAt(u);u++);if(0===u)a._.push(o);else if("no-"===o.substring(u,u+3)){if(i=o.substring(u+3),d&&!~m.indexOf(i))return t.unknown(o);a[i]=!1}else{for(l=u+1;o.length>l&&61!==o.charCodeAt(l);l++);for(i=o.substring(u,l),s=o.substring(++l)||c+1===p||45===(""+e[c+1]).charCodeAt(0)||e[++c],n=2===u?[i]:i,l=0;n.length>l;l++){if(i=n[l],d&&!~m.indexOf(i))return t.unknown("-".repeat(u)+i);me(a,i,n.length>l+1||s,t)}}}if(h)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(f)for(r in a)for(n=t.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a}(e,{string:[...py,"timeout"],default:Object.fromEntries(py.map((e=>[e,dr(e)]))),alias:{h:"help"},boolean:"help"})}(e);r.help&&(g('\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\t the to install.\n \t You can specify the version instead of specifying just the name e.g: --compiler \'llvm-13.0.0\'\n--$tool_name\t pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1"\n\nAll the available tools:\n'),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--ccache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));const n=r.architecture??process.arch,o=process.env.SETUP_CPP_DIR??ee("~"),i=[],s=[],a=wp.create({autoloadLocales:!0});let c,u;wp.addLocale(_p),fp.addLocale(dp);const l=await bv();if(!function(e){const t=["llvm","clangtidy","clangformat"].filter((t=>void 0!==e[t])),r=t.filter((t=>!$t(e[t]))),n=1>r.length?"true":e[r[0]];if(r.some((t=>e[t]!==n)))return!1;for(const o of t)e[o]=n;return!0}(r))return m("The same version must be used for llvm, clangformat and clangtidy"),1;$e()&&"string"==typeof r.cppcheck&&"string"==typeof r.gcovr&&(g("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await Ke("python-pygments"));let p=!1,f=!1;for(const d of ly){if(_n.isCI&&0!==s.length){f=!0;break}const e=r[d];void 0!==e&&(c=Date.now(),p=await tr(d,e,l,n,o,i,s,6e4*Number.parseFloat(r.timeout??"20")),u=Date.now(),g("took "+(a.format(c,u)||"0 seconds")))}if(!f){const e=r.compiler;if(void 0!==e){const t=Date.now();await async function(e,t,r,n,o,i,s){try{const{compiler:a,version:c}=function(e){const t=e.split("-"),r=t[0];if(1 in t){const e=t[1];return null!==qp(e)||g(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e}}return{compiler:r,version:void 0}}(e);switch(Do.startGroup(`Installing ${a} ${c??""}`),a){case"llvm":case"clang":case"clang++":{const e=await sr(Ct("llvm",c,t),Ir(r,"llvm"),n);await ne("GCOV","llvm-cov gcov",fy),o.push(hr("llvm",e));break}case"gcc":case"mingw":case"cygwin":case"msys":{const e=Ct("mingw"===a?"mingw":"gcc",c,t),s="mingw"===a?await async function(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return qt(e,t,r);case"linux":$e()?n=await Ke("mingw-w64-gcc",e):Ce()?n=await Ye([{name:"mingw64-gcc",version:e}]):Le()&&(n=await Se([{name:"mingw-w64",version:e,repository:"ppa:ubuntu-toolchain-r/test",key:{key:"1E9377A2BA9EF27F",fileName:"ubuntu-toolchain-r-test.gpg"}}]));break;default:throw Error("Unsupported platform for "+r)}if(void 0!==n)return n}(e,Ir(r,"gcc"),n):await qt(e,Ir(r,"gcc"),n);i&&await ne("CPPFLAGS","",fy),await function(e){const t=qp(e),r=null!==t?Kp(t):e;return ne("GCOV",""!==r?"gcov-"+r:"gcov",fy)}(e),o.push(hr("gcc",s));break}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{const e=await ur(Ct("msvc",c,t),Ir(r,"msvc"),n);i&&await ne("CPPFLAGS","",fy),o.push(hr("msvc",e));break}case"appleclang":case"applellvm":Do.notice("Assuming apple-clang is already installed"),await Promise.all([ne("CC","clang",fy),ne("CXX","clang++",fy)]),o.push(hr("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a)}}catch(a){m(a),s.push("Failed to install the "+e)}Do.endGroup()}(e,l,o,n,i,p,s);const r=Date.now();g("took "+(a.format(t,r)||"0 seconds"))}}if(await async function(e){if(await Z(e.rcPath)){const t=(await zl(e.rcPath,"utf-8")).split("\n"),r=[...new Set(t.reverse())].reverse();await Xl(e.rcPath,r.join("\n")),await G(e.rcPath)}}(fy),0===i.length&&0===s.length)return v("setup-cpp was called without any arguments. Nothing to do."),0;for(const d of i)console.log(`${d}`);for(const d of s)m(d);if(g("setup-cpp finished"),!_n.GITHUB_ACTIONS)switch(process.platform){case"win32":v("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":v("Run `source ~/.cpprc` or restart your shell to update the environment.")}return await t,0===s.length?0:1})(process.argv).then((e=>{process.exitCode=e})).catch((e=>{m("main() panicked!"),m(e),process.exitCode=1}));export{Td as a,Do as b,wn as c,vm as d,Wh as e,g as f,dm as g,_n as h,xh as i,e as j,Z as p,h as r,Mh as s,fo as t,Xh as v,v as w}; +//# sourceMappingURL=setup-cpp.mjs.map diff --git a/dist/modern/setup-cpp.mjs.map b/dist/modern/setup-cpp.mjs.map new file mode 100644 index 00000000..c1da78b9 --- /dev/null +++ b/dist/modern/setup-cpp.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"setup-cpp.mjs","sources":["../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/parse.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v35.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/lib/esnext/proxy.js","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/path-utils.js","../../packages/ci-log/dist/index.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","../../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/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js","../../packages/exec-powershell/dist/index.js","../../node_modules/.pnpm/admina@1.0.1/node_modules/admina/dist/index.node.mjs","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/mixin.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/index.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/is-implemented.js","../../node_modules/.pnpm/ext@1.7.0/node_modules/ext/global-this/implementation.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/validate-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-symbol.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/index.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/is-implemented.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/polyfill.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/generate-name.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/standard-symbols.js","../../node_modules/.pnpm/es6-symbol@3.1.4/node_modules/es6-symbol/lib/private/setup/symbol-registry.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/from/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-arguments.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/is-function.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/is-string.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/#/e-index-of.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/is-nan/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/map.js","../../node_modules/.pnpm/next-tick@1.1.0/node_modules/next-tick/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-callable.js","../../node_modules/.pnpm/is-promise@2.2.2/node_modules/is-promise/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/promise.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/primitive-set.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/validate-stringifiable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/to-short-string-representation.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/safe-to-string.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../packages/untildify-user/dist/index.js","../../packages/envosman/dist/rc-file.js","../../packages/envosman/dist/add-env.js","../../packages/envosman/dist/utils.js","../../packages/envosman/dist/add-path.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../packages/setup-apt/dist/alternatives.js","../../packages/setup-apt/dist/apt-env.js","../../packages/setup-apt/dist/get-apt.js","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../packages/setup-apt/dist/is-installed.js","../../packages/setup-apt/dist/qualify-install.js","../../packages/setup-apt/dist/install.js","../../packages/setup-apt/dist/apt-repository.js","../../packages/setup-apt/dist/apt-key.js","../../packages/setup-brew/dist/install.js","../../packages/setup-brew/dist/install-pack.js","../../src/utils/env/hasDnf.ts","../../src/utils/env/isArch.ts","../../src/utils/env/isUbuntu.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../src/chocolatey/chocolatey.ts","../../src/utils/setup/setupChocoPack.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/setup/setupPacmanPack.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/exec.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/sevenzip/sevenzip.ts","../../src/utils/setup/extract.ts","../../src/utils/setup/setupBin.ts","../../src/cmake/cmake.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/setup/version.ts","../../src/versions/default_versions.ts","../../src/python/python.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../src/utils/setup/setupPipPack.ts","../../src/graphviz/graphviz.ts","../../src/utils/setup/setupDmg.ts","../../src/doxygen/doxygen.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcc/gcc.ts","../../src/utils/github/load-assets.ts","../../src/ninja/ninja.ts","../../src/kcov/kcov.ts","../../node_modules/.pnpm/msvc-dev-cmd@https+++codeload.github.com+aminya+msvc-dev-cmd+tar.gz+c01f519bd995460228ed3dec4df51df92dc290fd/node_modules/msvc-dev-cmd/lib.js","../../src/vcvarsall/vcvarsall.ts","../../src/installTool.ts","../../node_modules/.pnpm/p-timeout@6.1.2/node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/msvc/msvc.ts","../../src/powershell/powershell.ts","../../src/task/task.ts","../../src/cli-options.ts","../../node_modules/.pnpm/ci-info@4.0.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v1.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v3.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/md5.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v5.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/sha1.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/nil.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/version.js","../../node_modules/.pnpm/@actions+core@1.10.1/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/lib/esnext/index.js","../../node_modules/.pnpm/@actions+http-client@2.2.3_patch_hash=gqcf2jay7nqqezf3jni6mxu74u/node_modules/@actions/http-client/lib/auth.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/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","../../node_modules/.pnpm/shebang-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/npm-run-path@5.3.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.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@7.2.0/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/posix.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/win32.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/options.js","../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/index.js","../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/_iterate.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/normalize-options.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-integer.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/math/sign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/number/to-pos-integer.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-length.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-callable.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/valid-value.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/for-each.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/assign/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/keys/shim.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/object/is-object.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/error/custom.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/function/_define-length.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/value/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/object/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/function/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/prototype/is.js","../../node_modules/.pnpm/type@2.7.3/node_modules/type/plain-function/is.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/is-implemented.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/index.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/string/#/contains/shim.js","../../node_modules/.pnpm/d@1.0.2/node_modules/d/index.js","../../node_modules/.pnpm/event-emitter@0.3.5/node_modules/event-emitter/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-resolve.js","../../node_modules/.pnpm/es5-ext@0.10.64/node_modules/es5-ext/array/to-array.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/resolve-normalize.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/lib/configure-map.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/plain.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/primitive.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-primitive-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-1.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/normalizers/get-fixed.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/async.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/dispose.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max-age.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/valid-timeout.js","../../node_modules/.pnpm/timers-ext@0.1.8/node_modules/timers-ext/max-timeout.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/max.js","../../node_modules/.pnpm/lru-queue@0.1.0/node_modules/lru-queue/index.js","../../node_modules/.pnpm/memoizee@0.4.17/node_modules/memoizee/ext/ref-counter.js","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","../../node_modules/.pnpm/time-delta@https+++codeload.github.com+aminya+time-delta+tar.gz+69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js","../../node_modules/.pnpm/node-downloader-helper@2.1.9/node_modules/node-downloader-helper/dist/index.js","../../packages/setup-apt/dist/apt-timeout.js","../../packages/setup-apt/dist/update.js","../../packages/setup-apt/dist/init-apt.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/opts-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-manual.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/find-made.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/mkdirp-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/path-arg.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/use-native.js","../../node_modules/.pnpm/mkdirp@3.0.1/node_modules/mkdirp/dist/mjs/index.js","../../src/utils/std/index.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../node_modules/.pnpm/macos-release@3.3.0/node_modules/macos-release/index.js","../../src/utils/env/macos_version.ts","../../src/nala/nala.ts","../../src/vcpkg/vcpkg.ts","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/conan/conan.ts","../../src/meson/meson.ts","../../src/gcovr/gcovr.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/ccache/ccache.ts","../../src/sccache/sccache.ts","../../src/cppcheck/cppcheck.ts","../../src/make/make.ts","../../src/setup-cpp.ts","../../src/check-updates.ts","../../src/compilers.ts"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import validate from './validate.js';\n\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nexport default parse;","import stringify from './stringify.js';\nimport parse from './parse.js';\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nexport const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function (name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return stringify(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","export function getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n try {\n return new DecodedURL(proxyVar);\n }\n catch {\n if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))\n return new DecodedURL(`http://${proxyVar}`);\n }\n }\n else {\n return undefined;\n }\n}\nexport function checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const reqHost = reqUrl.hostname;\n if (isLoopbackAddress(reqHost)) {\n return true;\n }\n const 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 const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperNoProxyItem === '*' ||\n upperReqHosts.some(x => x === upperNoProxyItem ||\n x.endsWith(`.${upperNoProxyItem}`) ||\n (upperNoProxyItem.startsWith('.') &&\n x.endsWith(`${upperNoProxyItem}`)))) {\n return true;\n }\n }\n return false;\n}\nfunction isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return (hostLower === 'localhost' ||\n hostLower.startsWith('127.') ||\n hostLower.startsWith('[::1]') ||\n hostLower.startsWith('[0:0:0:0:0:0:0:1]'));\n}\nclass DecodedURL extends URL {\n _decodedUsername;\n _decodedPassword;\n constructor(url, base) {\n super(url, base);\n this._decodedUsername = decodeURIComponent(super.username);\n this._decodedPassword = decodeURIComponent(super.password);\n }\n get username() {\n return this._decodedUsername;\n }\n get password() {\n return this._decodedPassword;\n }\n}\n//# sourceMappingURL=proxy.js.map","'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","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('ENV', file_command_1.prepareKeyValueMessage(name, val));\n }\n command_1.issueCommand('set-env', { name }, convertedVal);\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueFileCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('OUTPUT', file_command_1.prepareKeyValueMessage(name, value));\n }\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, utils_1.toCommandValue(value));\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('STATE', file_command_1.prepareKeyValueMessage(name, value));\n }\n command_1.issueCommand('save-state', { name }, utils_1.toCommandValue(value));\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n//# sourceMappingURL=core.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\nexports.toPosixPath = toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\nexports.toWin32Path = toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\nexports.toPlatformPath = toPlatformPath;\n//# sourceMappingURL=path-utils.js.map","import * as core from \"@actions/core\";\nimport { GITHUB_ACTIONS } from \"ci-info\";\nexport function error(err) {\n return GITHUB_ACTIONS ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nexport function success(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nexport function warning(msg) {\n return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nexport function notice(msg) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nexport function info(msg) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg);\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLElBQUksTUFBTSxlQUFlLENBQUE7QUFDckMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLFNBQVMsQ0FBQTtBQUV4QyxNQUFNLFVBQVUsS0FBSyxDQUFDLEdBQW1CO0lBQ3ZDLE9BQU8sY0FBYyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLFdBQVcsR0FBRyxTQUFTLENBQUMsQ0FBQTtBQUNoRixDQUFDO0FBRUQsTUFBTSxVQUFVLE9BQU8sQ0FBQyxHQUFXO0lBQ2pDLE9BQU8sT0FBTyxDQUFDLEdBQUcsQ0FBQyxXQUFXLEdBQUcsU0FBUyxDQUFDLENBQUE7QUFDN0MsQ0FBQztBQUVELE1BQU0sVUFBVSxPQUFPLENBQUMsR0FBVztJQUNqQyxPQUFPLGNBQWMsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLE9BQU8sQ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U9OUyA/IGNvcmUud2FybmluZyhtc2cpIDogY29uc29sZS5sb2coYFxceDFiWzMzbSR7bXNnfVxceDFiWzBtYClcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG5vdGljZShtc2c6IHN0cmluZykge1xuICByZXR1cm4gR0lUSFVCX0FDVElPTlMgPyBjb3JlLm5vdGljZShtc2cpIDogY29uc29sZS5sb2coYFxceDFiWzk0bSR7bXNnfVxceDFiWzBtYClcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGluZm8obXNnOiBzdHJpbmcpIHtcbiAgcmV0dXJuIEdJVEhVQl9BQ1RJT05TID8gY29yZS5pbmZvKG1zZykgOiBjb25zb2xlLmxvZyhtc2cpXG59XG4iXX0=","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","'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","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\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 {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","import * as execa from \"execa\";\nimport which from \"which\";\n/** The cached powershell path */\nlet powershell;\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(command, startupFlags = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"], execOptions = { stdio: \"inherit\" }) {\n return execa.execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions);\n}\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(command, startupFlags = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"], execOptions = { stdio: \"inherit\" }) {\n return execa.execaSync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions);\n}\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true });\n if (maybePwsh !== null) {\n powershell = maybePwsh;\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true });\n if (maybePowerShell !== null) {\n powershell = maybePowerShell;\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\");\n }\n return powershell;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEtBQUssTUFBTSxPQUFPLENBQUE7QUFDOUIsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFBO0FBRXpCLGlDQUFpQztBQUNqQyxJQUFJLFVBQThCLENBQUE7QUFFbEM7Ozs7Ozs7OztHQVNHO0FBQ0gsTUFBTSxVQUFVLGNBQWMsQ0FDNUIsT0FBZSxFQUNmLGVBQXlCLENBQUMsWUFBWSxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsQ0FBQyxFQUNyRSxjQUE2QixFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUU7SUFFakQsT0FBTyxLQUFLLENBQUMsS0FBSyxDQUFDLGFBQWEsRUFBRSxFQUFFLENBQUMsR0FBRyxZQUFZLEVBQUUsSUFBSSxFQUFFLE9BQU8sQ0FBQyxFQUFFLFdBQVcsQ0FBQyxDQUFBO0FBQ3BGLENBQUM7QUFFRDs7Ozs7Ozs7O0dBU0c7QUFDSCxNQUFNLFVBQVUsa0JBQWtCLENBQ2hDLE9BQWUsRUFDZixlQUF5QixDQUFDLFlBQVksRUFBRSxTQUFTLEVBQUUsaUJBQWlCLENBQUMsRUFDckUsY0FBaUMsRUFBRSxLQUFLLEV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cmV0dXJuIGV4ZWNhLmV4ZWNhU3luYyhnZXRQb3dlclNoZWxsKCksIFsuLi5zdGFydHVwRmxhZ3MsIFwiLWNcIiwgY29tbWFuZF0sIGV4ZWNPcHRpb25zKVxufVxuXG4vKipcbiAqIEdldCB0aGUgcGF0aCB0byB0aGUgcG93ZXJzaGVsbCBleGVjdXRhYmxlLlxuICpcbiAqIEBub3RlIEl0IHByZWZlcnMgYHB3c2hgIG92ZXIgYHBvd2Vyc2hlbGxgXG4gKiBAbm90ZSBJdCBjYWNoZXMgdGhlIHBhdGggZm9yIHRoZSBzdWJzZXF1ZW50IGNhbGxzIHRvIHRoaXMgZnVuY3Rpb25cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGdldFBvd2VyU2hlbGwoKSB7XG4gIGlmIChwb3dlcnNoZWxsID09PSB1bmRlZmluZWQpIHtcbiAgICBjb25zdCBtYXliZVB3c2ggPSB3aGljaC5zeW5jKFwicHdzaFwiLCB7IG5vdGhyb3c6IHRydWUgfSlcbiAgICBpZiAobWF5YmVQd3NoICE9PSBudWxsKSB7XG4gICAgICBwb3dlcnNoZWxsID0gbWF5YmVQd3NoXG4gICAgfVxuICAgIGNvbnN0IG1heWJlUG93ZXJTaGVsbCA9IHdoaWNoLnN5bmMoXCJwb3dlcnNoZWxsXCIsIHsgbm90aHJvdzogdHJ1ZSB9KVxuICAgIGlmIChtYXliZVBvd2VyU2hlbGwgIT09IG51bGwpIHtcbiAgICAgIHBvd2Vyc2hlbGwgPSBtYXliZVBvd2VyU2hlbGxcbiAgICB9XG4gIH1cbiAgaWYgKHBvd2Vyc2hlbGwgPT09IHVuZGVmaW5lZCkge1xuICAgIHRocm93IG5ldyBFcnJvcihcIkNvdWxkIG5vdCBmaW5kIHBvd2Vyc2hlbGxcIilcbiAgfVxuICByZXR1cm4gcG93ZXJzaGVsbFxufVxuIl19","function e(e,t,r,o){Object.defineProperty(e,t,{get:r,set:o,enumerable:!0,configurable:!0})}function t(){return null!==m.sync(\"sudo\",{nothrow:!0})}function r(){return process.getuid?.()===0||!!process.env.CI}function o(){return r()&&t()}function n(e){return o()?`sudo ${e}`:e}function s(e,t=[],r=h){return o()?b(a(e,t),r):l(e,i(t),r)}function c(e,t=[],r=h){return o()?y(a(e,t),r):S(e,i(t),r)}function a(e,t){return`sudo ${i([e,...t]).join(\" \")}`}function i(e){return e.map(e=>`'${e}'`)}async function d(){try{return await S(\"fltmc\"),!0}catch{return!1}}async function u(){if(\"win32\"!==process.platform)return!1;try{return await S(\"fsutil\",[\"dirty\",\"query\",process.env.systemdrive??\"\"]),!0}catch(e){if(\"ENOENT\"===e.code)return d();return!1}}function f(){return\"win32\"===process.platform?R():r()}async function p(e){if((\"linux\"===process.platform||\"darwin\"===process.platform)&&o()&&void 0!==process.env.SUDO_USER){let t=w.statSync(e).isDirectory();await c(\"chown\",[...t?[\"-R\"]:[],process.env.SUDO_USER,e],h)}}var $,x={};import m from\"which\";import{execaCommandSync as b,execaSync as l,execaCommand as y,execa as S}from\"execa\";import w from\"fs\";e(x,\"hasSudo\",()=>t),e(x,\"isRoot\",()=>r),e(x,\"isSudo\",()=>o),e(x,\"prependSudo\",()=>n),e(x,\"defaultExecOptions\",()=>h),e(x,\"execRootSync\",()=>s),e(x,\"execRoot\",()=>c);let h={stdio:\"inherit\",shell:!0};e($={},\"isAdminWindows\",()=>R),e($,\"isAdminPosix\",()=>A),e($,\"isAdmin\",()=>f);let R=u,A=r;e({},\"grantUserWriteAccess\",()=>p);export{t as hasSudo,r as isRoot,o as isSudo,n as prependSudo,h as defaultExecOptions,s as execRootSync,c as execRoot,R as isAdminWindows,A as isAdminPosix,f as isAdmin,p as grantUserWriteAccess};\n//# sourceMappingURL=index.node.mjs.map\n","\"use strict\";\n\nvar value = require(\"./valid-value\")\n , defineProperty = Object.defineProperty\n , getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor\n , getOwnPropertyNames = Object.getOwnPropertyNames\n , getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\nmodule.exports = function (target, source) {\n\tvar error, sourceObject = Object(value(source));\n\ttarget = Object(value(target));\n\tgetOwnPropertyNames(sourceObject).forEach(function (name) {\n\t\ttry {\n\t\t\tdefineProperty(target, name, getOwnPropertyDescriptor(source, name));\n\t\t} catch (e) { error = e; }\n\t});\n\tif (typeof getOwnPropertySymbols === \"function\") {\n\t\tgetOwnPropertySymbols(sourceObject).forEach(function (symbol) {\n\t\t\ttry {\n\t\t\t\tdefineProperty(target, symbol, getOwnPropertyDescriptor(source, symbol));\n\t\t\t} catch (e) { error = e; }\n\t\t});\n\t}\n\tif (error !== undefined) throw error;\n\treturn target;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? globalThis : require(\"./implementation\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tif (typeof globalThis !== \"object\") return false;\n\tif (!globalThis) return false;\n\treturn globalThis.Array === Array;\n};\n","var naiveFallback = function () {\n\tif (typeof self === \"object\" && self) return self;\n\tif (typeof window === \"object\" && window) return window;\n\tthrow new Error(\"Unable to resolve global `this`\");\n};\n\nmodule.exports = (function () {\n\tif (this) return this;\n\n\t// Unexpected strict mode (may happen if e.g. bundled into ESM module)\n\n\t// Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n\t// In all ES5+ engines global object inherits from Object.prototype\n\t// (if you approached one that doesn't please report)\n\ttry {\n\t\tObject.defineProperty(Object.prototype, \"__global__\", {\n\t\t\tget: function () { return this; },\n\t\t\tconfigurable: true\n\t\t});\n\t} catch (error) {\n\t\t// Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n\t\treturn naiveFallback();\n\t}\n\ttry {\n\t\t// Safari case (window.__global__ is resolved with global context, but __global__ does not)\n\t\tif (!__global__) return naiveFallback();\n\t\treturn __global__;\n\t} finally {\n\t\tdelete Object.prototype.__global__;\n\t}\n})();\n","\"use strict\";\n\nvar isSymbol = require(\"./is-symbol\");\n\nmodule.exports = function (value) {\n\tif (!isSymbol(value)) throw new TypeError(value + \" is not a symbol\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tif (!value) return false;\n\tif (typeof value === \"symbol\") return true;\n\tif (!value.constructor) return false;\n\tif (value.constructor.name !== \"Symbol\") return false;\n\treturn value[value.constructor.toStringTag] === \"Symbol\";\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")()\n\t? require(\"ext/global-this\").Symbol\n\t: require(\"./polyfill\");\n","\"use strict\";\n\nvar global = require(\"ext/global-this\")\n , validTypes = { object: true, symbol: true };\n\nmodule.exports = function () {\n\tvar Symbol = global.Symbol;\n\tvar symbol;\n\tif (typeof Symbol !== \"function\") return false;\n\tsymbol = Symbol(\"test symbol\");\n\ttry { String(symbol); }\n\tcatch (e) { return false; }\n\n\t// Return 'true' also for polyfills\n\tif (!validTypes[typeof Symbol.iterator]) return false;\n\tif (!validTypes[typeof Symbol.toPrimitive]) return false;\n\tif (!validTypes[typeof Symbol.toStringTag]) return false;\n\n\treturn true;\n};\n","// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\n\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"./validate-symbol\")\n , NativeSymbol = require(\"ext/global-this\").Symbol\n , generateName = require(\"./lib/private/generate-name\")\n , setupStandardSymbols = require(\"./lib/private/setup/standard-symbols\")\n , setupSymbolRegistry = require(\"./lib/private/setup/symbol-registry\");\n\nvar create = Object.create\n , defineProperties = Object.defineProperties\n , defineProperty = Object.defineProperty;\n\nvar SymbolPolyfill, HiddenSymbol, isNativeSafe;\n\nif (typeof NativeSymbol === \"function\") {\n\ttry {\n\t\tString(NativeSymbol());\n\t\tisNativeSafe = true;\n\t} catch (ignore) {}\n} else {\n\tNativeSymbol = null;\n}\n\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\nHiddenSymbol = function Symbol(description) {\n\tif (this instanceof HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n\treturn SymbolPolyfill(description);\n};\n\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = SymbolPolyfill = function Symbol(description) {\n\tvar symbol;\n\tif (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n\tif (isNativeSafe) return NativeSymbol(description);\n\tsymbol = create(HiddenSymbol.prototype);\n\tdescription = description === undefined ? \"\" : String(description);\n\treturn defineProperties(symbol, {\n\t\t__description__: d(\"\", description),\n\t\t__name__: d(\"\", generateName(description))\n\t});\n};\n\nsetupStandardSymbols(SymbolPolyfill);\nsetupSymbolRegistry(SymbolPolyfill);\n\n// Internal tweaks for real symbol producer\ndefineProperties(HiddenSymbol.prototype, {\n\tconstructor: d(SymbolPolyfill),\n\ttoString: d(\"\", function () { return this.__name__; })\n});\n\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\ndefineProperties(SymbolPolyfill.prototype, {\n\ttoString: d(function () { return \"Symbol (\" + validateSymbol(this).__description__ + \")\"; }),\n\tvalueOf: d(function () { return validateSymbol(this); })\n});\ndefineProperty(\n\tSymbolPolyfill.prototype, SymbolPolyfill.toPrimitive,\n\td(\"\", function () {\n\t\tvar symbol = validateSymbol(this);\n\t\tif (typeof symbol === \"symbol\") return symbol;\n\t\treturn symbol.toString();\n\t})\n);\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d(\"c\", \"Symbol\"));\n\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toStringTag,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])\n);\n\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\ndefineProperty(\n\tHiddenSymbol.prototype, SymbolPolyfill.toPrimitive,\n\td(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive])\n);\n","\"use strict\";\n\nvar d = require(\"d\");\n\nvar create = Object.create, defineProperty = Object.defineProperty, objPrototype = Object.prototype;\n\nvar created = create(null);\nmodule.exports = function (desc) {\n\tvar postfix = 0, name, ie11BugWorkaround;\n\twhile (created[desc + (postfix || \"\")]) ++postfix;\n\tdesc += postfix || \"\";\n\tcreated[desc] = true;\n\tname = \"@@\" + desc;\n\tdefineProperty(\n\t\tobjPrototype, name,\n\t\td.gs(null, function (value) {\n\t\t\t// For IE11 issue see:\n\t\t\t// https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n\t\t\t// ie11-broken-getters-on-dom-objects\n\t\t\t// https://github.com/medikoo/es6-symbol/issues/12\n\t\t\tif (ie11BugWorkaround) return;\n\t\t\tie11BugWorkaround = true;\n\t\t\tdefineProperty(this, name, d(value));\n\t\t\tie11BugWorkaround = false;\n\t\t})\n\t);\n\treturn name;\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , NativeSymbol = require(\"ext/global-this\").Symbol;\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\t// To ensure proper interoperability with other native functions (e.g. Array.from)\n\t\t// fallback to eventual native implementation of given symbol\n\t\thasInstance: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.hasInstance) || SymbolPolyfill(\"hasInstance\")\n\t\t),\n\t\tisConcatSpreadable: d(\n\t\t\t\"\",\n\t\t\t(NativeSymbol && NativeSymbol.isConcatSpreadable) ||\n\t\t\t\tSymbolPolyfill(\"isConcatSpreadable\")\n\t\t),\n\t\titerator: d(\"\", (NativeSymbol && NativeSymbol.iterator) || SymbolPolyfill(\"iterator\")),\n\t\tmatch: d(\"\", (NativeSymbol && NativeSymbol.match) || SymbolPolyfill(\"match\")),\n\t\treplace: d(\"\", (NativeSymbol && NativeSymbol.replace) || SymbolPolyfill(\"replace\")),\n\t\tsearch: d(\"\", (NativeSymbol && NativeSymbol.search) || SymbolPolyfill(\"search\")),\n\t\tspecies: d(\"\", (NativeSymbol && NativeSymbol.species) || SymbolPolyfill(\"species\")),\n\t\tsplit: d(\"\", (NativeSymbol && NativeSymbol.split) || SymbolPolyfill(\"split\")),\n\t\ttoPrimitive: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toPrimitive) || SymbolPolyfill(\"toPrimitive\")\n\t\t),\n\t\ttoStringTag: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.toStringTag) || SymbolPolyfill(\"toStringTag\")\n\t\t),\n\t\tunscopables: d(\n\t\t\t\"\", (NativeSymbol && NativeSymbol.unscopables) || SymbolPolyfill(\"unscopables\")\n\t\t)\n\t});\n};\n","\"use strict\";\n\nvar d = require(\"d\")\n , validateSymbol = require(\"../../../validate-symbol\");\n\nvar registry = Object.create(null);\n\nmodule.exports = function (SymbolPolyfill) {\n\treturn Object.defineProperties(SymbolPolyfill, {\n\t\tfor: d(function (key) {\n\t\t\tif (registry[key]) return registry[key];\n\t\t\treturn (registry[key] = SymbolPolyfill(String(key)));\n\t\t}),\n\t\tkeyFor: d(function (symbol) {\n\t\t\tvar key;\n\t\t\tvalidateSymbol(symbol);\n\t\t\tfor (key in registry) {\n\t\t\t\tif (registry[key] === symbol) return key;\n\t\t\t}\n\t\t\treturn undefined;\n\t\t})\n\t});\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Array.from : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar from = Array.from, arr, result;\n\tif (typeof from !== \"function\") return false;\n\tarr = [\"raz\", \"dwa\"];\n\tresult = from(arr);\n\treturn Boolean(result && result !== arr && result[1] === \"dwa\");\n};\n","\"use strict\";\n\nvar iteratorSymbol = require(\"es6-symbol\").iterator\n , isArguments = require(\"../../function/is-arguments\")\n , isFunction = require(\"../../function/is-function\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , callable = require(\"../../object/valid-callable\")\n , validValue = require(\"../../object/valid-value\")\n , isValue = require(\"../../object/is-value\")\n , isString = require(\"../../string/is-string\")\n , isArray = Array.isArray\n , call = Function.prototype.call\n , desc = { configurable: true, enumerable: true, writable: true, value: null }\n , defineProperty = Object.defineProperty;\n\n// eslint-disable-next-line complexity, max-lines-per-function\nmodule.exports = function (arrayLike /*, mapFn, thisArg*/) {\n\tvar mapFn = arguments[1]\n\t , thisArg = arguments[2]\n\t , Context\n\t , i\n\t , j\n\t , arr\n\t , length\n\t , code\n\t , iterator\n\t , result\n\t , getIterator\n\t , value;\n\n\tarrayLike = Object(validValue(arrayLike));\n\n\tif (isValue(mapFn)) callable(mapFn);\n\tif (!this || this === Array || !isFunction(this)) {\n\t\t// Result: Plain array\n\t\tif (!mapFn) {\n\t\t\tif (isArguments(arrayLike)) {\n\t\t\t\t// Source: Arguments\n\t\t\t\tlength = arrayLike.length;\n\t\t\t\tif (length !== 1) return Array.apply(null, arrayLike);\n\t\t\t\tarr = new Array(1);\n\t\t\t\tarr[0] = arrayLike[0];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t\tif (isArray(arrayLike)) {\n\t\t\t\t// Source: Array\n\t\t\t\tarr = new Array((length = arrayLike.length));\n\t\t\t\tfor (i = 0; i < length; ++i) arr[i] = arrayLike[i];\n\t\t\t\treturn arr;\n\t\t\t}\n\t\t}\n\t\tarr = [];\n\t} else {\n\t\t// Result: Non plain array\n\t\tContext = this;\n\t}\n\n\tif (!isArray(arrayLike)) {\n\t\tif ((getIterator = arrayLike[iteratorSymbol]) !== undefined) {\n\t\t\t// Source: Iterator\n\t\t\titerator = callable(getIterator).call(arrayLike);\n\t\t\tif (Context) arr = new Context();\n\t\t\tresult = iterator.next();\n\t\t\ti = 0;\n\t\t\twhile (!result.done) {\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, result.value, i) : result.value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[i] = value;\n\t\t\t\t}\n\t\t\t\tresult = iterator.next();\n\t\t\t\t++i;\n\t\t\t}\n\t\t\tlength = i;\n\t\t} else if (isString(arrayLike)) {\n\t\t\t// Source: String\n\t\t\tlength = arrayLike.length;\n\t\t\tif (Context) arr = new Context();\n\t\t\tfor (i = 0, j = 0; i < length; ++i) {\n\t\t\t\tvalue = arrayLike[i];\n\t\t\t\tif (i + 1 < length) {\n\t\t\t\t\tcode = value.charCodeAt(0);\n\t\t\t\t\t// eslint-disable-next-line max-depth\n\t\t\t\t\tif (code >= 0xd800 && code <= 0xdbff) value += arrayLike[++i];\n\t\t\t\t}\n\t\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, value, j) : value;\n\t\t\t\tif (Context) {\n\t\t\t\t\tdesc.value = value;\n\t\t\t\t\tdefineProperty(arr, j, desc);\n\t\t\t\t} else {\n\t\t\t\t\tarr[j] = value;\n\t\t\t\t}\n\t\t\t\t++j;\n\t\t\t}\n\t\t\tlength = j;\n\t\t}\n\t}\n\tif (length === undefined) {\n\t\t// Source: array or array-like\n\t\tlength = toPosInt(arrayLike.length);\n\t\tif (Context) arr = new Context(length);\n\t\tfor (i = 0; i < length; ++i) {\n\t\t\tvalue = mapFn ? call.call(mapFn, thisArg, arrayLike[i], i) : arrayLike[i];\n\t\t\tif (Context) {\n\t\t\t\tdesc.value = value;\n\t\t\t\tdefineProperty(arr, i, desc);\n\t\t\t} else {\n\t\t\t\tarr[i] = value;\n\t\t\t}\n\t\t}\n\t}\n\tif (Context) {\n\t\tdesc.value = null;\n\t\tarr.length = length;\n\t}\n\treturn arr;\n};\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , id = objToString.call((function () { return arguments; })());\n\nmodule.exports = function (value) { return objToString.call(value) === id; };\n","\"use strict\";\n\nvar objToString = Object.prototype.toString\n , isFunctionStringTag = RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);\n\nmodule.exports = function (value) {\n\treturn typeof value === \"function\" && isFunctionStringTag(objToString.call(value));\n};\n","\"use strict\";\n\nvar objToString = Object.prototype.toString, id = objToString.call(\"\");\n\nmodule.exports = function (value) {\n\treturn (\n\t\ttypeof value === \"string\" ||\n\t\t(value &&\n\t\t\ttypeof value === \"object\" &&\n\t\t\t(value instanceof String || objToString.call(value) === id)) ||\n\t\tfalse\n\t);\n};\n","\"use strict\";\n\nvar numberIsNaN = require(\"../../number/is-nan\")\n , toPosInt = require(\"../../number/to-pos-integer\")\n , value = require(\"../../object/valid-value\")\n , indexOf = Array.prototype.indexOf\n , objHasOwnProperty = Object.prototype.hasOwnProperty\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (searchElement /*, fromIndex*/) {\n\tvar i, length, fromIndex, val;\n\tif (!numberIsNaN(searchElement)) return indexOf.apply(this, arguments);\n\n\tlength = toPosInt(value(this).length);\n\tfromIndex = arguments[1];\n\tif (isNaN(fromIndex)) fromIndex = 0;\n\telse if (fromIndex >= 0) fromIndex = floor(fromIndex);\n\telse fromIndex = toPosInt(this.length) - floor(abs(fromIndex));\n\n\tfor (i = fromIndex; i < length; ++i) {\n\t\tif (objHasOwnProperty.call(this, i)) {\n\t\t\tval = this[i];\n\t\t\tif (numberIsNaN(val)) return i; // Jslint: ignore\n\t\t}\n\t}\n\treturn -1;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Number.isNaN : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar numberIsNaN = Number.isNaN;\n\tif (typeof numberIsNaN !== \"function\") return false;\n\treturn !numberIsNaN({}) && numberIsNaN(NaN) && !numberIsNaN(34);\n};\n","\"use strict\";\n\nmodule.exports = function (value) {\n\t// eslint-disable-next-line no-self-compare\n\treturn value !== value;\n};\n","\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , forEach = require(\"./for-each\")\n , call = Function.prototype.call;\n\nmodule.exports = function (obj, cb /*, thisArg*/) {\n\tvar result = {}, thisArg = arguments[2];\n\tcallable(cb);\n\tforEach(obj, function (value, key, targetObj, index) {\n\t\tresult[key] = call.call(cb, thisArg, value, key, targetObj, index);\n\t});\n\treturn result;\n};\n","'use strict';\n\nvar ensureCallable = function (fn) {\n\tif (typeof fn !== 'function') throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n\nvar byObserver = function (Observer) {\n\tvar node = document.createTextNode(''), queue, currentQueue, i = 0;\n\tnew Observer(function () {\n\t\tvar callback;\n\t\tif (!queue) {\n\t\t\tif (!currentQueue) return;\n\t\t\tqueue = currentQueue;\n\t\t} else if (currentQueue) {\n\t\t\tqueue = currentQueue.concat(queue);\n\t\t}\n\t\tcurrentQueue = queue;\n\t\tqueue = null;\n\t\tif (typeof currentQueue === 'function') {\n\t\t\tcallback = currentQueue;\n\t\t\tcurrentQueue = null;\n\t\t\tcallback();\n\t\t\treturn;\n\t\t}\n\t\tnode.data = (i = ++i % 2); // Invoke other batch, to handle leftover callbacks in case of crash\n\t\twhile (currentQueue) {\n\t\t\tcallback = currentQueue.shift();\n\t\t\tif (!currentQueue.length) currentQueue = null;\n\t\t\tcallback();\n\t\t}\n\t}).observe(node, { characterData: true });\n\treturn function (fn) {\n\t\tensureCallable(fn);\n\t\tif (queue) {\n\t\t\tif (typeof queue === 'function') queue = [queue, fn];\n\t\t\telse queue.push(fn);\n\t\t\treturn;\n\t\t}\n\t\tqueue = fn;\n\t\tnode.data = (i = ++i % 2);\n\t};\n};\n\nmodule.exports = (function () {\n\t// Node.js\n\tif ((typeof process === 'object') && process && (typeof process.nextTick === 'function')) {\n\t\treturn process.nextTick;\n\t}\n\n\t// queueMicrotask\n\tif (typeof queueMicrotask === \"function\") {\n\t\treturn function (cb) { queueMicrotask(ensureCallable(cb)); };\n\t}\n\n\t// MutationObserver\n\tif ((typeof document === 'object') && document) {\n\t\tif (typeof MutationObserver === 'function') return byObserver(MutationObserver);\n\t\tif (typeof WebKitMutationObserver === 'function') return byObserver(WebKitMutationObserver);\n\t}\n\n\t// W3C Draft\n\t// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html\n\tif (typeof setImmediate === 'function') {\n\t\treturn function (cb) { setImmediate(ensureCallable(cb)); };\n\t}\n\n\t// Wide available standard\n\tif ((typeof setTimeout === 'function') || (typeof setTimeout === 'object')) {\n\t\treturn function (cb) { setTimeout(ensureCallable(cb), 0); };\n\t}\n\n\treturn null;\n}());\n","// Deprecated\n\n\"use strict\";\n\nmodule.exports = function (obj) { return typeof obj === \"function\"; };\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","/* eslint max-statements: 0 */\n\n// Support for functions returning promise\n\n\"use strict\";\n\nvar objectMap = require(\"es5-ext/object/map\")\n , primitiveSet = require(\"es5-ext/object/primitive-set\")\n , ensureString = require(\"es5-ext/object/validate-stringifiable-value\")\n , toShortString = require(\"es5-ext/to-short-string-representation\")\n , isPromise = require(\"is-promise\")\n , nextTick = require(\"next-tick\");\n\nvar create = Object.create\n , supportedModes = primitiveSet(\"then\", \"then:finally\", \"done\", \"done:finally\");\n\nrequire(\"../lib/registered-extensions\").promise = function (mode, conf) {\n\tvar waiting = create(null), cache = create(null), promises = create(null);\n\n\tif (mode === true) {\n\t\tmode = null;\n\t} else {\n\t\tmode = ensureString(mode);\n\t\tif (!supportedModes[mode]) {\n\t\t\tthrow new TypeError(\"'\" + toShortString(mode) + \"' is not valid promise mode\");\n\t\t}\n\t}\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id, ignore, promise) {\n\t\tvar isFailed = false;\n\n\t\tif (!isPromise(promise)) {\n\t\t\t// Non promise result\n\t\t\tcache[id] = promise;\n\t\t\tconf.emit(\"setasync\", id, 1);\n\t\t\treturn;\n\t\t}\n\t\twaiting[id] = 1;\n\t\tpromises[id] = promise;\n\t\tvar onSuccess = function (result) {\n\t\t\tvar count = waiting[id];\n\t\t\tif (isFailed) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Detected unordered then|done & finally resolution, which \" +\n\t\t\t\t\t\t\"in turn makes proper detection of success/failure impossible (when in \" +\n\t\t\t\t\t\t\"'done:finally' mode)\\n\" +\n\t\t\t\t\t\t\"Consider to rely on 'then' or 'done' mode instead.\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (!count) return; // Deleted from cache before resolved\n\t\t\tdelete waiting[id];\n\t\t\tcache[id] = result;\n\t\t\tconf.emit(\"setasync\", id, count);\n\t\t};\n\t\tvar onFailure = function () {\n\t\t\tisFailed = true;\n\t\t\tif (!waiting[id]) return; // Deleted from cache (or succeed in case of finally)\n\t\t\tdelete waiting[id];\n\t\t\tdelete promises[id];\n\t\t\tconf.delete(id);\n\t\t};\n\n\t\tvar resolvedMode = mode;\n\t\tif (!resolvedMode) resolvedMode = \"then\";\n\n\t\tif (resolvedMode === \"then\") {\n\t\t\tvar nextTickFailure = function () { nextTick(onFailure); };\n\t\t\t// Eventual finally needs to be attached to non rejected promise\n\t\t\t// (so we not force propagation of unhandled rejection)\n\t\t\tpromise = promise.then(function (result) {\n\t\t\t\tnextTick(onSuccess.bind(this, result));\n\t\t\t}, nextTickFailure);\n\t\t\t// If `finally` is a function we attach to it to remove cancelled promises.\n\t\t\tif (typeof promise.finally === \"function\") {\n\t\t\t\tpromise.finally(nextTickFailure);\n\t\t\t}\n\t\t} else if (resolvedMode === \"done\") {\n\t\t\t// Not recommended, as it may mute any eventual \"Unhandled error\" events\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess, onFailure);\n\t\t} else if (resolvedMode === \"done:finally\") {\n\t\t\t// The only mode with no side effects assuming library does not throw unconditionally\n\t\t\t// for rejected promises.\n\t\t\tif (typeof promise.done !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'done' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (typeof promise.finally !== \"function\") {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t\"Memoizee error: Retrieved promise does not implement 'finally' \" +\n\t\t\t\t\t\t\"in 'done:finally' mode\"\n\t\t\t\t);\n\t\t\t}\n\t\t\tpromise.done(onSuccess);\n\t\t\tpromise.finally(onFailure);\n\t\t}\n\t});\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id, args, context) {\n\t\tvar promise;\n\t\tif (waiting[id]) {\n\t\t\t++waiting[id]; // Still waiting\n\t\t\treturn;\n\t\t}\n\t\tpromise = promises[id];\n\t\tvar emit = function () { conf.emit(\"getasync\", id, args, context); };\n\t\tif (isPromise(promise)) {\n\t\t\tif (typeof promise.done === \"function\") promise.done(emit);\n\t\t\telse {\n\t\t\t\tpromise.then(function () { nextTick(emit); });\n\t\t\t}\n\t\t} else {\n\t\t\temit();\n\t\t}\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tdelete promises[id];\n\t\tif (waiting[id]) {\n\t\t\tdelete waiting[id];\n\t\t\treturn; // Not yet resolved\n\t\t}\n\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\tvar result = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, [result]);\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\twaiting = create(null);\n\t\tpromises = create(null);\n\t\tconf.emit(\"clearasync\", objectMap(oldCache, function (data) { return [data]; }));\n\t});\n};\n","\"use strict\";\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (arg /*, …args*/) {\n\tvar set = create(null);\n\tforEach.call(arguments, function (name) { set[name] = true; });\n\treturn set;\n};\n","\"use strict\";\n\nvar ensureValue = require(\"./valid-value\")\n , stringifiable = require(\"./validate-stringifiable\");\n\nmodule.exports = function (value) { return stringifiable(ensureValue(value)); };\n","\"use strict\";\n\nvar isCallable = require(\"./is-callable\");\n\nmodule.exports = function (stringifiable) {\n\ttry {\n\t\tif (stringifiable && isCallable(stringifiable.toString)) return stringifiable.toString();\n\t\treturn String(stringifiable);\n\t} catch (e) {\n\t\tthrow new TypeError(\"Passed argument cannot be stringifed\");\n\t}\n};\n","\"use strict\";\n\nvar safeToString = require(\"./safe-to-string\");\n\nvar reNewLine = /[\\n\\r\\u2028\\u2029]/g;\n\nmodule.exports = function (value) {\n\tvar string = safeToString(value);\n\t// Trim if too long\n\tif (string.length > 100) string = string.slice(0, 99) + \"…\";\n\t// Replace eventual new lines\n\tstring = string.replace(reNewLine, function (char) {\n\t\treturn JSON.stringify(char).slice(1, -1);\n\t});\n\treturn string;\n};\n","\"use strict\";\n\nvar isCallable = require(\"./object/is-callable\");\n\nmodule.exports = function (value) {\n\ttry {\n\t\tif (value && isCallable(value.toString)) return value.toString();\n\t\treturn String(value);\n\t} catch (e) {\n\t\treturn \"\";\n\t}\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n","import { homedir } from \"os\";\nimport { join } from \"path\";\nimport { isSudo } from \"admina\";\nexport function userHomeDir() {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\" && process.env.SUDO_USER !== \"\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER);\n }\n else {\n return join(\"/home/\", process.env.SUDO_USER);\n }\n }\n else {\n const maybeHomeDir = homedir();\n if (maybeHomeDir === \"\") {\n return undefined;\n }\n return maybeHomeDir;\n }\n}\nconst tildeRegex = /^~(?=$|\\/|\\\\)/;\n/**\n * Replaces a tilde with the user's home directory\n *\n * @example UntildifyUser(\"~/foo\") // /home/user/foo\n *\n * @param path The path to untildify\n * @returns The untildified path\n */\nexport function untildifyUser(path) {\n const maybeHomeDir = userHomeDir();\n if (maybeHomeDir === undefined) {\n return path;\n }\n return path.replace(tildeRegex, maybeHomeDir);\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLElBQUksQ0FBQTtBQUM1QixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sTUFBTSxDQUFBO0FBQzNCLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxRQUFRLENBQUE7QUFFL0IsTUFBTSxVQUFVLFdBQVc7SUFDekIsSUFBSSxNQUFNLEVBQUUsSUFBSSxPQUFPLE9BQU8sQ0FBQyxHQUFHLENBQUMsU0FBUyxLQUFLLFFBQVEsSUFBSSxPQUFPLENBQUMsR0FBRyxDQUFDLFNBQVMsS0FBSyxFQUFFLEVBQUUsQ0FBQztRQUMxRixvQ0FBb0M7UUFDcEMsSUFBSSxPQUFPLENBQUMsUUFBUSxLQUFLLFFBQVEsRUFBRSxDQUFDO1lBQ2xDLE9BQU8sSUFBSSxDQUFDLFNBQVMsRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDLFNBQVMsQ0FBQyxDQUFBO1FBQy9DLENBQUM7YUFBTSxDQUFDO1lBQ04sT0FBTyxJQUFJLENBQUMsUUFBUSxFQUFFLE9BQU8sQ0FBQyxHQUFHLENBQUMsU0FBUyxDQUFDLENBQUE7UUFDOUMsQ0FBQztJQUNILENBQUM7U0FBTSxDQUFDO1FBQ04s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iBqb2luKFwiL2hvbWUvXCIsIHByb2Nlc3MuZW52LlNVRE9fVVNFUilcbiAgICB9XG4gIH0gZWxzZSB7XG4gICAgY29uc3QgbWF5YmVIb21lRGlyID0gaG9tZWRpcigpXG4gICAgaWYgKG1heWJlSG9tZURpciA9PT0gXCJcIikge1xuICAgICAgcmV0dXJuIHVuZGVmaW5lZFxuICAgIH1cbiAgICByZXR1cm4gbWF5YmVIb21lRGlyXG4gIH1cbn1cblxuY29uc3QgdGlsZGVSZWdleCA9IC9efig/PSR8XFwvfFxcXFwpL1xuXG4vKipcbiAqIFJlcGxhY2VzIGEgdGlsZGUgd2l0aCB0aGUgdXNlcidzIGhvbWUgZGlyZWN0b3J5XG4gKlxuICogQGV4YW1wbGUgVW50aWxkaWZ5VXNlcihcIn4vZm9vXCIpIC8vIC9ob21lL3VzZXIvZm9vXG4gKlxuICogQHBhcmFtIHBhdGggVGhlIHBhdGggdG8gdW50aWxkaWZ5XG4gKiBAcmV0dXJucyBUaGUgdW50aWxkaWZpZWQgcGF0aFxuICovXG5leHBvcnQgZnVuY3Rpb24gdW50aWxkaWZ5VXNlcihwYXRoOiBzdHJpbmcpIHtcbiAgY29uc3QgbWF5YmVIb21lRGlyID0gdXNlckhvbWVEaXIoKVxuICBpZiAobWF5YmVIb21lRGlyID09PSB1bmRlZmluZWQpIHtcbiAgICByZXR1cm4gcGF0aFxuICB9XG5cbiAgcmV0dXJuIHBhdGgucmVwbGFjZSh0aWxkZVJlZ2V4LCBtYXliZUhvbWVEaXIpXG59XG4iXX0=","import { promises } from \"fs\";\nimport { grantUserWriteAccess } from \"admina\";\nimport { info, warning } from \"ci-log\";\nimport memoize from \"memoizee\";\nimport { pathExists } from \"path-exists\";\nimport { untildifyUser } from \"untildify-user\";\nconst { appendFile, readFile, writeFile } = promises;\nexport const defaultRcPath = untildifyUser(\"~/.bashrc\");\nasync function sourceRCInRc_(options) {\n const sourceRcString = options.guard === undefined\n ? `\\nsource \"${options.rcPath}\"\\n`\n : `\\n# ${options.guard}\\nif [[ \"$SOURCE_${options.guard.toUpperCase()}RC\" != 0 && -f \"${options.rcPath}\" ]]; then source \"${options.rcPath}\"; fi\\n`;\n try {\n await Promise.all([\n addRCHeader(options),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.bashrc\")),\n addSourceToTargetRc(sourceRcString, untildifyUser(\"~/.profile\")),\n ]);\n }\n catch (err) {\n warning(`Failed to add ${sourceRcString} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n}\n/**\n * handles adding conditions to source rc file from .bashrc and .profile\n */\nexport const sourceRCInRc = memoize(sourceRCInRc_, { promise: true });\nasync function addRCHeader(options) {\n // a variable that prevents source rc from being called from .bashrc and .profile\n const rcHeader = options.guard === undefined\n ? \"\\n# Automatically Generated by envosman\\n\"\n : `\\n# Automatically Generated by envosman ${options.guard}\\nexport SOURCE_${options.guard.toUpperCase()}RC=0\\n`;\n if (await pathExists(options.rcPath)) {\n const rcContent = await readFile(options.rcPath, \"utf8\");\n if (!rcContent.includes(rcHeader)) {\n // already executed setupCppInProfile\n await appendFile(options.rcPath, `\\n${rcHeader}\\n`);\n info(`Added ${rcHeader} to ${options.rcPath}`);\n }\n }\n}\nasync function addSourceToTargetRc(sourceRcString, targetRcPath) {\n if (await pathExists(targetRcPath)) {\n const bashrcContent = await readFile(targetRcPath, \"utf-8\");\n if (!bashrcContent.includes(sourceRcString)) {\n await appendFile(targetRcPath, sourceRcString);\n info(`${sourceRcString} was added to ${targetRcPath}`);\n }\n }\n}\nexport async function finalizeRC(rcOptions) {\n if (await pathExists(rcOptions.rcPath)) {\n const entries = (await readFile(rcOptions.rcPath, \"utf-8\")).split(\"\\n\");\n const uniqueEntries = [...new Set(entries.reverse())].reverse(); // remove duplicates, keeping the latest entry\n await writeFile(rcOptions.rcPath, uniqueEntries.join(\"\\n\"));\n await grantUserWriteAccess(rcOptions.rcPath);\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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1xuICAgIGNvbnN0IGJhc2hyY0NvbnRlbnQgPSBhd2FpdCByZWFkRmlsZSh0YXJnZXRSY1BhdGgsIFwidXRmLThcIilcbiAgICBpZiAoIWJhc2hyY0NvbnRlbnQuaW5jbHVkZXMoc291cmNlUmNTdHJpbmcpKSB7XG4gICAgICBhd2FpdCBhcHBlbmRGaWxlKHRhcmdldFJjUGF0aCwgc291cmNlUmNTdHJpbmcpXG4gICAgICBpbmZvKGAke3NvdXJjZVJjU3RyaW5nfSB3YXMgYWRkZWQgdG8gJHt0YXJnZXRSY1BhdGh9YClcbiAgICB9XG4gIH1cbn1cblxuZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGZpbmFsaXplUkMocmNPcHRpb25zOiBSY09wdGlvbnMpIHtcbiAgaWYgKGF3YWl0IHBhdGhFeGlzdHMocmNPcHRpb25zLnJjUGF0aCkpIHtcbiAgICBjb25zdCBlbnRyaWVzID0gKGF3YWl0IHJlYWRGaWxlKHJjT3B0aW9ucy5yY1BhdGgsIFwidXRmLThcIikpLnNwbGl0KFwiXFxuXCIpXG5cbiAgICBjb25zdCB1bmlxdWVFbnRyaWVzID0gWy4uLm5ldyBTZXQoZW50cmllcy5yZXZlcnNlKCkpXS5yZXZlcnNlKCkgLy8gcmVtb3ZlIGR1cGxpY2F0ZXMsIGtlZXBpbmcgdGhlIGxhdGVzdCBlbnRyeVxuXG4gICAgYXdhaXQgd3JpdGVGaWxlKHJjT3B0aW9ucy5yY1BhdGgsIHVuaXF1ZUVudHJpZXMuam9pbihcIlxcblwiKSlcblxuICAgIGF3YWl0IGdyYW50VXNlcldyaXRlQWNjZXNzKHJjT3B0aW9ucy5yY1BhdGgpXG4gIH1cbn1cbiJdfQ==","import { promises } from \"fs\";\nimport { exportVariable as ghExportVariable } from \"@actions/core\";\nimport { GITHUB_ACTIONS } from \"ci-info\";\nimport { error, info } from \"ci-log\";\nimport { execPowershell } from \"exec-powershell\";\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\";\nimport { escapeString } from \"./utils.js\";\nconst { appendFile } = promises;\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name, valGiven, givenOptions = {}) {\n const options = {\n escapeSpace: false,\n overwrite: true,\n rcPath: defaultRcPath,\n ...givenOptions,\n };\n const val = escapeString(valGiven ?? \"\", options.escapeSpace);\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n ghExportVariable(name, val);\n }\n catch (err) {\n error(err);\n await addEnvSystem(name, val, options);\n }\n }\n else {\n await addEnvSystem(name, val, options);\n }\n }\n catch (err) {\n error(`${err}\\nFailed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nasync function addEnvSystem(name, valGiven, options) {\n const val = valGiven ?? \"\";\n switch (process.platform) {\n case \"win32\": {\n if (!options.overwrite) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n info(`${name}='${val}' was set in the environment.`);\n return;\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options);\n if (!options.overwrite) {\n await appendFile(options.rcPath, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${options.rcPath}`);\n }\n else {\n await appendFile(options.rcPath, `\\nexport ${name}=\"${val}\"\\n`);\n info(`${name}=\"${val}\" was added to \"${options.rcPath}`);\n }\n return;\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLWVudi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzI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1bHQ6IHtcbiAgICAgIC8vIGZhbGwgdGhyb3VnaCBzaGVsbCBwYXRoIG1vZGlmaWNhdGlvblxuICAgIH1cbiAgfVxuICBwcm9jZXNzLmVudltuYW1lXSA9IHZhbFxufVxuIl19","import escapeSpace from \"escape-path-with-spaces\";\nimport escapeQuote from \"escape-quotes\";\n/**\n * Escape a string for use in a shell command\n * @param valGiven The string to escape\n * @param shouldEscapeSpace Whether to escape spaces in the string\n *\n * @private\n */\nexport function escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven;\n return escapeQuote(spaceEscaped, \"\\\"\", \"\\\\\");\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxXQUFXLE1BQU0seUJBQXlCLENBQUE7QUFDakQsT0FBTyxXQUFXLE1BQU0sZUFBZSxDQUFBO0FBRXZDOzs7Ozs7R0FNRztBQUNILE1BQU0sVUFBVSxZQUFZLENBQUMsUUFBZ0IsRUFBRSxvQkFBNkIsS0FBSztJQUMvRSxNQUFNLFlBQVksR0FBRyxpQkFBaUIsQ0FBQyxDQUFDLENBQUMsV0FBVyxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUE7SUFDekUsT0FBTyxXQUFXLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQTtBQUM5QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGVzY2FwZVNwYWNlIGZyb20gXCJlc2NhcGUtcGF0aC13aXRoLXNwYWNlc1wiXG5pbXBvcnQgZXNjYXBlUXVvdGUgZnJvbSBcImVzY2FwZS1xdW90ZXNcIlxuXG4vKipcbiAqIEVzY2FwZSBhIHN0cmluZyBmb3IgdXNlIGluIGEgc2hlbGwgY29tbWFuZFxuICogQHBhcmFtIHZhbEdpdmVuIFRoZSBzdHJpbmcgdG8gZXNjYXBlXG4gKiBAcGFyYW0gc2hvdWxkRXNjYXBlU3BhY2UgV2hldGhlciB0byBlc2NhcGUgc3BhY2VzIGluIHRoZSBzdHJpbmdcbiAqXG4gKiBAcHJpdmF0ZVxuICovXG5leHBvcnQgZnVuY3Rpb24gZXNjYXBlU3RyaW5nKHZhbEdpdmVuOiBzdHJpbmcsIHNob3VsZEVzY2FwZVNwYWNlOiBib29sZWFuID0gZmFsc2UpIHtcbiAgY29uc3Qgc3BhY2VFc2NhcGVkID0gc2hvdWxkRXNjYXBlU3BhY2UgPyBlc2NhcGVTcGFjZSh2YWxHaXZlbikgOiB2YWxHaXZlblxuICByZXR1cm4gZXNjYXBlUXVvdGUoc3BhY2VFc2NhcGVkLCBcIlxcXCJcIiwgXCJcXFxcXCIpXG59XG4iXX0=","import { promises } from \"fs\";\nimport { delimiter } from \"path\";\nimport { addPath as ghAddPath } from \"@actions/core\";\nimport { GITHUB_ACTIONS } from \"ci-info\";\nimport { error, info } from \"ci-log\";\nimport { execPowershell } from \"exec-powershell\";\nimport { defaultRcPath, sourceRCInRc } from \"./rc-file.js\";\nconst { appendFile } = promises;\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path, givenOptions = {}) {\n const options = { rcPath: defaultRcPath, ...givenOptions };\n if (isIgnoredPath(path)) {\n return;\n }\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`;\n try {\n if (GITHUB_ACTIONS) {\n try {\n ghAddPath(path);\n }\n catch (err) {\n error(err);\n await addPathSystem(path, options);\n }\n }\n else {\n await addPathSystem(path, options);\n }\n }\n catch (err) {\n error(`${err}\\nFailed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nasync function addPathSystem(path, options) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n info(`\"${path}\" was added to the PATH.`);\n return;\n }\n case \"linux\":\n case \"darwin\": {\n await sourceRCInRc(options);\n await appendFile(options.rcPath, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n info(`\"${path}\" was added to \"${options.rcPath}\"`);\n return;\n }\n default: {\n return;\n }\n }\n}\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/];\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? [];\n return paths.includes(path);\n }\n return false;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLXBhdGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYWRkLXBhdGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLElBQUksQ0FBQTtBQUM3QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sTUFBTSxDQUFBO0FBQ2hDLE9BQU8sRUFBRSxPQUFPLElBQUksU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3BELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxTQUFTLENBQUE7QUFDeEMsT0FBTyxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsTUFBTSxRQUFRLENBQUE7QUFDcEMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQ2hELE9BQU8sRUFBRSxhQUFhLEVBQUUsWUF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vPy8sIC9cXC91c3JcXC9sb2NhbFxcL2JpblxcLz8vXVxuXG4vKiogU2tpcCBhZGRpbmcgL3Vzci9iaW4gdG8gUEFUSCBpZiBpdCBpcyBhbHJlYWR5IHRoZXJlICovXG5mdW5jdGlvbiBpc0lnbm9yZWRQYXRoKHBhdGg6IHN0cmluZykge1xuICBpZiAoaWdub3JlZFBhdGhzLnNvbWUoKGNoZWNrZWRQYXRoKSA9PiBjaGVja2VkUGF0aC50ZXN0KHBhdGgpKSkge1xuICAgIGNvbnN0IHBhdGhzID0gcHJvY2Vzcy5lbnYuUEFUSD8uc3BsaXQoZGVsaW1pdGVyKSA/PyBbXVxuICAgIHJldHVybiBwYXRocy5pbmNsdWRlcyhwYXRoKVxuICB9XG4gIHJldHVybiBmYWxzZVxufVxuIl19","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","const SPACE_CHARACTERS = /\\s+/g\n\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.formatted = undefined\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\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.formatted = undefined\n }\n\n get range () {\n if (this.formatted === undefined) {\n this.formatted = ''\n for (let i = 0; i < this.set.length; i++) {\n if (i > 0) {\n this.formatted += '||'\n }\n const comps = this.set[i]\n for (let k = 0; k < comps.length; k++) {\n if (k > 0) {\n this.formatted += ' '\n }\n this.formatted += comps[k].toString().trim()\n }\n }\n }\n return this.formatted\n }\n\n format () {\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('../internal/lrucache')\nconst cache = new LRU()\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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\n// TODO build?\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return `${from} ${to}`.trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { promises } from \"fs\";\nimport { execRoot } from \"admina\";\nimport { GITHUB_ACTIONS } from \"ci-info\";\nimport { sourceRC } from \"envosman\";\nconst { appendFile } = promises;\n/**\n * Update the alternatives for a package\n * @param name The name of the package\n * @param path The path to the binary\n * @param priority The priority of the alternative (Defaults to `40`)\n */\nexport async function updateAptAlternatives(name, path, priority = 40) {\n await execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, priority.toString()]);\n}\n/**\n * Add the update-alternatives command to the rc file\n * @param name The name of the package\n * @param path The path to the binary\n * @param rcOptions The options for the rc file to add the update-alternatives command to\n * @param priority The priority of the alternative (Defaults to `40`)\n */\nexport async function addUpdateAlternativesToRc(name, path, rcOptions, priority = 40) {\n if (GITHUB_ACTIONS) {\n await updateAptAlternatives(name, path, priority);\n }\n else {\n await sourceRC(rcOptions);\n await appendFile(rcOptions.rcPath, `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWx0ZXJuYXRpdmVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2FsdGVybmF0aXZlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sSUFBSSxDQUFBO0FBQzdCLE9BQ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dGlvbnMgZm9yIHRoZSByYyBmaWxlIHRvIGFkZCB0aGUgdXBkYXRlLWFsdGVybmF0aXZlcyBjb21tYW5kIHRvXG4gKiBAcGFyYW0gcHJpb3JpdHkgVGhlIHByaW9yaXR5IG9mIHRoZSBhbHRlcm5hdGl2ZSAoRGVmYXVsdHMgdG8gYDQwYClcbiAqL1xuZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGFkZFVwZGF0ZUFsdGVybmF0aXZlc1RvUmMoXG4gIG5hbWU6IHN0cmluZyxcbiAgcGF0aDogc3RyaW5nLFxuICByY09wdGlvbnM6IFJjT3B0aW9ucyxcbiAgcHJpb3JpdHk6IG51bWJlciA9IDQwLFxuKSB7XG4gIGlmIChHSVRIVUJfQUNUSU9OUykge1xuICAgIGF3YWl0IHVwZGF0ZUFwdEFsdGVybmF0aXZlcyhuYW1lLCBwYXRoLCBwcmlvcml0eSlcbiAgfSBlbHNlIHtcbiAgICBhd2FpdCBzb3VyY2VSQyhyY09wdGlvbnMpXG4gICAgYXdhaXQgYXBwZW5kRmlsZShcbiAgICAgIHJjT3B0aW9ucy5yY1BhdGgsXG4gICAgICBgXFxuaWYgWyAkVUlEIC1lcSAwIF07IHRoZW4gdXBkYXRlLWFsdGVybmF0aXZlcyAtLWluc3RhbGwgL3Vzci9iaW4vJHtuYW1lfSAke25hbWV9ICR7cGF0aH0gJHtwcmlvcml0eX07IGZpXFxuYCxcbiAgICApXG4gIH1cbn1cbiJdfQ==","/**\n * Get the environment variables to use for the apt command\n * @param apt The apt command to use\n * @private Used internally\n */\nexport function getAptEnv(apt) {\n const env = { ...process.env, DEBIAN_FRONTEND: \"noninteractive\" };\n if (apt === \"nala\") {\n // if LANG/LC_ALL is not set, enable utf8 otherwise nala fails because of ASCII encoding\n if (env.LANG === undefined) {\n env.LANG = \"C.UTF-8\";\n }\n if (env.LC_ALL === undefined) {\n env.LC_ALL = \"C.UTF-8\";\n }\n }\n return env;\n}\n//# sourceMappingURL=data:application/json;base64,ey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ChhcHQgPT09IFwibmFsYVwiKSB7XG4gICAgLy8gaWYgTEFORy9MQ19BTEwgaXMgbm90IHNldCwgZW5hYmxlIHV0Zjggb3RoZXJ3aXNlIG5hbGEgZmFpbHMgYmVjYXVzZSBvZiBBU0NJSSBlbmNvZGluZ1xuICAgIGlmIChlbnYuTEFORyA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICBlbnYuTEFORyA9IFwiQy5VVEYtOFwiXG4gICAgfVxuICAgIGlmIChlbnYuTENfQUxMID09PSB1bmRlZmluZWQpIHtcbiAgICAgIGVudi5MQ19BTEwgPSBcIkMuVVRGLThcIlxuICAgIH1cbiAgfVxuXG4gIHJldHVybiBlbnZcbn1cbiJdfQ==","import which from \"which\";\n/**\n * Check if nala is installed\n */\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null;\n}\n/**\n * Get the apt command to use\n * If nala is installed, use that, otherwise use apt-get\n */\nexport function getApt() {\n let apt;\n if (hasNala()) {\n apt = \"nala\";\n }\n else {\n apt = \"apt-get\";\n }\n return apt;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWFwdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9nZXQtYXB0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUV6Qjs7R0FFRztBQUNILE1BQU0sVUFBVSxPQUFPO0lBQ3JCLE9BQU8sS0FBSyxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsRUFBRSxPQUFPLEVBQUUsSUFBSSxFQUFFLENBQUMsS0FBSyxJQUFJLENBQUE7QUFDdkQsQ0FBQztBQUVEOzs7R0FHRztBQUNILE1BQU0sVUFBVSxNQUFNO0lBQ3BCLElBQUksR0FBVyxDQUFBO0lBQ2YsSUFBSSxPQUFPLEVBQUUsRUFBRSxDQUFDO1FBQ2QsR0FBRyxHQUFHLE1BQU0sQ0FBQTtJQUNkLENBQUM7U0FBTSxDQUFDO1FBQ04sR0FBRyxHQUFHLFNBQVMsQ0FBQTtJQUNqQixDQUFDO0lBQ0QsT0FBTyxHQUFHLENBQUE7QUFDWixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHdoaWNoIGZyb20gXCJ3aGljaFwiXG5cbi8qKlxuICogQ2hlY2sgaWYgbmFsYSBpcyBpbnN0YWxsZWRcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGhhc05hbGEoKSB7XG4gIHJldHVybiB3aGljaC5zeW5jKFwibmFsYVwiLCB7IG5vdGhyb3c6IHRydWUgfSkgIT09IG51bGxcbn1cblxuLyoqXG4gKiBHZXQgdGhlIGFwdCBjb21tYW5kIHRvIHVzZVxuICogSWYgbmFsYSBpcyBpbnN0YWxsZWQsIHVzZSB0aGF0LCBvdGhlcndpc2UgdXNlIGFwdC1nZXRcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGdldEFwdCgpIHtcbiAgbGV0IGFwdDogc3RyaW5nXG4gIGlmIChoYXNOYWxhKCkpIHtcbiAgICBhcHQgPSBcIm5hbGFcIlxuICB9IGVsc2Uge1xuICAgIGFwdCA9IFwiYXB0LWdldFwiXG4gIH1cbiAgcmV0dXJuIGFwdFxufVxuIl19","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","import { execa } from \"execa\";\nimport { getAptEnv } from \"./apt-env.js\";\n/**\n * Check if a package is installed\n * @param pack The package to check\n * @returns `true` if the package is installed, `false` otherwise\n */\nexport async function isAptPackInstalled(pack) {\n try {\n // check if a package is installed\n const { stdout } = await execa(\"dpkg\", [\"-s\", pack], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" });\n if (typeof stdout !== \"string\") {\n return false;\n }\n const lines = stdout.split(\"\\n\");\n // check if the output contains a line that starts with \"Status: install ok installed\"\n return lines.some((line) => line.startsWith(\"Status: install ok installed\"));\n }\n catch {\n return false;\n }\n}\n/**\n * Check if a package matching a regexp is installed\n * @param regexp The regexp to check\n * @returns `true` if a package is installed, `false` otherwise\n */\nexport async function isAptPackRegexInstalled(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp], { env: getAptEnv(\"apt-get\"), stdio: \"pipe\" });\n if (typeof stdout !== \"string\") {\n return false;\n }\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"));\n }\n catch {\n return false;\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtaW5zdGFsbGVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2lzLWluc3RhbGxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sT0FBTyxDQUFBO0FBQzdCLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUE7QUFFeEM7Ozs7R0FJRztBQUNILE1BQU0sQ0FBQyxLQUFLLFVBQVUsa0JBQWtCLENBQUMsSUFBWTtJQUNuRCxJQUFJLENBQUM7UUFDSCxrQ0FBa0M7UUFDbEMsTUFBTSxFQUFFLE1BQU0sRUFBRSxHQUFHLE1BQU0sS0FBSyxDQUFDLE1BQU0sRUFBRSxDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsRUFBRSxFQUFFLEdBQUcsRUFBRSxTQUFTLENBQUMsU0FBUyxD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";\nimport escapeRegex from \"escape-string-regexp\";\nimport { execa } from \"execa\";\nimport { getAptEnv } from \"./apt-env.js\";\nimport { getApt } from \"./get-apt.js\";\nimport { isAptPackInstalled } from \"./is-installed.js\";\nimport { updateAptReposMemoized, updatedRepos } from \"./update.js\";\n/**\n * The type of apt package to install\n */\nexport var AptPackageType;\n(function (AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})(AptPackageType || (AptPackageType = {}));\n/**\n * Filter out the packages that are already installed and qualify the packages into a full package name/version\n */\nexport async function filterAndQualifyAptPackages(packages, apt = getApt()) {\n return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(pack, apt))))\n .filter((pack) => pack !== undefined);\n}\n/**\n * Qualify the package into full package name/version.\n * If the package is not installed, return the full package name/version.\n * If the package is already installed, return undefined\n */\nexport async function qualifiedNeededAptPackage(pack, apt = getApt()) {\n // Qualify the package into full package name/version\n const qualified = await getAptArg(apt, pack.name, pack.version);\n // filter out the package that are already installed\n return (await isAptPackInstalled(qualified)) ? undefined : qualified;\n}\nasync function aptPackageType(apt, name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ], { env: getAptEnv(apt), stdio: \"pipe\" });\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion;\n }\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`], { env: getAptEnv(apt) });\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion;\n }\n }\n catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name], { env: getAptEnv(apt), stdio: \"pipe\" });\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name;\n }\n }\n catch {\n // ignore\n }\n // If apt-cache fails, update the repos and try again\n if (!updatedRepos) {\n updateAptReposMemoized(apt);\n return aptPackageType(apt, name, version);\n }\n return AptPackageType.None;\n}\nasync function getAptArg(apt, name, version) {\n const package_type = await aptPackageType(apt, name, version);\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`;\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`;\n case AptPackageType.Name:\n if (version !== undefined && version !== \"\") {\n warning(`Could not find package ${name} with version ${version}. Installing the latest version.`);\n }\n return name;\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`);\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbGlmeS1pbnN0YWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3F1YWxpZnktaW5zdGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sUUFBUSxDQUFBO0FBQ2hDLE9BQU8sV0FBVyxNQUFNLHNCQUFzQixDQUFBO0FBQzlDLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxPQUFPLENBQUE7QUFDN0IsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUN4QyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sY0FBYyxDQUFBO0FBRXJDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG1CQUFtQixDQUFBO0FBQ3RELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxZQUFZLEVBQUUsTUFBTSxhQUFhLENBQUE7QUFFbEU7O0dBRUc7QUFDSCxNQUFNLENBQU4sSUFBWSxjQUtYO0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9ufWBcbiAgICBjYXNlIEFwdFBhY2thZ2VUeXBlLk5hbWVFcXVhbHNWZXJzaW9uOlxuICAgICAgcmV0dXJuIGAke25hbWV9PSR7dmVyc2lvbn1gXG4gICAgY2FzZSBBcHRQYWNrYWdlVHlwZS5OYW1lOlxuICAgICAgaWYgKHZlcnNpb24gIT09IHVuZGVmaW5lZCAmJiB2ZXJzaW9uICE9PSBcIlwiKSB7XG4gICAgICAgIHdhcm5pbmcoYENvdWxkIG5vdCBmaW5kIHBhY2thZ2UgJHtuYW1lfSB3aXRoIHZlcnNpb24gJHt2ZXJzaW9ufS4gSW5zdGFsbGluZyB0aGUgbGF0ZXN0IHZlcnNpb24uYClcbiAgICAgIH1cbiAgICAgIHJldHVybiBuYW1lXG4gICAgZGVmYXVsdDpcbiAgICAgIHRocm93IG5ldyBFcnJvcihgQ291bGQgbm90IGZpbmQgcGFja2FnZSAke25hbWV9ICR7dmVyc2lvbiA/PyBcIlwifWApXG4gIH1cbn1cbiJdfQ==","import { defaultExecOptions, execRootSync } from \"admina\";\nimport { info, warning } from \"ci-log\";\nimport { getAptEnv } from \"./apt-env.js\";\nimport { addAptKey } from \"./apt-key.js\";\nimport { addAptRepository } from \"./apt-repository.js\";\nimport { aptTimeout } from \"./apt-timeout.js\";\nimport { getApt } from \"./get-apt.js\";\nimport { initAptMemoized } from \"./init-apt.js\";\nimport { filterAndQualifyAptPackages } from \"./qualify-install.js\";\nimport { updateAptReposMemoized } from \"./update.js\";\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n];\n/**\n * Install a package using apt\n *\n * @param packages The packages to install (name, and optional info like version and repositories)\n * @param update Whether to update the package list before installing (Defaults to `false`)\n *\n * @returns The installation information\n *\n * @example\n * ```ts\n * await installAptPack([{ name: \"ca-certificates\" }, { name: \"gnupg\" }])\n * ```\n *\n * @example\n * ```ts\n await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n * ```\n */\nexport async function installAptPack(packages, update = false) {\n const apt = getApt();\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n }\n // Update the repos if needed\n if (update) {\n updateAptReposMemoized(apt);\n }\n // Add the repos if needed\n await addRepositories(apt, packages);\n const needToInstall = await filterAndQualifyAptPackages(packages, apt);\n if (needToInstall.length === 0) {\n info(\"All packages are already installed\");\n return { binDir: \"/usr/bin/\" };\n }\n // Initialize apt if needed\n await initAptMemoized(apt);\n try {\n // Add the keys if needed\n await addAptKeys(packages);\n // Install\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...needToInstall], {\n ...defaultExecOptions,\n env: getAptEnv(apt),\n });\n }\n catch (err) {\n if (isExecaError(err)) {\n if (retryErrors.some((error) => err.stderr.includes(error))) {\n warning(`Failed to install packages ${needToInstall}. Retrying...`);\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", \"-o\", aptTimeout, ...needToInstall], { ...defaultExecOptions, env: getAptEnv(apt) });\n }\n }\n else {\n throw err;\n }\n }\n return { binDir: \"/usr/bin/\" };\n}\nasync function addRepositories(apt, packages) {\n const allRepositories = [...new Set(packages.flatMap((pack) => pack.repository ?? []))];\n await Promise.all(allRepositories.map((repo) => addAptRepository(repo, apt)));\n}\nasync function addAptKeys(packages) {\n await Promise.all(packages.map(async (pack) => {\n if (pack.key !== undefined) {\n await addAptKey(pack.key);\n }\n }));\n}\nfunction isExecaError(err) {\n return typeof err.stderr === \"string\";\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9pbnN0YWxsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRU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RvcnkocmVwbywgYXB0KSkpXG59XG5cbmFzeW5jIGZ1bmN0aW9uIGFkZEFwdEtleXMocGFja2FnZXM6IEFwdFBhY2thZ2VbXSkge1xuICBhd2FpdCBQcm9taXNlLmFsbChwYWNrYWdlcy5tYXAoYXN5bmMgKHBhY2spID0+IHtcbiAgICBpZiAocGFjay5rZXkgIT09IHVuZGVmaW5lZCkge1xuICAgICAgYXdhaXQgYWRkQXB0S2V5KHBhY2sua2V5KVxuICAgIH1cbiAgfSkpXG59XG5cbmZ1bmN0aW9uIGlzRXhlY2FFcnJvcihlcnI6IHVua25vd24pOiBlcnIgaXMgRXhlY2FFcnJvciB7XG4gIHJldHVybiB0eXBlb2YgKGVyciBhcyBFeGVjYUVycm9yKS5zdGRlcnIgPT09IFwic3RyaW5nXCJcbn1cbiJdfQ==","import { defaultExecOptions, execRootSync } from \"admina\";\nimport { getAptEnv } from \"./apt-env.js\";\nimport { aptTimeout } from \"./apt-timeout.js\";\nimport { getApt } from \"./get-apt.js\";\nimport { initAptMemoized } from \"./init-apt.js\";\nimport { isAptPackInstalled } from \"./is-installed.js\";\nimport { updateAptReposMemoized } from \"./update.js\";\nexport async function addAptRepository(repo, apt = getApt()) {\n await initAptMemoized(apt);\n await installAddAptRepo(apt);\n execRootSync(\"add-apt-repository\", [\"-y\", \"--no-update\", repo], { ...defaultExecOptions, env: getAptEnv(apt) });\n // Update the repos\n updateAptReposMemoized.clear(); // ensure update is called\n updateAptReposMemoized(apt);\n}\nexport async function installAddAptRepo(apt) {\n if (await isAptPackInstalled(\"software-properties-common\")) {\n return;\n }\n execRootSync(apt, [\"install\", \"-y\", \"--fix-broken\", \"-o\", aptTimeout, \"software-properties-common\"], { ...defaultExecOptions, env: getAptEnv(apt) });\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXB0LXJlcG9zaXRvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXB0LX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gW1wiLXlcIiwgXCItLW5vLXVwZGF0ZVwiLCByZXBvXSwgeyAuLi5kZWZhdWx0RXhlY09wdGlvbnMsIGVudjogZ2V0QXB0RW52KGFwdCkgfSlcblxuICAvLyBVcGRhdGUgdGhlIHJlcG9zXG4gIHVwZGF0ZUFwdFJlcG9zTWVtb2l6ZWQuY2xlYXIoKSAvLyBlbnN1cmUgdXBkYXRlIGlzIGNhbGxlZFxuICB1cGRhdGVBcHRSZXBvc01lbW9pemVkKGFwdClcbn1cblxuZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGluc3RhbGxBZGRBcHRSZXBvKGFwdDogc3RyaW5nKSB7XG4gIGlmIChhd2FpdCBpc0FwdFBhY2tJbnN0YWxsZWQoXCJzb2Z0d2FyZS1wcm9wZXJ0aWVzLWNvbW1vblwiKSkge1xuICAgIHJldHVyblxuICB9XG4gIGV4ZWNSb290U3luYyhcbiAgICBhcHQsXG4gICAgW1wiaW5zdGFsbFwiLCBcIi15XCIsIFwiLS1maXgtYnJva2VuXCIsIFwiLW9cIiwgYXB0VGltZW91dCwgXCJzb2Z0d2FyZS1wcm9wZXJ0aWVzLWNvbW1vblwiXSxcbiAgICB7IC4uLmRlZmF1bHRFeGVjT3B0aW9ucywgZW52OiBnZXRBcHRFbnYoYXB0KSB9LFxuICApXG59XG4iXX0=","import { tmpdir } from \"os\";\nimport { join } from \"path\";\nimport { execRoot, execRootSync } from \"admina\";\nimport { warning } from \"ci-log\";\nimport { DownloaderHelper } from \"node-downloader-helper\";\nimport { pathExists } from \"path-exists\";\nimport { installAptPack } from \"./install.js\";\n/**\n * Add an apt key\n * @param options The options for adding the key\n * @returns The file name of the key that was added or `undefined` if it failed\n *\n * @example\n * ```ts\n * await addAptKey({ key: \"3B4FE6ACC0B21F32\" fileName: \"bazel-archive-keyring.gpg\"})\n * ```\n *\n * @example\n * ```ts\n * await addAptKey({ keyUrl: \"https://bazel.build/bazel-release.pub.gpg\", fileName: \"bazel-archive-keyring.gpg\"})\n * ```\n */\nexport function addAptKey(options) {\n if (\"keyUrl\" in options) {\n return addAptKeyViaURL(options);\n }\n else {\n return addAptKeyViaServer(options);\n }\n}\nexport const defaultKeyStorePath = \"/etc/apt/trusted.gpg.d\";\nexport const defaultKeyServer = \"keyserver.ubuntu.com\";\n/**\n * Add an apt key via a keyserver\n * @returns The file name of the key that was added or `undefined` if it failed\n */\nexport async function addAptKeyViaServer({ key, keyServer = defaultKeyServer, fileName, keyStorePath = defaultKeyServer }) {\n try {\n assertGpgFileName(fileName);\n const filePath = join(keyStorePath, fileName);\n if (!(await pathExists(filePath))) {\n initGpg();\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--keyserver\",\n keyServer,\n \"--recv-keys\",\n key,\n ]);\n await execRoot(\"chmod\", [\"644\", filePath]);\n }\n return filePath;\n }\n catch (err) {\n warning(`Failed to add apt key via server ${keyServer}: ${err}`);\n return undefined;\n }\n}\n/**\n * Add an apt key via a download\n * @param options The options for adding the key\n * @returns The file name of the key that was added\n */\nexport async function addAptKeyViaURL({ keyUrl, fileName, keyStorePath = defaultKeyStorePath }) {\n try {\n assertGpgFileName(fileName);\n const filePath = join(keyStorePath, fileName);\n if (!(await pathExists(filePath))) {\n initGpg();\n await installAptPack([{ name: \"ca-certificates\" }]);\n const dlPath = join(tmpdir(), fileName);\n const dl = new DownloaderHelper(keyUrl, tmpdir(), { fileName });\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download ${keyUrl}: ${err}`);\n });\n await dl.start();\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${filePath}`,\n \"--import\",\n dlPath,\n ]);\n execRootSync(\"chmod\", [\"644\", filePath]);\n }\n return filePath;\n }\n catch (err) {\n warning(`Failed to add apt key via download ${keyUrl}: ${err}`);\n return undefined;\n }\n}\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"]);\n}\nfunction assertGpgFileName(fileName) {\n if (!fileName.endsWith(\".gpg\")) {\n throw new Error(`Key file name must end with .gpg: ${fileName}`);\n }\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXB0LWtleS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9hcHQta2V5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxJQUFJLENBQUE7QUFDM0IsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLE1BQU0sQ0FBQTtBQUMzQixPQUFPLEVBQUUsUUFBUSxFQUFFLFlBQVksRUFBRSxNQUFNLFFBQVEsQ0FBQTtBQUMvQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sUUFBUSxDQUFBO0FBQ2hDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBQ3pELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxhQUFhLENBQUE7QUFDeEMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUk3Qzs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUNILE1BQU0sVUFBVSxTQUFTLENBQUMsT0FBeUI7SUFDakQsSUFBSSxRQUFRLElBQUksT0FBTyxFQUFFLENBQUM7UUFDeEIsT0FBTyxlQUFlLENBQUMsT0FBTyxDQUFDLENBQUE7SUFDakMsQ0FBQztTQUFNLENBQUM7UUFDTixPQUFPLGtCQUFrQixDQUFDLE9BQU8sQ0FBQyxDQUFBO0lBQ3BDLENBQUM7QUFDSCxDQUFDO0FBYUQsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUcsd0JBQXdCLENBQUE7QUFrQjNELE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHLHNCQUFzQixDQUFBO0FBRXREOzs7R0FHRztBQUNILE1BQ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VjUm9vdFN5bmMoXCJncGdcIiwgW1wiLWtcIl0pXG59XG5cbmZ1bmN0aW9uIGFzc2VydEdwZ0ZpbGVOYW1lKGZpbGVOYW1lOiBzdHJpbmcpIHtcbiAgaWYgKCFmaWxlTmFtZS5lbmRzV2l0aChcIi5ncGdcIikpIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoYEtleSBmaWxlIG5hbWUgbXVzdCBlbmQgd2l0aCAuZ3BnOiAke2ZpbGVOYW1lfWApXG4gIH1cbn1cbiJdfQ==","import { tmpdir } from \"os\";\nimport { dirname } from \"path\";\nimport { addPath } from \"envosman\";\nimport { execaSync } from \"execa\";\nimport { DownloaderHelper } from \"node-downloader-helper\";\nimport { installAptPack } from \"setup-apt\";\nimport which from \"which\";\n/* eslint-disable require-atomic-updates */\nlet binDir;\nexport async function setupBrew(options = {}) {\n // brew is only available on darwin and linux\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined;\n }\n // check if the function has already been called\n if (typeof binDir === \"string\") {\n return { binDir };\n }\n // check if brew is already installed\n const maybeBinDir = await which(\"brew\", { nothrow: true });\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir);\n return { binDir };\n }\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }]);\n const dl = new DownloaderHelper(\"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\", tmpdir(), {\n fileName: \"install-brew.sh\",\n });\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the brew installer script: ${err}`);\n });\n await dl.start();\n // brew installation is not thread-safe\n execaSync(\"/bin/bash\", [dl.getDownloadPath()], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n });\n // add the bin directory to the PATH\n binDir = getBrewBinDir();\n await addPath(binDir, options.rcOptions);\n return { binDir };\n}\n/**\n * Get the path where brew is installed\n * @returns {string} The path where brew is installed\n *\n * Based on the installation script from https://brew.sh\n */\nexport function getBrewBinDir() {\n if (process.platform === \"darwin\") {\n if (process.arch === \"arm64\") {\n return \"/opt/homebrew/bin/\";\n }\n else {\n return \"/usr/local/bin/\";\n }\n }\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\";\n }\n throw new Error(\"Unsupported platform for brew\");\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9pbnN0YWxsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxJQUFJLENBQUE7QUFDM0IsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQTtBQUM5QixPQUFPLEVBQXVCLE9BQU8sRUFBRSxNQUFNLFVBQVUsQ0FBQTtBQUN2RCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sT0FBTyxDQUFBO0FBQ2pDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBQ3pELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFDMUMsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFBO0FBR3pCLDJDQUEyQztBQUMzQyxJQUFJLE1BQTBCLENBQUE7QUFhOUIsTUFBTSxDQUFDLEtBQUssVUFBVSxTQUFTLENBQUMsVUFBNEIsRUFBRTtJQUM1RCw2Q0FBNkM7SUFDN0MsSUFBSSxDQUFDLENBQUMsUUFBUSxFQUFFLE9BQU8sQ0FBQyxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQztRQUNwRCxPQUFPLFNBQVMsQ0FBQTtJQUNsQixDQUFDO0lBRUQsZ0RBQWdEO0lBQ2hELElBQUksT0FBTyxNQUFNLEtBQUssUUFBUSxFQUFFLENBQUM7UUFDL0IsT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kU6IFwiMVwiLFxuICAgIH0sXG4gIH0pXG5cbiAgLy8gYWRkIHRoZSBiaW4gZGlyZWN0b3J5IHRvIHRoZSBQQVRIXG4gIGJpbkRpciA9IGdldEJyZXdCaW5EaXIoKVxuICBhd2FpdCBhZGRQYXRoKGJpbkRpciwgb3B0aW9ucy5yY09wdGlvbnMpXG5cbiAgcmV0dXJuIHsgYmluRGlyIH1cbn1cblxuLyoqXG4gKiBHZXQgdGhlIHBhdGggd2hlcmUgYnJldyBpcyBpbnN0YWxsZWRcbiAqIEByZXR1cm5zIHtzdHJpbmd9IFRoZSBwYXRoIHdoZXJlIGJyZXcgaXMgaW5zdGFsbGVkXG4gKlxuICogQmFzZWQgb24gdGhlIGluc3RhbGxhdGlvbiBzY3JpcHQgZnJvbSBodHRwczovL2JyZXcuc2hcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGdldEJyZXdCaW5EaXIoKSB7XG4gIGlmIChwcm9jZXNzLnBsYXRmb3JtID09PSBcImRhcndpblwiKSB7XG4gICAgaWYgKHByb2Nlc3MuYXJjaCA9PT0gXCJhcm02NFwiKSB7XG4gICAgICByZXR1cm4gXCIvb3B0L2hvbWVicmV3L2Jpbi9cIlxuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gXCIvdXNyL2xvY2FsL2Jpbi9cIlxuICAgIH1cbiAgfVxuXG4gIGlmIChwcm9jZXNzLnBsYXRmb3JtID09PSBcImxpbnV4XCIpIHtcbiAgICByZXR1cm4gXCIvaG9tZS9saW51eGJyZXcvLmxpbnV4YnJldy9iaW4vXCJcbiAgfVxuXG4gIHRocm93IG5ldyBFcnJvcihcIlVuc3VwcG9ydGVkIHBsYXRmb3JtIGZvciBicmV3XCIpXG59XG4iXX0=","import { join } from \"path\";\nimport { info } from \"ci-log\";\nimport { execaSync } from \"execa\";\nimport which from \"which\";\nimport { getBrewBinDir, setupBrew } from \"./install.js\";\n/* eslint-disable require-atomic-updates */\nlet hasBrew = false;\n/** A function that installs a package using brew\n *\n * @param name The name of the package\n * @param version The version of the package (optional)\n * @param options The options for installing the package\n *\n * @returns The installation information\n */\nexport async function installBrewPack(name, version, givenOptions = {}) {\n const options = {\n overwrite: true,\n cask: false,\n args: [],\n ...givenOptions,\n };\n info(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew();\n hasBrew = true;\n }\n const binDir = getBrewBinDir();\n const brewPath = join(binDir, \"brew\");\n // Args\n const args = [\n \"install\",\n (version !== undefined && version !== \"\") ? `${name}@${version}` : name,\n ];\n if (options.overwrite) {\n args.push(\"--overwrite\");\n }\n if (options.cask) {\n args.push(\"--cask\");\n }\n // brew is not thread-safe\n execaSync(brewPath, args, { stdio: \"inherit\" });\n return { binDir };\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFsbC1wYWNrLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2luc3RhbGwtcGFjay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sTUFBTSxDQUFBO0FBQzNCLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxRQUFRLENBQUE7QUFDN0IsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE9BQU8sQ0FBQTtBQUNqQyxPQUFPLEtBQUssTUFBTSxPQUFPLENBQUE7QUFFekIsT0FBTyxFQUFFLGFBQWEsRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUE7QUFFdkQsMkNBQTJDO0FBQzNDLElBQUksT0FBTyxHQUFHLEtBQUssQ0FBQTtBQVduQjs7Ozs7OztHQU9HO0FBQ0gsTUFBTSxDQUFDLEtBQUssVUFBVSxlQUFlLENBQ25DLElBQVksRUFDWixPQUFnQixFQUNoQixlQUFnQyxFQUFFO0lBRWxDLE1BQU0sT0FB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Vyd3JpdGVcIilcbiAgfVxuICBpZiAob3B0aW9ucy5jYXNrKSB7XG4gICAgYXJncy5wdXNoKFwiLS1jYXNrXCIpXG4gIH1cblxuICAvLyBicmV3IGlzIG5vdCB0aHJlYWQtc2FmZVxuICBleGVjYVN5bmMoYnJld1BhdGgsIGFyZ3MsIHsgc3RkaW86IFwiaW5oZXJpdFwiIH0pXG5cbiAgcmV0dXJuIHsgYmluRGlyIH1cbn1cbiJdfQ==","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","function e(e,a){return Object.keys(a).forEach((r=>{\"default\"===r||\"__esModule\"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get(){return a[r]}})})),e}function a(e,a,r,s){Object.defineProperty(e,a,{get:r,set:s,enumerable:!0,configurable:!0})}function r(e,a=!0){return a?u(e):u(e,x(e))}function s(e){return E(e).replace(RegExp(y(N)+\"$\"),\"\")}function t(e,a=\".exe\",r=\"\"){return\"win32\"===process.platform?`${e}${a}`:`${e}${r}`}function n(e,a){const r=x(e),s=`${a}${u(e,r)}${r}`;return h(l(e),s)}function i(e,a){const r=x(e),s=`${u(e,r)}${a}${r}`;return h(l(e),s)}function o(e,a=\".cmd\",r=\".sh\"){return\"win32\"===process.platform?`${e}${a}`:`${e}${r}`}function m(e){return\"win32\"===process.platform?e:\"./\"+e}function c(e){const a=x(e).length;return e.slice(0,-a)}function d(e,a){return z(e,a)}function f(e,a){const r=g(a,e);return!(!r||\"..\"===r||r.startsWith(\"..\"+N)||r===w(e))}import{basename as u,delimiter as p,dirname as l,extname as x,format as v,isAbsolute as $,join as h,normalize as E,parse as P,posix as b,relative as g,resolve as w,sep as N,toNamespacedPath as S,win32 as j}from\"path\";import y from\"escape-string-regexp\";import z from\"replace-ext\";var O={},R={};a(R,\"name\",(()=>r));var A={};a(A,\"normalizeTrim\",(()=>s));var I={};a(I,\"addExeExt\",(()=>t));var T={};a(T,\"addNamePrefix\",(()=>n));var _={};a(_,\"addNameSuffix\",(()=>i));var k={};a(k,\"addShExt\",(()=>o));var M={};a(M,\"addShRelativePrefix\",(()=>m));var W={};a(W,\"removeExt\",(()=>c));var q={};a(q,\"replaceExt\",(()=>d));var B={};a(B,\"isPathInside\",(()=>f)),e(O,R),e(O,A),e(O,I),e(O,T),e(O,_),e(O,k),e(O,M),e(O,W),e(O,q),e(O,B);export{u as basename,p as delimiter,l as dirname,x as extname,v as format,$ as isAbsolute,h as join,E as normalize,P as parse,b as posix,g as relative,w as resolve,N as sep,S as toNamespacedPath,j as win32,r as name,s as normalizeTrim,t as addExeExt,n as addNamePrefix,i as addNameSuffix,o as addShExt,m as addShRelativePrefix,c as removeExt,d as replaceExt,f as isPathInside};\n//# sourceMappingURL=index.node.mjs.map\n","import { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execaSync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" },\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath, rcOptions)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey.js\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n env.TMP = undefined\n env.TEMP = undefined\n env.Path = undefined\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n info(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\n}\n","import { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./setupBin.js\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\n}\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0;\nconst assert_1 = require(\"assert\");\nconst path = __importStar(require(\"path\"));\nconst ioUtil = __importStar(require(\"./io-util\"));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */\nfunction cp(source, dest, options = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const { force, recursive, copySourceDirectory } = readCopyOptions(options);\n const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) {\n return;\n }\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory\n ? path.join(dest, path.basename(source))\n : dest;\n if (!(yield ioUtil.exists(source))) {\n throw new Error(`no such file or directory: ${source}`);\n }\n const sourceStat = yield ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) {\n throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n }\n else {\n yield cpDirRecursive(source, newDest, 0, force);\n }\n }\n else {\n if (path.relative(source, newDest) === '') {\n // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n }\n yield copyFile(source, newDest, force);\n }\n });\n}\nexports.cp = cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */\nfunction mv(source, dest, options = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n if (yield ioUtil.exists(dest)) {\n let destExists = true;\n if (yield ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = path.join(dest, path.basename(source));\n destExists = yield ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) {\n yield rmRF(dest);\n }\n else {\n throw new Error('Destination already exists');\n }\n }\n }\n yield mkdirP(path.dirname(dest));\n yield ioUtil.rename(source, dest);\n });\n}\nexports.mv = mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */\nfunction rmRF(inputPath) {\n return __awaiter(this, void 0, void 0, function* () {\n if (ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) {\n throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n }\n try {\n // note if path does not exist, error is silent\n yield ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n }\n catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nexports.rmRF = rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */\nfunction mkdirP(fsPath) {\n return __awaiter(this, void 0, void 0, function* () {\n assert_1.ok(fsPath, 'a path argument must be provided');\n yield ioUtil.mkdir(fsPath, { recursive: true });\n });\n}\nexports.mkdirP = mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */\nfunction which(tool, check) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!tool) {\n throw new Error(\"parameter 'tool' is required\");\n }\n // recursive when check=true\n if (check) {\n const result = yield which(tool, false);\n if (!result) {\n if (ioUtil.IS_WINDOWS) {\n throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n else {\n throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n }\n return result;\n }\n const matches = yield findInPath(tool);\n if (matches && matches.length > 0) {\n return matches[0];\n }\n return '';\n });\n}\nexports.which = which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */\nfunction findInPath(tool) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!tool) {\n throw new Error(\"parameter 'tool' is required\");\n }\n // build the list of extensions to try\n const extensions = [];\n if (ioUtil.IS_WINDOWS && process.env['PATHEXT']) {\n for (const extension of process.env['PATHEXT'].split(path.delimiter)) {\n if (extension) {\n extensions.push(extension);\n }\n }\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if (ioUtil.isRooted(tool)) {\n const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) {\n return [filePath];\n }\n return [];\n }\n // if any path separators, return empty\n if (tool.includes(path.sep)) {\n return [];\n }\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split(path.delimiter)) {\n if (p) {\n directories.push(p);\n }\n }\n }\n // find all matches\n const matches = [];\n for (const directory of directories) {\n const filePath = yield ioUtil.tryGetExecutablePath(path.join(directory, tool), extensions);\n if (filePath) {\n matches.push(filePath);\n }\n }\n return matches;\n });\n}\nexports.findInPath = findInPath;\nfunction readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null\n ? true\n : Boolean(options.copySourceDirectory);\n return { force, recursive, copySourceDirectory };\n}\nfunction cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return __awaiter(this, void 0, void 0, function* () {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255)\n return;\n currentDepth++;\n yield mkdirP(destDir);\n const files = yield ioUtil.readdir(sourceDir);\n for (const fileName of files) {\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) {\n // Recurse\n yield cpDirRecursive(srcFile, destFile, currentDepth, force);\n }\n else {\n yield copyFile(srcFile, destFile, force);\n }\n }\n // Change the mode for the newly created directory\n yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction copyFile(srcFile, destFile, force) {\n return __awaiter(this, void 0, void 0, function* () {\n if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield ioUtil.lstat(destFile);\n yield ioUtil.unlink(destFile);\n }\n catch (e) {\n // Try to override file permission\n if (e.code === 'EPERM') {\n yield ioUtil.chmod(destFile, '0666');\n yield ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield ioUtil.readlink(srcFile);\n yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null);\n }\n else if (!(yield ioUtil.exists(destFile)) || force) {\n yield ioUtil.copyFile(srcFile, destFile);\n }\n });\n}\n//# sourceMappingURL=io.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getExecOutput = exports.exec = void 0;\nconst string_decoder_1 = require(\"string_decoder\");\nconst tr = __importStar(require(\"./toolrunner\"));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */\nfunction exec(commandLine, args, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const commandArgs = tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) {\n throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n }\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nexports.exec = exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */\nfunction getExecOutput(commandLine, args, options) {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function* () {\n let stdout = '';\n let stderr = '';\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new string_decoder_1.StringDecoder('utf8');\n const stderrDecoder = new string_decoder_1.StringDecoder('utf8');\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data) => {\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) {\n originalStdErrListener(data);\n }\n };\n const stdOutListener = (data) => {\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) {\n originalStdoutListener(data);\n }\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), { stdout: stdOutListener, stderr: stdErrListener });\n const exitCode = yield exec(commandLine, args, Object.assign(Object.assign({}, options), { listeners }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode,\n stdout,\n stderr\n };\n });\n}\nexports.getExecOutput = getExecOutput;\n//# sourceMappingURL=exec.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst io = __importStar(require(\"@actions/io\"));\nconst fs = __importStar(require(\"fs\"));\nconst mm = __importStar(require(\"./manifest\"));\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst httpm = __importStar(require(\"@actions/http-client\"));\nconst semver = __importStar(require(\"semver\"));\nconst stream = __importStar(require(\"stream\"));\nconst util = __importStar(require(\"util\"));\nconst assert_1 = require(\"assert\");\nconst v4_1 = __importDefault(require(\"uuid/v4\"));\nconst exec_1 = require(\"@actions/exec/lib/exec\");\nconst retry_helper_1 = require(\"./retry-helper\");\nclass HTTPError extends Error {\n constructor(httpStatusCode) {\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nexports.HTTPError = HTTPError;\nconst IS_WINDOWS = process.platform === 'win32';\nconst IS_MAC = process.platform === 'darwin';\nconst userAgent = 'actions/tool-cache';\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */\nfunction downloadTool(url, dest, auth, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n dest = dest || path.join(_getTempDirectory(), v4_1.default());\n yield io.mkdirP(path.dirname(dest));\n core.debug(`Downloading ${url}`);\n core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS', 10);\n const maxSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS', 20);\n const retryHelper = new retry_helper_1.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {\n return yield downloadToolAttempt(url, dest || '', auth, headers);\n }), (err) => {\n if (err instanceof HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 &&\n err.httpStatusCode !== 408 &&\n err.httpStatusCode !== 429) {\n return false;\n }\n }\n // Otherwise retry\n return true;\n });\n });\n}\nexports.downloadTool = downloadTool;\nfunction downloadToolAttempt(url, dest, auth, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (fs.existsSync(dest)) {\n throw new Error(`Destination file path ${dest} already exists`);\n }\n // Get the response headers\n const http = new httpm.HttpClient(userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n core.debug('set auth');\n if (headers === undefined) {\n headers = {};\n }\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new HTTPError(response.message.statusCode);\n core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = util.promisify(stream.pipeline);\n const responseMessageFactory = _getGlobal('TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY', () => response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, fs.createWriteStream(dest));\n core.debug('download complete');\n succeeded = true;\n return dest;\n }\n finally {\n // Error, delete dest before retry\n if (!succeeded) {\n core.debug('download failed');\n try {\n yield io.rmRF(dest);\n }\n catch (err) {\n core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */\nfunction extract7z(file, dest, _7zPath) {\n return __awaiter(this, void 0, void 0, function* () {\n assert_1.ok(IS_WINDOWS, 'extract7z() not supported on current OS');\n assert_1.ok(file, 'parameter \"file\" is required');\n dest = yield _createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) {\n try {\n const logLevel = core.isDebug() ? '-bb1' : '-bb0';\n const args = [\n 'x',\n logLevel,\n '-bd',\n '-sccUTF-8',\n file\n ];\n const options = {\n silent: true\n };\n yield exec_1.exec(`\"${_7zPath}\"`, args, options);\n }\n finally {\n process.chdir(originalCwd);\n }\n }\n else {\n const escapedScript = path\n .join(__dirname, '..', 'scripts', 'Invoke-7zdec.ps1')\n .replace(/'/g, \"''\")\n .replace(/\"|\\n|\\r/g, ''); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n '-NoLogo',\n '-Sta',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield io.which('powershell', true);\n yield exec_1.exec(`\"${powershellPath}\"`, args, options);\n }\n finally {\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nexports.extract7z = extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */\nfunction extractTar(file, dest, flags = 'xz') {\n return __awaiter(this, void 0, void 0, function* () {\n if (!file) {\n throw new Error(\"parameter 'file' is required\");\n }\n // Create dest\n dest = yield _createExtractFolder(dest);\n // Determine whether GNU tar\n core.debug('Checking tar --version');\n let versionOutput = '';\n yield exec_1.exec('tar --version', [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data) => (versionOutput += data.toString()),\n stderr: (data) => (versionOutput += data.toString())\n }\n });\n core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes('GNU TAR');\n // Initialize args\n let args;\n if (flags instanceof Array) {\n args = flags;\n }\n else {\n args = [flags];\n }\n if (core.isDebug() && !flags.includes('v')) {\n args.push('-v');\n }\n let destArg = dest;\n let fileArg = file;\n if (IS_WINDOWS && isGnuTar) {\n args.push('--force-local');\n destArg = dest.replace(/\\\\/g, '/');\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, '/');\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push('--warning=no-unknown-keyword');\n args.push('--overwrite');\n }\n args.push('-C', destArg, '-f', fileArg);\n yield exec_1.exec(`tar`, args);\n return dest;\n });\n}\nexports.extractTar = extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */\nfunction extractXar(file, dest, flags = []) {\n return __awaiter(this, void 0, void 0, function* () {\n assert_1.ok(IS_MAC, 'extractXar() not supported on current OS');\n assert_1.ok(file, 'parameter \"file\" is required');\n dest = yield _createExtractFolder(dest);\n let args;\n if (flags instanceof Array) {\n args = flags;\n }\n else {\n args = [flags];\n }\n args.push('-x', '-C', dest, '-f', file);\n if (core.isDebug()) {\n args.push('-v');\n }\n const xarPath = yield io.which('xar', true);\n yield exec_1.exec(`\"${xarPath}\"`, _unique(args));\n return dest;\n });\n}\nexports.extractXar = extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */\nfunction extractZip(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!file) {\n throw new Error(\"parameter 'file' is required\");\n }\n dest = yield _createExtractFolder(dest);\n if (IS_WINDOWS) {\n yield extractZipWin(file, dest);\n }\n else {\n yield extractZipNix(file, dest);\n }\n return dest;\n });\n}\nexports.extractZip = extractZip;\nfunction extractZipWin(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, ''); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const pwshPath = yield io.which('pwsh', false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(' ');\n const args = [\n '-NoLogo',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n pwshCommand\n ];\n core.debug(`Using pwsh at path: ${pwshPath}`);\n yield exec_1.exec(`\"${pwshPath}\"`, args);\n }\n else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(' ');\n const args = [\n '-NoLogo',\n '-Sta',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n powershellCommand\n ];\n const powershellPath = yield io.which('powershell', true);\n core.debug(`Using powershell at path: ${powershellPath}`);\n yield exec_1.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction extractZipNix(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n const unzipPath = yield io.which('unzip', true);\n const args = [file];\n if (!core.isDebug()) {\n args.unshift('-q');\n }\n args.unshift('-o'); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield exec_1.exec(`\"${unzipPath}\"`, args, { cwd: dest });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */\nfunction cacheDir(sourceDir, tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n version = semver.clean(version) || version;\n arch = arch || os.arch();\n core.debug(`Caching tool ${tool} ${version} ${arch}`);\n core.debug(`source dir: ${sourceDir}`);\n if (!fs.statSync(sourceDir).isDirectory()) {\n throw new Error('sourceDir is not a directory');\n }\n // Create the tool dir\n const destPath = yield _createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of fs.readdirSync(sourceDir)) {\n const s = path.join(sourceDir, itemName);\n yield io.cp(s, destPath, { recursive: true });\n }\n // write .complete\n _completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nexports.cacheDir = cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */\nfunction cacheFile(sourceFile, targetFile, tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n version = semver.clean(version) || version;\n arch = arch || os.arch();\n core.debug(`Caching tool ${tool} ${version} ${arch}`);\n core.debug(`source file: ${sourceFile}`);\n if (!fs.statSync(sourceFile).isFile()) {\n throw new Error('sourceFile is not a file');\n }\n // create the tool dir\n const destFolder = yield _createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = path.join(destFolder, targetFile);\n core.debug(`destination file ${destPath}`);\n yield io.cp(sourceFile, destPath);\n // write .complete\n _completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nexports.cacheFile = cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */\nfunction find(toolName, versionSpec, arch) {\n if (!toolName) {\n throw new Error('toolName parameter is required');\n }\n if (!versionSpec) {\n throw new Error('versionSpec parameter is required');\n }\n arch = arch || os.arch();\n // attempt to resolve an explicit version\n if (!isExplicitVersion(versionSpec)) {\n const localVersions = findAllVersions(toolName, arch);\n const match = evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = '';\n if (versionSpec) {\n versionSpec = semver.clean(versionSpec) || '';\n const cachePath = path.join(_getCacheDirectory(), toolName, versionSpec, arch);\n core.debug(`checking cache: ${cachePath}`);\n if (fs.existsSync(cachePath) && fs.existsSync(`${cachePath}.complete`)) {\n core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n }\n else {\n core.debug('not found');\n }\n }\n return toolPath;\n}\nexports.find = find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */\nfunction findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || os.arch();\n const toolPath = path.join(_getCacheDirectory(), toolName);\n if (fs.existsSync(toolPath)) {\n const children = fs.readdirSync(toolPath);\n for (const child of children) {\n if (isExplicitVersion(child)) {\n const fullPath = path.join(toolPath, child, arch || '');\n if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {\n versions.push(child);\n }\n }\n }\n }\n return versions;\n}\nexports.findAllVersions = findAllVersions;\nfunction getManifestFromRepo(owner, repo, auth, branch = 'master') {\n return __awaiter(this, void 0, void 0, function* () {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new httpm.HttpClient('tool-cache');\n const headers = {};\n if (auth) {\n core.debug('set auth');\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) {\n return releases;\n }\n let manifestUrl = '';\n for (const item of response.result.tree) {\n if (item.path === 'versions-manifest.json') {\n manifestUrl = item.url;\n break;\n }\n }\n headers['accept'] = 'application/vnd.github.VERSION.raw';\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, '');\n try {\n releases = JSON.parse(versionsRaw);\n }\n catch (_a) {\n core.debug('Invalid json');\n }\n }\n return releases;\n });\n}\nexports.getManifestFromRepo = getManifestFromRepo;\nfunction findFromManifest(versionSpec, stable, manifest, archFilter = os.arch()) {\n return __awaiter(this, void 0, void 0, function* () {\n // wrap the internal impl\n const match = yield mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nexports.findFromManifest = findFromManifest;\nfunction _createExtractFolder(dest) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!dest) {\n // create a temp dir\n dest = path.join(_getTempDirectory(), v4_1.default());\n }\n yield io.mkdirP(dest);\n return dest;\n });\n}\nfunction _createToolPath(tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');\n core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield io.rmRF(folderPath);\n yield io.rmRF(markerPath);\n yield io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction _completeToolPath(tool, version, arch) {\n const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');\n const markerPath = `${folderPath}.complete`;\n fs.writeFileSync(markerPath, '');\n core.debug('finished caching tool');\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */\nfunction isExplicitVersion(versionSpec) {\n const c = semver.clean(versionSpec) || '';\n core.debug(`isExplicit: ${c}`);\n const valid = semver.valid(c) != null;\n core.debug(`explicit? ${valid}`);\n return valid;\n}\nexports.isExplicitVersion = isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */\nfunction evaluateVersions(versions, versionSpec) {\n let version = '';\n core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b) => {\n if (semver.gt(a, b)) {\n return 1;\n }\n return -1;\n });\n for (let i = versions.length - 1; i >= 0; i--) {\n const potential = versions[i];\n const satisfied = semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) {\n core.debug(`matched: ${version}`);\n }\n else {\n core.debug('match not found');\n }\n return version;\n}\nexports.evaluateVersions = evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */\nfunction _getCacheDirectory() {\n const cacheDirectory = process.env['RUNNER_TOOL_CACHE'] || '';\n assert_1.ok(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined');\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */\nfunction _getTempDirectory() {\n const tempDirectory = process.env['RUNNER_TEMP'] || '';\n assert_1.ok(tempDirectory, 'Expected RUNNER_TEMP to be defined');\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */\nfunction _getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */\n const value = global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */\n return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */\nfunction _unique(values) {\n return Array.from(new Set(values));\n}\n//# sourceMappingURL=tool-cache.js.map","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"p7zip-full\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { mkdirP } from \"@actions/io\"\nimport { grantUserWriteAccess } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nexport enum ArchiveType {\n Tar = 0,\n TarGz = 1,\n TarXz = 2,\n Zip = 3,\n SevenZip = 4,\n}\n\nexport function getArchiveType(file: string): ArchiveType {\n const ext = file.split(\".\").pop()\n\n if (ext === \"tar\") {\n return ArchiveType.Tar\n }\n\n if (ext === \"gz\" || ext === \"tgz\") {\n return ArchiveType.TarGz\n }\n\n if (ext === \"xz\" || ext === \"txz\") {\n return ArchiveType.TarXz\n }\n\n if (ext === \"zip\") {\n return ArchiveType.Zip\n }\n\n if (ext === \"7z\" || ext === \"exe\") {\n return ArchiveType.SevenZip\n }\n\n // default to 7z\n warning(`Unknown archive type: ${ext}. Defaulting to 7z`)\n return ArchiveType.SevenZip\n}\n\nexport function getExtractFunction(archiveType: ArchiveType) {\n switch (archiveType) {\n case ArchiveType.Tar:\n case ArchiveType.TarGz:\n return extractTarByExe\n case ArchiveType.TarXz:\n return extractTarByExe\n case ArchiveType.Zip:\n return extractZip\n default:\n return extract7Zip\n }\n}\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using unzip or 7z\nexport async function extractZip(file: string, dest: string) {\n // if unzip is available use it\n if (which.sync(\"unzip\", { nothrow: true }) !== null) {\n await execa(\"unzip\", [file, \"-d\", dest], { stdio: \"inherit\" })\n await grantUserWriteAccess(dest)\n return dest\n }\n\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, stripComponents: number = 0, flags: string[] = []) {\n await installTarDependencies(getArchiveType(file))\n\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, `--strip-components=${stripComponents}`, ...flags], {\n stdio: \"inherit\",\n })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n await grantUserWriteAccess(dest)\n return dest\n}\n\nasync function installTarDependencies(archiveType: ArchiveType) {\n info(\"Installing tar extraction dependencies\")\n\n switch (archiveType) {\n case ArchiveType.TarGz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"gzip\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"gzip\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"gzip\" }, { name: \"tar\" }])\n }\n }\n break\n }\n case ArchiveType.TarXz: {\n if (process.platform === \"linux\") {\n if (isArch()) {\n await setupPacmanPack(\"xz\")\n await setupPacmanPack(\"tar\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"xz\" }, { name: \"tar\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"xz-utils\" }, { name: \"tar\" }])\n }\n }\n break\n }\n default:\n throw new Error(`Unsupported archive type: ${archiveType} for tar extraction`)\n }\n}\n","import { tmpdir } from \"os\"\nimport { basename } from \"path\"\nimport { cacheDir, downloadTool, find } from \"@actions/tool-cache\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { chmod } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport retry from \"retry-as-promised\"\nimport { maybeGetInput, rcOptions } from \"../../cli-options.js\"\nimport { getArchiveType, getExtractFunction } from \"./extract.js\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: (file: string, dest: string) => Promise\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n bin?: string\n}\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string,\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch,\n )\n\n // Restore from cache (if found).\n if (GITHUB_ACTIONS) {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (await pathExists(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir, rcOptions)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n await downloadExtractInstall(binDir, binFile, name, version, url, setupDir, extractFunction, arch)\n\n await cacheInstallation(setupDir, name, version)\n\n return { installDir, binDir }\n}\n\nasync function downloadExtractInstall(\n binDir: string,\n binFile: string,\n name: string,\n version: string,\n url: string,\n setupDir: string,\n givenExtractFunction: PackageInfo[\"extractFunction\"],\n arch: string,\n) {\n // download ane extract the package into the installation directory.\n if ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n const downloaded = await tryDownload(name, version, url)\n\n info(`Extracting ${downloaded} to ${setupDir}`)\n\n const extractFunction = givenExtractFunction ?? getExtractFunction(getArchiveType(url))\n await extractFunction(downloaded, setupDir)\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir, rcOptions)\n\n // Check if the binary exists after extraction\n if (!(await pathExists(binFile))) {\n throw new Error(`Failed to find the binary ${binFile} after extracting ${name} ${version} ${arch}`)\n }\n\n // make the binary executable on non-windows platforms\n if (process.platform !== \"win32\") {\n try {\n await chmod(binFile, \"755\")\n } catch (err) {\n warning(`Failed to make ${binFile} executable: ${err}`)\n }\n }\n}\n\nasync function tryDownload(name: string, version: string, url: string) {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n const downloadedFilePath = join(process.env.RUNNER_TEMP ?? tmpdir(), `${Date.now()}-${basename(url)}`)\n\n return downloadTool(url, downloadedFilePath)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n return downloaded\n}\n\nasync function cacheInstallation(setupDir: string, name: string, version: string) {\n // check if inside Github Actions. If so, cache the installation\n if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n if (maybeGetInput(\"cache-tools\") === \"true\" || process.env.CACHE_TOOLS === \"true\") {\n await cacheDir(setupDir, name, version)\n }\n }\n}\n","import { addExeExt } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverLte from \"semver/functions/lte\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","import { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverValid from \"semver/functions/valid\"\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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise,\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${\n JSON.stringify(\n versions,\n )\n }`,\n )\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return Number.parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n\nexport function compareVersion(tag1: string, tag2: string) {\n const v1 = semverCoerce(tag1)\n const v2 = semverCoerce(tag2)\n if (v1 !== null && v2 !== null) {\n // put the latest version first\n return v2.compare(v1)\n }\n\n // if the tags are not semver, compare them as strings, putting the latest tag first\n return tag2.localeCompare(tag1)\n}\n","import { isArch } from \"../utils/env/isArch.js\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.6\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n // the suffixes relate to the suffix in the llvm releases\n return \"17.0.6-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.6\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.12.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.30.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.2\", // \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.64.1\", // 2.0.17 // https://github.com/conan-io/conan/releases\n meson: \"1.5.1\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.38.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.11.0-4\" : \"1.11.0\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: process.platform === \"win32\"\n ? \"14.2.0posix-18.1.8-12.0.0-ucrt-r1\"\n : \"\", // use the default version on Ubuntu, Fedora, Arch, macOS, etc.\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n powershell: \"7.4.5\", // https://github.com/PowerShell/PowerShell/releases/tag/v7.4.5\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64\n mingw: {\n 24: \"8.0.0-1\",\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n // the suffixes relate to the suffix in the llvm releases\n llvm: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 24: \"17.0.6-ubuntu-22.04\",\n 22: \"17.0.6-ubuntu-22.04\",\n 20: \"17.0.6-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 24: \"6.0\",\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 24: \"1.0.0\",\n 22: \"1.0.0\",\n 20: \"1.0.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 24: \"\",\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 24: \"42-binary\",\n 22: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n doxygen: {\n 24: \"1.11.0\",\n 22: \"1.11.0\",\n 20: \"1.10.0\",\n 18: \"1.10.0\",\n },\n}\n","import assert from \"assert\"\nimport { homedir } from \"os\"\nimport { parse as pathParse } from \"path\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack.js\"\nimport { isBinUptoDate } from \"../utils/setup/version.js\"\nimport { unique } from \"../utils/std/index.js\"\nimport { MinVersions } from \"../versions/default_versions.js\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n try {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n } catch (err) {\n if (setupPipPackSystem(\"pipx\", false) === null) {\n throw new Error(`pipx was not installed correctly ${err}`)\n }\n }\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string): Promise {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python.js\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await findPython(setupDir)\n if (foundPython === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n installInfo = { bin: foundPython, installDir: dirname(foundPython), binDir: dirname(foundPython) }\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const bin = await findPython(setupDir)\n if (bin === undefined) {\n throw new Error(\"Python binary could not be found\")\n }\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir, rcOptions)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await installBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix: {\n stdout: string\n stderr: string\n } = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin, rcOptions)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await installAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n\n // On Windows, search in C:\\PythonXX\n if (process.platform === \"win32\") {\n const rootDir = pathParse(homedir()).root\n // find all directories in rootDir using readdir\n const pythonDirs = (await readdir(rootDir)).filter((dir) => dir.startsWith(\"Python\"))\n\n for (const pythonDir of pythonDirs) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, join(rootDir, pythonDir))\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n }\n }\n\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pipPath, MinVersions.pip!)) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error).toString())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error).toString())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { promise: true })\n","import type { Opts } from \"../cli-options.js\"\nimport type { Inputs } from \"../tool.js\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions.js\"\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n if (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name] ?? \"\"\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => Number.parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n for (const tool of toolsInUse) {\n opts[tool] = targetVersion\n }\n\n return true\n}\n","import os from \"os\"\nimport { warning } from \"ci-log\"\nimport memoize from \"memoizee\"\nimport { installAptPack } from \"setup-apt\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { isUbuntu } from \"./isUbuntu.js\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await installAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { promise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n if (!(\"version\" in os && typeof os.version === \"function\")) {\n return null\n }\n\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion: string = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = Number.parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = Number.parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = Number.parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","import { info } from \"@actions/core\"\nimport { addPath } from \"envosman\"\nimport { execa, execaSync } from \"execa\"\nimport memoize from \"memoizee\"\nimport { mkdirp } from \"mkdirp\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { rcOptions } from \"../../cli-options.js\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python.js\"\nimport { getVersion } from \"../../versions/versions.js\"\nimport { hasDnf } from \"../env/hasDnf.js\"\nimport { isArch } from \"../env/isArch.js\"\nimport { isUbuntu } from \"../env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../env/ubuntu_version.js\"\nimport type { InstallationInfo } from \"./setupBin.js\"\nimport { setupDnfPack } from \"./setupDnfPack.js\"\nimport { setupPacmanPack } from \"./setupPacmanPack.js\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n const env = process.env\n\n if (isPipx && user) {\n // install to user home\n env.PIPX_HOME = await getPipxHome()\n env.PIPX_BIN_DIR = await getPipxBinDir()\n }\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n env,\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir, rcOptions)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPipxHome_raw() {\n let pipxHome = process.env.PIPX_HOME\n if (pipxHome !== undefined) {\n return pipxHome\n }\n\n // Based on https://pipx.pypa.io/stable/installation/\n const compatHome = untildifyUser(\"~/.local/pipx\")\n if (await pathExists(compatHome)) {\n return compatHome\n }\n\n switch (process.platform) {\n case \"win32\": {\n pipxHome = untildifyUser(\"~/AppData/Local/pipx\")\n break\n }\n case \"darwin\": {\n pipxHome = untildifyUser(\"~/Library/Application Support/pipx\")\n break\n }\n default: {\n pipxHome = untildifyUser(\"~/.local/share/pipx\")\n break\n }\n }\n\n await mkdirp(pipxHome)\n await mkdirp(join(pipxHome, \"trash\"))\n await mkdirp(join(pipxHome, \"shared\"))\n await mkdirp(join(pipxHome, \"venv\"))\n return pipxHome\n}\nconst getPipxHome = memoize(getPipxHome_raw, { promise: true })\n\nasync function getPipxBinDir_raw() {\n if (process.env.PIPX_BIN_DIR !== undefined) {\n return process.env.PIPX_BIN_DIR\n }\n\n const pipxBinDir = untildifyUser(\"~/.local/bin\")\n await addPath(pipxBinDir, rcOptions)\n await mkdirp(pipxBinDir)\n return pipxBinDir\n}\nconst getPipxBinDir = memoize(getPipxBinDir_raw, { promise: true })\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { promise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string, addPythonPrefix = true) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(addPythonPrefix ? `python-${name}` : name)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: addPythonPrefix ? `python3-${name}` : name }])\n }\n }\n return null\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return installBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"graphviz\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { join } from \"path\"\n\nexport async function setupDmg(path: string, destDir: string) {\n const { ArchiveHdi } = await import(\"@shockpkg/archive-files/esm/archive/hdi.mjs\")\n\n const dmg = new ArchiveHdi(path)\n await dmg.read(async (entry) => {\n await entry.extract(join(destDir, entry.path))\n })\n}\n","import { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { setupGraphviz } from \"../graphviz/graphviz.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { macosVersion } from \"../utils/env/macos_version.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { setupDmg } from \"../utils/setup/setupDmg.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n case \"darwin\": {\n const folderName = `Doxygen-${version}`\n return {\n binRelativeDir: \"Doxygen/Doxygen.app/Contents/Resources/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: setupDmg,\n url: `https://doxygen.nl/files/${folderName}.dmg`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n // let installationInfo: InstallationInfo\n // try {\n // installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n // } catch {\n const installationInfo = await installBrewPack(\"doxygen\", undefined)\n // }\n\n // only install graphviz if the macOS version is greater than 11\n if (macosVersion()[0] > 11) {\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n }\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([{ name: \"doxygen\", version }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n try {\n await installAptPack([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n info(`Failed to download libclang-cpp9 that might be needed for running doxygen. ${err}`)\n }\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await installAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (\n const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]\n ) {\n // eslint-disable-next-line no-await-in-loop\n if (await pathExists(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir, rcOptions)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { error } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim(), rcOptions)\n } else {\n error(\"SDKROOT not set\")\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info, warning } from \"ci-log\"\nimport { addEnv, addPath } from \"envosman\"\nimport { type ExecaReturnValue, execa } from \"execa\"\nimport { readdir } from \"fs/promises\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverMajor from \"semver/functions/major\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { loadGitHubAssetList, matchAsset } from \"../utils/github/load-assets.js\"\nimport { extract7Zip } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { compareVersion } from \"../utils/setup/version.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nasync function getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): Promise {\n switch (platform) {\n case \"win32\": {\n const mingwAssets = await loadGitHubAssetList(\n join(dirname, \"github_brechtsanders_winlibs_mingw.json\"),\n )\n const asset = matchAsset(\n mingwAssets,\n {\n version,\n arch: arch === \"x64\"\n ? \"x86_64\"\n : arch === \"ia32\"\n ? \"i386\"\n : arch,\n filterName: (name) => name.endsWith(\".7z\"),\n },\n )\n\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${asset.tag}/${asset.name}`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupGcc(version: string, setupDir: string, arch: string, priority: number = 40) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = await installBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc\" }, { name: \"g++\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([\n {\n name: \"gcc\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n {\n name: \"g++\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n if (version === \"\") {\n // the default version\n installationInfo = await installAptPack([{ name: \"gcc-multilib\" }])\n } else {\n // add the PPA for access to more versions\n installationInfo = await installAptPack([{\n name: \"gcc-multilib\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n }])\n }\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return installAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await installAptPack([\n {\n name: \"mingw-w64\",\n version,\n repository: \"ppa:ubuntu-toolchain-r/test\",\n key: { key: \"1E9377A2BA9EF27F\", fileName: \"ubuntu-toolchain-r-test.gpg\" },\n },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n // Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n // Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n // await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir, rcOptions)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir, rcOptions)\n } else if (await pathExists(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(givenVersion: string, binDir: string, priority: number = 40) {\n const promises: Promise>[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`, rcOptions),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`, rcOptions),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`, rcOptions),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`, rcOptions),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`, rcOptions),\n // )\n\n if (process.platform === \"win32\") {\n promises.push(\n addEnv(\"CC\", addExeExt(`${binDir}/gcc`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${binDir}/g++`), rcOptions),\n )\n } else {\n // if version is empty, get the version from the gcc command\n let version = givenVersion\n if (givenVersion === \"\") {\n version = await getGccCmdVersion(binDir, version)\n info(`Using gcc version ${version}`)\n }\n\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${majorVersion}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${majorVersion}`, rcOptions, priority),\n )\n }\n } else {\n promises.push(\n addEnv(\"CC\", `${binDir}/gcc-${version}`, rcOptions),\n addEnv(\"CXX\", `${binDir}/g++-${version}`, rcOptions),\n )\n\n if (isUbuntu()) {\n promises.push(\n addUpdateAlternativesToRc(\"cc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${binDir}/g++-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"gcc\", `${binDir}/gcc-${version}`, rcOptions, priority),\n addUpdateAlternativesToRc(\"g++\", `${binDir}/g++-${version}`, rcOptions, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function getGccCmdVersion(binDir: string, givenVersion: string) {\n // TODO get the version from the package manager\n try {\n let gccExe = \"gcc\"\n if (await pathExists(`${binDir}/gcc`)) {\n gccExe = `${binDir}/gcc`\n } else {\n // try to find the gcc exe in the bin dir\n const files = (await readdir(binDir)).sort(\n (exe1, exe2) => {\n const version1 = exe1.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] ?? \"\"\n const version2 = exe2.match(/^gcc-?(.*)(\\.exe)?$/)?.[1] ?? \"\"\n return compareVersion(version1, version2)\n },\n )\n for (const file of files) {\n if (file.startsWith(\"gcc\")) {\n gccExe = `${binDir}/${file}`\n break\n }\n }\n }\n\n const { stdout: versionStdout } = await execa(gccExe, [\"--version\"], { stdio: \"pipe\" })\n\n // gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0\n // gcc-12 (Homebrew GCC 12.4.0) 12.4.0\n // gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0\n\n const versionMatch = (versionStdout as string).match(/gcc.* \\(.*\\) ([\\d.]+)/)\n\n if (versionMatch !== null) {\n return versionMatch[1]\n }\n\n warning(`Failed to parse gcc version from: ${versionStdout}`)\n return givenVersion\n } catch (err) {\n error(`Failed to get gcc version: ${err}`)\n return givenVersion\n }\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(dirname, \"gcc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { readFile } from \"fs/promises\"\n\n/**\n * The list of assets of a GitHub release\n * @key tag The tag of the release\n * @value assets The names of the assets of the release\n */\nexport type Assets = Record\n\nexport async function loadGitHubAssetList(path: string): Promise {\n const data = await readFile(path, \"utf-8\")\n return JSON.parse(data)\n}\n\ntype MatchAssetOpts = {\n version: string\n arch?: string\n filterTag?: (version: string) => boolean\n filterName?: (asset: string) => boolean\n}\n\n/**\n * Match the asset that matches the version and arch\n */\nexport function matchAsset(\n assets: Assets,\n opts: MatchAssetOpts,\n): { tag: string; name: string } {\n // get the list of versions\n let tags = Object.keys(assets)\n\n // filter the versions\n if (opts.filterTag !== undefined) {\n tags = tags.filter(opts.filterTag)\n }\n\n if (tags.length === 0) {\n throw new Error(`no tag found for version ${opts.version}`)\n }\n\n // find the first tag that starts with the version\n // loop over the versions starting with the latest\n let tag: string | undefined\n for (const mingwVersion of tags) {\n if (mingwVersion.startsWith(opts.version)) {\n tag = mingwVersion\n break\n }\n }\n if (tag === undefined) {\n throw new Error(`version ${opts.version} is not supported`)\n }\n\n // get the list of assets\n let matchedNames = assets[tag]\n\n // filter the assets\n if (opts.filterName !== undefined) {\n matchedNames = matchedNames.filter(opts.filterName)\n }\n\n if (matchedNames.length === 0) {\n throw new Error(`no asset found for version ${opts.version} and arch ${opts.arch}`)\n }\n\n // use the first asset if the arch is not specified\n if (opts.arch === undefined) {\n return { tag, name: matchedNames[0] }\n }\n\n // find the asset that matches the arch\n for (const name of matchedNames) {\n // search each asset name for the arch\n if (name.includes(opts.arch)) {\n return { tag, name }\n }\n }\n\n throw new Error(`arch ${opts.arch} could not be found among ${JSON.stringify(matchedNames)}`)\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { info } from \"ci-log\"\nimport { execa } from \"execa\"\nimport { addExeExt, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { untildifyUser } from \"untildify-user\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake.js\"\nimport { setupNinja } from \"../ninja/ninja.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { extractTarByExe } from \"../utils/setup/extract.js\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, 1)\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\n }\n\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"~\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), join(untildifyUser(\"~\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community', 'BuildTools']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\n/**\n * Convert the vs version (e.g. 2022) or year (e.g. 17.0) to the version number (e.g. 17.0)\n * @param {string | undefined} vsversion the year (e.g. 2022) or version number (e.g. 17.0)\n * @returns {string | undefined} the version number (e.g. 17.0)\n */\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\n/**\n * Convert the vs version (e.g. 17.0) or year (e.g. 2022) to the year (e.g. 2022)\n * @param {string} vsversion the version number (e.g. 17.0) or year (e.g. 2022)\n * @returns {string} the year (e.g. 2022)\n */\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\n/**\n * Find MSVC tools with vswhere\n * @param {string} pattern the pattern to search for\n * @param {string} version_pattern the version pattern to search for\n * @returns {string | null} the path to the found MSVC tools\n */\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\n/**\n * Find the vcvarsall.bat file for the given Visual Studio version\n * @param {string | undefined} vsversion the version of Visual Studio to find (year or version number)\n * @returns {string} the path to the vcvarsall.bat file\n */\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/**\n * Setup MSVC Developer Command Prompt\n * @param {string} arch - Target architecture\n * @param {string | undefined} sdk - Windows SDK number to build for\n * @param {string | undefined} toolset - VC++ compiler toolset version\n * @param {boolean | 'true' | 'false' | undefined} uwp - Build for Universal Windows Platform\n * @param {boolean | 'true' | 'false' | undefined} spectre - Enable Spectre mitigations\n * @param {string | undefined} vsversion - The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. \"2019\").\n */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n\n if (uwp && JSON.parse(uwp) === true) {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre && JSON.parse(spectre) === true) {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { pathExists } from \"path-exists\"\nimport { rcOptions } from \"../cli-options.js\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (VCTargetsPath !== undefined && (await pathExists(VCTargetsPath))) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath, rcOptions)\n }\n\n await setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport pTimeout from \"p-timeout\"\nimport { join } from \"patha\"\nimport { setupBrew } from \"setup-brew\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { type ToolName, setups } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n if (e instanceof Error && e.stack !== undefined) {\n error(e.stack)\n }\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n) {\n // eslint-disable-next-line no-param-reassign\n const hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else if (tool === \"brew\") {\n // eslint-disable no-await-in-loop\n installationInfo = await setupBrew({ rcOptions })\n } else {\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"llvm\" : tool)\n\n const setupVersion = getVersion(tool, version, osVersion)\n\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable no-await-in-loop\n installationInfo = await setupFunction(setupVersion, setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n return hasLLVM\n}\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import { info, warning } from \"ci-log\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { addExeExt } from \"patha\"\nimport semverLte from \"semver/functions/lte\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract.js\"\nimport type { PackageInfo } from \"../utils/setup/setupBin.js\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version.js\"\n\n// ================================================\n// Version\n// ================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_X64_MISSING = 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 \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n \"17.0.6\",\n \"18.1.0\",\n \"18.1.1\",\n \"18.1.2\",\n \"18.1.3\",\n \"18.1.4\",\n \"18.1.5\",\n \"18.1.6\",\n \"18.1.7\",\n \"18.1.8\",\n])\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_X64_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n \"17.0.6\": \"-ubuntu-22.04\",\n \"18.1.4\": \"-ubuntu-18.04\",\n \"18.1.7\": \"-ubuntu-18.04\",\n \"18.1.8\": \"-ubuntu-18.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"18.1.8\"\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/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_X64_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/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let linuxVersion: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_X64_SUFFIX_MAP) {\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_X64_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm version: ${specificVersion}`)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction: platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, 1)\n },\n }\n}\n","import path, { delimiter } from \"path\"\nimport { fileURLToPath } from \"url\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport memoize from \"memoizee\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { addUpdateAlternativesToRc, installAptPack } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupGcc } from \"../gcc/gcc.js\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type InstallationInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version.js\"\nimport { getVersion } from \"../versions/versions.js\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer.js\"\nimport { getLLVMPackageInfo } from \"./llvm_url.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM\n const [installationInfo, _1] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n addLLVMLoggingMatcher(),\n ])\n\n // install LLVM dependencies\n await setupLLVMDeps(arch)\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { promise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = Number.parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await installAptPack([{ name: \"libtinfo5\" }])\n } else {\n await installAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { promise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { promise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory, rcOptions),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`, rcOptions),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/lib${delimiter}${dyld}`, rcOptions),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`, rcOptions),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`, rcOptions),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`), rcOptions),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`), rcOptions),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`, rcOptions),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`, rcOptions))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`, rcOptions))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n addUpdateAlternativesToRc(\"cc\", `${directory}/bin/clang`, rcOptions, priority),\n addUpdateAlternativesToRc(\"cxx\", `${directory}/bin/clang++`, rcOptions, priority),\n addUpdateAlternativesToRc(\"clang\", `${directory}/bin/clang`, rcOptions),\n addUpdateAlternativesToRc(\"clang++\", `${directory}/bin/clang++`, rcOptions),\n addUpdateAlternativesToRc(\"lld\", `${directory}/bin/lld`, rcOptions),\n addUpdateAlternativesToRc(\"ld.lld\", `${directory}/bin/ld.lld`, rcOptions),\n addUpdateAlternativesToRc(\"llvm-ar\", `${directory}/bin/llvm-ar`, rcOptions),\n )\n }\n\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(dirname, \"llvm_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n }\n}\n","import { info } from \"console\"\nimport { tmpdir } from \"os\"\nimport { join } from \"path\"\nimport { execRoot } from \"admina\"\nimport { addPath } from \"envosman\"\nimport { chmod, readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { aptTimeout, hasNala, installAptPack, isAptPackRegexInstalled } from \"setup-apt\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { DEFAULT_TIMEOUT } from \"../installTool.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\n\nexport enum LLVMPackages {\n All = 0,\n ClangFormat = 1,\n Core = 2,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n // download the installation script\n await installAptPack([{ name: \"ca-certificates\" }])\n const dl = new DownloaderHelper(\"https://apt.llvm.org/llvm.sh\", tmpdir(), { fileName: \"llvm.sh\" })\n dl.on(\"error\", (err) => {\n throw new Error(`Failed to download the LLVM installer script: ${err}`)\n })\n await dl.start()\n const installerScript = await readFile(dl.getDownloadPath(), \"utf-8\")\n\n const installerPath = join(tmpdir(), \"llvm-setup-cpp.sh\")\n const neededPackages = await patchAptLLVMScript(\n installerScript,\n installerPath,\n majorVersion,\n packages,\n )\n await installAptPack(neededPackages)\n await chmod(installerPath, \"755\")\n await execRoot(\n \"bash\",\n [installerPath, `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`, rcOptions)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(\n givenScript: string,\n target_path: string,\n majorVersion: number,\n packages: LLVMPackages,\n) {\n let script = debugScript(givenScript)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (process.env.NODE_DEBUG !== \"1\" && process.env.NODE_DEBUG !== \"true\") {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n `add-apt-repository -y -n \"\\${REPO_NAME}\"\napt-get update -o ${aptTimeout} -y`,\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n `apt-get install -o Dpkg::Options::=\"--force-overwrite\" -o ${aptTimeout} -y --fix-broken`,\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isAptPackRegexInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import path from \"path\"\nimport { fileURLToPath } from \"url\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info, warning } from \"ci-log\"\nimport { findVcvarsall, vsversion_to_versionnumber } from \"msvc-dev-cmd/lib.js\"\nimport { pathExists } from \"path-exists\"\nimport { join } from \"patha\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall.js\"\n\nconst dirname = typeof __dirname === \"string\" ? __dirname : path.dirname(fileURLToPath(import.meta.url))\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean,\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(dirname, \"msvc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { execRootSync } from \"admina\"\nimport { error } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { addExeExt } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version.js\"\nimport { type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n/** Get the platform data for cmake */\nfunction getPowerShellPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n return {\n url: getPowershellUrl(platform, arch, version),\n binRelativeDir: \"\",\n binFileName: addExeExt(\"pwsh\"),\n extractedFolderName: \"\",\n }\n}\n\nfunction getPowershellUrl(\n platform: string,\n arch: string,\n version: string,\n) {\n switch (platform) {\n case \"win32\": {\n const osArchStr = ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch))\n ? \"win-x86\"\n : \"win-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/PowerShell-${version}-${osArchStr}.zip`\n }\n case \"darwin\": {\n const osArchStr = [\"arm\", \"arm64\"].includes(arch) ? \"osx-arm64\" : \"osx-x64\"\n\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n case \"linux\": {\n const archMap = {\n arm64: \"linux-arm64\",\n arm: \"linux-arm64\",\n arm32: \"linux-arm32\",\n aarch64: \"linux-arm64\",\n x64: \"linux-x64\",\n } as Record\n const osArchStr = archMap[arch] ?? \"linux-x64\"\n // TODO support musl\n return `https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${osArchStr}.tar.gz`\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string, setupDir: string, arch: string) {\n try {\n return await setupBin(\"pwsh\", version, getPowerShellPackageInfo, setupDir, arch)\n } catch (err) {\n error(`Failed to setup pwsh via download: ${err}. Trying package managers...`)\n return setupPowershellSystem(version, setupDir, arch)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershellSystem(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir, rcOptions)\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"powershell\", version, { cask: true, overwrite: false })\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"curl\" }])\n execRootSync(\"/bin/bash\", [\n \"-c\",\n \"curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo\",\n ])\n return setupDnfPack([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await installAptPack([{ name: \"curl\" }])\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaURL(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return installAptPack([{ name: \"powershell\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addExeExt } from \"patha\"\nimport { type InstallationInfo, type PackageInfo, setupBin } from \"../utils/setup/setupBin.js\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const extension = platform === \"win32\" ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { untildifyUser } from \"untildify-user\"\nimport { type Inputs, inputs } from \"./tool.js\"\nimport type { InstallationInfo } from \"./utils/setup/setupBin.js\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function printHelp() {\n info(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n--$tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: \"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat\" },\n \"build system\": { tools: \"--cmake, --ninja, --meson, --make, --task, --bazel\" },\n \"package manager\": { tools: \"--vcpkg, --conan, --choco, --brew, --nala\" },\n cache: { tools: \"--ccache, --sccache\" },\n documentation: { tools: \"--doxygen, --graphviz\" },\n coverage: { tools: \"--gcovr, --opencppcoverage, --kcov\" },\n other: { tools: \"--python, --powershell, --sevenzip\" },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n\nexport const rcOptions = {\n rcPath: untildifyUser(\"~/.cpprc\"),\n guard: \"cpp\",\n}\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import rng from './rng.js';\nimport stringify from './stringify.js'; // **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || rng)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || stringify(b);\n}\n\nexport default v1;","import v35 from './v35.js';\nimport md5 from './md5.js';\nconst v3 = v35('v3', 0x30, md5);\nexport default v3;","import crypto from 'crypto';\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('md5').update(bytes).digest();\n}\n\nexport default md5;","import v35 from './v35.js';\nimport sha1 from './sha1.js';\nconst v5 = v35('v5', 0x50, sha1);\nexport default v5;","import crypto from 'crypto';\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('sha1').update(bytes).digest();\n}\n\nexport default sha1;","export default '00000000-0000-0000-0000-000000000000';","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import validate from './validate.js';\n\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nexport default version;","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepareKeyValueMessage = exports.issueFileCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst uuid_1 = require(\"uuid\");\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueFileCommand = issueFileCommand;\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${uuid_1.v4()}`;\n const convertedValue = utils_1.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n//# sourceMappingURL=file-command.js.map","module.exports = require('./lib/tunnel');\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as http from 'http';\nimport * as https from 'https';\nimport * as pm from './proxy';\nimport * as tunnel from 'tunnel';\nexport var 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 || (HttpCodes = {}));\nexport var Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers || (Headers = {}));\nexport var MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes || (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 */\nexport function getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\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;\nexport class 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 statusCode;\n result;\n}\nexport class HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n message;\n async readBody() {\n return new Promise(async (resolve) => {\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 async readBodyBuffer() {\n return new Promise(async (resolve) => {\n const chunks = [];\n this.message.on('data', (chunk) => {\n chunks.push(chunk);\n });\n this.message.on('end', () => {\n resolve(Buffer.concat(chunks));\n });\n });\n }\n}\nexport function isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexport class HttpClient {\n userAgent;\n handlers;\n requestOptions;\n _ignoreSslError = false;\n _socketTimeout;\n _allowRedirects = true;\n _allowRedirectDowngrade = false;\n _maxRedirects = 50;\n _allowRetries = false;\n _maxRetries = 1;\n _agent;\n _proxyAgent;\n _proxyAgentDispatcher;\n _keepAlive = false;\n _disposed = false;\n constructor(userAgent, handlers, requestOptions) {\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 async options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n async get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n async del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n async post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n async patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n async put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n async head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n async 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 const res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n const 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 const res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n const 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 const res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n const 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 const 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 const 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 const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\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 (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\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 (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\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 const 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 (const 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 (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\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 } while (numTries < maxTries);\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 async requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\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 if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\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}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\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 const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n async getAgentDispatcher(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (!useProxy) {\n return undefined;\n }\n return await this._getProxyAgentDispatcher(parsedUrl, proxyUrl);\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 for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\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 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 const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (!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 // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n 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 tunneling agent isn't assigned create a new agent\n if (!agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\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 async _getProxyAgentDispatcher(parsedUrl, proxyUrl) {\n let proxyAgent;\n if (this._keepAlive) {\n proxyAgent = this._proxyAgentDispatcher;\n }\n // if agent is already assigned use that agent.\n if (proxyAgent) {\n return proxyAgent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n // Lazy load ProxyAgent to avoid bundling all the undici\n const ProxyAgent = (await import('undici/lib/proxy-agent'));\n proxyAgent = new ProxyAgent({\n uri: proxyUrl.href,\n pipelining: !this._keepAlive ? 0 : 1,\n ...((proxyUrl.username || proxyUrl.password) && {\n token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}`\n })\n });\n this._proxyAgentDispatcher = proxyAgent;\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 proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, {\n rejectUnauthorized: false\n });\n }\n return proxyAgent;\n }\n async _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 async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode || 0;\n const response = {\n 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 // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, 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 const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","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","const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\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","import process from 'node:process';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport pathKey from 'path-key';\n\nexport const npmRunPath = ({\n\tcwd = process.cwd(),\n\tpath: pathOption = process.env[pathKey()],\n\tpreferLocal = true,\n\texecPath = process.execPath,\n\taddExecPath = true,\n} = {}) => {\n\tconst cwdString = cwd instanceof URL ? fileURLToPath(cwd) : cwd;\n\tconst cwdPath = path.resolve(cwdString);\n\tconst result = [];\n\n\tif (preferLocal) {\n\t\tapplyPreferLocal(result, cwdPath);\n\t}\n\n\tif (addExecPath) {\n\t\tapplyExecPath(result, execPath, cwdPath);\n\t}\n\n\treturn [...result, pathOption].join(path.delimiter);\n};\n\nconst applyPreferLocal = (result, cwdPath) => {\n\tlet previous;\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\n// Ensure the running `node` binary is used\nconst applyExecPath = (result, execPath, cwdPath) => {\n\tconst execPathString = execPath instanceof URL ? fileURLToPath(execPath) : execPath;\n\tresult.push(path.resolve(cwdPath, execPathString, '..'));\n};\n\nexport const npmRunPathEnv = ({env = process.env, ...options} = {}) => {\n\tenv = {...env};\n\n\tconst pathName = pathKey({env});\n\toptions.path = env[pathName];\n\tenv[pathName] = npmRunPath(options);\n\n\treturn env;\n};\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","// 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\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","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","\"use strict\";\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sync = exports.isexe = void 0;\nconst fs_1 = require(\"fs\");\nconst promises_1 = require(\"fs/promises\");\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nconst isexe = async (path, options = {}) => {\n const { ignoreErrors = false } = options;\n try {\n return checkStat(await (0, promises_1.stat)(path), options);\n }\n catch (e) {\n const er = e;\n if (ignoreErrors || er.code === 'EACCES')\n return false;\n throw er;\n }\n};\nexports.isexe = isexe;\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nconst sync = (path, options = {}) => {\n const { ignoreErrors = false } = options;\n try {\n return checkStat((0, fs_1.statSync)(path), options);\n }\n catch (e) {\n const er = e;\n if (ignoreErrors || er.code === 'EACCES')\n return false;\n throw er;\n }\n};\nexports.sync = sync;\nconst checkStat = (stat, options) => stat.isFile() && checkMode(stat, options);\nconst checkMode = (stat, options) => {\n const myUid = options.uid ?? process.getuid?.();\n const myGroups = options.groups ?? process.getgroups?.() ?? [];\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0];\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid');\n }\n const groups = new Set([myGid, ...myGroups]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt('100', 8);\n const g = parseInt('010', 8);\n const o = parseInt('001', 8);\n const ug = u | g;\n return !!(mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0));\n};\n//# sourceMappingURL=posix.js.map","\"use strict\";\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sync = exports.isexe = void 0;\nconst fs_1 = require(\"fs\");\nconst promises_1 = require(\"fs/promises\");\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nconst isexe = async (path, options = {}) => {\n const { ignoreErrors = false } = options;\n try {\n return checkStat(await (0, promises_1.stat)(path), path, options);\n }\n catch (e) {\n const er = e;\n if (ignoreErrors || er.code === 'EACCES')\n return false;\n throw er;\n }\n};\nexports.isexe = isexe;\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nconst sync = (path, options = {}) => {\n const { ignoreErrors = false } = options;\n try {\n return checkStat((0, fs_1.statSync)(path), path, options);\n }\n catch (e) {\n const er = e;\n if (ignoreErrors || er.code === 'EACCES')\n return false;\n throw er;\n }\n};\nexports.sync = sync;\nconst checkPathExt = (path, options) => {\n const { pathExt = process.env.PATHEXT || '' } = options;\n const peSplit = pathExt.split(';');\n if (peSplit.indexOf('') !== -1) {\n return true;\n }\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) {\n return true;\n }\n }\n return false;\n};\nconst checkStat = (stat, path, options) => stat.isFile() && checkPathExt(path, options);\n//# sourceMappingURL=win32.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=options.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sync = exports.isexe = exports.posix = exports.win32 = void 0;\nconst posix = __importStar(require(\"./posix.js\"));\nexports.posix = posix;\nconst win32 = __importStar(require(\"./win32.js\"));\nexports.win32 = win32;\n__exportStar(require(\"./options.js\"), exports);\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst impl = platform === 'win32' ? win32 : posix;\n/**\n * Determine whether a path is executable on the current platform.\n */\nexports.isexe = impl.isexe;\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexports.sync = impl.sync;\n//# sourceMappingURL=index.js.map","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar sign = Math.sign;\n\tif (typeof sign !== \"function\") return false;\n\treturn sign(10) === 1 && sign(-20) === -1;\n};\n","// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\n\"use strict\";\n\nvar callable = require(\"./valid-callable\")\n , value = require(\"./valid-value\")\n , bind = Function.prototype.bind\n , call = Function.prototype.call\n , keys = Object.keys\n , objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nmodule.exports = function (method, defVal) {\n\treturn function (obj, cb /*, thisArg, compareFn*/) {\n\t\tvar list, thisArg = arguments[2], compareFn = arguments[3];\n\t\tobj = Object(value(obj));\n\t\tcallable(cb);\n\n\t\tlist = keys(obj);\n\t\tif (compareFn) {\n\t\t\tlist.sort(typeof compareFn === \"function\" ? bind.call(compareFn, obj) : undefined);\n\t\t}\n\t\tif (typeof method !== \"function\") method = list[method];\n\t\treturn call.call(method, list, function (key, index) {\n\t\t\tif (!objPropertyIsEnumerable.call(obj, key)) return defVal;\n\t\t\treturn call.call(cb, thisArg, obj[key], key, obj, index);\n\t\t});\n\t};\n};\n","\"use strict\";\n\nmodule.exports = function () {\n\tvar assign = Object.assign, obj;\n\tif (typeof assign !== \"function\") return false;\n\tobj = { foo: \"raz\" };\n\tassign(obj, { bar: \"dwa\" }, { trzy: \"trzy\" });\n\treturn obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};\n","\"use strict\";\n\nvar _undefined = require(\"../function/noop\")(); // Support ES3 engines\n\nmodule.exports = function (val) { return val !== _undefined && val !== null; };\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\nvar process = function (src, obj) {\n\tvar key;\n\tfor (key in src) obj[key] = src[key];\n};\n\n// eslint-disable-next-line no-unused-vars\nmodule.exports = function (opts1 /*, …options*/) {\n\tvar result = create(null);\n\tforEach.call(arguments, function (options) {\n\t\tif (!isValue(options)) return;\n\t\tprocess(Object(options), result);\n\t});\n\treturn result;\n};\n","\"use strict\";\n\nvar sign = require(\"../math/sign\")\n , abs = Math.abs\n , floor = Math.floor;\n\nmodule.exports = function (value) {\n\tif (isNaN(value)) return 0;\n\tvalue = Number(value);\n\tif (value === 0 || !isFinite(value)) return value;\n\treturn sign(value) * floor(abs(value));\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Math.sign : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function (value) {\n\tvalue = Number(value);\n\tif (isNaN(value) || value === 0) return value;\n\treturn value > 0 ? 1 : -1;\n};\n","\"use strict\";\n\nvar toInteger = require(\"./to-integer\")\n , max = Math.max;\n\nmodule.exports = function (value) { return max(0, toInteger(value)); };\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\");\n\nmodule.exports = function (optsLength, fnLength, isAsync) {\n\tvar length;\n\tif (isNaN(optsLength)) {\n\t\tlength = fnLength;\n\t\tif (!(length >= 0)) return 1;\n\t\tif (isAsync && length) return length - 1;\n\t\treturn length;\n\t}\n\tif (optsLength === false) return false;\n\treturn toPosInt(optsLength);\n};\n","\"use strict\";\n\nmodule.exports = function (fn) {\n\tif (typeof fn !== \"function\") throw new TypeError(fn + \" is not a function\");\n\treturn fn;\n};\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) throw new TypeError(\"Cannot use null or undefined\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./_iterate\")(\"forEach\");\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.assign : require(\"./shim\");\n","\"use strict\";\n\nvar keys = require(\"../keys\")\n , value = require(\"../valid-value\")\n , max = Math.max;\n\nmodule.exports = function (dest, src /*, …srcn*/) {\n\tvar error, i, length = max(arguments.length, 2), assign;\n\tdest = Object(value(dest));\n\tassign = function (key) {\n\t\ttry {\n\t\t\tdest[key] = src[key];\n\t\t} catch (e) {\n\t\t\tif (!error) error = e;\n\t\t}\n\t};\n\tfor (i = 1; i < length; ++i) {\n\t\tsrc = arguments[i];\n\t\tkeys(src).forEach(assign);\n\t}\n\tif (error !== undefined) throw error;\n\treturn dest;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.keys : require(\"./shim\");\n","\"use strict\";\n\nmodule.exports = function () {\n\ttry {\n\t\tObject.keys(\"primitive\");\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isValue = require(\"../is-value\");\n\nvar keys = Object.keys;\n\nmodule.exports = function (object) { return keys(isValue(object) ? Object(object) : object); };\n","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar map = { function: true, object: true };\n\nmodule.exports = function (value) { return (isValue(value) && map[typeof value]) || false; };\n","\"use strict\";\n\nvar assign = require(\"../object/assign\")\n , isObject = require(\"../object/is-object\")\n , isValue = require(\"../object/is-value\")\n , captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (message /*, code, ext*/) {\n\tvar err = new Error(message), code = arguments[1], ext = arguments[2];\n\tif (!isValue(ext)) {\n\t\tif (isObject(code)) {\n\t\t\text = code;\n\t\t\tcode = null;\n\t\t}\n\t}\n\tif (isValue(ext)) assign(err, ext);\n\tif (isValue(code)) err.code = code;\n\tif (captureStackTrace) captureStackTrace(err, module.exports);\n\treturn err;\n};\n","\"use strict\";\n\nvar toPosInt = require(\"../number/to-pos-integer\");\n\nvar test = function (arg1, arg2) { return arg2; };\n\nvar desc, defineProperty, generate, mixin;\n\ntry {\n\tObject.defineProperty(test, \"length\", {\n\t\tconfigurable: true,\n\t\twritable: false,\n\t\tenumerable: false,\n\t\tvalue: 1\n\t});\n}\ncatch (ignore) {}\n\nif (test.length === 1) {\n\t// ES6\n\tdesc = { configurable: true, writable: false, enumerable: false };\n\tdefineProperty = Object.defineProperty;\n\tmodule.exports = function (fn, length) {\n\t\tlength = toPosInt(length);\n\t\tif (fn.length === length) return fn;\n\t\tdesc.value = length;\n\t\treturn defineProperty(fn, \"length\", desc);\n\t};\n} else {\n\tmixin = require(\"../object/mixin\");\n\tgenerate = (function () {\n\t\tvar cache = [];\n\t\treturn function (length) {\n\t\t\tvar args, i = 0;\n\t\t\tif (cache[length]) return cache[length];\n\t\t\targs = [];\n\t\t\twhile (length--) args.push(\"a\" + (++i).toString(36));\n\t\t\t// eslint-disable-next-line no-new-func\n\t\t\treturn new Function(\n\t\t\t\t\"fn\",\n\t\t\t\t\"return function (\" + args.join(\", \") + \") { return fn.apply(this, arguments); };\"\n\t\t\t);\n\t\t};\n\t})();\n\tmodule.exports = function (src, length) {\n\t\tvar target;\n\t\tlength = toPosInt(length);\n\t\tif (src.length === length) return src;\n\t\ttarget = generate(length)(src);\n\t\ttry { mixin(target, src); }\n\t\tcatch (ignore) {}\n\t\treturn target;\n\t};\n}\n","\"use strict\";\n\n// ES3 safe\nvar _undefined = void 0;\n\nmodule.exports = function (value) { return value !== _undefined && value !== null; };\n","\"use strict\";\n\nvar isValue = require(\"../value/is\");\n\n// prettier-ignore\nvar possibleTypes = { \"object\": true, \"function\": true, \"undefined\": true /* document.all */ };\n\nmodule.exports = function (value) {\n\tif (!isValue(value)) return false;\n\treturn hasOwnProperty.call(possibleTypes, typeof value);\n};\n","\"use strict\";\n\nvar isPrototype = require(\"../prototype/is\");\n\nmodule.exports = function (value) {\n\tif (typeof value !== \"function\") return false;\n\n\tif (!hasOwnProperty.call(value, \"length\")) return false;\n\n\ttry {\n\t\tif (typeof value.length !== \"number\") return false;\n\t\tif (typeof value.call !== \"function\") return false;\n\t\tif (typeof value.apply !== \"function\") return false;\n\t} catch (error) {\n\t\treturn false;\n\t}\n\n\treturn !isPrototype(value);\n};\n","\"use strict\";\n\nvar isObject = require(\"../object/is\");\n\nmodule.exports = function (value) {\n\tif (!isObject(value)) return false;\n\ttry {\n\t\tif (!value.constructor) return false;\n\t\treturn value.constructor.prototype === value;\n\t} catch (error) {\n\t\treturn false;\n\t}\n};\n","\"use strict\";\n\nvar isFunction = require(\"../function/is\");\n\nvar classRe = /^\\s*class[\\s{/}]/, functionToString = Function.prototype.toString;\n\nmodule.exports = function (value) {\n\tif (!isFunction(value)) return false;\n\tif (classRe.test(functionToString.call(value))) return false;\n\treturn true;\n};\n","\"use strict\";\n\nvar str = \"razdwatrzy\";\n\nmodule.exports = function () {\n\tif (typeof str.contains !== \"function\") return false;\n\treturn str.contains(\"dwa\") === true && str.contains(\"foo\") === false;\n};\n","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? String.prototype.contains : require(\"./shim\");\n","\"use strict\";\n\nvar indexOf = String.prototype.indexOf;\n\nmodule.exports = function (searchString /*, position*/) {\n\treturn indexOf.call(this, searchString, arguments[1]) > -1;\n};\n","\"use strict\";\n\nvar isValue = require(\"type/value/is\")\n , isPlainFunction = require(\"type/plain-function/is\")\n , assign = require(\"es5-ext/object/assign\")\n , normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , contains = require(\"es5-ext/string/#/contains\");\n\nvar d = (module.exports = function (dscr, value/*, options*/) {\n\tvar c, e, w, options, desc;\n\tif (arguments.length < 2 || typeof dscr !== \"string\") {\n\t\toptions = value;\n\t\tvalue = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[2];\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t\tw = contains.call(dscr, \"w\");\n\t} else {\n\t\tc = w = true;\n\t\te = false;\n\t}\n\n\tdesc = { value: value, configurable: c, enumerable: e, writable: w };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n});\n\nd.gs = function (dscr, get, set/*, options*/) {\n\tvar c, e, options, desc;\n\tif (typeof dscr !== \"string\") {\n\t\toptions = set;\n\t\tset = get;\n\t\tget = dscr;\n\t\tdscr = null;\n\t} else {\n\t\toptions = arguments[3];\n\t}\n\tif (!isValue(get)) {\n\t\tget = undefined;\n\t} else if (!isPlainFunction(get)) {\n\t\toptions = get;\n\t\tget = set = undefined;\n\t} else if (!isValue(set)) {\n\t\tset = undefined;\n\t} else if (!isPlainFunction(set)) {\n\t\toptions = set;\n\t\tset = undefined;\n\t}\n\tif (isValue(dscr)) {\n\t\tc = contains.call(dscr, \"c\");\n\t\te = contains.call(dscr, \"e\");\n\t} else {\n\t\tc = true;\n\t\te = false;\n\t}\n\n\tdesc = { get: get, set: set, configurable: c, enumerable: e };\n\treturn !options ? desc : assign(normalizeOpts(options), desc);\n};\n","'use strict';\n\nvar d = require('d')\n , callable = require('es5-ext/object/valid-callable')\n\n , apply = Function.prototype.apply, call = Function.prototype.call\n , create = Object.create, defineProperty = Object.defineProperty\n , defineProperties = Object.defineProperties\n , hasOwnProperty = Object.prototype.hasOwnProperty\n , descriptor = { configurable: true, enumerable: false, writable: true }\n\n , on, once, off, emit, methods, descriptors, base;\n\non = function (type, listener) {\n\tvar data;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) {\n\t\tdata = descriptor.value = create(null);\n\t\tdefineProperty(this, '__ee__', descriptor);\n\t\tdescriptor.value = null;\n\t} else {\n\t\tdata = this.__ee__;\n\t}\n\tif (!data[type]) data[type] = listener;\n\telse if (typeof data[type] === 'object') data[type].push(listener);\n\telse data[type] = [data[type], listener];\n\n\treturn this;\n};\n\nonce = function (type, listener) {\n\tvar once, self;\n\n\tcallable(listener);\n\tself = this;\n\ton.call(this, type, once = function () {\n\t\toff.call(self, type, once);\n\t\tapply.call(listener, this, arguments);\n\t});\n\n\tonce.__eeOnceListener__ = listener;\n\treturn this;\n};\n\noff = function (type, listener) {\n\tvar data, listeners, candidate, i;\n\n\tcallable(listener);\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return this;\n\tdata = this.__ee__;\n\tif (!data[type]) return this;\n\tlisteners = data[type];\n\n\tif (typeof listeners === 'object') {\n\t\tfor (i = 0; (candidate = listeners[i]); ++i) {\n\t\t\tif ((candidate === listener) ||\n\t\t\t\t\t(candidate.__eeOnceListener__ === listener)) {\n\t\t\t\tif (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n\t\t\t\telse listeners.splice(i, 1);\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif ((listeners === listener) ||\n\t\t\t\t(listeners.__eeOnceListener__ === listener)) {\n\t\t\tdelete data[type];\n\t\t}\n\t}\n\n\treturn this;\n};\n\nemit = function (type) {\n\tvar i, l, listener, listeners, args;\n\n\tif (!hasOwnProperty.call(this, '__ee__')) return;\n\tlisteners = this.__ee__[type];\n\tif (!listeners) return;\n\n\tif (typeof listeners === 'object') {\n\t\tl = arguments.length;\n\t\targs = new Array(l - 1);\n\t\tfor (i = 1; i < l; ++i) args[i - 1] = arguments[i];\n\n\t\tlisteners = listeners.slice();\n\t\tfor (i = 0; (listener = listeners[i]); ++i) {\n\t\t\tapply.call(listener, this, args);\n\t\t}\n\t} else {\n\t\tswitch (arguments.length) {\n\t\tcase 1:\n\t\t\tcall.call(listeners, this);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tcall.call(listeners, this, arguments[1]);\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tcall.call(listeners, this, arguments[1], arguments[2]);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tl = arguments.length;\n\t\t\targs = new Array(l - 1);\n\t\t\tfor (i = 1; i < l; ++i) {\n\t\t\t\targs[i - 1] = arguments[i];\n\t\t\t}\n\t\t\tapply.call(listeners, this, args);\n\t\t}\n\t}\n};\n\nmethods = {\n\ton: on,\n\tonce: once,\n\toff: off,\n\temit: emit\n};\n\ndescriptors = {\n\ton: d(on),\n\tonce: d(once),\n\toff: d(off),\n\temit: d(emit)\n};\n\nbase = defineProperties({}, descriptors);\n\nmodule.exports = exports = function (o) {\n\treturn (o == null) ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n","\"use strict\";\n\nvar toArray = require(\"es5-ext/array/to-array\")\n , isValue = require(\"es5-ext/object/is-value\")\n , callable = require(\"es5-ext/object/valid-callable\");\n\nvar slice = Array.prototype.slice, resolveArgs;\n\nresolveArgs = function (args) {\n\treturn this.map(function (resolve, i) { return resolve ? resolve(args[i]) : args[i]; }).concat(\n\t\tslice.call(args, this.length)\n\t);\n};\n\nmodule.exports = function (resolvers) {\n\tresolvers = toArray(resolvers);\n\tresolvers.forEach(function (resolve) { if (isValue(resolve)) callable(resolve); });\n\treturn resolveArgs.bind(resolvers);\n};\n","\"use strict\";\n\nvar from = require(\"./from\")\n , isArray = Array.isArray;\n\nmodule.exports = function (arrayLike) { return isArray(arrayLike) ? arrayLike : from(arrayLike); };\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\");\n\nmodule.exports = function (userNormalizer) {\n\tvar normalizer;\n\tif (typeof userNormalizer === \"function\") return { set: userNormalizer, get: userNormalizer };\n\tnormalizer = { get: callable(userNormalizer.get) };\n\tif (userNormalizer.set !== undefined) {\n\t\tnormalizer.set = callable(userNormalizer.set);\n\t\tif (userNormalizer.delete) normalizer.delete = callable(userNormalizer.delete);\n\t\tif (userNormalizer.clear) normalizer.clear = callable(userNormalizer.clear);\n\t\treturn normalizer;\n\t}\n\tnormalizer.set = normalizer.get;\n\treturn normalizer;\n};\n","/* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n\"use strict\";\n\nvar customError = require(\"es5-ext/error/custom\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , d = require(\"d\")\n , ee = require(\"event-emitter\").methods\n , resolveResolve = require(\"./resolve-resolve\")\n , resolveNormalize = require(\"./resolve-normalize\");\n\nvar apply = Function.prototype.apply\n , call = Function.prototype.call\n , create = Object.create\n , defineProperties = Object.defineProperties\n , on = ee.on\n , emit = ee.emit;\n\nmodule.exports = function (original, length, options) {\n\tvar cache = create(null)\n\t , conf\n\t , memLength\n\t , get\n\t , set\n\t , del\n\t , clear\n\t , extDel\n\t , extGet\n\t , extHas\n\t , normalizer\n\t , getListeners\n\t , setListeners\n\t , deleteListeners\n\t , memoized\n\t , resolve;\n\tif (length !== false) memLength = length;\n\telse if (isNaN(original.length)) memLength = 1;\n\telse memLength = original.length;\n\n\tif (options.normalizer) {\n\t\tnormalizer = resolveNormalize(options.normalizer);\n\t\tget = normalizer.get;\n\t\tset = normalizer.set;\n\t\tdel = normalizer.delete;\n\t\tclear = normalizer.clear;\n\t}\n\tif (options.resolvers != null) resolve = resolveResolve(options.resolvers);\n\n\tif (get) {\n\t\tmemoized = defineLength(function (arg) {\n\t\t\tvar id, result, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id !== null) {\n\t\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\t\treturn cache[id];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (id === null) {\n\t\t\t\tid = get(args);\n\t\t\t\tif (id !== null) throw customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t\tid = set(args);\n\t\t\t} else if (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\tmemoized = function () {\n\t\t\tvar result;\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", \"data\", arguments, this);\n\t\t\t\treturn cache.data;\n\t\t\t}\n\t\t\tif (arguments.length) result = apply.call(original, this, arguments);\n\t\t\telse result = call.call(original, this);\n\t\t\tif (hasOwnProperty.call(cache, \"data\")) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache.data = result;\n\t\t\tif (setListeners) conf.emit(\"set\", \"data\", null, result);\n\t\t\treturn result;\n\t\t};\n\t} else {\n\t\tmemoized = function (arg) {\n\t\t\tvar result, args = arguments, id;\n\t\t\tif (resolve) args = resolve(arguments);\n\t\t\tid = String(args[0]);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tif (getListeners) conf.emit(\"get\", id, args, this);\n\t\t\t\treturn cache[id];\n\t\t\t}\n\t\t\tif (args.length === 1) result = call.call(original, this, args[0]);\n\t\t\telse result = apply.call(original, this, args);\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tthrow customError(\"Circular invocation\", \"CIRCULAR_INVOCATION\");\n\t\t\t}\n\t\t\tcache[id] = result;\n\t\t\tif (setListeners) conf.emit(\"set\", id, null, result);\n\t\t\treturn result;\n\t\t};\n\t}\n\tconf = {\n\t\toriginal: original,\n\t\tmemoized: memoized,\n\t\tprofileName: options.profileName,\n\t\tget: function (args) {\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tif (get) return get(args);\n\t\t\treturn String(args[0]);\n\t\t},\n\t\thas: function (id) { return hasOwnProperty.call(cache, id); },\n\t\tdelete: function (id) {\n\t\t\tvar result;\n\t\t\tif (!hasOwnProperty.call(cache, id)) return;\n\t\t\tif (del) del(id);\n\t\t\tresult = cache[id];\n\t\t\tdelete cache[id];\n\t\t\tif (deleteListeners) conf.emit(\"delete\", id, result);\n\t\t},\n\t\tclear: function () {\n\t\t\tvar oldCache = cache;\n\t\t\tif (clear) clear();\n\t\t\tcache = create(null);\n\t\t\tconf.emit(\"clear\", oldCache);\n\t\t},\n\t\ton: function (type, listener) {\n\t\t\tif (type === \"get\") getListeners = true;\n\t\t\telse if (type === \"set\") setListeners = true;\n\t\t\telse if (type === \"delete\") deleteListeners = true;\n\t\t\treturn on.call(this, type, listener);\n\t\t},\n\t\temit: emit,\n\t\tupdateEnv: function () { original = conf.original; },\n\t};\n\tif (get) {\n\t\textDel = defineLength(function (arg) {\n\t\t\tvar id, args = arguments;\n\t\t\tif (resolve) args = resolve(args);\n\t\t\tid = get(args);\n\t\t\tif (id === null) return;\n\t\t\tconf.delete(id);\n\t\t}, memLength);\n\t} else if (length === 0) {\n\t\textDel = function () { return conf.delete(\"data\"); };\n\t} else {\n\t\textDel = function (arg) {\n\t\t\tif (resolve) arg = resolve(arguments)[0];\n\t\t\treturn conf.delete(arg);\n\t\t};\n\t}\n\textGet = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return cache.data;\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\treturn cache[id];\n\t});\n\textHas = defineLength(function () {\n\t\tvar id, args = arguments;\n\t\tif (length === 0) return conf.has(\"data\");\n\t\tif (resolve) args = resolve(args);\n\t\tif (get) id = get(args);\n\t\telse id = String(args[0]);\n\t\tif (id === null) return false;\n\t\treturn conf.has(id);\n\t});\n\tdefineProperties(memoized, {\n\t\t__memoized__: d(true),\n\t\tdelete: d(extDel),\n\t\tclear: d(conf.clear),\n\t\t_get: d(extGet),\n\t\t_has: d(extHas),\n\t});\n\treturn conf;\n};\n","\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"./lib/registered-extensions\")\n , configure = require(\"./lib/configure-map\")\n , resolveLength = require(\"./lib/resolve-length\");\n\nmodule.exports = function self(fn/*, options */) {\n\tvar options, length, conf;\n\n\tcallable(fn);\n\toptions = Object(arguments[1]);\n\n\tif (options.async && options.promise) {\n\t\tthrow new Error(\"Options 'async' and 'promise' cannot be used together\");\n\t}\n\n\t// Do not memoize already memoized function\n\tif (hasOwnProperty.call(fn, \"__memoized__\") && !options.force) return fn;\n\n\t// Resolve length;\n\tlength = resolveLength(options.length, fn.length, options.async && extensions.async);\n\n\t// Configure cache map\n\tconf = configure(fn, length, options);\n\n\t// Bind eventual extensions\n\tforEach(extensions, function (extFn, name) {\n\t\tif (options[name]) extFn(options[name], conf, options);\n\t});\n\n\tif (self.__profiler__) self.__profiler__(conf);\n\n\tconf.updateEnv();\n\treturn conf.memoized;\n};\n","\"use strict\";\n\nvar normalizeOpts = require(\"es5-ext/object/normalize-options\")\n , resolveLength = require(\"./lib/resolve-length\")\n , plain = require(\"./plain\");\n\nmodule.exports = function (fn/*, options*/) {\n\tvar options = normalizeOpts(arguments[1]), length;\n\n\tif (!options.normalizer) {\n\t\tlength = options.length = resolveLength(options.length, fn.length, options.async);\n\t\tif (length !== 0) {\n\t\t\tif (options.primitive) {\n\t\t\t\tif (length === false) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/primitive\");\n\t\t\t\t} else if (length > 1) {\n\t\t\t\t\toptions.normalizer = require(\"./normalizers/get-primitive-fixed\")(length);\n\t\t\t\t}\n\t\t\t} else if (length === false) options.normalizer = require(\"./normalizers/get\")();\n\t\t\telse if (length === 1) options.normalizer = require(\"./normalizers/get-1\")();\n\t\t\telse options.normalizer = require(\"./normalizers/get-fixed\")(length);\n\t\t}\n\t}\n\n\t// Assure extensions\n\tif (options.async) require(\"./ext/async\");\n\tif (options.promise) require(\"./ext/promise\");\n\tif (options.dispose) require(\"./ext/dispose\");\n\tif (options.maxAge) require(\"./ext/max-age\");\n\tif (options.max) require(\"./ext/max\");\n\tif (options.refCounter) require(\"./ext/ref-counter\");\n\n\treturn plain(fn, options);\n};\n","\"use strict\";\n\nmodule.exports = function (args) {\n\tvar id, i, length = args.length;\n\tif (!length) return \"\\u0002\";\n\tid = String(args[(i = 0)]);\n\twhile (--length) id += \"\\u0001\" + args[++i];\n\treturn id;\n};\n","\"use strict\";\n\nmodule.exports = function (length) {\n\tif (!length) {\n\t\treturn function () { return \"\"; };\n\t}\n\treturn function (args) {\n\t\tvar id = String(args[0]), i = 0, currentLength = length;\n\t\twhile (--currentLength) {\n\t\t\tid += \"\\u0001\" + args[++i];\n\t\t}\n\t\treturn id;\n\t};\n};\n","/* eslint max-statements: 0 */\n\n\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nvar create = Object.create;\n\nmodule.exports = function () {\n\tvar lastId = 0, map = [], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) return set[length] || null;\n\t\t\tif ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) return null;\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\treturn set[1][i] || null;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i, length = args.length;\n\t\t\tif (length === 0) {\n\t\t\t\tset[length] = ++lastId;\n\t\t\t} else {\n\t\t\t\tif (!set[length]) {\n\t\t\t\t\tset[length] = [[], []];\n\t\t\t\t}\n\t\t\t\tset = set[length];\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t\t}\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t}\n\t\t\t\tset[1][i] = ++lastId;\n\t\t\t}\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, args = cache[id], length = args.length, path = [];\n\t\t\tif (length === 0) {\n\t\t\t\tdelete set[length];\n\t\t\t} else if ((set = set[length])) {\n\t\t\t\twhile (index < length - 1) {\n\t\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\t\tif (i === -1) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tpath.push(set, i);\n\t\t\t\t\tset = set[1][i];\n\t\t\t\t\t++index;\n\t\t\t\t}\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tid = set[1][i];\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\t\ti = path.pop();\n\t\t\t\t\tset = path.pop();\n\t\t\t\t\tset[0].splice(i, 1);\n\t\t\t\t\tset[1].splice(i, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\");\n\nmodule.exports = function () {\n\tvar lastId = 0, argsMap = [], cache = [];\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = indexOf.call(argsMap, args[0]);\n\t\t\treturn index === -1 ? null : cache[index];\n\t\t},\n\t\tset: function (args) {\n\t\t\targsMap.push(args[0]);\n\t\t\tcache.push(++lastId);\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = indexOf.call(cache, id);\n\t\t\tif (index !== -1) {\n\t\t\t\targsMap.splice(index, 1);\n\t\t\t\tcache.splice(index, 1);\n\t\t\t}\n\t\t},\n\t\tclear: function () {\n\t\t\targsMap = [];\n\t\t\tcache = [];\n\t\t},\n\t};\n};\n","\"use strict\";\n\nvar indexOf = require(\"es5-ext/array/#/e-index-of\")\n , create = Object.create;\n\nmodule.exports = function (length) {\n\tvar lastId = 0, map = [[], []], cache = create(null);\n\treturn {\n\t\tget: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) return null;\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) return null;\n\t\t\treturn set[1][i] || null;\n\t\t},\n\t\tset: function (args) {\n\t\t\tvar index = 0, set = map, i;\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t\t\tset[1].push([[], []]);\n\t\t\t\t}\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\ti = set[0].push(args[index]) - 1;\n\t\t\t}\n\t\t\tset[1][i] = ++lastId;\n\t\t\tcache[lastId] = args;\n\t\t\treturn lastId;\n\t\t},\n\t\tdelete: function (id) {\n\t\t\tvar index = 0, set = map, i, path = [], args = cache[id];\n\t\t\twhile (index < length - 1) {\n\t\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\t\tif (i === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tpath.push(set, i);\n\t\t\t\tset = set[1][i];\n\t\t\t\t++index;\n\t\t\t}\n\t\t\ti = indexOf.call(set[0], args[index]);\n\t\t\tif (i === -1) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tid = set[1][i];\n\t\t\tset[0].splice(i, 1);\n\t\t\tset[1].splice(i, 1);\n\t\t\twhile (!set[0].length && path.length) {\n\t\t\t\ti = path.pop();\n\t\t\t\tset = path.pop();\n\t\t\t\tset[0].splice(i, 1);\n\t\t\t\tset[1].splice(i, 1);\n\t\t\t}\n\t\t\tdelete cache[id];\n\t\t},\n\t\tclear: function () {\n\t\t\tmap = [[], []];\n\t\t\tcache = create(null);\n\t\t},\n\t};\n};\n","/* eslint consistent-this: 0, no-shadow:0, no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */\n\n// Support for asynchronous functions\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , objectMap = require(\"es5-ext/object/map\")\n , mixin = require(\"es5-ext/object/mixin\")\n , defineLength = require(\"es5-ext/function/_define-length\")\n , nextTick = require(\"next-tick\");\n\nvar slice = Array.prototype.slice, apply = Function.prototype.apply, create = Object.create;\n\nrequire(\"../lib/registered-extensions\").async = function (tbi, conf) {\n\tvar waiting = create(null)\n\t , cache = create(null)\n\t , base = conf.memoized\n\t , original = conf.original\n\t , currentCallback\n\t , currentContext\n\t , currentArgs;\n\n\t// Initial\n\tconf.memoized = defineLength(function (arg) {\n\t\tvar args = arguments, last = args[args.length - 1];\n\t\tif (typeof last === \"function\") {\n\t\t\tcurrentCallback = last;\n\t\t\targs = slice.call(args, 0, -1);\n\t\t}\n\t\treturn base.apply((currentContext = this), (currentArgs = args));\n\t}, base);\n\ttry { mixin(conf.memoized, base); }\n\tcatch (ignore) {}\n\n\t// From cache (sync)\n\tconf.on(\"get\", function (id) {\n\t\tvar cb, context, args;\n\t\tif (!currentCallback) return;\n\n\t\t// Unresolved\n\t\tif (waiting[id]) {\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback];\n\t\t\telse waiting[id].push(currentCallback);\n\t\t\tcurrentCallback = null;\n\t\t\treturn;\n\t\t}\n\n\t\t// Resolved, assure next tick invocation\n\t\tcb = currentCallback;\n\t\tcontext = currentContext;\n\t\targs = currentArgs;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\tnextTick(function () {\n\t\t\tvar data;\n\t\t\tif (hasOwnProperty.call(cache, id)) {\n\t\t\t\tdata = cache[id];\n\t\t\t\tconf.emit(\"getasync\", id, args, context);\n\t\t\t\tapply.call(cb, data.context, data.args);\n\t\t\t} else {\n\t\t\t\t// Purged in a meantime, we shouldn't rely on cached value, recall\n\t\t\t\tcurrentCallback = cb;\n\t\t\t\tcurrentContext = context;\n\t\t\t\tcurrentArgs = args;\n\t\t\t\tbase.apply(context, args);\n\t\t\t}\n\t\t});\n\t});\n\n\t// Not from cache\n\tconf.original = function () {\n\t\tvar args, cb, origCb, result;\n\t\tif (!currentCallback) return apply.call(original, this, arguments);\n\t\targs = aFrom(arguments);\n\t\tcb = function self(err) {\n\t\t\tvar cb, args, id = self.id;\n\t\t\tif (id == null) {\n\t\t\t\t// Shouldn't happen, means async callback was called sync way\n\t\t\t\tnextTick(apply.bind(self, this, arguments));\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tdelete self.id;\n\t\t\tcb = waiting[id];\n\t\t\tdelete waiting[id];\n\t\t\tif (!cb) {\n\t\t\t\t// Already processed,\n\t\t\t\t// outcome of race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\targs = aFrom(arguments);\n\t\t\tif (conf.has(id)) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconf.delete(id);\n\t\t\t\t} else {\n\t\t\t\t\tcache[id] = { context: this, args: args };\n\t\t\t\t\tconf.emit(\"setasync\", id, typeof cb === \"function\" ? 1 : cb.length);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (typeof cb === \"function\") {\n\t\t\t\tresult = apply.call(cb, this, args);\n\t\t\t} else {\n\t\t\t\tcb.forEach(function (cb) { result = apply.call(cb, this, args); }, this);\n\t\t\t}\n\t\t\treturn result;\n\t\t};\n\t\torigCb = currentCallback;\n\t\tcurrentCallback = currentContext = currentArgs = null;\n\t\targs.push(cb);\n\t\tresult = apply.call(original, this, args);\n\t\tcb.cb = origCb;\n\t\tcurrentCallback = cb;\n\t\treturn result;\n\t};\n\n\t// After not from cache call\n\tconf.on(\"set\", function (id) {\n\t\tif (!currentCallback) {\n\t\t\tconf.delete(id);\n\t\t\treturn;\n\t\t}\n\t\tif (waiting[id]) {\n\t\t\t// Race condition: asyncFn(1, cb), asyncFn.clear(), asyncFn(1, cb)\n\t\t\tif (typeof waiting[id] === \"function\") waiting[id] = [waiting[id], currentCallback.cb];\n\t\t\telse waiting[id].push(currentCallback.cb);\n\t\t} else {\n\t\t\twaiting[id] = currentCallback.cb;\n\t\t}\n\t\tdelete currentCallback.cb;\n\t\tcurrentCallback.id = id;\n\t\tcurrentCallback = null;\n\t});\n\n\t// On delete\n\tconf.on(\"delete\", function (id) {\n\t\tvar result;\n\t\t// If false, we don't have value yet, so we assume that intention is not\n\t\t// to memoize this call. After value is obtained we don't cache it but\n\t\t// gracefully pass to callback\n\t\tif (hasOwnProperty.call(waiting, id)) return;\n\t\tif (!cache[id]) return;\n\t\tresult = cache[id];\n\t\tdelete cache[id];\n\t\tconf.emit(\"deleteasync\", id, slice.call(result.args, 1));\n\t});\n\n\t// On clear\n\tconf.on(\"clear\", function () {\n\t\tvar oldCache = cache;\n\t\tcache = create(null);\n\t\tconf.emit(\n\t\t\t\"clearasync\", objectMap(oldCache, function (data) { return slice.call(data.args, 1); })\n\t\t);\n\t});\n};\n","// Call dispose callback on each cache purge\n\n\"use strict\";\n\nvar callable = require(\"es5-ext/object/valid-callable\")\n , forEach = require(\"es5-ext/object/for-each\")\n , extensions = require(\"../lib/registered-extensions\")\n , apply = Function.prototype.apply;\n\nextensions.dispose = function (dispose, conf, options) {\n\tvar del;\n\tcallable(dispose);\n\tif ((options.async && extensions.async) || (options.promise && extensions.promise)) {\n\t\tconf.on(\n\t\t\t\"deleteasync\",\n\t\t\t(del = function (id, resultArray) { apply.call(dispose, null, resultArray); })\n\t\t);\n\t\tconf.on(\"clearasync\", function (cache) {\n\t\t\tforEach(cache, function (result, id) { del(id, result); });\n\t\t});\n\t\treturn;\n\t}\n\tconf.on(\"delete\", (del = function (id, result) { dispose(result); }));\n\tconf.on(\"clear\", function (cache) {\n\t\tforEach(cache, function (result, id) { del(id, result); });\n\t});\n};\n","/* eslint consistent-this: 0 */\n\n// Timeout cached values\n\n\"use strict\";\n\nvar aFrom = require(\"es5-ext/array/from\")\n , forEach = require(\"es5-ext/object/for-each\")\n , nextTick = require(\"next-tick\")\n , isPromise = require(\"is-promise\")\n , timeout = require(\"timers-ext/valid-timeout\")\n , extensions = require(\"../lib/registered-extensions\");\n\nvar noop = Function.prototype, max = Math.max, min = Math.min, create = Object.create;\n\nextensions.maxAge = function (maxAge, conf, options) {\n\tvar timeouts, postfix, preFetchAge, preFetchTimeouts;\n\n\tmaxAge = timeout(maxAge);\n\tif (!maxAge) return;\n\n\ttimeouts = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\tconf.on(\"set\" + postfix, function (id) {\n\t\ttimeouts[id] = setTimeout(function () { conf.delete(id); }, maxAge);\n\t\tif (typeof timeouts[id].unref === \"function\") timeouts[id].unref();\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id]) {\n\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\t}\n\t\tpreFetchTimeouts[id] = setTimeout(function () {\n\t\t\tdelete preFetchTimeouts[id];\n\t\t}, preFetchAge);\n\t\tif (typeof preFetchTimeouts[id].unref === \"function\") preFetchTimeouts[id].unref();\n\t});\n\tconf.on(\"delete\" + postfix, function (id) {\n\t\tclearTimeout(timeouts[id]);\n\t\tdelete timeouts[id];\n\t\tif (!preFetchTimeouts) return;\n\t\tif (preFetchTimeouts[id] !== \"nextTick\") clearTimeout(preFetchTimeouts[id]);\n\t\tdelete preFetchTimeouts[id];\n\t});\n\n\tif (options.preFetch) {\n\t\tif (options.preFetch === true || isNaN(options.preFetch)) {\n\t\t\tpreFetchAge = 0.333;\n\t\t} else {\n\t\t\tpreFetchAge = max(min(Number(options.preFetch), 1), 0);\n\t\t}\n\t\tif (preFetchAge) {\n\t\t\tpreFetchTimeouts = {};\n\t\t\tpreFetchAge = (1 - preFetchAge) * maxAge;\n\t\t\tconf.on(\"get\" + postfix, function (id, args, context) {\n\t\t\t\tif (!preFetchTimeouts[id]) {\n\t\t\t\t\tpreFetchTimeouts[id] = \"nextTick\";\n\t\t\t\t\tnextTick(function () {\n\t\t\t\t\t\tvar result;\n\t\t\t\t\t\tif (preFetchTimeouts[id] !== \"nextTick\") return;\n\t\t\t\t\t\tdelete preFetchTimeouts[id];\n\t\t\t\t\t\tconf.delete(id);\n\t\t\t\t\t\tif (options.async) {\n\t\t\t\t\t\t\targs = aFrom(args);\n\t\t\t\t\t\t\targs.push(noop);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresult = conf.memoized.apply(context, args);\n\t\t\t\t\t\tif (options.promise) {\n\t\t\t\t\t\t\t// Supress eventual error warnings\n\t\t\t\t\t\t\tif (isPromise(result)) {\n\t\t\t\t\t\t\t\tif (typeof result.done === \"function\") result.done(noop, noop);\n\t\t\t\t\t\t\t\telse result.then(noop, noop);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tconf.on(\"clear\" + postfix, function () {\n\t\tforEach(timeouts, function (id) { clearTimeout(id); });\n\t\ttimeouts = {};\n\t\tif (preFetchTimeouts) {\n\t\t\tforEach(preFetchTimeouts, function (id) { if (id !== \"nextTick\") clearTimeout(id); });\n\t\t\tpreFetchTimeouts = {};\n\t\t}\n\t});\n};\n","\"use strict\";\n\nvar toPosInt = require(\"es5-ext/number/to-pos-integer\")\n , maxTimeout = require(\"./max-timeout\");\n\nmodule.exports = function (value) {\n\tvalue = toPosInt(value);\n\tif (value > maxTimeout) throw new TypeError(value + \" exceeds maximum possible timeout\");\n\treturn value;\n};\n","\"use strict\";\n\nmodule.exports = 2147483647;\n","// Limit cache size, LRU (least recently used) algorithm.\n\n\"use strict\";\n\nvar toPosInteger = require(\"es5-ext/number/to-pos-integer\")\n , lruQueue = require(\"lru-queue\")\n , extensions = require(\"../lib/registered-extensions\");\n\nextensions.max = function (max, conf, options) {\n\tvar postfix, queue, hit;\n\n\tmax = toPosInteger(max);\n\tif (!max) return;\n\n\tqueue = lruQueue(max);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\n\t\t\"set\" + postfix,\n\t\t(hit = function (id) {\n\t\t\tid = queue.hit(id);\n\t\t\tif (id === undefined) return;\n\t\t\tconf.delete(id);\n\t\t})\n\t);\n\tconf.on(\"get\" + postfix, hit);\n\tconf.on(\"delete\" + postfix, queue.delete);\n\tconf.on(\"clear\" + postfix, queue.clear);\n};\n","'use strict';\n\nvar toPosInt = require('es5-ext/number/to-pos-integer')\n\n , create = Object.create, hasOwnProperty = Object.prototype.hasOwnProperty;\n\nmodule.exports = function (limit) {\n\tvar size = 0, base = 1, queue = create(null), map = create(null), index = 0, del;\n\tlimit = toPosInt(limit);\n\treturn {\n\t\thit: function (id) {\n\t\t\tvar oldIndex = map[id], nuIndex = ++index;\n\t\t\tqueue[nuIndex] = id;\n\t\t\tmap[id] = nuIndex;\n\t\t\tif (!oldIndex) {\n\t\t\t\t++size;\n\t\t\t\tif (size <= limit) return;\n\t\t\t\tid = queue[base];\n\t\t\t\tdel(id);\n\t\t\t\treturn id;\n\t\t\t}\n\t\t\tdelete queue[oldIndex];\n\t\t\tif (base !== oldIndex) return;\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tdelete: del = function (id) {\n\t\t\tvar oldIndex = map[id];\n\t\t\tif (!oldIndex) return;\n\t\t\tdelete queue[oldIndex];\n\t\t\tdelete map[id];\n\t\t\t--size;\n\t\t\tif (base !== oldIndex) return;\n\t\t\tif (!size) {\n\t\t\t\tindex = 0;\n\t\t\t\tbase = 1;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twhile (!hasOwnProperty.call(queue, ++base)) continue; //jslint: skip\n\t\t},\n\t\tclear: function () {\n\t\t\tsize = 0;\n\t\t\tbase = 1;\n\t\t\tqueue = create(null);\n\t\t\tmap = create(null);\n\t\t\tindex = 0;\n\t\t}\n\t};\n};\n","// Reference counter, useful for garbage collector like functionality\n\n\"use strict\";\n\nvar d = require(\"d\")\n , extensions = require(\"../lib/registered-extensions\")\n , create = Object.create\n , defineProperties = Object.defineProperties;\n\nextensions.refCounter = function (ignore, conf, options) {\n\tvar cache, postfix;\n\n\tcache = create(null);\n\tpostfix =\n\t\t(options.async && extensions.async) || (options.promise && extensions.promise)\n\t\t\t? \"async\"\n\t\t\t: \"\";\n\n\tconf.on(\"set\" + postfix, function (id, length) { cache[id] = length || 1; });\n\tconf.on(\"get\" + postfix, function (id) { ++cache[id]; });\n\tconf.on(\"delete\" + postfix, function (id) { delete cache[id]; });\n\tconf.on(\"clear\" + postfix, function () { cache = {}; });\n\n\tdefineProperties(conf.memoized, {\n\t\tdeleteRef: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return null;\n\t\t\tif (!cache[id]) return null;\n\t\t\tif (!--cache[id]) {\n\t\t\t\tconf.delete(id);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}),\n\t\tgetRefCount: d(function () {\n\t\t\tvar id = conf.get(arguments);\n\t\t\tif (id === null) return 0;\n\t\t\tif (!cache[id]) return 0;\n\t\t\treturn cache[id];\n\t\t}),\n\t});\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","module.exports = require('./lib/numerous.js');\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","// 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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], 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","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\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 debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: 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. Must be a string. Got type \"${typeof 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('build 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: 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(options.includePrerelease ? re[t.COERCEFULL] : 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 // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.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 const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]\n let next\n while ((next = coerceRtlRegex.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 coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n const major = match[2]\n const minor = match[3] || '0'\n const patch = match[4] || '0'\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''\n\n return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)\n}\nmodule.exports = coerce\n","class LRUCache {\n constructor () {\n this.max = 1000\n this.map = new Map()\n }\n\n get (key) {\n const value = this.map.get(key)\n if (value === undefined) {\n return undefined\n } else {\n // Remove the key from the map and add it to the end\n this.map.delete(key)\n this.map.set(key, value)\n return value\n }\n }\n\n delete (key) {\n return this.map.delete(key)\n }\n\n set (key, value) {\n const deleted = this.delete(key)\n\n if (!deleted && value !== undefined) {\n // If cache is full, delete the least recently used item\n if (this.map.size >= this.max) {\n const firstKey = this.map.keys().next().value\n this.delete(firstKey)\n }\n\n this.map.set(key, value)\n }\n\n return this\n }\n}\n\nmodule.exports = LRUCache\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.DownloaderHelper=exports.DH_STATES=void 0;var _typeof='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&'function'==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?'symbol':typeof a},_createClass=function(){function a(a,b){for(var c,d=0;dthis.__opts.progressThrottle)&&(this.__opts.progressThrottle=this.__defaultOpts.progressThrottle),this.url=b||this.url,this.__reqOptions=this.__getReqOptions(this.__opts.method,this.url,this.__opts.headers),this.__initProtocol(this.url)}},{key:'getOptions',value:function a(){return this.__opts}},{key:'getMetadata',value:function a(){return this.__opts.metadata}},{key:'getStats',value:function a(){return{total:this.__total,name:this.__fileName,downloaded:this.__downloaded,progress:this.__progress,speed:this.__statsEstimate.bytes}}},{key:'getTotalSize',value:function b(){var a=this;return new Promise(function(b,c){var d=function(b){a.__initProtocol(b);var c=Object.assign({},a.__headers);c.hasOwnProperty('range')&&delete c.range;var d=a.__getReqOptions('HEAD',b,c);return Object.assign({},a.__reqOptions,d)},e=function(f,g){var h=a.__protocol.request(g,function(g){if(a.__isRequireRedirect(g)){var h=/^https?:\\/\\//.test(g.headers.location)?g.headers.location:new _url.URL(g.headers.location,f).href;return a.emit('redirected',h,f),e(h,d(h))}return 200===g.statusCode?void b({name:a.__getFileNameFromHeaders(g.headers,g),total:parseInt(g.headers['content-length'])||null}):c(new Error('Response status was '+g.statusCode))});h.on('error',function(a){return c(a)}),h.on('timeout',function(){return c(new Error('timeout'))}),h.on('uncaughtException',function(a){return c(a)}),h.end()};e(a.url,d(a.url))})}},{key:'getResumeState',value:function a(){return{downloaded:this.__downloaded,filePath:this.__filePath,fileName:this.__fileName,total:this.__total}}},{key:'resumeFromFile',value:function d(a){var b=this,c=1=g))return this.emit('skip',{totalSize:this.__total,fileName:this.__fileName,filePath:this.__filePath,downloadedSize:f}),this.__setState(this.__states.SKIPPED),b(!0)}this.__fileStream=fs.createWriteStream(this.__filePath,{})}else this.__fileStream=fs.createWriteStream(this.__filePath,{flags:'a'});this.emit('download',{fileName:this.__fileName,filePath:this.__filePath,totalSize:this.__total,isResumed:this.__isResumed,downloadedSize:this.__downloaded}),this.__retryCount=0,this.__isResumed=!1,this.__isRedirected=!1,this.__setState(this.__states.DOWNLOADING),this.__statsEstimate.time=new Date,this.__statsEstimate.throttleTime=new Date,e.on('data',function(a){return d.__calculateStats(a.length)}),this.__pipes.forEach(function(a){e.pipe(a.stream,a.options),e=a.stream}),e.pipe(this.__fileStream),e.on('error',this.__onError(b,c)),this.__fileStream.on('finish',this.__onFinished(b,c)),this.__fileStream.on('error',this.__onError(b,c))}},{key:'__hasFinished',value:function a(){return!this.__isAborted&&-1===[this.__states.PAUSED,this.__states.STOPPED,this.__states.RETRY,this.__states.FAILED,this.__states.RESUMED].indexOf(this.state)}},{key:'__isRequireRedirect',value:function b(a){return 300a.statusCode&&a.headers.hasOwnProperty('location')&&a.headers.location}},{key:'__onFinished',value:function d(a,b){var c=this;return function(){c.__fileStream.close(function(d){if(d)return b(d);if(c.__hasFinished()){var e=!!c.__total&&c.__downloaded!==c.__total;if(e&&c.__isResumable&&c.__opts.resumeOnIncomplete&&c.__resumeRetryCount<=c.__opts.resumeOnIncompleteMaxRetry)return c.__resumeRetryCount++,c.emit('warning',new Error('uncomplete download, retrying')),c.resume();c.__setState(c.__states.FINISHED),c.__pipes=[],c.emit('end',{fileName:c.__fileName,filePath:c.__filePath,totalSize:c.__total,incomplete:e,onDiskSize:c.__getFilesizeInBytes(c.__filePath),downloadedSize:c.__downloaded})}return a(c.__downloaded===c.__total)})}}},{key:'__closeFileStream',value:function b(){var a=this;return this.__fileStream?new Promise(function(b,c){a.__fileStream.close(function(a){return a?c(a):b(!0)})}):Promise.resolve(!0)}},{key:'__onError',value:function e(a,b){var c=this,d=!!(2=g?Promise.reject(b||new Error('reached the maximum retries')):(this.__retryCount++,this.__setState(this.__states.RETRY),this.emit('retry',this.__retryCount,this.__opts.retry,b),this.__response&&(this.__response.unpipe(),this.__pipes.forEach(function(a){return a.stream.unpipe()})),this.__fileStream&&this.__fileStream.removeAllListeners(),this.__requestAbort(),this.__closeFileStream().then(function(){return new Promise(function(b){return a.__retryTimeout=setTimeout(function(){return b(0this.__opts.progressThrottle)&&(this.__statsEstimate.throttleTime=b,this.emit('progress.throttled',this.getStats())),this.emit('progress',this.getStats()))}},{key:'__setState',value:function b(a){this.state=a,this.emit('stateChanged',this.state)}},{key:'__getReqOptions',value:function f(a,b){var c=2 validExt.toUpperCase() === upperExt)) {\n return filePath;\n }\n }\n else {\n if (isUnixExecutable(stats)) {\n return filePath;\n }\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions) {\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield exports.stat(filePath);\n }\n catch (err) {\n if (err.code !== 'ENOENT') {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n }\n if (stats && stats.isFile()) {\n if (exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = path.dirname(filePath);\n const upperName = path.basename(filePath).toUpperCase();\n for (const actualName of yield exports.readdir(directory)) {\n if (upperName === actualName.toUpperCase()) {\n filePath = path.join(directory, actualName);\n break;\n }\n }\n }\n catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n }\n else {\n if (isUnixExecutable(stats)) {\n return filePath;\n }\n }\n }\n }\n return '';\n });\n}\nexports.tryGetExecutablePath = tryGetExecutablePath;\nfunction normalizeSeparators(p) {\n p = p || '';\n if (exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, '\\\\');\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, '\\\\');\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, '/');\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction isUnixExecutable(stats) {\n return ((stats.mode & 1) > 0 ||\n ((stats.mode & 8) > 0 && stats.gid === process.getgid()) ||\n ((stats.mode & 64) > 0 && stats.uid === process.getuid()));\n}\n// Get the path of cmd.exe in windows\nfunction getCmdPath() {\n var _a;\n return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nexports.getCmdPath = getCmdPath;\n//# sourceMappingURL=io-util.js.map","exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction 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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports._readLinuxVersionFile = exports._getOsVersion = exports._findMatch = void 0;\nconst semver = __importStar(require(\"semver\"));\nconst core_1 = require(\"@actions/core\");\n// needs to be require for core node modules to be mocked\n/* eslint @typescript-eslint/no-require-imports: 0 */\nconst os = require(\"os\");\nconst cp = require(\"child_process\");\nconst fs = require(\"fs\");\nfunction _findMatch(versionSpec, stable, candidates, archFilter) {\n return __awaiter(this, void 0, void 0, function* () {\n const platFilter = os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates) {\n const version = candidate.version;\n core_1.debug(`check ${version} satisfies ${versionSpec}`);\n if (semver.satisfies(version, versionSpec) &&\n (!stable || candidate.stable === stable)) {\n file = candidate.files.find(item => {\n core_1.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) {\n chk = true;\n }\n else {\n chk = semver.satisfies(osVersion, item.platform_version);\n }\n }\n return chk;\n });\n if (file) {\n core_1.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [file];\n }\n return result;\n });\n}\nexports._findMatch = _findMatch;\nfunction _getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = os.platform();\n let version = '';\n if (plat === 'darwin') {\n version = cp.execSync('sw_vers -productVersion').toString();\n }\n else if (plat === 'linux') {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split('\\n');\n for (const line of lines) {\n const parts = line.split('=');\n if (parts.length === 2 &&\n (parts[0].trim() === 'VERSION_ID' ||\n parts[0].trim() === 'DISTRIB_RELEASE')) {\n version = parts[1]\n .trim()\n .replace(/^\"/, '')\n .replace(/\"$/, '');\n break;\n }\n }\n }\n }\n return version;\n}\nexports._getOsVersion = _getOsVersion;\nfunction _readLinuxVersionFile() {\n const lsbReleaseFile = '/etc/lsb-release';\n const osReleaseFile = '/etc/os-release';\n let contents = '';\n if (fs.existsSync(lsbReleaseFile)) {\n contents = fs.readFileSync(lsbReleaseFile).toString();\n }\n else if (fs.existsSync(osReleaseFile)) {\n contents = fs.readFileSync(osReleaseFile).toString();\n }\n return contents;\n}\nexports._readLinuxVersionFile = _readLinuxVersionFile;\n//# sourceMappingURL=manifest.js.map","/**\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","// 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","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","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.argStringToArray = exports.ToolRunner = void 0;\nconst os = __importStar(require(\"os\"));\nconst events = __importStar(require(\"events\"));\nconst child = __importStar(require(\"child_process\"));\nconst path = __importStar(require(\"path\"));\nconst io = __importStar(require(\"@actions/io\"));\nconst ioUtil = __importStar(require(\"@actions/io/lib/io-util\"));\nconst timers_1 = require(\"timers\");\n/* eslint-disable @typescript-eslint/unbound-method */\nconst IS_WINDOWS = process.platform === 'win32';\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */\nclass ToolRunner extends events.EventEmitter {\n constructor(toolPath, args, options) {\n super();\n if (!toolPath) {\n throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n }\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) {\n this.options.listeners.debug(message);\n }\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool\n if (IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n // Windows + verbatim\n else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n // Windows (regular)\n else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args) {\n cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n }\n }\n else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf(os.EOL);\n while (n > -1) {\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + os.EOL.length);\n n = s.indexOf(os.EOL);\n }\n return s;\n }\n catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return '';\n }\n }\n _getSpawnFileName() {\n if (IS_WINDOWS) {\n if (this._isCmdFile()) {\n return process.env['COMSPEC'] || 'cmd.exe';\n }\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if (IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args) {\n argline += ' ';\n argline += options.windowsVerbatimArguments\n ? a\n : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [argline];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return (this._endsWith(upperToolPath, '.CMD') ||\n this._endsWith(upperToolPath, '.BAT'));\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) {\n return this._uvQuoteCmdArg(arg);\n }\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) {\n return '\"\"';\n }\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n ' ',\n '\\t',\n '&',\n '(',\n ')',\n '[',\n ']',\n '{',\n '}',\n '^',\n '=',\n ';',\n '!',\n \"'\",\n '+',\n ',',\n '`',\n '~',\n '|',\n '<',\n '>',\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg) {\n if (cmdSpecialChars.some(x => x === char)) {\n needsQuotes = true;\n break;\n }\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) {\n return arg;\n }\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for (let i = arg.length; i > 0; i--) {\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === '\\\\') {\n reverse += '\\\\'; // double the slash\n }\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n }\n else {\n quoteHit = false;\n }\n }\n reverse += '\"';\n return reverse\n .split('')\n .reverse()\n .join('');\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) {\n // Need double quotation for empty argument\n return '\"\"';\n }\n if (!arg.includes(' ') && !arg.includes('\\t') && !arg.includes('\"')) {\n // No quotation needed\n return arg;\n }\n if (!arg.includes('\"') && !arg.includes('\\\\')) {\n // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n }\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for (let i = arg.length; i > 0; i--) {\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === '\\\\') {\n reverse += '\\\\';\n }\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\\\\';\n }\n else {\n quoteHit = false;\n }\n }\n reverse += '\"';\n return reverse\n .split('')\n .reverse()\n .join('');\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result['windowsVerbatimArguments'] =\n options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) {\n result.argv0 = `\"${toolPath}\"`;\n }\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */\n exec() {\n return __awaiter(this, void 0, void 0, function* () {\n // root the tool path if it is unrooted and contains relative pathing\n if (!ioUtil.isRooted(this.toolPath) &&\n (this.toolPath.includes('/') ||\n (IS_WINDOWS && this.toolPath.includes('\\\\')))) {\n // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n }\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield io.which(this.toolPath, true);\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug('arguments:');\n for (const arg of this.args) {\n this._debug(` ${arg}`);\n }\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) {\n optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL);\n }\n const state = new ExecState(optionsNonNull, this.toolPath);\n state.on('debug', (message) => {\n this._debug(message);\n });\n if (this.options.cwd && !(yield ioUtil.exists(this.options.cwd))) {\n return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n }\n const fileName = this._getSpawnFileName();\n const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = '';\n if (cp.stdout) {\n cp.stdout.on('data', (data) => {\n if (this.options.listeners && this.options.listeners.stdout) {\n this.options.listeners.stdout(data);\n }\n if (!optionsNonNull.silent && optionsNonNull.outStream) {\n optionsNonNull.outStream.write(data);\n }\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line) => {\n if (this.options.listeners && this.options.listeners.stdline) {\n this.options.listeners.stdline(line);\n }\n });\n });\n }\n let errbuffer = '';\n if (cp.stderr) {\n cp.stderr.on('data', (data) => {\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) {\n this.options.listeners.stderr(data);\n }\n if (!optionsNonNull.silent &&\n optionsNonNull.errStream &&\n optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr\n ? optionsNonNull.errStream\n : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line) => {\n if (this.options.listeners && this.options.listeners.errline) {\n this.options.listeners.errline(line);\n }\n });\n });\n }\n cp.on('error', (err) => {\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on('exit', (code) => {\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on('close', (code) => {\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on('done', (error, exitCode) => {\n if (stdbuffer.length > 0) {\n this.emit('stdline', stdbuffer);\n }\n if (errbuffer.length > 0) {\n this.emit('errline', errbuffer);\n }\n cp.removeAllListeners();\n if (error) {\n reject(error);\n }\n else {\n resolve(exitCode);\n }\n });\n if (this.options.input) {\n if (!cp.stdin) {\n throw new Error('child process missing stdin');\n }\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nexports.ToolRunner = ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */\nfunction argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = '';\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') {\n arg += '\\\\';\n }\n arg += c;\n escaped = false;\n }\n for (let i = 0; i < argString.length; i++) {\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) {\n inQuotes = !inQuotes;\n }\n else {\n append(c);\n }\n continue;\n }\n if (c === '\\\\' && escaped) {\n append(c);\n continue;\n }\n if (c === '\\\\' && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === ' ' && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = '';\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) {\n args.push(arg.trim());\n }\n return args;\n}\nexports.argStringToArray = argStringToArray;\nclass ExecState extends events.EventEmitter {\n constructor(options, toolPath) {\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = '';\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) {\n throw new Error('toolPath must not be empty');\n }\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) {\n this.delay = options.delay;\n }\n }\n CheckComplete() {\n if (this.done) {\n return;\n }\n if (this.processClosed) {\n this._setResult();\n }\n else if (this.processExited) {\n this.timeout = timers_1.setTimeout(ExecState.HandleTimeout, this.delay, this);\n }\n }\n _debug(message) {\n this.emit('debug', message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) {\n error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n }\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) {\n error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n }\n else if (this.processStderr && this.options.failOnStdErr) {\n error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit('done', error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) {\n return;\n }\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay /\n 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n//# sourceMappingURL=toolrunner.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RetryHelper = void 0;\nconst core = __importStar(require(\"@actions/core\"));\n/**\n * Internal class for retries\n */\nclass RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds) {\n if (maxAttempts < 1) {\n throw new Error('max attempts should be greater than or equal to 1');\n }\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) {\n throw new Error('min seconds should be less than or equal to max seconds');\n }\n }\n execute(action, isRetryable) {\n return __awaiter(this, void 0, void 0, function* () {\n let attempt = 1;\n while (attempt < this.maxAttempts) {\n // Try\n try {\n return yield action();\n }\n catch (err) {\n if (isRetryable && !isRetryable(err)) {\n throw err;\n }\n core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return (Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) +\n this.minSeconds);\n }\n sleep(seconds) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => setTimeout(resolve, seconds * 1000));\n });\n }\n}\nexports.RetryHelper = RetryHelper;\n//# sourceMappingURL=retry-helper.js.map","import { mkdir, mkdirSync, stat, statSync, } from 'fs';\nexport const optsArg = (opts) => {\n if (!opts) {\n opts = { mode: 0o777 };\n }\n else if (typeof opts === 'object') {\n opts = { mode: 0o777, ...opts };\n }\n else if (typeof opts === 'number') {\n opts = { mode: opts };\n }\n else if (typeof opts === 'string') {\n opts = { mode: parseInt(opts, 8) };\n }\n else {\n throw new TypeError('invalid options argument');\n }\n const resolved = opts;\n const optsFs = opts.fs || {};\n opts.mkdir = opts.mkdir || optsFs.mkdir || mkdir;\n opts.mkdirAsync = opts.mkdirAsync\n ? opts.mkdirAsync\n : async (path, options) => {\n return new Promise((res, rej) => resolved.mkdir(path, options, (er, made) => er ? rej(er) : res(made)));\n };\n opts.stat = opts.stat || optsFs.stat || stat;\n opts.statAsync = opts.statAsync\n ? opts.statAsync\n : async (path) => new Promise((res, rej) => resolved.stat(path, (err, stats) => (err ? rej(err) : res(stats))));\n opts.statSync = opts.statSync || optsFs.statSync || statSync;\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || mkdirSync;\n return resolved;\n};\n//# sourceMappingURL=opts-arg.js.map","import { dirname } from 'path';\nimport { optsArg } from './opts-arg.js';\nexport const mkdirpManualSync = (path, options, made) => {\n const parent = dirname(path);\n const opts = { ...optsArg(options), recursive: false };\n if (parent === path) {\n try {\n return opts.mkdirSync(path, opts);\n }\n catch (er) {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== 'EISDIR') {\n throw er;\n }\n return;\n }\n }\n try {\n opts.mkdirSync(path, opts);\n return made || path;\n }\n catch (er) {\n const fer = er;\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts, mkdirpManualSync(parent, opts, made));\n }\n if (fer && fer.code !== 'EEXIST' && fer && fer.code !== 'EROFS') {\n throw er;\n }\n try {\n if (!opts.statSync(path).isDirectory())\n throw er;\n }\n catch (_) {\n throw er;\n }\n }\n};\nexport const mkdirpManual = Object.assign(async (path, options, made) => {\n const opts = optsArg(options);\n opts.recursive = false;\n const parent = dirname(path);\n if (parent === path) {\n return opts.mkdirAsync(path, opts).catch(er => {\n // swallowed by recursive implementation on posix systems\n // any other error is a failure\n const fer = er;\n if (fer && fer.code !== 'EISDIR') {\n throw er;\n }\n });\n }\n return opts.mkdirAsync(path, opts).then(() => made || path, async (er) => {\n const fer = er;\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(parent, opts).then((made) => mkdirpManual(path, opts, made));\n }\n if (fer && fer.code !== 'EEXIST' && fer.code !== 'EROFS') {\n throw er;\n }\n return opts.statAsync(path).then(st => {\n if (st.isDirectory()) {\n return made;\n }\n else {\n throw er;\n }\n }, () => {\n throw er;\n });\n });\n}, { sync: mkdirpManualSync });\n//# sourceMappingURL=mkdirp-manual.js.map","import { dirname } from 'path';\nexport const findMade = async (opts, parent, path) => {\n // we never want the 'made' return value to be a root directory\n if (path === parent) {\n return;\n }\n return opts.statAsync(parent).then(st => (st.isDirectory() ? path : undefined), // will fail later\n // will fail later\n er => {\n const fer = er;\n return fer && fer.code === 'ENOENT'\n ? findMade(opts, dirname(parent), parent)\n : undefined;\n });\n};\nexport const findMadeSync = (opts, parent, path) => {\n if (path === parent) {\n return undefined;\n }\n try {\n return opts.statSync(parent).isDirectory() ? path : undefined;\n }\n catch (er) {\n const fer = er;\n return fer && fer.code === 'ENOENT'\n ? findMadeSync(opts, dirname(parent), parent)\n : undefined;\n }\n};\n//# sourceMappingURL=find-made.js.map","import { dirname } from 'path';\nimport { findMade, findMadeSync } from './find-made.js';\nimport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js';\nimport { optsArg } from './opts-arg.js';\nexport const mkdirpNativeSync = (path, options) => {\n const opts = optsArg(options);\n opts.recursive = true;\n const parent = dirname(path);\n if (parent === path) {\n return opts.mkdirSync(path, opts);\n }\n const made = findMadeSync(opts, path);\n try {\n opts.mkdirSync(path, opts);\n return made;\n }\n catch (er) {\n const fer = er;\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManualSync(path, opts);\n }\n else {\n throw er;\n }\n }\n};\nexport const mkdirpNative = Object.assign(async (path, options) => {\n const opts = { ...optsArg(options), recursive: true };\n const parent = dirname(path);\n if (parent === path) {\n return await opts.mkdirAsync(path, opts);\n }\n return findMade(opts, path).then((made) => opts\n .mkdirAsync(path, opts)\n .then(m => made || m)\n .catch(er => {\n const fer = er;\n if (fer && fer.code === 'ENOENT') {\n return mkdirpManual(path, opts);\n }\n else {\n throw er;\n }\n }));\n}, { sync: mkdirpNativeSync });\n//# sourceMappingURL=mkdirp-native.js.map","const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;\nimport { parse, resolve } from 'path';\nexport const pathArg = (path) => {\n if (/\\0/.test(path)) {\n // simulate same failure that node raises\n throw Object.assign(new TypeError('path must be a string without null bytes'), {\n path,\n code: 'ERR_INVALID_ARG_VALUE',\n });\n }\n path = resolve(path);\n if (platform === 'win32') {\n const badWinChars = /[*|\"<>?:]/;\n const { root } = parse(path);\n if (badWinChars.test(path.substring(root.length))) {\n throw Object.assign(new Error('Illegal characters in path.'), {\n path,\n code: 'EINVAL',\n });\n }\n }\n return path;\n};\n//# sourceMappingURL=path-arg.js.map","import { mkdir, mkdirSync } from 'fs';\nimport { optsArg } from './opts-arg.js';\nconst version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version;\nconst versArr = version.replace(/^v/, '').split('.');\nconst hasNative = +versArr[0] > 10 || (+versArr[0] === 10 && +versArr[1] >= 12);\nexport const useNativeSync = !hasNative\n ? () => false\n : (opts) => optsArg(opts).mkdirSync === mkdirSync;\nexport const useNative = Object.assign(!hasNative\n ? () => false\n : (opts) => optsArg(opts).mkdir === mkdir, {\n sync: useNativeSync,\n});\n//# sourceMappingURL=use-native.js.map","import { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js';\nimport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js';\nimport { optsArg } from './opts-arg.js';\nimport { pathArg } from './path-arg.js';\nimport { useNative, useNativeSync } from './use-native.js';\n/* c8 ignore start */\nexport { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js';\nexport { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js';\nexport { useNative, useNativeSync } from './use-native.js';\n/* c8 ignore stop */\nexport const mkdirpSync = (path, opts) => {\n path = pathArg(path);\n const resolved = optsArg(opts);\n return useNativeSync(resolved)\n ? mkdirpNativeSync(path, resolved)\n : mkdirpManualSync(path, resolved);\n};\nexport const sync = mkdirpSync;\nexport const manual = mkdirpManual;\nexport const manualSync = mkdirpManualSync;\nexport const native = mkdirpNative;\nexport const nativeSync = mkdirpNativeSync;\nexport const mkdirp = Object.assign(async (path, opts) => {\n path = pathArg(path);\n const resolved = optsArg(opts);\n return useNative(resolved)\n ? mkdirpNative(path, resolved)\n : mkdirpManual(path, resolved);\n}, {\n mkdirpSync,\n mkdirpNative,\n mkdirpNativeSync,\n mkdirpManual,\n mkdirpManualSync,\n sync: mkdirpSync,\n native: mkdirpNative,\n nativeSync: mkdirpNativeSync,\n manual: mkdirpManual,\n manualSync: mkdirpManualSync,\n useNative,\n useNativeSync,\n});\n//# sourceMappingURL=index.js.map","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import os from 'node:os';\n\nconst nameMap = new Map([\n\t[24, ['Sequoia', '15']],\n\t[23, ['Sonoma', '14']],\n\t[22, ['Ventura', '13']],\n\t[21, ['Monterey', '12']],\n\t[20, ['Big Sur', '11']],\n\t[19, ['Catalina', '10.15']],\n\t[18, ['Mojave', '10.14']],\n\t[17, ['High Sierra', '10.13']],\n\t[16, ['Sierra', '10.12']],\n\t[15, ['El Capitan', '10.11']],\n\t[14, ['Yosemite', '10.10']],\n\t[13, ['Mavericks', '10.9']],\n\t[12, ['Mountain Lion', '10.8']],\n\t[11, ['Lion', '10.7']],\n\t[10, ['Snow Leopard', '10.6']],\n\t[9, ['Leopard', '10.5']],\n\t[8, ['Tiger', '10.4']],\n\t[7, ['Panther', '10.3']],\n\t[6, ['Jaguar', '10.2']],\n\t[5, ['Puma', '10.1']],\n]);\n\nexport default function macosRelease(release) {\n\trelease = Number((release || os.release()).split('.')[0]);\n\n\tconst [name, version] = nameMap.get(release) || ['Unknown', ''];\n\n\treturn {\n\t\tname,\n\t\tversion,\n\t};\n}\n","import macosRelease from \"macos-release\"\nimport memoize from \"memoizee\"\n\n/**\n * Get macOS version\n *\n * @returns {number[]} - The macOS version as an array of numbers\n */\nfunction macosVersion_raw() {\n if (process.platform !== \"darwin\") {\n return []\n }\n\n const { version } = macosRelease()\n return version.split(\".\").map((v) => Number.parseInt(v, 10))\n}\nexport const macosVersion = memoize(macosVersion_raw)\n","import { tmpdir } from \"os\"\nimport { execRootSync } from \"admina\"\nimport { error, info } from \"ci-log\"\nimport { readFile, writeFile } from \"fs/promises\"\nimport { DownloaderHelper } from \"node-downloader-helper\"\nimport { dirname, join } from \"patha\"\nimport { hasNala, installAptPack, qualifiedNeededAptPackage } from \"setup-apt\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n await installAptPack([{ name: \"python3-apt\" }])\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n // If nala is available in the default repositories, install it\n try {\n const nalaPack = await qualifiedNeededAptPackage({ name: \"nala\", version })\n if (nalaPack !== undefined) {\n await installAptPack([{ name: nalaPack }])\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala: ${err}`)\n }\n\n // Nala is not available in the default repositories\n // Check if the legacy version is available\n try {\n const nalaLegacyPack = await qualifiedNeededAptPackage({ name: \"nala-legacy\" })\n if (nalaLegacyPack !== undefined) {\n await installAptPack([{ name: nalaLegacyPack }], true)\n return { binDir }\n }\n } catch (err) {\n // ignore\n info(`Failed to install nala-legacy: ${err}`)\n }\n\n // Install via the installer script\n await setupNalaViaInstaller()\n\n return { binDir }\n}\n\nasync function setupNalaViaInstaller() {\n const installer = new DownloaderHelper(\n \"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh\",\n tmpdir(),\n { fileName: \"install-nala.sh\" },\n )\n installer.on(\"error\", (err) => {\n throw new Error(`Failed to download install-nala.sh: ${err}`)\n })\n await installer.start()\n\n const installerPath = join(tmpdir(), \"install-nala.sh\")\n\n // Patch the installer script to not use sudo explicitly\n const script = await readFile(installerPath, \"utf8\")\n await writeFile(installerPath, script.replace(/sudo/g, \"\"))\n\n await installAptPack([{ name: \"wget\" }])\n\n try {\n execRootSync(\"bash\", [installerPath])\n } catch (err) {\n error(`Failed to install nala via installer: ${err}`)\n execRootSync(\"apt\", [\"install\", \"-y\", \"-t\", \"nala\", \"nala\"])\n }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\n}\n","import { grantUserWriteAccess } from \"admina\"\nimport { info, notice } from \"ci-log\"\nimport { addPath } from \"envosman\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { installAptPack } from \"setup-apt\"\nimport which from \"which\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport type { InstallationInfo } from \"../utils/setup/setupBin.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await installAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n // clone if not already exists\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. Skipping the clone`)\n }\n\n // if version specified, checkout the version\n if (version !== \"\" && version !== \"true\") {\n info(`Checking out vcpkg version ${version}`)\n execaSync(\"git\", [\"checkout\", version], {\n cwd: setupDir,\n stdio: \"inherit\",\n })\n }\n\n // bootstrap vcpkg\n execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(setupDir)\n\n await addPath(setupDir, rcOptions)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { setupBrew } from \"setup-brew\"\nimport { setupBazel } from \"./bazel/bazel.js\"\nimport { setupCcache } from \"./ccache/ccache.js\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey.js\"\nimport { setupCmake } from \"./cmake/cmake.js\"\nimport { setupConan } from \"./conan/conan.js\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck.js\"\nimport { setupDoxygen } from \"./doxygen/doxygen.js\"\nimport { setupGcc } from \"./gcc/gcc.js\"\nimport { setupGcovr } from \"./gcovr/gcovr.js\"\nimport { setupGraphviz } from \"./graphviz/graphviz.js\"\nimport { setupKcov } from \"./kcov/kcov.js\"\nimport { setupClangFormat, setupClangTools, setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMake } from \"./make/make.js\"\nimport { setupMeson } from \"./meson/meson.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { setupNala } from \"./nala/nala.js\"\nimport { setupNinja } from \"./ninja/ninja.js\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage.js\"\nimport { setupPowershell } from \"./powershell/powershell.js\"\nimport { setupPython } from \"./python/python.js\"\nimport { setupSccache } from \"./sccache/sccache.js\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip.js\"\nimport { setupTask } from \"./task/task.js\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg.js\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall.js\"\n\n/** The setup functions */\nexport const setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** An array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\n","import { execRootSync } from \"admina\"\nimport { addAptKeyViaURL, installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return installBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaURL({\n fileName: \"bazel-archive-keyring.gpg\",\n keyUrl: \"https://bazel.build/bazel-release.pub.gpg\",\n })\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return installAptPack([{ name: \"bazel\", version }], true)\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { addEnv } from \"envosman\"\nimport semverMajor from \"semver/functions/major\"\nimport semverValid from \"semver/functions/valid\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\", rcOptions)\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov, rcOptions)\n}\n","import { addPath } from \"envosman\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return installBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { installBrewPack } from \"setup-brew\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return installBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return installBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"cppcheck\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir, rcOptions)\n return binDir\n}\n","import { addPath } from \"envosman\"\nimport { installAptPack } from \"setup-apt\"\nimport { installBrewPack } from \"setup-brew\"\nimport { rcOptions } from \"../cli-options.js\"\nimport { hasDnf } from \"../utils/env/hasDnf.js\"\nimport { isArch } from \"../utils/env/isArch.js\"\nimport { isUbuntu } from \"../utils/env/isUbuntu.js\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack.js\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack.js\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack.js\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n await installBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\", rcOptions)\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return installAptPack([{ name: \"make\", version }])\n }\n throw new Error(\"Unsupported linux distribution\")\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n}\n","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport { finalizeRC } from \"envosman\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates.js\"\nimport { parseArgs, printHelp, rcOptions } from \"./cli-options.js\"\nimport { installCompiler } from \"./compilers.js\"\nimport { installTool } from \"./installTool.js\"\nimport { tools } from \"./tool.js\"\nimport { isArch } from \"./utils/env/isArch.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version.js\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack.js\"\nimport { syncVersions } from \"./versions/versions.js\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"~\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n Number.parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeRC(rcOptions)\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup-cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n for (const tool of successMessages) {\n success(tool)\n }\n for (const tool of errorMessages) {\n error(tool)\n }\n\n info(\"setup-cpp finished\")\n\n if (!GITHUB_ACTIONS) {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","import { join } from \"path\"\nimport { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { addEnv } from \"envosman\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage, rcOptions } from \"./cli-options.js\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc.js\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr.js\"\nimport { setupLLVM } from \"./llvm/llvm.js\"\nimport { setupMSVC } from \"./msvc/msvc.js\"\nimport { getVersion } from \"./versions/versions.js\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch,\n )\n\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion = compiler === \"mingw\"\n ? getVersion(\"mingw\", version, osVersion)\n : getVersion(\"gcc\", version, osVersion)\n const installationInfo = compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n await activateGcovGCC(gccVersion)\n\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch,\n )\n\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\", rcOptions)\n }\n\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\", rcOptions), addEnv(\"CXX\", \"clang++\", rcOptions)])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"names":["issueCommand","command","properties","message","cmd","Command","process","stdout","write","os","EOL","rng","poolPtr","rnds8Pool","length","crypto","randomFillSync","slice","validate","uuid","REGEX","test","stringify","arr","offset","byteToHex","toLowerCase","TypeError","parse","v","Uint8Array","parseInt","v35","name","version","hashfunc","generateUUID","value","namespace","buf","str","unescape","encodeURIComponent","bytes","i","push","charCodeAt","stringToBytes","set","err","DNS","URL","getProxyUrl","reqUrl","usingSsl","protocol","hostname","host","hostLower","startsWith","isLoopbackAddress","noProxy","env","reqPort","port","upperReqHosts","toUpperCase","upperNoProxyItem","split","map","x","trim","filter","some","endsWith","checkBypass","proxyVar","DecodedURL","TunnelingAgent","options","self","this","proxyOptions","proxy","maxSockets","http","Agent","defaultMaxSockets","requests","sockets","on","socket","localAddress","toOptions","len","pending","splice","request","onSocket","destroy","removeSocket","createSecureSocket","cb","prototype","createSocket","call","hostHeader","getHeader","tlsOptions","mergeOptions","servername","replace","secureSocket","tls","connect","indexOf","target","arguments","overrides","keys","Object","j","keyLen","k","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","next","e","rejected","result","done","then","apply","defineProperty","exports","summary","markdownSummary","SUMMARY_DOCS_URL","SUMMARY_ENV_VAR","os_1","require$$0","fs_1","require$$1","access","appendFile","writeFile","promises","_summary","constructor","_buffer","filePath","_filePath","pathFromEnv","Error","constants","R_OK","W_OK","_a","wrap","tag","content","attrs","htmlAttrs","entries","key","join","overwrite","writeFunc","encoding","emptyBuffer","clear","isEmptyBuffer","addRaw","text","addEOL","addCodeBlock","code","lang","assign","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","header","data","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","includes","addSeparator","addBreak","addQuote","cite","addLink","href","getInput","val","required","trimWhitespace","error","command_1","utils_1","toCommandProperties","startGroup","issue","endGroup","__createBinding","create","o","m","k2","enumerable","get","__setModuleDefault","__importStar","mod","__esModule","hasOwnProperty","getIDToken","getState","group","info","notice","warning","debug","isDebug","setCommandEcho","setOutput","getBooleanInput","getMultilineInput","addPath","exportVariable","ExitCode","file_command_1","require$$2","require$$3","path","require$$4","oidc_utils_1","oidcUtils","OidcClient","http_client_1","auth_1","core_1","createHttpClient","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","HttpClient","BearerCredentialHandler","getRequestToken","token","getIDTokenUrl","runtimeUrl","getCall","id_token_url","httpclient","res","getJson","catch","statusCode","id_token","audience","setSecret","require$$5","convertedVal","toCommandValue","issueFileCommand","prepareKeyValueMessage","secret","inputPath","delimiter","inputs","input","enabled","setFailed","exitCode","Failure","fn","saveState","aud","summary_1","require$$6","summary_2","path_utils_1","pathUtils","toPlatformPath","toWin32Path","toPosixPath","pth","sep","require$$7","GITHUB_ACTIONS","core.error","console","log","msg","core.warning","core.notice","core.info","isexe","er","is","core","ignoreErrors","resolveCommandAttempt","parsed","withoutPathExt","cwd","hasCustomCwd","shouldSwitchCwd","chdir","disabled","resolved","which","sync","getPathKey","pathExt","notFoundError","original","syscall","errno","spawnargs","args","verifyENOENT","status","isWin","file","spawn","spawned","cp","enoent","hookChildProcess","pathKey","platform","reverse","find","isStream","stream","pipe","isWritableStream","writable","_write","_writableState","async","getStream","inputStream","maxBuffer","Infinity","bufferStream","rejectPromise","getBufferedLength","BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","streamPipelinePromisified","MaxBufferError","execa","handleArguments","joinCommand","escapedCommand","getEscapedCommand","logCommand","validateTimeout","childProcess","dummySpawned","ChildProcess","errorPromise","makeError","stderr","all","timedOut","isCanceled","killed","mergePromise","spawnedPromise","getSpawnedPromise","timedPromise","setupTimeout","processDone","setExitHandler","kill","spawnedKill","bind","cancel","spawnedCancel","handlePromiseOnce","onetime","signal","stdoutResult","stderrResult","allResult","getSpawnedResult","handleOutput","returnedError","aborted","failed","handleInput","makeAllStream","addPipeMethods","execaSync","handleInputSync","spawnSync","execPowershell","startupFlags","execOptions","stdio","execa.execa","powershell","maybePwsh","nothrow","maybePowerShell","getPowerShell","t","r","configurable","getuid","CI","n","s","h","parseCommand","b","a","l","c","y","S","f","R","p","SUDO_USER","w","statSync","isDirectory","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","mixin$1","source","sourceObject","forEach","symbol","globalThis_1","isImplemented","globalThis","Array","naiveFallback","window","implementation","__global__","isSymbol","toStringTag","validateSymbol","es6Symbol","global","validTypes","object","Symbol","iterator","toPrimitive","SymbolPolyfill","HiddenSymbol","isNativeSafe","d","NativeSymbol","generateName","objPrototype","created","desc","ie11BugWorkaround","postfix","gs","setupStandardSymbols","standardSymbols","defineProperties","hasInstance","isConcatSpreadable","match","search","species","unscopables","setupSymbolRegistry","registry","symbolRegistry","for","String","keyFor","ignore","description","polyfill","__description__","__name__","toString","valueOf","from","iteratorSymbol","isArguments","objToString","id","isFunction","isFunctionStringTag","RegExp","toPosInt","callable","validValue","isValue","isString","isArray","Function","shim","arrayLike","Context","getIterator","mapFn","numberIsNaN","isNan","Number","isNaN","NaN","objHasOwnProperty","abs","Math","floor","eIndexOf","searchElement","fromIndex","obj","targetObj","index","ensureCallable","byObserver","Observer","queue","currentQueue","node","document","createTextNode","callback","concat","shift","observe","characterData","nextTick","queueMicrotask","MutationObserver","WebKitMutationObserver","setImmediate","setTimeout","isCallable","isPromise","isPromiseModule","default","objectMap","primitiveSet","arg","ensureString","ensureValue","stringifiable","validateStringifiable","validateStringifiableValue","toShortString","safeToString","toShortStringRepresentation","string","char","JSON","supportedModes","registeredExtensions","promise","mode","conf","waiting","cache","isFailed","emit","onSuccess","count","onFailure","delete","resolvedMode","nextTickFailure","finally","context","oldCache","pathExists","fsPromises","untildifyUser","maybeHomeDir","isSudo","homedir","userHomeDir","tildeRegex","addRCHeader","rcHeader","guard","rcPath","readFile","addSourceToTargetRc","sourceRcString","targetRcPath","addEnv","valGiven","givenOptions","escapeSpace","defaultRcPath","shouldEscapeSpace","spaceEscaped","escapeQuote","escapeString","addEnvSystem","sourceRCInRc","ignoredPaths","checkedPath","PATH","isIgnoredPath","ghAddPath","addPathSystem","addLocale","localeData","locales","pluralize","unit","config","unitTypeData","locale","lookupOrder","unitTypeLookupOrder","unshift","unitType","Set","getLocaleDataForUnitType","numerous","SPACE_CHARACTERS","Range","range","parseOptions","loose","includePrerelease","raw","Comparator","formatted","parseRange","first","isNullSet","isAny","comps","format","memoKey","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","cached","re","HYPHENRANGELOOSE","HYPHENRANGE","hyphenReplace","COMPARATORTRIM","comparatorTrimReplace","TILDETRIM","tildeTrimReplace","CARETTRIM","caretTrimReplace","rangeList","comp","parseComparator","replaceGTE0","COMPARATORLOOSE","rangeMap","Map","comparators","size","has","values","intersects","thisComparators","isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","SemVer","testSet","safeRe","remainingComparators","testComparator","pop","otherComparator","replaceCarets","replaceTildes","replaceXRanges","replaceStars","isX","replaceTilde","TILDELOOSE","TILDE","_","M","pr","ret","replaceCaret","z","CARETLOOSE","CARET","replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","prerelease","semver","ANY","allowed","major","minor","patch","operator","COMPARATOR","cmp","__generator","body","verb","op","g","ops","trys","sent","throw","return","toArr","any","toVal","out","opts","old","nxt","boolean","addUpdateAlternativesToRc","rcOptions","priority","execRoot","updateAptAlternatives","sourceRC","getAptEnv","apt","DEBIAN_FRONTEND","LANG","LC_ALL","hasNala","getApt","escapeStringRegexp","isAptPackInstalled","pack","line","filterAndQualifyAptPackages","packages","qualifiedNeededAptPackage","qualified","aptPackageType","AptPackageType","NameDashVersion","NameEqualsVersion","Name","getAptArg","escapeRegex","showStdout","updatedRepos","None","updateAptReposMemoized","installAptPack","update","allRepositories","flatMap","repository","repo","initAptMemoized","execRootSync","aptTimeout","defaultExecOptions","installAddAptRepo","addAptRepository","addRepositories","needToInstall","binDir","addAptKeyViaURL","keyServer","defaultKeyServer","fileName","keyStorePath","assertGpgFileName","addAptKeyViaServer","addAptKeys","isExecaError","retryErrors","keyUrl","defaultKeyStorePath","dlPath","tmpdir","dl","DownloaderHelper","start","initGpg","s$1","setupBrew","maybeBinDir","dirname","getDownloadPath","NONINTERACTIVE","getBrewBinDir","arch","installBrewPack","cask","hasBrew","brewPath","hasDnf","hasDnfCache","isArch","isArchCache","isUbuntu","isUbuntuCache","u","E","N","setupChocolatey","_version","_setupDir","_arch","SystemRoot","chocoPath","ALLUSERSPROFILE","maybeChoco","ChocolateyInstall","setupChocoPack","hasChoco","TMP","TEMP","Path","extendEnv","setupDnfPack","getDnfArg","setupPacmanPack","aur","pacman","didUpdate","didInit","runInstall","availableVersions","matchAll","pacmanSiVersionRegex","availablePacmanVersions","rmRF","ioUtil","IS_WINDOWS","rm","force","recursive","retryDelay","mkdirP","fsPath","assert_1$1","ok","mkdir","findInPath","tool","extensions","extension","isRooted","tryGetExecutablePath","directories","matches","directory","cpDirRecursive","sourceDir","destDir","currentDepth","files","readdir","srcFile","destFile","lstat","copyFile","chmod","stat","isSymbolicLink","unlink","symlinkFull","readlink","symlink","exists","exec","commandLine","commandArgs","tr","argStringToArray","toolPath","ToolRunner","findAllVersions","toolName","versions","_getCacheDirectory","fs","existsSync","children","readdirSync","child","isExplicitVersion","fullPath","_createExtractFolder","dest","_getTempDirectory","v4_1","io","_createToolPath","folderPath","clean","core$1","markerPath","_completeToolPath","fs$1","writeFileSync","versionSpec","valid","evaluateVersions","sort","gt","potential","satisfies","cacheDirectory","assert_1","tempDirectory","_getGlobal","defaultValue","retryAsPromised","optionsInput","$current","max","timeout","backoffBase","backoffExponent","report","Date","toLocaleTimeString","backoffTimeout","lastError","clearTimeout","TimeoutError","current","shouldRetry","pow","setupSevenZip","getArchiveType","ext","extract7Zip","sevenZip","getSevenZip","grantUserWriteAccess","extractExe","extractZip","extractTarByExe","stripComponents","flags","archiveType","installTarDependencies","setupBin","getPackageInfo","setupDir","RUNNER_TEMP","RUNNER_TOOL_CACHE","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","dir","installDir","binFile","givenExtractFunction","downloaded","retry","downloadedFilePath","now","basename","downloadTool","tryDownload","getExtractFunction","downloadExtractInstall","maybeGetInput","CACHE_TOOLS","cacheDir","cacheInstallation","getCmakePackageInfo","semVersion","semverCoerce","isOld","semverLte","osArchStr","folderName","addExeExt","setupCmake","requestWorks","method","req","isStatusOK","_error","end","getSpecificVersions","semversion","semverCompare","localeCompare","isBinUptoDate","givenFile","targetVersion","versionRegex","defaultVersionRegex","givenVersion","execout","getExecOutput","version_output","getBinVersion","getLLVMDefault","setupPython","installInfo","foundPython","findPython","bin","setupActionsPython","import","brewPythonPrefix","brewPythonBin","setupPythonSystem","findOrSetupPython","require$$0$3","foundPip","maybePip","findPip","ensurePipUpgrade","setupPipPackSystem","setupPip","findOrSetupPip","hasPipx","setupPipPackWithPython","upgrade","usePipx","setupPipx","isLibrary","setupWheel","pythonBin","isPythonUpToDate","rootDir","pathParse","root","pythonDirs","pythonDir","candidate","pythonBinPath","MinVersions","python","pythonBinPaths","pipCandidate","isPipUptoDate","pip","pipPaths","pipPath","err1","err2","getVersion","osVersion","isVersionDefault","DefaultLinuxVersion","toolLinuxVersions","osVersionMaj","satisfyingVersion","getDefaultLinuxVersion","DefaultVersions","detectUsingOsVersion","versionSplitted","setupPipPack","getPython","givenPython","user","isPipx","hasPackage","pipHasPackage","nameAndVersion","upgradeFlag","userFlag","PIPX_HOME","getPipxHome","PIPX_BIN_DIR","getPipxBinDir","execPaths","addPythonBaseExecPrefix","dirs","dirIndex","findIndex","exist","whichDir","findBinDir","addPythonPrefix","setupGraphviz","activateGraphviz","setupDmg","ArchiveHdi","dmg","read","entry","extract","getDoxygenPackageInfo","setupMacOSSDK","xcrun","sdkroot","getGccPackageInfo","asset","assets","tags","filterTag","mingwVersion","matchedNames","filterName","matchAsset","loadGitHubAssetList","setupGcc","installationInfo","setupChocoMingw","gccExe","exe1","exe2","tag1","tag2","v1","v2","compare","compareVersion","versionStdout","versionMatch","getGccCmdVersion","majorVersion","semverMajor","matcherPath","addGccLoggingMatcher","activateGcc","getNinjaPackageInfo","ninjaPlatform","getNinjaPlatform","setupNinja","getDownloadKcovPackageInfo","getBuildKcovPackageInfo","buildKcov","cmake","ubuntuVersion","getCmake","buildDir","vsversion_to_versionnumber","vsversion","VsYearVersion","vsversion_to_year","year","ver","findVcvarsall","vsversion_number","version_pattern","upper_bound","pattern","child_process","execSync","installationPath","findWithVswhere","years","YEARS","prog_files","PROGRAM_FILES","ed","EDITIONS","PROGRAM_FILES_X86","isPathVariable","setupVCVarsall","VCTargetsPath","toolset","sdk","uwp","spectre","setupMSVCDevCmd","getArch","installTool","setupCppDir","successMessages","errorMessages","DEFAULT_TIMEOUT","hasLLVM","milliseconds","fallback","customTimers","timer","cancelablePromise","sign","getAbortedReason","addEventListener","timeoutError","pTimeout","setupVersion","setupFunction","setups","getSuccessMessage","installToolImpl","stack","getGitHubUrl","prefix","suffix","getReleaseUrl","getUrl","DARWIN_X64_MISSING","getDarwinUrl","versionGiven","rc","UBUNTU_RC","linuxVersion","givenUbuntuVersion","VERSIONS","UBUNTU_X64_SUFFIX_MAP","MAX_UBUNTU","getLinuxUrl","WIN32_MISSING","olderThan9_1","isUrlOnline","getWin32Url","getLLVMPackageInfo","specificVersion","getSpecificVersionAndUrl","setupLLVM","setupLLVMWithoutActivation","ld","LD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","actPromises","activateLLVM","setupLLVMOnly","LLVMPackages","All","coeredVersion","semverValid","coercedVersion","semverCoerceIfInvalid","installationFolder","installerScript","installerPath","neededPackages","givenScript","target_path","script","NODE_DEBUG","debugScript","nonInteractiveScript","choosePackages","installingPack","regexp","isAptPackRegexInstalled","info$1","removeConflictingPackages","useNalaScript","patchAptLLVMScript","shell","setupLLVMApt","llvmBinaryDeps","addLLVMLoggingMatcher","setupMSVC","installed","vcvarsall_path","addMSVCLoggingMatcher","getPowerShellPackageInfo","getPowershellUrl","arm64","arm","arm32","aarch64","x64","getTaskPackageInfo","taskPlatform","getTaskPlatform","taskArch","getTaskArch","checkEnv","vendors","constant","isPR","vendor","isCI","ne","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","utils","annotationProperties","title","startLine","endLine","col","startColumn","endColumn","__createBinding$6","cmdStr","escapeData","byteToHex$1","substr","_nodeId","_clockseq","_lastMSecs","_lastNSecs","v3$1","Buffer","createHash","digest","v5","clockseq","seedBytes","random","msecs","nsecs","dt","tl","tmh","rnds","__createBinding$5","fileCommand","uuid_1","fs$4","appendFileSync","v4","convertedValue","_decodedUsername","_decodedPassword","base","super","decodeURIComponent","username","password","https","events","util","tunnel","httpOverHttp","agent","httpsOverHttp","defaultPort","httpOverHttps","httpsOverHttps","inherits","EventEmitter","addRequest","onFree","onCloseOrRemove","removeListener","onConnect","head","connectReq","removeAllListeners","placeholder","connectOptions","headers","proxyAuth","useChunkedEncodingByDefault","once","cause","pos","HttpCodes","Headers","MediaTypes","HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","RetryableHttpVerbs","HttpClientError","setPrototypeOf","HttpClientResponse","readBody","output","alloc","chunk","readBodyBuffer","chunks","lowercaseKeys","reduce","userAgent","handlers","_ignoreSslError","_socketTimeout","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_agent","_proxyAgent","_proxyAgentDispatcher","_keepAlive","_disposed","ignoreSslError","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","requestUrl","additionalHeaders","del","post","put","sendStream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","postJson","ContentType","putJson","patchJson","parsedUrl","_prepareRequest","maxTries","response","numTries","requestRaw","Unauthorized","authenticationHandler","handler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","_performExponentialBackoff","dispose","requestRawWithCallback","onResult","handleResult","callbackCalled","byteLength","httpModule","sock","getAgent","serverUrl","_getAgent","getAgentDispatcher","proxyUrl","pm.getProxyUrl","_getProxyAgentDispatcher","pathname","_mergeHeaders","prepareRequest","_default","clientHeader","useProxy","globalAgent","agentOptions","tunnelAgent","overHttps","tunnel.httpsOverHttps","tunnel.httpsOverHttp","tunnel.httpOverHttps","tunnel.httpOverHttp","rejectUnauthorized","proxyAgent","uri","pipelining","requestTls","retryNumber","ms","min","contents","NotFound","deserializeDates","auth","PersonalAccessTokenCredentialHandler","BasicCredentialHandler","TESTING_WINDOWS","checkStat","isFile","checkPathExt","pathext","PATHEXT","checkMode","uid","gid","myUid","myGid","getgid","ug","isexe_1","isWindows","OSTYPE","COLON","getNotFoundError","getPathInfo","opt","colon","pathEnv","pathExtExe","found","ppRaw","pathPart","pCmd","subStep","ii","which_1","cur","ex","environment","pathKeyModule","metaCharsRegExp","_escape","argument","doubleEscapeMetaChars","shebangRegex","resolveCommand","escape","readShebang","buffer","fd","openSync","readSync","closeSync","binary","shebangCommand","isExecutableRegExp","isCmdShimRegExp","commandFile","shebang","detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","windowsVerbatimArguments","parseNonShell","originalEmit","arg1","verifyENOENTSync","crossSpawnModule","_parse","_enoent","npmRunPathEnv","pathName","pathOption","preferLocal","execPath","addExecPath","cwdString","fileURLToPath","cwdPath","previous","applyPreferLocal","execPathString","applyExecPath","npmRunPath","copyProperty","property","ignoreNonConfigurable","toDescriptor","fromDescriptor","canCopyProperty","wrappedToString","withName","fromBody","toStringDescriptor","toStringName","calledFunctions","WeakMap","function_","returnValue","callCount","functionName","displayName","arguments_","Reflect","ownKeys","fromPrototype","getPrototypeOf","changePrototype","newToString","changeToString","mimicFunction","getRealtimeSignal","number","SIGRTMIN","action","standard","SIGNALS","forced","getSignals","realtimeSignals","normalizeSignal","defaultNumber","signals","name2","constantSignal","supported","getSignalByName","signalsByName","fromEntries","getSignalsByName","findSignalByNumber","signalA","signalsA","SIGRTMAX","getSignalByNumber","getSignalsByNumber","signalDescription","errorCode","getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","aliases","processOk","reallyExit","listeners","pid","emitter","assert","module","EE","__signal_exit_emitter__","emitted","infinite","setMaxListeners","equal","loaded","load","ev","alwaysLast","unload","sig","sigListeners","originalProcessEmit","originalProcessReallyExit","signalExitModule","event","emit$1","process$3","signalExit","processEmit","processReallyExit","killResult","setKillTimeout","shouldForceKill","getForceKillAfterTimeout","unref","forceKillAfterTimeout","isSigterm","SIGTERM","isFinite","killSignal","timeoutId","timeoutPromise","timeoutKill","safeSpawnedPromise","race","cleanup","detached","removeExitHandler","onExit","pipeToTarget","streamName","createWriteStream","isExecaChildProcess","stdin","pipeStdout","pipeStderr","pipeAll","PassThrough","PassThroughStream","promisify","array","isBuffer","objectMode","setEncoding","pipeline","getStreamModule","add","sources","remove","it","readable","isEmpty","validateInputOptions","inputFile","readFileSync","getInputSync","createReadStream","mixed","mergeStream","getBufferedData","streamPromise","getStreamPromise","stdoutPromise","stderrPromise","allPromise","nativePromisePrototype","descriptors","descriptor","normalizeArgs","NO_ESCAPE_REGEXP","DOUBLE_QUOTES_REGEXP","escapeArg","SPACES_REGEXP","tokens","previousToken","verboseDefault","debuglog","padField","field","padding","padStart","verbose","date","getHours","getMinutes","getSeconds","getMilliseconds","getTimestamp","crossSpawn","stripFinalNewline","localDir","windowsHide","envOption","getEnv","alias","hasAlias","normalizeStdio","CR","posix","promises_1","myGroups","groups","getgroups","win32","peSplit","substring","__exportStar","impl","_ISEXE_TEST_PLATFORM_","isexeSync","rSlash","rRel","optPath","optPathExt","optDelimiter","getPathPart","envPart","withExt","lib","pathEnvPart","$","A","systemdrive","normalizeOptions","opts1","forEach$2","process$2","toPosInteger","toInteger","resolveLength","optsLength","fnLength","isAsync","validCallable","objPropertyIsEnumerable","propertyIsEnumerable","list","compareFn","defVal","foo","bar","trzy","shim$3","function","isObject","captureStackTrace","generate","mixin","arg2","possibleTypes","undefined","isPrototype","classRe","functionToString","contains","searchString","isPlainFunction","normalizeOpts","dModule","dscr","off","methods","type","listener","__eeOnceListener__","__ee__","resolveArgs","customError","defineLength","ee","resolveResolve","resolvers","configure","memLength","extDel","extGet","extHas","normalizer","getListeners","setListeners","deleteListeners","memoized","userNormalizer","resolveNormalize","profileName","updateEnv","__memoized__","_get","_has","plain","extFn","__profiler__","memoizee","primitive","getPrimitiveFixed","currentLength","lastId","get1","argsMap","getFixed","aFrom","tbi","currentCallback","currentContext","currentArgs","last","origCb","resultArray","maxAge","maxTimeout","validTimeout","noop","timeouts","preFetchAge","preFetchTimeouts","preFetch","lruQueue","limit","hit","oldIndex","nuIndex","refCounter","deleteRef","getRefCount","memoize","is_posix_os","release","windows_version_regex","given_path","major_release","os_build","should_not_escape","regexEscape","matchOperatorsRe","escapeQuotesModule","chars","escapeChar","regex","variants","checkLocale","hasLocale","commonjsRequire","__dirname","requireLocale","isNode","timeUnits","defaultConfig","span","autoloadLocales","timeDelta","firstDate","secondDate","autoload","localeId","require","ensureLocaleLoadedOrThrow","difference","results","divider","getDifference","parts","long","one","other","months","weeks","days","hours","minutes","seconds","narrow","short","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","MAX_SAFE_INTEGER","RELEASE_TYPES","SEMVER_SPEC_VERSION","debug_1","LETTERDASHNUMBER","safeRegexReplacements","createToken","isGlobal","safe","makeSafeRegex","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","COERCE","COERCEFULL","LONETILDE","LONECARET","looseOption","freeze","emptyOpts","parseOptions_1","numeric","compareIdentifiers","anum","bnum","identifiers","rcompareIdentifiers","LOOSE","FULL","num","build","compareMain","comparePre","compareBuild","inc","identifier","identifierBase","parse_1","throwErrors","valid_1","major_1","compare_1","compareBuild_1","versionA","versionB","gt_1","lt_1","eq_1","neq_1","gte_1","lte_1","eq","neq","gte","lt","lte","cmp_1","coerce_1","rtl","coerceRtlRegex","COERCERTLFULL","COERCERTL","lastIndex","lrucache","firstKey","satisfies_1","outside_1","hilo","gtfn","ltefn","ltfn","ecomp","high","low","comparator","outside","minimumVersionWithPreRelease","minimumVersion","simpleSubset","sub","dom","eqSet","gtltComp","higher","lower","hasDomLT","hasDomGT","higherGT","lowerLT","needDomLTPre","needDomGTPre","internalRe","diff","version1","version2","comparison","v1Higher","highVersion","lowVersion","highHasPre","require$$9","require$$13","rcompare","compareLoose","require$$16","rsort","require$$19","require$$20","require$$21","require$$22","require$$23","require$$24","require$$25","coerce","require$$26","require$$27","require$$28","require$$29","toComparators","maxSatisfying","maxSV","rangeObj","minSatisfying","minSV","minVersion","minver","setMin","compver","validRange","require$$35","gtr","ltr","r1","r2","simplifyRange","prev","ranges","simplified","subset","sawNonNull","OUTER","simpleSub","simpleDom","isSub","packageJson","npm_package_json","npm_config_user_agent","isNpm6","isNpm7","isNpm","isYarn","isNpmOrYarn","homeDirectory","configDir","XDG_CONFIG_HOME","getConfigFile","packageName","getDistVersion","distTag","hasNewVersion","pkg","_b","updateCheckInterval","_c","alwaysRun","lastUpdateCheck","latestVersion","_d","mkdirSync","configFile","getLastUpdate","getTime","err_1","isTTY","shouldNotifyInNpmScript","lines","repeat","_i","lines_1","padEnd","borderedText","_interopRequireWildcard","_possibleConstructorReturn","ReferenceError","DH_STATES","_typeof","_createClass","_url","_events","IDLE","SKIPPED","STARTED","DOWNLOADING","RETRY","PAUSED","RESUMED","STOPPED","FINISHED","FAILED","_classCallCheck","__proto__","captureRejections","__validate","requestURL","state","__defaultOpts","metadata","override","forceResume","removeOnStop","removeOnFail","progressThrottle","httpRequestOptions","httpsRequestOptions","resumeOnIncomplete","resumeIfFileExists","resumeOnIncompleteMaxRetry","__opts","__pipes","__total","__downloaded","__progress","__retryCount","__retryTimeout","__resumeRetryCount","__states","__promise","__request","__response","__isAborted","__isResumed","__isResumable","__isRedirected","__destFolder","__statsEstimate","time","prevBytes","throttleTime","__fileName","__filePath","updateOptions","_inherits","__start","getTotalSize","total","__getFilePath","__getFilesizeInBytes","resumeFromFile","unpipe","__fileStream","__requestAbort","__closeFileStream","__setState","__reqOptions","__emitStop","__headers","__getReqOptions","__initProtocol","progress","speed","__protocol","__isRequireRedirect","location","__getFileNameFromHeaders","destroyed","__downloadRequest","__onError","__onTimeout","__resetStats","__startDownload","skip","skipSmaller","totalSize","downloadedSize","isResumed","__calculateStats","__onFinished","close","__hasFinished","resume","incomplete","onDiskSize","__retry","__removeFile","delay","__getFileNameFromOpts","__uniqFileNameSync","prevPath","prevFileName","getStats","throwIfNoEntry","accessSync","F_OK","abort","__resolvePending","toInstall","npath","first2chars","nFileName","extname","nFilepath","O","I","T","W","q","B","isUnixExecutable","stats","getCmdPath","UV_FS_O_EXLOCK","rmdir","rename","open","READONLY","O_RDONLY","useStat","normalizeSeparators","upperExt","validExt","originalFilePath","upperName","actualName","__createBinding$4","mkdirP_1","mv","copySourceDirectory","readCopyOptions","destStat","newDest","relative","destExists","check","tok","makeSafeRe","tb","defaultResult","rangeTmp","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","compRe","_readLinuxVersionFile","_getOsVersion","_findMatch","stable","candidates","archFilter","platFilter","chk","platform_version","plat","lsbContents","lsbReleaseFile","osReleaseFile","randomBytes","bytesToUuid","__createBinding$3","toolrunner","timers_1","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","quoteHit","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","outStream","errStream","_getSpawnOptions","argv0","optionsNonNull","ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","argString","append","escaped","inQuotes","charAt","_setResult","HandleTimeout","__createBinding$2","exec_1","getExecOutput_1","string_decoder_1","exec_2","stdoutDecoder","StringDecoder","stderrDecoder","originalStdoutListener","originalStdErrListener","__createBinding$1","retryHelper","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","isRetryable","attempt","core$2","getSleepAmount","sleep","__importDefault","toolCache","findFromManifest","getManifestFromRepo","find_1","cacheFile","cacheDir_1","extractXar","extractTar","extract7z","downloadTool_1","HTTPError","mm","httpm","require$$8","require$$10","require$$11","require$$12","retry_helper_1","httpStatusCode","IS_MAC","authorization","statusMessage","readStream","responseMessageFactory","succeeded","downloadToolAttempt","_7zPath","originalCwd","powershellPath","versionOutput","isGnuTar","destArg","fileArg","xarPath","escapedFile","escapedDest","pwshPath","extractZipWin","unzipPath","extractZipNix","destPath","itemName","sourceFile","targetFile","destFolder","cachePath","owner","branch","releases","treeUrl","manifestUrl","tree","versionsRaw","manifest","dist","previousError","optsArg","optsFs","mkdirAsync","rej","made","statAsync","mkdirpManualSync","parent","fer","mkdirpManual","st","findMade","findMadeSync","mkdirpNativeSync","mkdirpNative","__TESTING_MKDIRP_PLATFORM__","pathArg","badWinChars","versArr","__TESTING_MKDIRP_NODE_VERSION__","hasNative","useNativeSync","useNative","mkdirpSync","mkdirp","native","nativeSync","manual","manualSync","isUrl","trimmedUrl","isUrlString","llvm","clangtidy","clangformat","ninja","gcovr","conan","meson","kcov","task","doxygen","gcc","mingw","nala","base_exec_prefix","unique","getUbuntuVersion_1","getUbuntuVersion","child_process_1","exe","execFile","reDistributor","reDescription","reRelease","distributorFound","rel","ss","pipxHome","compatHome","pipxBinDir","nameMap","macosVersion","macosRelease","AbortError","getDOMException","errorMessage","DOMException","reason","vsversion_to_versionnumber_1","VSWHERE_PATH","findVcvarsall_1","setupMSVCDevCmd_1","process$1","arch_aliases","win64","x86_64","vcvars","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","new_value","specific","getVersions","_1","setupLLVMDeps","hasVCPKG","nalaPack","nalaLegacyPack","installer","setupNalaViaInstaller","vcpkg","addShExt","addShRelativePrefix","bazel","opencppcoverage","activateOpencppcoverage","choco","brew","ubuntuVerSplitted","setupPowershellSystem","ccache","sccache","activateWinDoxygen","graphviz","cppcheck","activateWinCppcheck","ClangFormat","msvc","vcvarsall","versionSplit","addVPrefix","installMethod","version_number","removeVPrefix","make","sevenzip","tools","checkUpdatePromise","updateNotifier","checkUpdates","ACTIONS_ALLOW_UNSECURE_COMMANDS","idx","alibi","strict","unknown","defaults","mri","inp","parseArgs","help","table","documentation","coverage","architecture","SETUP_CPP_DIR","timeFormatter","timeDelta.create","time1","time2","timeDelta.addLocale","timeDeltaLocale","numerous.addLocale","numerousLocale","toolsInUse","toolsNonDefaultVersion","syncVersions","failedFast","parseFloat","maybeCompiler","compiler","time1Compiler","compilerAndVersion","compilerAndMaybeVersion","maybeVersion","getCompilerInfo","gccVersion","setupMingw","gccSemver","gccMajor","activateGcovGCC","installCompiler","time2Compiler","uniqueEntries","finalizeRC","main","argv"],"mappings":";whBAkCA,SAASA,EAAaC,EAASC,EAAYC,GACvC,MAAMC,EAAM,IAAIC,GAAQJ,EAASC,EAAYC,GAC7CG,QAAQC,OAAOC,MAAMJ,KAAiBK,GAAGC,IAC7C,CCjCe,SAASC,IAMtB,OALIC,GAAUC,GAAUC,OAAS,KAC/BC,GAAOC,eAAeH,IACZD,GAAA,GAGLC,GAAUI,MAAML,GAASA,IAAW,GAC7C,CCTA,SAASM,EAASC,GAChB,MAAuB,iBAATA,GAAqBC,GAAMC,KAAKF,EAChD,CCQA,SAASG,EAAUC,EAAKC,EAAS,GAGzB,MAAAL,GAAQM,GAAUF,EAAIC,EAAS,IAAMC,GAAUF,EAAIC,EAAS,IAAMC,GAAUF,EAAIC,EAAS,IAAMC,GAAUF,EAAIC,EAAS,IAAM,IAAMC,GAAUF,EAAIC,EAAS,IAAMC,GAAUF,EAAIC,EAAS,IAAM,IAAMC,GAAUF,EAAIC,EAAS,IAAMC,GAAUF,EAAIC,EAAS,IAAM,IAAMC,GAAUF,EAAIC,EAAS,IAAMC,GAAUF,EAAIC,EAAS,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C,SAAS,OAET,CACAzkD,KAAK,SACLskD,OAAO,EACPE,OAAO,OACPrmC,YACA,oEACAsmC,SAAS,OAET,CACAzkD,KAAK,SACLskD,OAAO,EACPE,OAAO,YACPrmC,YAAY,oDACZsmC,SAAS,SAET,CACAzkD,KAAK,SACLskD,OAAO,EACPE,OAAO,OACPrmC,YAAY,kCACZsmC,SAAS,QAET,CACAzkD,KAAK,UACLskD,OAAO,EACPE,OAAO,YACPrmC,YAAY,qBACZsmC,SAAS,QACTE,QAAO,GAEP,CACA3kD,KAAK,UACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,8BACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,OACPrmC,YAAY,qBACZsmC,SAAS,QAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,8BACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,wBACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,mBACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,cACZsmC,SAAS,QAET,CACAzkD,KAAK,YACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,+BACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,SACPrmC,YAAY,+CACZsmC,SAAS,SAET,CACAzkD,KAAK,SACLskD,OAAO,GACPE,OAAO,SACPrmC,YAAY,+CACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,UACPrmC,YAAY,WACZsmC,SAAS,QACTE,QAAO,GAEP,CACA3kD,KAAK,UACLskD,OAAO,GACPE,OAAO,QACPrmC,YAAY,SACZsmC,SAAS,QACTE,QAAO,GAEP,CACA3kD,KAAK,UACLskD,OAAO,GACPE,OAAO,QACPrmC,YAAY,mCACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,QACPrmC,YAAY,gDACZsmC,SAAS,SAET,CACAzkD,KAAK,WACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,oCACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,QACPrmC,YAAY,qDACZsmC,SAAS,SAET,CACAzkD,KAAK,SACLskD,OAAO,GACPE,OAAO,SACPrmC,YAAY,mCACZsmC,SAAS,OAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,OACPrmC,YAAY,oBACZsmC,SAAS,OAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,OACPrmC,YAAY,eACZsmC,SAAS,OAET,CACAzkD,KAAK,YACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,mBACZsmC,SAAS,OAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,mBACZsmC,SAAS,OAET,CACAzkD,KAAK,WACLskD,OAAO,GACPE,OAAO,SACPrmC,YAAY,+BACZsmC,SAAS,OAET,CACAzkD,KAAK,QACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,mBACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,gBACZsmC,SAAS,SAET,CACAzkD,KAAK,UACLskD,OAAO,GACPE,OAAO,SACPrmC,YAAY,kCACZsmC,SAAS,SAET,CACAzkD,KAAK,SACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,8BACZsmC,SAAS,WAET,CACAzkD,KAAK,SACLskD,OAAO,GACPE,OAAO,OACPrmC,YAAY,sBACZsmC,SAAS,SAET,CACAzkD,KAAK,YACLskD,OAAO,GACPE,OAAO,YACPrmC,YAAY,sBACZsmC,SAAS,UCxQIG,GAAW,KACxB,MAAMC,EFLCrpC,MAAMiD,KAAK,CAAC5f,OAYG,GAbA0lD,GAAS,GACJF,IEOpB,MADO,IAAIK,MA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Y,CAC/C,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,WAIIzwC,OAAiC/lB,IAAI,CAAC,SAAU,SAAU,SAAU,WAGpEolB,OAAyBplB,IAAI,CACjC,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,WAQIwlB,OAAqCljB,IAQrCsjB,GAAmD,CACvD,QAAS,gBACT,QAAS,GACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,eACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,sBAAuB,gBACvB,sBAAuB,gBACvB,SAAU,gBACV,sBAAuB,gBACvB,SAAU,gBACV,SAAU,UACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU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IAAA,MAAWmpB,KAAQkU,EtSvHV54B,QAAQC,IAAI,QsSwHXykB,SAEV,IAAA,MAAWA,KAAQmU,EACjB9+B,EAAM2qB,GAKJ,GAFJrpB,EAAK,uBAEAyE,GAAAA,eACH,OAAQxT,QAAQkW,UACd,IAAK,QACHjH,EAAQ,yEACR,MAEF,IAAK,QACL,IAAK,SACHA,EAAQ,0EAWP,aAFDqyE,EAE0B,IAAzB/0C,EAAc/rC,OAAe,EAAI,CAC1C,EAGA6jF,CAAKrkF,QAAQskF,MACVj8E,MAAM0kB,IACL/sB,QAAQwS,SAAWua,CAAA,IAEpBxb,OAAO5O,IACN8K,EAAM,oBACNA,EAAM9K,GACN3C,QAAQwS,SAAW,CAAA","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,61,62,63,64,65,69,80,85,86,87,88,93,108,111,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,291,292]} \ No newline at end of file diff --git a/package.json b/package.json index 123b30d7..e3f091bf 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "license": "Apache-2.0", "author": "Amin Yahyaabadi", "main": "dist/legacy/setup-cpp.js", - "modern": "./dist/modern/setup-cpp.js", - "source": "./src/main.ts", + "modern": "./dist/modern/setup-cpp.mjs", + "source": "./src/setup-cpp.ts", "bin": { "setup-cpp": "dist/legacy/setup-cpp.js" }, @@ -26,12 +26,13 @@ "tsconfig.json" ], "scripts": { - "build": "turbo build && run-p lint.root.tsc build.parcel copy.matchers && run-s build.babel", + "build": "turbo build && run-p lint.root.tsc build.parcel build.vite && run-p build.babel copy.json", "build.parcel": "cross-env NODE_ENV=production parcel build", - "build.babel": "babel ./dist --out-dir dist --plugins @upleveled/babel-plugin-remove-node-prefix --plugins @babel/plugin-transform-private-methods --compact --no-babelrc --source-maps true", + "build.vite": "cross-env NODE_ENV=production vite build", + "build.babel": "babel ./dist/legacy --out-dir ./dist/legacy --plugins @upleveled/babel-plugin-remove-node-prefix --plugins @babel/plugin-transform-private-methods --compact --no-babelrc --source-maps true", "bump": "ncu -u -x numerous,execa,prettier,@types/node,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean", "clean": "shx rm -rf ./dist ./packages/*/dist ./exe ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/modern ./dist/modern ", - "copy.matchers": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern", + "copy.json": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern", "dev.parcel": "cross-env NODE_ENV=development parcel watch", "dev.packages": "turbo dev", "dev": "run-p dev.packages dev.parcel", @@ -63,6 +64,7 @@ "@babel/plugin-transform-private-methods": "^7.25.4", "@biomejs/biome": "^1.8.3", "@iarna/toml": "^2.2.5", + "@liuli-util/vite-plugin-node": "^0.9.0", "@octokit/core": "^6.1.2", "@octokit/openapi-types": "^22.2.0", "@octokit/plugin-paginate-rest": "^11.3.3", @@ -117,6 +119,7 @@ "prettier-config-atomic": "^4.0.0", "readme-md-generator": "^1.0.0", "retry-as-promised": "^7.0.4", + "rollup": "^4.21.2", "safe-stable-stringify": "^2.5.0", "semver": "7.6.3", "setup-apt": "workspace:*", @@ -124,6 +127,7 @@ "setup-python": "github:aminya/setup-python#a783db655c6e40317e2c0c96f9d162d9c9f4a751", "shx": "0.3.4", "simple-update-notifier": "^2.0.0", + "terser": "^5.31.6", "terser-config-atomic": "^1.0.0", "time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e", "ts-node": "^10.9.2", @@ -133,6 +137,8 @@ "ubuntu-version": "^2.0.0", "untildify-user": "workspace:*", "util.types": "^0.0.2", + "vite": "^5.4.3", + "vite-plugin-node": "^3.1.0", "web-streams-polyfill": "^4.0.0", "which": "^4.0.0" }, @@ -219,15 +225,6 @@ "includeNodeModules": true, "optimize": true, "outputFormat": "commonjs" - }, - "modern": { - "context": "node", - "engines": { - "node": ">=20.x" - }, - "includeNodeModules": true, - "optimize": true, - "outputFormat": "commonjs" } }, "pnpm": { diff --git a/patches/@actions__http-client@2.2.3.patch b/patches/@actions__http-client@2.2.3.patch index bc13fa69..7fb78b66 100644 --- a/patches/@actions__http-client@2.2.3.patch +++ b/patches/@actions__http-client@2.2.3.patch @@ -1,3 +1,1051 @@ +diff --git a/lib/esnext/auth.d.ts b/lib/esnext/auth.d.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..8cc9fc3d872704e3f2813845568a1b620e7d0513 +--- /dev/null ++++ b/lib/esnext/auth.d.ts +@@ -0,0 +1,26 @@ ++/// ++import * as http from 'http'; ++import * as ifm from './interfaces'; ++import { HttpClientResponse } from './index'; ++export declare class BasicCredentialHandler implements ifm.RequestHandler { ++ username: string; ++ password: string; ++ constructor(username: string, password: string); ++ prepareRequest(options: http.RequestOptions): void; ++ canHandleAuthentication(): boolean; ++ handleAuthentication(): Promise; ++} ++export declare class BearerCredentialHandler implements ifm.RequestHandler { ++ token: string; ++ constructor(token: string); ++ prepareRequest(options: http.RequestOptions): void; ++ canHandleAuthentication(): boolean; ++ handleAuthentication(): Promise; ++} ++export declare class PersonalAccessTokenCredentialHandler implements ifm.RequestHandler { ++ token: string; ++ constructor(token: string); ++ prepareRequest(options: http.RequestOptions): void; ++ canHandleAuthentication(): boolean; ++ handleAuthentication(): Promise; ++} +diff --git a/lib/esnext/auth.js b/lib/esnext/auth.js +new file mode 100644 +index 0000000000000000000000000000000000000000..e6462aa36d45a45eea1b81da19e3f1321fdd39b7 +--- /dev/null ++++ b/lib/esnext/auth.js +@@ -0,0 +1,64 @@ ++export class BasicCredentialHandler { ++ username; ++ password; ++ constructor(username, password) { ++ this.username = username; ++ this.password = password; ++ } ++ prepareRequest(options) { ++ if (!options.headers) { ++ throw Error('The request has no headers'); ++ } ++ options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`; ++ } ++ // This handler cannot handle 401 ++ canHandleAuthentication() { ++ return false; ++ } ++ async handleAuthentication() { ++ throw new Error('not implemented'); ++ } ++} ++export class BearerCredentialHandler { ++ token; ++ constructor(token) { ++ this.token = token; ++ } ++ // currently implements pre-authorization ++ // TODO: support preAuth = false where it hooks on 401 ++ prepareRequest(options) { ++ if (!options.headers) { ++ throw Error('The request has no headers'); ++ } ++ options.headers['Authorization'] = `Bearer ${this.token}`; ++ } ++ // This handler cannot handle 401 ++ canHandleAuthentication() { ++ return false; ++ } ++ async handleAuthentication() { ++ throw new Error('not implemented'); ++ } ++} ++export class PersonalAccessTokenCredentialHandler { ++ token; ++ constructor(token) { ++ this.token = token; ++ } ++ // currently implements pre-authorization ++ // TODO: support preAuth = false where it hooks on 401 ++ prepareRequest(options) { ++ if (!options.headers) { ++ throw Error('The request has no headers'); ++ } ++ options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`; ++ } ++ // This handler cannot handle 401 ++ canHandleAuthentication() { ++ return false; ++ } ++ async handleAuthentication() { ++ throw new Error('not implemented'); ++ } ++} ++//# sourceMappingURL=auth.js.map +\ No newline at end of file +diff --git a/lib/esnext/auth.js.map b/lib/esnext/auth.js.map +new file mode 100644 +index 0000000000000000000000000000000000000000..59d82192ac306cec208bb4ded448cfe28f049a04 +--- /dev/null ++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M,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;IACpC,CAAC;CACF;AAED,MAAM,OAAO,oCAAoC;IAG/C,KAAK,CAAQ;IAEb,YAAY,KAAa;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;IAED,yCAAyC;IACzC,sDAAsD;IACtD,cAAc,CAAC,OAA4B;QACzC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACpB,MAAM,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC1C;QACD,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACrD,OAAO,IAAI,CAAC,KAAK,EAAE,CACpB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAA;IACxB,CAAC;IAED,iCAAiC;IACjC,uBAAuB;QACrB,OAAO,KAAK,CAAA;IACd,CAAC;IAED,KAAK,CAAC,oBAAoB;QACxB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;IACpC,CAAC;CACF"} +\ No newline at end of file +diff --git a/lib/esnext/index.d.ts b/lib/esnext/index.d.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..9caa09694850d35d371beda2586c32bc65690dba +--- /dev/null ++++ b/lib/esnext/index.d.ts +@@ -0,0 +1,130 @@ ++/// ++/// ++/// ++import * as http from 'http'; ++import * as ifm from './interfaces'; ++import type ProxyAgent from 'undici/types/proxy-agent'; ++export declare enum HttpCodes { ++ OK = 200, ++ MultipleChoices = 300, ++ MovedPermanently = 301, ++ ResourceMoved = 302, ++ SeeOther = 303, ++ NotModified = 304, ++ UseProxy = 305, ++ SwitchProxy = 306, ++ TemporaryRedirect = 307, ++ PermanentRedirect = 308, ++ BadRequest = 400, ++ Unauthorized = 401, ++ PaymentRequired = 402, ++ Forbidden = 403, ++ NotFound = 404, ++ MethodNotAllowed = 405, ++ NotAcceptable = 406, ++ ProxyAuthenticationRequired = 407, ++ RequestTimeout = 408, ++ Conflict = 409, ++ Gone = 410, ++ TooManyRequests = 429, ++ InternalServerError = 500, ++ NotImplemented = 501, ++ BadGateway = 502, ++ ServiceUnavailable = 503, ++ GatewayTimeout = 504 ++} ++export declare enum Headers { ++ Accept = "accept", ++ ContentType = "content-type" ++} ++export declare enum MediaTypes { ++ ApplicationJson = "application/json" ++} ++/** ++ * Returns the proxy URL, depending upon the supplied url and proxy environment variables. ++ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com ++ */ ++export declare function getProxyUrl(serverUrl: string): string; ++export declare class HttpClientError extends Error { ++ constructor(message: string, statusCode: number); ++ statusCode: number; ++ result?: any; ++} ++export declare class HttpClientResponse { ++ constructor(message: http.IncomingMessage); ++ message: http.IncomingMessage; ++ readBody(): Promise; ++ readBodyBuffer?(): Promise; ++} ++export declare function isHttps(requestUrl: string): boolean; ++export declare class HttpClient { ++ userAgent: string | undefined; ++ handlers: ifm.RequestHandler[]; ++ requestOptions: ifm.RequestOptions | undefined; ++ private _ignoreSslError; ++ private _socketTimeout; ++ private _allowRedirects; ++ private _allowRedirectDowngrade; ++ private _maxRedirects; ++ private _allowRetries; ++ private _maxRetries; ++ private _agent; ++ private _proxyAgent; ++ private _proxyAgentDispatcher; ++ private _keepAlive; ++ private _disposed; ++ constructor(userAgent?: string, handlers?: ifm.RequestHandler[], requestOptions?: ifm.RequestOptions); ++ options(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ get(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ del(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ post(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ patch(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ put(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ head(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ /** ++ * Gets a typed object from an endpoint ++ * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise ++ */ ++ getJson(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; ++ postJson(requestUrl: string, obj: any, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; ++ putJson(requestUrl: string, obj: any, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; ++ patchJson(requestUrl: string, obj: any, additionalHeaders?: http.OutgoingHttpHeaders): Promise>; ++ /** ++ * Makes a raw http request. ++ * All other methods such as get, post, patch, and request ultimately call this. ++ * Prefer get, del, post and patch ++ */ ++ request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream | null, headers?: http.OutgoingHttpHeaders): Promise; ++ /** ++ * Needs to be called if keepAlive is set to true in request options. ++ */ ++ dispose(): void; ++ /** ++ * Raw request. ++ * @param info ++ * @param data ++ */ ++ requestRaw(info: ifm.RequestInfo, data: string | NodeJS.ReadableStream | null): Promise; ++ /** ++ * Raw request with callback. ++ * @param info ++ * @param data ++ * @param onResult ++ */ ++ requestRawWithCallback(info: ifm.RequestInfo, data: string | NodeJS.ReadableStream | null, onResult: (err?: Error, res?: HttpClientResponse) => void): void; ++ /** ++ * Gets an http agent. This function is useful when you need an http agent that handles ++ * routing through a proxy server - depending upon the url and proxy environment variables. ++ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com ++ */ ++ getAgent(serverUrl: string): http.Agent; ++ getAgentDispatcher(serverUrl: string): Promise; ++ private _prepareRequest; ++ private _mergeHeaders; ++ private _getExistingOrDefaultHeader; ++ private _getAgent; ++ private _getProxyAgentDispatcher; ++ private _performExponentialBackoff; ++ private _processResponse; ++} +diff --git a/lib/esnext/index.js b/lib/esnext/index.js +new file mode 100644 +index 0000000000000000000000000000000000000000..9086c7d6b1810d1b955a287d68cbdc1649f4ba2e +--- /dev/null ++++ b/lib/esnext/index.js +@@ -0,0 +1,595 @@ ++/* eslint-disable @typescript-eslint/no-explicit-any */ ++import * as http from 'http'; ++import * as https from 'https'; ++import * as pm from './proxy'; ++import * as tunnel from 'tunnel'; ++export var HttpCodes; ++(function (HttpCodes) { ++ HttpCodes[HttpCodes["OK"] = 200] = "OK"; ++ HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; ++ HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; ++ HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; ++ HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; ++ HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; ++ HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; ++ HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; ++ HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; ++ HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; ++ HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; ++ HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; ++ HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; ++ HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; ++ HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; ++ HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; ++ HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; ++ HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; ++ HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; ++ HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; ++ HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; ++ HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; ++ HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; ++ HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; ++ HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; ++ HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; ++ HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; ++})(HttpCodes || (HttpCodes = {})); ++export var Headers; ++(function (Headers) { ++ Headers["Accept"] = "accept"; ++ Headers["ContentType"] = "content-type"; ++})(Headers || (Headers = {})); ++export var MediaTypes; ++(function (MediaTypes) { ++ MediaTypes["ApplicationJson"] = "application/json"; ++})(MediaTypes || (MediaTypes = {})); ++/** ++ * Returns the proxy URL, depending upon the supplied url and proxy environment variables. ++ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com ++ */ ++export function getProxyUrl(serverUrl) { ++ const proxyUrl = pm.getProxyUrl(new URL(serverUrl)); ++ return proxyUrl ? proxyUrl.href : ''; ++} ++const HttpRedirectCodes = [ ++ HttpCodes.MovedPermanently, ++ HttpCodes.ResourceMoved, ++ HttpCodes.SeeOther, ++ HttpCodes.TemporaryRedirect, ++ HttpCodes.PermanentRedirect ++]; ++const HttpResponseRetryCodes = [ ++ HttpCodes.BadGateway, ++ HttpCodes.ServiceUnavailable, ++ HttpCodes.GatewayTimeout ++]; ++const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; ++const ExponentialBackoffCeiling = 10; ++const ExponentialBackoffTimeSlice = 5; ++export class HttpClientError extends Error { ++ constructor(message, statusCode) { ++ super(message); ++ this.name = 'HttpClientError'; ++ this.statusCode = statusCode; ++ Object.setPrototypeOf(this, HttpClientError.prototype); ++ } ++ statusCode; ++ result; ++} ++export class HttpClientResponse { ++ constructor(message) { ++ this.message = message; ++ } ++ message; ++ async readBody() { ++ return new Promise(async (resolve) => { ++ let output = Buffer.alloc(0); ++ this.message.on('data', (chunk) => { ++ output = Buffer.concat([output, chunk]); ++ }); ++ this.message.on('end', () => { ++ resolve(output.toString()); ++ }); ++ }); ++ } ++ async readBodyBuffer() { ++ return new Promise(async (resolve) => { ++ const chunks = []; ++ this.message.on('data', (chunk) => { ++ chunks.push(chunk); ++ }); ++ this.message.on('end', () => { ++ resolve(Buffer.concat(chunks)); ++ }); ++ }); ++ } ++} ++export function isHttps(requestUrl) { ++ const parsedUrl = new URL(requestUrl); ++ return parsedUrl.protocol === 'https:'; ++} ++export class HttpClient { ++ userAgent; ++ handlers; ++ requestOptions; ++ _ignoreSslError = false; ++ _socketTimeout; ++ _allowRedirects = true; ++ _allowRedirectDowngrade = false; ++ _maxRedirects = 50; ++ _allowRetries = false; ++ _maxRetries = 1; ++ _agent; ++ _proxyAgent; ++ _proxyAgentDispatcher; ++ _keepAlive = false; ++ _disposed = false; ++ constructor(userAgent, handlers, requestOptions) { ++ this.userAgent = userAgent; ++ this.handlers = handlers || []; ++ this.requestOptions = requestOptions; ++ if (requestOptions) { ++ if (requestOptions.ignoreSslError != null) { ++ this._ignoreSslError = requestOptions.ignoreSslError; ++ } ++ this._socketTimeout = requestOptions.socketTimeout; ++ if (requestOptions.allowRedirects != null) { ++ this._allowRedirects = requestOptions.allowRedirects; ++ } ++ if (requestOptions.allowRedirectDowngrade != null) { ++ this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; ++ } ++ if (requestOptions.maxRedirects != null) { ++ this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); ++ } ++ if (requestOptions.keepAlive != null) { ++ this._keepAlive = requestOptions.keepAlive; ++ } ++ if (requestOptions.allowRetries != null) { ++ this._allowRetries = requestOptions.allowRetries; ++ } ++ if (requestOptions.maxRetries != null) { ++ this._maxRetries = requestOptions.maxRetries; ++ } ++ } ++ } ++ async options(requestUrl, additionalHeaders) { ++ return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); ++ } ++ async get(requestUrl, additionalHeaders) { ++ return this.request('GET', requestUrl, null, additionalHeaders || {}); ++ } ++ async del(requestUrl, additionalHeaders) { ++ return this.request('DELETE', requestUrl, null, additionalHeaders || {}); ++ } ++ async post(requestUrl, data, additionalHeaders) { ++ return this.request('POST', requestUrl, data, additionalHeaders || {}); ++ } ++ async patch(requestUrl, data, additionalHeaders) { ++ return this.request('PATCH', requestUrl, data, additionalHeaders || {}); ++ } ++ async put(requestUrl, data, additionalHeaders) { ++ return this.request('PUT', requestUrl, data, additionalHeaders || {}); ++ } ++ async head(requestUrl, additionalHeaders) { ++ return this.request('HEAD', requestUrl, null, additionalHeaders || {}); ++ } ++ async sendStream(verb, requestUrl, stream, additionalHeaders) { ++ return this.request(verb, requestUrl, stream, additionalHeaders); ++ } ++ /** ++ * Gets a typed object from an endpoint ++ * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise ++ */ ++ async getJson(requestUrl, additionalHeaders = {}) { ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); ++ const res = await this.get(requestUrl, additionalHeaders); ++ return this._processResponse(res, this.requestOptions); ++ } ++ async postJson(requestUrl, obj, additionalHeaders = {}) { ++ const data = JSON.stringify(obj, null, 2); ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); ++ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); ++ const res = await this.post(requestUrl, data, additionalHeaders); ++ return this._processResponse(res, this.requestOptions); ++ } ++ async putJson(requestUrl, obj, additionalHeaders = {}) { ++ const data = JSON.stringify(obj, null, 2); ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); ++ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); ++ const res = await this.put(requestUrl, data, additionalHeaders); ++ return this._processResponse(res, this.requestOptions); ++ } ++ async patchJson(requestUrl, obj, additionalHeaders = {}) { ++ const data = JSON.stringify(obj, null, 2); ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); ++ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); ++ const res = await this.patch(requestUrl, data, additionalHeaders); ++ return this._processResponse(res, this.requestOptions); ++ } ++ /** ++ * Makes a raw http request. ++ * All other methods such as get, post, patch, and request ultimately call this. ++ * Prefer get, del, post and patch ++ */ ++ async request(verb, requestUrl, data, headers) { ++ if (this._disposed) { ++ throw new Error('Client has already been disposed.'); ++ } ++ const parsedUrl = new URL(requestUrl); ++ let info = this._prepareRequest(verb, parsedUrl, headers); ++ // Only perform retries on reads since writes may not be idempotent. ++ const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb) ++ ? this._maxRetries + 1 ++ : 1; ++ let numTries = 0; ++ let response; ++ do { ++ response = await this.requestRaw(info, data); ++ // Check if it's an authentication challenge ++ if (response && ++ response.message && ++ response.message.statusCode === HttpCodes.Unauthorized) { ++ let authenticationHandler; ++ for (const handler of this.handlers) { ++ if (handler.canHandleAuthentication(response)) { ++ authenticationHandler = handler; ++ break; ++ } ++ } ++ if (authenticationHandler) { ++ return authenticationHandler.handleAuthentication(this, info, data); ++ } ++ else { ++ // We have received an unauthorized response but have no handlers to handle it. ++ // Let the response return to the caller. ++ return response; ++ } ++ } ++ let redirectsRemaining = this._maxRedirects; ++ while (response.message.statusCode && ++ HttpRedirectCodes.includes(response.message.statusCode) && ++ this._allowRedirects && ++ redirectsRemaining > 0) { ++ const redirectUrl = response.message.headers['location']; ++ if (!redirectUrl) { ++ // if there's no location to redirect to, we won't ++ break; ++ } ++ const parsedRedirectUrl = new URL(redirectUrl); ++ if (parsedUrl.protocol === 'https:' && ++ parsedUrl.protocol !== parsedRedirectUrl.protocol && ++ !this._allowRedirectDowngrade) { ++ 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.'); ++ } ++ // we need to finish reading the response before reassigning response ++ // which will leak the open socket. ++ await response.readBody(); ++ // strip authorization header if redirected to a different hostname ++ if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { ++ for (const header in headers) { ++ // header names are case insensitive ++ if (header.toLowerCase() === 'authorization') { ++ delete headers[header]; ++ } ++ } ++ } ++ // let's make the request with the new redirectUrl ++ info = this._prepareRequest(verb, parsedRedirectUrl, headers); ++ response = await this.requestRaw(info, data); ++ redirectsRemaining--; ++ } ++ if (!response.message.statusCode || ++ !HttpResponseRetryCodes.includes(response.message.statusCode)) { ++ // If not a retry code, return immediately instead of retrying ++ return response; ++ } ++ numTries += 1; ++ if (numTries < maxTries) { ++ await response.readBody(); ++ await this._performExponentialBackoff(numTries); ++ } ++ } while (numTries < maxTries); ++ return response; ++ } ++ /** ++ * Needs to be called if keepAlive is set to true in request options. ++ */ ++ dispose() { ++ if (this._agent) { ++ this._agent.destroy(); ++ } ++ this._disposed = true; ++ } ++ /** ++ * Raw request. ++ * @param info ++ * @param data ++ */ ++ async requestRaw(info, data) { ++ return new Promise((resolve, reject) => { ++ function callbackForResult(err, res) { ++ if (err) { ++ reject(err); ++ } ++ else if (!res) { ++ // If `err` is not passed, then `res` must be passed. ++ reject(new Error('Unknown error')); ++ } ++ else { ++ resolve(res); ++ } ++ } ++ this.requestRawWithCallback(info, data, callbackForResult); ++ }); ++ } ++ /** ++ * Raw request with callback. ++ * @param info ++ * @param data ++ * @param onResult ++ */ ++ requestRawWithCallback(info, data, onResult) { ++ if (typeof data === 'string') { ++ if (!info.options.headers) { ++ info.options.headers = {}; ++ } ++ info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); ++ } ++ let callbackCalled = false; ++ function handleResult(err, res) { ++ if (!callbackCalled) { ++ callbackCalled = true; ++ onResult(err, res); ++ } ++ } ++ const req = info.httpModule.request(info.options, (msg) => { ++ const res = new HttpClientResponse(msg); ++ handleResult(undefined, res); ++ }); ++ let socket; ++ req.on('socket', sock => { ++ socket = sock; ++ }); ++ // If we ever get disconnected, we want the socket to timeout eventually ++ req.setTimeout(this._socketTimeout || 3 * 60000, () => { ++ if (socket) { ++ socket.end(); ++ } ++ handleResult(new Error(`Request timeout: ${info.options.path}`)); ++ }); ++ req.on('error', function (err) { ++ // err has statusCode property ++ // res should have headers ++ handleResult(err); ++ }); ++ if (data && typeof data === 'string') { ++ req.write(data, 'utf8'); ++ } ++ if (data && typeof data !== 'string') { ++ data.on('close', function () { ++ req.end(); ++ }); ++ data.pipe(req); ++ } ++ else { ++ req.end(); ++ } ++ } ++ /** ++ * Gets an http agent. This function is useful when you need an http agent that handles ++ * routing through a proxy server - depending upon the url and proxy environment variables. ++ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com ++ */ ++ getAgent(serverUrl) { ++ const parsedUrl = new URL(serverUrl); ++ return this._getAgent(parsedUrl); ++ } ++ async getAgentDispatcher(serverUrl) { ++ const parsedUrl = new URL(serverUrl); ++ const proxyUrl = pm.getProxyUrl(parsedUrl); ++ const useProxy = proxyUrl && proxyUrl.hostname; ++ if (!useProxy) { ++ return undefined; ++ } ++ return await this._getProxyAgentDispatcher(parsedUrl, proxyUrl); ++ } ++ _prepareRequest(method, requestUrl, headers) { ++ const info = {}; ++ info.parsedUrl = requestUrl; ++ const usingSsl = info.parsedUrl.protocol === 'https:'; ++ info.httpModule = usingSsl ? https : http; ++ const defaultPort = usingSsl ? 443 : 80; ++ info.options = {}; ++ info.options.host = info.parsedUrl.hostname; ++ info.options.port = info.parsedUrl.port ++ ? parseInt(info.parsedUrl.port) ++ : defaultPort; ++ info.options.path = ++ (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); ++ info.options.method = method; ++ info.options.headers = this._mergeHeaders(headers); ++ if (this.userAgent != null) { ++ info.options.headers['user-agent'] = this.userAgent; ++ } ++ info.options.agent = this._getAgent(info.parsedUrl); ++ // gives handlers an opportunity to participate ++ if (this.handlers) { ++ for (const handler of this.handlers) { ++ handler.prepareRequest(info.options); ++ } ++ } ++ return info; ++ } ++ _mergeHeaders(headers) { ++ if (this.requestOptions && this.requestOptions.headers) { ++ return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {})); ++ } ++ return lowercaseKeys(headers || {}); ++ } ++ _getExistingOrDefaultHeader(additionalHeaders, header, _default) { ++ let clientHeader; ++ if (this.requestOptions && this.requestOptions.headers) { ++ clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; ++ } ++ return additionalHeaders[header] || clientHeader || _default; ++ } ++ _getAgent(parsedUrl) { ++ let agent; ++ const proxyUrl = pm.getProxyUrl(parsedUrl); ++ const useProxy = proxyUrl && proxyUrl.hostname; ++ if (this._keepAlive && useProxy) { ++ agent = this._proxyAgent; ++ } ++ if (!useProxy) { ++ agent = this._agent; ++ } ++ // if agent is already assigned use that agent. ++ if (agent) { ++ return agent; ++ } ++ const usingSsl = parsedUrl.protocol === 'https:'; ++ let maxSockets = 100; ++ if (this.requestOptions) { ++ maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; ++ } ++ // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis. ++ if (proxyUrl && proxyUrl.hostname) { ++ const agentOptions = { ++ maxSockets, ++ keepAlive: this._keepAlive, ++ proxy: { ++ ...((proxyUrl.username || proxyUrl.password) && { ++ proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` ++ }), ++ host: proxyUrl.hostname, ++ port: proxyUrl.port ++ } ++ }; ++ let tunnelAgent; ++ const overHttps = proxyUrl.protocol === 'https:'; ++ if (usingSsl) { ++ tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; ++ } ++ else { ++ tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; ++ } ++ agent = tunnelAgent(agentOptions); ++ this._proxyAgent = agent; ++ } ++ // if tunneling agent isn't assigned create a new agent ++ if (!agent) { ++ const options = { keepAlive: this._keepAlive, maxSockets }; ++ agent = usingSsl ? new https.Agent(options) : new http.Agent(options); ++ this._agent = agent; ++ } ++ if (usingSsl && this._ignoreSslError) { ++ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process ++ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options ++ // we have to cast it to any and change it directly ++ agent.options = Object.assign(agent.options || {}, { ++ rejectUnauthorized: false ++ }); ++ } ++ return agent; ++ } ++ async _getProxyAgentDispatcher(parsedUrl, proxyUrl) { ++ let proxyAgent; ++ if (this._keepAlive) { ++ proxyAgent = this._proxyAgentDispatcher; ++ } ++ // if agent is already assigned use that agent. ++ if (proxyAgent) { ++ return proxyAgent; ++ } ++ const usingSsl = parsedUrl.protocol === 'https:'; ++ // Lazy load ProxyAgent to avoid bundling all the undici ++ const ProxyAgent = (await import('undici/lib/proxy-agent')); ++ proxyAgent = new ProxyAgent({ ++ uri: proxyUrl.href, ++ pipelining: !this._keepAlive ? 0 : 1, ++ ...((proxyUrl.username || proxyUrl.password) && { ++ token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}` ++ }) ++ }); ++ this._proxyAgentDispatcher = proxyAgent; ++ if (usingSsl && this._ignoreSslError) { ++ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process ++ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options ++ // we have to cast it to any and change it directly ++ proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, { ++ rejectUnauthorized: false ++ }); ++ } ++ return proxyAgent; ++ } ++ async _performExponentialBackoff(retryNumber) { ++ retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); ++ const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); ++ return new Promise(resolve => setTimeout(() => resolve(), ms)); ++ } ++ async _processResponse(res, options) { ++ return new Promise(async (resolve, reject) => { ++ const statusCode = res.message.statusCode || 0; ++ const response = { ++ statusCode, ++ result: null, ++ headers: {} ++ }; ++ // not found leads to null obj returned ++ if (statusCode === HttpCodes.NotFound) { ++ resolve(response); ++ } ++ // get the result from the body ++ function dateTimeDeserializer(key, value) { ++ if (typeof value === 'string') { ++ const a = new Date(value); ++ if (!isNaN(a.valueOf())) { ++ return a; ++ } ++ } ++ return value; ++ } ++ let obj; ++ let contents; ++ try { ++ contents = await res.readBody(); ++ if (contents && contents.length > 0) { ++ if (options && options.deserializeDates) { ++ obj = JSON.parse(contents, dateTimeDeserializer); ++ } ++ else { ++ obj = JSON.parse(contents); ++ } ++ response.result = obj; ++ } ++ response.headers = res.message.headers; ++ } ++ catch (err) { ++ // Invalid resource (contents not json); leaving result obj null ++ } ++ // note that 3xx redirects are handled by the http layer. ++ if (statusCode > 299) { ++ let msg; ++ // if exception/error in body, attempt to get better error ++ if (obj && obj.message) { ++ msg = obj.message; ++ } ++ else if (contents && contents.length > 0) { ++ // it may be the case that the exception is in the body message as string ++ msg = contents; ++ } ++ else { ++ msg = `Failed request: (${statusCode})`; ++ } ++ const err = new HttpClientError(msg, statusCode); ++ err.result = response.result; ++ reject(err); ++ } ++ else { ++ resolve(response); ++ } ++ }); ++ } ++} ++const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); ++//# sourceMappingURL=index.js.map +\ No newline at end of file +diff --git a/lib/esnext/index.js.map b/lib/esnext/index.js.map +new file mode 100644 +index 0000000000000000000000000000000000000000..577ad008b1d0b6290c22872e6497e3f7336aac0f +--- /dev/null ++++ b/lib/esnext/index.js.map +@@ -0,0 +1 @@ ++{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,KAAK,IAAI,MAAM,MAAM,CAAA;AAC5B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAA;AAC7B,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AA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000000000000000000000..775ced94b534bdcaa77b45a77c61b73c85b8d2e6 +--- /dev/null ++++ b/lib/esnext/interfaces.d.ts +@@ -0,0 +1,46 @@ ++/// ++/// ++/// ++import * as http from 'http'; ++import * as https from 'https'; ++import { HttpClientResponse } from './index'; ++export interface HttpClient { ++ options(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ get(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ del(requestUrl: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ post(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ patch(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ put(requestUrl: string, data: string, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: http.OutgoingHttpHeaders): Promise; ++ request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: http.OutgoingHttpHeaders): Promise; ++ requestRaw(info: RequestInfo, data: string | NodeJS.ReadableStream): Promise; ++ requestRawWithCallback(info: RequestInfo, data: string | NodeJS.ReadableStream, onResult: (err?: Error, res?: HttpClientResponse) => void): void; ++} ++export interface RequestHandler { ++ prepareRequest(options: http.RequestOptions): void; ++ canHandleAuthentication(response: HttpClientResponse): boolean; ++ handleAuthentication(httpClient: HttpClient, requestInfo: RequestInfo, data: string | NodeJS.ReadableStream | null): Promise; ++} ++export interface RequestInfo { ++ options: http.RequestOptions; ++ parsedUrl: URL; ++ httpModule: typeof http | typeof https; ++} ++export interface RequestOptions { ++ headers?: http.OutgoingHttpHeaders; ++ socketTimeout?: number; ++ ignoreSslError?: boolean; ++ allowRedirects?: boolean; ++ allowRedirectDowngrade?: boolean; ++ maxRedirects?: number; ++ maxSockets?: number; ++ keepAlive?: boolean; ++ deserializeDates?: boolean; ++ allowRetries?: boolean; ++ maxRetries?: number; ++} ++export interface TypedResponse { ++ statusCode: number; ++ result: T | null; ++ headers: http.IncomingHttpHeaders; ++} +diff --git a/lib/esnext/interfaces.js b/lib/esnext/interfaces.js +new file mode 100644 +index 0000000000000000000000000000000000000000..c30bb68c19e2cd740ca33c9a652140394cf0247e +--- /dev/null ++++ b/lib/esnext/interfaces.js +@@ -0,0 +1,2 @@ ++export {}; ++//# sourceMappingURL=interfaces.js.map +\ No newline at end of file +diff --git a/lib/esnext/interfaces.js.map b/lib/esnext/interfaces.js.map +new file mode 100644 +index 0000000000000000000000000000000000000000..d5fcbe1fb69b4ca196dfd0c4f1f3f7494c6dd98d +--- /dev/null ++++ b/lib/esnext/interfaces.js.map +@@ -0,0 +1 @@ ++{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/interfaces.ts"],"names":[],"mappings":""} +\ No newline at end of file +diff --git a/lib/esnext/package.json b/lib/esnext/package.json +new file mode 100644 +index 0000000000000000000000000000000000000000..6990891ff35dd464b19df096e6089004b0e31825 +--- /dev/null ++++ b/lib/esnext/package.json +@@ -0,0 +1 @@ ++{"type": "module"} +diff --git a/lib/esnext/proxy.d.ts b/lib/esnext/proxy.d.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..4599865401c3df96253f09df0e742ac25caab193 +--- /dev/null ++++ b/lib/esnext/proxy.d.ts +@@ -0,0 +1,2 @@ ++export declare function getProxyUrl(reqUrl: URL): URL | undefined; ++export declare function checkBypass(reqUrl: URL): boolean; +diff --git a/lib/esnext/proxy.js b/lib/esnext/proxy.js +new file mode 100644 +index 0000000000000000000000000000000000000000..7471d9617e06bae9d298b9b84397936e5054b6f1 +--- /dev/null ++++ b/lib/esnext/proxy.js +@@ -0,0 +1,92 @@ ++export function getProxyUrl(reqUrl) { ++ const usingSsl = reqUrl.protocol === 'https:'; ++ if (checkBypass(reqUrl)) { ++ return undefined; ++ } ++ const proxyVar = (() => { ++ if (usingSsl) { ++ return process.env['https_proxy'] || process.env['HTTPS_PROXY']; ++ } ++ else { ++ return process.env['http_proxy'] || process.env['HTTP_PROXY']; ++ } ++ })(); ++ if (proxyVar) { ++ try { ++ return new DecodedURL(proxyVar); ++ } ++ catch { ++ if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) ++ return new DecodedURL(`http://${proxyVar}`); ++ } ++ } ++ else { ++ return undefined; ++ } ++} ++export function checkBypass(reqUrl) { ++ if (!reqUrl.hostname) { ++ return false; ++ } ++ const reqHost = reqUrl.hostname; ++ if (isLoopbackAddress(reqHost)) { ++ return true; ++ } ++ const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; ++ if (!noProxy) { ++ return false; ++ } ++ // Determine the request port ++ let reqPort; ++ if (reqUrl.port) { ++ reqPort = Number(reqUrl.port); ++ } ++ else if (reqUrl.protocol === 'http:') { ++ reqPort = 80; ++ } ++ else if (reqUrl.protocol === 'https:') { ++ reqPort = 443; ++ } ++ // Format the request hostname and hostname with port ++ const upperReqHosts = [reqUrl.hostname.toUpperCase()]; ++ if (typeof reqPort === 'number') { ++ upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); ++ } ++ // Compare request host against noproxy ++ for (const upperNoProxyItem of noProxy ++ .split(',') ++ .map(x => x.trim().toUpperCase()) ++ .filter(x => x)) { ++ if (upperNoProxyItem === '*' || ++ upperReqHosts.some(x => x === upperNoProxyItem || ++ x.endsWith(`.${upperNoProxyItem}`) || ++ (upperNoProxyItem.startsWith('.') && ++ x.endsWith(`${upperNoProxyItem}`)))) { ++ return true; ++ } ++ } ++ return false; ++} ++function isLoopbackAddress(host) { ++ const hostLower = host.toLowerCase(); ++ return (hostLower === 'localhost' || ++ hostLower.startsWith('127.') || ++ hostLower.startsWith('[::1]') || ++ hostLower.startsWith('[0:0:0:0:0:0:0:1]')); ++} ++class DecodedURL extends URL { ++ _decodedUsername; ++ _decodedPassword; ++ constructor(url, base) { ++ super(url, base); ++ this._decodedUsername = decodeURIComponent(super.username); ++ this._decodedPassword = decodeURIComponent(super.password); ++ } ++ get username() { ++ return this._decodedUsername; ++ } ++ get password() { ++ return this._decodedPassword; ++ } ++} ++//# sourceMappingURL=proxy.js.map +\ No newline at end of file +diff --git a/lib/esnext/proxy.js.map b/lib/esnext/proxy.js.map +new file mode 100644 +index 0000000000000000000000000000000000000000..7b4c7f1882399b030e84b3a4fdb69d80776fd00a +--- /dev/null ++++ b/lib/esnext/proxy.js.map +@@ -0,0 +1 @@ ++{"version":3,"file":"proxy.js","sourceRoot":"","sources":["../../src/proxy.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,WAAW,CAAC,MAAW;IACrC,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,KAAK,QAAQ,CAAA;IAE7C,IAAI,WAAW,CAAC,MAAM,CAAC,EAAE;QACvB,OAAO,SAAS,CAAA;KACjB;IAED,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE;QACrB,IAAI,QAAQ,EAAE;YACZ,OAAO,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;SAChE;aAAM;YACL,OAAO,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;SAC9D;IACH,CAAC,CAAC,EAAE,CAAA;IAEJ,IAAI,QAAQ,EAAE;QACZ,IAAI;YACF,OAAO,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAA;SAChC;QAAC,MAAM;YACN,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;gBACrE,OAAO,IAAI,UAAU,CAAC,UAAU,QAAQ,EAAE,CAAC,CAAA;SAC9C;KACF;SAAM;QACL,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,MAAW;IACrC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;QACpB,OAAO,KAAK,CAAA;KACb;IAED,MAAM,OAAO,GAAG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AC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC;oBAC/B,CAAC,CAAC,QAAQ,CAAC,GAAG,gBAAgB,EAAE,CAAC,CAAC,CACvC,EACD;YACA,OAAO,IAAI,CAAA;SACZ;KACF;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,SAAS,iBAAiB,CAAC,IAAY;IACrC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE,CAAA;IACpC,OAAO,CACL,SAAS,KAAK,WAAW;QACzB,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC;QAC5B,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC;QAC7B,SAAS,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAC1C,CAAA;AACH,CAAC;AAED,MAAM,UAAW,SAAQ,GAAG;IAClB,gBAAgB,CAAQ;IACxB,gBAAgB,CAAQ;IAEhC,YAAY,GAAiB,EAAE,IAAmB;QAChD,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAChB,IAAI,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;QAC1D,IAAI,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;IAC5D,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,gBAAgB,CAAA;IAC9B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,gBAAgB,CAAA;IAC9B,CAAC;CACF"} +\ No newline at end of file diff --git a/lib/index.d.ts b/lib/index.d.ts index 38db7000a6214549a9305331ea2d33bbceca9d5d..9caa09694850d35d371beda2586c32bc65690dba 100644 --- a/lib/index.d.ts @@ -117,3 +1165,1189 @@ index 2a0d1a8251955b2f974b44741f3626a1021dd2ce..4201700dc88195930ce79ed5d206da73 -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;;;;;;;;;;;;;;;;;;;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CAAA;qBAClB;yBAAM,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;wBAC1C,yEAAyE;wBACzE,GAAG,GAAG,QAAQ,CAAA;qBACf;yBAAM;wBACL,GAAG,GAAG,oBAAoB,UAAU,GAAG,CAAA;qBACxC;oBAED,MAAM,GAAG,GAAG,IAAI,eAAe,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;oBAChD,GAAG,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAA;oBAE5B,MAAM,CAAC,GAAG,CAAC,CAAA;iBACZ;qBAAM;oBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;iBAClB;YACH,CAAC,CAAA,CAAC,CAAA;QACJ,CAAC;KAAA;CACF;AAtsBD,gCAssBC;AAED,MAAM,aAAa,GAAG,CAAC,GAA2B,EAAO,EAAE,CACzD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA"} +\ No newline at end of file +diff --git a/package.json b/package.json +index 3960a83a5f7dec81a8dfa644663d611f81f3c358..c4d3926a767d21f6fbc0d456732fdaa8566080cd 100644 +--- a/package.json ++++ b/package.json +@@ -10,6 +10,7 @@ + "homepage": "https://github.com/actions/toolkit/tree/main/packages/http-client", + "license": "MIT", + "main": "lib/index.js", ++ "module": "lib/esnext/index.js", + "types": "lib/index.d.ts", + "directories": { + "lib": "lib", +@@ -17,6 +18,7 @@ + }, + "files": [ + "lib", ++ "src", + "!.DS_Store" + ], + "publishConfig": { +@@ -30,10 +32,12 @@ + "scripts": { + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", + "test": "echo \"Error: run tests from root\" && exit 1", +- "build": "tsc", ++ "build": "npm run tsc", + "format": "prettier --write **/*.ts", + "format-check": "prettier --check **/*.ts", +- "tsc": "tsc" ++ "tsc-esnext": "tsc -p ./tsconfig.esnext.json && echo '{\"type\": \"module\"}' > ./lib/esnext/package.json", ++ "tsc-cjs": "tsc && npm run tsc-esnext", ++ "tsc": "npm run tsc-cjs && npm run tsc-esnext" + }, + "bugs": { + "url": "https://github.com/actions/toolkit/issues" +diff --git a/src/auth.ts b/src/auth.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..58938ac4c50b0ea1ad6e06d33c0a6b82f90bb157 +--- /dev/null ++++ b/src/auth.ts +@@ -0,0 +1,87 @@ ++import * as http from 'http' ++import * as ifm from './interfaces' ++import {HttpClientResponse} from './index' ++ ++export class BasicCredentialHandler implements ifm.RequestHandler { ++ username: string ++ password: string ++ ++ constructor(username: string, password: string) { ++ this.username = username ++ this.password = password ++ } ++ ++ prepareRequest(options: http.RequestOptions): void { ++ if (!options.headers) { ++ throw Error('The request has no headers') ++ } ++ options.headers['Authorization'] = `Basic ${Buffer.from( ++ `${this.username}:${this.password}` ++ ).toString('base64')}` ++ } ++ ++ // This handler cannot handle 401 ++ canHandleAuthentication(): boolean { ++ return false ++ } ++ ++ async handleAuthentication(): Promise { ++ throw new Error('not implemented') ++ } ++} ++ ++export class BearerCredentialHandler implements ifm.RequestHandler { ++ token: string ++ ++ constructor(token: string) { ++ this.token = token ++ } ++ ++ // currently implements pre-authorization ++ // TODO: support preAuth = false where it hooks on 401 ++ prepareRequest(options: http.RequestOptions): void { ++ if (!options.headers) { ++ throw Error('The request has no headers') ++ } ++ options.headers['Authorization'] = `Bearer ${this.token}` ++ } ++ ++ // This handler cannot handle 401 ++ canHandleAuthentication(): boolean { ++ return false ++ } ++ ++ async handleAuthentication(): Promise { ++ throw new Error('not implemented') ++ } ++} ++ ++export class PersonalAccessTokenCredentialHandler ++ implements ifm.RequestHandler ++{ ++ token: string ++ ++ constructor(token: string) { ++ this.token = token ++ } ++ ++ // currently implements pre-authorization ++ // TODO: support preAuth = false where it hooks on 401 ++ prepareRequest(options: http.RequestOptions): void { ++ if (!options.headers) { ++ throw Error('The request has no headers') ++ } ++ options.headers['Authorization'] = `Basic ${Buffer.from( ++ `PAT:${this.token}` ++ ).toString('base64')}` ++ } ++ ++ // This handler cannot handle 401 ++ canHandleAuthentication(): boolean { ++ return false ++ } ++ ++ async handleAuthentication(): Promise { ++ throw new Error('not implemented') ++ } ++} +diff --git a/src/index.ts b/src/index.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..b46111b8d5112b7e7d5ada3dbfde61b57ec99f37 +--- /dev/null ++++ b/src/index.ts +@@ -0,0 +1,840 @@ ++/* eslint-disable @typescript-eslint/no-explicit-any */ ++ ++import * as http from 'http' ++import * as https from 'https' ++import * as ifm from './interfaces' ++import * as net from 'net' ++import * as pm from './proxy' ++import * as tunnel from 'tunnel' ++import type ProxyAgent from 'undici/types/proxy-agent' ++ ++export enum HttpCodes { ++ OK = 200, ++ MultipleChoices = 300, ++ MovedPermanently = 301, ++ ResourceMoved = 302, ++ SeeOther = 303, ++ NotModified = 304, ++ UseProxy = 305, ++ SwitchProxy = 306, ++ TemporaryRedirect = 307, ++ PermanentRedirect = 308, ++ BadRequest = 400, ++ Unauthorized = 401, ++ PaymentRequired = 402, ++ Forbidden = 403, ++ NotFound = 404, ++ MethodNotAllowed = 405, ++ NotAcceptable = 406, ++ ProxyAuthenticationRequired = 407, ++ RequestTimeout = 408, ++ Conflict = 409, ++ Gone = 410, ++ TooManyRequests = 429, ++ InternalServerError = 500, ++ NotImplemented = 501, ++ BadGateway = 502, ++ ServiceUnavailable = 503, ++ GatewayTimeout = 504 ++} ++ ++export enum Headers { ++ Accept = 'accept', ++ ContentType = 'content-type' ++} ++ ++export enum MediaTypes { ++ ApplicationJson = 'application/json' ++} ++ ++/** ++ * Returns the proxy URL, depending upon the supplied url and proxy environment variables. ++ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com ++ */ ++export function getProxyUrl(serverUrl: string): string { ++ const proxyUrl = pm.getProxyUrl(new URL(serverUrl)) ++ return proxyUrl ? proxyUrl.href : '' ++} ++ ++const HttpRedirectCodes: number[] = [ ++ HttpCodes.MovedPermanently, ++ HttpCodes.ResourceMoved, ++ HttpCodes.SeeOther, ++ HttpCodes.TemporaryRedirect, ++ HttpCodes.PermanentRedirect ++] ++const HttpResponseRetryCodes: number[] = [ ++ HttpCodes.BadGateway, ++ HttpCodes.ServiceUnavailable, ++ HttpCodes.GatewayTimeout ++] ++const RetryableHttpVerbs: string[] = ['OPTIONS', 'GET', 'DELETE', 'HEAD'] ++const ExponentialBackoffCeiling = 10 ++const ExponentialBackoffTimeSlice = 5 ++ ++export class HttpClientError extends Error { ++ constructor(message: string, statusCode: number) { ++ super(message) ++ this.name = 'HttpClientError' ++ this.statusCode = statusCode ++ Object.setPrototypeOf(this, HttpClientError.prototype) ++ } ++ ++ statusCode: number ++ result?: any ++} ++ ++export class HttpClientResponse { ++ constructor(message: http.IncomingMessage) { ++ this.message = message ++ } ++ ++ message: http.IncomingMessage ++ async readBody(): Promise { ++ return new Promise(async resolve => { ++ let output = Buffer.alloc(0) ++ ++ this.message.on('data', (chunk: Buffer) => { ++ output = Buffer.concat([output, chunk]) ++ }) ++ ++ this.message.on('end', () => { ++ resolve(output.toString()) ++ }) ++ }) ++ } ++ ++ async readBodyBuffer?(): Promise { ++ return new Promise(async resolve => { ++ const chunks: Buffer[] = [] ++ ++ this.message.on('data', (chunk: Buffer) => { ++ chunks.push(chunk) ++ }) ++ ++ this.message.on('end', () => { ++ resolve(Buffer.concat(chunks)) ++ }) ++ }) ++ } ++} ++ ++export function isHttps(requestUrl: string): boolean { ++ const parsedUrl: URL = new URL(requestUrl) ++ return parsedUrl.protocol === 'https:' ++} ++ ++export class HttpClient { ++ userAgent: string | undefined ++ handlers: ifm.RequestHandler[] ++ requestOptions: ifm.RequestOptions | undefined ++ ++ private _ignoreSslError = false ++ private _socketTimeout: number | undefined ++ private _allowRedirects = true ++ private _allowRedirectDowngrade = false ++ private _maxRedirects = 50 ++ private _allowRetries = false ++ private _maxRetries = 1 ++ private _agent: any ++ private _proxyAgent: any ++ private _proxyAgentDispatcher: any ++ private _keepAlive = false ++ private _disposed = false ++ ++ constructor( ++ userAgent?: string, ++ handlers?: ifm.RequestHandler[], ++ requestOptions?: ifm.RequestOptions ++ ) { ++ this.userAgent = userAgent ++ this.handlers = handlers || [] ++ this.requestOptions = requestOptions ++ if (requestOptions) { ++ if (requestOptions.ignoreSslError != null) { ++ this._ignoreSslError = requestOptions.ignoreSslError ++ } ++ ++ this._socketTimeout = requestOptions.socketTimeout ++ ++ if (requestOptions.allowRedirects != null) { ++ this._allowRedirects = requestOptions.allowRedirects ++ } ++ ++ if (requestOptions.allowRedirectDowngrade != null) { ++ this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade ++ } ++ ++ if (requestOptions.maxRedirects != null) { ++ this._maxRedirects = Math.max(requestOptions.maxRedirects, 0) ++ } ++ ++ if (requestOptions.keepAlive != null) { ++ this._keepAlive = requestOptions.keepAlive ++ } ++ ++ if (requestOptions.allowRetries != null) { ++ this._allowRetries = requestOptions.allowRetries ++ } ++ ++ if (requestOptions.maxRetries != null) { ++ this._maxRetries = requestOptions.maxRetries ++ } ++ } ++ } ++ ++ async options( ++ requestUrl: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}) ++ } ++ ++ async get( ++ requestUrl: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request('GET', requestUrl, null, additionalHeaders || {}) ++ } ++ ++ async del( ++ requestUrl: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request('DELETE', requestUrl, null, additionalHeaders || {}) ++ } ++ ++ async post( ++ requestUrl: string, ++ data: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request('POST', requestUrl, data, additionalHeaders || {}) ++ } ++ ++ async patch( ++ requestUrl: string, ++ data: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request('PATCH', requestUrl, data, additionalHeaders || {}) ++ } ++ ++ async put( ++ requestUrl: string, ++ data: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request('PUT', requestUrl, data, additionalHeaders || {}) ++ } ++ ++ async head( ++ requestUrl: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request('HEAD', requestUrl, null, additionalHeaders || {}) ++ } ++ ++ async sendStream( ++ verb: string, ++ requestUrl: string, ++ stream: NodeJS.ReadableStream, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise { ++ return this.request(verb, requestUrl, stream, additionalHeaders) ++ } ++ ++ /** ++ * Gets a typed object from an endpoint ++ * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise ++ */ ++ async getJson( ++ requestUrl: string, ++ additionalHeaders: http.OutgoingHttpHeaders = {} ++ ): Promise> { ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader( ++ additionalHeaders, ++ Headers.Accept, ++ MediaTypes.ApplicationJson ++ ) ++ const res: HttpClientResponse = await this.get( ++ requestUrl, ++ additionalHeaders ++ ) ++ return this._processResponse(res, this.requestOptions) ++ } ++ ++ async postJson( ++ requestUrl: string, ++ obj: any, ++ additionalHeaders: http.OutgoingHttpHeaders = {} ++ ): Promise> { ++ const data: string = JSON.stringify(obj, null, 2) ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader( ++ additionalHeaders, ++ Headers.Accept, ++ MediaTypes.ApplicationJson ++ ) ++ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader( ++ additionalHeaders, ++ Headers.ContentType, ++ MediaTypes.ApplicationJson ++ ) ++ const res: HttpClientResponse = await this.post( ++ requestUrl, ++ data, ++ additionalHeaders ++ ) ++ return this._processResponse(res, this.requestOptions) ++ } ++ ++ async putJson( ++ requestUrl: string, ++ obj: any, ++ additionalHeaders: http.OutgoingHttpHeaders = {} ++ ): Promise> { ++ const data: string = JSON.stringify(obj, null, 2) ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader( ++ additionalHeaders, ++ Headers.Accept, ++ MediaTypes.ApplicationJson ++ ) ++ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader( ++ additionalHeaders, ++ Headers.ContentType, ++ MediaTypes.ApplicationJson ++ ) ++ const res: HttpClientResponse = await this.put( ++ requestUrl, ++ data, ++ additionalHeaders ++ ) ++ return this._processResponse(res, this.requestOptions) ++ } ++ ++ async patchJson( ++ requestUrl: string, ++ obj: any, ++ additionalHeaders: http.OutgoingHttpHeaders = {} ++ ): Promise> { ++ const data: string = JSON.stringify(obj, null, 2) ++ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader( ++ additionalHeaders, ++ Headers.Accept, ++ MediaTypes.ApplicationJson ++ ) ++ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader( ++ additionalHeaders, ++ Headers.ContentType, ++ MediaTypes.ApplicationJson ++ ) ++ const res: HttpClientResponse = await this.patch( ++ requestUrl, ++ data, ++ additionalHeaders ++ ) ++ return this._processResponse(res, this.requestOptions) ++ } ++ ++ /** ++ * Makes a raw http request. ++ * All other methods such as get, post, patch, and request ultimately call this. ++ * Prefer get, del, post and patch ++ */ ++ async request( ++ verb: string, ++ requestUrl: string, ++ data: string | NodeJS.ReadableStream | null, ++ headers?: http.OutgoingHttpHeaders ++ ): Promise { ++ if (this._disposed) { ++ throw new Error('Client has already been disposed.') ++ } ++ ++ const parsedUrl = new URL(requestUrl) ++ let info: ifm.RequestInfo = this._prepareRequest(verb, parsedUrl, headers) ++ ++ // Only perform retries on reads since writes may not be idempotent. ++ const maxTries: number = ++ this._allowRetries && RetryableHttpVerbs.includes(verb) ++ ? this._maxRetries + 1 ++ : 1 ++ let numTries = 0 ++ ++ let response: HttpClientResponse | undefined ++ do { ++ response = await this.requestRaw(info, data) ++ ++ // Check if it's an authentication challenge ++ if ( ++ response && ++ response.message && ++ response.message.statusCode === HttpCodes.Unauthorized ++ ) { ++ let authenticationHandler: ifm.RequestHandler | undefined ++ ++ for (const handler of this.handlers) { ++ if (handler.canHandleAuthentication(response)) { ++ authenticationHandler = handler ++ break ++ } ++ } ++ ++ if (authenticationHandler) { ++ return authenticationHandler.handleAuthentication(this, info, data) ++ } else { ++ // We have received an unauthorized response but have no handlers to handle it. ++ // Let the response return to the caller. ++ return response ++ } ++ } ++ ++ let redirectsRemaining: number = this._maxRedirects ++ while ( ++ response.message.statusCode && ++ HttpRedirectCodes.includes(response.message.statusCode) && ++ this._allowRedirects && ++ redirectsRemaining > 0 ++ ) { ++ const redirectUrl: string | undefined = ++ response.message.headers['location'] ++ if (!redirectUrl) { ++ // if there's no location to redirect to, we won't ++ break ++ } ++ const parsedRedirectUrl = new URL(redirectUrl) ++ if ( ++ parsedUrl.protocol === 'https:' && ++ parsedUrl.protocol !== parsedRedirectUrl.protocol && ++ !this._allowRedirectDowngrade ++ ) { ++ 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.' ++ ) ++ } ++ ++ // we need to finish reading the response before reassigning response ++ // which will leak the open socket. ++ await response.readBody() ++ ++ // strip authorization header if redirected to a different hostname ++ if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { ++ for (const header in headers) { ++ // header names are case insensitive ++ if (header.toLowerCase() === 'authorization') { ++ delete headers[header] ++ } ++ } ++ } ++ ++ // let's make the request with the new redirectUrl ++ info = this._prepareRequest(verb, parsedRedirectUrl, headers) ++ response = await this.requestRaw(info, data) ++ redirectsRemaining-- ++ } ++ ++ if ( ++ !response.message.statusCode || ++ !HttpResponseRetryCodes.includes(response.message.statusCode) ++ ) { ++ // If not a retry code, return immediately instead of retrying ++ return response ++ } ++ ++ numTries += 1 ++ ++ if (numTries < maxTries) { ++ await response.readBody() ++ await this._performExponentialBackoff(numTries) ++ } ++ } while (numTries < maxTries) ++ ++ return response ++ } ++ ++ /** ++ * Needs to be called if keepAlive is set to true in request options. ++ */ ++ dispose(): void { ++ if (this._agent) { ++ this._agent.destroy() ++ } ++ ++ this._disposed = true ++ } ++ ++ /** ++ * Raw request. ++ * @param info ++ * @param data ++ */ ++ async requestRaw( ++ info: ifm.RequestInfo, ++ data: string | NodeJS.ReadableStream | null ++ ): Promise { ++ return new Promise((resolve, reject) => { ++ function callbackForResult(err?: Error, res?: HttpClientResponse): void { ++ if (err) { ++ reject(err) ++ } else if (!res) { ++ // If `err` is not passed, then `res` must be passed. ++ reject(new Error('Unknown error')) ++ } else { ++ resolve(res) ++ } ++ } ++ ++ this.requestRawWithCallback(info, data, callbackForResult) ++ }) ++ } ++ ++ /** ++ * Raw request with callback. ++ * @param info ++ * @param data ++ * @param onResult ++ */ ++ requestRawWithCallback( ++ info: ifm.RequestInfo, ++ data: string | NodeJS.ReadableStream | null, ++ onResult: (err?: Error, res?: HttpClientResponse) => void ++ ): void { ++ if (typeof data === 'string') { ++ if (!info.options.headers) { ++ info.options.headers = {} ++ } ++ info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8') ++ } ++ ++ let callbackCalled = false ++ function handleResult(err?: Error, res?: HttpClientResponse): void { ++ if (!callbackCalled) { ++ callbackCalled = true ++ onResult(err, res) ++ } ++ } ++ ++ const req: http.ClientRequest = info.httpModule.request( ++ info.options, ++ (msg: http.IncomingMessage) => { ++ const res: HttpClientResponse = new HttpClientResponse(msg) ++ handleResult(undefined, res) ++ } ++ ) ++ ++ let socket: net.Socket ++ req.on('socket', sock => { ++ socket = sock ++ }) ++ ++ // If we ever get disconnected, we want the socket to timeout eventually ++ req.setTimeout(this._socketTimeout || 3 * 60000, () => { ++ if (socket) { ++ socket.end() ++ } ++ handleResult(new Error(`Request timeout: ${info.options.path}`)) ++ }) ++ ++ req.on('error', function (err) { ++ // err has statusCode property ++ // res should have headers ++ handleResult(err) ++ }) ++ ++ if (data && typeof data === 'string') { ++ req.write(data, 'utf8') ++ } ++ ++ if (data && typeof data !== 'string') { ++ data.on('close', function () { ++ req.end() ++ }) ++ ++ data.pipe(req) ++ } else { ++ req.end() ++ } ++ } ++ ++ /** ++ * Gets an http agent. This function is useful when you need an http agent that handles ++ * routing through a proxy server - depending upon the url and proxy environment variables. ++ * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com ++ */ ++ getAgent(serverUrl: string): http.Agent { ++ const parsedUrl = new URL(serverUrl) ++ return this._getAgent(parsedUrl) ++ } ++ ++ async getAgentDispatcher(serverUrl: string): Promise { ++ const parsedUrl = new URL(serverUrl) ++ const proxyUrl = pm.getProxyUrl(parsedUrl) ++ const useProxy = proxyUrl && proxyUrl.hostname ++ if (!useProxy) { ++ return undefined ++ } ++ ++ return await this._getProxyAgentDispatcher(parsedUrl, proxyUrl) ++ } ++ ++ private _prepareRequest( ++ method: string, ++ requestUrl: URL, ++ headers?: http.OutgoingHttpHeaders ++ ): ifm.RequestInfo { ++ const info: ifm.RequestInfo = {} ++ ++ info.parsedUrl = requestUrl ++ const usingSsl: boolean = info.parsedUrl.protocol === 'https:' ++ info.httpModule = usingSsl ? https : http ++ const defaultPort: number = usingSsl ? 443 : 80 ++ ++ info.options = {} ++ info.options.host = info.parsedUrl.hostname ++ info.options.port = info.parsedUrl.port ++ ? parseInt(info.parsedUrl.port) ++ : defaultPort ++ info.options.path = ++ (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '') ++ info.options.method = method ++ info.options.headers = this._mergeHeaders(headers) ++ if (this.userAgent != null) { ++ info.options.headers['user-agent'] = this.userAgent ++ } ++ ++ info.options.agent = this._getAgent(info.parsedUrl) ++ ++ // gives handlers an opportunity to participate ++ if (this.handlers) { ++ for (const handler of this.handlers) { ++ handler.prepareRequest(info.options) ++ } ++ } ++ ++ return info ++ } ++ ++ private _mergeHeaders( ++ headers?: http.OutgoingHttpHeaders ++ ): http.OutgoingHttpHeaders { ++ if (this.requestOptions && this.requestOptions.headers) { ++ return Object.assign( ++ {}, ++ lowercaseKeys(this.requestOptions.headers), ++ lowercaseKeys(headers || {}) ++ ) ++ } ++ ++ return lowercaseKeys(headers || {}) ++ } ++ ++ private _getExistingOrDefaultHeader( ++ additionalHeaders: http.OutgoingHttpHeaders, ++ header: string, ++ _default: string ++ ): string | number | string[] { ++ let clientHeader: string | undefined ++ if (this.requestOptions && this.requestOptions.headers) { ++ clientHeader = lowercaseKeys(this.requestOptions.headers)[header] ++ } ++ return additionalHeaders[header] || clientHeader || _default ++ } ++ ++ private _getAgent(parsedUrl: URL): http.Agent { ++ let agent ++ const proxyUrl = pm.getProxyUrl(parsedUrl) ++ const useProxy = proxyUrl && proxyUrl.hostname ++ ++ if (this._keepAlive && useProxy) { ++ agent = this._proxyAgent ++ } ++ ++ if (!useProxy) { ++ agent = this._agent ++ } ++ ++ // if agent is already assigned use that agent. ++ if (agent) { ++ return agent ++ } ++ ++ const usingSsl = parsedUrl.protocol === 'https:' ++ let maxSockets = 100 ++ if (this.requestOptions) { ++ maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets ++ } ++ ++ // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis. ++ if (proxyUrl && proxyUrl.hostname) { ++ const agentOptions = { ++ maxSockets, ++ keepAlive: this._keepAlive, ++ proxy: { ++ ...((proxyUrl.username || proxyUrl.password) && { ++ proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` ++ }), ++ host: proxyUrl.hostname, ++ port: proxyUrl.port ++ } ++ } ++ ++ let tunnelAgent: Function ++ const overHttps = proxyUrl.protocol === 'https:' ++ if (usingSsl) { ++ tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp ++ } else { ++ tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp ++ } ++ ++ agent = tunnelAgent(agentOptions) ++ this._proxyAgent = agent ++ } ++ ++ // if tunneling agent isn't assigned create a new agent ++ if (!agent) { ++ const options = {keepAlive: this._keepAlive, maxSockets} ++ agent = usingSsl ? new https.Agent(options) : new http.Agent(options) ++ this._agent = agent ++ } ++ ++ if (usingSsl && this._ignoreSslError) { ++ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process ++ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options ++ // we have to cast it to any and change it directly ++ agent.options = Object.assign(agent.options || {}, { ++ rejectUnauthorized: false ++ }) ++ } ++ ++ return agent ++ } ++ ++ private async _getProxyAgentDispatcher( ++ parsedUrl: URL, ++ proxyUrl: URL ++ ): Promise { ++ let proxyAgent ++ ++ if (this._keepAlive) { ++ proxyAgent = this._proxyAgentDispatcher ++ } ++ ++ // if agent is already assigned use that agent. ++ if (proxyAgent) { ++ return proxyAgent ++ } ++ ++ const usingSsl = parsedUrl.protocol === 'https:' ++ ++ // Lazy load ProxyAgent to avoid bundling all the undici ++ const ProxyAgent = (await import( ++ 'undici/lib/proxy-agent' ++ )) as typeof import('undici/types/proxy-agent').default ++ ++ proxyAgent = new ProxyAgent({ ++ uri: proxyUrl.href, ++ pipelining: !this._keepAlive ? 0 : 1, ++ ...((proxyUrl.username || proxyUrl.password) && { ++ token: `Basic ${Buffer.from( ++ `${proxyUrl.username}:${proxyUrl.password}` ++ ).toString('base64')}` ++ }) ++ }) ++ this._proxyAgentDispatcher = proxyAgent ++ ++ if (usingSsl && this._ignoreSslError) { ++ // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process ++ // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options ++ // we have to cast it to any and change it directly ++ proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, { ++ rejectUnauthorized: false ++ }) ++ } ++ ++ return proxyAgent ++ } ++ ++ private async _performExponentialBackoff(retryNumber: number): Promise { ++ retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber) ++ const ms: number = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber) ++ return new Promise(resolve => setTimeout(() => resolve(), ms)) ++ } ++ ++ private async _processResponse( ++ res: HttpClientResponse, ++ options?: ifm.RequestOptions ++ ): Promise> { ++ return new Promise>(async (resolve, reject) => { ++ const statusCode = res.message.statusCode || 0 ++ ++ const response: ifm.TypedResponse = { ++ statusCode, ++ result: null, ++ headers: {} ++ } ++ ++ // not found leads to null obj returned ++ if (statusCode === HttpCodes.NotFound) { ++ resolve(response) ++ } ++ ++ // get the result from the body ++ ++ function dateTimeDeserializer(key: any, value: any): any { ++ if (typeof value === 'string') { ++ const a = new Date(value) ++ if (!isNaN(a.valueOf())) { ++ return a ++ } ++ } ++ ++ return value ++ } ++ ++ let obj: any ++ let contents: string | undefined ++ ++ try { ++ contents = await res.readBody() ++ if (contents && contents.length > 0) { ++ if (options && options.deserializeDates) { ++ obj = JSON.parse(contents, dateTimeDeserializer) ++ } else { ++ obj = JSON.parse(contents) ++ } ++ ++ response.result = obj ++ } ++ ++ response.headers = res.message.headers ++ } catch (err) { ++ // Invalid resource (contents not json); leaving result obj null ++ } ++ ++ // note that 3xx redirects are handled by the http layer. ++ if (statusCode > 299) { ++ let msg: string ++ ++ // if exception/error in body, attempt to get better error ++ if (obj && obj.message) { ++ msg = obj.message ++ } else if (contents && contents.length > 0) { ++ // it may be the case that the exception is in the body message as string ++ msg = contents ++ } else { ++ msg = `Failed request: (${statusCode})` ++ } ++ ++ const err = new HttpClientError(msg, statusCode) ++ err.result = response.result ++ ++ reject(err) ++ } else { ++ resolve(response) ++ } ++ }) ++ } ++} ++ ++const lowercaseKeys = (obj: {[index: string]: any}): any => ++ Object.keys(obj).reduce((c: any, k) => ((c[k.toLowerCase()] = obj[k]), c), {}) +diff --git a/src/interfaces.ts b/src/interfaces.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..96b0fec7a99e80c5f77c02523ac36e7f70c8eb2d +--- /dev/null ++++ b/src/interfaces.ts +@@ -0,0 +1,91 @@ ++import * as http from 'http' ++import * as https from 'https' ++import {HttpClientResponse} from './index' ++ ++export interface HttpClient { ++ options( ++ requestUrl: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise ++ get( ++ requestUrl: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise ++ del( ++ requestUrl: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise ++ post( ++ requestUrl: string, ++ data: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise ++ patch( ++ requestUrl: string, ++ data: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise ++ put( ++ requestUrl: string, ++ data: string, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise ++ sendStream( ++ verb: string, ++ requestUrl: string, ++ stream: NodeJS.ReadableStream, ++ additionalHeaders?: http.OutgoingHttpHeaders ++ ): Promise ++ request( ++ verb: string, ++ requestUrl: string, ++ data: string | NodeJS.ReadableStream, ++ headers: http.OutgoingHttpHeaders ++ ): Promise ++ requestRaw( ++ info: RequestInfo, ++ data: string | NodeJS.ReadableStream ++ ): Promise ++ requestRawWithCallback( ++ info: RequestInfo, ++ data: string | NodeJS.ReadableStream, ++ onResult: (err?: Error, res?: HttpClientResponse) => void ++ ): void ++} ++ ++export interface RequestHandler { ++ prepareRequest(options: http.RequestOptions): void ++ canHandleAuthentication(response: HttpClientResponse): boolean ++ handleAuthentication( ++ httpClient: HttpClient, ++ requestInfo: RequestInfo, ++ data: string | NodeJS.ReadableStream | null ++ ): Promise ++} ++ ++export interface RequestInfo { ++ options: http.RequestOptions ++ parsedUrl: URL ++ httpModule: typeof http | typeof https ++} ++ ++export interface RequestOptions { ++ headers?: http.OutgoingHttpHeaders ++ socketTimeout?: number ++ ignoreSslError?: boolean ++ allowRedirects?: boolean ++ allowRedirectDowngrade?: boolean ++ maxRedirects?: number ++ maxSockets?: number ++ keepAlive?: boolean ++ deserializeDates?: boolean ++ // Allows retries only on Read operations (since writes may not be idempotent) ++ allowRetries?: boolean ++ maxRetries?: number ++} ++ ++export interface TypedResponse { ++ statusCode: number ++ result: T | null ++ headers: http.IncomingHttpHeaders ++} +diff --git a/src/proxy.ts b/src/proxy.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..3a9c6834ec9da13b1af9b8f8390eff8ec1002f85 +--- /dev/null ++++ b/src/proxy.ts +@@ -0,0 +1,108 @@ ++export function getProxyUrl(reqUrl: URL): URL | undefined { ++ const usingSsl = reqUrl.protocol === 'https:' ++ ++ if (checkBypass(reqUrl)) { ++ return undefined ++ } ++ ++ const proxyVar = (() => { ++ if (usingSsl) { ++ return process.env['https_proxy'] || process.env['HTTPS_PROXY'] ++ } else { ++ return process.env['http_proxy'] || process.env['HTTP_PROXY'] ++ } ++ })() ++ ++ if (proxyVar) { ++ try { ++ return new DecodedURL(proxyVar) ++ } catch { ++ if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) ++ return new DecodedURL(`http://${proxyVar}`) ++ } ++ } else { ++ return undefined ++ } ++} ++ ++export function checkBypass(reqUrl: URL): boolean { ++ if (!reqUrl.hostname) { ++ return false ++ } ++ ++ const reqHost = reqUrl.hostname ++ if (isLoopbackAddress(reqHost)) { ++ return true ++ } ++ ++ const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '' ++ if (!noProxy) { ++ return false ++ } ++ ++ // Determine the request port ++ let reqPort: number | undefined ++ if (reqUrl.port) { ++ reqPort = Number(reqUrl.port) ++ } else if (reqUrl.protocol === 'http:') { ++ reqPort = 80 ++ } else if (reqUrl.protocol === 'https:') { ++ reqPort = 443 ++ } ++ ++ // Format the request hostname and hostname with port ++ const upperReqHosts = [reqUrl.hostname.toUpperCase()] ++ if (typeof reqPort === 'number') { ++ upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`) ++ } ++ ++ // Compare request host against noproxy ++ for (const upperNoProxyItem of noProxy ++ .split(',') ++ .map(x => x.trim().toUpperCase()) ++ .filter(x => x)) { ++ if ( ++ upperNoProxyItem === '*' || ++ upperReqHosts.some( ++ x => ++ x === upperNoProxyItem || ++ x.endsWith(`.${upperNoProxyItem}`) || ++ (upperNoProxyItem.startsWith('.') && ++ x.endsWith(`${upperNoProxyItem}`)) ++ ) ++ ) { ++ return true ++ } ++ } ++ ++ return false ++} ++ ++function isLoopbackAddress(host: string): boolean { ++ const hostLower = host.toLowerCase() ++ return ( ++ hostLower === 'localhost' || ++ hostLower.startsWith('127.') || ++ hostLower.startsWith('[::1]') || ++ hostLower.startsWith('[0:0:0:0:0:0:0:1]') ++ ) ++} ++ ++class DecodedURL extends URL { ++ private _decodedUsername: string ++ private _decodedPassword: string ++ ++ constructor(url: string | URL, base?: string | URL) { ++ super(url, base) ++ this._decodedUsername = decodeURIComponent(super.username) ++ this._decodedPassword = decodeURIComponent(super.password) ++ } ++ ++ get username(): string { ++ return this._decodedUsername ++ } ++ ++ get password(): string { ++ return this._decodedPassword ++ } ++} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e9b79514..ed8e2cc0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: patchedDependencies: '@actions/http-client@2.2.3': - hash: wb6rtsgjkvzsp377hzv24bv2m4 + hash: gqcf2jay7nqqezf3jni6mxu74u path: patches/@actions__http-client@2.2.3.patch importers: @@ -21,7 +21,7 @@ importers: version: 1.1.1 '@actions/http-client': specifier: ^2.2.3 - version: 2.2.3(patch_hash=wb6rtsgjkvzsp377hzv24bv2m4) + version: 2.2.3(patch_hash=gqcf2jay7nqqezf3jni6mxu74u) '@actions/io': specifier: ^1.1.3 version: 1.1.3 @@ -40,6 +40,9 @@ importers: '@iarna/toml': specifier: ^2.2.5 version: 2.2.5 + '@liuli-util/vite-plugin-node': + specifier: ^0.9.0 + version: 0.9.0(@types/node@12.20.55)(rollup@4.21.2)(typescript@5.5.4)(vite@5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6)) '@octokit/core': specifier: ^6.1.2 version: 6.1.2 @@ -183,7 +186,7 @@ importers: version: 6.1.2 parcel: specifier: 2.12.0 - version: 2.12.0(@swc/helpers@0.5.13)(postcss@8.4.44)(typescript@5.5.4) + version: 2.12.0(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4) path-exists: specifier: ^5.0.0 version: 5.0.0 @@ -202,6 +205,9 @@ importers: retry-as-promised: specifier: ^7.0.4 version: 7.0.4 + rollup: + specifier: ^4.21.2 + version: 4.21.2 safe-stable-stringify: specifier: ^2.5.0 version: 2.5.0 @@ -223,6 +229,9 @@ importers: simple-update-notifier: specifier: ^2.0.0 version: 2.0.0 + terser: + specifier: ^5.31.6 + version: 5.31.6 terser-config-atomic: specifier: ^1.0.0 version: 1.0.0 @@ -250,6 +259,12 @@ importers: util.types: specifier: ^0.0.2 version: 0.0.2 + vite: + specifier: ^5.4.3 + version: 5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6) + vite-plugin-node: + specifier: ^3.1.0 + version: 3.1.0(@swc/core@1.7.23(@swc/helpers@0.5.13))(vite@5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6)) web-streams-polyfill: specifier: ^4.0.0 version: 4.0.0 @@ -1023,6 +1038,144 @@ packages: cpu: [x64] os: [win32] + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + '@eslint-community/eslint-utils@4.4.0': resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1151,6 +1304,9 @@ packages: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} + '@jridgewell/source-map@0.3.6': + resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==} + '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} @@ -1166,6 +1322,11 @@ packages: '@lezer/lr@1.4.2': resolution: {integrity: sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==} + '@liuli-util/vite-plugin-node@0.9.0': + resolution: {integrity: sha512-y3lgFi/51LwKWkAvUO8Ip7I1RRt0X/WI5ALtVwtLCaOrDWKbv7dICctXlc7FiZek5SnNXncU4PU9s6IwZkqQmw==} + peerDependencies: + vite: ^4.x || ^5.x + '@lmdb/lmdb-darwin-arm64@2.8.5': resolution: {integrity: sha512-KPDeVScZgA1oq0CiPBcOa3kHIqU+pTOwRFDIhxvmf8CTNvqdZQYp5cCKW0bUk69VygB2PuTiINFWbY78aR2pQw==} cpu: [arm64] @@ -1196,6 +1357,32 @@ packages: cpu: [x64] os: [win32] + '@microsoft/api-extractor-model@7.28.13': + resolution: {integrity: sha512-39v/JyldX4MS9uzHcdfmjjfS6cYGAoXV+io8B5a338pkHiSt+gy2eXQ0Q7cGFJ7quSa1VqqlMdlPrB6sLR/cAw==} + + '@microsoft/api-extractor-model@7.29.6': + resolution: {integrity: sha512-gC0KGtrZvxzf/Rt9oMYD2dHvtN/1KPEYsrQPyMKhLHnlVuO/f4AFN3E4toqZzD2pt4LhkKoYmL2H9tX3yCOyRw==} + + '@microsoft/api-extractor@7.43.0': + resolution: {integrity: sha512-GFhTcJpB+MI6FhvXEI9b2K0snulNLWHqC/BbcJtyNYcKUiw7l3Lgis5ApsYncJ0leALX7/of4XfmXk+maT111w==} + hasBin: true + + '@microsoft/api-extractor@7.47.7': + resolution: {integrity: sha512-fNiD3G55ZJGhPOBPMKD/enozj8yxJSYyVJWxRWdcUtw842rvthDHJgUWq9gXQTensFlMHv2wGuCjjivPv53j0A==} + hasBin: true + + '@microsoft/tsdoc-config@0.16.2': + resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==} + + '@microsoft/tsdoc-config@0.17.0': + resolution: {integrity: sha512-v/EYRXnCAIHxOHW+Plb6OWuUoMotxTN0GLatnpOb1xq0KuTNw/WI3pamJx/UbsoJP5k9MCw1QxvvhPcF9pH3Zg==} + + '@microsoft/tsdoc@0.14.2': + resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} + + '@microsoft/tsdoc@0.15.0': + resolution: {integrity: sha512-HZpPoABogPvjeJOdzCOSJsXeL/SMCBgBZMVC3X3d7YYp2gf31MfxhUoYUNwf1ERPJOnQc0wkFn9trqI6ZEdZuA==} + '@mischnic/json-sourcemap@0.1.1': resolution: {integrity: sha512-iA7+tyVqfrATAIsIRWQG+a7ZLLD0VaOCKV2Wd/v4mqIU3J9c4jx9p7S0nw1XH3gJCKNBOOwACOPYYSUu9pgT+w==} engines: {node: '>=12.0.0'} @@ -1602,6 +1789,143 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@rollup/pluginutils@4.2.1': + resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} + engines: {node: '>= 8.0.0'} + + '@rollup/pluginutils@5.1.0': + resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/rollup-android-arm-eabi@4.21.2': + resolution: {integrity: sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.21.2': + resolution: {integrity: sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.21.2': + resolution: {integrity: sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.21.2': + resolution: {integrity: sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': + resolution: {integrity: sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.21.2': + resolution: {integrity: sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.21.2': + resolution: {integrity: sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.21.2': + resolution: {integrity: sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': + resolution: {integrity: sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.21.2': + resolution: {integrity: sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.21.2': + resolution: {integrity: sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.21.2': + resolution: {integrity: sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.21.2': + resolution: {integrity: sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.21.2': + resolution: {integrity: sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.21.2': + resolution: {integrity: sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.21.2': + resolution: {integrity: sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==} + cpu: [x64] + os: [win32] + + '@rushstack/node-core-library@4.0.2': + resolution: {integrity: sha512-hyES82QVpkfQMeBMteQUnrhASL/KHPhd7iJ8euduwNJG4mu2GSOKybf0rOEjOm1Wz7CwJEUm9y0yD7jg2C1bfg==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + '@rushstack/node-core-library@5.7.0': + resolution: {integrity: sha512-Ff9Cz/YlWu9ce4dmqNBZpA45AEya04XaBFIjV7xTVeEf+y/kTjEasmozqFELXlNG4ROdevss75JrrZ5WgufDkQ==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + '@rushstack/rig-package@0.5.2': + resolution: {integrity: sha512-mUDecIJeH3yYGZs2a48k+pbhM6JYwWlgjs2Ca5f2n1G2/kgdgP9D/07oglEGf6mRyXEnazhEENeYTSNDRCwdqA==} + + '@rushstack/rig-package@0.5.3': + resolution: {integrity: sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow==} + + '@rushstack/terminal@0.10.0': + resolution: {integrity: sha512-UbELbXnUdc7EKwfH2sb8ChqNgapUOdqcCIdQP4NGxBpTZV2sQyeekuK3zmfQSa/MN+/7b4kBogl2wq0vpkpYGw==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + '@rushstack/terminal@0.14.0': + resolution: {integrity: sha512-juTKMAMpTIJKudeFkG5slD8Z/LHwNwGZLtU441l/u82XdTBfsP+LbGKJLCNwP5se+DMCT55GB8x9p6+C4UL7jw==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + '@rushstack/ts-command-line@4.19.1': + resolution: {integrity: sha512-J7H768dgcpG60d7skZ5uSSwyCZs/S2HrWP1Ds8d1qYAyaaeJmpmmLr9BVw97RjFzmQPOYnoXcKA4GkqDCkduQg==} + + '@rushstack/ts-command-line@4.22.6': + resolution: {integrity: sha512-QSRqHT/IfoC5nk9zn6+fgyqOPXHME0BfchII9EUPR19pocsNp/xSbeBCbD3PIR2Lg+Q5qk7OFqk1VhWPMdKHJg==} + '@shockpkg/archive-files@https://codeload.github.com/aminya/archive-files/tar.gz/54ec59fad46aca736ac6feb6c7bb526528141b9d': resolution: {tarball: https://codeload.github.com/aminya/archive-files/tar.gz/54ec59fad46aca736ac6feb6c7bb526528141b9d} version: 3.2.2 @@ -1724,6 +2048,9 @@ packages: '@tsconfig/node16@1.0.4': resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} + '@types/argparse@1.0.38': + resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} + '@types/babel__core@7.20.5': resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} @@ -1944,6 +2271,32 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@volar/language-core@1.11.1': + resolution: {integrity: sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==} + + '@volar/source-map@1.11.1': + resolution: {integrity: sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==} + + '@volar/typescript@1.11.1': + resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==} + + '@vue/compiler-core@3.5.0': + resolution: {integrity: sha512-ja7cpqAOfw4tyFAxgBz70Z42miNDeaqTxExTsnXDLomRpqfyCgyvZvFp482fmsElpfvsoMJUsvzULhvxUTW6Iw==} + + '@vue/compiler-dom@3.5.0': + resolution: {integrity: sha512-xYjUybWZXl+1R/toDy815i4PbeehL2hThiSGkcpmIOCy2HoYyeeC/gAWK/Y/xsoK+GSw198/T5O31bYuQx5uvQ==} + + '@vue/language-core@1.8.27': + resolution: {integrity: sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@vue/shared@3.5.0': + resolution: {integrity: sha512-m9IgiteBpCkFaMNwCOBkFksA7z8QiKc30ooRuoXWUFRDu0mGyNPlFHmbncF0/Kra1RlX8QrmBbRaIxVvikaR0Q==} + '@xmldom/xmldom@0.8.10': resolution: {integrity: sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==} engines: {node: '>=10.0.0'} @@ -1977,9 +2330,31 @@ packages: resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} engines: {node: '>= 14'} + ajv-draft-04@1.0.0: + resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} + peerDependencies: + ajv: ^8.5.0 + peerDependenciesMeta: + ajv: + optional: true + + ajv-formats@3.0.1: + resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + ajv@8.12.0: + resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + + ajv@8.13.0: + resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==} + ansi-align@3.0.1: resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} @@ -2409,6 +2784,9 @@ packages: resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} engines: {node: '>=18'} + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + commander@6.2.1: resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==} engines: {node: '>= 6'} @@ -2433,6 +2811,9 @@ packages: resolution: {integrity: sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==} engines: {node: '>= 10'} + computeds@0.0.1: + resolution: {integrity: sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==} + concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} @@ -2580,6 +2961,9 @@ packages: date-now@0.1.4: resolution: {integrity: sha512-AsElvov3LoNB7tf5k37H2jYSB+ZZPMT5sG2QjJCcdlV5chIv6htBUBUui2IKRjgtKAKtCBN7Zbwa+MtwLjSeNw==} + de-indent@1.0.2: + resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} + debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -2852,6 +3236,11 @@ packages: es6-weak-map@2.0.3: resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==} + esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} @@ -3088,6 +3477,9 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} + estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -3220,6 +3612,10 @@ packages: resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} engines: {node: '>=12'} + fs-extra@7.0.1: + resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} + engines: {node: '>=6 <7 || >=8'} + fs-readdir-recursive@1.1.0: resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==} @@ -3392,6 +3788,10 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} + he@1.2.0: + resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} + hasBin: true + hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} @@ -3479,6 +3879,10 @@ packages: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} + import-lazy@4.0.0: + resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} + engines: {node: '>=8'} + import-local@3.2.0: resolution: {integrity: sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==} engines: {node: '>=8'} @@ -3892,6 +4296,9 @@ packages: node-notifier: optional: true + jju@1.4.0: + resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} + js-tokens@3.0.2: resolution: {integrity: sha512-RjTcuD4xjtthQkaWH7dFlH85L+QaVtSoOyGdZ3g6HFhS9dFNDfLyqgm2NFe2X6cQpeFmt0452FJjFG5UameExg==} @@ -3928,6 +4335,9 @@ packages: json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} @@ -3943,6 +4353,9 @@ packages: jsonc-parser@3.3.1: resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} @@ -3967,6 +4380,9 @@ packages: known-css-properties@0.30.0: resolution: {integrity: sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==} + kolorist@1.8.0: + resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} + language-subtag-registry@0.3.23: resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==} @@ -4135,6 +4551,12 @@ packages: lodash.flatten@4.4.0: resolution: {integrity: sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==} + lodash.get@4.4.2: + resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==} + + lodash.isequal@4.5.0: + resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} + lodash.isplainobject@4.0.6: resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} @@ -4158,6 +4580,10 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + lru-queue@0.1.0: resolution: {integrity: sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==} @@ -4165,6 +4591,9 @@ packages: resolution: {integrity: sha512-tPJQ1HeyiU2vRruNGhZ+VleWuMQRro8iFtJxYgnS4NQe+EukKF6aGiIT+7flZhISAt2iaXBCfFGvAyif7/f8nQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} engines: {node: '>=6'} @@ -4346,6 +4775,9 @@ packages: resolution: {tarball: https://codeload.github.com/aminya/msvc-dev-cmd/tar.gz/c01f519bd995460228ed3dec4df51df92dc290fd} version: 1.13.0-dev + muggle-string@0.3.1: + resolution: {integrity: sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==} + multiformats@13.2.2: resolution: {integrity: sha512-RWI+nyf0q64vyOxL8LbKtjJMki0sogRL/8axvklNtiTM0iFCVtHwME9w6+0P1/v4dQvsIg8A45oT3ka1t/M/+A==} @@ -4579,6 +5011,9 @@ packages: patha@0.4.1: resolution: {integrity: sha512-tNixrG68Jb4ATa78d97Bt33TJRsG4QQIQNrB5pkmRE39LQXImKbiM4ven39e8KKrQaun3ffiqcTvSK8FSXW+Tw==} + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + pend@1.2.0: resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} @@ -4808,6 +5243,10 @@ packages: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + require-main-filename@2.0.0: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} @@ -4827,6 +5266,9 @@ packages: resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} engines: {node: '>=10'} + resolve@1.19.0: + resolution: {integrity: sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==} + resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -4851,6 +5293,17 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true + rollup-plugin-node-externals@7.1.3: + resolution: {integrity: sha512-RM+7tJAejAoRsCf93TptTSdqUhRA8S78DleihMiu54Kac+uLkd9VIegLPhGnaW3ehZTXh56+R301mFH6j2A7vw==} + engines: {node: '>= 21 || ^20.6.0 || ^18.19.0'} + peerDependencies: + rollup: ^3.0.0 || ^4.0.0 + + rollup@4.21.2: + resolution: {integrity: sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-async@2.4.1: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} @@ -4894,6 +5347,11 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true + semver@7.5.4: + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + engines: {node: '>=10'} + hasBin: true + semver@7.6.3: resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} @@ -4986,6 +5444,9 @@ packages: source-map-support@0.5.13: resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} @@ -5021,6 +5482,10 @@ packages: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} engines: {node: '>= 0.4'} + string-argv@0.3.2: + resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} + engines: {node: '>=0.6.19'} + string-length@4.0.2: resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} engines: {node: '>=10'} @@ -5150,6 +5615,11 @@ packages: terser-config-atomic@1.0.0: resolution: {integrity: sha512-WlhyFd4+honI08iaMxLg5P1eSg7RknCHzMI+AOwTNtMWkflGRrLHb7enbYmtpirUi05Tdun9wi/TNinNj4mrSg==} + terser@5.31.6: + resolution: {integrity: sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==} + engines: {node: '>=10'} + hasBin: true + test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -5338,6 +5808,11 @@ packages: resolution: {integrity: sha512-8WbVAQAUlENo1q3c3zZYuy5k9VzBQvp8AX9WOtbvyWlLM1v5JaSRmjubLjzHF4JFtptjH/5c/i95yaElvcjC0A==} engines: {node: '>= 0.4'} + typescript@5.4.2: + resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} + engines: {node: '>=14.17'} + hasBin: true + typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -5383,6 +5858,10 @@ packages: universal-user-agent@7.0.2: resolution: {integrity: sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==} + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + universalify@2.0.1: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} @@ -5425,6 +5904,60 @@ packages: validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + validator@13.12.0: + resolution: {integrity: sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==} + engines: {node: '>= 0.10'} + + vite-plugin-dts@3.9.1: + resolution: {integrity: sha512-rVp2KM9Ue22NGWB8dNtWEr+KekN3rIgz1tWD050QnRGlriUCmaDwa7qA5zDEjbXg5lAXhYMSBJtx3q3hQIJZSg==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + typescript: '*' + vite: '*' + peerDependenciesMeta: + vite: + optional: true + + vite-plugin-node@3.1.0: + resolution: {integrity: sha512-LN9byKedZaokEWcH+DTdeV7YLN34dWH7Em2ldHZ77oVGvC/uxHnK43AGPrV9+9CoOh1x9X3Yc55vW/OQYssFDQ==} + peerDependencies: + '@swc/core': ^1.2.153 + vite: ^4.0.0 + peerDependenciesMeta: + '@swc/core': + optional: true + + vite@5.4.3: + resolution: {integrity: sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + vscode-json-languageservice@4.2.1: resolution: {integrity: sha512-xGmv9QIWs2H8obGbWg+sIPI/3/pFgj/5OWBhNzs00BkYQ9UaB2F6JJaGB/2/YOZJ3BvLXQTC4Q7muqU25QgAhA==} @@ -5440,6 +5973,15 @@ packages: vscode-uri@3.0.8: resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} + vue-template-compiler@2.7.16: + resolution: {integrity: sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==} + + vue-tsc@1.8.27: + resolution: {integrity: sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg==} + hasBin: true + peerDependencies: + typescript: '*' + walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} @@ -5536,6 +6078,9 @@ packages: yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + yaml@2.5.0: resolution: {integrity: sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==} engines: {node: '>= 14'} @@ -5568,6 +6113,11 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + z-schema@5.0.5: + resolution: {integrity: sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q==} + engines: {node: '>=8.0.0'} + hasBin: true + zip-stream@4.1.1: resolution: {integrity: sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==} engines: {node: '>= 10'} @@ -5579,7 +6129,7 @@ snapshots: '@actions/core': 1.10.1 '@actions/exec': 1.1.1 '@actions/glob': 0.1.2 - '@actions/http-client': 2.2.3(patch_hash=wb6rtsgjkvzsp377hzv24bv2m4) + '@actions/http-client': 2.2.3(patch_hash=gqcf2jay7nqqezf3jni6mxu74u) '@actions/io': 1.1.3 '@azure/abort-controller': 1.1.0 '@azure/ms-rest-js': 2.7.0(encoding@0.1.13) @@ -5592,7 +6142,7 @@ snapshots: '@actions/core@1.10.1': dependencies: - '@actions/http-client': 2.2.3(patch_hash=wb6rtsgjkvzsp377hzv24bv2m4) + '@actions/http-client': 2.2.3(patch_hash=gqcf2jay7nqqezf3jni6mxu74u) uuid: 8.3.2 '@actions/exec@1.1.1': @@ -5613,7 +6163,7 @@ snapshots: dependencies: tunnel: 0.0.6 - '@actions/http-client@2.2.3(patch_hash=wb6rtsgjkvzsp377hzv24bv2m4)': + '@actions/http-client@2.2.3(patch_hash=gqcf2jay7nqqezf3jni6mxu74u)': dependencies: tunnel: 0.0.6 undici: 5.28.4 @@ -5633,7 +6183,7 @@ snapshots: dependencies: '@actions/core': 1.10.1 '@actions/exec': 1.1.1 - '@actions/http-client': 2.2.3(patch_hash=wb6rtsgjkvzsp377hzv24bv2m4) + '@actions/http-client': 2.2.3(patch_hash=gqcf2jay7nqqezf3jni6mxu74u) '@actions/io': 1.1.3 semver: 6.3.1 uuid: 3.4.0 @@ -6288,6 +6838,75 @@ snapshots: '@dprint/win32-x64@0.47.2': optional: true + '@esbuild/aix-ppc64@0.21.5': + optional: true + + '@esbuild/android-arm64@0.21.5': + optional: true + + '@esbuild/android-arm@0.21.5': + optional: true + + '@esbuild/android-x64@0.21.5': + optional: true + + '@esbuild/darwin-arm64@0.21.5': + optional: true + + '@esbuild/darwin-x64@0.21.5': + optional: true + + '@esbuild/freebsd-arm64@0.21.5': + optional: true + + '@esbuild/freebsd-x64@0.21.5': + optional: true + + '@esbuild/linux-arm64@0.21.5': + optional: true + + '@esbuild/linux-arm@0.21.5': + optional: true + + '@esbuild/linux-ia32@0.21.5': + optional: true + + '@esbuild/linux-loong64@0.21.5': + optional: true + + '@esbuild/linux-mips64el@0.21.5': + optional: true + + '@esbuild/linux-ppc64@0.21.5': + optional: true + + '@esbuild/linux-riscv64@0.21.5': + optional: true + + '@esbuild/linux-s390x@0.21.5': + optional: true + + '@esbuild/linux-x64@0.21.5': + optional: true + + '@esbuild/netbsd-x64@0.21.5': + optional: true + + '@esbuild/openbsd-x64@0.21.5': + optional: true + + '@esbuild/sunos-x64@0.21.5': + optional: true + + '@esbuild/win32-arm64@0.21.5': + optional: true + + '@esbuild/win32-ia32@0.21.5': + optional: true + + '@esbuild/win32-x64@0.21.5': + optional: true + '@eslint-community/eslint-utils@4.4.0(eslint@8.57.0)': dependencies: eslint: 8.57.0 @@ -6513,6 +7132,11 @@ snapshots: '@jridgewell/set-array@1.2.1': {} + '@jridgewell/source-map@0.3.6': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/sourcemap-codec@1.5.0': {} '@jridgewell/trace-mapping@0.3.25': @@ -6531,23 +7155,107 @@ snapshots: dependencies: '@lezer/common': 1.2.1 + '@liuli-util/vite-plugin-node@0.9.0(@types/node@12.20.55)(rollup@4.21.2)(typescript@5.5.4)(vite@5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6))': + dependencies: + '@microsoft/api-extractor': 7.47.7(@types/node@12.20.55) + magic-string: 0.30.11 + pathe: 1.1.2 + rollup-plugin-node-externals: 7.1.3(rollup@4.21.2) + vite: 5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6) + vite-plugin-dts: 3.9.1(@types/node@12.20.55)(rollup@4.21.2)(typescript@5.5.4)(vite@5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6)) + transitivePeerDependencies: + - '@types/node' + - rollup + - supports-color + - typescript + '@lmdb/lmdb-darwin-arm64@2.8.5': optional: true - '@lmdb/lmdb-darwin-x64@2.8.5': - optional: true + '@lmdb/lmdb-darwin-x64@2.8.5': + optional: true + + '@lmdb/lmdb-linux-arm64@2.8.5': + optional: true + + '@lmdb/lmdb-linux-arm@2.8.5': + optional: true + + '@lmdb/lmdb-linux-x64@2.8.5': + optional: true + + '@lmdb/lmdb-win32-x64@2.8.5': + optional: true + + '@microsoft/api-extractor-model@7.28.13(@types/node@12.20.55)': + dependencies: + '@microsoft/tsdoc': 0.14.2 + '@microsoft/tsdoc-config': 0.16.2 + '@rushstack/node-core-library': 4.0.2(@types/node@12.20.55) + transitivePeerDependencies: + - '@types/node' + + '@microsoft/api-extractor-model@7.29.6(@types/node@12.20.55)': + dependencies: + '@microsoft/tsdoc': 0.15.0 + '@microsoft/tsdoc-config': 0.17.0 + '@rushstack/node-core-library': 5.7.0(@types/node@12.20.55) + transitivePeerDependencies: + - '@types/node' + + '@microsoft/api-extractor@7.43.0(@types/node@12.20.55)': + dependencies: + '@microsoft/api-extractor-model': 7.28.13(@types/node@12.20.55) + '@microsoft/tsdoc': 0.14.2 + '@microsoft/tsdoc-config': 0.16.2 + '@rushstack/node-core-library': 4.0.2(@types/node@12.20.55) + '@rushstack/rig-package': 0.5.2 + '@rushstack/terminal': 0.10.0(@types/node@12.20.55) + '@rushstack/ts-command-line': 4.19.1(@types/node@12.20.55) + lodash: 4.17.21 + minimatch: 3.0.8 + resolve: 1.22.8 + semver: 7.5.4 + source-map: 0.6.1 + typescript: 5.4.2 + transitivePeerDependencies: + - '@types/node' + + '@microsoft/api-extractor@7.47.7(@types/node@12.20.55)': + dependencies: + '@microsoft/api-extractor-model': 7.29.6(@types/node@12.20.55) + '@microsoft/tsdoc': 0.15.0 + '@microsoft/tsdoc-config': 0.17.0 + '@rushstack/node-core-library': 5.7.0(@types/node@12.20.55) + '@rushstack/rig-package': 0.5.3 + '@rushstack/terminal': 0.14.0(@types/node@12.20.55) + '@rushstack/ts-command-line': 4.22.6(@types/node@12.20.55) + lodash: 4.17.21 + minimatch: 3.0.8 + resolve: 1.22.8 + semver: 7.5.4 + source-map: 0.6.1 + typescript: 5.4.2 + transitivePeerDependencies: + - '@types/node' - '@lmdb/lmdb-linux-arm64@2.8.5': - optional: true + '@microsoft/tsdoc-config@0.16.2': + dependencies: + '@microsoft/tsdoc': 0.14.2 + ajv: 6.12.6 + jju: 1.4.0 + resolve: 1.19.0 - '@lmdb/lmdb-linux-arm@2.8.5': - optional: true + '@microsoft/tsdoc-config@0.17.0': + dependencies: + '@microsoft/tsdoc': 0.15.0 + ajv: 8.12.0 + jju: 1.4.0 + resolve: 1.22.8 - '@lmdb/lmdb-linux-x64@2.8.5': - optional: true + '@microsoft/tsdoc@0.14.2': {} - '@lmdb/lmdb-win32-x64@2.8.5': - optional: true + '@microsoft/tsdoc@0.15.0': {} '@mischnic/json-sourcemap@0.1.1': dependencies: @@ -6653,17 +7361,16 @@ snapshots: dependencies: '@octokit/openapi-types': 22.2.0 - '@parcel/bundler-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/bundler-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 '@parcel/graph': 3.2.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 '@parcel/utils': 2.12.0 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' '@parcel/cache@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': dependencies: @@ -6679,47 +7386,46 @@ snapshots: dependencies: chalk: 4.1.2 - '@parcel/compressor-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/compressor-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/config-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(typescript@5.5.4)': + '@parcel/config-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)': dependencies: - '@parcel/bundler-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/compressor-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/bundler-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/compressor-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/core': 2.12.0(@swc/helpers@0.5.13) - '@parcel/namer-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/optimizer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/optimizer-htmlnano': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(typescript@5.5.4) - '@parcel/optimizer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/optimizer-svgo': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/namer-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/optimizer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/optimizer-htmlnano': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4) + '@parcel/optimizer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/optimizer-svgo': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/optimizer-swc': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/packager-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/packager-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/packager-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/packager-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/packager-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/packager-wasm': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/resolver-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/runtime-browser-hmr': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/runtime-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/runtime-react-refresh': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/runtime-service-worker': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-babel': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/packager-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/packager-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/packager-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/packager-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/packager-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/packager-wasm': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/resolver-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/runtime-browser-hmr': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/runtime-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/runtime-react-refresh': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/runtime-service-worker': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-babel': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/transformer-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) - '@parcel/transformer-json': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-postcss': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-posthtml': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-react-refresh-wrap': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/transformer-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/transformer-json': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-postcss': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-posthtml': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-react-refresh-wrap': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/transformer-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) transitivePeerDependencies: - '@swc/helpers' - cssnano @@ -6741,13 +7447,13 @@ snapshots: '@parcel/graph': 3.2.0 '@parcel/logger': 2.12.0 '@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/profiler': 2.12.0 '@parcel/rust': 2.12.0 '@parcel/source-map': 2.1.1 '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) abortcontroller-polyfill: 1.7.5 base-x: 3.0.10 browserslist: 4.23.3 @@ -6775,7 +7481,7 @@ snapshots: '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 '@parcel/watcher': 2.4.1 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) transitivePeerDependencies: - '@swc/helpers' @@ -6792,14 +7498,13 @@ snapshots: dependencies: chalk: 4.1.2 - '@parcel/namer-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/namer-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' '@parcel/node-resolver-core@3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: @@ -6813,10 +7518,10 @@ snapshots: transitivePeerDependencies: - '@parcel/core' - '@parcel/optimizer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/optimizer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.12.0 browserslist: 4.23.3 @@ -6824,18 +7529,16 @@ snapshots: nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/optimizer-htmlnano@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(typescript@5.5.4)': + '@parcel/optimizer-htmlnano@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - htmlnano: 2.1.1(postcss@8.4.44)(svgo@2.8.0)(typescript@5.5.4) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + htmlnano: 2.1.1(postcss@8.4.44)(svgo@2.8.0)(terser@5.31.6)(typescript@5.5.4) nullthrows: 1.1.1 posthtml: 0.16.6 svgo: 2.8.0 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - cssnano - postcss - purgecss @@ -6845,31 +7548,28 @@ snapshots: - typescript - uncss - '@parcel/optimizer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/optimizer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/core': 2.12.0(@swc/helpers@0.5.13) '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - transitivePeerDependencies: - - '@swc/helpers' + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) - '@parcel/optimizer-svgo@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/optimizer-svgo@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 svgo: 2.8.0 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' '@parcel/optimizer-swc@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.12.0 '@swc/core': 1.7.23(@swc/helpers@0.5.13) @@ -6887,39 +7587,37 @@ snapshots: '@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@swc/core': 1.7.23(@swc/helpers@0.5.13) semver: 7.6.3 transitivePeerDependencies: - '@swc/helpers' - '@parcel/packager-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/packager-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.12.0 lightningcss: 1.26.0 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/packager-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/packager-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 nullthrows: 1.1.1 posthtml: 0.16.6 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/packager-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/packager-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 '@parcel/source-map': 2.1.1 '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) @@ -6928,38 +7626,33 @@ snapshots: nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/packager-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/packager-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/packager-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/packager-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 posthtml: 0.16.6 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/packager-wasm@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/packager-wasm@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/plugin@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/plugin@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' '@parcel/profiler@2.12.0': dependencies: @@ -6967,79 +7660,71 @@ snapshots: '@parcel/events': 2.12.0 chrome-trace-event: 1.0.4 - '@parcel/reporter-cli@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/reporter-cli@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 chalk: 4.1.2 term-size: 2.2.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/reporter-dev-server@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/reporter-dev-server@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/reporter-tracer@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/reporter-tracer@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 chrome-trace-event: 1.0.4 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/resolver-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/resolver-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/runtime-browser-hmr@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/runtime-browser-hmr@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/runtime-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/runtime-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/runtime-react-refresh@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/runtime-react-refresh@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 react-error-overlay: 6.0.9 react-refresh: 0.9.0 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/runtime-service-worker@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/runtime-service-worker@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' '@parcel/rust@2.12.0': {} @@ -7047,10 +7732,10 @@ snapshots: dependencies: detect-libc: 1.0.3 - '@parcel/transformer-babel@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-babel@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.12.0 browserslist: 4.23.3 @@ -7059,12 +7744,11 @@ snapshots: semver: 7.6.3 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.12.0 browserslist: 4.23.3 @@ -7072,12 +7756,11 @@ snapshots: nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 nullthrows: 1.1.1 posthtml: 0.16.6 @@ -7087,45 +7770,41 @@ snapshots: srcset: 4.0.0 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/core': 2.12.0(@swc/helpers@0.5.13) - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) nullthrows: 1.1.1 - transitivePeerDependencies: - - '@swc/helpers' '@parcel/transformer-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/core': 2.12.0(@swc/helpers@0.5.13) '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 '@parcel/source-map': 2.1.1 '@parcel/utils': 2.12.0 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@swc/helpers': 0.5.13 browserslist: 4.23.3 nullthrows: 1.1.1 regenerator-runtime: 0.13.11 semver: 7.6.3 - '@parcel/transformer-json@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-json@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) json5: 2.2.3 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-postcss@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-postcss@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 '@parcel/utils': 2.12.0 clone: 2.1.2 @@ -7134,11 +7813,10 @@ snapshots: semver: 7.6.3 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-posthtml@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-posthtml@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 nullthrows: 1.1.1 posthtml: 0.16.6 @@ -7147,28 +7825,25 @@ snapshots: semver: 7.6.3 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-react-refresh-wrap@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-react-refresh-wrap@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 react-refresh: 0.9.0 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' - '@parcel/transformer-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/transformer-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/diagnostic': 2.12.0 - '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/rust': 2.12.0 nullthrows: 1.1.1 posthtml: 0.16.6 @@ -7177,7 +7852,6 @@ snapshots: semver: 7.6.3 transitivePeerDependencies: - '@parcel/core' - - '@swc/helpers' '@parcel/types@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': dependencies: @@ -7186,7 +7860,7 @@ snapshots: '@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/source-map': 2.1.1 - '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) utility-types: 3.11.0 transitivePeerDependencies: - '@parcel/core' @@ -7259,7 +7933,7 @@ snapshots: '@parcel/watcher-win32-ia32': 2.4.1 '@parcel/watcher-win32-x64': 2.4.1 - '@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)': + '@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))': dependencies: '@parcel/core': 2.12.0(@swc/helpers@0.5.13) '@parcel/diagnostic': 2.12.0 @@ -7268,11 +7942,136 @@ snapshots: '@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/utils': 2.12.0 nullthrows: 1.1.1 - transitivePeerDependencies: - - '@swc/helpers' '@pkgr/core@0.1.1': {} + '@rollup/pluginutils@4.2.1': + dependencies: + estree-walker: 2.0.2 + picomatch: 2.3.1 + + '@rollup/pluginutils@5.1.0(rollup@4.21.2)': + dependencies: + '@types/estree': 1.0.5 + estree-walker: 2.0.2 + picomatch: 2.3.1 + optionalDependencies: + rollup: 4.21.2 + + '@rollup/rollup-android-arm-eabi@4.21.2': + optional: true + + '@rollup/rollup-android-arm64@4.21.2': + optional: true + + '@rollup/rollup-darwin-arm64@4.21.2': + optional: true + + '@rollup/rollup-darwin-x64@4.21.2': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.21.2': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.21.2': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.21.2': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.21.2': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.21.2': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.21.2': + optional: true + + '@rollup/rollup-linux-x64-musl@4.21.2': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.21.2': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.21.2': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.21.2': + optional: true + + '@rushstack/node-core-library@4.0.2(@types/node@12.20.55)': + dependencies: + fs-extra: 7.0.1 + import-lazy: 4.0.0 + jju: 1.4.0 + resolve: 1.22.8 + semver: 7.5.4 + z-schema: 5.0.5 + optionalDependencies: + '@types/node': 12.20.55 + + '@rushstack/node-core-library@5.7.0(@types/node@12.20.55)': + dependencies: + ajv: 8.13.0 + ajv-draft-04: 1.0.0(ajv@8.13.0) + ajv-formats: 3.0.1(ajv@8.13.0) + fs-extra: 7.0.1 + import-lazy: 4.0.0 + jju: 1.4.0 + resolve: 1.22.8 + semver: 7.5.4 + optionalDependencies: + '@types/node': 12.20.55 + + '@rushstack/rig-package@0.5.2': + dependencies: + resolve: 1.22.8 + strip-json-comments: 3.1.1 + + '@rushstack/rig-package@0.5.3': + dependencies: + resolve: 1.22.8 + strip-json-comments: 3.1.1 + + '@rushstack/terminal@0.10.0(@types/node@12.20.55)': + dependencies: + '@rushstack/node-core-library': 4.0.2(@types/node@12.20.55) + supports-color: 8.1.1 + optionalDependencies: + '@types/node': 12.20.55 + + '@rushstack/terminal@0.14.0(@types/node@12.20.55)': + dependencies: + '@rushstack/node-core-library': 5.7.0(@types/node@12.20.55) + supports-color: 8.1.1 + optionalDependencies: + '@types/node': 12.20.55 + + '@rushstack/ts-command-line@4.19.1(@types/node@12.20.55)': + dependencies: + '@rushstack/terminal': 0.10.0(@types/node@12.20.55) + '@types/argparse': 1.0.38 + argparse: 1.0.10 + string-argv: 0.3.2 + transitivePeerDependencies: + - '@types/node' + + '@rushstack/ts-command-line@4.22.6(@types/node@12.20.55)': + dependencies: + '@rushstack/terminal': 0.14.0(@types/node@12.20.55) + '@types/argparse': 1.0.38 + argparse: 1.0.10 + string-argv: 0.3.2 + transitivePeerDependencies: + - '@types/node' + '@shockpkg/archive-files@https://codeload.github.com/aminya/archive-files/tar.gz/54ec59fad46aca736ac6feb6c7bb526528141b9d': dependencies: '@shockpkg/hdi-mac': 3.1.4 @@ -7372,6 +8171,8 @@ snapshots: '@tsconfig/node16@1.0.4': {} + '@types/argparse@1.0.38': {} + '@types/babel__core@7.20.5': dependencies: '@babel/parser': 7.25.6 @@ -7635,6 +8436,48 @@ snapshots: dependencies: '@babel/core': 7.25.2 + '@volar/language-core@1.11.1': + dependencies: + '@volar/source-map': 1.11.1 + + '@volar/source-map@1.11.1': + dependencies: + muggle-string: 0.3.1 + + '@volar/typescript@1.11.1': + dependencies: + '@volar/language-core': 1.11.1 + path-browserify: 1.0.1 + + '@vue/compiler-core@3.5.0': + dependencies: + '@babel/parser': 7.25.6 + '@vue/shared': 3.5.0 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.0 + + '@vue/compiler-dom@3.5.0': + dependencies: + '@vue/compiler-core': 3.5.0 + '@vue/shared': 3.5.0 + + '@vue/language-core@1.8.27(typescript@5.5.4)': + dependencies: + '@volar/language-core': 1.11.1 + '@volar/source-map': 1.11.1 + '@vue/compiler-dom': 3.5.0 + '@vue/shared': 3.5.0 + computeds: 0.0.1 + minimatch: 9.0.5 + muggle-string: 0.3.1 + path-browserify: 1.0.1 + vue-template-compiler: 2.7.16 + optionalDependencies: + typescript: 5.5.4 + + '@vue/shared@3.5.0': {} + '@xmldom/xmldom@0.8.10': {} abort-controller@3.0.0: @@ -7664,6 +8507,14 @@ snapshots: transitivePeerDependencies: - supports-color + ajv-draft-04@1.0.0(ajv@8.13.0): + optionalDependencies: + ajv: 8.13.0 + + ajv-formats@3.0.1(ajv@8.13.0): + optionalDependencies: + ajv: 8.13.0 + ajv@6.12.6: dependencies: fast-deep-equal: 3.1.3 @@ -7671,6 +8522,20 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + ajv@8.12.0: + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + + ajv@8.13.0: + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + ansi-align@3.0.1: dependencies: string-width: 4.2.3 @@ -8232,6 +9097,8 @@ snapshots: commander@12.1.0: {} + commander@2.20.3: {} + commander@6.2.1: {} commander@7.2.0: {} @@ -8255,6 +9122,8 @@ snapshots: normalize-path: 3.0.0 readable-stream: 3.6.2 + computeds@0.0.1: {} + concat-map@0.0.1: {} confusing-browser-globals@1.0.11: @@ -8463,6 +9332,8 @@ snapshots: date-now@0.1.4: {} + de-indent@1.0.2: {} + debug@2.6.9: dependencies: ms: 2.0.0 @@ -8801,6 +9672,32 @@ snapshots: es6-iterator: 2.0.3 es6-symbol: 3.1.4 + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + escalade@3.2.0: {} escape-path-with-spaces@1.0.2: {} @@ -9195,6 +10092,8 @@ snapshots: estraverse@5.3.0: {} + estree-walker@2.0.2: {} + esutils@2.0.3: {} event-emitter@0.3.5: @@ -9361,6 +10260,12 @@ snapshots: jsonfile: 6.1.0 universalify: 2.0.1 + fs-extra@7.0.1: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + fs-readdir-recursive@1.1.0: {} fs.realpath@1.0.0: {} @@ -9533,13 +10438,15 @@ snapshots: dependencies: function-bind: 1.1.2 + he@1.2.0: {} + hosted-git-info@2.8.9: {} html-escaper@2.0.2: {} html-tags@3.3.1: {} - htmlnano@2.1.1(postcss@8.4.44)(svgo@2.8.0)(typescript@5.5.4): + htmlnano@2.1.1(postcss@8.4.44)(svgo@2.8.0)(terser@5.31.6)(typescript@5.5.4): dependencies: cosmiconfig: 9.0.0(typescript@5.5.4) posthtml: 0.16.6 @@ -9547,6 +10454,7 @@ snapshots: optionalDependencies: postcss: 8.4.44 svgo: 2.8.0 + terser: 5.31.6 transitivePeerDependencies: - typescript @@ -9610,6 +10518,8 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 + import-lazy@4.0.0: {} + import-local@3.2.0: dependencies: pkg-dir: 4.2.0 @@ -10204,6 +11114,8 @@ snapshots: - supports-color - ts-node + jju@1.4.0: {} + js-tokens@3.0.2: optional: true @@ -10238,6 +11150,8 @@ snapshots: json-schema-traverse@0.4.1: {} + json-schema-traverse@1.0.0: {} + json-stable-stringify-without-jsonify@1.0.1: {} json5@1.0.2: @@ -10248,6 +11162,10 @@ snapshots: jsonc-parser@3.3.1: {} + jsonfile@4.0.0: + optionalDependencies: + graceful-fs: 4.2.11 + jsonfile@6.1.0: dependencies: universalify: 2.0.1 @@ -10277,6 +11195,8 @@ snapshots: known-css-properties@0.30.0: {} + kolorist@1.8.0: {} + language-subtag-registry@0.3.23: optional: true @@ -10424,6 +11344,10 @@ snapshots: lodash.flatten@4.4.0: {} + lodash.get@4.4.2: {} + + lodash.isequal@4.5.0: {} + lodash.isplainobject@4.0.6: {} lodash.merge@4.6.2: {} @@ -10444,12 +11368,20 @@ snapshots: dependencies: yallist: 3.1.1 + lru-cache@6.0.0: + dependencies: + yallist: 4.0.0 + lru-queue@0.1.0: dependencies: es5-ext: 0.10.64 macos-release@3.3.0: {} + magic-string@0.30.11: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + make-dir@2.1.0: dependencies: pify: 4.0.1 @@ -10716,6 +11648,8 @@ snapshots: dependencies: '@actions/core': 1.10.1 + muggle-string@0.3.1: {} + multiformats@13.2.2: {} mute-stream@0.0.8: {} @@ -10892,18 +11826,18 @@ snapshots: p-try@2.2.0: {} - parcel@2.12.0(@swc/helpers@0.5.13)(postcss@8.4.44)(typescript@5.5.4): + parcel@2.12.0(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4): dependencies: - '@parcel/config-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(typescript@5.5.4) + '@parcel/config-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4) '@parcel/core': 2.12.0(@swc/helpers@0.5.13) '@parcel/diagnostic': 2.12.0 '@parcel/events': 2.12.0 '@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) '@parcel/logger': 2.12.0 '@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/reporter-cli': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) - '@parcel/reporter-tracer': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13) + '@parcel/reporter-cli': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) + '@parcel/reporter-tracer': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13)) '@parcel/utils': 2.12.0 chalk: 4.1.2 commander: 7.2.0 @@ -10939,8 +11873,7 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 - path-browserify@1.0.1: - optional: true + path-browserify@1.0.1: {} path-exists@4.0.0: {} @@ -10966,6 +11899,8 @@ snapshots: path-browserify: 1.0.1 process: 0.11.10 + pathe@1.1.2: {} + pend@1.2.0: {} picocolors@1.1.0: {} @@ -11201,6 +12136,8 @@ snapshots: require-directory@2.1.1: {} + require-from-string@2.0.2: {} + require-main-filename@2.0.0: {} resolve-cwd@3.0.0: @@ -11213,6 +12150,11 @@ snapshots: resolve.exports@2.0.2: {} + resolve@1.19.0: + dependencies: + is-core-module: 2.15.1 + path-parse: 1.0.7 + resolve@1.22.8: dependencies: is-core-module: 2.15.1 @@ -11238,6 +12180,32 @@ snapshots: dependencies: glob: 7.2.3 + rollup-plugin-node-externals@7.1.3(rollup@4.21.2): + dependencies: + rollup: 4.21.2 + + rollup@4.21.2: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.21.2 + '@rollup/rollup-android-arm64': 4.21.2 + '@rollup/rollup-darwin-arm64': 4.21.2 + '@rollup/rollup-darwin-x64': 4.21.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.2 + '@rollup/rollup-linux-arm-musleabihf': 4.21.2 + '@rollup/rollup-linux-arm64-gnu': 4.21.2 + '@rollup/rollup-linux-arm64-musl': 4.21.2 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.2 + '@rollup/rollup-linux-riscv64-gnu': 4.21.2 + '@rollup/rollup-linux-s390x-gnu': 4.21.2 + '@rollup/rollup-linux-x64-gnu': 4.21.2 + '@rollup/rollup-linux-x64-musl': 4.21.2 + '@rollup/rollup-win32-arm64-msvc': 4.21.2 + '@rollup/rollup-win32-ia32-msvc': 4.21.2 + '@rollup/rollup-win32-x64-msvc': 4.21.2 + fsevents: 2.3.3 + run-async@2.4.1: {} run-parallel@1.2.0: @@ -11275,6 +12243,10 @@ snapshots: semver@6.3.1: {} + semver@7.5.4: + dependencies: + lru-cache: 6.0.0 + semver@7.6.3: {} seq@0.3.5: @@ -11387,6 +12359,11 @@ snapshots: buffer-from: 1.1.2 source-map: 0.6.1 + source-map-support@0.5.21: + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + source-map@0.6.1: {} spdx-correct@3.2.0: @@ -11418,6 +12395,8 @@ snapshots: internal-slot: 1.0.7 optional: true + string-argv@0.3.2: {} + string-length@4.0.2: dependencies: char-regex: 1.0.2 @@ -11571,6 +12550,13 @@ snapshots: terser-config-atomic@1.0.0: {} + terser@5.31.6: + dependencies: + '@jridgewell/source-map': 0.3.6 + acorn: 8.12.1 + commander: 2.20.3 + source-map-support: 0.5.21 + test-exclude@6.0.0: dependencies: '@istanbuljs/schema': 0.1.3 @@ -11757,6 +12743,8 @@ snapshots: typed-array-buffer: 1.0.2 typed-array-byte-offset: 1.0.2 + typescript@5.4.2: {} + typescript@5.5.4: {} typical@4.0.0: {} @@ -11802,6 +12790,8 @@ snapshots: universal-user-agent@7.0.2: {} + universalify@0.1.2: {} + universalify@2.0.1: {} update-browserslist-db@1.1.0(browserslist@4.23.3): @@ -11839,6 +12829,47 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 + validator@13.12.0: {} + + vite-plugin-dts@3.9.1(@types/node@12.20.55)(rollup@4.21.2)(typescript@5.5.4)(vite@5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6)): + dependencies: + '@microsoft/api-extractor': 7.43.0(@types/node@12.20.55) + '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@vue/language-core': 1.8.27(typescript@5.5.4) + debug: 4.3.6 + kolorist: 1.8.0 + magic-string: 0.30.11 + typescript: 5.5.4 + vue-tsc: 1.8.27(typescript@5.5.4) + optionalDependencies: + vite: 5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6) + transitivePeerDependencies: + - '@types/node' + - rollup + - supports-color + + vite-plugin-node@3.1.0(@swc/core@1.7.23(@swc/helpers@0.5.13))(vite@5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6)): + dependencies: + '@rollup/pluginutils': 4.2.1 + chalk: 4.1.2 + debug: 4.3.6 + vite: 5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6) + optionalDependencies: + '@swc/core': 1.7.23(@swc/helpers@0.5.13) + transitivePeerDependencies: + - supports-color + + vite@5.4.3(@types/node@12.20.55)(lightningcss@1.26.0)(terser@5.31.6): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.44 + rollup: 4.21.2 + optionalDependencies: + '@types/node': 12.20.55 + fsevents: 2.3.3 + lightningcss: 1.26.0 + terser: 5.31.6 + vscode-json-languageservice@4.2.1: dependencies: jsonc-parser: 3.3.1 @@ -11855,6 +12886,18 @@ snapshots: vscode-uri@3.0.8: {} + vue-template-compiler@2.7.16: + dependencies: + de-indent: 1.0.2 + he: 1.2.0 + + vue-tsc@1.8.27(typescript@5.5.4): + dependencies: + '@volar/typescript': 1.11.1 + '@vue/language-core': 1.8.27(typescript@5.5.4) + semver: 7.6.3 + typescript: 5.5.4 + walker@1.0.8: dependencies: makeerror: 1.0.12 @@ -11967,6 +13010,8 @@ snapshots: yallist@3.1.1: {} + yallist@4.0.0: {} + yaml@2.5.0: {} yargs-parser@18.1.3: @@ -12009,6 +13054,14 @@ snapshots: yocto-queue@0.1.0: {} + z-schema@5.0.5: + dependencies: + lodash.get: 4.4.2 + lodash.isequal: 4.5.0 + validator: 13.12.0 + optionalDependencies: + commander: 9.5.0 + zip-stream@4.1.1: dependencies: archiver-utils: 3.0.4 diff --git a/src/gcc/__tests__/gcc.test.ts b/src/gcc/__tests__/gcc.test.ts index 1aef619f..2e633829 100644 --- a/src/gcc/__tests__/gcc.test.ts +++ b/src/gcc/__tests__/gcc.test.ts @@ -1,3 +1,5 @@ +import path from "path" +import { fileURLToPath } from "url" import { execaSync } from "execa" import { chmod } from "fs/promises" import { addExeExt, join } from "patha" @@ -7,6 +9,8 @@ import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-help import { getVersion } from "../../versions/versions.js" import { setupGcc } from "../gcc.js" +const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url)) + jest.setTimeout(3000000) describe("setup-gcc", () => { let directory: string @@ -55,13 +59,13 @@ describe("setup-gcc", () => { expect(process.env.CXX?.includes("g++")).toBeTruthy() // test compilation - const file = join(__dirname, "main.cpp") - const main_exe = join(__dirname, addExeExt("main")) - execaSync("g++", [file, "-o", main_exe], { cwd: __dirname }) + const file = join(dirname, "main.cpp") + const main_exe = join(dirname, addExeExt("main")) + execaSync("g++", [file, "-o", main_exe], { cwd: dirname }) if (process.platform !== "win32") { await chmod(main_exe, "755") } - execaSync(main_exe, { cwd: __dirname, stdio: "inherit" }) + execaSync(main_exe, { cwd: dirname, stdio: "inherit" }) }) afterAll(async () => { diff --git a/src/gcc/gcc.ts b/src/gcc/gcc.ts index 6d873394..ae5a551b 100644 --- a/src/gcc/gcc.ts +++ b/src/gcc/gcc.ts @@ -1,7 +1,8 @@ -import { addEnv, addPath } from "envosman" - +import path from "path" +import { fileURLToPath } from "url" import { GITHUB_ACTIONS } from "ci-info" import { error, info, warning } from "ci-log" +import { addEnv, addPath } from "envosman" import { type ExecaReturnValue, execa } from "execa" import { readdir } from "fs/promises" import { pathExists } from "path-exists" @@ -23,11 +24,13 @@ import { setupDnfPack } from "../utils/setup/setupDnfPack.js" import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js" import { compareVersion } from "../utils/setup/version.js" +const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url)) + async function getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): Promise { switch (platform) { case "win32": { const mingwAssets = await loadGitHubAssetList( - join(__dirname, "github_brechtsanders_winlibs_mingw.json"), + join(dirname, "github_brechtsanders_winlibs_mingw.json"), ) const asset = matchAsset( mingwAssets, @@ -287,8 +290,8 @@ async function getGccCmdVersion(binDir: string, givenVersion: string) { // try to find the gcc exe in the bin dir const files = (await readdir(binDir)).sort( (exe1, exe2) => { - const version1 = exe1.match(/^gcc-?(.*)(\.exe)?$/)?.[1] || "" - const version2 = exe2.match(/^gcc-?(.*)(\.exe)?$/)?.[1] || "" + const version1 = exe1.match(/^gcc-?(.*)(\.exe)?$/)?.[1] ?? "" + const version2 = exe2.match(/^gcc-?(.*)(\.exe)?$/)?.[1] ?? "" return compareVersion(version1, version2) }, ) @@ -321,7 +324,7 @@ async function getGccCmdVersion(binDir: string, givenVersion: string) { } async function addGccLoggingMatcher() { - const matcherPath = join(__dirname, "gcc_matcher.json") + const matcherPath = join(dirname, "gcc_matcher.json") if (!(await pathExists(matcherPath))) { return warning("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js") } diff --git a/src/kcov/kcov.ts b/src/kcov/kcov.ts index 9fe673cf..08445a19 100644 --- a/src/kcov/kcov.ts +++ b/src/kcov/kcov.ts @@ -1,3 +1,5 @@ +import path from "path" +import { fileURLToPath } from "url" import { info } from "ci-log" import { execa } from "execa" import { addExeExt, join } from "patha" @@ -17,6 +19,8 @@ import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js" import { addVPrefix, removeVPrefix } from "../utils/setup/version.js" import { getVersion } from "../versions/versions.js" +const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url)) + function getDownloadKcovPackageInfo(version: string): PackageInfo { return { url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`, @@ -55,7 +59,7 @@ async function buildKcov(file: string, dest: string) { // apply gcc13.patch try { if (which.sync("patch", { nothrow: true }) !== null) { - const patch = join(__dirname, "gcc13.patch") + const patch = join(dirname, "gcc13.patch") await execa("patch", ["-N", "-p1", "-i", patch], { cwd: out, stdio: "inherit" }) } else { info("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13") diff --git a/src/llvm/__tests__/llvm.test.ts b/src/llvm/__tests__/llvm.test.ts index d0cb81b8..015eacad 100644 --- a/src/llvm/__tests__/llvm.test.ts +++ b/src/llvm/__tests__/llvm.test.ts @@ -1,3 +1,5 @@ +import path from "path" +import { fileURLToPath } from "url" import * as io from "@actions/io" import { execaSync } from "execa" import { chmod } from "fs/promises" @@ -10,6 +12,8 @@ import { getVersion } from "../../versions/versions.js" import { setupClangFormat, setupClangTools, setupLLVM } from "../llvm.js" import { VERSIONS, getLinuxUrl, getUrl } from "../llvm_url.js" +const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url)) + jest.setTimeout(400000) async function testUrl(version: string) { const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl) @@ -98,13 +102,13 @@ describe("setup-llvm", () => { expect(process.env.CXX?.includes("clang++")).toBeTruthy() // test compilation - const file = join(__dirname, "main.cpp") - const main_exe = join(__dirname, addExeExt("main")) - execaSync("clang++", [file, "-o", main_exe], { cwd: __dirname }) + const file = join(dirname, "main.cpp") + const main_exe = join(dirname, addExeExt("main")) + execaSync("clang++", [file, "-o", main_exe], { cwd: dirname }) if (process.platform !== "win32") { await chmod(main_exe, "755") } - execaSync(main_exe, { cwd: __dirname, stdio: "inherit" }) + execaSync(main_exe, { cwd: dirname, stdio: "inherit" }) }) it("should setup clang-format", async () => { diff --git a/src/llvm/llvm.ts b/src/llvm/llvm.ts index c4ec5e00..441d8e15 100644 --- a/src/llvm/llvm.ts +++ b/src/llvm/llvm.ts @@ -1,4 +1,5 @@ -import { delimiter } from "path" +import path, { delimiter } from "path" +import { fileURLToPath } from "url" import { GITHUB_ACTIONS } from "ci-info" import { info, warning } from "ci-log" import { addEnv } from "envosman" @@ -17,6 +18,8 @@ import { getVersion } from "../versions/versions.js" import { LLVMPackages, setupLLVMApt } from "./llvm_installer.js" import { getLLVMPackageInfo } from "./llvm_url.js" +const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url)) + export async function setupLLVM(version: string, setupDir: string, arch: string): Promise { const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch) await activateLLVM(installationInfo.installDir ?? setupDir) @@ -146,7 +149,7 @@ export async function activateLLVM(directory: string) { async function addLLVMLoggingMatcher() { if (GITHUB_ACTIONS) { - const matcherPath = join(__dirname, "llvm_matcher.json") + const matcherPath = join(dirname, "llvm_matcher.json") if (!(await pathExists(matcherPath))) { return warning("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js") } diff --git a/src/msvc/msvc.ts b/src/msvc/msvc.ts index 6a1e566c..5dd51c8b 100644 --- a/src/msvc/msvc.ts +++ b/src/msvc/msvc.ts @@ -1,13 +1,16 @@ +import path from "path" +import { fileURLToPath } from "url" // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore import { GITHUB_ACTIONS } from "ci-info" +import { error, info, warning } from "ci-log" import { findVcvarsall, vsversion_to_versionnumber } from "msvc-dev-cmd/lib.js" +import { pathExists } from "path-exists" import { join } from "patha" import { setupChocoPack } from "../utils/setup/setupChocoPack.js" import { setupVCVarsall } from "../vcvarsall/vcvarsall.js" -import { error, info, warning } from "ci-log" -import { pathExists } from "path-exists" +const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url)) type MSVCVersion = "2022" | "17.0" | "2019" | "16.0" | "2017" | "15.0" | "2015" | "14.0" | "2013" | "12.0" | string @@ -72,7 +75,7 @@ export async function setupMSVC( } async function addMSVCLoggingMatcher() { - const matcherPath = join(__dirname, "msvc_matcher.json") + const matcherPath = join(dirname, "msvc_matcher.json") if (!(await pathExists(matcherPath))) { return warning("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js") } diff --git a/src/python/actions_python.ts b/src/python/actions_python.ts index 9e95173d..ac57885b 100644 --- a/src/python/actions_python.ts +++ b/src/python/actions_python.ts @@ -1,13 +1,16 @@ -import { findPyPyVersion } from "setup-python/src/find-pypy.js" -import { useCpythonVersion } from "setup-python/src/find-python.js" - +import path from "path" +import { fileURLToPath } from "url" import { debug } from "@actions/core" import { GITHUB_ACTIONS } from "ci-info" import { info, warning } from "ci-log" import { pathExists } from "path-exists" import { join } from "patha" +import { findPyPyVersion } from "setup-python/src/find-pypy.js" +import { useCpythonVersion } from "setup-python/src/find-python.js" import { IS_MAC } from "setup-python/src/utils.js" +const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url)) + function isPyPyVersion(versionSpec: string) { return versionSpec.startsWith("pypy") } @@ -53,7 +56,7 @@ export async function setupActionsPython(version: string, _setupDir: string, arc } async function addPythonLoggingMatcher() { - const matcherPath = join(__dirname, "python_matcher.json") + const matcherPath = join(dirname, "python_matcher.json") if (!(await pathExists(matcherPath))) { return warning("the python_matcher.json file does not exist in the same folder as setup-cpp.js") } diff --git a/src/main.ts b/src/setup-cpp.ts similarity index 100% rename from src/main.ts rename to src/setup-cpp.ts diff --git a/tsconfig.json b/tsconfig.json index f11fc579..f937e9de 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,9 @@ "allowImportingTsExtensions": true, "noEmit": true, // target Node.js 12 https://node.green/#ES2019 - "lib": ["ES2019"], + "lib": [ + "ES2019" + ], "target": "ESNext", "allowJs": true, "esModuleInterop": true, @@ -36,6 +38,7 @@ "./src", "./dev/", "./*.ts", - "jest.config.mjs" + "jest.config.mjs", + "vite.config.mts" ] } diff --git a/vite.config.mts b/vite.config.mts new file mode 100644 index 00000000..d4fa2b26 --- /dev/null +++ b/vite.config.mts @@ -0,0 +1,21 @@ +import module from "module" +import { type TerserOptions, defineConfig } from "vite" +import terserRc from "./.terserrc.mjs" + +const viteConfig = defineConfig({ + build: { + ssr: "./src/setup-cpp.ts", + outDir: "./dist/modern", + target: "node20", + minify: "terser", + terserOptions: terserRc as TerserOptions, + sourcemap: true, + }, + ssr: { + target: "node", + noExternal: true, + external: module.builtinModules, + }, +}) + +export default viteConfig