diff --git a/dist/actions/setup-cpp.js b/dist/actions/setup-cpp.js index 19e3f0e5..e8d5199d 100644 --- a/dist/actions/setup-cpp.js +++ b/dist/actions/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);});});}rV(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=rH.sync(e.command,{path:n[rX({env:n})],pathExt:t?iX.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iX.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 i3&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rG(e,t,r),i=rg.spawn(n.command,n.args,n.options);return rQ.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=r6(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r4.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oJ(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oQ());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sv(e,t,r),o=si(e,t),s=so(e,t);sh(s,i.options),oX(i.options);try{n=c(rb).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rb).ChildProcess)();return se(e,Promise.reject(oE({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=st(n),l=oV(n,i.options,a),u=oz(n,i.options,l),p={isCanceled:!1};n.kill=oU.bind(null,n.kill.bind(n)),n.cancel=oH.bind(null,n,p);let f=rZ(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await o7(n,i.options,u),d=sg(i.options,l),h=sg(i.options,c),m=sg(i.options,f);if(e||0!==t||null!==r){let l=oE({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 o4(n,i.options),n.all=o3(n,i.options),oY(n),se(n,f),n;}function w(e,t,r){let n;let i=sv(e,t,r),o=si(e,t),s=so(e,t);sh(s,i.options);let a=o1(i.options);try{n=c(rb).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw oE({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sg(i.options,n.stdout,n.error),u=sg(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=oE({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(r9).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(r9).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(r9).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sU){return b()?function(e,t){let[r,...n]=ss(e);return w(r,n,t);}(O(e,t),r):w(e,S(t),r);}function R(e,t=[],r=sU){return b()?function(e,t){let[r,...n]=ss(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(iz).statSync(e).isDirectory();await R("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sU);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iX.join)("/Users/",process.env.SUDO_USER):(0,iX.join)("/home/",process.env.SUDO_USER);{let e=(0,iV.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sF,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);});});}rX(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=rq.sync(e.command,{path:n[rz({env:n})],pathExt:t?iz.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iz.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 i6&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rB(e,t,r),i=ry.spawn(n.command,n.args,n.options);return rZ.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=r8(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r3.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oQ(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oZ());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sg(e,t,r),o=so(e,t),s=ss(e,t);sm(s,i.options),oz(i.options);try{n=c(rx).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rx).ChildProcess)();return st(e,Promise.reject(ow({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=sr(n),l=oX(n,i.options,a),u=oW(n,i.options,l),p={isCanceled:!1};n.kill=oF.bind(null,n.kill.bind(n)),n.cancel=oq.bind(null,n,p);let f=r0(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await o5(n,i.options,u),d=sy(i.options,l),h=sy(i.options,c),m=sy(i.options,f);if(e||0!==t||null!==r){let l=ow({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 o3(n,i.options),n.all=o6(n,i.options),oJ(n),st(n,f),n;}function w(e,t,r){let n;let i=sg(e,t,r),o=so(e,t),s=ss(e,t);sm(s,i.options);let a=o2(i.options);try{n=c(rx).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ow({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sy(i.options,n.stdout,n.error),u=sy(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ow({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(ne).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(ne).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(ne).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sF){return b()?function(e,t){let[r,...n]=sa(e);return w(r,n,t);}(O(e,t),r):w(e,S(t),r);}function R(e,t=[],r=sF){return b()?function(e,t){let[r,...n]=sa(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(iW).statSync(e).isDirectory();await R("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sF);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iz.join)("/Users/",process.env.SUDO_USER):(0,iz.join)("/home/",process.env.SUDO_USER);{let e=(0,iX.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sM,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,rU.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([N(e),A(t,T("~/.bashrc")),A(t,T("~/.profile"))]);}catch(e){(0,rF.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":` # Automatically Generated by envosman ${e.guard} export SOURCE_${e.guard.toUpperCase()}RC=0 -`;(await(0,nU.pathExists)(e.rcPath))&&!(await sG(e.rcPath,"utf8")).includes(t)&&(await sM(e.rcPath,` +`;(await(0,nF.pathExists)(e.rcPath))&&!(await sB(e.rcPath,"utf8")).includes(t)&&(await sG(e.rcPath,` ${t} -`),(0,rU.info)(`Added ${t} to ${e.rcPath}`));}async function A(e,t){(await(0,nU.pathExists)(t))&&!(await sG(t,"utf-8")).includes(e)&&(await sM(t,e),(0,rU.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nU.pathExists)(e.rcPath)){let t=[...new Set((await sG(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sB(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sH,...r},i=function(e,t=!1){let r=t?c(nF)(e):e;return c(nM)(r,'"',"\\");}(t??"",n.escapeSpace);try{if(rj.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rU.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rF.exportVariable)(e,i);}catch(t){(0,rU.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rU.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,rU.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rU.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sq(r),r.overwrite?(await sW(r.rcPath,` +`),(0,rF.info)(`Added ${t} to ${e.rcPath}`));}async function A(e,t){(await(0,nF.pathExists)(t))&&!(await sB(t,"utf-8")).includes(e)&&(await sG(t,e),(0,rF.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nF.pathExists)(e.rcPath)){let t=[...new Set((await sB(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sH(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sq,...r},i=function(e,t=!1){let r=t?c(nM)(e):e;return c(nG)(r,'"',"\\");}(t??"",n.escapeSpace);try{if(rU.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rF.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rM.exportVariable)(e,i);}catch(t){(0,rF.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rF.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,rF.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rF.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sV(r),r.overwrite?(await sK(r.rcPath,` export ${e}="${n}" -`),(0,rU.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sW(r.rcPath,` +`),(0,rF.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sK(r.rcPath,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi -`),(0,rU.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:sH,...t};if(r=e,!(sY.some(e=>e.test(r))&&(process.env.PATH?.split(iX.delimiter)??[]).includes(r))){process.env.PATH=`${e}${iX.delimiter}${process.env.PATH}`;try{if(rj.GITHUB_ACTIONS)try{(0,rF.addPath)(e);}catch(t){(0,rU.error)(t),await D(e,n);}else await D(e,n);}catch(t){(0,rU.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,rU.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sq(t),await sK(t.rcPath,` +`),(0,rF.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:sq,...t};if(r=e,!(sJ.some(e=>e.test(r))&&(process.env.PATH?.split(iz.delimiter)??[]).includes(r))){process.env.PATH=`${e}${iz.delimiter}${process.env.PATH}`;try{if(rU.GITHUB_ACTIONS)try{(0,rM.addPath)(e);}catch(t){(0,rF.error)(t),await D(e,n);}else await D(e,n);}catch(t){(0,rF.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,rF.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sV(t),await sY(t.rcPath,` export PATH="${e}:$PATH" -`),(0,rU.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]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){return(await Promise.all(t.map(t=>J(e,t)))).filter(e=>void 0!==e);}async function J(e,t){let r=await Z(e,t.name,t.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,ic.default)(t)}-${(0,ic.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 sZ?3:(s0(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,rU.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){s0(e);let t=await Y(e,[{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}]);0!==t.length&&x(e,["install","-y","--fix-broken","-o",sQ,...t],{...sU,env:V(e)});}async function et(e,t=z()){await s1(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sU,env:V(t)}),s0.clear(),s0(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",sQ,"software-properties-common"],{...sU,env:V(e)});}async function en(e,t=!1){let r=z();for(let{name:t,version:n}of e)(0,rU.info)(`Installing ${t} ${n??""} via ${r}`);t&&s0(r),await ei(r,e);let n=await Y(r,e);if(0===n.length)return(0,rU.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s1(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sU,env:V(r)});}catch(e){if("string"==typeof e.stderr)s2.some(t=>e.stderr.includes(t))&&((0,rU.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",sQ,...n],{...sU,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=s3,fileName:r,keyStorePath:n=s3}){try{ec(r);let i=(0,iX.join)(n,r);return(await(0,nU.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,rU.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s4}){try{ec(t);let n=(0,iX.join)(r,t);if(!(await(0,nU.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iX.join)((0,iV.tmpdir)(),t),i=new ie.DownloaderHelper(e,(0,iV.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,rU.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(r9)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iX.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new ie.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iV.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,rU.info)(`Installing ${e} ${t??""} via brew`),s6&&null!==c(r9).sync("brew",{nothrow:!0})||(await eu(),s6=!0);let i=ep(),o=(0,iX.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(r9).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(r9).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(r9).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(r9).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,ip.dirname)(i)};let o="powershell.exe",s=c(r9).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,ln);let l=c(r9).sync("choco",{nothrow:!0});if(r=null!==l?(0,ip.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nU.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){(0,rU.info)(`Installing ${e} ${t??""} via chocolatey`),s8&&null!==c(r9).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s8=!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,rU.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,ln),{binDir:o};}async function ey(e){for(let{name:t,version:r}of e)(0,rU.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,rU.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,rU.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(r9).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s7||"yay"===r||(x(n,["-Sy","--noconfirm"]),s7=!0),s5||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),s5=!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,rU.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(s9))r.push(e[1]);}catch(e){(0,rU.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||ai.arch();let n=ao.join(eP(),e);if(ar.existsSync(n)){for(let e of ar.readdirSync(n))if(eI(e)){let i=ao.join(n,e,t||"");ar.existsSync(i)&&ar.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eR(e){return iw(this,void 0,void 0,function*(){return e||(e=ao.join(eN(),au.default())),yield at.mkdirP(e),e;});}function eO(e,t,r){return iw(this,void 0,void 0,function*(){let n=ao.join(eP(),e,aa.clean(t)||t,r||"");ae.debug("destination "+n);let i=`${n}.complete`;return yield at.rmRF(n),yield at.rmRF(i),yield at.mkdirP(n),n;});}function eS(e,t,r){let n=ao.join(eP(),e,aa.clean(t)||t,r||""),i=`${n}.complete`;ar.writeFileSync(i,""),ae.debug("finished caching tool");}function eI(e){let t=aa.clean(e)||"";ae.debug("isExplicit: "+t);let r=null!=aa.valid(t);return ae.debug("explicit? "+r),r;}function eT(e,t){let r="";ae.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>aa.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(aa.satisfies(i,t)){r=i;break;}}return r?ae.debug("matched: "+r):ae.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rh.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eN(){let e=process.env.RUNNER_TEMP||"";return rh.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eA(e,t){let r=r$[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 am(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,ip.join)(process.env.RUNNER_TEMP??(0,iV.tmpdir)(),`${Date.now()}-${(0,iX.basename)(r)}`);return(0,im.downloadTool)(r,e);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rU.info)(e)});}async function eq(e,t,r){rj.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===ro("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,im.cacheDir)(e,t,r));}function eV(e,t,r){let n=c(id)(e)??e;switch(t){case"win32":{let t;let i=c(ih)(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,ip.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(ih)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,ip.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(ih)(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,ip.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,iY.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(iC)(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 i$(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 i$(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=aA){try{let r=await(0,ib.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(id)(i)??void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=aA){let n=await eY(e,r);return void 0!==n&&""!==t&&-1!==c(iC)(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(rh)(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,rU.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,rU.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,ip.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rj.GITHUB_ACTIONS)try{(0,rU.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rk("8Rlq7");if(await o(e,t,r),i=await e3(t),void 0===i)throw Error("Python binary could not be found");let s=(0,ip.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rU.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,ip.dirname)(i),binDir:(0,ip.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,ip.dirname)(n);await k(i,ln),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,ip.join)(e.stdout,"libexec","bin");await k(n,ln);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,iX.parse)((0,iV.homedir)()).root;for(let t of(await(0,nt.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,ip.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{if(void 0!==t){let r=(0,ip.join)(t,(0,ip.addExeExt)(e));if((await(0,nU.pathExists)(r))&&(await eJ(r,aC.python)))return r;}for(let t of(await c(r9)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aC.python))return t;}catch{}}async function e8(e){let t=await e7();return void 0===t?((0,rU.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(r9)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aC.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,rU.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rU.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,ib.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,ip.join)(r,"Scripts"),(0,ip.join)(r,"Scripts","bin"),(0,ip.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){return tn(t)&&"linux"===process.platform&&null!==r&&e in aL?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,aL[e]):tn(t)&&e in a$?a$[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)=>{rg.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(r9).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,ik.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rU.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iV)&&"function"==typeof c(iV).version))return null;let e=c(iV).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 aF(),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,rF.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await aj(),i.PIPX_BIN_DIR=await aU()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rF.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 ak(e),p=await th(u,t);return await k(p,ln),{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,nU.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 aN(e),await aN((0,ip.join)(e,"trash")),await aN((0,ip.join)(e,"shared")),await aN((0,ip.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,ln),await aN(e),e;}async function tf(){let e=(await eZ(tr("python",void 0,await aD()),"",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,nU.pathExists)((0,ip.join)(e,(0,ip.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(r9).sync((0,ip.addExeExt)(t),{nothrow:!0});return null!==n?(0,ip.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rF.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,ln),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,ln),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rk("g7Ve0"),n=new r(e);await n.read(async e=>{await e.extract((0,iX.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,ip.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,ip.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,ip.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(iT)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rU.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 aG()[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,rU.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rU.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 aD()),"",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,nU.pathExists)((0,ip.join)(e,"doxygen.exe")))return await k(e,ln),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tR(){if("darwin"===process.platform)try{let e=await(0,ib.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),ln):(0,rU.error)("SDKROOT not set");}catch(e){(0,rU.error)(e);}}function tO(e,t,r){if("win32"===t){let t=aB[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,ip.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tS(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,tO,t,r);}catch(t){(0,rU.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tT(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=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,rU.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?await e_("gcc-multilib",e):em()&&(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 tP(e,i.binDir,n),i;}async function tI(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tS(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 tT(e,t){let r;if(await eg("mingw",e),"x64"===t&&(await(0,nU.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await k(r,ln)):"ia32"===t&&(await(0,nU.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await k(r,ln)):(await(0,nU.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 tP(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,ip.addExeExt)(`${t}/gcc`),ln),C("CXX",(0,ip.addExeExt)(`${t}/g++`),ln));else{let i=c(iD)(c(id)(e)??e);i>=5?(n.push(C("CC",`${t}/gcc-${i}`,ln),C("CXX",`${t}/g++-${i}`,ln)),em()&&n.push(q("cc",`${t}/gcc-${i}`,ln,r),q("cxx",`${t}/g++-${i}`,ln,r),q("gcc",`${t}/gcc-${i}`,ln,r),q("g++",`${t}/g++-${i}`,ln,r))):(n.push(C("CC",`${t}/gcc-${e}`,ln),C("CXX",`${t}/g++-${e}`,ln)),em()&&n.push(q("cc",`${t}/gcc-${e}`,ln,r),q("cxx",`${t}/g++-${e}`,ln,r),q("gcc",`${t}/gcc-${e}`,ln,r),q("g++",`${t}/g++-${e}`,ln,r)));}n.push(tR()),rj.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,ip.join)(ij,"gcc_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}function tA(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,ip.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function t$(e,t,r){return eG("ninja",e,tA,t,r);}function tC(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,ip.addExeExt)("kcov")};}function tL(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,ip.addExeExt)("kcov"),extractFunction:tk};}async function tk(e,t){let r=await eF(e,t,1),n=await tD();"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(r9).sync("patch",{nothrow:!0})){let e=(0,ip.join)(iU,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rU.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,ip.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 tD(){let e=c(r9).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eX(tr("cmake",void 0,await aD()),(0,ip.join)(T("~"),"cmake"),"");e=(0,ip.join)(t,"cmake");}return null===c(r9).sync("ninja",{nothrow:!0})&&(await t$(tr("ninja",void 0,await aD()),(0,ip.join)(T("~"),"ninja"),"")),e;}async function tj(e,t,r){var n;let i;if("linux"!==process.platform){(0,rU.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,tC,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tL,t,r),i;}function tU(e){if(Object.values(aJ).includes(e));else if(e in aJ)return aJ[e];return e;}function tF(e){let t;let r=tU(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return rg.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rF.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iz.existsSync(n))return rF.info("Found with vswhere: "+n),n;rF.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aJ).includes(e));else for(let[t,r]of Object.entries(aJ))if(r===e)return t;return e;}(e)]:aY;for(let e of aW)for(let t of i)for(let r of aK)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rF.info("Trying standard location: "+n),iz.existsSync(n))return rF.info("Found standard location: "+n),n;if(rF.info("Not found in standard locations"),n=`${az}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iz.existsSync(n))return rF.info("Found VS 2015: "+n),n;throw rF.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tM(e,t,r,n,i,o,s){void 0!==t&&(await(0,nU.pathExists)(t))&&((0,rU.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,ln)),await iG(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 tG(e,t,r,n,i,o,s,a=aZ){(0,rF.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(aX(e)),e.addEventListener("abort",()=>{l(aX(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aH();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;}(tB(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rU.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rU.error)(t.stack),s.push(`${e} failed to install`);}return(0,rF.endGroup)(),l;}async function tB(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tM(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:ln});else{let o=(0,ip.join)(i,a?"llvm":e),l=tr(e,t,r),c=le[e];s=await c(l,o,n);}return o.push(rs(e,s)),a;}async function tH(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new ie.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iV.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,nt.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iX.join)((0,iV.tmpdir)(),"llvm-setup-cpp.sh"),s=await tq(i,o,e,t);return await en(s),await(0,nt.chmod)(o,"755"),await R("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:aZ}),await k(`${r}/bin`,ln),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tq(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 ${sQ} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tV(c),c=X()?l.replace(/apt-get/g,"nala"):l,await(0,nt.writeFile)(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tV(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${sQ} -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,rA.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tX(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tz(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tW(e){let t;if(a1.has(e))return null;let r="LLVM-",n=c(ih)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(ih)(e,"9.0.1"),o=!1;return i&&(t=tz(e,r,n),(await i$(t))||(o=!0)),(o||!i)&&(t=tX(e,r,n)),t;}function tK(e,t){switch(e){case"darwin":return function(e){if(a2.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(ih)(e,"9.0.1")?tz(e,r,n):tX(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a4.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a0.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a0,e)[0];}else""!==n&&n in a3?t=a3[n]:(t=a3[a6],(0,rU.warning)(`Falling back to LLVM version ${a6} ${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(ih)(n,"9.0.1"))?tz(n,o,r):tX(n,o,r);}(t);case"win32":return tW(t);default:return null;}}async function tY(e,t,r){let[n,i]=await eK(a0,t,e,tK);return(0,rU.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,ip.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eF(e,t,1)};}async function tJ(e,t,r){let n=await a8(e,t,r);return await t2(n.installDir??t),n;}async function tQ(e,t,r){let[n,i]=await Promise.all([tZ(e,t,r),t4()]);return await a5(r),n;}async function tZ(e,t,r,n=iB.All){let i=Number.parseInt(function(e){if(null===c(iL)(e))try{let t=c(id)(e);if(null!==t)return(0,rU.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tH(i,n);}catch(e){(0,rU.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tY,t,r);return await a7(i),o;}async function t0(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t1(e){"linux"===process.platform&&(await tS(tr("gcc",void 0,await aD()),"",e,40));}async function t2(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[C("LLVM_PATH",e,ln),C("LD_LIBRARY_PATH",`${e}/lib${iX.delimiter}${t}`,ln),C("DYLD_LIBRARY_PATH",`${e}/lib${iX.delimiter}${r}`,ln),C("LDFLAGS",`-L"${e}/lib"`,ln),C("CPPFLAGS",`-I"${e}/include"`,ln),C("CC",(0,ip.addExeExt)(`${e}/bin/clang`),ln),C("CXX",(0,ip.addExeExt)(`${e}/bin/clang++`),ln),C("LIBRARY_PATH",`${e}/lib`,ln),tR()];em()&&n.push(q("cc",`${e}/bin/clang`,ln,60),q("cxx",`${e}/bin/clang++`,ln,60),q("clang",`${e}/bin/clang`,ln),q("clang++",`${e}/bin/clang++`,ln),q("lld",`${e}/bin/lld`,ln),q("ld.lld",`${e}/bin/ld.lld`,ln),q("llvm-ar",`${e}/bin/llvm-ar`,ln)),await Promise.all(n);}async function t4(){if(rj.GITHUB_ACTIONS){let e=(0,ip.join)(iH,"llvm_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}}async function t3(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",ln),{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 t6(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iF(e);(0,rU.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iM(l);c=!0,(0,rU.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,rU.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rU.error)(e);}await tM(l,a,r,s,n,i,o),rj.GITHUB_ACTIONS&&(await t8());}async function t8(){let e=(0,ip.join)(iq,"msvc_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}async function t7(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(r9).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,ip.dirname)(n)};await en([{name:"python3-apt"}]);let o=await ea({fileName:"volian-archive-nala.gpg",keyUrl:"https://deb.volian.org/volian/nala.key"});x("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ nala main" | tee /etc/apt/sources.list.d/volian-archive-nala.list`]);try{"legacy"!==e?await en([{name:"nala"}],!0):await en([{name:"nala-legacy"}],!0);}catch(e){await en([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function t5(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await t9()};}async function t9(){let e="C:/Program Files/OpenCppCoverage";return await k(e,ln),e;}function re(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,ip.addExeExt)("pwsh"),extractedFolderName:""};}async function rt(e,t,r){try{return await eG("pwsh",e,re,t,r);}catch(n){return(0,rU.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),rr(e,t,r);}}async function rr(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,ln),{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 aD(),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 rn(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,ip.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ri(e,t,r){return a9&&null!==c(r9).sync("vcpkg",{nothrow:!0})?{binDir:(0,ip.dirname)(c(r9).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,nU.pathExists)((0,ip.join)(t,(0,ip.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rU.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,ip.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rU.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,ip.addShExt)((0,ip.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,ln),a9=!0,{binDir:t});}function ro(e){let t=(0,rF.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function rs(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 ra(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(iL)(e)||(0,rU.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rF.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tJ(tr("llvm",l,t),(0,iX.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",ln),i.push(rs("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 tI(e,(0,iX.join)(r,"gcc"),n):await tS(e,(0,iX.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",ln)),await function(e){let t=c(iL)(e),r=null!==t?c(iD)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",ln);}(e),i.push(rs("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t6(tr("msvc",l,t),(0,iX.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",ln)),i.push(rs("msvc",e));break;}case"appleclang":case"applellvm":(0,rF.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",ln),C("CXX","clang++",ln)]),i.push(rs("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rU.error)(t),s.push("Failed to install the "+e);}(0,rF.endGroup)();}async function rl(e){let t,r,n=Promise.resolve();rj.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:[...lr,"timeout"],default:Object.fromEntries(lr.map(e=>[e,ro(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rU.info)(` +`));}function V(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 X(){return null!==c(ne).sync("nala",{nothrow:!0});}function z(){let e;return X()?"nala":"apt-get";}async function W(e){try{let{stdout:t}=await E("dpkg",["-s",e],{env:V("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 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,iu.default)(t)}-${(0,iu.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 s0?3:(s1(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,rF.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){s1(e);let t=await Y([{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}],e);0!==t.length&&x(e,["install","-y","--fix-broken","-o",sZ,...t],{...sF,env:V(e)});}async function et(e,t=z()){await s2(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sF,env:V(t)}),s1.clear(),s1(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",sZ,"software-properties-common"],{...sF,env:V(e)});}async function en(e,t=!1){let r=z();for(let{name:t,version:n}of e)(0,rF.info)(`Installing ${t} ${n??""} via ${r}`);t&&s1(r),await ei(r,e);let n=await Y(e,r);if(0===n.length)return(0,rF.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s2(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sF,env:V(r)});}catch(e){if("string"==typeof e.stderr)s4.some(t=>e.stderr.includes(t))&&((0,rF.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",sZ,...n],{...sF,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=s6,fileName:r,keyStorePath:n=s6}){try{ec(r);let i=(0,iz.join)(n,r);return(await(0,nF.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,rF.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s3}){try{ec(t);let n=(0,iz.join)(r,t);if(!(await(0,nF.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iz.join)((0,iX.tmpdir)(),t),i=new it.DownloaderHelper(e,(0,iX.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,rF.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(ne)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iz.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new it.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iX.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,rF.info)(`Installing ${e} ${t??""} via brew`),s8&&null!==c(ne).sync("brew",{nothrow:!0})||(await eu(),s8=!0);let i=ep(),o=(0,iz.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(ne).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(ne).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(ne).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(ne).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,id.dirname)(i)};let o="powershell.exe",s=c(ne).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,li);let l=c(ne).sync("choco",{nothrow:!0});if(r=null!==l?(0,id.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nF.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){(0,rF.info)(`Installing ${e} ${t??""} via chocolatey`),s7&&null!==c(ne).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s7=!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,rF.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,li),{binDir:o};}async function ey(e){for(let{name:t,version:r}of e)(0,rF.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,rF.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,rF.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(ne).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s5||"yay"===r||(x(n,["-Sy","--noconfirm"]),s5=!0),s9||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),s9=!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,rF.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(ae))r.push(e[1]);}catch(e){(0,rF.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||ao.arch();let n=as.join(eP(),e);if(an.existsSync(n)){for(let e of an.readdirSync(n))if(eI(e)){let i=as.join(n,e,t||"");an.existsSync(i)&&an.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eR(e){return i_(this,void 0,void 0,function*(){return e||(e=as.join(eN(),ap.default())),yield ar.mkdirP(e),e;});}function eO(e,t,r){return i_(this,void 0,void 0,function*(){let n=as.join(eP(),e,al.clean(t)||t,r||"");at.debug("destination "+n);let i=`${n}.complete`;return yield ar.rmRF(n),yield ar.rmRF(i),yield ar.mkdirP(n),n;});}function eS(e,t,r){let n=as.join(eP(),e,al.clean(t)||t,r||""),i=`${n}.complete`;an.writeFileSync(i,""),at.debug("finished caching tool");}function eI(e){let t=al.clean(e)||"";at.debug("isExplicit: "+t);let r=null!=al.valid(t);return at.debug("explicit? "+r),r;}function eT(e,t){let r="";at.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>al.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(al.satisfies(i,t)){r=i;break;}}return r?at.debug("matched: "+r):at.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rm.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eN(){let e=process.env.RUNNER_TEMP||"";return rm.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eA(e,t){let r=rC[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 av(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,id.join)(process.env.RUNNER_TEMP??(0,iX.tmpdir)(),`${Date.now()}-${(0,iz.basename)(r)}`);return(0,iv.downloadTool)(r,e);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rF.info)(e)});}async function eq(e,t,r){rU.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===rs("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,iv.cacheDir)(e,t,r));}function eV(e,t,r){let n=c(ih)(e)??e;switch(t){case"win32":{let t;let i=c(im)(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,id.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(im)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,id.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(im)(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,id.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,iJ.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(iL)(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 iC(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 iC(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=a$){try{let r=await(0,ix.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(ih)(i)??void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=a$){let n=await eY(e,r);return void 0!==n&&""!==t&&-1!==c(iL)(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(rm)(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,rF.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,rF.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,id.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rU.GITHUB_ACTIONS)try{(0,rF.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rD("8Rlq7");if(await o(e,t,r),i=await e3(t),void 0===i)throw Error("Python binary could not be found");let s=(0,id.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rF.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,id.dirname)(i),binDir:(0,id.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,id.dirname)(n);await k(i,li),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,id.join)(e.stdout,"libexec","bin");await k(n,li);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,iz.parse)((0,iX.homedir)()).root;for(let t of(await(0,nr.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,id.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{if(void 0!==t){let r=(0,id.join)(t,(0,id.addExeExt)(e));if((await(0,nF.pathExists)(r))&&(await eJ(r,aL.python)))return r;}for(let t of(await c(ne)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aL.python))return t;}catch{}}async function e8(e){let t=await e7();return void 0===t?((0,rF.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(ne)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aL.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,rF.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rF.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,ix.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,id.join)(r,"Scripts"),(0,id.join)(r,"Scripts","bin"),(0,id.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){return tn(t)&&"linux"===process.platform&&null!==r&&e in ak?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,ak[e]):tn(t)&&e in aC?aC[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)=>{ry.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(ne).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,iD.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rF.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iX)&&"function"==typeof c(iX).version))return null;let e=c(iX).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 aM(),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,rM.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await aU(),i.PIPX_BIN_DIR=await aF()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rM.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 aD(e),p=await th(u,t);return await k(p,li),{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,nF.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 aA(e),await aA((0,id.join)(e,"trash")),await aA((0,id.join)(e,"shared")),await aA((0,id.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,li),await aA(e),e;}async function tf(){let e=(await eZ(tr("python",void 0,await aj()),"",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,nF.pathExists)((0,id.join)(e,(0,id.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(ne).sync((0,id.addExeExt)(t),{nothrow:!0});return null!==n?(0,id.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rM.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,li),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,li),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rD("g7Ve0"),n=new r(e);await n.read(async e=>{await e.extract((0,iz.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,id.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,id.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,id.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(iP)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rF.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 aB()[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,rF.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rF.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 aj()),"",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,nF.pathExists)((0,id.join)(e,"doxygen.exe")))return await k(e,li),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tR(){if("darwin"===process.platform)try{let e=await(0,ix.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),li):(0,rF.error)("SDKROOT not set");}catch(e){(0,rF.error)(e);}}function tO(e,t,r){if("win32"===t){let t=aH[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,id.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tS(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,tO,t,r);}catch(t){(0,rF.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tT(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=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,rF.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?await e_("gcc-multilib",e):em()&&(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 tP(e,i.binDir,n),i;}async function tI(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tS(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 tT(e,t){let r;if(await eg("mingw",e),"x64"===t&&(await(0,nF.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await k(r,li)):"ia32"===t&&(await(0,nF.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await k(r,li)):(await(0,nF.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 tP(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,id.addExeExt)(`${t}/gcc`),li),C("CXX",(0,id.addExeExt)(`${t}/g++`),li));else{let i=c(ij)(c(ih)(e)??e);i>=5?(n.push(C("CC",`${t}/gcc-${i}`,li),C("CXX",`${t}/g++-${i}`,li)),em()&&n.push(q("cc",`${t}/gcc-${i}`,li,r),q("cxx",`${t}/g++-${i}`,li,r),q("gcc",`${t}/gcc-${i}`,li,r),q("g++",`${t}/g++-${i}`,li,r))):(n.push(C("CC",`${t}/gcc-${e}`,li),C("CXX",`${t}/g++-${e}`,li)),em()&&n.push(q("cc",`${t}/gcc-${e}`,li,r),q("cxx",`${t}/g++-${e}`,li,r),q("gcc",`${t}/gcc-${e}`,li,r),q("g++",`${t}/g++-${e}`,li,r)));}n.push(tR()),rU.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,id.join)(iU,"gcc_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}function tA(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,id.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function t$(e,t,r){return eG("ninja",e,tA,t,r);}function tC(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,id.addExeExt)("kcov")};}function tL(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,id.addExeExt)("kcov"),extractFunction:tk};}async function tk(e,t){let r=await eF(e,t,1),n=await tD();"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(ne).sync("patch",{nothrow:!0})){let e=(0,id.join)(iF,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rF.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,id.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 tD(){let e=c(ne).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eX(tr("cmake",void 0,await aj()),(0,id.join)(T("~"),"cmake"),"");e=(0,id.join)(t,"cmake");}return null===c(ne).sync("ninja",{nothrow:!0})&&(await t$(tr("ninja",void 0,await aj()),(0,id.join)(T("~"),"ninja"),"")),e;}async function tj(e,t,r){var n;let i;if("linux"!==process.platform){(0,rF.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,tC,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tL,t,r),i;}function tU(e){if(Object.values(aQ).includes(e));else if(e in aQ)return aQ[e];return e;}function tF(e){let t;let r=tU(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return ry.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rM.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iW.existsSync(n))return rM.info("Found with vswhere: "+n),n;rM.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)]:aJ;for(let e of aK)for(let t of i)for(let r of aY)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rM.info("Trying standard location: "+n),iW.existsSync(n))return rM.info("Found standard location: "+n),n;if(rM.info("Not found in standard locations"),n=`${aW}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iW.existsSync(n))return rM.info("Found VS 2015: "+n),n;throw rM.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tM(e,t,r,n,i,o,s){void 0!==t&&(await(0,nF.pathExists)(t))&&((0,rF.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,li)),await iB(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 tG(e,t,r,n,i,o,s,a=a0){(0,rM.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(az(e)),e.addEventListener("abort",()=>{l(az(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aq();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;}(tB(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rF.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rF.error)(t.stack),s.push(`${e} failed to install`);}return(0,rM.endGroup)(),l;}async function tB(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tM(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:li});else{let o=(0,id.join)(i,a?"llvm":e),l=tr(e,t,r),c=lt[e];s=await c(l,o,n);}return o.push(ra(e,s)),a;}async function tH(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new it.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iX.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,nr.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iz.join)((0,iX.tmpdir)(),"llvm-setup-cpp.sh"),s=await tq(i,o,e,t);return await en(s),await(0,nr.chmod)(o,"755"),await R("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a0}),await k(`${r}/bin`,li),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tq(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 ${sZ} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tV(c),c=X()?l.replace(/apt-get/g,"nala"):l,await(0,nr.writeFile)(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tV(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${sZ} -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,r$.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tX(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tz(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tW(e){let t;if(a2.has(e))return null;let r="LLVM-",n=c(im)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(im)(e,"9.0.1"),o=!1;return i&&(t=tz(e,r,n),(await iC(t))||(o=!0)),(o||!i)&&(t=tX(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(im)(e,"9.0.1")?tz(e,r,n):tX(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a3.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a1.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a1,e)[0];}else""!==n&&n in a6?t=a6[n]:(t=a6[a8],(0,rF.warning)(`Falling back to LLVM version ${a8} ${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(im)(n,"9.0.1"))?tz(n,o,r):tX(n,o,r);}(t);case"win32":return tW(t);default:return null;}}async function tY(e,t,r){let[n,i]=await eK(a1,t,e,tK);return(0,rF.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,id.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eF(e,t,1)};}async function tJ(e,t,r){let n=await a7(e,t,r);return await t2(n.installDir??t),n;}async function tQ(e,t,r){let[n,i]=await Promise.all([tZ(e,t,r),t4()]);return await a9(r),n;}async function tZ(e,t,r,n=iH.All){let i=Number.parseInt(function(e){if(null===c(ik)(e))try{let t=c(ih)(e);if(null!==t)return(0,rF.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tH(i,n);}catch(e){(0,rF.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tY,t,r);return await a5(i),o;}async function t0(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t1(e){"linux"===process.platform&&(await tS(tr("gcc",void 0,await aj()),"",e,40));}async function t2(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[C("LLVM_PATH",e,li),C("LD_LIBRARY_PATH",`${e}/lib${iz.delimiter}${t}`,li),C("DYLD_LIBRARY_PATH",`${e}/lib${iz.delimiter}${r}`,li),C("LDFLAGS",`-L"${e}/lib"`,li),C("CPPFLAGS",`-I"${e}/include"`,li),C("CC",(0,id.addExeExt)(`${e}/bin/clang`),li),C("CXX",(0,id.addExeExt)(`${e}/bin/clang++`),li),C("LIBRARY_PATH",`${e}/lib`,li),tR()];em()&&n.push(q("cc",`${e}/bin/clang`,li,60),q("cxx",`${e}/bin/clang++`,li,60),q("clang",`${e}/bin/clang`,li),q("clang++",`${e}/bin/clang++`,li),q("lld",`${e}/bin/lld`,li),q("ld.lld",`${e}/bin/ld.lld`,li),q("llvm-ar",`${e}/bin/llvm-ar`,li)),await Promise.all(n);}async function t4(){if(rU.GITHUB_ACTIONS){let e=(0,id.join)(iq,"llvm_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}}async function t3(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",li),{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 t6(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iM(e);(0,rF.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iG(l);c=!0,(0,rF.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,rF.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rF.error)(e);}await tM(l,a,r,s,n,i,o),rU.GITHUB_ACTIONS&&(await t8());}async function t8(){let e=(0,id.join)(iV,"msvc_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}async function t7(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(ne).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,id.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,rF.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,rF.info)("Failed to install nala-legacy: "+e);}return await t5(),{binDir:i};}async function t5(){let e=new it.DownloaderHelper("https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",(0,iX.tmpdir)(),{fileName:"install-nala.sh"});e.on("error",e=>{throw Error("Failed to download install-nala.sh: "+e);}),await e.start();let t=(0,id.join)((0,iX.tmpdir)(),"install-nala.sh"),r=await(0,nr.readFile)(t,"utf8");await(0,nr.writeFile)(t,r.replace(/sudo/g,"")),await en([{name:"wget"}]);try{x("bash",[t]);}catch(e){(0,rF.error)("Failed to install nala via installer: "+e),x("apt",["install","-y","-t","nala","nala"]);}}async function t9(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await re()};}async function re(){let e="C:/Program Files/OpenCppCoverage";return await k(e,li),e;}function rt(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,id.addExeExt)("pwsh"),extractedFolderName:""};}async function rr(e,t,r){try{return await eG("pwsh",e,rt,t,r);}catch(n){return(0,rF.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),rn(e,t,r);}}async function rn(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,li),{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 aj(),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 ri(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,id.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ro(e,t,r){return le&&null!==c(ne).sync("vcpkg",{nothrow:!0})?{binDir:(0,id.dirname)(c(ne).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,nF.pathExists)((0,id.join)(t,(0,id.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rF.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,id.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rF.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,id.addShExt)((0,id.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,li),le=!0,{binDir:t});}function rs(e){let t=(0,rM.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function ra(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 rl(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(ik)(e)||(0,rF.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rM.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tJ(tr("llvm",l,t),(0,iz.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",li),i.push(ra("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 tI(e,(0,iz.join)(r,"gcc"),n):await tS(e,(0,iz.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",li)),await function(e){let t=c(ik)(e),r=null!==t?c(ij)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",li);}(e),i.push(ra("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t6(tr("msvc",l,t),(0,iz.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",li)),i.push(ra("msvc",e));break;}case"appleclang":case"applellvm":(0,rM.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",li),C("CXX","clang++",li)]),i.push(ra("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rF.error)(t),s.push("Failed to install the "+e);}(0,rM.endGroup)();}async function rc(e){let t,r,n=Promise.resolve();rU.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:[...ln,"timeout"],default:Object.fromEntries(ln.map(e=>[e,rs(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rF.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 o=i.architecture??process.arch,s=process.env.SETUP_CPP_DIR??T("~"),a=[],l=[],u=nH.create({autoloadLocales:!0});nH.addLocale(c(nq)),nG.addLocale(c(nB));let p=await aD();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,rU.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rU.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 lt){if(rj.isCI&&0!==l.length){d=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),f=await tG(e,n,p,o,s,a,l,6e4*Number.parseFloat(i.timeout??"20")),r=Date.now(),(0,rU.info)("took "+(u.format(t,r)||"0 seconds")));}if(!d){let e=i.compiler;if(void 0!==e){let t=Date.now();await ra(e,p,s,o,a,f,l);let r=Date.now();(0,rU.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await $(ln),0===a.length&&0===l.length)return(0,rU.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of a)(0,rU.success)(e);for(let e of l)(0,rU.error)(e);if((0,rU.info)("setup-cpp finished"),!rj.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rU.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rU.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var rc,ru,rp,rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rR,rO,rS,rI,rT,rP,rN,rA,r$,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,nN,nA,n$,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,iN,iA,i$,iC,iL,ik,iD,ij,iU,iF,iM,iG,iB,iH,iq,iV=require("os"),iX=require("path"),iz=require("fs"),iW=require("crypto"),iK=require("http"),iY=require("https");require("net"),rf=require("tls"),rd=require("events"),rh=require("assert"),rm=require("util"),rv=require("fs"),rg=require("child_process"),ry=require("string_decoder"),rE=require("timers"),rw=require("buffer"),r_=require("path"),rb=require("child_process"),rx=require("process"),rR=require("url"),rO=require("os"),rS=require("buffer"),rI=require("stream"),rT=require("util"),rP=require("process"),rN=require("url"),rA=require("console"),rC={},rL={},null==(rk=(r$=globalThis).parcelRequire810d)&&((rk=function(e){if(e in rC)return rC[e].exports;if(e in rL){var t=rL[e];delete rL[e];var r={id:e,exports:{}};return rC[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){rL[e]=t;},r$.parcelRequire810d=rk),(rD=rk.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=rk("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));}),rD("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"}]');}),rD("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=rk("9yJgU"),n=rk("9ne19");}),rD("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=rk("lffbf"),a=rk("60EQk"),l=rk("h6Xqd");let y=i(iV),E=i(iX);c=rk("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=rk("kPBPC"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rk("kPBPC"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rk("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;}});}),rD("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(iV);o=rk("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")));}}}),rD("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}:{};};}),rD("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(iz),l=i(iV);o=rk("4dndm"),s=rk("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}`;};}),rD("4dndm",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rk("5SVBN"),n=rk("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);};}),rD("5SVBN",function(e,t){function r(){return i>n.length-16&&(c(iW).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rD("38Etc",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rk("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;};}),rD("f9HAa",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rk("bpRYF"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rD("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;}),rD("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=rk("lpeQd"),i=rk("8pFBD"),o=rk("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. +`),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=nq.create({autoloadLocales:!0});nq.addLocale(c(nV)),nB.addLocale(c(nH));let p=await aj();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,rF.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rF.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 lr){if(rU.isCI&&0!==l.length){d=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),f=await tG(e,n,p,o,s,a,l,6e4*Number.parseFloat(i.timeout??"20")),r=Date.now(),(0,rF.info)("took "+(u.format(t,r)||"0 seconds")));}if(!d){let e=i.compiler;if(void 0!==e){let t=Date.now();await rl(e,p,s,o,a,f,l);let r=Date.now();(0,rF.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await $(li),0===a.length&&0===l.length)return(0,rF.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of a)(0,rF.success)(e);for(let e of l)(0,rF.error)(e);if((0,rF.info)("setup-cpp finished"),!rU.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rF.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rF.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var ru,rp,rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rR,rO,rS,rI,rT,rP,rN,rA,r$,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,nN,nA,n$,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,iN,iA,i$,iC,iL,ik,iD,ij,iU,iF,iM,iG,iB,iH,iq,iV,iX=require("os"),iz=require("path"),iW=require("fs"),iK=require("crypto"),iY=require("http"),iJ=require("https");require("net"),rd=require("tls"),rh=require("events"),rm=require("assert"),rv=require("util"),rg=require("fs"),ry=require("child_process"),rE=require("string_decoder"),rw=require("timers"),r_=require("buffer"),rb=require("path"),rx=require("child_process"),rR=require("process"),rO=require("url"),rS=require("os"),rI=require("buffer"),rT=require("stream"),rP=require("util"),rN=require("process"),rA=require("url"),r$=require("console"),rL={},rk={},null==(rD=(rC=globalThis).parcelRequire810d)&&((rD=function(e){if(e in rL)return rL[e].exports;if(e in rk){var t=rk[e];delete rk[e];var r={id:e,exports:{}};return rL[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){rk[e]=t;},rC.parcelRequire810d=rD),(rj=rD.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=rD("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));}),rj("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"}]');}),rj("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=rD("9yJgU"),n=rD("9ne19");}),rj("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=rD("lffbf"),a=rD("60EQk"),l=rD("h6Xqd");let y=i(iX),E=i(iz);c=rD("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=rD("kPBPC"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rD("kPBPC"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rD("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;}});}),rj("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(iX);o=rD("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")));}}}),rj("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}:{};};}),rj("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(iW),l=i(iX);o=rD("4dndm"),s=rD("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}`;};}),rj("4dndm",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rD("5SVBN"),n=rD("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);};}),rj("5SVBN",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;}),rj("38Etc",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rD("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;};}),rj("f9HAa",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rD("bpRYF"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rj("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;}),rj("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=rD("lpeQd"),i=rD("8pFBD"),o=rD("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;}),rD("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(iK),f=i(iY),d=i(rk("bBH88")),h=i(rk("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 rk("2LecT");}).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),{});}),rD("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;}}}),rD("eYDoL",function(e,t){e.exports=rk("gBbBa");}),rD("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||iK.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=rf.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=iK.request,t;},n=function(e){var t=new c(e);return t.request=iK.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iY.request,t;},o=function(e){var t=new c(e);return t.request=iY.request,t.createSocket=u,t.defaultPort=443,t;},rm.inherits(c,rd.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;}),rD("2LecT",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.52c85c82.js")).then(()=>rk("3z4gn"));}),rD("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");});}};}),rD("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}=iz.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,iz.constants.R_OK|iz.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(iV.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;}),rD("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(iX);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);};}),rD("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),iz.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}=iz.promises,I="rm"in iz.promises?iz.promises.rm:(0,rm.promisify)(iz.unlink);}),rD("7Ubzm",function(e,t){e.exports=function(){};}),rD("8tETt",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rD("hGADy",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rD("9KLFQ",function(e,t){var r=rk("dxkoV"),n=rk("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;});};};}),rD("dxkoV",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rD("gGM7W",function(e,t){var r=rk("8uHBt");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rD("8uHBt",function(e,t){var r=rk("7Ubzm")();e.exports=function(e){return e!==r&&null!==e;};}),rD("5twQR",function(e,t){}),rD("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");};}),rD("11hhf",function(e,t){var r=rk("4bgzK"),n=rk("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;};}),rD("4bgzK",function(e,t){e.exports=rk("h6Tco")()?Object.keys:rk("jSHqR");}),rD("h6Tco",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rD("jSHqR",function(e,t){var r=rk("8uHBt"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rD("4P0KV",function(e,t){var r=rk("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;};}),rD("lQbJp",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rD("ffXEK",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rD("4SFhS",function(e,t){var r,n,i,o,s,a,l,c=rk("eXmen"),u=rk("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;}),rD("eXmen",function(e,t){var r=rk("eAnMX"),n=rk("bDk1X"),i=rk("6XGJc"),o=rk("3a7Qq"),s=rk("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;};}),rD("eAnMX",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rD("bDk1X",function(e,t){var r=rk("lrn5l"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rD("lrn5l",function(e,t){var r=rk("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);};}),rD("89yT1",function(e,t){var r=rk("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;}};}),rD("dZcwn",function(e,t){var r=rk("eAnMX"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rD("6XGJc",function(e,t){e.exports=rk("63IW4")()?Object.assign:rk("11hhf");}),rD("3a7Qq",function(e,t){var r=rk("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;};}),rD("iiFLO",function(e,t){e.exports=rk("lQbJp")()?String.prototype.contains:rk("ffXEK");}),rD("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]);};}),rD("hQqTa",function(e,t){var r=rk("hXtQe").iterator,n=rk("iAtFO"),i=rk("lTrIc"),o=rk("6u4nl"),s=rk("dxkoV"),a=rk("gGM7W"),l=rk("8uHBt"),c=rk("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;};}),rD("hXtQe",function(e,t){e.exports=rk("asjyI")()?rk("kld7H").Symbol:rk("8ZJMO");}),rD("asjyI",function(e,t){var r=rk("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]);};}),rD("kld7H",function(e,t){e.exports=rk("gOf4U")()?globalThis:rk("atP66");}),rD("gOf4U",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rD("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__;}}();}),rD("8ZJMO",function(e,t){var r,n,i,o=rk("eXmen"),s=rk("93JRo"),a=rk("kld7H").Symbol,l=rk("7pvFa"),c=rk("5aDJl"),u=rk("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]));}),rD("93JRo",function(e,t){var r=rk("8cqlP");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rD("8cqlP",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rD("7pvFa",function(e,t){var r=rk("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;};}),rD("5aDJl",function(e,t){var r=rk("eXmen"),n=rk("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"))});};}),rD("kuJ4U",function(e,t){var r=rk("eXmen"),n=rk("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;})});};}),rD("iAtFO",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rD("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));};}),rD("6u4nl",function(e,t){var r=rk("bq2jW"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rD("bq2jW",function(e,t){var r=rk("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;};}),rD("3lVkV",function(e,t){e.exports=rk("8tETt")()?Math.sign:rk("hGADy");}),rD("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;};}),rD("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;};}),rD("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"";};};}),rD("1DZyI",function(e,t){var r=rk("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;};}),rD("hrboG",function(e,t){e.exports=rk("iT9FP")()?Number.isNaN:rk("z7ebn");}),rD("iT9FP",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rD("z7ebn",function(e,t){e.exports=function(e){return e!=e;};}),rD("loqvW",function(e,t){var r=rk("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=[];}};};}),rD("f097S",function(e,t){var r=rk("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);});};}),rD("aRFop",function(e,t){var r=rk("bEnef");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rD("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;}),rD("1EtHk",function(e,t){var r=rk("dxkoV"),n=rk("5RsFi"),i=rk("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);});});};}),rD("6VQvb",function(e,t){var r=rk("8Vysl"),n=rk("5RsFi"),i=rk("hRqDS"),o=rk("8worn"),s=rk("jWpXq"),a=rk("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={});}));};}),rD("jWpXq",function(e,t){var r=rk("6u4nl"),n=rk("3yRn0");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rD("3yRn0",function(e,t){e.exports=2147483647;}),rD("jT7Ur",function(e,t){var r=rk("6u4nl"),n=rk("kzv77"),i=rk("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));};}),rD("kzv77",function(e,t){var r=rk("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;}};};}),rD("6ZksK",function(e,t){var r=rk("eXmen"),n=rk("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;})});};}),rD("dOmbL",function(e,t){async function r(e){try{return await(0,rv.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rD("awj79",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rD("fXZh0",function(e,t){var r=iX.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);}),rD("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=rk("ggaxg"),i=rk("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};}),rD("ggaxg",function(e,t){e.exports=rk("fXZh0");}),rD("crMMK",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rD("jrMr3",function(e,t){var r=rk("6UUXQ"),n=rk("4ojkK"),i=rk("lbpWb"),o=rk("5Kc3o"),s=rk("3uxBW"),a=rk("cdjlt"),l=rk("edMUL"),c=rk("4QHs5"),u=rk("b7ZNe"),p=rk("3tcGr"),f=rk("29YTh"),d=rk("5HQiF"),h=rk("eKr8E"),m=rk("5tbf8"),v=rk("k02ZJ"),g=rk("jSJWo"),y=rk("3tYTc"),E=rk("lXqm9"),w=rk("7opda"),_=rk("e12Rv"),b=rk("hb18N"),x=rk("hcLkw"),R=rk("8qYh8"),O=rk("1MItZ"),S=rk("ekDr6"),I=rk("dnnKg"),T=rk("4F3T1"),P=rk("6K3XU"),N=rk("ggJh3"),A=rk("fta4V"),$=rk("9xXeH"),C=rk("8CAg3"),L=rk("cigJ0"),k=rk("5uMTr"),D=rk("jlFkD"),j=rk("bCYTf"),U=rk("jXojG"),F=rk("gpcZS"),M=rk("1U8CF"),G=rk("cilv0"),B=rk("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:N,satisfies:A,toComparators:$,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};}),rD("6UUXQ",function(e,t){var r=rk("4ojkK"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rk("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*$");}),rD("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};}),rD("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;}),rD("lbpWb",function(e,t){var r=rk("eCCPy"),n=rk("4ojkK"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rk("6UUXQ"),a=s.safeRe,l=s.t,c=rk("fnN7l"),u=rk("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;}),rD("fnN7l",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rD("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)};}),rD("3uxBW",function(e,t){var r=rk("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;}};}),rD("cdjlt",function(e,t){var r=rk("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rD("edMUL",function(e,t){var r=rk("3uxBW");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rD("4QHs5",function(e,t){var r=rk("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;}};}),rD("b7ZNe",function(e,t){var r=rk("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";};}),rD("3tcGr",function(e,t){var r=rk("lbpWb");e.exports=(e,t)=>new r(e,t).major;}),rD("29YTh",function(e,t){var r=rk("lbpWb");e.exports=(e,t)=>new r(e,t).minor;}),rD("5HQiF",function(e,t){var r=rk("lbpWb");e.exports=(e,t)=>new r(e,t).patch;}),rD("eKr8E",function(e,t){var r=rk("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rD("5tbf8",function(e,t){var r=rk("lbpWb");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rD("k02ZJ",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>r(t,e,n);}),rD("jSJWo",function(e,t){var r=rk("5tbf8");e.exports=(e,t)=>r(e,t,!0);}),rD("3tYTc",function(e,t){var r=rk("lbpWb");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rD("lXqm9",function(e,t){var r=rk("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rD("7opda",function(e,t){var r=rk("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rD("e12Rv",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>0;}),rD("hb18N",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0>r(e,t,n);}),rD("hcLkw",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0===r(e,t,n);}),rD("8qYh8",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0!==r(e,t,n);}),rD("1MItZ",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rD("ekDr6",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0>=r(e,t,n);}),rD("dnnKg",function(e,t){var r=rk("hcLkw"),n=rk("8qYh8"),i=rk("e12Rv"),o=rk("1MItZ"),s=rk("hb18N"),a=rk("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);}};}),rD("4F3T1",function(e,t){var r=rk("lbpWb"),n=rk("3uxBW"),i=rk("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);};}),rD("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=rk("fnN7l"),o=rk("6UUXQ"),s=o.safeRe,a=o.t,l=rk("dnnKg"),c=rk("eCCPy"),u=rk("lbpWb"),p=rk("ggJh3");}),rD("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,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=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],"")),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;};}),rD("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;}};}),rD("fta4V",function(e,t){var r=rk("ggJh3");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rD("9xXeH",function(e,t){var r=rk("ggJh3");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rD("8CAg3",function(e,t){var r=rk("lbpWb"),n=rk("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;};}),rD("cigJ0",function(e,t){var r=rk("lbpWb"),n=rk("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;};}),rD("5uMTr",function(e,t){var r=rk("lbpWb"),n=rk("ggJh3"),i=rk("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;};}),rD("jlFkD",function(e,t){var r=rk("ggJh3");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rD("bCYTf",function(e,t){var r=rk("lbpWb"),n=rk("6K3XU");let{ANY:i}=n;var o=rk("ggJh3"),s=rk("fta4V"),a=rk("e12Rv"),l=rk("hb18N"),c=rk("ekDr6"),u=rk("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;};}),rD("jXojG",function(e,t){var r=rk("bCYTf");e.exports=(e,t,n)=>r(e,t,">",n);}),rD("gpcZS",function(e,t){var r=rk("bCYTf");e.exports=(e,t,n)=>r(e,t,"<",n);}),rD("1U8CF",function(e,t){var r=rk("ggJh3");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rD("cilv0",function(e,t){var r=rk("fta4V"),n=rk("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;};}),rD("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,iX.basename)(e):(0,iX.basename)(e,(0,iX.extname)(e));}function w(e){return(0,iX.normalize)(e).replace(RegExp((0,r.default)(iX.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iX.extname)(e),n=`${t}${(0,iX.basename)(e,r)}${r}`;return(0,iX.join)((0,iX.dirname)(e),n);}function x(e,t){let r=(0,iX.extname)(e),n=`${(0,iX.basename)(e,r)}${t}${r}`;return(0,iX.join)((0,iX.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,iX.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iX.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iX.sep)||r===(0,iX.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>R),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>iX.dirname),l(e.exports,"join",()=>iX.join),r=rk("9ag04"),n=rk("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);}),rD("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);}),rD("923E2",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iX.basename(e,iX.extname(e))+t,i=iX.join(iX.dirname(e),n);return(r=e.slice(0,2))==="."+iX.sep||"./"===r?"."+iX.sep+i:i;};}),rD("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*(){rh.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(iX),p=i(rk("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;}),rD("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(iz),c=i(iX);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";};}),rD("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(rk("aNgTs"));s=rk("9yJgU"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iV.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=iV.platform(),r="";if("darwin"===t)r=rg.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 iz.existsSync(e)?r=iz.readFileSync(e).toString():iz.existsSync(t)&&(r=iz.readFileSync(t).toString()),r;};}),rD("aNgTs",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>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={},N=0,$=[["\\s",1],["\\d",x],[A="[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-]"+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"),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,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);};}),rD("dGCqI",function(e,t){var r=rk("fVQSr"),n=rk("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);};}),rD("fVQSr",function(e,t){e.exports=function(){return iW.randomBytes(16);};}),rD("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("");};}),rD("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(rk("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 ry.StringDecoder("utf8"),c=new ry.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};});};}),rD("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(iV),a=i(rd),l=i(rg),c=i(iX),u=i(rk("fcBgE")),p=i(rk("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=rE.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();}}}}),rD("8Rlq7",function(e,t){e.exports=Promise.resolve(require("./actions_python.60e051e1.js")).then(()=>rk("4kQHk"));}),rD("g7Ve0",function(e,t){e.exports=Promise.resolve(require("./hdi.647acde1.js")).then(()=>rk("4YYb2"));}),rj=rk("9ne19"),rU=rk("ER74K"),rF=rk("9yJgU"),rj=rk("9ne19"),rU=rk("ER74K"),rM={},rG={},rB={},rH={};const iJ="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iQ=iJ?";":":";rq={},"win32"===process.platform||r$.TESTING_WINDOWS?rV=rk("a3PNV"):rV=rk("7gw6J"),rq=u,u.sync=function(e,t){try{return rV.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iZ=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i0=(e,t)=>{let r=t.colon||iQ,n=e.match(/\//)||iJ&&e.match(/\\/)?[""]:[...(iJ?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iJ?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iJ?i.split(r):[""];return iJ&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i1=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i0(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iZ(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iX.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];rq(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);};rH=i1,i1.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i0(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";};(rX=i2).default=i2,rB=function(e){return p(e)||p(e,!0);};rz=function(e){return e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1");},rW=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;},rK={},rY={},rJ={},rJ=/^#!(.*)/,rY=(e="")=>{let t=e.match(rJ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rK=function(e){let t;let r=Buffer.alloc(150);try{t=iz.openSync(e,"r"),iz.readSync(t,r,0,150,0),iz.closeSync(t);}catch(e){}return rY(r.toString());};const i4="win32"===process.platform;rG=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(!i4)return e;let t=function(e){e.file=rB(e);let t=e.file&&rK(e.file);return t?(e.args.unshift(e.file),e.command=t,rB(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=iX.normalize(e.command),e.command=rz(e.command),e.args=e.args.map(e=>rW(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);},rQ={};const i3="win32"===process.platform;rQ={hookChildProcess:function(e,t){if(!i3)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 i3&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rM=h).spawn=h,rM.sync=function(e,t,r){let n=rG(e,t,r),i=rg.spawnSync(n.command,n.args,n.options);return i.error=i.error||rQ.verifyENOENTSync(i.status,n),i;},rM._parse=rG,rM._enoent=rQ;const i6=({cwd:e=c(rx).cwd(),path:t=c(rx).env[m()],preferLocal:r=!0,execPath:n=c(rx).execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?(0,rR.fileURLToPath)(e):e,s=c(r_).resolve(o),a=[];return r&&i8(a,s),i&&i7(a,n,s),[...a,t].join(c(r_).delimiter);},i8=(e,t)=>{let r;for(;r!==t;)e.push(c(r_).join(t,"node_modules/.bin")),r=t,t=c(r_).resolve(t,"..");},i7=(e,t,r)=>{let n=t instanceof URL?(0,rR.fileURLToPath)(t):t;e.push(c(r_).resolve(r,n,".."));},i5=({env:e=c(rx).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i6(t),e;},i9=(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);(oe(i,o)||!n)&&Object.defineProperty(e,r,o);},oe=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);},ot=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},or=(e,t)=>`/* Wrapped ${e}*/ -${t}`,on=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oi=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),oo=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=or.bind(null,n,t.toString());Object.defineProperty(i,"name",oi),Object.defineProperty(e,"toString",{...on,value:i});},os=new WeakMap(),oa=(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(os.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))i9(e,t,n,r);ot(e,t),oo(e,t,n);}(o,e),os.set(o,n),o;};oa.callCount=e=>{if(!os.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return os.get(e);},rZ=oa;const ol=()=>Array.from({length:op-ou+1},oc),oc=(e,t)=>({name:"SIGRT"+(t+1),number:ou+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),ou=34,op=64,of=[{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"}],od=()=>[...of,...ol()].map(oh),oh=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rO.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},om=Object.fromEntries(od().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}])),ov=(e,t)=>{let r=og(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}};},og=(e,t)=>{let r=t.find(({name:t})=>rO.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=od();return Object.assign({},...Array.from({length:op+1},(t,r)=>ov(r,e)));})();const oy=({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",oE=({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(rx).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:om[i].description,m=oy({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;},ow=["stdin","stdout","stderr"],o_=e=>ow.some(t=>void 0!==e[t]),ob=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return ow.map(t=>e[t]);if(o_(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ow.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,ow.length)},(e,r)=>t[r]);};r0={};const ox=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(ox(r1=r$.process)){var oR,oO=rh,oS=rk("1YMV0"),oI=/^win/i.test(r1.platform),oT=rd;"function"!=typeof oT&&(oT=oT.EventEmitter),r1.__signal_exit_emitter__?oR=r1.__signal_exit_emitter__:((oR=r1.__signal_exit_emitter__=new oT()).count=0,oR.emitted={}),oR.infinite||(oR.setMaxListeners(1/0),oR.infinite=!0);var oP=function(){o$&&ox(r$.process)&&(o$=!1,oS.forEach(function(e){try{r1.removeListener(e,oA[e]);}catch(e){}}),r1.emit=oD,r1.reallyExit=oL,oR.count-=1);};(r0=function(e,t){if(!ox(r$.process))return function(){};oO.equal(typeof e,"function","a callback must be provided for exit handler"),!1===o$&&oC();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oR.on(r,e),function(){oR.removeListener(r,e),0===oR.listeners("exit").length&&0===oR.listeners("afterexit").length&&oP();};}).unload=oP;var oN=function(e,t,r){oR.emitted[e]||(oR.emitted[e]=!0,oR.emit(e,t,r));},oA={};oS.forEach(function(e){oA[e]=function(){ox(r$.process)&&r1.listeners(e).length===oR.count&&(oP(),oN("exit",null,e),oN("afterexit",null,e),oI&&"SIGHUP"===e&&(e="SIGINT"),r1.kill(r1.pid,e));};}),r0.signals=function(){return oS;};var o$=!1,oC=function(){!o$&&ox(r$.process)&&(o$=!0,oR.count+=1,oS=oS.filter(function(e){try{return r1.on(e,oA[e]),!0;}catch(e){return!1;}}),r1.emit=oj,r1.reallyExit=ok);};r0.load=oC;var oL=r1.reallyExit,ok=function(e){ox(r$.process)&&(r1.exitCode=e||0,oN("exit",r1.exitCode,null),oN("afterexit",r1.exitCode,null),oL.call(r1,r1.exitCode));},oD=r1.emit,oj=function(e,t){if(!("exit"===e&&ox(r$.process)))return oD.apply(this,arguments);void 0!==t&&(r1.exitCode=t);var r=oD.apply(this,arguments);return oN("exit",r1.exitCode,null),oN("afterexit",r1.exitCode,null),r;};}else r0=function(){return function(){};};const oU=(e,t="SIGTERM",r={})=>{let n=e(t);return oF(e,t,r,n),n;},oF=(e,t,r,n)=>{if(!oM(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oB(r));i.unref&&i.unref();},oM=(e,{forceKillAfterTimeout:t},r)=>oG(e)&&!1!==t&&r,oG=e=>e===c(rO).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oB=({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;},oH=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oq=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oV=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oq(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oX=({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})`);},oz=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r0)(()=>{e.kill();});return n.finally(()=>{i();});},oW=e=>e instanceof rb.ChildProcess&&"function"==typeof e.then,oK=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rv.createWriteStream)(r)),e;if(g(r))return e[t].pipe(r),e;if(!oW(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;},oY=e=>{null!==e.stdout&&(e.pipeStdout=oK.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oK.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oK.bind(void 0,e,"all"));};r2={},r4=rS.constants,r3=rm.promisify,r6={},r8=rI.PassThrough,r6=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 r8({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 oJ=r3(rI.pipeline);class oQ extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r2=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r2.array=(e,t)=>y(e,{...t,array:!0}),r2.MaxBufferError=oQ,r7={},r5=rI.PassThrough,r7=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 r5({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 oZ=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o0=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,rv.readFileSync)(t)),o1=e=>{let t=o0(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o2=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,rv.createReadStream)(t)),o4=(e,t)=>{let r=o2(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o3=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r7)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o6=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o8=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r2)(e,{encoding:t,maxBuffer:n}):c(r2).buffer(e,{maxBuffer:n});},o7=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o8(e,{encoding:n,buffer:i,maxBuffer:o}),l=o8(t,{encoding:n,buffer:i,maxBuffer:o}),c=o8(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},o6(e,a),o6(t,l),o6(r,c)]);}},o5=(async()=>{})().constructor.prototype,o9=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o5,e)]),se=(e,t)=>{for(let[r,n]of o9){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},st=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);});}),sr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],sn=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,si=(e,t)=>sr(e,t).join(" "),so=(e,t)=>sr(e,t).map(e=>sn(e)).join(" "),ss=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;},sa=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rb.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rw.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sl=(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)],sc=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=sl(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sl(s,Array.isArray(a)?a.map(e=>sa(e)):[sa(a)],o.endsWith(" "));},su=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sc({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sp=(0,rT.debuglog)("execa").enabled,sf=(e,t)=>(e+"").padStart(t,"0"),sd=()=>{let e=new Date();return`${sf(e.getHours(),2)}:${sf(e.getMinutes(),2)}:${sf(e.getSeconds(),2)}.${sf(e.getMilliseconds(),3)}`;},sh=(e,{verbose:t})=>{t&&c(rx).stderr.write(`[${sd()}] ${e} -`);},sm=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rx).env,...e}:e;return r?i5({env:o,cwd:n,execPath:i}):o;},sv=(e,t,r={})=>{let n=c(rM)._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(rx).cwd(),execPath:c(rx).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sp,...r}).env=sm(r),r.stdio=ob(r),"win32"===c(rx).platform&&"cmd"===c(r_).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sg=(e,t,r)=>"string"==typeof t||(0,rw.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:"",sy=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sE=(e={})=>({preferLocal:!0,...sy(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=su(n,i);return E(o,s,sE(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]=su(e,r);return w(n,i,sE(t));},r;}(),r9={},l(ne={},"isexe",()=>sw),l(ne,"sync",()=>s_),nt=rk("4oHc1");const sw=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sb(await(0,nt.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},s_=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sb((0,iz.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sb=(e,t)=>e.isFile()&&sx(e,t),sx=(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(nr={},"isexe",()=>sR),l(nr,"sync",()=>sO),nt=rk("4oHc1");const sR=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sI(await(0,nt.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sO=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sI((0,iz.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sS=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sS(t,r),sT="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?nr:ne,sP=sT.isexe,sN=sT.sync;nn=iX.join,ni=iX.delimiter,no=iX.sep,ns=iX.posix;const sA="win32"===process.platform,s$=new RegExp(`[${ns.sep}${no===ns.sep?"":no}]`.replace(/(\\)/g,"\\$1")),sC=RegExp("^\\."+s$.source),sL=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sk=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=ni})=>{let i=e.match(s$)?[""]:[...(sA?[process.cwd()]:[]),...(t||"").split(n)];if(sA){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:[""]};},sD=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sC.test(t)?t.slice(0,2):"")+nn(r,t);},sj=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sk(e,t),o=[];for(let s of r){let r=sD(s,e);for(let e of n){let n=r+e;if(await sP(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 sL(e);};r9=sj,sj.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sk(e,t),o=[];for(let s of r){let r=sD(s,e);for(let e of n){let n=r+e;if(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 sL(e);};const sU={stdio:"inherit",shell:!0};rU=rk("ER74K"),na={},nl=rk("3a7Qq"),nc={},nu=rk("6u4nl"),nc=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&nu(e);},np={},nf=rk("dxkoV"),nd=rk("5RsFi"),nh=rk("5twQR"),nm={},nv={},ng=rk("6XGJc"),ny={},nE=rk("8uHBt"),nw={function:!0,object:!0},ny=function(e){return nE(e)&&nw[typeof e]||!1;},nE=rk("8uHBt"),n_=Error.captureStackTrace,nv=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nE(n)&&ny(r)&&(n=r,r=null),nE(n)&&ng(t,n),nE(r)&&(t.code=r),n_&&n_(t,nv),t;},nb=rk("bP3iK"),nx=rk("eXmen"),nR=rk("4SFhS").methods,nO={},nS={},nI=rk("8Vysl"),nT=Array.isArray,nS=function(e){return nT(e)?e:nI(e);},nE=rk("8uHBt"),nf=rk("dxkoV"),nP=Array.prototype.slice,nN=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(nP.call(e,this.length));},nO=function(e){return(e=nS(e)).forEach(function(e){nE(e)&&nf(e);}),nN.bind(e);},nA={},nf=rk("dxkoV"),nA=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nf(e.get)},void 0!==e.set)?(t.set=nf(e.set),e.delete&&(t.delete=nf(e.delete)),e.clear&&(t.clear=nf(e.clear))):t.set=t.get,t);},n$=Function.prototype.apply,nC=Function.prototype.call,nL=Object.create,nk=Object.defineProperties,nD=nR.on,nj=nR.emit,nm=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nL(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=nA(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nO(r.resolvers)),v=o?nb(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?nC.call(e,this,a[0]):n$.call(e,this,a),null===r){if(null!==(r=o(a)))throw nv("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw nv("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?n$.call(e,this,arguments):nC.call(e,this),hasOwnProperty.call(y,"data"))throw nv("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?nC.call(e,this,o[0]):n$.call(e,this,o),hasOwnProperty.call(y,i))throw nv("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=nL(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nD.call(this,e,t);},emit:nj,updateEnv:function(){e=n.original;}},c=o?nb(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=nb(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nb(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));}),nk(v,{__memoized__:nx(!0),delete:nx(c),clear:nx(n.clear),_get:nx(u),_has:nx(p)}),n;},np=function e(t){var r,n,i;if(nf(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=nc(r.length,t.length,r.async&&nh.async),i=nm(t,n,r),nd(nh,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},na=function(e){var t,r=nl(arguments[1]);return!r.normalizer&&0!==(t=r.length=nc(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rk("7o7h2"):t>1&&(r.normalizer=rk("jdXxe")(t)):!1===t?r.normalizer=rk("1DZyI")():1===t?r.normalizer=rk("loqvW")():r.normalizer=rk("f097S")(t)),r.async&&rk("7PnxH"),r.promise&&rk("fCNrK"),r.dispose&&rk("1EtHk"),r.maxAge&&rk("6VQvb"),r.max&&rk("jT7Ur"),r.refCounter&&rk("6ZksK"),np(e,r);},nU=rk("dOmbL");const sF=/^~(?=$|\/|\\)/,{appendFile:sM,readFile:sG,writeFile:sB}=iz.promises,sH=T("~/.bashrc"),sq=c(na)(P,{promise:!0});nF={};const sV="win32"!==iV.platform(),sX=iV.release(),sz=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nF=function(e){return sV?e.replace(/(\s+)/g,"\\$1"):sz(.../(\d+\.\d+)\.(\d+)/.exec(sX).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rk("awj79"),t=function(e){return e.split("").reverse().join("");},nM=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(nM={});const{appendFile:sW}=iz.promises;rF=rk("9yJgU"),rj=rk("9ne19"),rU=rk("ER74K");const{appendFile:sK}=iz.promises,sY=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nG=rk("ggaxg"),function(){rk("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(nB={}),nH={},nH=rk("elyHp"),nq={},nq={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"}}}},rU=rk("ER74K"),nV={},nX=rk("jrMr3"),nz=rP.env.npm_package_json,nK=!!((nW=rP.env.npm_config_user_agent)&&nW.startsWith("npm")),nY=!!(nz&&nz.endsWith("package.json")),nJ=nK||nY,nQ=!!(nW&&nW.startsWith("yarn")),nZ=nJ||nQ,n0=iV.homedir(),n1=process.env.XDG_CONFIG_HOME||iX.join(n0,".config","simple-update-notifier"),n2=function(e){return iX.join(n1,"".concat(e.replace("@","").replace("/","__"),".json"));},n4=function(){iz.existsSync(n1)||iz.mkdirSync(n1,{recursive:!0});},n3=function(e){var t=n2(e);try{if(!iz.existsSync(t))return;return JSON.parse(iz.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n6=function(e){var t=n2(e);iz.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n8=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){iY.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);});})];});});},n7=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(n4(),e=n3(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 rN.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=ii.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 iI(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class af extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}im.HTTPError=af;const ad="win32"===process.platform,ah="darwin"===process.platform;im.downloadTool=function(e,t,r,n){return iw(this,void 0,void 0,function*(){t=t||ao.join(eN(),au.default()),yield at.mkdirP(ao.dirname(t)),ae.debug("Downloading "+e),ae.debug("Destination "+t);let i=eA("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eA("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new ix.RetryHelper(3,i,o);return yield s.execute(()=>iw(this,void 0,void 0,function*(){return yield function(e,t,r,n){return iw(this,void 0,void 0,function*(){if(ar.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new as.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(ae.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 af(o.message.statusCode);throw ae.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=ac.promisify(al.pipeline),a=eA("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,ar.createWriteStream(t)),ae.debug("download complete"),l=!0,t;}finally{if(!l){ae.debug("download failed");try{yield at.rmRF(t);}catch(e){ae.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof af)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},im.extract7z=function(e,t,r){return iw(this,void 0,void 0,function*(){rh.ok(ad,"extract7z() not supported on current OS"),rh.ok(e,'parameter "file" is required'),t=yield eR(t);let n=process.cwd();if(process.chdir(t),r)try{let t=ae.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield ib.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=ao.join(iv,"..","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 at.which("powershell",!0);yield ib.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},im.extractTar=function(e,t,r="xz"){return iw(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eR(t),ae.debug("Checking tar --version");let i="";yield ib.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),ae.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],ae.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ad&&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 ib.exec("tar",n),t;});},im.extractXar=function(e,t,r=[]){return iw(this,void 0,void 0,function*(){let n;rh.ok(ah,"extractXar() not supported on current OS"),rh.ok(e,'parameter "file" is required'),t=yield eR(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),ae.isDebug()&&n.push("-v");let i=yield at.which("xar",!0);return yield ib.exec(`"${i}"`,Array.from(new Set(n))),t;});},im.extractZip=function(e,t){return iw(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eR(t),ad?yield function(e,t){return iw(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 at.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 $_ } } ;`;ae.debug("Using pwsh at path: "+i),yield ib.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 at.which("powershell",!0);ae.debug("Using powershell at path: "+t),yield ib.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return iw(this,void 0,void 0,function*(){let r=yield at.which("unzip",!0),n=[e];ae.isDebug()||n.unshift("-q"),n.unshift("-o"),yield ib.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},im.cacheDir=function(e,t,r,n){return iw(this,void 0,void 0,function*(){if(r=aa.clean(r)||r,n=n||ai.arch(),ae.debug(`Caching tool ${t} ${r} ${n}`),ae.debug("source dir: "+e),!ar.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eO(t,r,n);for(let t of ar.readdirSync(e)){let r=ao.join(e,t);yield at.cp(r,i,{recursive:!0});}return eS(t,r,n),i;});},im.cacheFile=function(e,t,r,n,i){return iw(this,void 0,void 0,function*(){if(n=aa.clean(n)||n,i=i||ai.arch(),ae.debug(`Caching tool ${r} ${n} ${i}`),ae.debug("source file: "+e),!ar.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eO(r,n,i),s=ao.join(o,t);return ae.debug("destination file "+s),yield at.cp(e,s),eS(r,n,i),o;});},im.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||ai.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=aa.clean(t)||"";let i=ao.join(eP(),e,t,r);ae.debug("checking cache: "+i),ar.existsSync(i)&&ar.existsSync(`${i}.complete`)?(ae.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):ae.debug("not found");}return n;},im.findAllVersions=ex,im.getManifestFromRepo=function(e,t,r,n="master"){return iw(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new as.HttpClient("tool-cache"),a={};r&&(ae.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){ae.debug("Invalid json");}}return i;});},im.findFromManifest=function(e,t,r,n=ai.arch()){return iw(this,void 0,void 0,function*(){return yield an._findMatch(e,t,r,n);});},im.isExplicitVersion=eI,im.evaluateVersions=eT,rj=rk("9ne19"),rU=rk("ER74K"),nt=rk("4oHc1"),nU=rk("dOmbL"),ip=rk("ceI0e"),Object.defineProperty(iT={},"__esModule",{value:!0}),iT.retryAsPromised=iT.TimeoutError=void 0;class am extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iT.TimeoutError=am,iT.retryAsPromised=e$,iT.default=e$,iP=rk("fcBgE"),rU=rk("ER74K"),(ru=iN||(iN={}))[ru.Tar=0]="Tar",ru[ru.TarGz=1]="TarGz",ru[ru.TarXz=2]="TarXz",ru[ru.Zip=3]="Zip",ru[ru.SevenZip=4]="SevenZip",rF=rk("9yJgU");const av=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||iz.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||iz.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||iz.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iz.mkdirSync,t;},ag=(e,t,r)=>{let n=(0,iX.dirname)(e),i={...av(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 ag(e,i,ag(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;}}},ay=Object.assign(async(e,t,r)=>{let n=av(t);n.recursive=!1;let i=(0,iX.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 ay(i,n).then(t=>ay(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:ag}),aE=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?aE(e,(0,iX.dirname)(t),t):void 0);},aw=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?aw(e,(0,iX.dirname)(t),t):void 0;}},a_=(e,t)=>{let r=av(t);if(r.recursive=!0,(0,iX.dirname)(e)===e)return r.mkdirSync(e,r);let n=aw(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return ag(e,r);throw t;}},ab=Object.assign(async(e,t)=>{let r={...av(t),recursive:!0};return(0,iX.dirname)(e)===e?await r.mkdirAsync(e,r):aE(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return ay(e,r);throw t;}));},{sync:a_}),ax=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aR=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,iX.resolve)(e),"win32"===ax){let{root:t}=(0,iX.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aO=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aS=+aO[0]>10||10==+aO[0]&&+aO[1]>=12,aI=aS?e=>av(e).mkdirSync===iz.mkdirSync:()=>!1,aT=Object.assign(aS?e=>av(e).mkdir===iz.mkdir:()=>!1,{sync:aI}),aP=(e,t)=>{e=aR(e);let r=av(t);return aI(r)?a_(e,r):ag(e,r);},aN=Object.assign(async(e,t)=>{e=aR(e);let r=av(t);return aT(r)?ab(e,r):ay(e,r);},{mkdirpSync:aP,mkdirpNative:ab,mkdirpNativeSync:a_,mkdirpManual:ay,mkdirpManualSync:ag,sync:aP,native:ab,nativeSync:a_,manual:ay,manualSync:ag,useNative:aT,useNativeSync:aI});nU=rk("dOmbL"),ip=rk("ceI0e"),ib=rk("jlr6Q"),rj=rk("9ne19"),rU=rk("ER74K"),nt=rk("4oHc1"),nU=rk("dOmbL"),ip=rk("ceI0e"),ib=rk("jlr6Q"),rU=rk("ER74K"),iA=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rN.URL(t),!0;}catch{return!1;}},i$=async e=>{if(!iA(e))return!1;let t=await ez(e,"HEAD");return!!t||!!(t=await ez(e,"GET"));},id=rk("4F3T1"),iC=rk("5tbf8"),iL=rk("cdjlt");const aA=/v?(\d\S*)/,a$={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:eh()?"13.2.1-3":"13",powershell:"7.4.5"},aC={pip:"22.2.0",python:"3.7.9"},aL={gcc:{24:"13",22:"13",20:"11",18:"11",16:"11",14:"11"},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"}},ak=c(na)(tt,{promise:!0});rU=rk("ER74K"),Object.defineProperty(ik={},"__esModule",{value:!0}),ik.getUbuntuVersion=void 0,ik.getUbuntuVersion=ti;const aD=c(na)(to,{promise:!0}),aj=c(na)(tu,{promise:!0}),aU=c(na)(tp,{promise:!0}),aF=c(na)(tf,{promise:!0});rU=rk("ER74K"),ip=rk("ceI0e"),nU=rk("dOmbL");const aM=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"]]]),aG=c(na)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rO).release()).split(".")[0];let[t,r]=aM.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rj=rk("9ne19"),rU=rk("ER74K"),nU=rk("dOmbL"),ip=rk("ceI0e"),id=rk("4F3T1"),iD=rk("3tcGr"),ib=rk("jlr6Q"),rU=rk("ER74K"),ij=iX.resolve(__dirname,"../../src/gcc");const aB={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};iD=rk("3tcGr"),iL=rk("cdjlt"),rU=rk("ER74K"),ip=rk("ceI0e"),ip=rk("ceI0e"),iU=iX.resolve(__dirname,"../../src/kcov"),rj=rk("9ne19"),rU=rk("ER74K"),nU=rk("dOmbL"),ip=rk("ceI0e"),nt=rk("4oHc1"),rF=rk("9yJgU"),rU=rk("ER74K");class aH extends Error{constructor(e){super(e),this.name="TimeoutError";}}class aq extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aV=e=>void 0===globalThis.DOMException?new aq(e):new DOMException(e),aX=e=>{let t=void 0===e.reason?aV("This operation was aborted."):e.reason;return t instanceof Error?t:aV(t);};ip=rk("ceI0e"),rU=rk("ER74K"),rF=rk("9yJgU");const az=rP.env["ProgramFiles(x86)"],aW=[rP.env["ProgramFiles(x86)"],rP.env.ProgramFiles],aK=["Enterprise","Professional","Community","BuildTools"],aY=["2022","2019","2017"],aJ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iF=tU;const aQ=`${az}\\Microsoft Visual Studio\\Installer`;iM=tF,iG=function(e,t,r,n,i,o){if("win32"!=rP.platform){rF.info("This is not a Windows virtual environment, bye!");return;}rP.env.PATH+=iX.delimiter+aQ;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=`"${tF(o)}" ${a.join(" ")}`;rF.debug("vcvars command-line: "+l);let c=rg.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(rF.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rF.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(";")),rF.exportVariable(t,r));}rF.endGroup(),rF.info("Configured Developer Command Prompt");},nU=rk("dOmbL");const aZ=12e5;(rp=iB||(iB={}))[rp.All=0]="All",rp[rp.ClangFormat=1]="ClangFormat",rp[rp.Core=2]="Core",rU=rk("ER74K"),ip=rk("ceI0e"),ih=rk("ekDr6");const a0=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"]),a1=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),a2=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"]),a4=new Map(),a3={"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"},a6="18.1.8";iH=iX.resolve(__dirname,"../../src/llvm");const a8=c(na)(tQ,{promise:!0}),a7=c(na)(t0,{promise:!0}),a5=c(na)(t1,{promise:!0});rj=rk("9ne19"),ip=rk("ceI0e"),rU=rk("ER74K"),nU=rk("dOmbL"),iq=iX.resolve(__dirname,"../../src/msvc"),ip=rk("ceI0e"),rU=rk("ER74K"),ip=rk("ceI0e"),ip=rk("ceI0e"),rU=rk("ER74K"),nU=rk("dOmbL"),ip=rk("ceI0e");let a9=!1;const le={nala:t7,cmake:eX,ninja:t$,python:eZ,vcpkg:ri,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:t5,llvm:tJ,gcc:tS,choco:ev,brew:eu,powershell:rt,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 tZ(e,t,r);},clangformat:function(e,t,r){return tZ(e,t,r,iB.ClangFormat);},msvc:t6,vcvarsall:tM,kcov:tj,make:t3,task:function(e,t,r){return eG("task",e,rn,t,r);},sevenzip:eC},lt=Object.keys(le),lr=["compiler","architecture","timeout",...lt],ln={rcPath:T("~/.cpprc"),guard:"cpp"};rF=rk("9yJgU"),rU=rk("ER74K"),iL=rk("cdjlt"),rl(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rU.error)("main() panicked!"),(0,rU.error)(e),process.exitCode=1;}); + 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;}),rj("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(iY),f=i(iJ),d=i(rD("bBH88")),h=i(rD("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 rD("2LecT");}).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),{});}),rj("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;}}}),rj("eYDoL",function(e,t){e.exports=rD("gBbBa");}),rj("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||iY.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=rd.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=iY.request,t;},n=function(e){var t=new c(e);return t.request=iY.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iJ.request,t;},o=function(e){var t=new c(e);return t.request=iJ.request,t.createSocket=u,t.defaultPort=443,t;},rv.inherits(c,rh.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;}),rj("2LecT",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.52c85c82.js")).then(()=>rD("3z4gn"));}),rj("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");});}};}),rj("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}=iW.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,iW.constants.R_OK|iW.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(iX.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;}),rj("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(iz);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);};}),rj("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),iW.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}=iW.promises,I="rm"in iW.promises?iW.promises.rm:(0,rv.promisify)(iW.unlink);}),rj("7Ubzm",function(e,t){e.exports=function(){};}),rj("8tETt",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rj("hGADy",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rj("9KLFQ",function(e,t){var r=rD("dxkoV"),n=rD("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;});};};}),rj("dxkoV",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rj("gGM7W",function(e,t){var r=rD("8uHBt");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rj("8uHBt",function(e,t){var r=rD("7Ubzm")();e.exports=function(e){return e!==r&&null!==e;};}),rj("5twQR",function(e,t){}),rj("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");};}),rj("11hhf",function(e,t){var r=rD("4bgzK"),n=rD("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;};}),rj("4bgzK",function(e,t){e.exports=rD("h6Tco")()?Object.keys:rD("jSHqR");}),rj("h6Tco",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rj("jSHqR",function(e,t){var r=rD("8uHBt"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rj("4P0KV",function(e,t){var r=rD("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;};}),rj("lQbJp",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rj("ffXEK",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rj("4SFhS",function(e,t){var r,n,i,o,s,a,l,c=rD("eXmen"),u=rD("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;}),rj("eXmen",function(e,t){var r=rD("eAnMX"),n=rD("bDk1X"),i=rD("6XGJc"),o=rD("3a7Qq"),s=rD("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;};}),rj("eAnMX",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rj("bDk1X",function(e,t){var r=rD("lrn5l"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rj("lrn5l",function(e,t){var r=rD("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);};}),rj("89yT1",function(e,t){var r=rD("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;}};}),rj("dZcwn",function(e,t){var r=rD("eAnMX"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rj("6XGJc",function(e,t){e.exports=rD("63IW4")()?Object.assign:rD("11hhf");}),rj("3a7Qq",function(e,t){var r=rD("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;};}),rj("iiFLO",function(e,t){e.exports=rD("lQbJp")()?String.prototype.contains:rD("ffXEK");}),rj("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]);};}),rj("hQqTa",function(e,t){var r=rD("hXtQe").iterator,n=rD("iAtFO"),i=rD("lTrIc"),o=rD("6u4nl"),s=rD("dxkoV"),a=rD("gGM7W"),l=rD("8uHBt"),c=rD("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;};}),rj("hXtQe",function(e,t){e.exports=rD("asjyI")()?rD("kld7H").Symbol:rD("8ZJMO");}),rj("asjyI",function(e,t){var r=rD("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]);};}),rj("kld7H",function(e,t){e.exports=rD("gOf4U")()?globalThis:rD("atP66");}),rj("gOf4U",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rj("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__;}}();}),rj("8ZJMO",function(e,t){var r,n,i,o=rD("eXmen"),s=rD("93JRo"),a=rD("kld7H").Symbol,l=rD("7pvFa"),c=rD("5aDJl"),u=rD("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]));}),rj("93JRo",function(e,t){var r=rD("8cqlP");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rj("8cqlP",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rj("7pvFa",function(e,t){var r=rD("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;};}),rj("5aDJl",function(e,t){var r=rD("eXmen"),n=rD("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"))});};}),rj("kuJ4U",function(e,t){var r=rD("eXmen"),n=rD("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;})});};}),rj("iAtFO",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rj("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));};}),rj("6u4nl",function(e,t){var r=rD("bq2jW"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rj("bq2jW",function(e,t){var r=rD("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;};}),rj("3lVkV",function(e,t){e.exports=rD("8tETt")()?Math.sign:rD("hGADy");}),rj("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;};}),rj("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;};}),rj("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"";};};}),rj("1DZyI",function(e,t){var r=rD("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;};}),rj("hrboG",function(e,t){e.exports=rD("iT9FP")()?Number.isNaN:rD("z7ebn");}),rj("iT9FP",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rj("z7ebn",function(e,t){e.exports=function(e){return e!=e;};}),rj("loqvW",function(e,t){var r=rD("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=[];}};};}),rj("f097S",function(e,t){var r=rD("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);});};}),rj("aRFop",function(e,t){var r=rD("bEnef");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rj("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;}),rj("1EtHk",function(e,t){var r=rD("dxkoV"),n=rD("5RsFi"),i=rD("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);});});};}),rj("6VQvb",function(e,t){var r=rD("8Vysl"),n=rD("5RsFi"),i=rD("hRqDS"),o=rD("8worn"),s=rD("jWpXq"),a=rD("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={});}));};}),rj("jWpXq",function(e,t){var r=rD("6u4nl"),n=rD("3yRn0");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rj("3yRn0",function(e,t){e.exports=2147483647;}),rj("jT7Ur",function(e,t){var r=rD("6u4nl"),n=rD("kzv77"),i=rD("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));};}),rj("kzv77",function(e,t){var r=rD("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;}};};}),rj("6ZksK",function(e,t){var r=rD("eXmen"),n=rD("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;})});};}),rj("dOmbL",function(e,t){async function r(e){try{return await(0,rg.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rj("awj79",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rj("fXZh0",function(e,t){var r=iz.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);}),rj("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=rD("ggaxg"),i=rD("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};}),rj("ggaxg",function(e,t){e.exports=rD("fXZh0");}),rj("crMMK",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rj("jrMr3",function(e,t){var r=rD("6UUXQ"),n=rD("4ojkK"),i=rD("lbpWb"),o=rD("5Kc3o"),s=rD("3uxBW"),a=rD("cdjlt"),l=rD("edMUL"),c=rD("4QHs5"),u=rD("b7ZNe"),p=rD("3tcGr"),f=rD("29YTh"),d=rD("5HQiF"),h=rD("eKr8E"),m=rD("5tbf8"),v=rD("k02ZJ"),g=rD("jSJWo"),y=rD("3tYTc"),E=rD("lXqm9"),w=rD("7opda"),_=rD("e12Rv"),b=rD("hb18N"),x=rD("hcLkw"),R=rD("8qYh8"),O=rD("1MItZ"),S=rD("ekDr6"),I=rD("dnnKg"),T=rD("4F3T1"),P=rD("6K3XU"),N=rD("ggJh3"),A=rD("fta4V"),$=rD("9xXeH"),C=rD("8CAg3"),L=rD("cigJ0"),k=rD("5uMTr"),D=rD("jlFkD"),j=rD("bCYTf"),U=rD("jXojG"),F=rD("gpcZS"),M=rD("1U8CF"),G=rD("cilv0"),B=rD("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:N,satisfies:A,toComparators:$,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};}),rj("6UUXQ",function(e,t){var r=rD("4ojkK"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rD("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*$");}),rj("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};}),rj("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;}),rj("lbpWb",function(e,t){var r=rD("eCCPy"),n=rD("4ojkK"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rD("6UUXQ"),a=s.safeRe,l=s.t,c=rD("fnN7l"),u=rD("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;}),rj("fnN7l",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rj("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)};}),rj("3uxBW",function(e,t){var r=rD("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;}};}),rj("cdjlt",function(e,t){var r=rD("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rj("edMUL",function(e,t){var r=rD("3uxBW");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rj("4QHs5",function(e,t){var r=rD("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;}};}),rj("b7ZNe",function(e,t){var r=rD("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";};}),rj("3tcGr",function(e,t){var r=rD("lbpWb");e.exports=(e,t)=>new r(e,t).major;}),rj("29YTh",function(e,t){var r=rD("lbpWb");e.exports=(e,t)=>new r(e,t).minor;}),rj("5HQiF",function(e,t){var r=rD("lbpWb");e.exports=(e,t)=>new r(e,t).patch;}),rj("eKr8E",function(e,t){var r=rD("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rj("5tbf8",function(e,t){var r=rD("lbpWb");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rj("k02ZJ",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>r(t,e,n);}),rj("jSJWo",function(e,t){var r=rD("5tbf8");e.exports=(e,t)=>r(e,t,!0);}),rj("3tYTc",function(e,t){var r=rD("lbpWb");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rj("lXqm9",function(e,t){var r=rD("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rj("7opda",function(e,t){var r=rD("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rj("e12Rv",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>0;}),rj("hb18N",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0>r(e,t,n);}),rj("hcLkw",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0===r(e,t,n);}),rj("8qYh8",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0!==r(e,t,n);}),rj("1MItZ",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rj("ekDr6",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0>=r(e,t,n);}),rj("dnnKg",function(e,t){var r=rD("hcLkw"),n=rD("8qYh8"),i=rD("e12Rv"),o=rD("1MItZ"),s=rD("hb18N"),a=rD("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);}};}),rj("4F3T1",function(e,t){var r=rD("lbpWb"),n=rD("3uxBW"),i=rD("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);};}),rj("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=rD("fnN7l"),o=rD("6UUXQ"),s=o.safeRe,a=o.t,l=rD("dnnKg"),c=rD("eCCPy"),u=rD("lbpWb"),p=rD("ggJh3");}),rj("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,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=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],"")),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;};}),rj("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;}};}),rj("fta4V",function(e,t){var r=rD("ggJh3");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rj("9xXeH",function(e,t){var r=rD("ggJh3");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rj("8CAg3",function(e,t){var r=rD("lbpWb"),n=rD("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;};}),rj("cigJ0",function(e,t){var r=rD("lbpWb"),n=rD("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;};}),rj("5uMTr",function(e,t){var r=rD("lbpWb"),n=rD("ggJh3"),i=rD("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;};}),rj("jlFkD",function(e,t){var r=rD("ggJh3");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rj("bCYTf",function(e,t){var r=rD("lbpWb"),n=rD("6K3XU");let{ANY:i}=n;var o=rD("ggJh3"),s=rD("fta4V"),a=rD("e12Rv"),l=rD("hb18N"),c=rD("ekDr6"),u=rD("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;};}),rj("jXojG",function(e,t){var r=rD("bCYTf");e.exports=(e,t,n)=>r(e,t,">",n);}),rj("gpcZS",function(e,t){var r=rD("bCYTf");e.exports=(e,t,n)=>r(e,t,"<",n);}),rj("1U8CF",function(e,t){var r=rD("ggJh3");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rj("cilv0",function(e,t){var r=rD("fta4V"),n=rD("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;};}),rj("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,iz.basename)(e):(0,iz.basename)(e,(0,iz.extname)(e));}function w(e){return(0,iz.normalize)(e).replace(RegExp((0,r.default)(iz.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iz.extname)(e),n=`${t}${(0,iz.basename)(e,r)}${r}`;return(0,iz.join)((0,iz.dirname)(e),n);}function x(e,t){let r=(0,iz.extname)(e),n=`${(0,iz.basename)(e,r)}${t}${r}`;return(0,iz.join)((0,iz.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,iz.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iz.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iz.sep)||r===(0,iz.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>R),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>iz.dirname),l(e.exports,"join",()=>iz.join),r=rD("9ag04"),n=rD("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);}),rj("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);}),rj("923E2",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iz.basename(e,iz.extname(e))+t,i=iz.join(iz.dirname(e),n);return(r=e.slice(0,2))==="."+iz.sep||"./"===r?"."+iz.sep+i:i;};}),rj("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*(){rm.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(iz),p=i(rD("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;}),rj("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(iW),c=i(iz);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";};}),rj("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(rD("aNgTs"));s=rD("9yJgU"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iX.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=iX.platform(),r="";if("darwin"===t)r=ry.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 iW.existsSync(e)?r=iW.readFileSync(e).toString():iW.existsSync(t)&&(r=iW.readFileSync(t).toString()),r;};}),rj("aNgTs",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>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={},N=0,$=[["\\s",1],["\\d",x],[A="[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-]"+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"),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,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);};}),rj("dGCqI",function(e,t){var r=rD("fVQSr"),n=rD("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);};}),rj("fVQSr",function(e,t){e.exports=function(){return iK.randomBytes(16);};}),rj("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("");};}),rj("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(rD("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 rE.StringDecoder("utf8"),c=new rE.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};});};}),rj("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(iX),a=i(rh),l=i(ry),c=i(iz),u=i(rD("fcBgE")),p=i(rD("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=rw.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();}}}}),rj("8Rlq7",function(e,t){e.exports=Promise.resolve(require("./actions_python.60e051e1.js")).then(()=>rD("4kQHk"));}),rj("g7Ve0",function(e,t){e.exports=Promise.resolve(require("./hdi.647acde1.js")).then(()=>rD("4YYb2"));}),rU=rD("9ne19"),rF=rD("ER74K"),rM=rD("9yJgU"),rU=rD("9ne19"),rF=rD("ER74K"),rG={},rB={},rH={},rq={};const iQ="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iZ=iQ?";":":";rV={},"win32"===process.platform||rC.TESTING_WINDOWS?rX=rD("a3PNV"):rX=rD("7gw6J"),rV=u,u.sync=function(e,t){try{return rX.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const i0=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i1=(e,t)=>{let r=t.colon||iZ,n=e.match(/\//)||iQ&&e.match(/\\/)?[""]:[...(iQ?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iQ?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iQ?i.split(r):[""];return iQ&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i2=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i1(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(i0(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iz.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];rV(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);};rq=i2,i2.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i1(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";};(rz=i4).default=i4,rH=function(e){return p(e)||p(e,!0);};rW=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;},rY={},rJ={},rQ={},rQ=/^#!(.*)/,rJ=(e="")=>{let t=e.match(rQ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rY=function(e){let t;let r=Buffer.alloc(150);try{t=iW.openSync(e,"r"),iW.readSync(t,r,0,150,0),iW.closeSync(t);}catch(e){}return rJ(r.toString());};const i3="win32"===process.platform;rB=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(!i3)return e;let t=function(e){e.file=rH(e);let t=e.file&&rY(e.file);return t?(e.args.unshift(e.file),e.command=t,rH(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=iz.normalize(e.command),e.command=rW(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);},rZ={};const i6="win32"===process.platform;rZ={hookChildProcess:function(e,t){if(!i6)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 i6&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rG=h).spawn=h,rG.sync=function(e,t,r){let n=rB(e,t,r),i=ry.spawnSync(n.command,n.args,n.options);return i.error=i.error||rZ.verifyENOENTSync(i.status,n),i;},rG._parse=rB,rG._enoent=rZ;const i8=({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,rO.fileURLToPath)(e):e,s=c(rb).resolve(o),a=[];return r&&i7(a,s),i&&i5(a,n,s),[...a,t].join(c(rb).delimiter);},i7=(e,t)=>{let r;for(;r!==t;)e.push(c(rb).join(t,"node_modules/.bin")),r=t,t=c(rb).resolve(t,"..");},i5=(e,t,r)=>{let n=t instanceof URL?(0,rO.fileURLToPath)(t):t;e.push(c(rb).resolve(r,n,".."));},i9=({env:e=c(rR).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i8(t),e;},oe=(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);(ot(i,o)||!n)&&Object.defineProperty(e,r,o);},ot=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);},or=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},on=(e,t)=>`/* Wrapped ${e}*/ +${t}`,oi=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oo=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),os=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=on.bind(null,n,t.toString());Object.defineProperty(i,"name",oo),Object.defineProperty(e,"toString",{...oi,value:i});},oa=new WeakMap(),ol=(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(oa.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))oe(e,t,n,r);or(e,t),os(e,t,n);}(o,e),oa.set(o,n),o;};ol.callCount=e=>{if(!oa.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return oa.get(e);},r0=ol;const oc=()=>Array.from({length:of-op+1},ou),ou=(e,t)=>({name:"SIGRT"+(t+1),number:op+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),op=34,of=64,od=[{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"}],oh=()=>[...od,...oc()].map(om),om=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rS.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},ov=Object.fromEntries(oh().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}])),og=(e,t)=>{let r=oy(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}};},oy=(e,t)=>{let r=t.find(({name:t})=>rS.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=oh();return Object.assign({},...Array.from({length:of+1},(t,r)=>og(r,e)));})();const oE=({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",ow=({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:ov[i].description,m=oE({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;},o_=["stdin","stdout","stderr"],ob=e=>o_.some(t=>void 0!==e[t]),ox=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return o_.map(t=>e[t]);if(ob(e))throw Error("It's not possible to provide `stdio` in combination with one of "+o_.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,o_.length)},(e,r)=>t[r]);};r1={};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(r2=rC.process)){var oO,oS=rm,oI=rD("1YMV0"),oT=/^win/i.test(r2.platform),oP=rh;"function"!=typeof oP&&(oP=oP.EventEmitter),r2.__signal_exit_emitter__?oO=r2.__signal_exit_emitter__:((oO=r2.__signal_exit_emitter__=new oP()).count=0,oO.emitted={}),oO.infinite||(oO.setMaxListeners(1/0),oO.infinite=!0);var oN=function(){oC&&oR(rC.process)&&(oC=!1,oI.forEach(function(e){try{r2.removeListener(e,o$[e]);}catch(e){}}),r2.emit=oj,r2.reallyExit=ok,oO.count-=1);};(r1=function(e,t){if(!oR(rC.process))return function(){};oS.equal(typeof e,"function","a callback must be provided for exit handler"),!1===oC&&oL();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oO.on(r,e),function(){oO.removeListener(r,e),0===oO.listeners("exit").length&&0===oO.listeners("afterexit").length&&oN();};}).unload=oN;var oA=function(e,t,r){oO.emitted[e]||(oO.emitted[e]=!0,oO.emit(e,t,r));},o$={};oI.forEach(function(e){o$[e]=function(){oR(rC.process)&&r2.listeners(e).length===oO.count&&(oN(),oA("exit",null,e),oA("afterexit",null,e),oT&&"SIGHUP"===e&&(e="SIGINT"),r2.kill(r2.pid,e));};}),r1.signals=function(){return oI;};var oC=!1,oL=function(){!oC&&oR(rC.process)&&(oC=!0,oO.count+=1,oI=oI.filter(function(e){try{return r2.on(e,o$[e]),!0;}catch(e){return!1;}}),r2.emit=oU,r2.reallyExit=oD);};r1.load=oL;var ok=r2.reallyExit,oD=function(e){oR(rC.process)&&(r2.exitCode=e||0,oA("exit",r2.exitCode,null),oA("afterexit",r2.exitCode,null),ok.call(r2,r2.exitCode));},oj=r2.emit,oU=function(e,t){if(!("exit"===e&&oR(rC.process)))return oj.apply(this,arguments);void 0!==t&&(r2.exitCode=t);var r=oj.apply(this,arguments);return oA("exit",r2.exitCode,null),oA("afterexit",r2.exitCode,null),r;};}else r1=function(){return function(){};};const oF=(e,t="SIGTERM",r={})=>{let n=e(t);return oM(e,t,r,n),n;},oM=(e,t,r,n)=>{if(!oG(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oH(r));i.unref&&i.unref();},oG=(e,{forceKillAfterTimeout:t},r)=>oB(e)&&!1!==t&&r,oB=e=>e===c(rS).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oH=({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;},oq=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oV=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oX=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oV(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oz=({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})`);},oW=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r1)(()=>{e.kill();});return n.finally(()=>{i();});},oK=e=>e instanceof rx.ChildProcess&&"function"==typeof e.then,oY=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rg.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;},oJ=e=>{null!==e.stdout&&(e.pipeStdout=oY.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oY.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oY.bind(void 0,e,"all"));};r4={},r3=rI.constants,r6=rv.promisify,r8={},r7=rT.PassThrough,r8=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 r7({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 oQ=r6(rT.pipeline);class oZ extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r4=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r4.array=(e,t)=>y(e,{...t,array:!0}),r4.MaxBufferError=oZ,r5={},r9=rT.PassThrough,r5=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 r9({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 o0=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o1=({input:e,inputFile:t})=>"string"!=typeof t?e:(o0(e),(0,rg.readFileSync)(t)),o2=e=>{let t=o1(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o4=({input:e,inputFile:t})=>"string"!=typeof t?e:(o0(e),(0,rg.createReadStream)(t)),o3=(e,t)=>{let r=o4(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o6=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r5)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o8=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o7=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r4)(e,{encoding:t,maxBuffer:n}):c(r4).buffer(e,{maxBuffer:n});},o5=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o7(e,{encoding:n,buffer:i,maxBuffer:o}),l=o7(t,{encoding:n,buffer:i,maxBuffer:o}),c=o7(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},o8(e,a),o8(t,l),o8(r,c)]);}},o9=(async()=>{})().constructor.prototype,se=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o9,e)]),st=(e,t)=>{for(let[r,n]of se){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},sr=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);});}),sn=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],si=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,so=(e,t)=>sn(e,t).join(" "),ss=(e,t)=>sn(e,t).map(e=>si(e)).join(" "),sa=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;},sl=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rx.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,r_.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sc=(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)],su=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=sc(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sc(s,Array.isArray(a)?a.map(e=>sl(e)):[sl(a)],o.endsWith(" "));},sp=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=su({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sf=(0,rP.debuglog)("execa").enabled,sd=(e,t)=>(e+"").padStart(t,"0"),sh=()=>{let e=new Date();return`${sd(e.getHours(),2)}:${sd(e.getMinutes(),2)}:${sd(e.getSeconds(),2)}.${sd(e.getMilliseconds(),3)}`;},sm=(e,{verbose:t})=>{t&&c(rR).stderr.write(`[${sh()}] ${e} +`);},sv=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rR).env,...e}:e;return r?i9({env:o,cwd:n,execPath:i}):o;},sg=(e,t,r={})=>{let n=c(rG)._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:sf,...r}).env=sv(r),r.stdio=ox(r),"win32"===c(rR).platform&&"cmd"===c(rb).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sy=(e,t,r)=>"string"==typeof t||(0,r_.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:"",sE=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sw=(e={})=>({preferLocal:!0,...sE(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sp(n,i);return E(o,s,sw(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]=sp(e,r);return w(n,i,sw(t));},r;}(),ne={},l(nt={},"isexe",()=>s_),l(nt,"sync",()=>sb),nr=rD("4oHc1");const s_=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sx(await(0,nr.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sb=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sx((0,iW.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sx=(e,t)=>e.isFile()&&sR(e,t),sR=(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(nn={},"isexe",()=>sO),l(nn,"sync",()=>sS),nr=rD("4oHc1");const sO=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sT(await(0,nr.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sS=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sT((0,iW.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sI=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sI(t,r),sP="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?nn:nt,sN=sP.isexe,sA=sP.sync;ni=iz.join,no=iz.delimiter,ns=iz.sep,na=iz.posix;const s$="win32"===process.platform,sC=new RegExp(`[${na.sep}${ns===na.sep?"":ns}]`.replace(/(\\)/g,"\\$1")),sL=RegExp("^\\."+sC.source),sk=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sD=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=no})=>{let i=e.match(sC)?[""]:[...(s$?[process.cwd()]:[]),...(t||"").split(n)];if(s$){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:[""]};},sj=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sL.test(t)?t.slice(0,2):"")+ni(r,t);},sU=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sD(e,t),o=[];for(let s of r){let r=sj(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 sk(e);};ne=sU,sU.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sD(e,t),o=[];for(let s of r){let r=sj(s,e);for(let e of n){let n=r+e;if(sA(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 sk(e);};const sF={stdio:"inherit",shell:!0};rF=rD("ER74K"),nl={},nc=rD("3a7Qq"),nu={},np=rD("6u4nl"),nu=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&np(e);},nf={},nd=rD("dxkoV"),nh=rD("5RsFi"),nm=rD("5twQR"),nv={},ng={},ny=rD("6XGJc"),nE={},nw=rD("8uHBt"),n_={function:!0,object:!0},nE=function(e){return nw(e)&&n_[typeof e]||!1;},nw=rD("8uHBt"),nb=Error.captureStackTrace,ng=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nw(n)&&nE(r)&&(n=r,r=null),nw(n)&&ny(t,n),nw(r)&&(t.code=r),nb&&nb(t,ng),t;},nx=rD("bP3iK"),nR=rD("eXmen"),nO=rD("4SFhS").methods,nS={},nI={},nT=rD("8Vysl"),nP=Array.isArray,nI=function(e){return nP(e)?e:nT(e);},nw=rD("8uHBt"),nd=rD("dxkoV"),nN=Array.prototype.slice,nA=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(nN.call(e,this.length));},nS=function(e){return(e=nI(e)).forEach(function(e){nw(e)&&nd(e);}),nA.bind(e);},n$={},nd=rD("dxkoV"),n$=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nd(e.get)},void 0!==e.set)?(t.set=nd(e.set),e.delete&&(t.delete=nd(e.delete)),e.clear&&(t.clear=nd(e.clear))):t.set=t.get,t);},nC=Function.prototype.apply,nL=Function.prototype.call,nk=Object.create,nD=Object.defineProperties,nj=nO.on,nU=nO.emit,nv=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nk(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=n$(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nS(r.resolvers)),v=o?nx(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?nL.call(e,this,a[0]):nC.call(e,this,a),null===r){if(null!==(r=o(a)))throw ng("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw ng("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?nC.call(e,this,arguments):nL.call(e,this),hasOwnProperty.call(y,"data"))throw ng("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?nL.call(e,this,o[0]):nC.call(e,this,o),hasOwnProperty.call(y,i))throw ng("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=nk(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nj.call(this,e,t);},emit:nU,updateEnv:function(){e=n.original;}},c=o?nx(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=nx(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nx(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));}),nD(v,{__memoized__:nR(!0),delete:nR(c),clear:nR(n.clear),_get:nR(u),_has:nR(p)}),n;},nf=function e(t){var r,n,i;if(nd(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=nu(r.length,t.length,r.async&&nm.async),i=nv(t,n,r),nh(nm,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},nl=function(e){var t,r=nc(arguments[1]);return!r.normalizer&&0!==(t=r.length=nu(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rD("7o7h2"):t>1&&(r.normalizer=rD("jdXxe")(t)):!1===t?r.normalizer=rD("1DZyI")():1===t?r.normalizer=rD("loqvW")():r.normalizer=rD("f097S")(t)),r.async&&rD("7PnxH"),r.promise&&rD("fCNrK"),r.dispose&&rD("1EtHk"),r.maxAge&&rD("6VQvb"),r.max&&rD("jT7Ur"),r.refCounter&&rD("6ZksK"),nf(e,r);},nF=rD("dOmbL");const sM=/^~(?=$|\/|\\)/,{appendFile:sG,readFile:sB,writeFile:sH}=iW.promises,sq=T("~/.bashrc"),sV=c(nl)(P,{promise:!0});nM={};const sX="win32"!==iX.platform(),sz=iX.release(),sW=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nM=function(e){return sX?e.replace(/(\s+)/g,"\\$1"):sW(.../(\d+\.\d+)\.(\d+)/.exec(sz).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rD("awj79"),t=function(e){return e.split("").reverse().join("");},nG=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(nG={});const{appendFile:sK}=iW.promises;rM=rD("9yJgU"),rU=rD("9ne19"),rF=rD("ER74K");const{appendFile:sY}=iW.promises,sJ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nB=rD("ggaxg"),function(){rD("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(nH={}),nq={},nq=rD("elyHp"),nV={},nV={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"}}}},rF=rD("ER74K"),nX={},nz=rD("jrMr3"),nW=rN.env.npm_package_json,nY=!!((nK=rN.env.npm_config_user_agent)&&nK.startsWith("npm")),nJ=!!(nW&&nW.endsWith("package.json")),nQ=nY||nJ,nZ=!!(nK&&nK.startsWith("yarn")),n0=nQ||nZ,n1=iX.homedir(),n2=process.env.XDG_CONFIG_HOME||iz.join(n1,".config","simple-update-notifier"),n4=function(e){return iz.join(n2,"".concat(e.replace("@","").replace("/","__"),".json"));},n3=function(){iW.existsSync(n2)||iW.mkdirSync(n2,{recursive:!0});},n6=function(e){var t=n4(e);try{if(!iW.existsSync(t))return;return JSON.parse(iW.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n8=function(e){var t=n4(e);iW.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n7=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){iJ.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);});})];});});},n5=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(n3(),e=n6(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 rA.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=io.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 iT(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class ad extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}iv.HTTPError=ad;const ah="win32"===process.platform,am="darwin"===process.platform;iv.downloadTool=function(e,t,r,n){return i_(this,void 0,void 0,function*(){t=t||as.join(eN(),ap.default()),yield ar.mkdirP(as.dirname(t)),at.debug("Downloading "+e),at.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(()=>i_(this,void 0,void 0,function*(){return yield function(e,t,r,n){return i_(this,void 0,void 0,function*(){if(an.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new aa.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(at.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 ad(o.message.statusCode);throw at.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=au.promisify(ac.pipeline),a=eA("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,an.createWriteStream(t)),at.debug("download complete"),l=!0,t;}finally{if(!l){at.debug("download failed");try{yield ar.rmRF(t);}catch(e){at.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof ad)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},iv.extract7z=function(e,t,r){return i_(this,void 0,void 0,function*(){rm.ok(ah,"extract7z() not supported on current OS"),rm.ok(e,'parameter "file" is required'),t=yield eR(t);let n=process.cwd();if(process.chdir(t),r)try{let t=at.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield ix.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=as.join(ig,"..","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 ar.which("powershell",!0);yield ix.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},iv.extractTar=function(e,t,r="xz"){return i_(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eR(t),at.debug("Checking tar --version");let i="";yield ix.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),at.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],at.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ah&&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 ix.exec("tar",n),t;});},iv.extractXar=function(e,t,r=[]){return i_(this,void 0,void 0,function*(){let n;rm.ok(am,"extractXar() not supported on current OS"),rm.ok(e,'parameter "file" is required'),t=yield eR(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),at.isDebug()&&n.push("-v");let i=yield ar.which("xar",!0);return yield ix.exec(`"${i}"`,Array.from(new Set(n))),t;});},iv.extractZip=function(e,t){return i_(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eR(t),ah?yield function(e,t){return i_(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 ar.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 $_ } } ;`;at.debug("Using pwsh at path: "+i),yield ix.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 ar.which("powershell",!0);at.debug("Using powershell at path: "+t),yield ix.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return i_(this,void 0,void 0,function*(){let r=yield ar.which("unzip",!0),n=[e];at.isDebug()||n.unshift("-q"),n.unshift("-o"),yield ix.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},iv.cacheDir=function(e,t,r,n){return i_(this,void 0,void 0,function*(){if(r=al.clean(r)||r,n=n||ao.arch(),at.debug(`Caching tool ${t} ${r} ${n}`),at.debug("source dir: "+e),!an.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eO(t,r,n);for(let t of an.readdirSync(e)){let r=as.join(e,t);yield ar.cp(r,i,{recursive:!0});}return eS(t,r,n),i;});},iv.cacheFile=function(e,t,r,n,i){return i_(this,void 0,void 0,function*(){if(n=al.clean(n)||n,i=i||ao.arch(),at.debug(`Caching tool ${r} ${n} ${i}`),at.debug("source file: "+e),!an.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eO(r,n,i),s=as.join(o,t);return at.debug("destination file "+s),yield ar.cp(e,s),eS(r,n,i),o;});},iv.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||ao.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=al.clean(t)||"";let i=as.join(eP(),e,t,r);at.debug("checking cache: "+i),an.existsSync(i)&&an.existsSync(`${i}.complete`)?(at.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):at.debug("not found");}return n;},iv.findAllVersions=ex,iv.getManifestFromRepo=function(e,t,r,n="master"){return i_(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new aa.HttpClient("tool-cache"),a={};r&&(at.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){at.debug("Invalid json");}}return i;});},iv.findFromManifest=function(e,t,r,n=ao.arch()){return i_(this,void 0,void 0,function*(){return yield ai._findMatch(e,t,r,n);});},iv.isExplicitVersion=eI,iv.evaluateVersions=eT,rU=rD("9ne19"),rF=rD("ER74K"),nr=rD("4oHc1"),nF=rD("dOmbL"),id=rD("ceI0e"),Object.defineProperty(iP={},"__esModule",{value:!0}),iP.retryAsPromised=iP.TimeoutError=void 0;class av extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iP.TimeoutError=av,iP.retryAsPromised=e$,iP.default=e$,iN=rD("fcBgE"),rF=rD("ER74K"),(rp=iA||(iA={}))[rp.Tar=0]="Tar",rp[rp.TarGz=1]="TarGz",rp[rp.TarXz=2]="TarXz",rp[rp.Zip=3]="Zip",rp[rp.SevenZip=4]="SevenZip",rM=rD("9yJgU");const ag=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||iW.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||iW.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||iW.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iW.mkdirSync,t;},ay=(e,t,r)=>{let n=(0,iz.dirname)(e),i={...ag(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 ay(e,i,ay(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;}}},aE=Object.assign(async(e,t,r)=>{let n=ag(t);n.recursive=!1;let i=(0,iz.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 aE(i,n).then(t=>aE(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:ay}),aw=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?aw(e,(0,iz.dirname)(t),t):void 0);},a_=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?a_(e,(0,iz.dirname)(t),t):void 0;}},ab=(e,t)=>{let r=ag(t);if(r.recursive=!0,(0,iz.dirname)(e)===e)return r.mkdirSync(e,r);let n=a_(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return ay(e,r);throw t;}},ax=Object.assign(async(e,t)=>{let r={...ag(t),recursive:!0};return(0,iz.dirname)(e)===e?await r.mkdirAsync(e,r):aw(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return aE(e,r);throw t;}));},{sync:ab}),aR=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aO=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,iz.resolve)(e),"win32"===aR){let{root:t}=(0,iz.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aS=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aI=+aS[0]>10||10==+aS[0]&&+aS[1]>=12,aT=aI?e=>ag(e).mkdirSync===iW.mkdirSync:()=>!1,aP=Object.assign(aI?e=>ag(e).mkdir===iW.mkdir:()=>!1,{sync:aT}),aN=(e,t)=>{e=aO(e);let r=ag(t);return aT(r)?ab(e,r):ay(e,r);},aA=Object.assign(async(e,t)=>{e=aO(e);let r=ag(t);return aP(r)?ax(e,r):aE(e,r);},{mkdirpSync:aN,mkdirpNative:ax,mkdirpNativeSync:ab,mkdirpManual:aE,mkdirpManualSync:ay,sync:aN,native:ax,nativeSync:ab,manual:aE,manualSync:ay,useNative:aP,useNativeSync:aT});nF=rD("dOmbL"),id=rD("ceI0e"),ix=rD("jlr6Q"),rU=rD("9ne19"),rF=rD("ER74K"),nr=rD("4oHc1"),nF=rD("dOmbL"),id=rD("ceI0e"),ix=rD("jlr6Q"),rF=rD("ER74K"),i$=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rA.URL(t),!0;}catch{return!1;}},iC=async e=>{if(!i$(e))return!1;let t=await ez(e,"HEAD");return!!t||!!(t=await ez(e,"GET"));},ih=rD("4F3T1"),iL=rD("5tbf8"),ik=rD("cdjlt");const a$=/v?(\d\S*)/,aC={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:eh()?"13.2.1-3":"13",powershell:"7.4.5"},aL={pip:"22.2.0",python:"3.7.9"},ak={gcc:{24:"13",22:"13",20:"11",18:"11",16:"11",14:"11"},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"}},aD=c(nl)(tt,{promise:!0});rF=rD("ER74K"),Object.defineProperty(iD={},"__esModule",{value:!0}),iD.getUbuntuVersion=void 0,iD.getUbuntuVersion=ti;const aj=c(nl)(to,{promise:!0}),aU=c(nl)(tu,{promise:!0}),aF=c(nl)(tp,{promise:!0}),aM=c(nl)(tf,{promise:!0});rF=rD("ER74K"),id=rD("ceI0e"),nF=rD("dOmbL");const aG=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"]]]),aB=c(nl)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rS).release()).split(".")[0];let[t,r]=aG.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rU=rD("9ne19"),rF=rD("ER74K"),nF=rD("dOmbL"),id=rD("ceI0e"),ih=rD("4F3T1"),ij=rD("3tcGr"),ix=rD("jlr6Q"),rF=rD("ER74K"),iU=iz.resolve(__dirname,"../../src/gcc");const aH={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};ij=rD("3tcGr"),ik=rD("cdjlt"),rF=rD("ER74K"),id=rD("ceI0e"),id=rD("ceI0e"),iF=iz.resolve(__dirname,"../../src/kcov"),rU=rD("9ne19"),rF=rD("ER74K"),nF=rD("dOmbL"),id=rD("ceI0e"),nr=rD("4oHc1"),rM=rD("9yJgU"),rF=rD("ER74K");class aq 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),az=e=>{let t=void 0===e.reason?aX("This operation was aborted."):e.reason;return t instanceof Error?t:aX(t);};id=rD("ceI0e"),rF=rD("ER74K"),rM=rD("9yJgU");const aW=rN.env["ProgramFiles(x86)"],aK=[rN.env["ProgramFiles(x86)"],rN.env.ProgramFiles],aY=["Enterprise","Professional","Community","BuildTools"],aJ=["2022","2019","2017"],aQ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iM=tU;const aZ=`${aW}\\Microsoft Visual Studio\\Installer`;iG=tF,iB=function(e,t,r,n,i,o){if("win32"!=rN.platform){rM.info("This is not a Windows virtual environment, bye!");return;}rN.env.PATH+=iz.delimiter+aZ;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=`"${tF(o)}" ${a.join(" ")}`;rM.debug("vcvars command-line: "+l);let c=ry.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(rM.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rM.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(";")),rM.exportVariable(t,r));}rM.endGroup(),rM.info("Configured Developer Command Prompt");},nF=rD("dOmbL");const a0=12e5;(rf=iH||(iH={}))[rf.All=0]="All",rf[rf.ClangFormat=1]="ClangFormat",rf[rf.Core=2]="Core",rF=rD("ER74K"),id=rD("ceI0e"),im=rD("ekDr6");const a1=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"]),a2=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"]),a3=new Map(),a6={"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"},a8="18.1.8";iq=iz.resolve(__dirname,"../../src/llvm");const a7=c(nl)(tQ,{promise:!0}),a5=c(nl)(t0,{promise:!0}),a9=c(nl)(t1,{promise:!0});rU=rD("9ne19"),id=rD("ceI0e"),rF=rD("ER74K"),nF=rD("dOmbL"),iV=iz.resolve(__dirname,"../../src/msvc"),rF=rD("ER74K"),nr=rD("4oHc1"),id=rD("ceI0e"),rF=rD("ER74K"),id=rD("ceI0e"),id=rD("ceI0e"),rF=rD("ER74K"),nF=rD("dOmbL"),id=rD("ceI0e");let le=!1;const lt={nala:t7,cmake:eX,ninja:t$,python:eZ,vcpkg:ro,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:t9,llvm:tJ,gcc:tS,choco:ev,brew:eu,powershell:rr,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 tZ(e,t,r);},clangformat:function(e,t,r){return tZ(e,t,r,iH.ClangFormat);},msvc:t6,vcvarsall:tM,kcov:tj,make:t3,task:function(e,t,r){return eG("task",e,ri,t,r);},sevenzip:eC},lr=Object.keys(lt),ln=["compiler","architecture","timeout",...lr],li={rcPath:T("~/.cpprc"),guard:"cpp"};rM=rD("9yJgU"),rF=rD("ER74K"),ik=rD("cdjlt"),rc(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rF.error)("main() panicked!"),(0,rF.error)(e),process.exitCode=1;}); //# sourceMappingURL=setup-cpp.js.map \ No newline at end of file diff --git a/dist/actions/setup-cpp.js.map b/dist/actions/setup-cpp.js.map index 8c50fa44..637c429c 100644 --- a/dist/actions/setup-cpp.js.map +++ b/dist/actions/setup-cpp.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rV","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rH","sync","command","path","rX","pathExt","iX","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i3","file","original","h","rG","rg","spawn","rQ","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r6","getBufferedLength","r4","MAX_LENGTH","bufferedData","getBufferedValue","oJ","on","oQ","E","sv","si","so","sh","oX","c","rb","ChildProcess","se","reject","oE","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","st","l","oV","oz","kill","oU","bind","cancel","oH","rZ","exitCode","signal","o7","sg","aborted","failed","o4","o3","oY","w","o1","spawnSync","input","status","_","stdio","r9","nothrow","b","getuid","CI","x","sU","ss","O","S","R","join","map","I","SUDO_USER","iz","statSync","isDirectory","T","iV","homedir","replace","sF","P","guard","rcPath","N","A","rU","warning","nU","pathExists","sG","includes","sM","info","$","Set","split","sB","C","escapeSpace","overwrite","sH","nF","nM","rj","GITHUB_ACTIONS","rF","exportVariable","L","sq","sW","k","sY","some","test","PATH","addPath","D","sK","j","next","throw","done","value","then","apply","U","return","call","label","ops","pop","trys","length","push","sent","Symbol","iterator","F","nV","pkg","n9","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","sJ","V","DEBIAN_FRONTEND","LANG","LC_ALL","X","z","W","startsWith","K","Y","J","filter","Z","name","version","Q","ic","trim","sZ","s0","ee","sQ","et","s1","er","clear","en","ei","binDir","eo","s2","flatMap","repository","key","ea","es","keyServer","s3","fileName","keyStorePath","ec","el","keyUrl","s4","tmpdir","ie","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s6","ed","eh","em","ev","ip","SystemRoot","ALLUSERSPROFILE","ln","ChocolateyInstall","eg","s8","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","s7","s5","eb","matchAll","s9","ex","ai","ao","eP","ar","existsSync","readdirSync","eI","eR","eN","au","at","mkdirP","eO","aa","clean","ae","debug","rmRF","eS","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rh","ok","RUNNER_TEMP","eA","r$","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","am","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eU","eF","eM","iP","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","im","installDir","eB","eq","eH","nt","chmod","iT","now","basename","downloadTool","ro","CACHE_TOOLS","cacheDir","eV","id","ih","addExeExt","eX","ez","iY","request","method","statusCode","end","eW","from","iC","localeCompare","eK","i$","has","JSON","stringify","eY","aA","ib","getExecOutput","console","eJ","eQ","eZ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e3","setupActionsPython","rk","e4","e6","parse","root","readdir","aC","python","e7","e9","e5","pip","te","tt","tr","tn","aL","Number","parseInt","a$","ti","execFile","encoding","shell","to","ts","ik","getUbuntuVersion","ta","aF","user","td","PIPX_HOME","aj","PIPX_BIN_DIR","aU","ak","th","tu","aN","tp","tf","aD","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aG","notice","tR","tO","aB","releaseName","fileSuffix","tS","tT","tP","tI","iD","tN","ij","tA","t$","tC","tL","tk","tD","iU","tj","tU","values","aJ","tF","execSync","entries","aY","aW","aK","az","tM","iG","tG","aZ","startGroup","milliseconds","fallback","customTimers","sign","aX","addEventListener","POSITIVE_INFINITY","aH","finally","tB","endGroup","le","rs","tH","readFile","tq","NODE_DEBUG","tV","writeFile","rA","tX","tz","tW","a1","tK","a2","a4","get","a0","a3","a6","tY","tJ","a8","t2","tQ","tZ","t4","a5","iB","All","iL","a7","t0","t1","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iH","t3","t6","iF","iM","t8","iq","t7","t5","t9","re","arm64","arm","arm32","aarch64","x64","rt","rr","rn","ri","a9","addShExt","addShRelativePrefix","getInput","toLowerCase","ra","compiler","rl","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","lr","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nH","create","autoloadLocales","addLocale","nq","nG","nB","cppcheck","gcovr","lt","isCI","parseFloat","format","success","rc","ru","rp","rz","rW","r1","r3","r8","r5","nn","ni","no","ns","nw","n_","nR","nT","nP","nN","n$","nC","nL","nk","nD","nj","nz","nW","nK","nY","nJ","nQ","nZ","n0","n1","n2","n4","n3","n6","n8","n7","n5","it","ir","ii","io","is","ia","il","iA","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","iW","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","iK","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","rf","connect","localAddress","arguments","defaultPort","rm","inherits","rd","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rD","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","rv","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","compare","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","ry","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","rE","HandleTimeout","OSTYPE","iQ","iJ","rq","TESTING_WINDOWS","iZ","i0","colon","pathEnv","pathExtExe","i1","i2","rB","rK","rY","rJ","openSync","readSync","closeSync","i4","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rM","_parse","_enoent","i6","rx","preferLocal","execPath","addExecPath","rR","fileURLToPath","r_","i8","i7","i5","i9","oe","ot","getPrototypeOf","or","oi","oo","os","WeakMap","oa","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","ol","op","ou","oc","number","action","description","standard","of","forced","od","oh","signals","rO","supported","om","ov","og","oy","errorCode","signalDescription","Boolean","originalMessage","shortMessage","ow","o_","ob","ox","reallyExit","pid","oR","oO","oS","oI","oT","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oP","o$","oA","oD","oL","r0","equal","oC","alwaysLast","unload","oN","oj","load","oF","oM","oB","forceKillAfterTimeout","oG","SIGTERM","oq","killSignal","race","cleanup","detached","oW","oK","createWriteStream","pipeStdout","pipeStderr","pipeAll","rS","rI","PassThrough","array","objectMode","setEncoding","pipeline","r2","buffer","MaxBufferError","r7","readable","isEmpty","oZ","o0","inputFile","o2","createReadStream","o6","o8","o5","o9","sr","sn","sa","rw","isBuffer","sl","sc","templates","expressions","template","su","sp","rT","debuglog","enabled","sf","padStart","sd","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sm","localDir","stripFinalNewline","windowsHide","sy","sE","sw","sb","s_","sx","groups","getgroups","sR","sI","sO","sS","sT","_ISEXE_TEST_PLATFORM_","nr","sP","isexe","sN","posix","sA","s$","sC","source","sL","sk","sD","sj","nc","nu","function","object","ny","nE","captureStackTrace","nv","ng","nS","nI","nO","nf","nA","nm","normalizer","resolvers","nb","profileName","updateEnv","__memoized__","nx","_get","_has","np","nh","nd","__profiler__","na","nl","primitive","sV","sX","release","sz","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rP","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nX","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","rN","__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","iu","iE","an","as","al","ac","i_","ap","iS","ix","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","af","httpStatusCode","new","target","HTTPError","ad","ah","iw","authorization","statusMessage","extract7z","iv","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iN","av","fs","mkdirAsync","statAsync","ag","ay","aE","aw","a_","ab","ax","__TESTING_MKDIRP_PLATFORM__","aR","aO","__TESTING_MKDIRP_NODE_VERSION__","aS","aI","aT","aP","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","aM","aq","aV","DOMException","reason","ProgramFiles","aQ","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-89fc9e4163122721.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-5045a0aeaecad42e.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-8b8f350e81d90511.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/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 $6OClt$os = require(\"os\");\nvar $6OClt$path = require(\"path\");\nvar $6OClt$fs = require(\"fs\");\nvar $6OClt$crypto = require(\"crypto\");\nvar $6OClt$http = require(\"http\");\nvar $6OClt$https = require(\"https\");\nrequire(\"net\");\nvar $6OClt$tls = require(\"tls\");\nvar $6OClt$events = require(\"events\");\nvar $6OClt$assert = require(\"assert\");\nvar $6OClt$util = require(\"util\");\nvar $6OClt$nodefs = require(\"node:fs\");\nvar $6OClt$child_process = require(\"child_process\");\nvar $6OClt$string_decoder = require(\"string_decoder\");\nvar $6OClt$timers = require(\"timers\");\nvar $6OClt$nodebuffer = require(\"node:buffer\");\nvar $6OClt$nodepath = require(\"node:path\");\nvar $6OClt$nodechild_process = require(\"node:child_process\");\nvar $6OClt$nodeprocess = require(\"node:process\");\nvar $6OClt$nodeurl = require(\"node:url\");\nvar $6OClt$nodeos = require(\"node:os\");\nvar $6OClt$buffer = require(\"buffer\");\nvar $6OClt$stream = require(\"stream\");\nvar $6OClt$nodeutil = require(\"node:util\");\nvar $6OClt$process = require(\"process\");\nvar $6OClt$url = require(\"url\");\nvar $6OClt$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($6OClt$os);\n\nconst $6f5a6808698f288d$var$path = $6f5a6808698f288d$var$__importStar($6OClt$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($6OClt$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($6OClt$fs);\n\nconst $46026cc01e4b16be$var$os = $46026cc01e4b16be$var$__importStar($6OClt$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($6OClt$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($6OClt$http);\n\nconst $f95771efec57d8f7$var$https = $f95771efec57d8f7$var$__importStar($6OClt$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(\"2LecT\"));\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 = $6OClt$http.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 = $6OClt$https.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 || $6OClt$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$6OClt$util.inherits($c159194268ce8bad$var$TunnelingAgent, $6OClt$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 = $6OClt$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(\"2LecT\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./proxy-agent.52c85c82.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 } = $6OClt$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, $6OClt$fs.constants.R_OK | $6OClt$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($6OClt$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($6OClt$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 $6OClt$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($6OClt$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 $6OClt$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($6OClt$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 = $6OClt$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 } = $6OClt$fs.promises;\nconst $5873751dcaaa8049$export$a1f77f18af3aebd5 = \"rm\" in $6OClt$fs.promises ? $6OClt$fs.promises.rm : (0, $6OClt$util.promisify)($6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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\", () => $6OClt$path.dirname);\n$parcel$export(module.exports, \"join\", () => $6OClt$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, $6OClt$path.basename)(e) : (0, $6OClt$path.basename)(e, (0, $6OClt$path.extname)(e));\n}\nfunction $c4a4e66c88c6a351$export$873fead74fe2f1ff(e) {\n return (0, $6OClt$path.normalize)(e).replace(RegExp((0, $9ag04.default)((0, $6OClt$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, $6OClt$path.extname)(e), s = `${a}${(0, $6OClt$path.basename)(e, r)}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $6OClt$path.extname)(e), s = `${(0, $6OClt$path.basename)(e, r)}${a}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$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, $6OClt$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, $6OClt$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $6OClt$path.sep)) || r === (0, $6OClt$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 = $6OClt$path.basename(npath, $6OClt$path.extname(npath)) + ext;\n var nFilepath = $6OClt$path.join($6OClt$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 \".\" + $6OClt$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $693720bda980a8cc$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $6OClt$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($6OClt$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 $6OClt$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($6OClt$fs);\n\nconst $a6b97397ae88c6aa$var$path = $a6b97397ae88c6aa$var$__importStar($6OClt$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 = $6OClt$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 = $6OClt$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $6OClt$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 ($6OClt$fs.existsSync(lsbReleaseFile)) contents = $6OClt$fs.readFileSync(lsbReleaseFile).toString();\n else if ($6OClt$fs.existsSync(osReleaseFile)) contents = $6OClt$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 $6OClt$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 $6OClt$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $6OClt$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($6OClt$os);\n\nconst $df78fb148e5cacf0$var$events = $df78fb148e5cacf0$var$__importStar($6OClt$events);\n\nconst $df78fb148e5cacf0$var$child = $df78fb148e5cacf0$var$__importStar($6OClt$child_process);\n\nconst $df78fb148e5cacf0$var$path = $df78fb148e5cacf0$var$__importStar($6OClt$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 = $6OClt$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(\"8Rlq7\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.60e051e1.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\nparcelRegister(\"g7Ve0\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./hdi.647acde1.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 = $6OClt$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 = $6OClt$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 ? $6OClt$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 = $6OClt$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 = $6OClt$fs.openSync(command, \"r\");\n $6OClt$fs.readSync(fd, buffer, 0, size, 0);\n $6OClt$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 = $6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$nodeprocess))).cwd(), path: pathOption = (0, ($parcel$interopDefault($6OClt$nodeprocess))).env[(0, $ac6213fd5778797d$export$2e2bcd8739ae039)()], preferLocal: preferLocal = true, execPath: execPath = (0, ($parcel$interopDefault($6OClt$nodeprocess))).execPath, addExecPath: addExecPath = true } = {})=>{\n const cwdString = cwd instanceof URL ? (0, $6OClt$nodeurl.fileURLToPath)(cwd) : cwd;\n const cwdPath = (0, ($parcel$interopDefault($6OClt$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($6OClt$nodepath))).delimiter);\n};\nconst $eaf8420dc1d50455$var$applyPreferLocal = (result, cwdPath)=>{\n let previous;\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$nodeurl.fileURLToPath)(execPath) : execPath;\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).resolve(cwdPath, execPathString, \"..\"));\n};\nconst $eaf8420dc1d50455$export$340e1fbaac04248b = ({ env: env = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$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, $6OClt$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $d7ebb04b4e65e48e$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $6OClt$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 = $6OClt$buffer.constants;\n\n\nvar $51bb95e1718a9e99$require$promisify = $6OClt$util.promisify;\nvar $4d91ceac3d29e594$exports = {};\n\"use strict\";\n\nvar $4d91ceac3d29e594$require$PassThroughStream = $6OClt$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($6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($6OClt$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($6OClt$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$path.join;\nvar $656be56138103b68$require$delimiter = $6OClt$path.delimiter;\nvar $656be56138103b68$require$sep = $6OClt$path.sep;\nvar $656be56138103b68$require$posix = $6OClt$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($6OClt$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, $6OClt$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $6OClt$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $6OClt$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, $6OClt$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 = $6OClt$os.platform() !== \"win32\";\nconst $ff873c95cf07adf2$var$version = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$process.env.npm_package_json;\nvar $4fe3cd2ecda1db90$var$userAgent = $6OClt$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 = $6OClt$os.homedir();\nvar $4fe3cd2ecda1db90$var$configDir = process.env.XDG_CONFIG_HOME || $6OClt$path.join($4fe3cd2ecda1db90$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $4fe3cd2ecda1db90$var$getConfigFile = function(packageName) {\n return $6OClt$path.join($4fe3cd2ecda1db90$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $4fe3cd2ecda1db90$var$createConfigDir = function() {\n if (!$6OClt$fs.existsSync($4fe3cd2ecda1db90$var$configDir)) $6OClt$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 (!$6OClt$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($6OClt$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 $6OClt$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 $6OClt$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($6OClt$fs);\n\n\nvar $4d675a29776046a6$var$path = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$path);\n\nvar $4d675a29776046a6$var$http = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$http);\n\nvar $4d675a29776046a6$var$https = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$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 $6OClt$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 $6OClt$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 $6OClt$url.URL(this.requestURL).pathname).length ? c = $4d675a29776046a6$var$path.basename(new $6OClt$url.URL(this.requestURL).pathname) : c = new $6OClt$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 $6OClt$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}($6OClt$events.EventEmitter);\n\n\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nconst { appendFile: $55703262513e8a67$var$appendFile } = (0, $6OClt$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\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(apt, packages) {\n return (await Promise.all(packages.map((pack)=>$fd3ace85be502365$var$qualifiedNeededAptPackage(apt, pack)))).filter((pack)=>pack !== undefined);\n}\nasync function $fd3ace85be502365$var$qualifiedNeededAptPackage(apt, pack) {\n // Qualify the packages into full package name/version\n const qualified = await $fd3ace85be502365$var$getAptArg(apt, pack.name, pack.version);\n // filter out the packages 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)(apt, [\n {\n name: \"ca-certificates\"\n },\n {\n name: \"gnupg\"\n },\n {\n name: \"apt-utils\"\n }\n ]);\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)(apt, packages);\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, $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$os.tmpdir)(), fileName);\n const dl = new (0, $4d675a29776046a6$exports.DownloaderHelper)(keyUrl, (0, $6OClt$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/* 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, $6OClt$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, $6OClt$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\nlet $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, $6OClt$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 = $6OClt$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($6OClt$fs);\n\nconst $b6359893e987d0a9$var$mm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"ktIRP\")));\n\nconst $b6359893e987d0a9$var$os = $b6359893e987d0a9$var$__importStar($6OClt$os);\n\nconst $b6359893e987d0a9$var$path = $b6359893e987d0a9$var$__importStar($6OClt$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($6OClt$stream);\n\nconst $b6359893e987d0a9$var$util = $b6359893e987d0a9$var$__importStar($6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_MAC, \"extractXar() not supported on current OS\");\n $6OClt$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 $6OClt$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 $6OClt$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, $6OClt$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $ceI0e.join)((0, $6OClt$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, $6OClt$os.tmpdir)(), `${Date.now()}-${(0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $6OClt$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $d1360c07373ce87f$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.resolve)(path);\n if ($d1995f79f946ef1b$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $6OClt$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, $6OClt$fs.mkdirSync);\nconst $47b88f304ce53f29$export$875f149e5ea533c1 = Object.assign(!$47b88f304ce53f29$var$hasNative ? ()=>false : (opts)=>(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts).mkdir === (0, $6OClt$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, $6OClt$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, $6OClt$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}\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: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\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($6OClt$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(\"8Rlq7\"));\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, $6OClt$path.parse)((0, $6OClt$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 $6OClt$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($6OClt$os))) && typeof (0, ($parcel$interopDefault($6OClt$os))).version === \"function\")) return null;\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($6OClt$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($6OClt$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(\"g7Ve0\"));\n const dmg = new ArchiveHdi(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $6OClt$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\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\n\n\n\n\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $6OClt$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $bd769018416dc7f2$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $bd769018416dc7f2$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\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/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\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)()) 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 } else {\n (0, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) 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 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(version, 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 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$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 = $6OClt$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 = $6OClt$process.env[\"ProgramFiles(x86)\"];\nconst $02d923838c94048f$var$PROGRAM_FILES = [\n $6OClt$process.env[\"ProgramFiles(x86)\"],\n $6OClt$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 = $6OClt$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 && $6OClt$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 ($6OClt$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 ($6OClt$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 ($6OClt$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 $6OClt$process.env.PATH += $6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$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, $6OClt$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 = $6OClt$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, $6OClt$path.delimiter)}${ld}`, (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $6OClt$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 = $6OClt$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\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 // https://gitlab.com/volian/nala/-/wikis/Installation\n const keyFileName = await (0, $99405a7b584f25ed$export$118a136d06dbf4dc)({\n fileName: \"volian-archive-nala.gpg\",\n keyUrl: \"https://deb.volian.org/volian/nala.key\"\n });\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main\" | tee /etc/apt/sources.list.d/volian-archive-nala.list`\n ]);\n try {\n if (version !== \"legacy\") await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $24fc56c48fbaa7ba$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\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, $6OClt$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, $6OClt$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $6OClt$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, $6OClt$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.52c85c82.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.60e051e1.js\"))).then(() => parcelRequire('4kQHk'));","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"hdi.647acde1.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\"\n/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\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(apt, packages)\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(apt, [\n { name: \"ca-certificates\" },\n { name: \"gnupg\" },\n { name: \"apt-utils\" },\n ])\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 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(apt: string, packages: AptPackage[]) {\n return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(apt, pack))))\n .filter((pack) => pack !== undefined)\n}\n\nasync function qualifiedNeededAptPackage(apt: string, pack: AptPackage) {\n // Qualify the packages into full package name/version\n const qualified = await getAptArg(apt, pack.name, pack.version)\n // filter out the packages 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","// 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\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 { info, warning } from \"ci-log\"\nimport type { ExecaReturnValue } from \"execa\"\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 { 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\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url:\n `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string, 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 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 } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n 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 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(version: 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 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 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 { 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 { execRootSync } from \"admina\"\nimport { dirname } from \"patha\"\nimport { addAptKeyViaURL, hasNala, installAptPack } 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 // https://gitlab.com/volian/nala/-/wikis/Installation\n const keyFileName = await addAptKeyViaURL({\n fileName: \"volian-archive-nala.gpg\",\n keyUrl: \"https://deb.volian.org/volian/nala.key\",\n })\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main\" | tee /etc/apt/sources.list.d/volian-archive-nala.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await installAptPack([{ name: \"nala\" }], true)\n } else {\n await installAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await installAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\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,C+C1DAC,CAAA,C9DJAC,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,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W,CAAAF,CAAA,CACpBC,CAAA,CAASuoC,GAAG,CAAC,OAAO3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EACrCD,CAAA,CAASuoC,GAAG,CAAC,YAAY3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GwBxBiD,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,EAGKuhB,EAAA,CAA6B,GAAI,CAAA7X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E+X,EAAA,CAAqB,GAAI,CAAA/X,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,EAOKgY,EAAA,CAAiC,GAAI,CAAAkmB,GAAA,GAQrC/lB,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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s","a","u","Promise","TypeError","rX","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rq","sync","command","path","rz","pathExt","iz","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i6","file","original","h","rB","ry","spawn","rZ","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r8","getBufferedLength","r3","MAX_LENGTH","bufferedData","getBufferedValue","oQ","on","oZ","E","sg","so","ss","sm","oz","c","rx","ChildProcess","st","reject","ow","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","sr","l","oX","oW","kill","oF","bind","cancel","oq","r0","exitCode","signal","o5","sy","aborted","failed","o3","o6","oJ","w","o2","spawnSync","input","status","_","stdio","ne","nothrow","b","getuid","CI","x","sF","sa","O","S","R","join","map","I","SUDO_USER","iW","statSync","isDirectory","T","iX","homedir","replace","sM","P","guard","rcPath","N","A","rF","warning","nF","pathExists","sB","includes","sG","info","$","Set","split","sH","C","escapeSpace","overwrite","sq","nM","nG","rU","GITHUB_ACTIONS","rM","exportVariable","L","sV","sK","k","sJ","some","test","PATH","addPath","D","sY","j","next","throw","done","value","then","apply","U","return","call","label","ops","pop","trys","length","push","sent","Symbol","iterator","F","nX","pkg","ie","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","sQ","V","DEBIAN_FRONTEND","LANG","LC_ALL","X","z","W","startsWith","K","Y","J","filter","Z","name","version","Q","iu","trim","s0","s1","ee","sZ","et","s2","er","clear","en","ei","binDir","eo","s4","flatMap","repository","key","ea","es","keyServer","s6","fileName","keyStorePath","ec","el","keyUrl","s3","tmpdir","it","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s8","ed","eh","em","ev","id","SystemRoot","ALLUSERSPROFILE","li","ChocolateyInstall","eg","s7","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","s5","s9","eb","matchAll","ae","ex","ao","as","eP","an","existsSync","readdirSync","eI","eR","eN","ap","ar","mkdirP","eO","al","clean","at","debug","rmRF","eS","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rm","ok","RUNNER_TEMP","eA","rC","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","av","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eU","eF","eM","iN","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","iv","installDir","eB","eq","eH","nr","chmod","iP","now","basename","downloadTool","rs","CACHE_TOOLS","cacheDir","eV","ih","im","addExeExt","eX","ez","iJ","request","method","statusCode","end","eW","from","iL","localeCompare","eK","iC","has","JSON","stringify","eY","a$","ix","getExecOutput","console","eJ","eQ","eZ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e3","setupActionsPython","rD","e4","e6","parse","root","readdir","aL","python","e7","e9","e5","pip","te","tt","tr","tn","ak","Number","parseInt","aC","ti","execFile","encoding","shell","to","ts","iD","getUbuntuVersion","ta","aM","user","td","PIPX_HOME","aU","PIPX_BIN_DIR","aF","aD","th","tu","aA","tp","tf","aj","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aB","notice","tR","tO","aH","releaseName","fileSuffix","tS","tT","tP","tI","ij","tN","iU","tA","t$","tC","tL","tk","tD","iF","tj","tU","values","aQ","tF","execSync","entries","aJ","aK","aY","aW","tM","iB","tG","a0","startGroup","milliseconds","fallback","customTimers","sign","az","addEventListener","POSITIVE_INFINITY","aq","finally","tB","endGroup","lt","ra","tH","readFile","tq","NODE_DEBUG","tV","writeFile","r$","tX","tz","tW","a2","tK","a4","a3","get","a1","a6","a8","tY","tJ","a7","t2","tQ","tZ","t4","a9","iH","All","ik","a5","t0","t1","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iq","t3","t6","iM","iG","t8","iV","t7","t5","t9","re","rt","arm64","arm","arm32","aarch64","x64","rr","rn","ri","ro","le","addShExt","addShRelativePrefix","getInput","toLowerCase","rl","compiler","rc","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","ln","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nq","create","autoloadLocales","addLocale","nV","nB","nH","cppcheck","gcovr","lr","isCI","parseFloat","format","success","ru","rp","rf","rW","rK","r2","r6","r7","r9","ni","no","ns","na","n_","nb","nO","nP","nN","nA","nC","nL","nk","nD","nj","nU","nW","nK","nY","nJ","nQ","nZ","n0","n1","n2","n4","n3","n6","n8","n7","n5","n9","ir","ii","io","is","ia","il","ic","i$","any","every","defineProperty","exports","constant","isPR","forEach","pr","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","iY","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","rd","connect","localAddress","arguments","defaultPort","rv","inherits","rh","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rj","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","rg","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","compare","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","rE","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","rw","HandleTimeout","OSTYPE","iZ","iQ","rV","TESTING_WINDOWS","i0","i1","colon","pathEnv","pathExtExe","i2","i4","rH","rY","rJ","rQ","openSync","readSync","closeSync","i3","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rG","_parse","_enoent","i8","rR","preferLocal","execPath","addExecPath","rO","fileURLToPath","rb","i7","i5","i9","oe","ot","or","getPrototypeOf","oi","oo","os","oa","WeakMap","ol","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","oc","of","op","ou","number","action","description","standard","od","forced","oh","om","signals","rS","supported","ov","og","oy","oE","errorCode","signalDescription","Boolean","originalMessage","shortMessage","o_","ob","ox","oR","reallyExit","pid","oO","oS","oI","oT","oP","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oN","oC","o$","oj","r1","equal","oL","alwaysLast","unload","oA","oU","oD","load","oM","oG","oH","forceKillAfterTimeout","oB","SIGTERM","oV","killSignal","race","cleanup","detached","oK","oY","createWriteStream","pipeStdout","pipeStderr","pipeAll","rI","rT","PassThrough","array","objectMode","setEncoding","pipeline","r4","buffer","MaxBufferError","r5","readable","isEmpty","o0","o1","inputFile","o4","createReadStream","o8","o7","o9","se","sn","si","sl","r_","isBuffer","sc","su","templates","expressions","template","sp","sf","rP","debuglog","enabled","sd","padStart","sh","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sv","localDir","stripFinalNewline","windowsHide","sE","sw","s_","sx","sb","sR","groups","getgroups","sO","sT","sS","sI","sP","_ISEXE_TEST_PLATFORM_","nn","nt","sN","isexe","sA","posix","s$","sC","sL","source","sk","sD","sj","sU","nu","np","function","object","nE","nw","captureStackTrace","ng","ny","nI","nT","nS","nd","n$","nv","normalizer","resolvers","nx","profileName","updateEnv","__memoized__","nR","_get","_has","nf","nm","nh","__profiler__","nl","nc","primitive","sX","sz","release","sW","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","nz","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","rA","__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","ip","iw","ai","aa","ac","au","ib","af","iI","iR","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","ad","httpStatusCode","new","target","HTTPError","ah","am","i_","authorization","statusMessage","extract7z","ig","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iA","ag","fs","mkdirAsync","statAsync","ay","aE","aw","a_","ab","ax","aR","__TESTING_MKDIRP_PLATFORM__","aO","aS","__TESTING_MKDIRP_NODE_VERSION__","aI","aT","aP","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","aG","aV","aX","DOMException","reason","ProgramFiles","aZ","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-89fc9e4163122721.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-5045a0aeaecad42e.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-8b8f350e81d90511.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/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 $6OClt$os = require(\"os\");\nvar $6OClt$path = require(\"path\");\nvar $6OClt$fs = require(\"fs\");\nvar $6OClt$crypto = require(\"crypto\");\nvar $6OClt$http = require(\"http\");\nvar $6OClt$https = require(\"https\");\nrequire(\"net\");\nvar $6OClt$tls = require(\"tls\");\nvar $6OClt$events = require(\"events\");\nvar $6OClt$assert = require(\"assert\");\nvar $6OClt$util = require(\"util\");\nvar $6OClt$nodefs = require(\"node:fs\");\nvar $6OClt$child_process = require(\"child_process\");\nvar $6OClt$string_decoder = require(\"string_decoder\");\nvar $6OClt$timers = require(\"timers\");\nvar $6OClt$nodebuffer = require(\"node:buffer\");\nvar $6OClt$nodepath = require(\"node:path\");\nvar $6OClt$nodechild_process = require(\"node:child_process\");\nvar $6OClt$nodeprocess = require(\"node:process\");\nvar $6OClt$nodeurl = require(\"node:url\");\nvar $6OClt$nodeos = require(\"node:os\");\nvar $6OClt$buffer = require(\"buffer\");\nvar $6OClt$stream = require(\"stream\");\nvar $6OClt$nodeutil = require(\"node:util\");\nvar $6OClt$process = require(\"process\");\nvar $6OClt$url = require(\"url\");\nvar $6OClt$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($6OClt$os);\n\nconst $6f5a6808698f288d$var$path = $6f5a6808698f288d$var$__importStar($6OClt$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($6OClt$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($6OClt$fs);\n\nconst $46026cc01e4b16be$var$os = $46026cc01e4b16be$var$__importStar($6OClt$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($6OClt$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($6OClt$http);\n\nconst $f95771efec57d8f7$var$https = $f95771efec57d8f7$var$__importStar($6OClt$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(\"2LecT\"));\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 = $6OClt$http.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 = $6OClt$https.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 || $6OClt$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$6OClt$util.inherits($c159194268ce8bad$var$TunnelingAgent, $6OClt$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 = $6OClt$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(\"2LecT\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./proxy-agent.52c85c82.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 } = $6OClt$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, $6OClt$fs.constants.R_OK | $6OClt$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($6OClt$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($6OClt$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 $6OClt$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($6OClt$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 $6OClt$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($6OClt$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 = $6OClt$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 } = $6OClt$fs.promises;\nconst $5873751dcaaa8049$export$a1f77f18af3aebd5 = \"rm\" in $6OClt$fs.promises ? $6OClt$fs.promises.rm : (0, $6OClt$util.promisify)($6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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\", () => $6OClt$path.dirname);\n$parcel$export(module.exports, \"join\", () => $6OClt$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, $6OClt$path.basename)(e) : (0, $6OClt$path.basename)(e, (0, $6OClt$path.extname)(e));\n}\nfunction $c4a4e66c88c6a351$export$873fead74fe2f1ff(e) {\n return (0, $6OClt$path.normalize)(e).replace(RegExp((0, $9ag04.default)((0, $6OClt$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, $6OClt$path.extname)(e), s = `${a}${(0, $6OClt$path.basename)(e, r)}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $6OClt$path.extname)(e), s = `${(0, $6OClt$path.basename)(e, r)}${a}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$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, $6OClt$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, $6OClt$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $6OClt$path.sep)) || r === (0, $6OClt$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 = $6OClt$path.basename(npath, $6OClt$path.extname(npath)) + ext;\n var nFilepath = $6OClt$path.join($6OClt$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 \".\" + $6OClt$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $693720bda980a8cc$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $6OClt$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($6OClt$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 $6OClt$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($6OClt$fs);\n\nconst $a6b97397ae88c6aa$var$path = $a6b97397ae88c6aa$var$__importStar($6OClt$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 = $6OClt$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 = $6OClt$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $6OClt$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 ($6OClt$fs.existsSync(lsbReleaseFile)) contents = $6OClt$fs.readFileSync(lsbReleaseFile).toString();\n else if ($6OClt$fs.existsSync(osReleaseFile)) contents = $6OClt$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 $6OClt$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 $6OClt$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $6OClt$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($6OClt$os);\n\nconst $df78fb148e5cacf0$var$events = $df78fb148e5cacf0$var$__importStar($6OClt$events);\n\nconst $df78fb148e5cacf0$var$child = $df78fb148e5cacf0$var$__importStar($6OClt$child_process);\n\nconst $df78fb148e5cacf0$var$path = $df78fb148e5cacf0$var$__importStar($6OClt$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 = $6OClt$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(\"8Rlq7\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.60e051e1.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\nparcelRegister(\"g7Ve0\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./hdi.647acde1.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 = $6OClt$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 = $6OClt$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 ? $6OClt$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 = $6OClt$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 = $6OClt$fs.openSync(command, \"r\");\n $6OClt$fs.readSync(fd, buffer, 0, size, 0);\n $6OClt$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 = $6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$nodeprocess))).cwd(), path: pathOption = (0, ($parcel$interopDefault($6OClt$nodeprocess))).env[(0, $ac6213fd5778797d$export$2e2bcd8739ae039)()], preferLocal: preferLocal = true, execPath: execPath = (0, ($parcel$interopDefault($6OClt$nodeprocess))).execPath, addExecPath: addExecPath = true } = {})=>{\n const cwdString = cwd instanceof URL ? (0, $6OClt$nodeurl.fileURLToPath)(cwd) : cwd;\n const cwdPath = (0, ($parcel$interopDefault($6OClt$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($6OClt$nodepath))).delimiter);\n};\nconst $eaf8420dc1d50455$var$applyPreferLocal = (result, cwdPath)=>{\n let previous;\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$nodeurl.fileURLToPath)(execPath) : execPath;\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).resolve(cwdPath, execPathString, \"..\"));\n};\nconst $eaf8420dc1d50455$export$340e1fbaac04248b = ({ env: env = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$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, $6OClt$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $d7ebb04b4e65e48e$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $6OClt$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 = $6OClt$buffer.constants;\n\n\nvar $51bb95e1718a9e99$require$promisify = $6OClt$util.promisify;\nvar $4d91ceac3d29e594$exports = {};\n\"use strict\";\n\nvar $4d91ceac3d29e594$require$PassThroughStream = $6OClt$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($6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($6OClt$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($6OClt$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$path.join;\nvar $656be56138103b68$require$delimiter = $6OClt$path.delimiter;\nvar $656be56138103b68$require$sep = $6OClt$path.sep;\nvar $656be56138103b68$require$posix = $6OClt$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($6OClt$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, $6OClt$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $6OClt$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $6OClt$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, $6OClt$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 = $6OClt$os.platform() !== \"win32\";\nconst $ff873c95cf07adf2$var$version = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$process.env.npm_package_json;\nvar $4fe3cd2ecda1db90$var$userAgent = $6OClt$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 = $6OClt$os.homedir();\nvar $4fe3cd2ecda1db90$var$configDir = process.env.XDG_CONFIG_HOME || $6OClt$path.join($4fe3cd2ecda1db90$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $4fe3cd2ecda1db90$var$getConfigFile = function(packageName) {\n return $6OClt$path.join($4fe3cd2ecda1db90$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $4fe3cd2ecda1db90$var$createConfigDir = function() {\n if (!$6OClt$fs.existsSync($4fe3cd2ecda1db90$var$configDir)) $6OClt$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 (!$6OClt$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($6OClt$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 $6OClt$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 $6OClt$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($6OClt$fs);\n\n\nvar $4d675a29776046a6$var$path = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$path);\n\nvar $4d675a29776046a6$var$http = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$http);\n\nvar $4d675a29776046a6$var$https = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$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 $6OClt$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 $6OClt$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 $6OClt$url.URL(this.requestURL).pathname).length ? c = $4d675a29776046a6$var$path.basename(new $6OClt$url.URL(this.requestURL).pathname) : c = new $6OClt$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 $6OClt$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}($6OClt$events.EventEmitter);\n\n\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nconst { appendFile: $55703262513e8a67$var$appendFile } = (0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$os.tmpdir)(), fileName);\n const dl = new (0, $4d675a29776046a6$exports.DownloaderHelper)(keyUrl, (0, $6OClt$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, $6OClt$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, $6OClt$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\nlet $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, $6OClt$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 = $6OClt$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($6OClt$fs);\n\nconst $b6359893e987d0a9$var$mm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"ktIRP\")));\n\nconst $b6359893e987d0a9$var$os = $b6359893e987d0a9$var$__importStar($6OClt$os);\n\nconst $b6359893e987d0a9$var$path = $b6359893e987d0a9$var$__importStar($6OClt$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($6OClt$stream);\n\nconst $b6359893e987d0a9$var$util = $b6359893e987d0a9$var$__importStar($6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_MAC, \"extractXar() not supported on current OS\");\n $6OClt$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 $6OClt$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 $6OClt$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, $6OClt$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $ceI0e.join)((0, $6OClt$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, $6OClt$os.tmpdir)(), `${Date.now()}-${(0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $6OClt$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $d1360c07373ce87f$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.resolve)(path);\n if ($d1995f79f946ef1b$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $6OClt$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, $6OClt$fs.mkdirSync);\nconst $47b88f304ce53f29$export$875f149e5ea533c1 = Object.assign(!$47b88f304ce53f29$var$hasNative ? ()=>false : (opts)=>(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts).mkdir === (0, $6OClt$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, $6OClt$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, $6OClt$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}\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: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\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($6OClt$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(\"8Rlq7\"));\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, $6OClt$path.parse)((0, $6OClt$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 $6OClt$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($6OClt$os))) && typeof (0, ($parcel$interopDefault($6OClt$os))).version === \"function\")) return null;\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($6OClt$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($6OClt$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(\"g7Ve0\"));\n const dmg = new ArchiveHdi(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $6OClt$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\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\n\n\n\n\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $6OClt$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $bd769018416dc7f2$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $bd769018416dc7f2$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\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/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\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)()) 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 } else {\n (0, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) 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 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(version, 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 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$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 = $6OClt$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 = $6OClt$process.env[\"ProgramFiles(x86)\"];\nconst $02d923838c94048f$var$PROGRAM_FILES = [\n $6OClt$process.env[\"ProgramFiles(x86)\"],\n $6OClt$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 = $6OClt$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 && $6OClt$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 ($6OClt$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 ($6OClt$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 ($6OClt$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 $6OClt$process.env.PATH += $6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$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, $6OClt$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 = $6OClt$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, $6OClt$path.delimiter)}${ld}`, (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $6OClt$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, $6OClt$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.52c85c82.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.60e051e1.js\"))).then(() => parcelRequire('4kQHk'));","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"hdi.647acde1.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\"\n/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\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","// 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\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 { info, warning } from \"ci-log\"\nimport type { ExecaReturnValue } from \"execa\"\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 { 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\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url:\n `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string, 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 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 } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n 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 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(version: 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 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 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 { 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,C+CtDAC,CAAA,C9DRAC,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,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I3J,CAAA,EAEzB,IAAK,GAAM,CAAAE,CAAA,GAAW,CAAAF,CAAA,CACpBC,CAAA,CAASuoC,GAAG,CAAC,OAAO3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EACrCD,CAAA,CAASuoC,GAAG,CAAC,YAAY3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GwBxBiD,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,EAGKuhB,EAAA,CAA6B,GAAI,CAAA7X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E+X,EAAA,CAAqB,GAAI,CAAA/X,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,EAOKgY,EAAA,CAAiC,GAAI,CAAAkmB,GAAA,GAQrC/lB,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,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file diff --git a/dist/legacy/setup-cpp.js b/dist/legacy/setup-cpp.js index b90653e3..8be3d367 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);});});}rz(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=rH.sync(e.command,{path:n[rV({env:n})],pathExt:t?iV.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iV.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 i4&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rG(e,t,r),i=rg.spawn(n.command,n.args,n.options);return rZ.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=r6(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r3.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oJ(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oZ());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sv(e,t,r),o=si(e,t),s=so(e,t);sh(s,i.options),oV(i.options);try{n=c(rb).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rb).ChildProcess)();return se(e,Promise.reject(oE({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=st(n),l=oz(n,i.options,a),u=oX(n,i.options,l),p={isCanceled:!1};n.kill=oF.bind(null,n.kill.bind(n)),n.cancel=oH.bind(null,n,p);let f=rQ(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await o5(n,i.options,u),d=sg(i.options,l),h=sg(i.options,c),m=sg(i.options,f);if(e||0!==t||null!==r){let l=oE({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 o3(n,i.options),n.all=o4(n,i.options),oK(n),se(n,f),n;}function w(e,t,r){let n;let i=sv(e,t,r),o=si(e,t),s=so(e,t);sh(s,i.options);let a=o1(i.options);try{n=c(rb).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw oE({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sg(i.options,n.stdout,n.error),u=sg(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=oE({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(r7).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(r7).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(r7).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sF){return b()?function(e,t){let[r,...n]=ss(e);return w(r,n,t);}(O(e,t),r):w(e,R(t),r);}function S(e,t=[],r=sF){return b()?function(e,t){let[r,...n]=ss(e);return E(r,n,t);}(O(e,t),r):E(e,R(t),r);}function O(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(iX).statSync(e).isDirectory();await S("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sF);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iV.join)("/Users/",process.env.SUDO_USER):(0,iV.join)("/home/",process.env.SUDO_USER);{let e=(0,iz.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sU,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);});});}rV(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=rq.sync(e.command,{path:n[rX({env:n})],pathExt:t?iX.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iX.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 i6&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rB(e,t,r),i=ry.spawn(n.command,n.args,n.options);return rQ.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=r8(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r4.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oZ(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oQ());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sg(e,t,r),o=so(e,t),s=ss(e,t);sm(s,i.options),oX(i.options);try{n=c(rx).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rx).ChildProcess)();return st(e,Promise.reject(ow({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=sr(n),l=oV(n,i.options,a),u=oW(n,i.options,l),p={isCanceled:!1};n.kill=oU.bind(null,n.kill.bind(n)),n.cancel=oq.bind(null,n,p);let f=r0(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await o9(n,i.options,u),d=sy(i.options,l),h=sy(i.options,c),m=sy(i.options,f);if(e||0!==t||null!==r){let l=ow({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 o4(n,i.options),n.all=o6(n,i.options),oJ(n),st(n,f),n;}function w(e,t,r){let n;let i=sg(e,t,r),o=so(e,t),s=ss(e,t);sm(s,i.options);let a=o2(i.options);try{n=c(rx).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ow({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sy(i.options,n.stdout,n.error),u=sy(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ow({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(ne).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(ne).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(ne).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sU){return b()?function(e,t){let[r,...n]=sa(e);return w(r,n,t);}(O(e,t),r):w(e,R(t),r);}function S(e,t=[],r=sU){return b()?function(e,t){let[r,...n]=sa(e);return E(r,n,t);}(O(e,t),r):E(e,R(t),r);}function O(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(iW).statSync(e).isDirectory();await S("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sU);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iX.join)("/Users/",process.env.SUDO_USER):(0,iX.join)("/home/",process.env.SUDO_USER);{let e=(0,iV.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sM,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,rF.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([N(e),A(t,T("~/.bashrc")),A(t,T("~/.profile"))]);}catch(e){(0,rU.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":` # Automatically Generated by envosman ${e.guard} export SOURCE_${e.guard.toUpperCase()}RC=0 -`;(await(0,nF.pathExists)(e.rcPath))&&!(await sG(e.rcPath,"utf8")).includes(t)&&(await sM(e.rcPath,` +`;(await(0,nU.pathExists)(e.rcPath))&&!(await sB(e.rcPath,"utf8")).includes(t)&&(await sG(e.rcPath,` ${t} -`),(0,rF.info)(`Added ${t} to ${e.rcPath}`));}async function A(e,t){(await(0,nF.pathExists)(t))&&!(await sG(t,"utf-8")).includes(e)&&(await sM(t,e),(0,rF.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nF.pathExists)(e.rcPath)){let t=[...new Set((await sG(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sB(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sH,...r},i=function(e,t=!1){let r=t?c(nU)(e):e;return c(nM)(r,'"',"\\");}(null!=t?t:"",n.escapeSpace);try{if(rj.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rF.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rU.exportVariable)(e,i);}catch(t){(0,rF.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rF.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,rF.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rF.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sq(r),r.overwrite?(await sW(r.rcPath,` +`),(0,rU.info)(`Added ${t} to ${e.rcPath}`));}async function A(e,t){(await(0,nU.pathExists)(t))&&!(await sB(t,"utf-8")).includes(e)&&(await sG(t,e),(0,rU.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nU.pathExists)(e.rcPath)){let t=[...new Set((await sB(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sH(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sq,...r},i=function(e,t=!1){let r=t?c(nM)(e):e;return c(nG)(r,'"',"\\");}(null!=t?t:"",n.escapeSpace);try{if(rF.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rU.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rM.exportVariable)(e,i);}catch(t){(0,rU.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rU.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,rU.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rU.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sz(r),r.overwrite?(await sY(r.rcPath,` export ${e}="${n}" -`),(0,rF.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sW(r.rcPath,` +`),(0,rU.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sY(r.rcPath,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi -`),(0,rF.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:sH,...t};if(!function(e){if(sK.some(t=>t.test(e))){var t,r;return(null!==(r=null===(t=process.env.PATH)||void 0===t?void 0:t.split(iV.delimiter))&&void 0!==r?r:[]).includes(e);}return!1;}(e)){process.env.PATH=`${e}${iV.delimiter}${process.env.PATH}`;try{if(rj.GITHUB_ACTIONS)try{(0,rU.addPath)(e);}catch(t){(0,rF.error)(t),await D(e,r);}else await D(e,r);}catch(t){(0,rF.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,rF.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sq(t),await sY(t.rcPath,` +`),(0,rU.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:sq,...t};if(!function(e){if(sJ.some(t=>t.test(e))){var t,r;return(null!==(r=null===(t=process.env.PATH)||void 0===t?void 0:t.split(iX.delimiter))&&void 0!==r?r:[]).includes(e);}return!1;}(e)){process.env.PATH=`${e}${iX.delimiter}${process.env.PATH}`;try{if(rF.GITHUB_ACTIONS)try{(0,rM.addPath)(e);}catch(t){(0,rU.error)(t),await D(e,r);}else await D(e,r);}catch(t){(0,rU.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,rU.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sz(t),await sK(t.rcPath,` export PATH="${e}:$PATH" -`),(0,rF.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 K(e,t){return(await Promise.all(t.map(t=>J(e,t)))).filter(e=>void 0!==e);}async function J(e,t){let r=await Q(e,t.name,t.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,ic.default)(t)}-${(0,ic.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 sQ?3:(s0(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,rF.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){s0(e);let t=await K(e,[{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}]);0!==t.length&&x(e,["install","-y","--fix-broken","-o",sZ,...t],{...sF,env:z(e)});}async function et(e,t=X()){await s1(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sF,env:z(t)}),s0.clear(),s0(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",sZ,"software-properties-common"],{...sF,env:z(e)});}async function en(e,t=!1){let r=X();for(let{name:t,version:n}of e)(0,rF.info)(`Installing ${t} ${null!=n?n:""} via ${r}`);t&&s0(r),await ei(r,e);let n=await K(r,e);if(0===n.length)return(0,rF.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s1(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sF,env:z(r)});}catch(e){if("string"==typeof e.stderr)s2.some(t=>e.stderr.includes(t))&&((0,rF.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",sZ,...n],{...sF,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=s4,fileName:r,keyStorePath:n=s4}){try{ec(r);let i=(0,iV.join)(n,r);return(await(0,nF.pathExists)(i))||(el(),await S("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+i,"--keyserver",t,"--recv-keys",e]),await S("chmod",["644",i])),i;}catch(e){(0,rF.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s3}){try{ec(t);let n=(0,iV.join)(r,t);if(!(await(0,nF.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iV.join)((0,iz.tmpdir)(),t),i=new ie.DownloaderHelper(e,(0,iz.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,rF.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(r7)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iV.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new ie.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iz.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,rF.info)(`Installing ${e} ${null!=t?t:""} via brew`),s6&&null!==c(r7).sync("brew",{nothrow:!0})||(await eu(),s6=!0);let i=ep(),o=(0,iV.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(r7).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(r7).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(r7).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(r7).sync("choco",{nothrow:!0});if(null!==o)return{binDir:r=(0,ip.dirname)(o)};let s="powershell.exe",a=c(r7).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,ln);let u=c(r7).sync("choco",{nothrow:!0});if(r=null!==u?(0,ip.dirname)(u):`${null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey"}/bin`,await(0,nF.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){var n;(0,rF.info)(`Installing ${e} ${null!=t?t:""} via chocolatey`),s8&&null!==c(r7).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s8=!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,rF.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,ln),{binDir:s};}async function ey(e){for(let{name:t,version:r}of e)(0,rF.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,rF.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,rF.info)(`Installing ${e} ${null!=t?t:""} via pacman`);let n="pacman";if("yay"===r&&null===c(r7).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s5||"yay"===r||(x(n,["-Sy","--noconfirm"]),s5=!0),s9||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),s9=!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,rF.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(s7))r.push(e[1]);}catch(e){(0,rF.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||ai.arch();let n=ao.join(eP(),e);if(ar.existsSync(n)){for(let e of ar.readdirSync(n))if(eI(e)){let i=ao.join(n,e,t||"");ar.existsSync(i)&&ar.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eS(e){return iw(this,void 0,void 0,function*(){return e||(e=ao.join(eN(),au.default())),yield at.mkdirP(e),e;});}function eO(e,t,r){return iw(this,void 0,void 0,function*(){let n=ao.join(eP(),e,aa.clean(t)||t,r||"");ae.debug("destination "+n);let i=`${n}.complete`;return yield at.rmRF(n),yield at.rmRF(i),yield at.mkdirP(n),n;});}function eR(e,t,r){let n=ao.join(eP(),e,aa.clean(t)||t,r||""),i=`${n}.complete`;ar.writeFileSync(i,""),ae.debug("finished caching tool");}function eI(e){let t=aa.clean(e)||"";ae.debug("isExplicit: "+t);let r=null!=aa.valid(t);return ae.debug("explicit? "+r),r;}function eT(e,t){let r="";ae.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>aa.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(aa.satisfies(i,t)){r=i;break;}}return r?ae.debug("matched: "+r):ae.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rh.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eN(){let e=process.env.RUNNER_TEMP||"";return rh.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eA(e,t){let r=r$[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 am(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,ip.join)(null!==(e=process.env.RUNNER_TEMP)&&void 0!==e?e:(0,iz.tmpdir)(),`${Date.now()}-${(0,iV.basename)(r)}`);return(0,im.downloadTool)(r,t);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rF.info)(e)});}async function eq(e,t,r){rj.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===ro("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,im.cacheDir)(e,t,r));}function ez(e,t,r){var n;let i=null!==(n=c(id)(e))&&void 0!==n?n:e;switch(t){case"win32":{let t;let n=c(ih)(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,ip.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(ih)(i,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,ip.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let n=c(ih)(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,ip.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,iK.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(iC)(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 i$(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 i$(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=aA){try{var r,n;let i=await(0,ib.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(id)(s))&&void 0!==n?n:void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=aA){let n=await eK(e,r);return void 0!==n&&""!==t&&-1!==c(iC)(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(rh)(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,rF.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,rF.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,ip.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rj.GITHUB_ACTIONS)try{(0,rF.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rk("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,ip.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rF.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,ip.dirname)(i),binDir:(0,ip.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,ip.dirname)(n);await k(i,ln),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,ip.join)(e.stdout,"libexec","bin");await k(n,ln);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,iV.parse)((0,iz.homedir)()).root;for(let t of(await(0,nt.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,ip.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{var r;if(void 0!==t){let r=(0,ip.join)(t,(0,ip.addExeExt)(e));if((await(0,nF.pathExists)(r))&&(await eJ(r,aC.python)))return r;}for(let t of null!==(r=await c(r7)(e,{nothrow:!0,all:!0}))&&void 0!==r?r:[])if(await eJ(t,aC.python))return t;}catch{}}async function e8(e){let t=await e5();return void 0===t?((0,rF.info)("pip was not found. Installing pip"),await e7(e),e5()):t;}async function e5(){for(let e of["pip3","pip"]){let t=await e9(e);if(void 0!==t)return t;}}async function e9(e){try{var t;for(let r of null!==(t=await c(r7)(e,{nothrow:!0,all:!0}))&&void 0!==t?t:[])if(await eJ(r,aC.pip))return r;}catch{}}async function e7(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,rF.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rF.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,ib.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,ip.join)(r,"Scripts"),(0,ip.join)(r,"Scripts","bin"),(0,ip.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){return tn(t)&&"linux"===process.platform&&null!==r&&e in aL?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,aL[e]):tn(t)&&e in a$?a$[e]:"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)=>{rg.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(r7).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,ik.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rF.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iz)&&"function"==typeof c(iz).version))return null;let e=c(iz).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 aU(),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,rU.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 aj(),i.PIPX_BIN_DIR=await aF()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rU.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 ak(e),p=await th(u,t);return await k(p,ln),{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,nF.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 aN(e),await aN((0,ip.join)(e,"trash")),await aN((0,ip.join)(e,"shared")),await aN((0,ip.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,ln),await aN(e),e;}async function tf(){let e=(await eQ(tr("python",void 0,await aD()),"",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,nF.pathExists)((0,ip.join)(e,(0,ip.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(r7).sync((0,ip.addExeExt)(t),{nothrow:!0});return null!==n?(0,ip.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rU.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,ln),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,ln),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rk("bCzkE"),n=new r(e);await n.read(async e=>{await e.extract((0,iV.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,ip.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,ip.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,ip.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(iT)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rF.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 aG()[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,rF.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rF.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 aD()),"",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,nF.pathExists)((0,ip.join)(e,"doxygen.exe")))return await k(e,ln),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tS(){if("darwin"===process.platform)try{let e=await(0,ib.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),ln):(0,rF.error)("SDKROOT not set");}catch(e){(0,rF.error)(e);}}function tO(e,t,r){if("win32"===t){let t=aB[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,ip.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tR(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,tO,t,r);}catch(t){(0,rF.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tT(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=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,rF.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?await e_("gcc-multilib",e):em()&&(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 tP(e,i.binDir,n),i;}async function tI(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tR(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 tT(e,t){var r,n;let i;if(await eg("mingw",e),"x64"===t&&(await(0,nF.pathExists)("C:/tools/mingw64/bin"))?(i="C:/tools/mingw64/bin",await k(i,ln)):"ia32"===t&&(await(0,nF.pathExists)("C:/tools/mingw32/bin"))?(i="C:/tools/mingw32/bin",await k(i,ln)):(await(0,nF.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 tP(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,ip.addExeExt)(`${t}/gcc`),ln),C("CXX",(0,ip.addExeExt)(`${t}/g++`),ln));else{var i;let o=c(iD)(null!==(i=c(id)(e))&&void 0!==i?i:e);o>=5?(n.push(C("CC",`${t}/gcc-${o}`,ln),C("CXX",`${t}/g++-${o}`,ln)),em()&&n.push(q("cc",`${t}/gcc-${o}`,ln,r),q("cxx",`${t}/g++-${o}`,ln,r),q("gcc",`${t}/gcc-${o}`,ln,r),q("g++",`${t}/g++-${o}`,ln,r))):(n.push(C("CC",`${t}/gcc-${e}`,ln),C("CXX",`${t}/g++-${e}`,ln)),em()&&n.push(q("cc",`${t}/gcc-${e}`,ln,r),q("cxx",`${t}/g++-${e}`,ln,r),q("gcc",`${t}/gcc-${e}`,ln,r),q("g++",`${t}/g++-${e}`,ln,r)));}n.push(tS()),rj.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,ip.join)(ij,"gcc_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}function tA(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,ip.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function t$(e,t,r){return eG("ninja",e,tA,t,r);}function tC(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,ip.addExeExt)("kcov")};}function tL(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,ip.addExeExt)("kcov"),extractFunction:tk};}async function tk(e,t){let r=await eU(e,t,1),n=await tD();"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(r7).sync("patch",{nothrow:!0})){let e=(0,ip.join)(iF,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rF.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,ip.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 tD(){let e=c(r7).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eV(tr("cmake",void 0,await aD()),(0,ip.join)(T("~"),"cmake"),"");e=(0,ip.join)(t,"cmake");}return null===c(r7).sync("ninja",{nothrow:!0})&&(await t$(tr("ninja",void 0,await aD()),(0,ip.join)(T("~"),"ninja"),"")),e;}async function tj(e,t,r){var n;let i;if("linux"!==process.platform){(0,rF.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,tC,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tL,t,r),i;}function tF(e){if(Object.values(aJ).includes(e));else if(e in aJ)return aJ[e];return e;}function tU(e){let t;let r=tF(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return rg.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rU.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iX.existsSync(n))return rU.info("Found with vswhere: "+n),n;rU.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aJ).includes(e));else for(let[t,r]of Object.entries(aJ))if(r===e)return t;return e;}(e)]:aK;for(let e of aW)for(let t of i)for(let r of aY)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rU.info("Trying standard location: "+n),iX.existsSync(n))return rU.info("Found standard location: "+n),n;if(rU.info("Not found in standard locations"),n=`${aX}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iX.existsSync(n))return rU.info("Found VS 2015: "+n),n;throw rU.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tM(e,t,r,n,i,o,s){void 0!==t&&(await(0,nF.pathExists)(t))&&((0,rF.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,ln)),await iG(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 tG(e,t,r,n,i,o,s,a=aQ){(0,rU.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(aV(e)),e.addEventListener("abort",()=>{l(aV(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aH();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;}(tB(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rF.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rF.error)(t.stack),s.push(`${e} failed to install`);}return(0,rU.endGroup)(),l;}async function tB(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tM(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:ln});else{let o=(0,ip.join)(i,a?"llvm":e),l=tr(e,t,r),c=le[e];s=await c(l,o,n);}return o.push(rs(e,s)),a;}async function tH(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new ie.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iz.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,nt.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iV.join)((0,iz.tmpdir)(),"llvm-setup-cpp.sh"),s=await tq(i,o,e,t);return await en(s),await(0,nt.chmod)(o,"755"),await S("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:aQ}),await k(`${r}/bin`,ln),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tq(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 ${sZ} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tz(c),c=V()?l.replace(/apt-get/g,"nala"):l,await(0,nt.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 ${sZ} -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,rA.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tV(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tX(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tW(e){let t;if(a1.has(e))return null;let r="LLVM-",n=c(ih)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(ih)(e,"9.0.1"),o=!1;return i&&(t=tX(e,r,n),(await i$(t))||(o=!0)),(o||!i)&&(t=tV(e,r,n)),t;}function tY(e,t){switch(e){case"darwin":return function(e){if(a2.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(ih)(e,"9.0.1")?tX(e,r,n):tV(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a3.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a0.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a0,e)[0];}else""!==n&&n in a4?t=a4[n]:(t=a4[a6],(0,rF.warning)(`Falling back to LLVM version ${a6} ${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(ih)(n,"9.0.1"))?tX(n,o,r):tV(n,o,r);}(t);case"win32":return tW(t);default:return null;}}async function tK(e,t,r){let[n,i]=await eY(a0,t,e,tY);return(0,rF.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,ip.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eU(e,t,1)};}async function tJ(e,t,r){var n;let i=await a8(e,t,r);return await t2(null!==(n=i.installDir)&&void 0!==n?n:t),i;}async function tZ(e,t,r){let[n,i]=await Promise.all([tQ(e,t,r),t3()]);return await a9(r),n;}async function tQ(e,t,r,n=iB.All){let i=Number.parseInt(function(e){if(null===c(iL)(e))try{let t=c(id)(e);if(null!==t)return(0,rF.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tH(i,n);}catch(e){(0,rF.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tK,t,r);return await a5(i),o;}async function t0(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t1(e){"linux"===process.platform&&(await tR(tr("gcc",void 0,await aD()),"",e,40));}async function t2(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,ln),C("LD_LIBRARY_PATH",`${e}/lib${iV.delimiter}${n}`,ln),C("DYLD_LIBRARY_PATH",`${e}/lib${iV.delimiter}${i}`,ln),C("LDFLAGS",`-L"${e}/lib"`,ln),C("CPPFLAGS",`-I"${e}/include"`,ln),C("CC",(0,ip.addExeExt)(`${e}/bin/clang`),ln),C("CXX",(0,ip.addExeExt)(`${e}/bin/clang++`),ln),C("LIBRARY_PATH",`${e}/lib`,ln),tS()];em()&&o.push(q("cc",`${e}/bin/clang`,ln,60),q("cxx",`${e}/bin/clang++`,ln,60),q("clang",`${e}/bin/clang`,ln),q("clang++",`${e}/bin/clang++`,ln),q("lld",`${e}/bin/lld`,ln),q("ld.lld",`${e}/bin/ld.lld`,ln),q("llvm-ar",`${e}/bin/llvm-ar`,ln)),await Promise.all(o);}async function t3(){if(rj.GITHUB_ACTIONS){let e=(0,ip.join)(iH,"llvm_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}}async function t4(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",ln),{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 t6(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iU(e);(0,rF.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iM(l);c=!0,(0,rF.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,rF.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rF.error)(e);}await tM(l,a,r,s,n,i,o),rj.GITHUB_ACTIONS&&(await t8());}async function t8(){let e=(0,ip.join)(iq,"msvc_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}async function t5(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(r7).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,ip.dirname)(n)};await en([{name:"python3-apt"}]);let o=await ea({fileName:"volian-archive-nala.gpg",keyUrl:"https://deb.volian.org/volian/nala.key"});x("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ nala main" | tee /etc/apt/sources.list.d/volian-archive-nala.list`]);try{"legacy"!==e?await en([{name:"nala"}],!0):await en([{name:"nala-legacy"}],!0);}catch(e){await en([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function t9(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await t7()};}async function t7(){let e="C:/Program Files/OpenCppCoverage";return await k(e,ln),e;}function re(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,ip.addExeExt)("pwsh"),extractedFolderName:""};}async function rt(e,t,r){try{return await eG("pwsh",e,re,t,r);}catch(n){return(0,rF.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),rr(e,t,r);}}async function rr(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,ln),{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 aD(),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 rn(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,ip.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ri(e,t,r){return a7&&null!==c(r7).sync("vcpkg",{nothrow:!0})?{binDir:(0,ip.dirname)(c(r7).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,nF.pathExists)((0,ip.join)(t,(0,ip.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rF.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,ip.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rF.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,ip.addShExt)((0,ip.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,ln),a7=!0,{binDir:t});}function ro(e){let t=(0,rU.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function rs(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 ra(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(iL)(e)||(0,rF.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rU.startGroup)(`Installing ${a} ${null!=l?l:""}`),a){case"llvm":case"clang":case"clang++":{let e=await tJ(tr("llvm",l,t),(0,iV.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",ln),i.push(rs("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 tI(e,(0,iV.join)(r,"gcc"),n):await tR(e,(0,iV.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",ln)),await function(e){let t=c(iL)(e),r=null!==t?c(iD)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",ln);}(e),i.push(rs("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t6(tr("msvc",l,t),(0,iV.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",ln)),i.push(rs("msvc",e));break;}case"appleclang":case"applellvm":(0,rU.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",ln),C("CXX","clang++",ln)]),i.push(rs("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rF.error)(t),s.push("Failed to install the "+e);}(0,rU.endGroup)();}async function rl(e){var t,r,n;let i,o,s=Promise.resolve();rj.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:[...lr,"timeout"],default:Object.fromEntries(lr.map(e=>[e,ro(e)])),alias:{h:"help"},boolean:"help"});a.help&&((0,rF.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(ne).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,iu.default)(t)}-${(0,iu.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 s0?3:(s1(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,rU.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){s1(e);let t=await K([{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}],e);0!==t.length&&x(e,["install","-y","--fix-broken","-o",sQ,...t],{...sU,env:z(e)});}async function et(e,t=X()){await s2(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sU,env:z(t)}),s1.clear(),s1(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",sQ,"software-properties-common"],{...sU,env:z(e)});}async function en(e,t=!1){let r=X();for(let{name:t,version:n}of e)(0,rU.info)(`Installing ${t} ${null!=n?n:""} via ${r}`);t&&s1(r),await ei(r,e);let n=await K(e,r);if(0===n.length)return(0,rU.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s2(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sU,env:z(r)});}catch(e){if("string"==typeof e.stderr)s3.some(t=>e.stderr.includes(t))&&((0,rU.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",sQ,...n],{...sU,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=s6,fileName:r,keyStorePath:n=s6}){try{ec(r);let i=(0,iX.join)(n,r);return(await(0,nU.pathExists)(i))||(el(),await S("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+i,"--keyserver",t,"--recv-keys",e]),await S("chmod",["644",i])),i;}catch(e){(0,rU.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s4}){try{ec(t);let n=(0,iX.join)(r,t);if(!(await(0,nU.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iX.join)((0,iV.tmpdir)(),t),i=new it.DownloaderHelper(e,(0,iV.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,rU.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(ne)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iX.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new it.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iV.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,rU.info)(`Installing ${e} ${null!=t?t:""} via brew`),s8&&null!==c(ne).sync("brew",{nothrow:!0})||(await eu(),s8=!0);let i=ep(),o=(0,iX.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(ne).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(ne).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(ne).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(ne).sync("choco",{nothrow:!0});if(null!==o)return{binDir:r=(0,id.dirname)(o)};let s="powershell.exe",a=c(ne).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,li);let u=c(ne).sync("choco",{nothrow:!0});if(r=null!==u?(0,id.dirname)(u):`${null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey"}/bin`,await(0,nU.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){var n;(0,rU.info)(`Installing ${e} ${null!=t?t:""} via chocolatey`),s5&&null!==c(ne).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s5=!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,rU.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,li),{binDir:s};}async function ey(e){for(let{name:t,version:r}of e)(0,rU.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,rU.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,rU.info)(`Installing ${e} ${null!=t?t:""} via pacman`);let n="pacman";if("yay"===r&&null===c(ne).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s9||"yay"===r||(x(n,["-Sy","--noconfirm"]),s9=!0),s7||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),s7=!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,rU.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(ae))r.push(e[1]);}catch(e){(0,rU.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||ao.arch();let n=as.join(eP(),e);if(an.existsSync(n)){for(let e of an.readdirSync(n))if(eI(e)){let i=as.join(n,e,t||"");an.existsSync(i)&&an.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eS(e){return i_(this,void 0,void 0,function*(){return e||(e=as.join(eN(),ap.default())),yield ar.mkdirP(e),e;});}function eO(e,t,r){return i_(this,void 0,void 0,function*(){let n=as.join(eP(),e,al.clean(t)||t,r||"");at.debug("destination "+n);let i=`${n}.complete`;return yield ar.rmRF(n),yield ar.rmRF(i),yield ar.mkdirP(n),n;});}function eR(e,t,r){let n=as.join(eP(),e,al.clean(t)||t,r||""),i=`${n}.complete`;an.writeFileSync(i,""),at.debug("finished caching tool");}function eI(e){let t=al.clean(e)||"";at.debug("isExplicit: "+t);let r=null!=al.valid(t);return at.debug("explicit? "+r),r;}function eT(e,t){let r="";at.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>al.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(al.satisfies(i,t)){r=i;break;}}return r?at.debug("matched: "+r):at.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rm.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eN(){let e=process.env.RUNNER_TEMP||"";return rm.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eA(e,t){let r=rC[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 av(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,id.join)(null!==(e=process.env.RUNNER_TEMP)&&void 0!==e?e:(0,iV.tmpdir)(),`${Date.now()}-${(0,iX.basename)(r)}`);return(0,iv.downloadTool)(r,t);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rU.info)(e)});}async function eq(e,t,r){rF.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===rs("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,iv.cacheDir)(e,t,r));}function ez(e,t,r){var n;let i=null!==(n=c(ih)(e))&&void 0!==n?n:e;switch(t){case"win32":{let t;let n=c(im)(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,id.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(im)(i,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,id.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let n=c(im)(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,id.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,iJ.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(iL)(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 iC(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 iC(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=a$){try{var r,n;let i=await(0,ix.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(ih)(s))&&void 0!==n?n:void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=a$){let n=await eK(e,r);return void 0!==n&&""!==t&&-1!==c(iL)(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(rm)(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,rU.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,rU.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,id.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rF.GITHUB_ACTIONS)try{(0,rU.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rD("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,id.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rU.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,id.dirname)(i),binDir:(0,id.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,id.dirname)(n);await k(i,li),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,id.join)(e.stdout,"libexec","bin");await k(n,li);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,iX.parse)((0,iV.homedir)()).root;for(let t of(await(0,nr.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,id.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{var r;if(void 0!==t){let r=(0,id.join)(t,(0,id.addExeExt)(e));if((await(0,nU.pathExists)(r))&&(await eJ(r,aL.python)))return r;}for(let t of null!==(r=await c(ne)(e,{nothrow:!0,all:!0}))&&void 0!==r?r:[])if(await eJ(t,aL.python))return t;}catch{}}async function e8(e){let t=await e5();return void 0===t?((0,rU.info)("pip was not found. Installing pip"),await e7(e),e5()):t;}async function e5(){for(let e of["pip3","pip"]){let t=await e9(e);if(void 0!==t)return t;}}async function e9(e){try{var t;for(let r of null!==(t=await c(ne)(e,{nothrow:!0,all:!0}))&&void 0!==t?t:[])if(await eJ(r,aL.pip))return r;}catch{}}async function e7(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,rU.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rU.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,ix.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,id.join)(r,"Scripts"),(0,id.join)(r,"Scripts","bin"),(0,id.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){return tn(t)&&"linux"===process.platform&&null!==r&&e in ak?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,ak[e]):tn(t)&&e in aC?aC[e]:"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)=>{ry.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(ne).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,iD.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rU.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iV)&&"function"==typeof c(iV).version))return null;let e=c(iV).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 aM(),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,rM.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 aF(),i.PIPX_BIN_DIR=await aU()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rM.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 aD(e),p=await th(u,t);return await k(p,li),{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,nU.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 aA(e),await aA((0,id.join)(e,"trash")),await aA((0,id.join)(e,"shared")),await aA((0,id.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,li),await aA(e),e;}async function tf(){let e=(await eQ(tr("python",void 0,await aj()),"",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,nU.pathExists)((0,id.join)(e,(0,id.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(ne).sync((0,id.addExeExt)(t),{nothrow:!0});return null!==n?(0,id.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rM.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,li),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,li),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rD("bCzkE"),n=new r(e);await n.read(async e=>{await e.extract((0,iX.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,id.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,id.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,id.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(iP)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rU.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 aB()[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,rU.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rU.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 aj()),"",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,nU.pathExists)((0,id.join)(e,"doxygen.exe")))return await k(e,li),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tS(){if("darwin"===process.platform)try{let e=await(0,ix.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),li):(0,rU.error)("SDKROOT not set");}catch(e){(0,rU.error)(e);}}function tO(e,t,r){if("win32"===t){let t=aH[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,id.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tR(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,tO,t,r);}catch(t){(0,rU.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tT(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=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,rU.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?await e_("gcc-multilib",e):em()&&(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 tP(e,i.binDir,n),i;}async function tI(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tR(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 tT(e,t){var r,n;let i;if(await eg("mingw",e),"x64"===t&&(await(0,nU.pathExists)("C:/tools/mingw64/bin"))?(i="C:/tools/mingw64/bin",await k(i,li)):"ia32"===t&&(await(0,nU.pathExists)("C:/tools/mingw32/bin"))?(i="C:/tools/mingw32/bin",await k(i,li)):(await(0,nU.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 tP(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,id.addExeExt)(`${t}/gcc`),li),C("CXX",(0,id.addExeExt)(`${t}/g++`),li));else{var i;let o=c(ij)(null!==(i=c(ih)(e))&&void 0!==i?i:e);o>=5?(n.push(C("CC",`${t}/gcc-${o}`,li),C("CXX",`${t}/g++-${o}`,li)),em()&&n.push(q("cc",`${t}/gcc-${o}`,li,r),q("cxx",`${t}/g++-${o}`,li,r),q("gcc",`${t}/gcc-${o}`,li,r),q("g++",`${t}/g++-${o}`,li,r))):(n.push(C("CC",`${t}/gcc-${e}`,li),C("CXX",`${t}/g++-${e}`,li)),em()&&n.push(q("cc",`${t}/gcc-${e}`,li,r),q("cxx",`${t}/g++-${e}`,li,r),q("gcc",`${t}/gcc-${e}`,li,r),q("g++",`${t}/g++-${e}`,li,r)));}n.push(tS()),rF.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,id.join)(iF,"gcc_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}function tA(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,id.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function t$(e,t,r){return eG("ninja",e,tA,t,r);}function tC(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,id.addExeExt)("kcov")};}function tL(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,id.addExeExt)("kcov"),extractFunction:tk};}async function tk(e,t){let r=await eU(e,t,1),n=await tD();"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(ne).sync("patch",{nothrow:!0})){let e=(0,id.join)(iU,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rU.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,id.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 tD(){let e=c(ne).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eV(tr("cmake",void 0,await aj()),(0,id.join)(T("~"),"cmake"),"");e=(0,id.join)(t,"cmake");}return null===c(ne).sync("ninja",{nothrow:!0})&&(await t$(tr("ninja",void 0,await aj()),(0,id.join)(T("~"),"ninja"),"")),e;}async function tj(e,t,r){var n;let i;if("linux"!==process.platform){(0,rU.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,tC,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tL,t,r),i;}function tF(e){if(Object.values(aZ).includes(e));else if(e in aZ)return aZ[e];return e;}function tU(e){let t;let r=tF(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return ry.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rM.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iW.existsSync(n))return rM.info("Found with vswhere: "+n),n;rM.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)]:aJ;for(let e of aY)for(let t of i)for(let r of aK)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rM.info("Trying standard location: "+n),iW.existsSync(n))return rM.info("Found standard location: "+n),n;if(rM.info("Not found in standard locations"),n=`${aW}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iW.existsSync(n))return rM.info("Found VS 2015: "+n),n;throw rM.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tM(e,t,r,n,i,o,s){void 0!==t&&(await(0,nU.pathExists)(t))&&((0,rU.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,li)),await iB(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 tG(e,t,r,n,i,o,s,a=a0){(0,rM.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(aX(e)),e.addEventListener("abort",()=>{l(aX(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aq();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;}(tB(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rU.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rU.error)(t.stack),s.push(`${e} failed to install`);}return(0,rM.endGroup)(),l;}async function tB(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tM(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:li});else{let o=(0,id.join)(i,a?"llvm":e),l=tr(e,t,r),c=lt[e];s=await c(l,o,n);}return o.push(ra(e,s)),a;}async function tH(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new it.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iV.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,nr.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iX.join)((0,iV.tmpdir)(),"llvm-setup-cpp.sh"),s=await tq(i,o,e,t);return await en(s),await(0,nr.chmod)(o,"755"),await S("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a0}),await k(`${r}/bin`,li),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tq(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 ${sQ} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tz(c),c=V()?l.replace(/apt-get/g,"nala"):l,await(0,nr.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 ${sQ} -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,r$.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tV(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tX(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tW(e){let t;if(a2.has(e))return null;let r="LLVM-",n=c(im)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(im)(e,"9.0.1"),o=!1;return i&&(t=tX(e,r,n),(await iC(t))||(o=!0)),(o||!i)&&(t=tV(e,r,n)),t;}function tY(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(im)(e,"9.0.1")?tX(e,r,n):tV(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a4.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a1.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a1,e)[0];}else""!==n&&n in a6?t=a6[n]:(t=a6[a8],(0,rU.warning)(`Falling back to LLVM version ${a8} ${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(im)(n,"9.0.1"))?tX(n,o,r):tV(n,o,r);}(t);case"win32":return tW(t);default:return null;}}async function tK(e,t,r){let[n,i]=await eY(a1,t,e,tY);return(0,rU.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,id.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eU(e,t,1)};}async function tJ(e,t,r){var n;let i=await a5(e,t,r);return await t2(null!==(n=i.installDir)&&void 0!==n?n:t),i;}async function tZ(e,t,r){let[n,i]=await Promise.all([tQ(e,t,r),t3()]);return await a7(r),n;}async function tQ(e,t,r,n=iH.All){let i=Number.parseInt(function(e){if(null===c(ik)(e))try{let t=c(ih)(e);if(null!==t)return(0,rU.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tH(i,n);}catch(e){(0,rU.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tK,t,r);return await a9(i),o;}async function t0(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t1(e){"linux"===process.platform&&(await tR(tr("gcc",void 0,await aj()),"",e,40));}async function t2(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,li),C("LD_LIBRARY_PATH",`${e}/lib${iX.delimiter}${n}`,li),C("DYLD_LIBRARY_PATH",`${e}/lib${iX.delimiter}${i}`,li),C("LDFLAGS",`-L"${e}/lib"`,li),C("CPPFLAGS",`-I"${e}/include"`,li),C("CC",(0,id.addExeExt)(`${e}/bin/clang`),li),C("CXX",(0,id.addExeExt)(`${e}/bin/clang++`),li),C("LIBRARY_PATH",`${e}/lib`,li),tS()];em()&&o.push(q("cc",`${e}/bin/clang`,li,60),q("cxx",`${e}/bin/clang++`,li,60),q("clang",`${e}/bin/clang`,li),q("clang++",`${e}/bin/clang++`,li),q("lld",`${e}/bin/lld`,li),q("ld.lld",`${e}/bin/ld.lld`,li),q("llvm-ar",`${e}/bin/llvm-ar`,li)),await Promise.all(o);}async function t3(){if(rF.GITHUB_ACTIONS){let e=(0,id.join)(iq,"llvm_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}}async function t4(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",li),{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 t6(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iM(e);(0,rU.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iG(l);c=!0,(0,rU.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,rU.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rU.error)(e);}await tM(l,a,r,s,n,i,o),rF.GITHUB_ACTIONS&&(await t8());}async function t8(){let e=(0,id.join)(iz,"msvc_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}async function t5(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(ne).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,id.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,rU.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,rU.info)("Failed to install nala-legacy: "+e);}return await t9(),{binDir:i};}async function t9(){let e=new it.DownloaderHelper("https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",(0,iV.tmpdir)(),{fileName:"install-nala.sh"});e.on("error",e=>{throw Error("Failed to download install-nala.sh: "+e);}),await e.start();let t=(0,id.join)((0,iV.tmpdir)(),"install-nala.sh"),r=await(0,nr.readFile)(t,"utf8");await(0,nr.writeFile)(t,r.replace(/sudo/g,"")),await en([{name:"wget"}]);try{x("bash",[t]);}catch(e){(0,rU.error)("Failed to install nala via installer: "+e),x("apt",["install","-y","-t","nala","nala"]);}}async function t7(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await re()};}async function re(){let e="C:/Program Files/OpenCppCoverage";return await k(e,li),e;}function rt(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,id.addExeExt)("pwsh"),extractedFolderName:""};}async function rr(e,t,r){try{return await eG("pwsh",e,rt,t,r);}catch(n){return(0,rU.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),rn(e,t,r);}}async function rn(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,li),{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 aj(),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 ri(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,id.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ro(e,t,r){return le&&null!==c(ne).sync("vcpkg",{nothrow:!0})?{binDir:(0,id.dirname)(c(ne).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,nU.pathExists)((0,id.join)(t,(0,id.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rU.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,id.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rU.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,id.addShExt)((0,id.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,li),le=!0,{binDir:t});}function rs(e){let t=(0,rM.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function ra(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 rl(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(ik)(e)||(0,rU.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rM.startGroup)(`Installing ${a} ${null!=l?l:""}`),a){case"llvm":case"clang":case"clang++":{let e=await tJ(tr("llvm",l,t),(0,iX.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",li),i.push(ra("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 tI(e,(0,iX.join)(r,"gcc"),n):await tR(e,(0,iX.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",li)),await function(e){let t=c(ik)(e),r=null!==t?c(ij)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",li);}(e),i.push(ra("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t6(tr("msvc",l,t),(0,iX.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",li)),i.push(ra("msvc",e));break;}case"appleclang":case"applellvm":(0,rM.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",li),C("CXX","clang++",li)]),i.push(ra("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rU.error)(t),s.push("Failed to install the "+e);}(0,rM.endGroup)();}async function rc(e){var t,r,n;let i,o,s=Promise.resolve();rF.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:[...ln,"timeout"],default:Object.fromEntries(ln.map(e=>[e,rs(e)])),alias:{h:"help"},boolean:"help"});a.help&&((0,rU.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=nH.create({autoloadLocales:!0});nH.addLocale(c(nq)),nG.addLocale(c(nB));let h=await aD();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,rF.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof a.cppcheck&&"string"==typeof a.gcovr&&((0,rF.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 lt){if(rj.isCI&&0!==f.length){v=!0;break;}let t=a[e];void 0!==t&&(i=Date.now(),m=await tG(e,t,h,l,u,p,f,6e4*Number.parseFloat(null!==(n=a.timeout)&&void 0!==n?n:"20")),o=Date.now(),(0,rF.info)("took "+(d.format(i,o)||"0 seconds")));}if(!v){let e=a.compiler;if(void 0!==e){let t=Date.now();await ra(e,h,u,l,p,m,f);let r=Date.now();(0,rF.info)("took "+(d.format(t,r)||"0 seconds"));}}if(await $(ln),0===p.length&&0===f.length)return(0,rF.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of p)(0,rF.success)(e);for(let e of f)(0,rF.error)(e);if((0,rF.info)("setup-cpp finished"),!rj.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rF.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rF.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await s,0===f.length?0:1;}var rc,ru,rp,rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rS,rO,rR,rI,rT,rP,rN,rA,r$,rC,rL,rk,rD,rj,rF,rU,rM,rG,rB,rH,rq,rz,rV,rX,rW,rY,rK,rJ,rZ,rQ,r0,r1,r2,r3,r4,r6,r8,r5,r9,r7,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nf,nd,nh,nm,nv,ng,ny,nE,nw,n_,nb,nx,nS,nO,nR,nI,nT,nP,nN,nA,n$,nC,nL,nk,nD,nj,nF,nU,nM,nG,nB,nH,nq,nz,nV,nX,nW,nY,nK,nJ,nZ,nQ,n0,n1,n2,n3,n4,n6,n8,n5,n9,n7,ie,it,ir,ii,io,is,ia,il,ic,iu,ip,id,ih,im,iv,ig,iy,iE,iw,i_,ib,ix,iS,iO,iR,iI,iT,iP,iN,iA,i$,iC,iL,ik,iD,ij,iF,iU,iM,iG,iB,iH,iq,iz=require("os"),iV=require("path"),iX=require("fs"),iW=require("crypto"),iY=require("http"),iK=require("https");require("net"),rf=require("tls"),rd=require("events"),rh=require("assert"),rm=require("util"),rv=require("fs"),rg=require("child_process"),ry=require("string_decoder"),rE=require("timers"),rw=require("buffer"),r_=require("path"),rb=require("child_process"),rx=require("process"),rS=require("url"),rO=require("os"),rR=require("buffer"),rI=require("stream"),rT=require("util"),rP=require("process"),rN=require("url"),rA=require("console"),rC={},rL={},null==(rk=(r$=globalThis).parcelRequire810d)&&((rk=function(e){if(e in rC)return rC[e].exports;if(e in rL){var t=rL[e];delete rL[e];var r={id:e,exports:{}};return rC[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){rL[e]=t;},r$.parcelRequire810d=rk),(rD=rk.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=rk("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));}),rD("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"}]');}),rD("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=rk("k1l4q"),n=rk("dKklS");}),rD("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=rk("ekchs"),a=rk("lyZGK"),l=rk("iYcPV");let y=i(iz),E=i(iV);c=rk("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=rk("1mzjm"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rk("1mzjm"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rk("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;}});}),rD("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(iz);o=rk("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")));}}}),rD("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}:{};};}),rD("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(iX),l=i(iz);o=rk("bTj1Z"),s=rk("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}`;};}),rD("bTj1Z",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rk("5x7Ba"),n=rk("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);};}),rD("5x7Ba",function(e,t){function r(){return i>n.length-16&&(c(iW).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rD("FUqvx",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rk("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;};}),rD("kYWmF",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rk("1J9r9"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rD("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;}),rD("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=rk("3bZps"),i=rk("f85aw"),o=rk("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=nq.create({autoloadLocales:!0});nq.addLocale(c(nz)),nB.addLocale(c(nH));let h=await aj();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,rU.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof a.cppcheck&&"string"==typeof a.gcovr&&((0,rU.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 lr){if(rF.isCI&&0!==f.length){v=!0;break;}let t=a[e];void 0!==t&&(i=Date.now(),m=await tG(e,t,h,l,u,p,f,6e4*Number.parseFloat(null!==(n=a.timeout)&&void 0!==n?n:"20")),o=Date.now(),(0,rU.info)("took "+(d.format(i,o)||"0 seconds")));}if(!v){let e=a.compiler;if(void 0!==e){let t=Date.now();await rl(e,h,u,l,p,m,f);let r=Date.now();(0,rU.info)("took "+(d.format(t,r)||"0 seconds"));}}if(await $(li),0===p.length&&0===f.length)return(0,rU.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of p)(0,rU.success)(e);for(let e of f)(0,rU.error)(e);if((0,rU.info)("setup-cpp finished"),!rF.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rU.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rU.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await s,0===f.length?0:1;}var ru,rp,rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rS,rO,rR,rI,rT,rP,rN,rA,r$,rC,rL,rk,rD,rj,rF,rU,rM,rG,rB,rH,rq,rz,rV,rX,rW,rY,rK,rJ,rZ,rQ,r0,r1,r2,r3,r4,r6,r8,r5,r9,r7,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nf,nd,nh,nm,nv,ng,ny,nE,nw,n_,nb,nx,nS,nO,nR,nI,nT,nP,nN,nA,n$,nC,nL,nk,nD,nj,nF,nU,nM,nG,nB,nH,nq,nz,nV,nX,nW,nY,nK,nJ,nZ,nQ,n0,n1,n2,n3,n4,n6,n8,n5,n9,n7,ie,it,ir,ii,io,is,ia,il,ic,iu,ip,id,ih,im,iv,ig,iy,iE,iw,i_,ib,ix,iS,iO,iR,iI,iT,iP,iN,iA,i$,iC,iL,ik,iD,ij,iF,iU,iM,iG,iB,iH,iq,iz,iV=require("os"),iX=require("path"),iW=require("fs"),iY=require("crypto"),iK=require("http"),iJ=require("https");require("net"),rd=require("tls"),rh=require("events"),rm=require("assert"),rv=require("util"),rg=require("fs"),ry=require("child_process"),rE=require("string_decoder"),rw=require("timers"),r_=require("buffer"),rb=require("path"),rx=require("child_process"),rS=require("process"),rO=require("url"),rR=require("os"),rI=require("buffer"),rT=require("stream"),rP=require("util"),rN=require("process"),rA=require("url"),r$=require("console"),rL={},rk={},null==(rD=(rC=globalThis).parcelRequire810d)&&((rD=function(e){if(e in rL)return rL[e].exports;if(e in rk){var t=rk[e];delete rk[e];var r={id:e,exports:{}};return rL[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){rk[e]=t;},rC.parcelRequire810d=rD),(rj=rD.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=rD("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));}),rj("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"}]');}),rj("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=rD("k1l4q"),n=rD("dKklS");}),rj("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=rD("ekchs"),a=rD("lyZGK"),l=rD("iYcPV");let y=i(iV),E=i(iX);c=rD("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=rD("1mzjm"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rD("1mzjm"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rD("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;}});}),rj("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(iV);o=rD("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")));}}}),rj("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}:{};};}),rj("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(iW),l=i(iV);o=rD("bTj1Z"),s=rD("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}`;};}),rj("bTj1Z",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rD("5x7Ba"),n=rD("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);};}),rj("5x7Ba",function(e,t){function r(){return i>n.length-16&&(c(iY).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rj("FUqvx",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rD("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;};}),rj("kYWmF",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rD("1J9r9"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rj("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;}),rj("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=rD("3bZps"),i=rD("f85aw"),o=rD("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;}),rD("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(iY),f=i(iK),d=i(rk("iZzl4")),h=i(rk("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 rk("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),{});}),rD("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;}}}),rD("bbp3j",function(e,t){e.exports=rk("fNJ5J");}),rD("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||iY.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=rf.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=iY.request,t;},n=function(e){var t=new c(e);return t.request=iY.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iK.request,t;},o=function(e){var t=new c(e);return t.request=iK.request,t.createSocket=u,t.defaultPort=443,t;},rm.inherits(c,rd.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;}),rD("4vDZ9",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.5536f8bd.js")).then(()=>rk("5IibL"));}),rD("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");});}};}),rD("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}=iX.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,iX.constants.R_OK|iX.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(iz.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;}),rD("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(iV);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);};}),rD("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",()=>O),l(e.exports,"writeFile",()=>R),l(e.exports,"rm",()=>I),iX.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:S,utimes:O,writeFile:R}=iX.promises,I="rm"in iX.promises?iX.promises.rm:(0,rm.promisify)(iX.unlink);}),rD("h5DII",function(e,t){e.exports=function(){};}),rD("3PDBf",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rD("01ud6",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rD("iGjce",function(e,t){var r=rk("czzoJ"),n=rk("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;});};};}),rD("czzoJ",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rD("gm8vF",function(e,t){var r=rk("cJ0vr");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rD("cJ0vr",function(e,t){var r=rk("h5DII")();e.exports=function(e){return e!==r&&null!==e;};}),rD("e4Lgg",function(e,t){}),rD("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");};}),rD("1dJjv",function(e,t){var r=rk("gK5RI"),n=rk("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;};}),rD("gK5RI",function(e,t){e.exports=rk("jF45l")()?Object.keys:rk("4MK4A");}),rD("jF45l",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rD("4MK4A",function(e,t){var r=rk("cJ0vr"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rD("1733k",function(e,t){var r=rk("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;};}),rD("j7soM",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rD("78Sfc",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rD("9E9rT",function(e,t){var r,n,i,o,s,a,l,c=rk("9xcfl"),u=rk("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;}),rD("9xcfl",function(e,t){var r=rk("6WFxD"),n=rk("9ruXB"),i=rk("kg6aw"),o=rk("cgM1r"),s=rk("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;};}),rD("6WFxD",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rD("9ruXB",function(e,t){var r=rk("ic21Z"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rD("ic21Z",function(e,t){var r=rk("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);};}),rD("jYida",function(e,t){var r=rk("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;}};}),rD("29Ioz",function(e,t){var r=rk("6WFxD"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rD("kg6aw",function(e,t){e.exports=rk("jyCUJ")()?Object.assign:rk("1dJjv");}),rD("cgM1r",function(e,t){var r=rk("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;};}),rD("2ynAk",function(e,t){e.exports=rk("j7soM")()?String.prototype.contains:rk("78Sfc");}),rD("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]);};}),rD("76jlv",function(e,t){var r=rk("7VWWn").iterator,n=rk("aRDzb"),i=rk("dfN19"),o=rk("lFuzu"),s=rk("czzoJ"),a=rk("gm8vF"),l=rk("cJ0vr"),c=rk("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],S=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,S,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,S,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,S,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;};}),rD("7VWWn",function(e,t){e.exports=rk("jVPv5")()?rk("cuWno").Symbol:rk("9Pvgk");}),rD("jVPv5",function(e,t){var r=rk("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]);};}),rD("cuWno",function(e,t){e.exports=rk("jRf15")()?globalThis:rk("0DgUa");}),rD("jRf15",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rD("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__;}}();}),rD("9Pvgk",function(e,t){var r,n,i,o=rk("9xcfl"),s=rk("i6cH8"),a=rk("cuWno").Symbol,l=rk("cRR41"),c=rk("hIvqG"),u=rk("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]));}),rD("i6cH8",function(e,t){var r=rk("jKzLn");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rD("jKzLn",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rD("cRR41",function(e,t){var r=rk("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;};}),rD("hIvqG",function(e,t){var r=rk("9xcfl"),n=rk("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"))});};}),rD("6Fh4Q",function(e,t){var r=rk("9xcfl"),n=rk("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;})});};}),rD("aRDzb",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rD("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));};}),rD("lFuzu",function(e,t){var r=rk("5c2FR"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rD("5c2FR",function(e,t){var r=rk("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;};}),rD("k2sGI",function(e,t){e.exports=rk("3PDBf")()?Math.sign:rk("01ud6");}),rD("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;};}),rD("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;};}),rD("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"";};};}),rD("7BD8r",function(e,t){var r=rk("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;};}),rD("3Fikq",function(e,t){e.exports=rk("e4HH5")()?Number.isNaN:rk("d2BiD");}),rD("e4HH5",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rD("d2BiD",function(e,t){e.exports=function(e){return e!=e;};}),rD("61N6r",function(e,t){var r=rk("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=[];}};};}),rD("hqtiJ",function(e,t){var r=rk("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);});};}),rD("5uwxY",function(e,t){var r=rk("acEY7");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rD("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;}),rD("i7d4K",function(e,t){var r=rk("czzoJ"),n=rk("8KFbm"),i=rk("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);});});};}),rD("b1mdU",function(e,t){var r=rk("lCzSe"),n=rk("8KFbm"),i=rk("aDo18"),o=rk("3lsZz"),s=rk("frVfT"),a=rk("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={});}));};}),rD("frVfT",function(e,t){var r=rk("lFuzu"),n=rk("6prMa");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rD("6prMa",function(e,t){e.exports=2147483647;}),rD("dZT72",function(e,t){var r=rk("lFuzu"),n=rk("bE3O1"),i=rk("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));};}),rD("bE3O1",function(e,t){var r=rk("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;}};};}),rD("eA2P6",function(e,t){var r=rk("9xcfl"),n=rk("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;})});};}),rD("ibhuk",function(e,t){async function r(e){try{return await(0,rv.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rD("sOzdu",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rD("j5MHF",function(e,t){var r=iV.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);}),rD("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=rk("5FRs7"),i=rk("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};}),rD("5FRs7",function(e,t){e.exports=rk("j5MHF");}),rD("3Zbea",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rD("51NgG",function(e,t){var r=rk("a4A3m"),n=rk("gzZHc"),i=rk("8wL3J"),o=rk("9kOAd"),s=rk("dJ3EL"),a=rk("2owFL"),l=rk("kBdlj"),c=rk("bFSJ9"),u=rk("bdHiQ"),p=rk("gWZ4x"),f=rk("dLri9"),d=rk("2tsX7"),h=rk("3lzLT"),m=rk("fYuCK"),v=rk("6LnSq"),g=rk("dZkNJ"),y=rk("2Qi5H"),E=rk("fJeYC"),w=rk("j1k1X"),_=rk("ccAMb"),b=rk("4qy3a"),x=rk("3ovyF"),S=rk("laDmN"),O=rk("3cxkY"),R=rk("aTQrN"),I=rk("5kn9j"),T=rk("8YrRN"),P=rk("fNiVh"),N=rk("gTfXP"),A=rk("kPBDZ"),$=rk("cVl8o"),C=rk("j0UMd"),L=rk("kgJyO"),k=rk("k8woQ"),D=rk("cQA7W"),j=rk("j3dZX"),F=rk("bENPT"),U=rk("iehU8"),M=rk("5NOPx"),G=rk("fdN0I"),B=rk("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:S,gte:O,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};}),rD("a4A3m",function(e,t){var r=rk("gzZHc"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rk("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*$");}),rD("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};}),rD("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;}),rD("8wL3J",function(e,t){var r=rk("cg13c"),n=rk("gzZHc"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rk("a4A3m"),a=s.safeRe,l=s.t,c=rk("5bRb1"),u=rk("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;}),rD("5bRb1",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rD("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)};}),rD("dJ3EL",function(e,t){var r=rk("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;}};}),rD("2owFL",function(e,t){var r=rk("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rD("kBdlj",function(e,t){var r=rk("dJ3EL");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rD("bFSJ9",function(e,t){var r=rk("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;}};}),rD("bdHiQ",function(e,t){var r=rk("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";};}),rD("gWZ4x",function(e,t){var r=rk("8wL3J");e.exports=(e,t)=>new r(e,t).major;}),rD("dLri9",function(e,t){var r=rk("8wL3J");e.exports=(e,t)=>new r(e,t).minor;}),rD("2tsX7",function(e,t){var r=rk("8wL3J");e.exports=(e,t)=>new r(e,t).patch;}),rD("3lzLT",function(e,t){var r=rk("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rD("fYuCK",function(e,t){var r=rk("8wL3J");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rD("6LnSq",function(e,t){var r=rk("fYuCK");e.exports=(e,t,n)=>r(t,e,n);}),rD("dZkNJ",function(e,t){var r=rk("fYuCK");e.exports=(e,t)=>r(e,t,!0);}),rD("2Qi5H",function(e,t){var r=rk("8wL3J");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rD("fJeYC",function(e,t){var r=rk("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rD("j1k1X",function(e,t){var r=rk("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rD("ccAMb",function(e,t){var r=rk("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>0;}),rD("4qy3a",function(e,t){var r=rk("fYuCK");e.exports=(e,t,n)=>0>r(e,t,n);}),rD("3ovyF",function(e,t){var r=rk("fYuCK");e.exports=(e,t,n)=>0===r(e,t,n);}),rD("laDmN",function(e,t){var r=rk("fYuCK");e.exports=(e,t,n)=>0!==r(e,t,n);}),rD("3cxkY",function(e,t){var r=rk("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rD("aTQrN",function(e,t){var r=rk("fYuCK");e.exports=(e,t,n)=>0>=r(e,t,n);}),rD("5kn9j",function(e,t){var r=rk("3ovyF"),n=rk("laDmN"),i=rk("ccAMb"),o=rk("3cxkY"),s=rk("4qy3a"),a=rk("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);}};}),rD("8YrRN",function(e,t){var r=rk("8wL3J"),n=rk("dJ3EL"),i=rk("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);};}),rD("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=rk("5bRb1"),o=rk("a4A3m"),s=o.safeRe,a=o.t,l=rk("5kn9j"),c=rk("cg13c"),u=rk("8wL3J"),p=rk("gTfXP");}),rD("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=S(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;});},S=(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;});},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;};}),rD("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;}};}),rD("kPBDZ",function(e,t){var r=rk("gTfXP");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rD("cVl8o",function(e,t){var r=rk("gTfXP");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rD("j0UMd",function(e,t){var r=rk("8wL3J"),n=rk("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;};}),rD("kgJyO",function(e,t){var r=rk("8wL3J"),n=rk("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;};}),rD("k8woQ",function(e,t){var r=rk("8wL3J"),n=rk("gTfXP"),i=rk("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;};}),rD("cQA7W",function(e,t){var r=rk("gTfXP");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rD("j3dZX",function(e,t){var r=rk("8wL3J"),n=rk("fNiVh");let{ANY:i}=n;var o=rk("gTfXP"),s=rk("kPBDZ"),a=rk("ccAMb"),l=rk("4qy3a"),c=rk("aTQrN"),u=rk("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;};}),rD("bENPT",function(e,t){var r=rk("j3dZX");e.exports=(e,t,n)=>r(e,t,">",n);}),rD("iehU8",function(e,t){var r=rk("j3dZX");e.exports=(e,t,n)=>r(e,t,"<",n);}),rD("5NOPx",function(e,t){var r=rk("gTfXP");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rD("fdN0I",function(e,t){var r=rk("kPBDZ"),n=rk("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;};}),rD("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,iV.basename)(e):(0,iV.basename)(e,(0,iV.extname)(e));}function w(e){return(0,iV.normalize)(e).replace(RegExp((0,r.default)(iV.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iV.extname)(e),n=`${t}${(0,iV.basename)(e,r)}${r}`;return(0,iV.join)((0,iV.dirname)(e),n);}function x(e,t){let r=(0,iV.extname)(e),n=`${(0,iV.basename)(e,r)}${t}${r}`;return(0,iV.join)((0,iV.dirname)(e),n);}function S(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function O(e){return"win32"===process.platform?e:"./"+e;}function R(e){let t=(0,iV.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iV.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iV.sep)||r===(0,iV.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>S),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>iV.dirname),l(e.exports,"join",()=>iV.join),r=rk("1ondq"),n=rk("7BfUa"),i={},y(o={},"name",()=>E),y(s={},"normalizeTrim",()=>w),y(a={},"addExeExt",()=>_),y(u={},"addNamePrefix",()=>b),y(p={},"addNameSuffix",()=>x),y(f={},"addShExt",()=>S),y(d={},"addShRelativePrefix",()=>O),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);}),rD("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);}),rD("7BfUa",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iV.basename(e,iV.extname(e))+t,i=iV.join(iV.dirname(e),n);return(r=e.slice(0,2))==="."+iV.sep||"./"===r?"."+iV.sep+i:i;};}),rD("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*(){rh.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(iV),p=i(rk("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;}),rD("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(iX),c=i(iV);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";};}),rD("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(rk("a5mzA"));s=rk("k1l4q"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iz.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=iz.platform(),r="";if("darwin"===t)r=rg.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 iX.existsSync(e)?r=iX.readFileSync(e).toString():iX.existsSync(t)&&(r=iX.readFileSync(t).toString()),r;};}),rD("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>S||this.major<0)throw TypeError("Invalid major version");if(this.minor>S||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>S||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,S=Number.MAX_SAFE_INTEGER||9007199254740991,O=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-]",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-]"+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,S,O,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);};}),rD("iFKS7",function(e,t){var r=rk("joDHm"),n=rk("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);};}),rD("joDHm",function(e,t){e.exports=function(){return iW.randomBytes(16);};}),rD("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("");};}),rD("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(rk("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 ry.StringDecoder("utf8"),c=new ry.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};});};}),rD("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(iz),a=i(rd),l=i(rg),c=i(iV),u=i(rk("g9WSN")),p=i(rk("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=rE.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();}}}}),rD("eYDSL",function(e,t){e.exports=Promise.resolve(require("./actions_python.895b8a50.js")).then(()=>rk("apy8x"));}),rD("bCzkE",function(e,t){e.exports=Promise.resolve(require("./hdi.619de66c.js")).then(()=>rk("9IkUc"));}),rj=rk("dKklS"),rF=rk("pcnv8"),rU=rk("k1l4q"),rj=rk("dKklS"),rF=rk("pcnv8"),rM={},rG={},rB={},rH={};const iJ="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iZ=iJ?";":":";rq={},"win32"===process.platform||r$.TESTING_WINDOWS?rz=rk("ftrAD"):rz=rk("9yF3I"),rq=u,u.sync=function(e,t){try{return rz.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iQ=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i0=(e,t)=>{let r=t.colon||iZ,n=e.match(/\//)||iJ&&e.match(/\\/)?[""]:[...(iJ?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iJ?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iJ?i.split(r):[""];return iJ&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i1=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i0(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iQ(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iV.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];rq(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);};rH=i1,i1.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i0(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";};(rV=i2).default=i2,rB=function(e){return p(e)||p(e,!0);};rX=function(e){return e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1");},rW=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;},rY={},rK={},rJ={},rJ=/^#!(.*)/,rK=(e="")=>{let t=e.match(rJ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rY=function(e){let t;let r=Buffer.alloc(150);try{t=iX.openSync(e,"r"),iX.readSync(t,r,0,150,0),iX.closeSync(t);}catch(e){}return rK(r.toString());};const i3="win32"===process.platform;rG=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(!i3)return e;let t=function(e){e.file=rB(e);let t=e.file&&rY(e.file);return t?(e.args.unshift(e.file),e.command=t,rB(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=iV.normalize(e.command),e.command=rX(e.command),e.args=e.args.map(e=>rW(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);},rZ={};const i4="win32"===process.platform;rZ={hookChildProcess:function(e,t){if(!i4)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 i4&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rM=h).spawn=h,rM.sync=function(e,t,r){let n=rG(e,t,r),i=rg.spawnSync(n.command,n.args,n.options);return i.error=i.error||rZ.verifyENOENTSync(i.status,n),i;},rM._parse=rG,rM._enoent=rZ;const i6=({cwd:e=c(rx).cwd(),path:t=c(rx).env[m()],preferLocal:r=!0,execPath:n=c(rx).execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?(0,rS.fileURLToPath)(e):e,s=c(r_).resolve(o),a=[];return r&&i8(a,s),i&&i5(a,n,s),[...a,t].join(c(r_).delimiter);},i8=(e,t)=>{let r;for(;r!==t;)e.push(c(r_).join(t,"node_modules/.bin")),r=t,t=c(r_).resolve(t,"..");},i5=(e,t,r)=>{let n=t instanceof URL?(0,rS.fileURLToPath)(t):t;e.push(c(r_).resolve(r,n,".."));},i9=({env:e=c(rx).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i6(t),e;},i7=(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);(oe(i,o)||!n)&&Object.defineProperty(e,r,o);},oe=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);},ot=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},or=(e,t)=>`/* Wrapped ${e}*/ -${t}`,on=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oi=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),oo=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=or.bind(null,n,t.toString());Object.defineProperty(i,"name",oi),Object.defineProperty(e,"toString",{...on,value:i});},os=new WeakMap(),oa=(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(os.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))i7(e,t,n,r);ot(e,t),oo(e,t,n);}(o,e),os.set(o,n),o;};oa.callCount=e=>{if(!os.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return os.get(e);},rQ=oa;const ol=()=>Array.from({length:op-ou+1},oc),oc=(e,t)=>({name:"SIGRT"+(t+1),number:ou+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),ou=34,op=64,of=[{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"}],od=()=>[...of,...ol()].map(oh),oh=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rO.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},om=Object.fromEntries(od().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}])),ov=(e,t)=>{let r=og(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}};},og=(e,t)=>{let r=t.find(({name:t})=>rO.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=od();return Object.assign({},...Array.from({length:op+1},(t,r)=>ov(r,e)));})();const oy=({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",oE=({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(rx).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:om[i].description,m=oy({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;},ow=["stdin","stdout","stderr"],o_=e=>ow.some(t=>void 0!==e[t]),ob=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return ow.map(t=>e[t]);if(o_(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ow.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,ow.length)},(e,r)=>t[r]);};r0={};const ox=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(ox(r1=r$.process)){var oS,oO=rh,oR=rk("bJALw"),oI=/^win/i.test(r1.platform),oT=rd;"function"!=typeof oT&&(oT=oT.EventEmitter),r1.__signal_exit_emitter__?oS=r1.__signal_exit_emitter__:((oS=r1.__signal_exit_emitter__=new oT()).count=0,oS.emitted={}),oS.infinite||(oS.setMaxListeners(1/0),oS.infinite=!0);var oP=function(){o$&&ox(r$.process)&&(o$=!1,oR.forEach(function(e){try{r1.removeListener(e,oA[e]);}catch(e){}}),r1.emit=oD,r1.reallyExit=oL,oS.count-=1);};(r0=function(e,t){if(!ox(r$.process))return function(){};oO.equal(typeof e,"function","a callback must be provided for exit handler"),!1===o$&&oC();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oS.on(r,e),function(){oS.removeListener(r,e),0===oS.listeners("exit").length&&0===oS.listeners("afterexit").length&&oP();};}).unload=oP;var oN=function(e,t,r){oS.emitted[e]||(oS.emitted[e]=!0,oS.emit(e,t,r));},oA={};oR.forEach(function(e){oA[e]=function(){ox(r$.process)&&r1.listeners(e).length===oS.count&&(oP(),oN("exit",null,e),oN("afterexit",null,e),oI&&"SIGHUP"===e&&(e="SIGINT"),r1.kill(r1.pid,e));};}),r0.signals=function(){return oR;};var o$=!1,oC=function(){!o$&&ox(r$.process)&&(o$=!0,oS.count+=1,oR=oR.filter(function(e){try{return r1.on(e,oA[e]),!0;}catch(e){return!1;}}),r1.emit=oj,r1.reallyExit=ok);};r0.load=oC;var oL=r1.reallyExit,ok=function(e){ox(r$.process)&&(r1.exitCode=e||0,oN("exit",r1.exitCode,null),oN("afterexit",r1.exitCode,null),oL.call(r1,r1.exitCode));},oD=r1.emit,oj=function(e,t){if(!("exit"===e&&ox(r$.process)))return oD.apply(this,arguments);void 0!==t&&(r1.exitCode=t);var r=oD.apply(this,arguments);return oN("exit",r1.exitCode,null),oN("afterexit",r1.exitCode,null),r;};}else r0=function(){return function(){};};const oF=(e,t="SIGTERM",r={})=>{let n=e(t);return oU(e,t,r,n),n;},oU=(e,t,r,n)=>{if(!oM(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oB(r));i.unref&&i.unref();},oM=(e,{forceKillAfterTimeout:t},r)=>oG(e)&&!1!==t&&r,oG=e=>e===c(rO).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oB=({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;},oH=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oq=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oz=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oq(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oV=({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})`);},oX=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r0)(()=>{e.kill();});return n.finally(()=>{i();});},oW=e=>e instanceof rb.ChildProcess&&"function"==typeof e.then,oY=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rv.createWriteStream)(r)),e;if(g(r))return e[t].pipe(r),e;if(!oW(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;},oK=e=>{null!==e.stdout&&(e.pipeStdout=oY.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oY.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oY.bind(void 0,e,"all"));};r2={},r3=rR.constants,r4=rm.promisify,r6={},r8=rI.PassThrough,r6=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 r8({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 oJ=r4(rI.pipeline);class oZ extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r2=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r2.array=(e,t)=>y(e,{...t,array:!0}),r2.MaxBufferError=oZ,r5={},r9=rI.PassThrough,r5=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 r9({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 oQ=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o0=({input:e,inputFile:t})=>"string"!=typeof t?e:(oQ(e),(0,rv.readFileSync)(t)),o1=e=>{let t=o0(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o2=({input:e,inputFile:t})=>"string"!=typeof t?e:(oQ(e),(0,rv.createReadStream)(t)),o3=(e,t)=>{let r=o2(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o4=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r5)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o6=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o8=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r2)(e,{encoding:t,maxBuffer:n}):c(r2).buffer(e,{maxBuffer:n});},o5=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o8(e,{encoding:n,buffer:i,maxBuffer:o}),l=o8(t,{encoding:n,buffer:i,maxBuffer:o}),c=o8(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},o6(e,a),o6(t,l),o6(r,c)]);}},o9=(async()=>{})().constructor.prototype,o7=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o9,e)]),se=(e,t)=>{for(let[r,n]of o7){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},st=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);});}),sr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],sn=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,si=(e,t)=>sr(e,t).join(" "),so=(e,t)=>sr(e,t).map(e=>sn(e)).join(" "),ss=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;},sa=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rb.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rw.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sl=(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)],sc=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=sl(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sl(s,Array.isArray(a)?a.map(e=>sa(e)):[sa(a)],o.endsWith(" "));},su=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sc({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sp=(0,rT.debuglog)("execa").enabled,sf=(e,t)=>(e+"").padStart(t,"0"),sd=()=>{let e=new Date();return`${sf(e.getHours(),2)}:${sf(e.getMinutes(),2)}:${sf(e.getSeconds(),2)}.${sf(e.getMilliseconds(),3)}`;},sh=(e,{verbose:t})=>{t&&c(rx).stderr.write(`[${sd()}] ${e} -`);},sm=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rx).env,...e}:e;return r?i9({env:o,cwd:n,execPath:i}):o;},sv=(e,t,r={})=>{let n=c(rM)._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(rx).cwd(),execPath:c(rx).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sp,...r}).env=sm(r),r.stdio=ob(r),"win32"===c(rx).platform&&"cmd"===c(r_).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sg=(e,t,r)=>"string"==typeof t||(0,rw.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:"",sy=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sE=(e={})=>({preferLocal:!0,...sy(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=su(n,i);return E(o,s,sE(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]=su(e,r);return w(n,i,sE(t));},r;}(),r7={},l(ne={},"isexe",()=>sw),l(ne,"sync",()=>s_),nt=rk("6vN83");const sw=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sb(await(0,nt.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},s_=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sb((0,iX.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sb=(e,t)=>e.isFile()&&sx(e,t),sx=(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(nr={},"isexe",()=>sS),l(nr,"sync",()=>sO),nt=rk("6vN83");const sS=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sI(await(0,nt.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sO=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sI((0,iX.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sR=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sR(t,r),sT="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?nr:ne,sP=sT.isexe,sN=sT.sync;nn=iV.join,ni=iV.delimiter,no=iV.sep,ns=iV.posix;const sA="win32"===process.platform,s$=new RegExp(`[${ns.sep}${no===ns.sep?"":no}]`.replace(/(\\)/g,"\\$1")),sC=RegExp("^\\."+s$.source),sL=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sk=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=ni})=>{let i=e.match(s$)?[""]:[...(sA?[process.cwd()]:[]),...(t||"").split(n)];if(sA){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:[""]};},sD=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sC.test(t)?t.slice(0,2):"")+nn(r,t);},sj=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sk(e,t),o=[];for(let s of r){let r=sD(s,e);for(let e of n){let n=r+e;if(await sP(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 sL(e);};r7=sj,sj.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sk(e,t),o=[];for(let s of r){let r=sD(s,e);for(let e of n){let n=r+e;if(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 sL(e);};const sF={stdio:"inherit",shell:!0};rF=rk("pcnv8"),na={},nl=rk("cgM1r"),nc={},nu=rk("lFuzu"),nc=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&nu(e);},np={},nf=rk("czzoJ"),nd=rk("8KFbm"),nh=rk("e4Lgg"),nm={},nv={},ng=rk("kg6aw"),ny={},nE=rk("cJ0vr"),nw={function:!0,object:!0},ny=function(e){return nE(e)&&nw[typeof e]||!1;},nE=rk("cJ0vr"),n_=Error.captureStackTrace,nv=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nE(n)&&ny(r)&&(n=r,r=null),nE(n)&&ng(t,n),nE(r)&&(t.code=r),n_&&n_(t,nv),t;},nb=rk("2c0jI"),nx=rk("9xcfl"),nS=rk("9E9rT").methods,nO={},nR={},nI=rk("lCzSe"),nT=Array.isArray,nR=function(e){return nT(e)?e:nI(e);},nE=rk("cJ0vr"),nf=rk("czzoJ"),nP=Array.prototype.slice,nN=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(nP.call(e,this.length));},nO=function(e){return(e=nR(e)).forEach(function(e){nE(e)&&nf(e);}),nN.bind(e);},nA={},nf=rk("czzoJ"),nA=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nf(e.get)},void 0!==e.set)?(t.set=nf(e.set),e.delete&&(t.delete=nf(e.delete)),e.clear&&(t.clear=nf(e.clear))):t.set=t.get,t);},n$=Function.prototype.apply,nC=Function.prototype.call,nL=Object.create,nk=Object.defineProperties,nD=nS.on,nj=nS.emit,nm=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nL(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=nA(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nO(r.resolvers)),v=o?nb(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?nC.call(e,this,a[0]):n$.call(e,this,a),null===r){if(null!==(r=o(a)))throw nv("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw nv("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?n$.call(e,this,arguments):nC.call(e,this),hasOwnProperty.call(y,"data"))throw nv("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?nC.call(e,this,o[0]):n$.call(e,this,o),hasOwnProperty.call(y,i))throw nv("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=nL(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nD.call(this,e,t);},emit:nj,updateEnv:function(){e=n.original;}},c=o?nb(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=nb(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nb(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));}),nk(v,{__memoized__:nx(!0),delete:nx(c),clear:nx(n.clear),_get:nx(u),_has:nx(p)}),n;},np=function e(t){var r,n,i;if(nf(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=nc(r.length,t.length,r.async&&nh.async),i=nm(t,n,r),nd(nh,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},na=function(e){var t,r=nl(arguments[1]);return!r.normalizer&&0!==(t=r.length=nc(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rk("2aBcN"):t>1&&(r.normalizer=rk("hAul9")(t)):!1===t?r.normalizer=rk("7BD8r")():1===t?r.normalizer=rk("61N6r")():r.normalizer=rk("hqtiJ")(t)),r.async&&rk("a24EK"),r.promise&&rk("kIZkh"),r.dispose&&rk("i7d4K"),r.maxAge&&rk("b1mdU"),r.max&&rk("dZT72"),r.refCounter&&rk("eA2P6"),np(e,r);},nF=rk("ibhuk");const sU=/^~(?=$|\/|\\)/,{appendFile:sM,readFile:sG,writeFile:sB}=iX.promises,sH=T("~/.bashrc"),sq=c(na)(P,{promise:!0});nU={};const sz="win32"!==iz.platform(),sV=iz.release(),sX=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nU=function(e){return sz?e.replace(/(\s+)/g,"\\$1"):sX(.../(\d+\.\d+)\.(\d+)/.exec(sV).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rk("sOzdu"),t=function(e){return e.split("").reverse().join("");},nM=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(nM={});const{appendFile:sW}=iX.promises;rU=rk("k1l4q"),rj=rk("dKklS"),rF=rk("pcnv8");const{appendFile:sY}=iX.promises,sK=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nG=rk("5FRs7"),function(){rk("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(nB={}),nH={},nH=rk("2KdLC"),nq={},nq={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"}}}},rF=rk("pcnv8"),nz={},nV=rk("51NgG"),nX=rP.env.npm_package_json,nY=!!((nW=rP.env.npm_config_user_agent)&&nW.startsWith("npm")),nK=!!(nX&&nX.endsWith("package.json")),nJ=nY||nK,nZ=!!(nW&&nW.startsWith("yarn")),nQ=nJ||nZ,n0=iz.homedir(),n1=process.env.XDG_CONFIG_HOME||iV.join(n0,".config","simple-update-notifier"),n2=function(e){return iV.join(n1,"".concat(e.replace("@","").replace("/","__"),".json"));},n3=function(){iX.existsSync(n1)||iX.mkdirSync(n1,{recursive:!0});},n4=function(e){var t=n2(e);try{if(!iX.existsSync(t))return;return JSON.parse(iX.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n6=function(e){var t=n2(e);iX.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n8=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){iK.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);});})];});});},n5=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(n3(),e=n4(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 rN.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=ii.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 iI(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class af extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}im.HTTPError=af;const ad="win32"===process.platform,ah="darwin"===process.platform;im.downloadTool=function(e,t,r,n){return iw(this,void 0,void 0,function*(){t=t||ao.join(eN(),au.default()),yield at.mkdirP(ao.dirname(t)),ae.debug("Downloading "+e),ae.debug("Destination "+t);let i=eA("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eA("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new ix.RetryHelper(3,i,o);return yield s.execute(()=>iw(this,void 0,void 0,function*(){return yield function(e,t,r,n){return iw(this,void 0,void 0,function*(){if(ar.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new as.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(ae.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 af(o.message.statusCode);throw ae.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=ac.promisify(al.pipeline),a=eA("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,ar.createWriteStream(t)),ae.debug("download complete"),l=!0,t;}finally{if(!l){ae.debug("download failed");try{yield at.rmRF(t);}catch(e){ae.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof af)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},im.extract7z=function(e,t,r){return iw(this,void 0,void 0,function*(){rh.ok(ad,"extract7z() not supported on current OS"),rh.ok(e,'parameter "file" is required'),t=yield eS(t);let n=process.cwd();if(process.chdir(t),r)try{let t=ae.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield ib.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=ao.join(iv,"..","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 at.which("powershell",!0);yield ib.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},im.extractTar=function(e,t,r="xz"){return iw(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eS(t),ae.debug("Checking tar --version");let i="";yield ib.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),ae.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],ae.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ad&&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 ib.exec("tar",n),t;});},im.extractXar=function(e,t,r=[]){return iw(this,void 0,void 0,function*(){let n;rh.ok(ah,"extractXar() not supported on current OS"),rh.ok(e,'parameter "file" is required'),t=yield eS(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),ae.isDebug()&&n.push("-v");let i=yield at.which("xar",!0);return yield ib.exec(`"${i}"`,Array.from(new Set(n))),t;});},im.extractZip=function(e,t){return iw(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eS(t),ad?yield function(e,t){return iw(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 at.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 $_ } } ;`;ae.debug("Using pwsh at path: "+i),yield ib.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 at.which("powershell",!0);ae.debug("Using powershell at path: "+t),yield ib.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return iw(this,void 0,void 0,function*(){let r=yield at.which("unzip",!0),n=[e];ae.isDebug()||n.unshift("-q"),n.unshift("-o"),yield ib.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},im.cacheDir=function(e,t,r,n){return iw(this,void 0,void 0,function*(){if(r=aa.clean(r)||r,n=n||ai.arch(),ae.debug(`Caching tool ${t} ${r} ${n}`),ae.debug("source dir: "+e),!ar.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eO(t,r,n);for(let t of ar.readdirSync(e)){let r=ao.join(e,t);yield at.cp(r,i,{recursive:!0});}return eR(t,r,n),i;});},im.cacheFile=function(e,t,r,n,i){return iw(this,void 0,void 0,function*(){if(n=aa.clean(n)||n,i=i||ai.arch(),ae.debug(`Caching tool ${r} ${n} ${i}`),ae.debug("source file: "+e),!ar.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eO(r,n,i),s=ao.join(o,t);return ae.debug("destination file "+s),yield at.cp(e,s),eR(r,n,i),o;});},im.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||ai.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=aa.clean(t)||"";let i=ao.join(eP(),e,t,r);ae.debug("checking cache: "+i),ar.existsSync(i)&&ar.existsSync(`${i}.complete`)?(ae.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):ae.debug("not found");}return n;},im.findAllVersions=ex,im.getManifestFromRepo=function(e,t,r,n="master"){return iw(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new as.HttpClient("tool-cache"),a={};r&&(ae.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){ae.debug("Invalid json");}}return i;});},im.findFromManifest=function(e,t,r,n=ai.arch()){return iw(this,void 0,void 0,function*(){return yield an._findMatch(e,t,r,n);});},im.isExplicitVersion=eI,im.evaluateVersions=eT,rj=rk("dKklS"),rF=rk("pcnv8"),nt=rk("6vN83"),nF=rk("ibhuk"),ip=rk("drEX5"),Object.defineProperty(iT={},"__esModule",{value:!0}),iT.retryAsPromised=iT.TimeoutError=void 0;class am extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iT.TimeoutError=am,iT.retryAsPromised=e$,iT.default=e$,iP=rk("g9WSN"),rF=rk("pcnv8"),(ru=iN||(iN={}))[ru.Tar=0]="Tar",ru[ru.TarGz=1]="TarGz",ru[ru.TarXz=2]="TarXz",ru[ru.Zip=3]="Zip",ru[ru.SevenZip=4]="SevenZip",rU=rk("k1l4q");const av=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||iX.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||iX.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||iX.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iX.mkdirSync,t;},ag=(e,t,r)=>{let n=(0,iV.dirname)(e),i={...av(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 ag(e,i,ag(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;}}},ay=Object.assign(async(e,t,r)=>{let n=av(t);n.recursive=!1;let i=(0,iV.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 ay(i,n).then(t=>ay(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:ag}),aE=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?aE(e,(0,iV.dirname)(t),t):void 0);},aw=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?aw(e,(0,iV.dirname)(t),t):void 0;}},a_=(e,t)=>{let r=av(t);if(r.recursive=!0,(0,iV.dirname)(e)===e)return r.mkdirSync(e,r);let n=aw(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return ag(e,r);throw t;}},ab=Object.assign(async(e,t)=>{let r={...av(t),recursive:!0};return(0,iV.dirname)(e)===e?await r.mkdirAsync(e,r):aE(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return ay(e,r);throw t;}));},{sync:a_}),ax=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aS=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,iV.resolve)(e),"win32"===ax){let{root:t}=(0,iV.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aO=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aR=+aO[0]>10||10==+aO[0]&&+aO[1]>=12,aI=aR?e=>av(e).mkdirSync===iX.mkdirSync:()=>!1,aT=Object.assign(aR?e=>av(e).mkdir===iX.mkdir:()=>!1,{sync:aI}),aP=(e,t)=>{e=aS(e);let r=av(t);return aI(r)?a_(e,r):ag(e,r);},aN=Object.assign(async(e,t)=>{e=aS(e);let r=av(t);return aT(r)?ab(e,r):ay(e,r);},{mkdirpSync:aP,mkdirpNative:ab,mkdirpNativeSync:a_,mkdirpManual:ay,mkdirpManualSync:ag,sync:aP,native:ab,nativeSync:a_,manual:ay,manualSync:ag,useNative:aT,useNativeSync:aI});nF=rk("ibhuk"),ip=rk("drEX5"),ib=rk("ca0ts"),rj=rk("dKklS"),rF=rk("pcnv8"),nt=rk("6vN83"),nF=rk("ibhuk"),ip=rk("drEX5"),ib=rk("ca0ts"),rF=rk("pcnv8"),iA=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rN.URL(t),!0;}catch{return!1;}},i$=async e=>{if(!iA(e))return!1;let t=await eX(e,"HEAD");return!!t||!!(t=await eX(e,"GET"));},id=rk("8YrRN"),iC=rk("fYuCK"),iL=rk("2owFL");const aA=/v?(\d\S*)/,a$={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:eh()?"13.2.1-3":"13",powershell:"7.4.5"},aC={pip:"22.2.0",python:"3.7.9"},aL={gcc:{24:"13",22:"13",20:"11",18:"11",16:"11",14:"11"},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"}},ak=c(na)(tt,{promise:!0});rF=rk("pcnv8"),Object.defineProperty(ik={},"__esModule",{value:!0}),ik.getUbuntuVersion=void 0,ik.getUbuntuVersion=ti;const aD=c(na)(to,{promise:!0}),aj=c(na)(tu,{promise:!0}),aF=c(na)(tp,{promise:!0}),aU=c(na)(tf,{promise:!0});rF=rk("pcnv8"),ip=rk("drEX5"),nF=rk("ibhuk");const aM=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"]]]),aG=c(na)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rO).release()).split(".")[0];let[t,r]=aM.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rj=rk("dKklS"),rF=rk("pcnv8"),nF=rk("ibhuk"),ip=rk("drEX5"),id=rk("8YrRN"),iD=rk("gWZ4x"),ib=rk("ca0ts"),rF=rk("pcnv8"),ij=iV.resolve(__dirname,"../../src/gcc");const aB={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};iD=rk("gWZ4x"),iL=rk("2owFL"),rF=rk("pcnv8"),ip=rk("drEX5"),ip=rk("drEX5"),iF=iV.resolve(__dirname,"../../src/kcov"),rj=rk("dKklS"),rF=rk("pcnv8"),nF=rk("ibhuk"),ip=rk("drEX5"),nt=rk("6vN83"),rU=rk("k1l4q"),rF=rk("pcnv8");class aH extends Error{constructor(e){super(e),this.name="TimeoutError";}}class aq extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const az=e=>void 0===globalThis.DOMException?new aq(e):new DOMException(e),aV=e=>{let t=void 0===e.reason?az("This operation was aborted."):e.reason;return t instanceof Error?t:az(t);};ip=rk("drEX5"),rF=rk("pcnv8"),rU=rk("k1l4q");const aX=rP.env["ProgramFiles(x86)"],aW=[rP.env["ProgramFiles(x86)"],rP.env.ProgramFiles],aY=["Enterprise","Professional","Community","BuildTools"],aK=["2022","2019","2017"],aJ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iU=tF;const aZ=`${aX}\\Microsoft Visual Studio\\Installer`;iM=tU,iG=function(e,t,r,n,i,o){if("win32"!=rP.platform){rU.info("This is not a Windows virtual environment, bye!");return;}rP.env.PATH+=iV.delimiter+aZ;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=`"${tU(o)}" ${a.join(" ")}`;rU.debug("vcvars command-line: "+l);let c=rg.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(rU.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rU.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(";")),rU.exportVariable(t,r));}rU.endGroup(),rU.info("Configured Developer Command Prompt");},nF=rk("ibhuk");const aQ=12e5;(rp=iB||(iB={}))[rp.All=0]="All",rp[rp.ClangFormat=1]="ClangFormat",rp[rp.Core=2]="Core",rF=rk("pcnv8"),ip=rk("drEX5"),ih=rk("aTQrN");const a0=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"]),a1=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),a2=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"]),a3=new Map(),a4={"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"},a6="18.1.8";iH=iV.resolve(__dirname,"../../src/llvm");const a8=c(na)(tZ,{promise:!0}),a5=c(na)(t0,{promise:!0}),a9=c(na)(t1,{promise:!0});rj=rk("dKklS"),ip=rk("drEX5"),rF=rk("pcnv8"),nF=rk("ibhuk"),iq=iV.resolve(__dirname,"../../src/msvc"),ip=rk("drEX5"),rF=rk("pcnv8"),ip=rk("drEX5"),ip=rk("drEX5"),rF=rk("pcnv8"),nF=rk("ibhuk"),ip=rk("drEX5");let a7=!1;const le={nala:t5,cmake:eV,ninja:t$,python:eQ,vcpkg:ri,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:t9,llvm:tJ,gcc:tR,choco:ev,brew:eu,powershell:rt,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 tQ(e,t,r);},clangformat:function(e,t,r){return tQ(e,t,r,iB.ClangFormat);},msvc:t6,vcvarsall:tM,kcov:tj,make:t4,task:function(e,t,r){return eG("task",e,rn,t,r);},sevenzip:eC},lt=Object.keys(le),lr=["compiler","architecture","timeout",...lt],ln={rcPath:T("~/.cpprc"),guard:"cpp"};rU=rk("k1l4q"),rF=rk("pcnv8"),iL=rk("2owFL"),rl(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rF.error)("main() panicked!"),(0,rF.error)(e),process.exitCode=1;}); + 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;}),rj("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(iK),f=i(iJ),d=i(rD("iZzl4")),h=i(rD("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 rD("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),{});}),rj("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;}}}),rj("bbp3j",function(e,t){e.exports=rD("fNJ5J");}),rj("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||iK.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=rd.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=iK.request,t;},n=function(e){var t=new c(e);return t.request=iK.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iJ.request,t;},o=function(e){var t=new c(e);return t.request=iJ.request,t.createSocket=u,t.defaultPort=443,t;},rv.inherits(c,rh.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;}),rj("4vDZ9",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.5536f8bd.js")).then(()=>rD("5IibL"));}),rj("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");});}};}),rj("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}=iW.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,iW.constants.R_OK|iW.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(iV.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;}),rj("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(iX);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);};}),rj("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",()=>O),l(e.exports,"writeFile",()=>R),l(e.exports,"rm",()=>I),iW.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:S,utimes:O,writeFile:R}=iW.promises,I="rm"in iW.promises?iW.promises.rm:(0,rv.promisify)(iW.unlink);}),rj("h5DII",function(e,t){e.exports=function(){};}),rj("3PDBf",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rj("01ud6",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rj("iGjce",function(e,t){var r=rD("czzoJ"),n=rD("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;});};};}),rj("czzoJ",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rj("gm8vF",function(e,t){var r=rD("cJ0vr");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rj("cJ0vr",function(e,t){var r=rD("h5DII")();e.exports=function(e){return e!==r&&null!==e;};}),rj("e4Lgg",function(e,t){}),rj("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");};}),rj("1dJjv",function(e,t){var r=rD("gK5RI"),n=rD("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;};}),rj("gK5RI",function(e,t){e.exports=rD("jF45l")()?Object.keys:rD("4MK4A");}),rj("jF45l",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rj("4MK4A",function(e,t){var r=rD("cJ0vr"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rj("1733k",function(e,t){var r=rD("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;};}),rj("j7soM",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rj("78Sfc",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rj("9E9rT",function(e,t){var r,n,i,o,s,a,l,c=rD("9xcfl"),u=rD("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;}),rj("9xcfl",function(e,t){var r=rD("6WFxD"),n=rD("9ruXB"),i=rD("kg6aw"),o=rD("cgM1r"),s=rD("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;};}),rj("6WFxD",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rj("9ruXB",function(e,t){var r=rD("ic21Z"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rj("ic21Z",function(e,t){var r=rD("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);};}),rj("jYida",function(e,t){var r=rD("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;}};}),rj("29Ioz",function(e,t){var r=rD("6WFxD"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rj("kg6aw",function(e,t){e.exports=rD("jyCUJ")()?Object.assign:rD("1dJjv");}),rj("cgM1r",function(e,t){var r=rD("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;};}),rj("2ynAk",function(e,t){e.exports=rD("j7soM")()?String.prototype.contains:rD("78Sfc");}),rj("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]);};}),rj("76jlv",function(e,t){var r=rD("7VWWn").iterator,n=rD("aRDzb"),i=rD("dfN19"),o=rD("lFuzu"),s=rD("czzoJ"),a=rD("gm8vF"),l=rD("cJ0vr"),c=rD("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],S=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,S,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,S,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,S,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;};}),rj("7VWWn",function(e,t){e.exports=rD("jVPv5")()?rD("cuWno").Symbol:rD("9Pvgk");}),rj("jVPv5",function(e,t){var r=rD("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]);};}),rj("cuWno",function(e,t){e.exports=rD("jRf15")()?globalThis:rD("0DgUa");}),rj("jRf15",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rj("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__;}}();}),rj("9Pvgk",function(e,t){var r,n,i,o=rD("9xcfl"),s=rD("i6cH8"),a=rD("cuWno").Symbol,l=rD("cRR41"),c=rD("hIvqG"),u=rD("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]));}),rj("i6cH8",function(e,t){var r=rD("jKzLn");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rj("jKzLn",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rj("cRR41",function(e,t){var r=rD("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;};}),rj("hIvqG",function(e,t){var r=rD("9xcfl"),n=rD("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"))});};}),rj("6Fh4Q",function(e,t){var r=rD("9xcfl"),n=rD("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;})});};}),rj("aRDzb",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rj("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));};}),rj("lFuzu",function(e,t){var r=rD("5c2FR"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rj("5c2FR",function(e,t){var r=rD("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;};}),rj("k2sGI",function(e,t){e.exports=rD("3PDBf")()?Math.sign:rD("01ud6");}),rj("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;};}),rj("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;};}),rj("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"";};};}),rj("7BD8r",function(e,t){var r=rD("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;};}),rj("3Fikq",function(e,t){e.exports=rD("e4HH5")()?Number.isNaN:rD("d2BiD");}),rj("e4HH5",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rj("d2BiD",function(e,t){e.exports=function(e){return e!=e;};}),rj("61N6r",function(e,t){var r=rD("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=[];}};};}),rj("hqtiJ",function(e,t){var r=rD("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);});};}),rj("5uwxY",function(e,t){var r=rD("acEY7");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rj("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;}),rj("i7d4K",function(e,t){var r=rD("czzoJ"),n=rD("8KFbm"),i=rD("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);});});};}),rj("b1mdU",function(e,t){var r=rD("lCzSe"),n=rD("8KFbm"),i=rD("aDo18"),o=rD("3lsZz"),s=rD("frVfT"),a=rD("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={});}));};}),rj("frVfT",function(e,t){var r=rD("lFuzu"),n=rD("6prMa");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rj("6prMa",function(e,t){e.exports=2147483647;}),rj("dZT72",function(e,t){var r=rD("lFuzu"),n=rD("bE3O1"),i=rD("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));};}),rj("bE3O1",function(e,t){var r=rD("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;}};};}),rj("eA2P6",function(e,t){var r=rD("9xcfl"),n=rD("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;})});};}),rj("ibhuk",function(e,t){async function r(e){try{return await(0,rg.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rj("sOzdu",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rj("j5MHF",function(e,t){var r=iX.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);}),rj("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=rD("5FRs7"),i=rD("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};}),rj("5FRs7",function(e,t){e.exports=rD("j5MHF");}),rj("3Zbea",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rj("51NgG",function(e,t){var r=rD("a4A3m"),n=rD("gzZHc"),i=rD("8wL3J"),o=rD("9kOAd"),s=rD("dJ3EL"),a=rD("2owFL"),l=rD("kBdlj"),c=rD("bFSJ9"),u=rD("bdHiQ"),p=rD("gWZ4x"),f=rD("dLri9"),d=rD("2tsX7"),h=rD("3lzLT"),m=rD("fYuCK"),v=rD("6LnSq"),g=rD("dZkNJ"),y=rD("2Qi5H"),E=rD("fJeYC"),w=rD("j1k1X"),_=rD("ccAMb"),b=rD("4qy3a"),x=rD("3ovyF"),S=rD("laDmN"),O=rD("3cxkY"),R=rD("aTQrN"),I=rD("5kn9j"),T=rD("8YrRN"),P=rD("fNiVh"),N=rD("gTfXP"),A=rD("kPBDZ"),$=rD("cVl8o"),C=rD("j0UMd"),L=rD("kgJyO"),k=rD("k8woQ"),D=rD("cQA7W"),j=rD("j3dZX"),F=rD("bENPT"),U=rD("iehU8"),M=rD("5NOPx"),G=rD("fdN0I"),B=rD("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:S,gte:O,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};}),rj("a4A3m",function(e,t){var r=rD("gzZHc"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rD("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*$");}),rj("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};}),rj("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;}),rj("8wL3J",function(e,t){var r=rD("cg13c"),n=rD("gzZHc"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rD("a4A3m"),a=s.safeRe,l=s.t,c=rD("5bRb1"),u=rD("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;}),rj("5bRb1",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rj("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)};}),rj("dJ3EL",function(e,t){var r=rD("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;}};}),rj("2owFL",function(e,t){var r=rD("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rj("kBdlj",function(e,t){var r=rD("dJ3EL");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rj("bFSJ9",function(e,t){var r=rD("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;}};}),rj("bdHiQ",function(e,t){var r=rD("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";};}),rj("gWZ4x",function(e,t){var r=rD("8wL3J");e.exports=(e,t)=>new r(e,t).major;}),rj("dLri9",function(e,t){var r=rD("8wL3J");e.exports=(e,t)=>new r(e,t).minor;}),rj("2tsX7",function(e,t){var r=rD("8wL3J");e.exports=(e,t)=>new r(e,t).patch;}),rj("3lzLT",function(e,t){var r=rD("dJ3EL");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rj("fYuCK",function(e,t){var r=rD("8wL3J");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rj("6LnSq",function(e,t){var r=rD("fYuCK");e.exports=(e,t,n)=>r(t,e,n);}),rj("dZkNJ",function(e,t){var r=rD("fYuCK");e.exports=(e,t)=>r(e,t,!0);}),rj("2Qi5H",function(e,t){var r=rD("8wL3J");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rj("fJeYC",function(e,t){var r=rD("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rj("j1k1X",function(e,t){var r=rD("2Qi5H");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rj("ccAMb",function(e,t){var r=rD("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>0;}),rj("4qy3a",function(e,t){var r=rD("fYuCK");e.exports=(e,t,n)=>0>r(e,t,n);}),rj("3ovyF",function(e,t){var r=rD("fYuCK");e.exports=(e,t,n)=>0===r(e,t,n);}),rj("laDmN",function(e,t){var r=rD("fYuCK");e.exports=(e,t,n)=>0!==r(e,t,n);}),rj("3cxkY",function(e,t){var r=rD("fYuCK");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rj("aTQrN",function(e,t){var r=rD("fYuCK");e.exports=(e,t,n)=>0>=r(e,t,n);}),rj("5kn9j",function(e,t){var r=rD("3ovyF"),n=rD("laDmN"),i=rD("ccAMb"),o=rD("3cxkY"),s=rD("4qy3a"),a=rD("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);}};}),rj("8YrRN",function(e,t){var r=rD("8wL3J"),n=rD("dJ3EL"),i=rD("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);};}),rj("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=rD("5bRb1"),o=rD("a4A3m"),s=o.safeRe,a=o.t,l=rD("5kn9j"),c=rD("cg13c"),u=rD("8wL3J"),p=rD("gTfXP");}),rj("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=S(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;});},S=(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;});},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;};}),rj("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;}};}),rj("kPBDZ",function(e,t){var r=rD("gTfXP");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rj("cVl8o",function(e,t){var r=rD("gTfXP");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rj("j0UMd",function(e,t){var r=rD("8wL3J"),n=rD("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;};}),rj("kgJyO",function(e,t){var r=rD("8wL3J"),n=rD("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;};}),rj("k8woQ",function(e,t){var r=rD("8wL3J"),n=rD("gTfXP"),i=rD("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;};}),rj("cQA7W",function(e,t){var r=rD("gTfXP");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rj("j3dZX",function(e,t){var r=rD("8wL3J"),n=rD("fNiVh");let{ANY:i}=n;var o=rD("gTfXP"),s=rD("kPBDZ"),a=rD("ccAMb"),l=rD("4qy3a"),c=rD("aTQrN"),u=rD("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;};}),rj("bENPT",function(e,t){var r=rD("j3dZX");e.exports=(e,t,n)=>r(e,t,">",n);}),rj("iehU8",function(e,t){var r=rD("j3dZX");e.exports=(e,t,n)=>r(e,t,"<",n);}),rj("5NOPx",function(e,t){var r=rD("gTfXP");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rj("fdN0I",function(e,t){var r=rD("kPBDZ"),n=rD("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;};}),rj("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,iX.basename)(e):(0,iX.basename)(e,(0,iX.extname)(e));}function w(e){return(0,iX.normalize)(e).replace(RegExp((0,r.default)(iX.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iX.extname)(e),n=`${t}${(0,iX.basename)(e,r)}${r}`;return(0,iX.join)((0,iX.dirname)(e),n);}function x(e,t){let r=(0,iX.extname)(e),n=`${(0,iX.basename)(e,r)}${t}${r}`;return(0,iX.join)((0,iX.dirname)(e),n);}function S(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function O(e){return"win32"===process.platform?e:"./"+e;}function R(e){let t=(0,iX.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iX.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iX.sep)||r===(0,iX.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>S),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>iX.dirname),l(e.exports,"join",()=>iX.join),r=rD("1ondq"),n=rD("7BfUa"),i={},y(o={},"name",()=>E),y(s={},"normalizeTrim",()=>w),y(a={},"addExeExt",()=>_),y(u={},"addNamePrefix",()=>b),y(p={},"addNameSuffix",()=>x),y(f={},"addShExt",()=>S),y(d={},"addShRelativePrefix",()=>O),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);}),rj("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);}),rj("7BfUa",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iX.basename(e,iX.extname(e))+t,i=iX.join(iX.dirname(e),n);return(r=e.slice(0,2))==="."+iX.sep||"./"===r?"."+iX.sep+i:i;};}),rj("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*(){rm.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(iX),p=i(rD("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;}),rj("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(iW),c=i(iX);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";};}),rj("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(rD("a5mzA"));s=rD("k1l4q"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iV.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=iV.platform(),r="";if("darwin"===t)r=ry.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 iW.existsSync(e)?r=iW.readFileSync(e).toString():iW.existsSync(t)&&(r=iW.readFileSync(t).toString()),r;};}),rj("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>S||this.major<0)throw TypeError("Invalid major version");if(this.minor>S||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>S||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,S=Number.MAX_SAFE_INTEGER||9007199254740991,O=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-]",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-]"+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,S,O,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);};}),rj("iFKS7",function(e,t){var r=rD("joDHm"),n=rD("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);};}),rj("joDHm",function(e,t){e.exports=function(){return iY.randomBytes(16);};}),rj("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("");};}),rj("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(rD("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 rE.StringDecoder("utf8"),c=new rE.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};});};}),rj("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(iV),a=i(rh),l=i(ry),c=i(iX),u=i(rD("g9WSN")),p=i(rD("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=rw.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();}}}}),rj("eYDSL",function(e,t){e.exports=Promise.resolve(require("./actions_python.895b8a50.js")).then(()=>rD("apy8x"));}),rj("bCzkE",function(e,t){e.exports=Promise.resolve(require("./hdi.619de66c.js")).then(()=>rD("9IkUc"));}),rF=rD("dKklS"),rU=rD("pcnv8"),rM=rD("k1l4q"),rF=rD("dKklS"),rU=rD("pcnv8"),rG={},rB={},rH={},rq={};const iZ="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iQ=iZ?";":":";rz={},"win32"===process.platform||rC.TESTING_WINDOWS?rV=rD("ftrAD"):rV=rD("9yF3I"),rz=u,u.sync=function(e,t){try{return rV.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const i0=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i1=(e,t)=>{let r=t.colon||iQ,n=e.match(/\//)||iZ&&e.match(/\\/)?[""]:[...(iZ?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iZ?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iZ?i.split(r):[""];return iZ&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i2=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i1(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(i0(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iX.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);};rq=i2,i2.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i1(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";};(rX=i3).default=i3,rH=function(e){return p(e)||p(e,!0);};rW=function(e){return e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1");},rY=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;},rK={},rJ={},rZ={},rZ=/^#!(.*)/,rJ=(e="")=>{let t=e.match(rZ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rK=function(e){let t;let r=Buffer.alloc(150);try{t=iW.openSync(e,"r"),iW.readSync(t,r,0,150,0),iW.closeSync(t);}catch(e){}return rJ(r.toString());};const i4="win32"===process.platform;rB=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(!i4)return e;let t=function(e){e.file=rH(e);let t=e.file&&rK(e.file);return t?(e.args.unshift(e.file),e.command=t,rH(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=iX.normalize(e.command),e.command=rW(e.command),e.args=e.args.map(e=>rY(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);},rQ={};const i6="win32"===process.platform;rQ={hookChildProcess:function(e,t){if(!i6)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 i6&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rG=h).spawn=h,rG.sync=function(e,t,r){let n=rB(e,t,r),i=ry.spawnSync(n.command,n.args,n.options);return i.error=i.error||rQ.verifyENOENTSync(i.status,n),i;},rG._parse=rB,rG._enoent=rQ;const i8=({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,rO.fileURLToPath)(e):e,s=c(rb).resolve(o),a=[];return r&&i5(a,s),i&&i9(a,n,s),[...a,t].join(c(rb).delimiter);},i5=(e,t)=>{let r;for(;r!==t;)e.push(c(rb).join(t,"node_modules/.bin")),r=t,t=c(rb).resolve(t,"..");},i9=(e,t,r)=>{let n=t instanceof URL?(0,rO.fileURLToPath)(t):t;e.push(c(rb).resolve(r,n,".."));},i7=({env:e=c(rS).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i8(t),e;},oe=(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);(ot(i,o)||!n)&&Object.defineProperty(e,r,o);},ot=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);},or=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},on=(e,t)=>`/* Wrapped ${e}*/ +${t}`,oi=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oo=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),os=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=on.bind(null,n,t.toString());Object.defineProperty(i,"name",oo),Object.defineProperty(e,"toString",{...oi,value:i});},oa=new WeakMap(),ol=(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(oa.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))oe(e,t,n,r);or(e,t),os(e,t,n);}(o,e),oa.set(o,n),o;};ol.callCount=e=>{if(!oa.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return oa.get(e);},r0=ol;const oc=()=>Array.from({length:of-op+1},ou),ou=(e,t)=>({name:"SIGRT"+(t+1),number:op+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),op=34,of=64,od=[{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"}],oh=()=>[...od,...oc()].map(om),om=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rR.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},ov=Object.fromEntries(oh().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}])),og=(e,t)=>{let r=oy(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}};},oy=(e,t)=>{let r=t.find(({name:t})=>rR.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=oh();return Object.assign({},...Array.from({length:of+1},(t,r)=>og(r,e)));})();const oE=({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",ow=({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:ov[i].description,m=oE({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;},o_=["stdin","stdout","stderr"],ob=e=>o_.some(t=>void 0!==e[t]),ox=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return o_.map(t=>e[t]);if(ob(e))throw Error("It's not possible to provide `stdio` in combination with one of "+o_.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,o_.length)},(e,r)=>t[r]);};r1={};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(r2=rC.process)){var oO,oR=rm,oI=rD("bJALw"),oT=/^win/i.test(r2.platform),oP=rh;"function"!=typeof oP&&(oP=oP.EventEmitter),r2.__signal_exit_emitter__?oO=r2.__signal_exit_emitter__:((oO=r2.__signal_exit_emitter__=new oP()).count=0,oO.emitted={}),oO.infinite||(oO.setMaxListeners(1/0),oO.infinite=!0);var oN=function(){oC&&oS(rC.process)&&(oC=!1,oI.forEach(function(e){try{r2.removeListener(e,o$[e]);}catch(e){}}),r2.emit=oj,r2.reallyExit=ok,oO.count-=1);};(r1=function(e,t){if(!oS(rC.process))return function(){};oR.equal(typeof e,"function","a callback must be provided for exit handler"),!1===oC&&oL();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oO.on(r,e),function(){oO.removeListener(r,e),0===oO.listeners("exit").length&&0===oO.listeners("afterexit").length&&oN();};}).unload=oN;var oA=function(e,t,r){oO.emitted[e]||(oO.emitted[e]=!0,oO.emit(e,t,r));},o$={};oI.forEach(function(e){o$[e]=function(){oS(rC.process)&&r2.listeners(e).length===oO.count&&(oN(),oA("exit",null,e),oA("afterexit",null,e),oT&&"SIGHUP"===e&&(e="SIGINT"),r2.kill(r2.pid,e));};}),r1.signals=function(){return oI;};var oC=!1,oL=function(){!oC&&oS(rC.process)&&(oC=!0,oO.count+=1,oI=oI.filter(function(e){try{return r2.on(e,o$[e]),!0;}catch(e){return!1;}}),r2.emit=oF,r2.reallyExit=oD);};r1.load=oL;var ok=r2.reallyExit,oD=function(e){oS(rC.process)&&(r2.exitCode=e||0,oA("exit",r2.exitCode,null),oA("afterexit",r2.exitCode,null),ok.call(r2,r2.exitCode));},oj=r2.emit,oF=function(e,t){if(!("exit"===e&&oS(rC.process)))return oj.apply(this,arguments);void 0!==t&&(r2.exitCode=t);var r=oj.apply(this,arguments);return oA("exit",r2.exitCode,null),oA("afterexit",r2.exitCode,null),r;};}else r1=function(){return function(){};};const oU=(e,t="SIGTERM",r={})=>{let n=e(t);return oM(e,t,r,n),n;},oM=(e,t,r,n)=>{if(!oG(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oH(r));i.unref&&i.unref();},oG=(e,{forceKillAfterTimeout:t},r)=>oB(e)&&!1!==t&&r,oB=e=>e===c(rR).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oH=({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;},oq=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oz=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oV=(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);})]);},oX=({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})`);},oW=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r1)(()=>{e.kill();});return n.finally(()=>{i();});},oY=e=>e instanceof rx.ChildProcess&&"function"==typeof e.then,oK=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rg.createWriteStream)(r)),e;if(g(r))return e[t].pipe(r),e;if(!oY(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;},oJ=e=>{null!==e.stdout&&(e.pipeStdout=oK.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oK.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oK.bind(void 0,e,"all"));};r3={},r4=rI.constants,r6=rv.promisify,r8={},r5=rT.PassThrough,r8=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 r5({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 oZ=r6(rT.pipeline);class oQ extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r3=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r3.array=(e,t)=>y(e,{...t,array:!0}),r3.MaxBufferError=oQ,r9={},r7=rT.PassThrough,r9=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 r7({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 o0=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o1=({input:e,inputFile:t})=>"string"!=typeof t?e:(o0(e),(0,rg.readFileSync)(t)),o2=e=>{let t=o1(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o3=({input:e,inputFile:t})=>"string"!=typeof t?e:(o0(e),(0,rg.createReadStream)(t)),o4=(e,t)=>{let r=o3(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o6=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r9)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o8=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o5=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r3)(e,{encoding:t,maxBuffer:n}):c(r3).buffer(e,{maxBuffer:n});},o9=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o5(e,{encoding:n,buffer:i,maxBuffer:o}),l=o5(t,{encoding:n,buffer:i,maxBuffer:o}),c=o5(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},o8(e,a),o8(t,l),o8(r,c)]);}},o7=(async()=>{})().constructor.prototype,se=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o7,e)]),st=(e,t)=>{for(let[r,n]of se){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},sr=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);});}),sn=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],si=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,so=(e,t)=>sn(e,t).join(" "),ss=(e,t)=>sn(e,t).map(e=>si(e)).join(" "),sa=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;},sl=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rx.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,r_.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sc=(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)],su=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=sc(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sc(s,Array.isArray(a)?a.map(e=>sl(e)):[sl(a)],o.endsWith(" "));},sp=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=su({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sf=(0,rP.debuglog)("execa").enabled,sd=(e,t)=>(e+"").padStart(t,"0"),sh=()=>{let e=new Date();return`${sd(e.getHours(),2)}:${sd(e.getMinutes(),2)}:${sd(e.getSeconds(),2)}.${sd(e.getMilliseconds(),3)}`;},sm=(e,{verbose:t})=>{t&&c(rS).stderr.write(`[${sh()}] ${e} +`);},sv=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rS).env,...e}:e;return r?i7({env:o,cwd:n,execPath:i}):o;},sg=(e,t,r={})=>{let n=c(rG)._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:sf,...r}).env=sv(r),r.stdio=ox(r),"win32"===c(rS).platform&&"cmd"===c(rb).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sy=(e,t,r)=>"string"==typeof t||(0,r_.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:"",sE=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sw=(e={})=>({preferLocal:!0,...sE(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sp(n,i);return E(o,s,sw(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]=sp(e,r);return w(n,i,sw(t));},r;}(),ne={},l(nt={},"isexe",()=>s_),l(nt,"sync",()=>sb),nr=rD("6vN83");const s_=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sx(await(0,nr.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sb=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sx((0,iW.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sx=(e,t)=>e.isFile()&&sS(e,t),sS=(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(nn={},"isexe",()=>sO),l(nn,"sync",()=>sR),nr=rD("6vN83");const sO=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sT(await(0,nr.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sR=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sT((0,iW.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sI=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sI(t,r),sP="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?nn:nt,sN=sP.isexe,sA=sP.sync;ni=iX.join,no=iX.delimiter,ns=iX.sep,na=iX.posix;const s$="win32"===process.platform,sC=new RegExp(`[${na.sep}${ns===na.sep?"":ns}]`.replace(/(\\)/g,"\\$1")),sL=RegExp("^\\."+sC.source),sk=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sD=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=no})=>{let i=e.match(sC)?[""]:[...(s$?[process.cwd()]:[]),...(t||"").split(n)];if(s$){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:[""]};},sj=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sL.test(t)?t.slice(0,2):"")+ni(r,t);},sF=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sD(e,t),o=[];for(let s of r){let r=sj(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 sk(e);};ne=sF,sF.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sD(e,t),o=[];for(let s of r){let r=sj(s,e);for(let e of n){let n=r+e;if(sA(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 sk(e);};const sU={stdio:"inherit",shell:!0};rU=rD("pcnv8"),nl={},nc=rD("cgM1r"),nu={},np=rD("lFuzu"),nu=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&np(e);},nf={},nd=rD("czzoJ"),nh=rD("8KFbm"),nm=rD("e4Lgg"),nv={},ng={},ny=rD("kg6aw"),nE={},nw=rD("cJ0vr"),n_={function:!0,object:!0},nE=function(e){return nw(e)&&n_[typeof e]||!1;},nw=rD("cJ0vr"),nb=Error.captureStackTrace,ng=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nw(n)&&nE(r)&&(n=r,r=null),nw(n)&&ny(t,n),nw(r)&&(t.code=r),nb&&nb(t,ng),t;},nx=rD("2c0jI"),nS=rD("9xcfl"),nO=rD("9E9rT").methods,nR={},nI={},nT=rD("lCzSe"),nP=Array.isArray,nI=function(e){return nP(e)?e:nT(e);},nw=rD("cJ0vr"),nd=rD("czzoJ"),nN=Array.prototype.slice,nA=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(nN.call(e,this.length));},nR=function(e){return(e=nI(e)).forEach(function(e){nw(e)&&nd(e);}),nA.bind(e);},n$={},nd=rD("czzoJ"),n$=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nd(e.get)},void 0!==e.set)?(t.set=nd(e.set),e.delete&&(t.delete=nd(e.delete)),e.clear&&(t.clear=nd(e.clear))):t.set=t.get,t);},nC=Function.prototype.apply,nL=Function.prototype.call,nk=Object.create,nD=Object.defineProperties,nj=nO.on,nF=nO.emit,nv=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nk(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=n$(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nR(r.resolvers)),v=o?nx(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?nL.call(e,this,a[0]):nC.call(e,this,a),null===r){if(null!==(r=o(a)))throw ng("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw ng("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?nC.call(e,this,arguments):nL.call(e,this),hasOwnProperty.call(y,"data"))throw ng("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?nL.call(e,this,o[0]):nC.call(e,this,o),hasOwnProperty.call(y,i))throw ng("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=nk(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nj.call(this,e,t);},emit:nF,updateEnv:function(){e=n.original;}},c=o?nx(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=nx(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nx(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));}),nD(v,{__memoized__:nS(!0),delete:nS(c),clear:nS(n.clear),_get:nS(u),_has:nS(p)}),n;},nf=function e(t){var r,n,i;if(nd(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=nu(r.length,t.length,r.async&&nm.async),i=nv(t,n,r),nh(nm,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},nl=function(e){var t,r=nc(arguments[1]);return!r.normalizer&&0!==(t=r.length=nu(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rD("2aBcN"):t>1&&(r.normalizer=rD("hAul9")(t)):!1===t?r.normalizer=rD("7BD8r")():1===t?r.normalizer=rD("61N6r")():r.normalizer=rD("hqtiJ")(t)),r.async&&rD("a24EK"),r.promise&&rD("kIZkh"),r.dispose&&rD("i7d4K"),r.maxAge&&rD("b1mdU"),r.max&&rD("dZT72"),r.refCounter&&rD("eA2P6"),nf(e,r);},nU=rD("ibhuk");const sM=/^~(?=$|\/|\\)/,{appendFile:sG,readFile:sB,writeFile:sH}=iW.promises,sq=T("~/.bashrc"),sz=c(nl)(P,{promise:!0});nM={};const sV="win32"!==iV.platform(),sX=iV.release(),sW=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nM=function(e){return sV?e.replace(/(\s+)/g,"\\$1"):sW(.../(\d+\.\d+)\.(\d+)/.exec(sX).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rD("sOzdu"),t=function(e){return e.split("").reverse().join("");},nG=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(nG={});const{appendFile:sY}=iW.promises;rM=rD("k1l4q"),rF=rD("dKklS"),rU=rD("pcnv8");const{appendFile:sK}=iW.promises,sJ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nB=rD("5FRs7"),function(){rD("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(nH={}),nq={},nq=rD("2KdLC"),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"}}}},rU=rD("pcnv8"),nV={},nX=rD("51NgG"),nW=rN.env.npm_package_json,nK=!!((nY=rN.env.npm_config_user_agent)&&nY.startsWith("npm")),nJ=!!(nW&&nW.endsWith("package.json")),nZ=nK||nJ,nQ=!!(nY&&nY.startsWith("yarn")),n0=nZ||nQ,n1=iV.homedir(),n2=process.env.XDG_CONFIG_HOME||iX.join(n1,".config","simple-update-notifier"),n3=function(e){return iX.join(n2,"".concat(e.replace("@","").replace("/","__"),".json"));},n4=function(){iW.existsSync(n2)||iW.mkdirSync(n2,{recursive:!0});},n6=function(e){var t=n3(e);try{if(!iW.existsSync(t))return;return JSON.parse(iW.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n8=function(e){var t=n3(e);iW.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n5=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){iJ.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);});})];});});},n9=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(n4(),e=n6(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 rA.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=io.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 iT(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class ad extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}iv.HTTPError=ad;const ah="win32"===process.platform,am="darwin"===process.platform;iv.downloadTool=function(e,t,r,n){return i_(this,void 0,void 0,function*(){t=t||as.join(eN(),ap.default()),yield ar.mkdirP(as.dirname(t)),at.debug("Downloading "+e),at.debug("Destination "+t);let i=eA("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eA("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new iS.RetryHelper(3,i,o);return yield s.execute(()=>i_(this,void 0,void 0,function*(){return yield function(e,t,r,n){return i_(this,void 0,void 0,function*(){if(an.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new aa.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(at.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 ad(o.message.statusCode);throw at.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=au.promisify(ac.pipeline),a=eA("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,an.createWriteStream(t)),at.debug("download complete"),l=!0,t;}finally{if(!l){at.debug("download failed");try{yield ar.rmRF(t);}catch(e){at.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof ad)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},iv.extract7z=function(e,t,r){return i_(this,void 0,void 0,function*(){rm.ok(ah,"extract7z() not supported on current OS"),rm.ok(e,'parameter "file" is required'),t=yield eS(t);let n=process.cwd();if(process.chdir(t),r)try{let t=at.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield ix.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=as.join(ig,"..","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 ar.which("powershell",!0);yield ix.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},iv.extractTar=function(e,t,r="xz"){return i_(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eS(t),at.debug("Checking tar --version");let i="";yield ix.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),at.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],at.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ah&&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 ix.exec("tar",n),t;});},iv.extractXar=function(e,t,r=[]){return i_(this,void 0,void 0,function*(){let n;rm.ok(am,"extractXar() not supported on current OS"),rm.ok(e,'parameter "file" is required'),t=yield eS(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),at.isDebug()&&n.push("-v");let i=yield ar.which("xar",!0);return yield ix.exec(`"${i}"`,Array.from(new Set(n))),t;});},iv.extractZip=function(e,t){return i_(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eS(t),ah?yield function(e,t){return i_(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 ar.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 $_ } } ;`;at.debug("Using pwsh at path: "+i),yield ix.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 ar.which("powershell",!0);at.debug("Using powershell at path: "+t),yield ix.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return i_(this,void 0,void 0,function*(){let r=yield ar.which("unzip",!0),n=[e];at.isDebug()||n.unshift("-q"),n.unshift("-o"),yield ix.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},iv.cacheDir=function(e,t,r,n){return i_(this,void 0,void 0,function*(){if(r=al.clean(r)||r,n=n||ao.arch(),at.debug(`Caching tool ${t} ${r} ${n}`),at.debug("source dir: "+e),!an.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eO(t,r,n);for(let t of an.readdirSync(e)){let r=as.join(e,t);yield ar.cp(r,i,{recursive:!0});}return eR(t,r,n),i;});},iv.cacheFile=function(e,t,r,n,i){return i_(this,void 0,void 0,function*(){if(n=al.clean(n)||n,i=i||ao.arch(),at.debug(`Caching tool ${r} ${n} ${i}`),at.debug("source file: "+e),!an.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eO(r,n,i),s=as.join(o,t);return at.debug("destination file "+s),yield ar.cp(e,s),eR(r,n,i),o;});},iv.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||ao.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=al.clean(t)||"";let i=as.join(eP(),e,t,r);at.debug("checking cache: "+i),an.existsSync(i)&&an.existsSync(`${i}.complete`)?(at.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):at.debug("not found");}return n;},iv.findAllVersions=ex,iv.getManifestFromRepo=function(e,t,r,n="master"){return i_(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new aa.HttpClient("tool-cache"),a={};r&&(at.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){at.debug("Invalid json");}}return i;});},iv.findFromManifest=function(e,t,r,n=ao.arch()){return i_(this,void 0,void 0,function*(){return yield ai._findMatch(e,t,r,n);});},iv.isExplicitVersion=eI,iv.evaluateVersions=eT,rF=rD("dKklS"),rU=rD("pcnv8"),nr=rD("6vN83"),nU=rD("ibhuk"),id=rD("drEX5"),Object.defineProperty(iP={},"__esModule",{value:!0}),iP.retryAsPromised=iP.TimeoutError=void 0;class av extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iP.TimeoutError=av,iP.retryAsPromised=e$,iP.default=e$,iN=rD("g9WSN"),rU=rD("pcnv8"),(rp=iA||(iA={}))[rp.Tar=0]="Tar",rp[rp.TarGz=1]="TarGz",rp[rp.TarXz=2]="TarXz",rp[rp.Zip=3]="Zip",rp[rp.SevenZip=4]="SevenZip",rM=rD("k1l4q");const ag=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||iW.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||iW.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||iW.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iW.mkdirSync,t;},ay=(e,t,r)=>{let n=(0,iX.dirname)(e),i={...ag(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 ay(e,i,ay(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;}}},aE=Object.assign(async(e,t,r)=>{let n=ag(t);n.recursive=!1;let i=(0,iX.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 aE(i,n).then(t=>aE(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:ay}),aw=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?aw(e,(0,iX.dirname)(t),t):void 0);},a_=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?a_(e,(0,iX.dirname)(t),t):void 0;}},ab=(e,t)=>{let r=ag(t);if(r.recursive=!0,(0,iX.dirname)(e)===e)return r.mkdirSync(e,r);let n=a_(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return ay(e,r);throw t;}},ax=Object.assign(async(e,t)=>{let r={...ag(t),recursive:!0};return(0,iX.dirname)(e)===e?await r.mkdirAsync(e,r):aw(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return aE(e,r);throw t;}));},{sync:ab}),aS=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aO=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,iX.resolve)(e),"win32"===aS){let{root:t}=(0,iX.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aR=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aI=+aR[0]>10||10==+aR[0]&&+aR[1]>=12,aT=aI?e=>ag(e).mkdirSync===iW.mkdirSync:()=>!1,aP=Object.assign(aI?e=>ag(e).mkdir===iW.mkdir:()=>!1,{sync:aT}),aN=(e,t)=>{e=aO(e);let r=ag(t);return aT(r)?ab(e,r):ay(e,r);},aA=Object.assign(async(e,t)=>{e=aO(e);let r=ag(t);return aP(r)?ax(e,r):aE(e,r);},{mkdirpSync:aN,mkdirpNative:ax,mkdirpNativeSync:ab,mkdirpManual:aE,mkdirpManualSync:ay,sync:aN,native:ax,nativeSync:ab,manual:aE,manualSync:ay,useNative:aP,useNativeSync:aT});nU=rD("ibhuk"),id=rD("drEX5"),ix=rD("ca0ts"),rF=rD("dKklS"),rU=rD("pcnv8"),nr=rD("6vN83"),nU=rD("ibhuk"),id=rD("drEX5"),ix=rD("ca0ts"),rU=rD("pcnv8"),i$=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rA.URL(t),!0;}catch{return!1;}},iC=async e=>{if(!i$(e))return!1;let t=await eX(e,"HEAD");return!!t||!!(t=await eX(e,"GET"));},ih=rD("8YrRN"),iL=rD("fYuCK"),ik=rD("2owFL");const a$=/v?(\d\S*)/,aC={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:eh()?"13.2.1-3":"13",powershell:"7.4.5"},aL={pip:"22.2.0",python:"3.7.9"},ak={gcc:{24:"13",22:"13",20:"11",18:"11",16:"11",14:"11"},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"}},aD=c(nl)(tt,{promise:!0});rU=rD("pcnv8"),Object.defineProperty(iD={},"__esModule",{value:!0}),iD.getUbuntuVersion=void 0,iD.getUbuntuVersion=ti;const aj=c(nl)(to,{promise:!0}),aF=c(nl)(tu,{promise:!0}),aU=c(nl)(tp,{promise:!0}),aM=c(nl)(tf,{promise:!0});rU=rD("pcnv8"),id=rD("drEX5"),nU=rD("ibhuk");const aG=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"]]]),aB=c(nl)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rR).release()).split(".")[0];let[t,r]=aG.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rF=rD("dKklS"),rU=rD("pcnv8"),nU=rD("ibhuk"),id=rD("drEX5"),ih=rD("8YrRN"),ij=rD("gWZ4x"),ix=rD("ca0ts"),rU=rD("pcnv8"),iF=iX.resolve(__dirname,"../../src/gcc");const aH={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};ij=rD("gWZ4x"),ik=rD("2owFL"),rU=rD("pcnv8"),id=rD("drEX5"),id=rD("drEX5"),iU=iX.resolve(__dirname,"../../src/kcov"),rF=rD("dKklS"),rU=rD("pcnv8"),nU=rD("ibhuk"),id=rD("drEX5"),nr=rD("6vN83"),rM=rD("k1l4q"),rU=rD("pcnv8");class aq extends Error{constructor(e){super(e),this.name="TimeoutError";}}class az extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aV=e=>void 0===globalThis.DOMException?new az(e):new DOMException(e),aX=e=>{let t=void 0===e.reason?aV("This operation was aborted."):e.reason;return t instanceof Error?t:aV(t);};id=rD("drEX5"),rU=rD("pcnv8"),rM=rD("k1l4q");const aW=rN.env["ProgramFiles(x86)"],aY=[rN.env["ProgramFiles(x86)"],rN.env.ProgramFiles],aK=["Enterprise","Professional","Community","BuildTools"],aJ=["2022","2019","2017"],aZ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iM=tF;const aQ=`${aW}\\Microsoft Visual Studio\\Installer`;iG=tU,iB=function(e,t,r,n,i,o){if("win32"!=rN.platform){rM.info("This is not a Windows virtual environment, bye!");return;}rN.env.PATH+=iX.delimiter+aQ;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=`"${tU(o)}" ${a.join(" ")}`;rM.debug("vcvars command-line: "+l);let c=ry.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(rM.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rM.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(";")),rM.exportVariable(t,r));}rM.endGroup(),rM.info("Configured Developer Command Prompt");},nU=rD("ibhuk");const a0=12e5;(rf=iH||(iH={}))[rf.All=0]="All",rf[rf.ClangFormat=1]="ClangFormat",rf[rf.Core=2]="Core",rU=rD("pcnv8"),id=rD("drEX5"),im=rD("aTQrN");const a1=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"]),a2=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"]),a4=new Map(),a6={"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"},a8="18.1.8";iq=iX.resolve(__dirname,"../../src/llvm");const a5=c(nl)(tZ,{promise:!0}),a9=c(nl)(t0,{promise:!0}),a7=c(nl)(t1,{promise:!0});rF=rD("dKklS"),id=rD("drEX5"),rU=rD("pcnv8"),nU=rD("ibhuk"),iz=iX.resolve(__dirname,"../../src/msvc"),rU=rD("pcnv8"),nr=rD("6vN83"),id=rD("drEX5"),rU=rD("pcnv8"),id=rD("drEX5"),id=rD("drEX5"),rU=rD("pcnv8"),nU=rD("ibhuk"),id=rD("drEX5");let le=!1;const lt={nala:t5,cmake:eV,ninja:t$,python:eQ,vcpkg:ro,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:t7,llvm:tJ,gcc:tR,choco:ev,brew:eu,powershell:rr,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 tQ(e,t,r);},clangformat:function(e,t,r){return tQ(e,t,r,iH.ClangFormat);},msvc:t6,vcvarsall:tM,kcov:tj,make:t4,task:function(e,t,r){return eG("task",e,ri,t,r);},sevenzip:eC},lr=Object.keys(lt),ln=["compiler","architecture","timeout",...lr],li={rcPath:T("~/.cpprc"),guard:"cpp"};rM=rD("k1l4q"),rU=rD("pcnv8"),ik=rD("2owFL"),rc(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rU.error)("main() panicked!"),(0,rU.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 44a77c2e..a4078668 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","rz","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rH","sync","command","path","rV","pathExt","iV","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i4","file","original","h","rG","rg","spawn","rZ","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r6","getBufferedLength","r3","MAX_LENGTH","bufferedData","getBufferedValue","oJ","on","oZ","E","sv","si","so","sh","oV","c","rb","ChildProcess","se","reject","oE","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","st","l","oz","oX","kill","oF","bind","cancel","oH","rQ","exitCode","signal","o5","sg","aborted","failed","o3","o4","oK","w","o1","spawnSync","input","status","_","stdio","r7","nothrow","b","getuid","call","CI","x","sF","ss","O","R","S","join","map","I","SUDO_USER","iX","statSync","isDirectory","T","iz","homedir","replace","sU","P","guard","rcPath","N","A","rF","warning","nF","pathExists","sG","includes","sM","info","$","Set","split","sB","C","escapeSpace","overwrite","sH","nU","nM","rj","GITHUB_ACTIONS","rU","exportVariable","L","sq","sW","k","sK","some","test","PATH","addPath","D","sY","j","next","throw","done","value","then","apply","F","return","label","ops","pop","trys","length","push","sent","Symbol","iterator","U","nz","pkg","n7","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","sJ","z","DEBIAN_FRONTEND","LANG","LC_ALL","V","X","W","startsWith","Y","K","J","filter","Q","name","version","Z","ic","trim","sQ","s0","ee","sZ","et","s1","er","clear","en","ei","binDir","eo","s2","flatMap","repository","key","ea","es","keyServer","s4","fileName","keyStorePath","ec","el","keyUrl","s3","tmpdir","ie","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s6","ed","eh","em","ev","ip","SystemRoot","ALLUSERSPROFILE","ln","ChocolateyInstall","eg","s8","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","s5","s9","eb","matchAll","s7","ex","ai","ao","eP","ar","existsSync","readdirSync","eI","eS","eN","au","at","mkdirP","eO","aa","clean","ae","debug","rmRF","eR","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rh","ok","RUNNER_TEMP","eA","r$","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","am","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eF","eU","eM","iP","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","im","installDir","eB","eq","eH","nt","chmod","iT","now","basename","downloadTool","ro","CACHE_TOOLS","cacheDir","ez","id","ih","addExeExt","eV","eX","iK","request","method","statusCode","end","eW","from","iC","localeCompare","eY","i$","has","JSON","stringify","eK","aA","ib","getExecOutput","console","eJ","eZ","eQ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e4","setupActionsPython","rk","e3","e6","parse","root","readdir","aC","python","e5","e7","e9","pip","te","tt","tr","tn","aL","Number","parseInt","a$","ti","execFile","encoding","shell","to","ts","ik","getUbuntuVersion","ta","aU","user","td","PIPX_HOME","aj","PIPX_BIN_DIR","aF","ak","th","tu","aN","tp","tf","aD","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aG","notice","tS","tO","aB","releaseName","fileSuffix","tR","tT","tP","tI","iD","tN","ij","tA","t$","tC","tL","tk","tD","iF","tj","tF","values","aJ","tU","execSync","entries","aK","aW","aY","aX","tM","iG","tG","aQ","startGroup","milliseconds","fallback","customTimers","sign","aV","addEventListener","POSITIVE_INFINITY","aH","finally","tB","endGroup","le","rs","tH","readFile","tq","NODE_DEBUG","tz","writeFile","rA","tV","tX","tW","a1","tY","a2","a3","get","a0","a4","a6","tK","tJ","a8","t2","tZ","tQ","t3","a9","iB","All","iL","a5","t0","t1","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iH","t4","t6","iU","iM","t8","iq","t5","t9","t7","re","arm64","arm","arm32","aarch64","x64","rt","rr","rn","ri","a7","addShExt","addShRelativePrefix","getInput","toLowerCase","ra","compiler","rl","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","lr","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nH","create","autoloadLocales","addLocale","nq","nG","nB","cppcheck","gcovr","lt","isCI","parseFloat","format","success","rc","ru","rp","rX","rW","r1","r4","r8","r9","nn","ni","no","ns","nw","n_","nS","nT","nP","nN","n$","nC","nL","nk","nD","nj","nX","nW","nY","nK","nJ","nZ","nQ","n0","n1","n2","n3","n4","n6","n8","n5","n9","it","ir","ii","io","is","ia","il","iA","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","iW","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","iY","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","rf","connect","localAddress","arguments","defaultPort","rm","inherits","rd","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rD","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","rv","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","compare","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","ry","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","rE","HandleTimeout","OSTYPE","iZ","iJ","rq","TESTING_WINDOWS","iQ","i0","colon","pathEnv","pathExtExe","i1","i2","rB","rY","rK","rJ","openSync","readSync","closeSync","i3","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rM","_parse","_enoent","i6","rx","preferLocal","execPath","addExecPath","rS","fileURLToPath","r_","i8","i5","i9","i7","oe","ot","getPrototypeOf","or","oi","oo","os","WeakMap","oa","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","ol","op","ou","oc","number","action","description","standard","of","forced","od","oh","signals","rO","supported","om","ov","og","oy","errorCode","signalDescription","Boolean","originalMessage","shortMessage","ow","o_","ob","ox","reallyExit","pid","oS","oO","oR","oI","oT","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oP","o$","oA","oD","oL","r0","equal","oC","alwaysLast","unload","oN","oj","load","oU","oM","oB","forceKillAfterTimeout","oG","SIGTERM","oq","killSignal","race","cleanup","detached","oW","oY","createWriteStream","pipeStdout","pipeStderr","pipeAll","rR","rI","PassThrough","array","objectMode","setEncoding","pipeline","r2","buffer","MaxBufferError","r5","readable","isEmpty","oQ","o0","inputFile","o2","createReadStream","o6","o8","o9","o7","sr","sn","sa","rw","isBuffer","sl","sc","templates","expressions","template","su","sp","rT","debuglog","enabled","sf","padStart","sd","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sm","localDir","stripFinalNewline","windowsHide","sy","sE","sw","sb","s_","sx","groups","getgroups","sS","sI","sO","sR","sT","_ISEXE_TEST_PLATFORM_","nr","sP","isexe","sN","posix","sA","s$","sC","source","sL","sk","sD","sj","nc","nu","function","object","ny","nE","captureStackTrace","nv","ng","nR","nI","nO","nf","nA","nm","normalizer","resolvers","nb","profileName","updateEnv","__memoized__","nx","_get","_has","np","nh","nd","__profiler__","na","nl","primitive","sz","sV","release","sX","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rP","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nV","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","rN","__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","iu","iE","an","as","al","ac","i_","ap","iR","ix","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","af","httpStatusCode","new","target","HTTPError","ad","ah","iw","authorization","statusMessage","extract7z","iv","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iN","av","fs","mkdirAsync","statAsync","ag","ay","aE","aw","a_","ab","ax","__TESTING_MKDIRP_PLATFORM__","aS","aO","__TESTING_MKDIRP_NODE_VERSION__","aR","aI","aT","aP","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","aM","aq","az","DOMException","reason","ProgramFiles","aZ","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/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\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(apt, packages) {\n return (await Promise.all(packages.map((pack)=>$26e91d84b93347fe$var$qualifiedNeededAptPackage(apt, pack)))).filter((pack)=>pack !== undefined);\n}\nasync function $26e91d84b93347fe$var$qualifiedNeededAptPackage(apt, pack) {\n // Qualify the packages into full package name/version\n const qualified = await $26e91d84b93347fe$var$getAptArg(apt, pack.name, pack.version);\n // filter out the packages 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)(apt, [\n {\n name: \"ca-certificates\"\n },\n {\n name: \"gnupg\"\n },\n {\n name: \"apt-utils\"\n }\n ]);\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)(apt, packages);\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/* 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\nlet $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}\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: (0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\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 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 (0, $7a48c913c58c34bf$export$5fb1985a02d8f66f)[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\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\n\n\n\n\n\nvar $9c01b612305c09a3$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $9c01b612305c09a3$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $9c01b612305c09a3$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $9c01b612305c09a3$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\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/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\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)()) 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 } else {\n (0, $pcnv8.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) 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 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(version, 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 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$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\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 // https://gitlab.com/volian/nala/-/wikis/Installation\n const keyFileName = await (0, $c8be1cdf4517af1c$export$118a136d06dbf4dc)({\n fileName: \"volian-archive-nala.gpg\",\n keyUrl: \"https://deb.volian.org/volian/nala.key\"\n });\n (0, $286498bcaea3fca1$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main\" | tee /etc/apt/sources.list.d/volian-archive-nala.list`\n ]);\n try {\n if (version !== \"legacy\") await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $a6b2da83048355c8$export$87fb71929453bd8f)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $af664557d133c197$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $af664557d133c197$var$binDir\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\"\n/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\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(apt, packages)\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(apt, [\n { name: \"ca-certificates\" },\n { name: \"gnupg\" },\n { name: \"apt-utils\" },\n ])\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 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(apt: string, packages: AptPackage[]) {\n return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(apt, pack))))\n .filter((pack) => pack !== undefined)\n}\n\nasync function qualifiedNeededAptPackage(apt: string, pack: AptPackage) {\n // Qualify the packages into full package name/version\n const qualified = await getAptArg(apt, pack.name, pack.version)\n // filter out the packages 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","// 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\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 { info, warning } from \"ci-log\"\nimport type { ExecaReturnValue } from \"execa\"\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 { 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\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url:\n `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string, 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 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 } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n 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 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(version: 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 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 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 { 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 { execRootSync } from \"admina\"\nimport { dirname } from \"patha\"\nimport { addAptKeyViaURL, hasNala, installAptPack } 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 // https://gitlab.com/volian/nala/-/wikis/Installation\n const keyFileName = await addAptKeyViaURL({\n fileName: \"volian-archive-nala.gpg\",\n keyUrl: \"https://deb.volian.org/volian/nala.key\",\n })\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main\" | tee /etc/apt/sources.list.d/volian-archive-nala.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await installAptPack([{ name: \"nala\" }], true)\n } else {\n await installAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await installAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\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,C+C1DAC,CAAA,C9DJAC,CAAA,CCAAC,CAAA,CCAAC,CAAA,C,8IzFSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YA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AC,YAAY3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GwBxBiD,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,EAGKuhB,EAAA,CAA6B,GAAI,CAAA5X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E8X,EAAA,CAAqB,GAAI,CAAA9X,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,EAOK+X,EAAA,CAAiC,GAAI,CAAAkmB,GAAA,GAQrC/lB,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,sB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EAAA,CAAcriB,CAAA,CAASC,CAAA,CAAUC,CAAA,CAC1C,GtEDEwoD,WAAA,CsENK,QAAAA,CAA0B1oD,CAAe,CAAEC,CAAgB,CAAEC,CAAY,EAC9E,MAAO,CAAAmiB,EAAA,CAAcriB,CAAA,CAASC,CAAA,CAAUC,CAAA,CAAMsiB,EAAA,CAAagoC,WAAW,CACxE,GtEKEC,IAAA,CAAMvnC,EAAA,CACNwnC,SAAA,CAAW9qC,EAAA,CACXmpC,IAAA,CAAM9pC,EAAA,CACN0rC,IAAA,CAAM1nC,EAAA,CACN+lC,IAAA,CoFdK,QAAAA,CAAmBhpD,CAAe,CAAEC,CAAgB,CAAEC,CAAY,EACvE,MAAO,CAAAsW,EAAA,CAAS,OAAQxW,CAAA,CAASkkB,EAAA,CAAoBjkB,CAAA,CAAUC,CAAA,CACjE,GpFaE0qD,QAAA,CAAU70C,EACZ,EAKa8Q,EAAA,CAAQ9kB,MAAA,CAAOmB,IAAI,CAAC0d,EAAA,EAMpB6E,EAAA,CAAwB,CAAC,WAAY,eAAgB,aAAcoB,EAAA,CAAM,CFOzEjV,EAAA,CAAY,CACvB5I,MAAA,CAAQP,CAAA,CAAc,YACtBM,KAAA,CAAO,KACT,E,6C5E+EA4b,EAAA,CAAK1jB,OAAA,CAAQ4pD,IAAI,EACdp/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","rV","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rq","sync","command","path","rX","pathExt","iX","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i6","file","original","h","rB","ry","spawn","rQ","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r8","getBufferedLength","r4","MAX_LENGTH","bufferedData","getBufferedValue","oZ","on","oQ","E","sg","so","ss","sm","oX","c","rx","ChildProcess","st","reject","ow","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","sr","l","oV","oW","kill","oU","bind","cancel","oq","r0","exitCode","signal","o9","sy","aborted","failed","o4","o6","oJ","w","o2","spawnSync","input","status","_","stdio","ne","nothrow","b","getuid","call","CI","x","sU","sa","O","R","S","join","map","I","SUDO_USER","iW","statSync","isDirectory","T","iV","homedir","replace","sM","P","guard","rcPath","N","A","rU","warning","nU","pathExists","sB","includes","sG","info","$","Set","split","sH","C","escapeSpace","overwrite","sq","nM","nG","rF","GITHUB_ACTIONS","rM","exportVariable","L","sz","sY","k","sJ","some","test","PATH","addPath","D","sK","j","next","throw","done","value","then","apply","F","return","label","ops","pop","trys","length","push","sent","Symbol","iterator","U","nV","pkg","ie","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","sZ","z","DEBIAN_FRONTEND","LANG","LC_ALL","V","X","W","startsWith","Y","K","J","filter","Q","name","version","Z","iu","trim","s0","s1","ee","sQ","et","s2","er","clear","en","ei","binDir","eo","s3","flatMap","repository","key","ea","es","keyServer","s6","fileName","keyStorePath","ec","el","keyUrl","s4","tmpdir","it","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s8","ed","eh","em","ev","id","SystemRoot","ALLUSERSPROFILE","li","ChocolateyInstall","eg","s5","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","s9","s7","eb","matchAll","ae","ex","ao","as","eP","an","existsSync","readdirSync","eI","eS","eN","ap","ar","mkdirP","eO","al","clean","at","debug","rmRF","eR","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rm","ok","RUNNER_TEMP","eA","rC","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","av","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eF","eU","eM","iN","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","iv","installDir","eB","eq","eH","nr","chmod","iP","now","basename","downloadTool","rs","CACHE_TOOLS","cacheDir","ez","ih","im","addExeExt","eV","eX","iJ","request","method","statusCode","end","eW","from","iL","localeCompare","eY","iC","has","JSON","stringify","eK","a$","ix","getExecOutput","console","eJ","eZ","eQ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e4","setupActionsPython","rD","e3","e6","parse","root","readdir","aL","python","e5","e7","e9","pip","te","tt","tr","tn","ak","Number","parseInt","aC","ti","execFile","encoding","shell","to","ts","iD","getUbuntuVersion","ta","aM","user","td","PIPX_HOME","aF","PIPX_BIN_DIR","aU","aD","th","tu","aA","tp","tf","aj","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aB","notice","tS","tO","aH","releaseName","fileSuffix","tR","tT","tP","tI","ij","tN","iF","tA","t$","tC","tL","tk","tD","iU","tj","tF","values","aZ","tU","execSync","entries","aJ","aY","aK","aW","tM","iB","tG","a0","startGroup","milliseconds","fallback","customTimers","sign","aX","addEventListener","POSITIVE_INFINITY","aq","finally","tB","endGroup","lt","ra","tH","readFile","tq","NODE_DEBUG","tz","writeFile","r$","tV","tX","tW","a2","tY","a3","a4","get","a1","a6","a8","tK","tJ","a5","t2","tZ","tQ","t3","a7","iH","All","ik","a9","t0","t1","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iq","t4","t6","iM","iG","t8","iz","t5","t9","t7","re","rt","arm64","arm","arm32","aarch64","x64","rr","rn","ri","ro","le","addShExt","addShRelativePrefix","getInput","toLowerCase","rl","compiler","rc","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","ln","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nq","create","autoloadLocales","addLocale","nz","nB","nH","cppcheck","gcovr","lr","isCI","parseFloat","format","success","ru","rp","rf","rW","rY","r2","r6","r5","r7","ni","no","ns","na","n_","nb","nO","nP","nN","nA","nC","nL","nk","nD","nj","nF","nW","nY","nK","nJ","nZ","nQ","n0","n1","n2","n3","n4","n6","n8","n5","n9","n7","ir","ii","io","is","ia","il","ic","i$","any","every","defineProperty","exports","constant","isPR","forEach","pr","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","iY","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","iK","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","rd","connect","localAddress","arguments","defaultPort","rv","inherits","rh","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rj","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","rg","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","compare","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","rE","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","rw","HandleTimeout","OSTYPE","iQ","iZ","rz","TESTING_WINDOWS","i0","i1","colon","pathEnv","pathExtExe","i2","i3","rH","rK","rJ","rZ","openSync","readSync","closeSync","i4","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rG","_parse","_enoent","i8","rS","preferLocal","execPath","addExecPath","rO","fileURLToPath","rb","i5","i9","i7","oe","ot","or","getPrototypeOf","oi","oo","os","oa","WeakMap","ol","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","oc","of","op","ou","number","action","description","standard","od","forced","oh","om","signals","rR","supported","ov","og","oy","oE","errorCode","signalDescription","Boolean","originalMessage","shortMessage","o_","ob","ox","oS","reallyExit","pid","oO","oR","oI","oT","oP","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oN","oC","o$","oj","r1","equal","oL","alwaysLast","unload","oA","oF","oD","load","oM","oG","oH","forceKillAfterTimeout","oB","SIGTERM","oz","killSignal","race","cleanup","detached","oY","oK","createWriteStream","pipeStdout","pipeStderr","pipeAll","rI","rT","PassThrough","array","objectMode","setEncoding","pipeline","r3","buffer","MaxBufferError","r9","readable","isEmpty","o0","o1","inputFile","o3","createReadStream","o8","o5","o7","se","sn","si","sl","r_","isBuffer","sc","su","templates","expressions","template","sp","sf","rP","debuglog","enabled","sd","padStart","sh","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sv","localDir","stripFinalNewline","windowsHide","sE","sw","s_","sx","sb","sS","groups","getgroups","sO","sT","sR","sI","sP","_ISEXE_TEST_PLATFORM_","nn","nt","sN","isexe","sA","posix","s$","sC","sL","source","sk","sD","sj","sF","nu","np","function","object","nE","nw","captureStackTrace","ng","ny","nI","nT","nR","nd","n$","nv","normalizer","resolvers","nx","profileName","updateEnv","__memoized__","nS","_get","_has","nf","nm","nh","__profiler__","nl","nc","primitive","sV","sX","release","sW","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","nX","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","rA","__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","ip","iw","ai","aa","ac","au","ib","af","iI","iS","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","ad","httpStatusCode","new","target","HTTPError","ah","am","i_","authorization","statusMessage","extract7z","ig","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iA","ag","fs","mkdirAsync","statAsync","ay","aE","aw","a_","ab","ax","aS","__TESTING_MKDIRP_PLATFORM__","aO","aR","__TESTING_MKDIRP_NODE_VERSION__","aI","aT","aP","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","aG","az","aV","DOMException","reason","ProgramFiles","aQ","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/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\nlet $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}\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: (0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\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 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 (0, $7a48c913c58c34bf$export$5fb1985a02d8f66f)[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\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\n\n\n\n\n\nvar $9c01b612305c09a3$var$$parcel$__dirname = $hh2Bt$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $9c01b612305c09a3$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $9c01b612305c09a3$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $9c01b612305c09a3$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\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/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\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)()) 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 } else {\n (0, $pcnv8.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $c4b56061e0dbde5f$export$d415ddb6702ec3a2)()) await (0, $debaf44f90dd37c4$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $0f4e7dc450142f89$export$da8baf1d6c6802b6)()) 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 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(version, 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 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$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\"\n/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\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","// 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\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 { info, warning } from \"ci-log\"\nimport type { ExecaReturnValue } from \"execa\"\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 { 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\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url:\n `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string, 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 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 } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n 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 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(version: 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 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 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 { 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,C+CtDAC,CAAA,C9DRAC,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,CA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,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAGKuhB,EAAA,CAA6B,GAAI,CAAA5X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E8X,EAAA,CAAqB,GAAI,CAAA9X,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,EAOK+X,EAAA,CAAiC,GAAI,CAAAkmB,GAAA,GAQrC/lB,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,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,eACZ,EAGMC,EAAA,CAAqB,S,0CNpK3B,KAAM,CAAAG,EAAA,CAA6Brd,CAAA,CAAAk2C,EAAA,EAAQ34B,EAAA,CAAgC,CAAEue,OAAA,CAAS,EAAK,GA8Cr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,IAAA,CoFdK,QAAAA,CAAmBjpD,CAAe,CAAEC,CAAgB,CAAEC,CAAY,EACvE,MAAO,CAAAsW,EAAA,CAAS,OAAQxW,CAAA,CAASmkB,EAAA,CAAoBlkB,CAAA,CAAUC,CAAA,CACjE,GpFaE2qD,QAAA,CAAU90C,EACZ,EAKa+Q,EAAA,CAAQ/kB,MAAA,CAAOmB,IAAI,CAAC0d,EAAA,EAMpB8E,EAAA,CAAwB,CAAC,WAAY,eAAgB,aAAcoB,EAAA,CAAM,CFOzElV,EAAA,CAAY,CACvB5I,MAAA,CAAQP,CAAA,CAAc,YACtBM,KAAA,CAAO,KACT,E,6C5E+EA6b,EAAA,CAAK3jB,OAAA,CAAQ6pD,IAAI,EACdr/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 diff --git a/dist/modern/setup-cpp.js b/dist/modern/setup-cpp.js index 19e3f0e5..e8d5199d 100644 --- a/dist/modern/setup-cpp.js +++ b/dist/modern/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);});});}rV(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=rH.sync(e.command,{path:n[rX({env:n})],pathExt:t?iX.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iX.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 i3&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rG(e,t,r),i=rg.spawn(n.command,n.args,n.options);return rQ.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=r6(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r4.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oJ(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oQ());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sv(e,t,r),o=si(e,t),s=so(e,t);sh(s,i.options),oX(i.options);try{n=c(rb).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rb).ChildProcess)();return se(e,Promise.reject(oE({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=st(n),l=oV(n,i.options,a),u=oz(n,i.options,l),p={isCanceled:!1};n.kill=oU.bind(null,n.kill.bind(n)),n.cancel=oH.bind(null,n,p);let f=rZ(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await o7(n,i.options,u),d=sg(i.options,l),h=sg(i.options,c),m=sg(i.options,f);if(e||0!==t||null!==r){let l=oE({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 o4(n,i.options),n.all=o3(n,i.options),oY(n),se(n,f),n;}function w(e,t,r){let n;let i=sv(e,t,r),o=si(e,t),s=so(e,t);sh(s,i.options);let a=o1(i.options);try{n=c(rb).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw oE({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sg(i.options,n.stdout,n.error),u=sg(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=oE({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(r9).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(r9).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(r9).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sU){return b()?function(e,t){let[r,...n]=ss(e);return w(r,n,t);}(O(e,t),r):w(e,S(t),r);}function R(e,t=[],r=sU){return b()?function(e,t){let[r,...n]=ss(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(iz).statSync(e).isDirectory();await R("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sU);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iX.join)("/Users/",process.env.SUDO_USER):(0,iX.join)("/home/",process.env.SUDO_USER);{let e=(0,iV.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sF,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);});});}rX(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=rq.sync(e.command,{path:n[rz({env:n})],pathExt:t?iz.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=iz.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 i6&&1===e&&!t.file?f(t.original,"spawn"):null;}function h(e,t,r){let n=rB(e,t,r),i=ry.spawn(n.command,n.args,n.options);return rZ.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=r8(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r3.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oQ(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oZ());});}),n.getBufferedValue();}function E(e,t,r){let n;let i=sg(e,t,r),o=so(e,t),s=ss(e,t);sm(s,i.options),oz(i.options);try{n=c(rx).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(rx).ChildProcess)();return st(e,Promise.reject(ow({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=sr(n),l=oX(n,i.options,a),u=oW(n,i.options,l),p={isCanceled:!1};n.kill=oF.bind(null,n.kill.bind(n)),n.cancel=oq.bind(null,n,p);let f=r0(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,f]=await o5(n,i.options,u),d=sy(i.options,l),h=sy(i.options,c),m=sy(i.options,f);if(e||0!==t||null!==r){let l=ow({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 o3(n,i.options),n.all=o6(n,i.options),oJ(n),st(n,f),n;}function w(e,t,r){let n;let i=sg(e,t,r),o=so(e,t),s=ss(e,t);sm(s,i.options);let a=o2(i.options);try{n=c(rx).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ow({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sy(i.options,n.stdout,n.error),u=sy(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ow({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(ne).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(ne).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(ne).sync("sudo",{nothrow:!0});}function x(e,t=[],r=sF){return b()?function(e,t){let[r,...n]=sa(e);return w(r,n,t);}(O(e,t),r):w(e,S(t),r);}function R(e,t=[],r=sF){return b()?function(e,t){let[r,...n]=sa(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(iW).statSync(e).isDirectory();await R("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],sF);}}function T(e){let t=function(){if(b()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,iz.join)("/Users/",process.env.SUDO_USER):(0,iz.join)("/home/",process.env.SUDO_USER);{let e=(0,iX.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(sM,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,rU.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([N(e),A(t,T("~/.bashrc")),A(t,T("~/.profile"))]);}catch(e){(0,rF.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":` # Automatically Generated by envosman ${e.guard} export SOURCE_${e.guard.toUpperCase()}RC=0 -`;(await(0,nU.pathExists)(e.rcPath))&&!(await sG(e.rcPath,"utf8")).includes(t)&&(await sM(e.rcPath,` +`;(await(0,nF.pathExists)(e.rcPath))&&!(await sB(e.rcPath,"utf8")).includes(t)&&(await sG(e.rcPath,` ${t} -`),(0,rU.info)(`Added ${t} to ${e.rcPath}`));}async function A(e,t){(await(0,nU.pathExists)(t))&&!(await sG(t,"utf-8")).includes(e)&&(await sM(t,e),(0,rU.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nU.pathExists)(e.rcPath)){let t=[...new Set((await sG(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sB(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sH,...r},i=function(e,t=!1){let r=t?c(nF)(e):e;return c(nM)(r,'"',"\\");}(t??"",n.escapeSpace);try{if(rj.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rU.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rF.exportVariable)(e,i);}catch(t){(0,rU.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rU.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,rU.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rU.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sq(r),r.overwrite?(await sW(r.rcPath,` +`),(0,rF.info)(`Added ${t} to ${e.rcPath}`));}async function A(e,t){(await(0,nF.pathExists)(t))&&!(await sB(t,"utf-8")).includes(e)&&(await sG(t,e),(0,rF.info)(`${e} was added to ${t}`));}async function $(e){if(await(0,nF.pathExists)(e.rcPath)){let t=[...new Set((await sB(e.rcPath,"utf-8")).split("\n").reverse())].reverse();await sH(e.rcPath,t.join("\n")),await I(e.rcPath);}}async function C(e,t,r={}){let n={escapeSpace:!1,overwrite:!0,rcPath:sq,...r},i=function(e,t=!1){let r=t?c(nM)(e):e;return c(nG)(r,'"',"\\");}(t??"",n.escapeSpace);try{if(rU.GITHUB_ACTIONS)try{if(!n.overwrite&&void 0!==process.env[e]){(0,rF.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,rM.exportVariable)(e,i);}catch(t){(0,rF.error)(t),await L(e,i,n);}else await L(e,i,n);}catch(t){(0,rF.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,rF.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,rF.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await sV(r),r.overwrite?(await sK(r.rcPath,` export ${e}="${n}" -`),(0,rU.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sW(r.rcPath,` +`),(0,rF.info)(`${e}="${n}" was added to "${r.rcPath}`)):(await sK(r.rcPath,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi -`),(0,rU.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:sH,...t};if(r=e,!(sY.some(e=>e.test(r))&&(process.env.PATH?.split(iX.delimiter)??[]).includes(r))){process.env.PATH=`${e}${iX.delimiter}${process.env.PATH}`;try{if(rj.GITHUB_ACTIONS)try{(0,rF.addPath)(e);}catch(t){(0,rU.error)(t),await D(e,n);}else await D(e,n);}catch(t){(0,rU.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,rU.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sq(t),await sK(t.rcPath,` +`),(0,rF.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:sq,...t};if(r=e,!(sJ.some(e=>e.test(r))&&(process.env.PATH?.split(iz.delimiter)??[]).includes(r))){process.env.PATH=`${e}${iz.delimiter}${process.env.PATH}`;try{if(rU.GITHUB_ACTIONS)try{(0,rM.addPath)(e);}catch(t){(0,rF.error)(t),await D(e,n);}else await D(e,n);}catch(t){(0,rF.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,rF.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await sV(t),await sY(t.rcPath,` export PATH="${e}:$PATH" -`),(0,rU.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]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){return(await Promise.all(t.map(t=>J(e,t)))).filter(e=>void 0!==e);}async function J(e,t){let r=await Z(e,t.name,t.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,ic.default)(t)}-${(0,ic.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 sZ?3:(s0(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,rU.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){s0(e);let t=await Y(e,[{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}]);0!==t.length&&x(e,["install","-y","--fix-broken","-o",sQ,...t],{...sU,env:V(e)});}async function et(e,t=z()){await s1(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sU,env:V(t)}),s0.clear(),s0(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",sQ,"software-properties-common"],{...sU,env:V(e)});}async function en(e,t=!1){let r=z();for(let{name:t,version:n}of e)(0,rU.info)(`Installing ${t} ${n??""} via ${r}`);t&&s0(r),await ei(r,e);let n=await Y(r,e);if(0===n.length)return(0,rU.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s1(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sU,env:V(r)});}catch(e){if("string"==typeof e.stderr)s2.some(t=>e.stderr.includes(t))&&((0,rU.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",sQ,...n],{...sU,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=s3,fileName:r,keyStorePath:n=s3}){try{ec(r);let i=(0,iX.join)(n,r);return(await(0,nU.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,rU.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s4}){try{ec(t);let n=(0,iX.join)(r,t);if(!(await(0,nU.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iX.join)((0,iV.tmpdir)(),t),i=new ie.DownloaderHelper(e,(0,iV.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,rU.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(r9)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iX.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new ie.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iV.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,rU.info)(`Installing ${e} ${t??""} via brew`),s6&&null!==c(r9).sync("brew",{nothrow:!0})||(await eu(),s6=!0);let i=ep(),o=(0,iX.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(r9).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(r9).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(r9).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(r9).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,ip.dirname)(i)};let o="powershell.exe",s=c(r9).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,ln);let l=c(r9).sync("choco",{nothrow:!0});if(r=null!==l?(0,ip.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nU.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){(0,rU.info)(`Installing ${e} ${t??""} via chocolatey`),s8&&null!==c(r9).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s8=!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,rU.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,ln),{binDir:o};}async function ey(e){for(let{name:t,version:r}of e)(0,rU.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,rU.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,rU.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(r9).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s7||"yay"===r||(x(n,["-Sy","--noconfirm"]),s7=!0),s5||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),s5=!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,rU.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(s9))r.push(e[1]);}catch(e){(0,rU.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||ai.arch();let n=ao.join(eP(),e);if(ar.existsSync(n)){for(let e of ar.readdirSync(n))if(eI(e)){let i=ao.join(n,e,t||"");ar.existsSync(i)&&ar.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eR(e){return iw(this,void 0,void 0,function*(){return e||(e=ao.join(eN(),au.default())),yield at.mkdirP(e),e;});}function eO(e,t,r){return iw(this,void 0,void 0,function*(){let n=ao.join(eP(),e,aa.clean(t)||t,r||"");ae.debug("destination "+n);let i=`${n}.complete`;return yield at.rmRF(n),yield at.rmRF(i),yield at.mkdirP(n),n;});}function eS(e,t,r){let n=ao.join(eP(),e,aa.clean(t)||t,r||""),i=`${n}.complete`;ar.writeFileSync(i,""),ae.debug("finished caching tool");}function eI(e){let t=aa.clean(e)||"";ae.debug("isExplicit: "+t);let r=null!=aa.valid(t);return ae.debug("explicit? "+r),r;}function eT(e,t){let r="";ae.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>aa.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(aa.satisfies(i,t)){r=i;break;}}return r?ae.debug("matched: "+r):ae.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rh.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eN(){let e=process.env.RUNNER_TEMP||"";return rh.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eA(e,t){let r=r$[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 am(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,ip.join)(process.env.RUNNER_TEMP??(0,iV.tmpdir)(),`${Date.now()}-${(0,iX.basename)(r)}`);return(0,im.downloadTool)(r,e);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rU.info)(e)});}async function eq(e,t,r){rj.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===ro("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,im.cacheDir)(e,t,r));}function eV(e,t,r){let n=c(id)(e)??e;switch(t){case"win32":{let t;let i=c(ih)(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,ip.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(ih)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,ip.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(ih)(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,ip.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,iY.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(iC)(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 i$(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 i$(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=aA){try{let r=await(0,ib.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(id)(i)??void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=aA){let n=await eY(e,r);return void 0!==n&&""!==t&&-1!==c(iC)(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(rh)(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,rU.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,rU.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,ip.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rj.GITHUB_ACTIONS)try{(0,rU.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rk("8Rlq7");if(await o(e,t,r),i=await e3(t),void 0===i)throw Error("Python binary could not be found");let s=(0,ip.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rU.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,ip.dirname)(i),binDir:(0,ip.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,ip.dirname)(n);await k(i,ln),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,ip.join)(e.stdout,"libexec","bin");await k(n,ln);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,iX.parse)((0,iV.homedir)()).root;for(let t of(await(0,nt.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,ip.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{if(void 0!==t){let r=(0,ip.join)(t,(0,ip.addExeExt)(e));if((await(0,nU.pathExists)(r))&&(await eJ(r,aC.python)))return r;}for(let t of(await c(r9)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aC.python))return t;}catch{}}async function e8(e){let t=await e7();return void 0===t?((0,rU.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(r9)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aC.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,rU.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rU.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,ib.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,ip.join)(r,"Scripts"),(0,ip.join)(r,"Scripts","bin"),(0,ip.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){return tn(t)&&"linux"===process.platform&&null!==r&&e in aL?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,aL[e]):tn(t)&&e in a$?a$[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)=>{rg.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(r9).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,ik.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rU.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iV)&&"function"==typeof c(iV).version))return null;let e=c(iV).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 aF(),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,rF.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await aj(),i.PIPX_BIN_DIR=await aU()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rF.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 ak(e),p=await th(u,t);return await k(p,ln),{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,nU.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 aN(e),await aN((0,ip.join)(e,"trash")),await aN((0,ip.join)(e,"shared")),await aN((0,ip.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,ln),await aN(e),e;}async function tf(){let e=(await eZ(tr("python",void 0,await aD()),"",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,nU.pathExists)((0,ip.join)(e,(0,ip.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(r9).sync((0,ip.addExeExt)(t),{nothrow:!0});return null!==n?(0,ip.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rF.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,ln),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,ln),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rk("g7Ve0"),n=new r(e);await n.read(async e=>{await e.extract((0,iX.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,ip.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,ip.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,ip.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(iT)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rU.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 aG()[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,rU.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rU.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 aD()),"",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,nU.pathExists)((0,ip.join)(e,"doxygen.exe")))return await k(e,ln),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tR(){if("darwin"===process.platform)try{let e=await(0,ib.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),ln):(0,rU.error)("SDKROOT not set");}catch(e){(0,rU.error)(e);}}function tO(e,t,r){if("win32"===t){let t=aB[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,ip.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tS(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,tO,t,r);}catch(t){(0,rU.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tT(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=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,rU.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?await e_("gcc-multilib",e):em()&&(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 tP(e,i.binDir,n),i;}async function tI(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tS(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 tT(e,t){let r;if(await eg("mingw",e),"x64"===t&&(await(0,nU.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await k(r,ln)):"ia32"===t&&(await(0,nU.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await k(r,ln)):(await(0,nU.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 tP(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,ip.addExeExt)(`${t}/gcc`),ln),C("CXX",(0,ip.addExeExt)(`${t}/g++`),ln));else{let i=c(iD)(c(id)(e)??e);i>=5?(n.push(C("CC",`${t}/gcc-${i}`,ln),C("CXX",`${t}/g++-${i}`,ln)),em()&&n.push(q("cc",`${t}/gcc-${i}`,ln,r),q("cxx",`${t}/g++-${i}`,ln,r),q("gcc",`${t}/gcc-${i}`,ln,r),q("g++",`${t}/g++-${i}`,ln,r))):(n.push(C("CC",`${t}/gcc-${e}`,ln),C("CXX",`${t}/g++-${e}`,ln)),em()&&n.push(q("cc",`${t}/gcc-${e}`,ln,r),q("cxx",`${t}/g++-${e}`,ln,r),q("gcc",`${t}/gcc-${e}`,ln,r),q("g++",`${t}/g++-${e}`,ln,r)));}n.push(tR()),rj.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,ip.join)(ij,"gcc_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}function tA(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,ip.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function t$(e,t,r){return eG("ninja",e,tA,t,r);}function tC(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,ip.addExeExt)("kcov")};}function tL(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,ip.addExeExt)("kcov"),extractFunction:tk};}async function tk(e,t){let r=await eF(e,t,1),n=await tD();"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(r9).sync("patch",{nothrow:!0})){let e=(0,ip.join)(iU,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rU.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,ip.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 tD(){let e=c(r9).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eX(tr("cmake",void 0,await aD()),(0,ip.join)(T("~"),"cmake"),"");e=(0,ip.join)(t,"cmake");}return null===c(r9).sync("ninja",{nothrow:!0})&&(await t$(tr("ninja",void 0,await aD()),(0,ip.join)(T("~"),"ninja"),"")),e;}async function tj(e,t,r){var n;let i;if("linux"!==process.platform){(0,rU.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,tC,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tL,t,r),i;}function tU(e){if(Object.values(aJ).includes(e));else if(e in aJ)return aJ[e];return e;}function tF(e){let t;let r=tU(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return rg.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rF.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iz.existsSync(n))return rF.info("Found with vswhere: "+n),n;rF.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aJ).includes(e));else for(let[t,r]of Object.entries(aJ))if(r===e)return t;return e;}(e)]:aY;for(let e of aW)for(let t of i)for(let r of aK)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rF.info("Trying standard location: "+n),iz.existsSync(n))return rF.info("Found standard location: "+n),n;if(rF.info("Not found in standard locations"),n=`${az}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iz.existsSync(n))return rF.info("Found VS 2015: "+n),n;throw rF.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tM(e,t,r,n,i,o,s){void 0!==t&&(await(0,nU.pathExists)(t))&&((0,rU.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,ln)),await iG(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 tG(e,t,r,n,i,o,s,a=aZ){(0,rF.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(aX(e)),e.addEventListener("abort",()=>{l(aX(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aH();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;}(tB(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rU.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rU.error)(t.stack),s.push(`${e} failed to install`);}return(0,rF.endGroup)(),l;}async function tB(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tM(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:ln});else{let o=(0,ip.join)(i,a?"llvm":e),l=tr(e,t,r),c=le[e];s=await c(l,o,n);}return o.push(rs(e,s)),a;}async function tH(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new ie.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iV.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,nt.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iX.join)((0,iV.tmpdir)(),"llvm-setup-cpp.sh"),s=await tq(i,o,e,t);return await en(s),await(0,nt.chmod)(o,"755"),await R("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:aZ}),await k(`${r}/bin`,ln),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tq(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 ${sQ} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tV(c),c=X()?l.replace(/apt-get/g,"nala"):l,await(0,nt.writeFile)(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tV(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${sQ} -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,rA.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tX(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tz(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tW(e){let t;if(a1.has(e))return null;let r="LLVM-",n=c(ih)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(ih)(e,"9.0.1"),o=!1;return i&&(t=tz(e,r,n),(await i$(t))||(o=!0)),(o||!i)&&(t=tX(e,r,n)),t;}function tK(e,t){switch(e){case"darwin":return function(e){if(a2.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(ih)(e,"9.0.1")?tz(e,r,n):tX(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a4.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a0.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a0,e)[0];}else""!==n&&n in a3?t=a3[n]:(t=a3[a6],(0,rU.warning)(`Falling back to LLVM version ${a6} ${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(ih)(n,"9.0.1"))?tz(n,o,r):tX(n,o,r);}(t);case"win32":return tW(t);default:return null;}}async function tY(e,t,r){let[n,i]=await eK(a0,t,e,tK);return(0,rU.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,ip.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eF(e,t,1)};}async function tJ(e,t,r){let n=await a8(e,t,r);return await t2(n.installDir??t),n;}async function tQ(e,t,r){let[n,i]=await Promise.all([tZ(e,t,r),t4()]);return await a5(r),n;}async function tZ(e,t,r,n=iB.All){let i=Number.parseInt(function(e){if(null===c(iL)(e))try{let t=c(id)(e);if(null!==t)return(0,rU.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tH(i,n);}catch(e){(0,rU.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tY,t,r);return await a7(i),o;}async function t0(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t1(e){"linux"===process.platform&&(await tS(tr("gcc",void 0,await aD()),"",e,40));}async function t2(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[C("LLVM_PATH",e,ln),C("LD_LIBRARY_PATH",`${e}/lib${iX.delimiter}${t}`,ln),C("DYLD_LIBRARY_PATH",`${e}/lib${iX.delimiter}${r}`,ln),C("LDFLAGS",`-L"${e}/lib"`,ln),C("CPPFLAGS",`-I"${e}/include"`,ln),C("CC",(0,ip.addExeExt)(`${e}/bin/clang`),ln),C("CXX",(0,ip.addExeExt)(`${e}/bin/clang++`),ln),C("LIBRARY_PATH",`${e}/lib`,ln),tR()];em()&&n.push(q("cc",`${e}/bin/clang`,ln,60),q("cxx",`${e}/bin/clang++`,ln,60),q("clang",`${e}/bin/clang`,ln),q("clang++",`${e}/bin/clang++`,ln),q("lld",`${e}/bin/lld`,ln),q("ld.lld",`${e}/bin/ld.lld`,ln),q("llvm-ar",`${e}/bin/llvm-ar`,ln)),await Promise.all(n);}async function t4(){if(rj.GITHUB_ACTIONS){let e=(0,ip.join)(iH,"llvm_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}}async function t3(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",ln),{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 t6(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iF(e);(0,rU.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iM(l);c=!0,(0,rU.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,rU.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rU.error)(e);}await tM(l,a,r,s,n,i,o),rj.GITHUB_ACTIONS&&(await t8());}async function t8(){let e=(0,ip.join)(iq,"msvc_matcher.json");if(!(await(0,nU.pathExists)(e)))return(0,rU.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rU.info)("::add-matcher::"+e);}async function t7(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(r9).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,ip.dirname)(n)};await en([{name:"python3-apt"}]);let o=await ea({fileName:"volian-archive-nala.gpg",keyUrl:"https://deb.volian.org/volian/nala.key"});x("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ nala main" | tee /etc/apt/sources.list.d/volian-archive-nala.list`]);try{"legacy"!==e?await en([{name:"nala"}],!0):await en([{name:"nala-legacy"}],!0);}catch(e){await en([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function t5(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await t9()};}async function t9(){let e="C:/Program Files/OpenCppCoverage";return await k(e,ln),e;}function re(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,ip.addExeExt)("pwsh"),extractedFolderName:""};}async function rt(e,t,r){try{return await eG("pwsh",e,re,t,r);}catch(n){return(0,rU.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),rr(e,t,r);}}async function rr(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,ln),{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 aD(),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 rn(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,ip.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ri(e,t,r){return a9&&null!==c(r9).sync("vcpkg",{nothrow:!0})?{binDir:(0,ip.dirname)(c(r9).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,nU.pathExists)((0,ip.join)(t,(0,ip.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rU.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,ip.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rU.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,ip.addShExt)((0,ip.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,ln),a9=!0,{binDir:t});}function ro(e){let t=(0,rF.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function rs(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 ra(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(iL)(e)||(0,rU.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rF.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tJ(tr("llvm",l,t),(0,iX.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",ln),i.push(rs("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 tI(e,(0,iX.join)(r,"gcc"),n):await tS(e,(0,iX.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",ln)),await function(e){let t=c(iL)(e),r=null!==t?c(iD)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",ln);}(e),i.push(rs("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t6(tr("msvc",l,t),(0,iX.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",ln)),i.push(rs("msvc",e));break;}case"appleclang":case"applellvm":(0,rF.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",ln),C("CXX","clang++",ln)]),i.push(rs("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rU.error)(t),s.push("Failed to install the "+e);}(0,rF.endGroup)();}async function rl(e){let t,r,n=Promise.resolve();rj.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:[...lr,"timeout"],default:Object.fromEntries(lr.map(e=>[e,ro(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rU.info)(` +`));}function V(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 X(){return null!==c(ne).sync("nala",{nothrow:!0});}function z(){let e;return X()?"nala":"apt-get";}async function W(e){try{let{stdout:t}=await E("dpkg",["-s",e],{env:V("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 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,iu.default)(t)}-${(0,iu.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 s0?3:(s1(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,rF.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){s1(e);let t=await Y([{name:"ca-certificates"},{name:"gnupg"},{name:"apt-utils"}],e);0!==t.length&&x(e,["install","-y","--fix-broken","-o",sZ,...t],{...sF,env:V(e)});}async function et(e,t=z()){await s2(t),await er(t),x("add-apt-repository",["-y","--no-update",e],{...sF,env:V(t)}),s1.clear(),s1(t);}async function er(e){(await W("software-properties-common"))||x(e,["install","-y","--fix-broken","-o",sZ,"software-properties-common"],{...sF,env:V(e)});}async function en(e,t=!1){let r=z();for(let{name:t,version:n}of e)(0,rF.info)(`Installing ${t} ${n??""} via ${r}`);t&&s1(r),await ei(r,e);let n=await Y(e,r);if(0===n.length)return(0,rF.info)("All packages are already installed"),{binDir:"/usr/bin/"};await s2(r);try{await eo(e),x(r,["install","--fix-broken","-y",...n],{...sF,env:V(r)});}catch(e){if("string"==typeof e.stderr)s4.some(t=>e.stderr.includes(t))&&((0,rF.warning)(`Failed to install packages ${n}. Retrying...`),x(r,["install","--fix-broken","-y","-o",sZ,...n],{...sF,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=s6,fileName:r,keyStorePath:n=s6}){try{ec(r);let i=(0,iz.join)(n,r);return(await(0,nF.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,rF.warning)(`Failed to add apt key via server ${t}: ${e}`);return;}}async function ea({keyUrl:e,fileName:t,keyStorePath:r=s3}){try{ec(t);let n=(0,iz.join)(r,t);if(!(await(0,nF.pathExists)(n))){el(),await en([{name:"ca-certificates"}]);let r=(0,iz.join)((0,iX.tmpdir)(),t),i=new it.DownloaderHelper(e,(0,iX.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,rF.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(ne)("brew",{nothrow:!0});if(null!==r)return{binDir:t=(0,iz.dirname)(r)};await en([{name:"ca-certificates"}]);let n=new it.DownloaderHelper("https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh",(0,iX.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,rF.info)(`Installing ${e} ${t??""} via brew`),s8&&null!==c(ne).sync("brew",{nothrow:!0})||(await eu(),s8=!0);let i=ep(),o=(0,iz.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(ne).sync("dnf",{nothrow:!0})),o);}function eh(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(ne).sync("pacman",{nothrow:!0})),s);}function em(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(ne).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(ne).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,id.dirname)(i)};let o="powershell.exe",s=c(ne).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,li);let l=c(ne).sync("choco",{nothrow:!0});if(r=null!==l?(0,id.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nF.pathExists)(r))return{binDir:r};}async function eg(e,t,r=[]){(0,rF.info)(`Installing ${e} ${t??""} via chocolatey`),s7&&null!==c(ne).sync("choco",{nothrow:!0})||(await ev("","",process.arch),s7=!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,rF.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,li),{binDir:o};}async function ey(e){for(let{name:t,version:r}of e)(0,rF.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,rF.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,rF.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(ne).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s5||"yay"===r||(x(n,["-Sy","--noconfirm"]),s5=!0),s9||"yay"===r||(x(n,["-S","--noconfirm","base-devel"]),s9=!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,rF.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(ae))r.push(e[1]);}catch(e){(0,rF.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ex(e,t){let r=[];t=t||ao.arch();let n=as.join(eP(),e);if(an.existsSync(n)){for(let e of an.readdirSync(n))if(eI(e)){let i=as.join(n,e,t||"");an.existsSync(i)&&an.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function eR(e){return i_(this,void 0,void 0,function*(){return e||(e=as.join(eN(),ap.default())),yield ar.mkdirP(e),e;});}function eO(e,t,r){return i_(this,void 0,void 0,function*(){let n=as.join(eP(),e,al.clean(t)||t,r||"");at.debug("destination "+n);let i=`${n}.complete`;return yield ar.rmRF(n),yield ar.rmRF(i),yield ar.mkdirP(n),n;});}function eS(e,t,r){let n=as.join(eP(),e,al.clean(t)||t,r||""),i=`${n}.complete`;an.writeFileSync(i,""),at.debug("finished caching tool");}function eI(e){let t=al.clean(e)||"";at.debug("isExplicit: "+t);let r=null!=al.valid(t);return at.debug("explicit? "+r),r;}function eT(e,t){let r="";at.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>al.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(al.satisfies(i,t)){r=i;break;}}return r?at.debug("matched: "+r):at.debug("match not found"),r;}function eP(){let e=process.env.RUNNER_TOOL_CACHE||"";return rm.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eN(){let e=process.env.RUNNER_TEMP||"";return rm.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eA(e,t){let r=rC[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 av(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,id.join)(process.env.RUNNER_TEMP??(0,iX.tmpdir)(),`${Date.now()}-${(0,iz.basename)(r)}`);return(0,iv.downloadTool)(r,e);},{name:r,max:4,backoffBase:2e3,report:e=>(0,rF.info)(e)});}async function eq(e,t,r){rU.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&("true"===rs("cache-tools")||"true"===process.env.CACHE_TOOLS)&&(await(0,iv.cacheDir)(e,t,r));}function eV(e,t,r){let n=c(ih)(e)??e;switch(t){case"win32":{let t;let i=c(im)(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,id.addExeExt)("cmake"),extractedFolderName:o,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(im)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,id.addExeExt)("cmake"),extractedFolderName:r,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(im)(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,id.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,iJ.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(iL)(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 iC(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 iC(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=a$){try{let r=await(0,ix.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(ih)(i)??void 0;}catch(e){console.error(e);return;}}async function eJ(e,t,r=a$){let n=await eY(e,r);return void 0!==n&&""!==t&&-1!==c(iL)(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(rm)(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,rF.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,rF.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,id.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rU.GITHUB_ACTIONS)try{(0,rF.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rD("8Rlq7");if(await o(e,t,r),i=await e3(t),void 0===i)throw Error("Python binary could not be found");let s=(0,id.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rF.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,id.dirname)(i),binDir:(0,id.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,id.dirname)(n);await k(i,li),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,id.join)(e.stdout,"libexec","bin");await k(n,li);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,iz.parse)((0,iX.homedir)()).root;for(let t of(await(0,nr.readdir)(e)).filter(e=>e.startsWith("Python")))for(let r of["python3","python"]){let n=await e6(r,(0,id.join)(e,t));if(void 0!==n)return n;}}}async function e6(e,t){try{if(void 0!==t){let r=(0,id.join)(t,(0,id.addExeExt)(e));if((await(0,nF.pathExists)(r))&&(await eJ(r,aL.python)))return r;}for(let t of(await c(ne)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aL.python))return t;}catch{}}async function e8(e){let t=await e7();return void 0===t?((0,rF.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(ne)(e,{nothrow:!0,all:!0}))??[])if(await eJ(t,aL.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,rF.info)(t.toString());try{return await E(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rF.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,ix.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,id.join)(r,"Scripts"),(0,id.join)(r,"Scripts","bin"),(0,id.join)(r,"bin")),[...new Set(t)];}function tr(e,t,r=null){return tn(t)&&"linux"===process.platform&&null!==r&&e in ak?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,ak[e]):tn(t)&&e in aC?aC[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)=>{ry.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(ne).sync("lsb_release",{nothrow:!0})&&(await en([{name:"lsb-release"}]));}catch{return ts();}let e=await(0,iD.getUbuntuVersion)();if(0===e.length)return ts();return e;}}catch(e){return(0,rF.warning)(e.toString()),null;}}function ts(){if(!("version"in c(iX)&&"function"==typeof c(iX).version))return null;let e=c(iX).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 aM(),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,rM.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await aU(),i.PIPX_BIN_DIR=await aF()),w(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,rM.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 aD(e),p=await th(u,t);return await k(p,li),{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,nF.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 aA(e),await aA((0,id.join)(e,"trash")),await aA((0,id.join)(e,"shared")),await aA((0,id.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,li),await aA(e),e;}async function tf(){let e=(await eZ(tr("python",void 0,await aj()),"",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,nF.pathExists)((0,id.join)(e,(0,id.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(ne).sync((0,id.addExeExt)(t),{nothrow:!0});return null!==n?(0,id.dirname)(n):e[e.length-1];}function tm(e,t=!0){if("linux"===process.platform){if((0,rM.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,li),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,li),{binDir:e};}throw Error("Unsupported platform");}async function tw(e,t){let{ArchiveHdi:r}=await rD("g7Ve0"),n=new r(e);await n.read(async e=>{await e.extract((0,iz.join)(t,e.path));});}function t_(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,id.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,id.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,id.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(iP)(()=>eg("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rF.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 aB()[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,rF.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rF.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 aj()),"",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,nF.pathExists)((0,id.join)(e,"doxygen.exe")))return await k(e,li),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tR(){if("darwin"===process.platform)try{let e=await(0,ix.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await C("SDKROOT",t.trim(),li):(0,rF.error)("SDKROOT not set");}catch(e){(0,rF.error)(e);}}function tO(e,t,r){if("win32"===t){let t=aH[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,id.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:ek,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tS(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,tO,t,r);}catch(t){(0,rF.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tT(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=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,rF.info)(`Install g++-multilib because gcc for ${r} was requested`),eh()?await e_("gcc-multilib",e):em()&&(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 tP(e,i.binDir,n),i;}async function tI(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tS(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 tT(e,t){let r;if(await eg("mingw",e),"x64"===t&&(await(0,nF.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await k(r,li)):"ia32"===t&&(await(0,nF.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await k(r,li)):(await(0,nF.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 tP(e,t,r=40){let n=[];if("win32"===process.platform)n.push(C("CC",(0,id.addExeExt)(`${t}/gcc`),li),C("CXX",(0,id.addExeExt)(`${t}/g++`),li));else{let i=c(ij)(c(ih)(e)??e);i>=5?(n.push(C("CC",`${t}/gcc-${i}`,li),C("CXX",`${t}/g++-${i}`,li)),em()&&n.push(q("cc",`${t}/gcc-${i}`,li,r),q("cxx",`${t}/g++-${i}`,li,r),q("gcc",`${t}/gcc-${i}`,li,r),q("g++",`${t}/g++-${i}`,li,r))):(n.push(C("CC",`${t}/gcc-${e}`,li),C("CXX",`${t}/g++-${e}`,li)),em()&&n.push(q("cc",`${t}/gcc-${e}`,li,r),q("cxx",`${t}/g++-${e}`,li,r),q("gcc",`${t}/gcc-${e}`,li,r),q("g++",`${t}/g++-${e}`,li,r)));}n.push(tR()),rU.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,id.join)(iU,"gcc_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}function tA(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,id.addExeExt)("ninja"),extractedFolderName:"",url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function t$(e,t,r){return eG("ninja",e,tA,t,r);}function tC(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,id.addExeExt)("kcov")};}function tL(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,id.addExeExt)("kcov"),extractFunction:tk};}async function tk(e,t){let r=await eF(e,t,1),n=await tD();"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(ne).sync("patch",{nothrow:!0})){let e=(0,id.join)(iF,"gcc13.patch");await E("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rF.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,id.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 tD(){let e=c(ne).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eX(tr("cmake",void 0,await aj()),(0,id.join)(T("~"),"cmake"),"");e=(0,id.join)(t,"cmake");}return null===c(ne).sync("ninja",{nothrow:!0})&&(await t$(tr("ninja",void 0,await aj()),(0,id.join)(T("~"),"ninja"),"")),e;}async function tj(e,t,r){var n;let i;if("linux"!==process.platform){(0,rF.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,tC,t,r),eh()?await e_("binutils"):ed()?await ey([{name:"binutils"}]):em()&&(await en([{name:"libbinutils"}]))):i=await eG("kcov",s,tL,t,r),i;}function tU(e){if(Object.values(aQ).includes(e));else if(e in aQ)return aQ[e];return e;}function tF(e){let t;let r=tU(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return ry.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){rM.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&iW.existsSync(n))return rM.info("Found with vswhere: "+n),n;rM.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)]:aJ;for(let e of aK)for(let t of i)for(let r of aY)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,rM.info("Trying standard location: "+n),iW.existsSync(n))return rM.info("Found standard location: "+n),n;if(rM.info("Not found in standard locations"),n=`${aW}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,iW.existsSync(n))return rM.info("Found VS 2015: "+n),n;throw rM.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tM(e,t,r,n,i,o,s){void 0!==t&&(await(0,nF.pathExists)(t))&&((0,rF.info)(`Adding ${t} to PATH`),await C("VCTargetsPath",t,li)),await iB(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 tG(e,t,r,n,i,o,s,a=a0){(0,rM.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(az(e)),e.addEventListener("abort",()=>{l(az(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aq();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;}(tB(e,t,r,n,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rF.error)(t),t instanceof Error&&void 0!==t.stack&&(0,rF.error)(t.stack),s.push(`${e} failed to install`);}return(0,rM.endGroup)(),l;}async function tB(e,t,r,n,i,o){let s;let a=["llvm","clangformat","clangtidy"].includes(e);if("vcvarsall"===e)await tM(tr(e,t,r),void 0,n,void 0,void 0,!1,!1);else if("brew"===e)s=await eu({rcOptions:li});else{let o=(0,id.join)(i,a?"llvm":e),l=tr(e,t,r),c=lt[e];s=await c(l,o,n);}return o.push(ra(e,s)),a;}async function tH(e,t=0){let r="/usr/lib/llvm-"+e;await en([{name:"ca-certificates"}]);let n=new it.DownloaderHelper("https://apt.llvm.org/llvm.sh",(0,iX.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,nr.readFile)(n.getDownloadPath(),"utf-8"),o=(0,iz.join)((0,iX.tmpdir)(),"llvm-setup-cpp.sh"),s=await tq(i,o,e,t);return await en(s),await(0,nr.chmod)(o,"755"),await R("bash",[o,""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a0}),await k(`${r}/bin`,li),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tq(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 ${sZ} -y`),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tV(c),c=X()?l.replace(/apt-get/g,"nala"):l,await(0,nr.writeFile)(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tV(e){let t=e.replace(/apt-get install -y/g,`apt-get install -o Dpkg::Options::="--force-overwrite" -o ${sZ} -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,r$.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tX(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tz(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tW(e){let t;if(a2.has(e))return null;let r="LLVM-",n=c(im)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(im)(e,"9.0.1"),o=!1;return i&&(t=tz(e,r,n),(await iC(t))||(o=!0)),(o||!i)&&(t=tX(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(im)(e,"9.0.1")?tz(e,r,n):tX(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=a3.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!a1.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eW(a1,e)[0];}else""!==n&&n in a6?t=a6[n]:(t=a6[a8],(0,rF.warning)(`Falling back to LLVM version ${a8} ${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(im)(n,"9.0.1"))?tz(n,o,r):tX(n,o,r);}(t);case"win32":return tW(t);default:return null;}}async function tY(e,t,r){let[n,i]=await eK(a1,t,e,tK);return(0,rF.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,id.addExeExt)("clang"),extractFunction:"win32"===t?ej:(e,t)=>eF(e,t,1)};}async function tJ(e,t,r){let n=await a7(e,t,r);return await t2(n.installDir??t),n;}async function tQ(e,t,r){let[n,i]=await Promise.all([tZ(e,t,r),t4()]);return await a9(r),n;}async function tZ(e,t,r,n=iH.All){let i=Number.parseInt(function(e){if(null===c(ik)(e))try{let t=c(ih)(e);if(null!==t)return(0,rF.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(em())return await tH(i,n);}catch(e){(0,rF.info)("Failed to install llvm via system package manager "+e);}let o=await eG("llvm",e,tY,t,r);return await a5(i),o;}async function t0(e){em()&&(e<=10?await en([{name:"libtinfo5"}]):await en([{name:"libtinfo-dev"}]));}async function t1(e){"linux"===process.platform&&(await tS(tr("gcc",void 0,await aj()),"",e,40));}async function t2(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[C("LLVM_PATH",e,li),C("LD_LIBRARY_PATH",`${e}/lib${iz.delimiter}${t}`,li),C("DYLD_LIBRARY_PATH",`${e}/lib${iz.delimiter}${r}`,li),C("LDFLAGS",`-L"${e}/lib"`,li),C("CPPFLAGS",`-I"${e}/include"`,li),C("CC",(0,id.addExeExt)(`${e}/bin/clang`),li),C("CXX",(0,id.addExeExt)(`${e}/bin/clang++`),li),C("LIBRARY_PATH",`${e}/lib`,li),tR()];em()&&n.push(q("cc",`${e}/bin/clang`,li,60),q("cxx",`${e}/bin/clang++`,li,60),q("clang",`${e}/bin/clang`,li),q("clang++",`${e}/bin/clang++`,li),q("lld",`${e}/bin/lld`,li),q("ld.lld",`${e}/bin/ld.lld`,li),q("llvm-ar",`${e}/bin/llvm-ar`,li)),await Promise.all(n);}async function t4(){if(rU.GITHUB_ACTIONS){let e=(0,id.join)(iq,"llvm_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}}async function t3(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",li),{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 t6(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=iM(e);(0,rF.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=iG(l);c=!0,(0,rF.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,rF.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rF.error)(e);}await tM(l,a,r,s,n,i,o),rU.GITHUB_ACTIONS&&(await t8());}async function t8(){let e=(0,id.join)(iV,"msvc_matcher.json");if(!(await(0,nF.pathExists)(e)))return(0,rF.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rF.info)("::add-matcher::"+e);}async function t7(e,t,r){if(!em())return;if("string"==typeof i)return{binDir:i};let n=c(ne).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,id.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,rF.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,rF.info)("Failed to install nala-legacy: "+e);}return await t5(),{binDir:i};}async function t5(){let e=new it.DownloaderHelper("https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",(0,iX.tmpdir)(),{fileName:"install-nala.sh"});e.on("error",e=>{throw Error("Failed to download install-nala.sh: "+e);}),await e.start();let t=(0,id.join)((0,iX.tmpdir)(),"install-nala.sh"),r=await(0,nr.readFile)(t,"utf8");await(0,nr.writeFile)(t,r.replace(/sudo/g,"")),await en([{name:"wget"}]);try{x("bash",[t]);}catch(e){(0,rF.error)("Failed to install nala via installer: "+e),x("apt",["install","-y","-t","nala","nala"]);}}async function t9(e,t,r){if("win32"===process.platform)return await eg("opencppcoverage",e),{binDir:await re()};}async function re(){let e="C:/Program Files/OpenCppCoverage";return await k(e,li),e;}function rt(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,id.addExeExt)("pwsh"),extractedFolderName:""};}async function rr(e,t,r){try{return await eG("pwsh",e,rt,t,r);}catch(n){return(0,rF.error)(`Failed to setup pwsh via download: ${n}. Trying package managers...`),rn(e,t,r);}}async function rn(e,t,r){switch(process.platform){case"win32":{await eg("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await k(t,li),{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 aj(),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 ri(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,id.addExeExt)("task"),extractedFolderName:"",url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s}`};}async function ro(e,t,r){return le&&null!==c(ne).sync("vcpkg",{nothrow:!0})?{binDir:(0,id.dirname)(c(ne).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,nF.pathExists)((0,id.join)(t,(0,id.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rF.notice)(`Vcpkg folder already exists at ${t}. Skipping the clone`):w("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,id.dirname)(t),stdio:"inherit"}),""!==e&&"true"!==e&&((0,rF.info)("Checking out vcpkg version "+e),w("git",["checkout",e],{cwd:t,stdio:"inherit"})),w((0,id.addShExt)((0,id.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await I(t),await k(t,li),le=!0,{binDir:t});}function rs(e){let t=(0,rM.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}function ra(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 rl(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(ik)(e)||(0,rF.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,rM.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tJ(tr("llvm",l,t),(0,iz.join)(r,"llvm"),n);await C("GCOV","llvm-cov gcov",li),i.push(ra("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 tI(e,(0,iz.join)(r,"gcc"),n):await tS(e,(0,iz.join)(r,"gcc"),n);o&&(await C("CPPFLAGS","",li)),await function(e){let t=c(ik)(e),r=null!==t?c(ij)(t):e;return C("GCOV",""!==r?"gcov-"+r:"gcov",li);}(e),i.push(ra("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t6(tr("msvc",l,t),(0,iz.join)(r,"msvc"),n);o&&(await C("CPPFLAGS","",li)),i.push(ra("msvc",e));break;}case"appleclang":case"applellvm":(0,rM.notice)("Assuming apple-clang is already installed"),await Promise.all([C("CC","clang",li),C("CXX","clang++",li)]),i.push(ra("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rF.error)(t),s.push("Failed to install the "+e);}(0,rM.endGroup)();}async function rc(e){let t,r,n=Promise.resolve();rU.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:[...ln,"timeout"],default:Object.fromEntries(ln.map(e=>[e,rs(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rF.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 o=i.architecture??process.arch,s=process.env.SETUP_CPP_DIR??T("~"),a=[],l=[],u=nH.create({autoloadLocales:!0});nH.addLocale(c(nq)),nG.addLocale(c(nB));let p=await aD();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,rU.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rU.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 lt){if(rj.isCI&&0!==l.length){d=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),f=await tG(e,n,p,o,s,a,l,6e4*Number.parseFloat(i.timeout??"20")),r=Date.now(),(0,rU.info)("took "+(u.format(t,r)||"0 seconds")));}if(!d){let e=i.compiler;if(void 0!==e){let t=Date.now();await ra(e,p,s,o,a,f,l);let r=Date.now();(0,rU.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await $(ln),0===a.length&&0===l.length)return(0,rU.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of a)(0,rU.success)(e);for(let e of l)(0,rU.error)(e);if((0,rU.info)("setup-cpp finished"),!rj.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rU.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rU.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var rc,ru,rp,rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rR,rO,rS,rI,rT,rP,rN,rA,r$,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,nN,nA,n$,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,iN,iA,i$,iC,iL,ik,iD,ij,iU,iF,iM,iG,iB,iH,iq,iV=require("os"),iX=require("path"),iz=require("fs"),iW=require("crypto"),iK=require("http"),iY=require("https");require("net"),rf=require("tls"),rd=require("events"),rh=require("assert"),rm=require("util"),rv=require("fs"),rg=require("child_process"),ry=require("string_decoder"),rE=require("timers"),rw=require("buffer"),r_=require("path"),rb=require("child_process"),rx=require("process"),rR=require("url"),rO=require("os"),rS=require("buffer"),rI=require("stream"),rT=require("util"),rP=require("process"),rN=require("url"),rA=require("console"),rC={},rL={},null==(rk=(r$=globalThis).parcelRequire810d)&&((rk=function(e){if(e in rC)return rC[e].exports;if(e in rL){var t=rL[e];delete rL[e];var r={id:e,exports:{}};return rC[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){rL[e]=t;},r$.parcelRequire810d=rk),(rD=rk.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=rk("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));}),rD("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"}]');}),rD("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=rk("9yJgU"),n=rk("9ne19");}),rD("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=rk("lffbf"),a=rk("60EQk"),l=rk("h6Xqd");let y=i(iV),E=i(iX);c=rk("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=rk("kPBPC"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rk("kPBPC"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rk("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;}});}),rD("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(iV);o=rk("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")));}}}),rD("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}:{};};}),rD("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(iz),l=i(iV);o=rk("4dndm"),s=rk("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}`;};}),rD("4dndm",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rk("5SVBN"),n=rk("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);};}),rD("5SVBN",function(e,t){function r(){return i>n.length-16&&(c(iW).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rD("38Etc",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rk("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;};}),rD("f9HAa",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rk("bpRYF"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rD("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;}),rD("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=rk("lpeQd"),i=rk("8pFBD"),o=rk("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. +`),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=nq.create({autoloadLocales:!0});nq.addLocale(c(nV)),nB.addLocale(c(nH));let p=await aj();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,rF.error)("The same version must be used for llvm, clangformat and clangtidy"),1;eh()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rF.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 lr){if(rU.isCI&&0!==l.length){d=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),f=await tG(e,n,p,o,s,a,l,6e4*Number.parseFloat(i.timeout??"20")),r=Date.now(),(0,rF.info)("took "+(u.format(t,r)||"0 seconds")));}if(!d){let e=i.compiler;if(void 0!==e){let t=Date.now();await rl(e,p,s,o,a,f,l);let r=Date.now();(0,rF.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await $(li),0===a.length&&0===l.length)return(0,rF.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let e of a)(0,rF.success)(e);for(let e of l)(0,rF.error)(e);if((0,rF.info)("setup-cpp finished"),!rU.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rF.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rF.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var ru,rp,rf,rd,rh,rm,rv,rg,ry,rE,rw,r_,rb,rx,rR,rO,rS,rI,rT,rP,rN,rA,r$,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,nN,nA,n$,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,iN,iA,i$,iC,iL,ik,iD,ij,iU,iF,iM,iG,iB,iH,iq,iV,iX=require("os"),iz=require("path"),iW=require("fs"),iK=require("crypto"),iY=require("http"),iJ=require("https");require("net"),rd=require("tls"),rh=require("events"),rm=require("assert"),rv=require("util"),rg=require("fs"),ry=require("child_process"),rE=require("string_decoder"),rw=require("timers"),r_=require("buffer"),rb=require("path"),rx=require("child_process"),rR=require("process"),rO=require("url"),rS=require("os"),rI=require("buffer"),rT=require("stream"),rP=require("util"),rN=require("process"),rA=require("url"),r$=require("console"),rL={},rk={},null==(rD=(rC=globalThis).parcelRequire810d)&&((rD=function(e){if(e in rL)return rL[e].exports;if(e in rk){var t=rk[e];delete rk[e];var r={id:e,exports:{}};return rL[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){rk[e]=t;},rC.parcelRequire810d=rD),(rj=rD.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=rD("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));}),rj("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"}]');}),rj("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=rD("9yJgU"),n=rD("9ne19");}),rj("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=rD("lffbf"),a=rD("60EQk"),l=rD("h6Xqd");let y=i(iX),E=i(iz);c=rD("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=rD("kPBPC"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rD("kPBPC"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),f=rD("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;}});}),rj("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(iX);o=rD("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")));}}}),rj("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}:{};};}),rj("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(iW),l=i(iX);o=rD("4dndm"),s=rD("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}`;};}),rj("4dndm",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rD("5SVBN"),n=rD("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);};}),rj("5SVBN",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;}),rj("38Etc",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rD("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;};}),rj("f9HAa",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rD("bpRYF"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rj("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;}),rj("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=rD("lpeQd"),i=rD("8pFBD"),o=rD("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;}),rD("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(iK),f=i(iY),d=i(rk("bBH88")),h=i(rk("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 rk("2LecT");}).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),{});}),rD("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;}}}),rD("eYDoL",function(e,t){e.exports=rk("gBbBa");}),rD("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||iK.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=rf.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=iK.request,t;},n=function(e){var t=new c(e);return t.request=iK.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iY.request,t;},o=function(e){var t=new c(e);return t.request=iY.request,t.createSocket=u,t.defaultPort=443,t;},rm.inherits(c,rd.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;}),rD("2LecT",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.52c85c82.js")).then(()=>rk("3z4gn"));}),rD("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");});}};}),rD("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}=iz.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,iz.constants.R_OK|iz.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(iV.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;}),rD("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(iX);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);};}),rD("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),iz.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}=iz.promises,I="rm"in iz.promises?iz.promises.rm:(0,rm.promisify)(iz.unlink);}),rD("7Ubzm",function(e,t){e.exports=function(){};}),rD("8tETt",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rD("hGADy",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rD("9KLFQ",function(e,t){var r=rk("dxkoV"),n=rk("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;});};};}),rD("dxkoV",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rD("gGM7W",function(e,t){var r=rk("8uHBt");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rD("8uHBt",function(e,t){var r=rk("7Ubzm")();e.exports=function(e){return e!==r&&null!==e;};}),rD("5twQR",function(e,t){}),rD("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");};}),rD("11hhf",function(e,t){var r=rk("4bgzK"),n=rk("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;};}),rD("4bgzK",function(e,t){e.exports=rk("h6Tco")()?Object.keys:rk("jSHqR");}),rD("h6Tco",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rD("jSHqR",function(e,t){var r=rk("8uHBt"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rD("4P0KV",function(e,t){var r=rk("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;};}),rD("lQbJp",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rD("ffXEK",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rD("4SFhS",function(e,t){var r,n,i,o,s,a,l,c=rk("eXmen"),u=rk("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;}),rD("eXmen",function(e,t){var r=rk("eAnMX"),n=rk("bDk1X"),i=rk("6XGJc"),o=rk("3a7Qq"),s=rk("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;};}),rD("eAnMX",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rD("bDk1X",function(e,t){var r=rk("lrn5l"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rD("lrn5l",function(e,t){var r=rk("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);};}),rD("89yT1",function(e,t){var r=rk("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;}};}),rD("dZcwn",function(e,t){var r=rk("eAnMX"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rD("6XGJc",function(e,t){e.exports=rk("63IW4")()?Object.assign:rk("11hhf");}),rD("3a7Qq",function(e,t){var r=rk("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;};}),rD("iiFLO",function(e,t){e.exports=rk("lQbJp")()?String.prototype.contains:rk("ffXEK");}),rD("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]);};}),rD("hQqTa",function(e,t){var r=rk("hXtQe").iterator,n=rk("iAtFO"),i=rk("lTrIc"),o=rk("6u4nl"),s=rk("dxkoV"),a=rk("gGM7W"),l=rk("8uHBt"),c=rk("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;};}),rD("hXtQe",function(e,t){e.exports=rk("asjyI")()?rk("kld7H").Symbol:rk("8ZJMO");}),rD("asjyI",function(e,t){var r=rk("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]);};}),rD("kld7H",function(e,t){e.exports=rk("gOf4U")()?globalThis:rk("atP66");}),rD("gOf4U",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rD("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__;}}();}),rD("8ZJMO",function(e,t){var r,n,i,o=rk("eXmen"),s=rk("93JRo"),a=rk("kld7H").Symbol,l=rk("7pvFa"),c=rk("5aDJl"),u=rk("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]));}),rD("93JRo",function(e,t){var r=rk("8cqlP");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rD("8cqlP",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rD("7pvFa",function(e,t){var r=rk("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;};}),rD("5aDJl",function(e,t){var r=rk("eXmen"),n=rk("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"))});};}),rD("kuJ4U",function(e,t){var r=rk("eXmen"),n=rk("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;})});};}),rD("iAtFO",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rD("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));};}),rD("6u4nl",function(e,t){var r=rk("bq2jW"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rD("bq2jW",function(e,t){var r=rk("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;};}),rD("3lVkV",function(e,t){e.exports=rk("8tETt")()?Math.sign:rk("hGADy");}),rD("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;};}),rD("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;};}),rD("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"";};};}),rD("1DZyI",function(e,t){var r=rk("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;};}),rD("hrboG",function(e,t){e.exports=rk("iT9FP")()?Number.isNaN:rk("z7ebn");}),rD("iT9FP",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rD("z7ebn",function(e,t){e.exports=function(e){return e!=e;};}),rD("loqvW",function(e,t){var r=rk("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=[];}};};}),rD("f097S",function(e,t){var r=rk("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);});};}),rD("aRFop",function(e,t){var r=rk("bEnef");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rD("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;}),rD("1EtHk",function(e,t){var r=rk("dxkoV"),n=rk("5RsFi"),i=rk("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);});});};}),rD("6VQvb",function(e,t){var r=rk("8Vysl"),n=rk("5RsFi"),i=rk("hRqDS"),o=rk("8worn"),s=rk("jWpXq"),a=rk("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={});}));};}),rD("jWpXq",function(e,t){var r=rk("6u4nl"),n=rk("3yRn0");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rD("3yRn0",function(e,t){e.exports=2147483647;}),rD("jT7Ur",function(e,t){var r=rk("6u4nl"),n=rk("kzv77"),i=rk("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));};}),rD("kzv77",function(e,t){var r=rk("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;}};};}),rD("6ZksK",function(e,t){var r=rk("eXmen"),n=rk("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;})});};}),rD("dOmbL",function(e,t){async function r(e){try{return await(0,rv.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rD("awj79",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rD("fXZh0",function(e,t){var r=iX.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);}),rD("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=rk("ggaxg"),i=rk("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};}),rD("ggaxg",function(e,t){e.exports=rk("fXZh0");}),rD("crMMK",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rD("jrMr3",function(e,t){var r=rk("6UUXQ"),n=rk("4ojkK"),i=rk("lbpWb"),o=rk("5Kc3o"),s=rk("3uxBW"),a=rk("cdjlt"),l=rk("edMUL"),c=rk("4QHs5"),u=rk("b7ZNe"),p=rk("3tcGr"),f=rk("29YTh"),d=rk("5HQiF"),h=rk("eKr8E"),m=rk("5tbf8"),v=rk("k02ZJ"),g=rk("jSJWo"),y=rk("3tYTc"),E=rk("lXqm9"),w=rk("7opda"),_=rk("e12Rv"),b=rk("hb18N"),x=rk("hcLkw"),R=rk("8qYh8"),O=rk("1MItZ"),S=rk("ekDr6"),I=rk("dnnKg"),T=rk("4F3T1"),P=rk("6K3XU"),N=rk("ggJh3"),A=rk("fta4V"),$=rk("9xXeH"),C=rk("8CAg3"),L=rk("cigJ0"),k=rk("5uMTr"),D=rk("jlFkD"),j=rk("bCYTf"),U=rk("jXojG"),F=rk("gpcZS"),M=rk("1U8CF"),G=rk("cilv0"),B=rk("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:N,satisfies:A,toComparators:$,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};}),rD("6UUXQ",function(e,t){var r=rk("4ojkK"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rk("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*$");}),rD("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};}),rD("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;}),rD("lbpWb",function(e,t){var r=rk("eCCPy"),n=rk("4ojkK"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rk("6UUXQ"),a=s.safeRe,l=s.t,c=rk("fnN7l"),u=rk("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;}),rD("fnN7l",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rD("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)};}),rD("3uxBW",function(e,t){var r=rk("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;}};}),rD("cdjlt",function(e,t){var r=rk("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rD("edMUL",function(e,t){var r=rk("3uxBW");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rD("4QHs5",function(e,t){var r=rk("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;}};}),rD("b7ZNe",function(e,t){var r=rk("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";};}),rD("3tcGr",function(e,t){var r=rk("lbpWb");e.exports=(e,t)=>new r(e,t).major;}),rD("29YTh",function(e,t){var r=rk("lbpWb");e.exports=(e,t)=>new r(e,t).minor;}),rD("5HQiF",function(e,t){var r=rk("lbpWb");e.exports=(e,t)=>new r(e,t).patch;}),rD("eKr8E",function(e,t){var r=rk("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rD("5tbf8",function(e,t){var r=rk("lbpWb");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rD("k02ZJ",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>r(t,e,n);}),rD("jSJWo",function(e,t){var r=rk("5tbf8");e.exports=(e,t)=>r(e,t,!0);}),rD("3tYTc",function(e,t){var r=rk("lbpWb");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rD("lXqm9",function(e,t){var r=rk("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rD("7opda",function(e,t){var r=rk("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rD("e12Rv",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>0;}),rD("hb18N",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0>r(e,t,n);}),rD("hcLkw",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0===r(e,t,n);}),rD("8qYh8",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0!==r(e,t,n);}),rD("1MItZ",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rD("ekDr6",function(e,t){var r=rk("5tbf8");e.exports=(e,t,n)=>0>=r(e,t,n);}),rD("dnnKg",function(e,t){var r=rk("hcLkw"),n=rk("8qYh8"),i=rk("e12Rv"),o=rk("1MItZ"),s=rk("hb18N"),a=rk("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);}};}),rD("4F3T1",function(e,t){var r=rk("lbpWb"),n=rk("3uxBW"),i=rk("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);};}),rD("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=rk("fnN7l"),o=rk("6UUXQ"),s=o.safeRe,a=o.t,l=rk("dnnKg"),c=rk("eCCPy"),u=rk("lbpWb"),p=rk("ggJh3");}),rD("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,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=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],"")),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;};}),rD("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;}};}),rD("fta4V",function(e,t){var r=rk("ggJh3");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rD("9xXeH",function(e,t){var r=rk("ggJh3");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rD("8CAg3",function(e,t){var r=rk("lbpWb"),n=rk("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;};}),rD("cigJ0",function(e,t){var r=rk("lbpWb"),n=rk("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;};}),rD("5uMTr",function(e,t){var r=rk("lbpWb"),n=rk("ggJh3"),i=rk("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;};}),rD("jlFkD",function(e,t){var r=rk("ggJh3");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rD("bCYTf",function(e,t){var r=rk("lbpWb"),n=rk("6K3XU");let{ANY:i}=n;var o=rk("ggJh3"),s=rk("fta4V"),a=rk("e12Rv"),l=rk("hb18N"),c=rk("ekDr6"),u=rk("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;};}),rD("jXojG",function(e,t){var r=rk("bCYTf");e.exports=(e,t,n)=>r(e,t,">",n);}),rD("gpcZS",function(e,t){var r=rk("bCYTf");e.exports=(e,t,n)=>r(e,t,"<",n);}),rD("1U8CF",function(e,t){var r=rk("ggJh3");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rD("cilv0",function(e,t){var r=rk("fta4V"),n=rk("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;};}),rD("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,iX.basename)(e):(0,iX.basename)(e,(0,iX.extname)(e));}function w(e){return(0,iX.normalize)(e).replace(RegExp((0,r.default)(iX.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iX.extname)(e),n=`${t}${(0,iX.basename)(e,r)}${r}`;return(0,iX.join)((0,iX.dirname)(e),n);}function x(e,t){let r=(0,iX.extname)(e),n=`${(0,iX.basename)(e,r)}${t}${r}`;return(0,iX.join)((0,iX.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,iX.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iX.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iX.sep)||r===(0,iX.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>R),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>iX.dirname),l(e.exports,"join",()=>iX.join),r=rk("9ag04"),n=rk("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);}),rD("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);}),rD("923E2",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iX.basename(e,iX.extname(e))+t,i=iX.join(iX.dirname(e),n);return(r=e.slice(0,2))==="."+iX.sep||"./"===r?"."+iX.sep+i:i;};}),rD("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*(){rh.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(iX),p=i(rk("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;}),rD("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(iz),c=i(iX);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";};}),rD("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(rk("aNgTs"));s=rk("9yJgU"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iV.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=iV.platform(),r="";if("darwin"===t)r=rg.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 iz.existsSync(e)?r=iz.readFileSync(e).toString():iz.existsSync(t)&&(r=iz.readFileSync(t).toString()),r;};}),rD("aNgTs",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>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={},N=0,$=[["\\s",1],["\\d",x],[A="[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-]"+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"),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,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);};}),rD("dGCqI",function(e,t){var r=rk("fVQSr"),n=rk("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);};}),rD("fVQSr",function(e,t){e.exports=function(){return iW.randomBytes(16);};}),rD("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("");};}),rD("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(rk("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 ry.StringDecoder("utf8"),c=new ry.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};});};}),rD("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(iV),a=i(rd),l=i(rg),c=i(iX),u=i(rk("fcBgE")),p=i(rk("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=rE.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();}}}}),rD("8Rlq7",function(e,t){e.exports=Promise.resolve(require("./actions_python.60e051e1.js")).then(()=>rk("4kQHk"));}),rD("g7Ve0",function(e,t){e.exports=Promise.resolve(require("./hdi.647acde1.js")).then(()=>rk("4YYb2"));}),rj=rk("9ne19"),rU=rk("ER74K"),rF=rk("9yJgU"),rj=rk("9ne19"),rU=rk("ER74K"),rM={},rG={},rB={},rH={};const iJ="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iQ=iJ?";":":";rq={},"win32"===process.platform||r$.TESTING_WINDOWS?rV=rk("a3PNV"):rV=rk("7gw6J"),rq=u,u.sync=function(e,t){try{return rV.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iZ=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i0=(e,t)=>{let r=t.colon||iQ,n=e.match(/\//)||iJ&&e.match(/\\/)?[""]:[...(iJ?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iJ?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iJ?i.split(r):[""];return iJ&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i1=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i0(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iZ(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iX.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];rq(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);};rH=i1,i1.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i0(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";};(rX=i2).default=i2,rB=function(e){return p(e)||p(e,!0);};rz=function(e){return e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1");},rW=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;},rK={},rY={},rJ={},rJ=/^#!(.*)/,rY=(e="")=>{let t=e.match(rJ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rK=function(e){let t;let r=Buffer.alloc(150);try{t=iz.openSync(e,"r"),iz.readSync(t,r,0,150,0),iz.closeSync(t);}catch(e){}return rY(r.toString());};const i4="win32"===process.platform;rG=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(!i4)return e;let t=function(e){e.file=rB(e);let t=e.file&&rK(e.file);return t?(e.args.unshift(e.file),e.command=t,rB(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=iX.normalize(e.command),e.command=rz(e.command),e.args=e.args.map(e=>rW(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);},rQ={};const i3="win32"===process.platform;rQ={hookChildProcess:function(e,t){if(!i3)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 i3&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rM=h).spawn=h,rM.sync=function(e,t,r){let n=rG(e,t,r),i=rg.spawnSync(n.command,n.args,n.options);return i.error=i.error||rQ.verifyENOENTSync(i.status,n),i;},rM._parse=rG,rM._enoent=rQ;const i6=({cwd:e=c(rx).cwd(),path:t=c(rx).env[m()],preferLocal:r=!0,execPath:n=c(rx).execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?(0,rR.fileURLToPath)(e):e,s=c(r_).resolve(o),a=[];return r&&i8(a,s),i&&i7(a,n,s),[...a,t].join(c(r_).delimiter);},i8=(e,t)=>{let r;for(;r!==t;)e.push(c(r_).join(t,"node_modules/.bin")),r=t,t=c(r_).resolve(t,"..");},i7=(e,t,r)=>{let n=t instanceof URL?(0,rR.fileURLToPath)(t):t;e.push(c(r_).resolve(r,n,".."));},i5=({env:e=c(rx).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i6(t),e;},i9=(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);(oe(i,o)||!n)&&Object.defineProperty(e,r,o);},oe=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);},ot=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},or=(e,t)=>`/* Wrapped ${e}*/ -${t}`,on=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oi=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),oo=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=or.bind(null,n,t.toString());Object.defineProperty(i,"name",oi),Object.defineProperty(e,"toString",{...on,value:i});},os=new WeakMap(),oa=(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(os.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))i9(e,t,n,r);ot(e,t),oo(e,t,n);}(o,e),os.set(o,n),o;};oa.callCount=e=>{if(!os.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return os.get(e);},rZ=oa;const ol=()=>Array.from({length:op-ou+1},oc),oc=(e,t)=>({name:"SIGRT"+(t+1),number:ou+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),ou=34,op=64,of=[{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"}],od=()=>[...of,...ol()].map(oh),oh=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rO.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},om=Object.fromEntries(od().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}])),ov=(e,t)=>{let r=og(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}};},og=(e,t)=>{let r=t.find(({name:t})=>rO.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=od();return Object.assign({},...Array.from({length:op+1},(t,r)=>ov(r,e)));})();const oy=({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",oE=({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(rx).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:om[i].description,m=oy({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;},ow=["stdin","stdout","stderr"],o_=e=>ow.some(t=>void 0!==e[t]),ob=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return ow.map(t=>e[t]);if(o_(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ow.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,ow.length)},(e,r)=>t[r]);};r0={};const ox=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(ox(r1=r$.process)){var oR,oO=rh,oS=rk("1YMV0"),oI=/^win/i.test(r1.platform),oT=rd;"function"!=typeof oT&&(oT=oT.EventEmitter),r1.__signal_exit_emitter__?oR=r1.__signal_exit_emitter__:((oR=r1.__signal_exit_emitter__=new oT()).count=0,oR.emitted={}),oR.infinite||(oR.setMaxListeners(1/0),oR.infinite=!0);var oP=function(){o$&&ox(r$.process)&&(o$=!1,oS.forEach(function(e){try{r1.removeListener(e,oA[e]);}catch(e){}}),r1.emit=oD,r1.reallyExit=oL,oR.count-=1);};(r0=function(e,t){if(!ox(r$.process))return function(){};oO.equal(typeof e,"function","a callback must be provided for exit handler"),!1===o$&&oC();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oR.on(r,e),function(){oR.removeListener(r,e),0===oR.listeners("exit").length&&0===oR.listeners("afterexit").length&&oP();};}).unload=oP;var oN=function(e,t,r){oR.emitted[e]||(oR.emitted[e]=!0,oR.emit(e,t,r));},oA={};oS.forEach(function(e){oA[e]=function(){ox(r$.process)&&r1.listeners(e).length===oR.count&&(oP(),oN("exit",null,e),oN("afterexit",null,e),oI&&"SIGHUP"===e&&(e="SIGINT"),r1.kill(r1.pid,e));};}),r0.signals=function(){return oS;};var o$=!1,oC=function(){!o$&&ox(r$.process)&&(o$=!0,oR.count+=1,oS=oS.filter(function(e){try{return r1.on(e,oA[e]),!0;}catch(e){return!1;}}),r1.emit=oj,r1.reallyExit=ok);};r0.load=oC;var oL=r1.reallyExit,ok=function(e){ox(r$.process)&&(r1.exitCode=e||0,oN("exit",r1.exitCode,null),oN("afterexit",r1.exitCode,null),oL.call(r1,r1.exitCode));},oD=r1.emit,oj=function(e,t){if(!("exit"===e&&ox(r$.process)))return oD.apply(this,arguments);void 0!==t&&(r1.exitCode=t);var r=oD.apply(this,arguments);return oN("exit",r1.exitCode,null),oN("afterexit",r1.exitCode,null),r;};}else r0=function(){return function(){};};const oU=(e,t="SIGTERM",r={})=>{let n=e(t);return oF(e,t,r,n),n;},oF=(e,t,r,n)=>{if(!oM(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oB(r));i.unref&&i.unref();},oM=(e,{forceKillAfterTimeout:t},r)=>oG(e)&&!1!==t&&r,oG=e=>e===c(rO).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oB=({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;},oH=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oq=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oV=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oq(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oX=({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})`);},oz=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r0)(()=>{e.kill();});return n.finally(()=>{i();});},oW=e=>e instanceof rb.ChildProcess&&"function"==typeof e.then,oK=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rv.createWriteStream)(r)),e;if(g(r))return e[t].pipe(r),e;if(!oW(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;},oY=e=>{null!==e.stdout&&(e.pipeStdout=oK.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oK.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oK.bind(void 0,e,"all"));};r2={},r4=rS.constants,r3=rm.promisify,r6={},r8=rI.PassThrough,r6=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 r8({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 oJ=r3(rI.pipeline);class oQ extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r2=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r2.array=(e,t)=>y(e,{...t,array:!0}),r2.MaxBufferError=oQ,r7={},r5=rI.PassThrough,r7=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 r5({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 oZ=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o0=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,rv.readFileSync)(t)),o1=e=>{let t=o0(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o2=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,rv.createReadStream)(t)),o4=(e,t)=>{let r=o2(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o3=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r7)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o6=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o8=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r2)(e,{encoding:t,maxBuffer:n}):c(r2).buffer(e,{maxBuffer:n});},o7=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o8(e,{encoding:n,buffer:i,maxBuffer:o}),l=o8(t,{encoding:n,buffer:i,maxBuffer:o}),c=o8(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},o6(e,a),o6(t,l),o6(r,c)]);}},o5=(async()=>{})().constructor.prototype,o9=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o5,e)]),se=(e,t)=>{for(let[r,n]of o9){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},st=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);});}),sr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],sn=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,si=(e,t)=>sr(e,t).join(" "),so=(e,t)=>sr(e,t).map(e=>sn(e)).join(" "),ss=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;},sa=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rb.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rw.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sl=(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)],sc=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=sl(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sl(s,Array.isArray(a)?a.map(e=>sa(e)):[sa(a)],o.endsWith(" "));},su=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sc({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sp=(0,rT.debuglog)("execa").enabled,sf=(e,t)=>(e+"").padStart(t,"0"),sd=()=>{let e=new Date();return`${sf(e.getHours(),2)}:${sf(e.getMinutes(),2)}:${sf(e.getSeconds(),2)}.${sf(e.getMilliseconds(),3)}`;},sh=(e,{verbose:t})=>{t&&c(rx).stderr.write(`[${sd()}] ${e} -`);},sm=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rx).env,...e}:e;return r?i5({env:o,cwd:n,execPath:i}):o;},sv=(e,t,r={})=>{let n=c(rM)._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(rx).cwd(),execPath:c(rx).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sp,...r}).env=sm(r),r.stdio=ob(r),"win32"===c(rx).platform&&"cmd"===c(r_).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sg=(e,t,r)=>"string"==typeof t||(0,rw.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:"",sy=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sE=(e={})=>({preferLocal:!0,...sy(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=su(n,i);return E(o,s,sE(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]=su(e,r);return w(n,i,sE(t));},r;}(),r9={},l(ne={},"isexe",()=>sw),l(ne,"sync",()=>s_),nt=rk("4oHc1");const sw=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sb(await(0,nt.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},s_=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sb((0,iz.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sb=(e,t)=>e.isFile()&&sx(e,t),sx=(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(nr={},"isexe",()=>sR),l(nr,"sync",()=>sO),nt=rk("4oHc1");const sR=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sI(await(0,nt.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sO=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sI((0,iz.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sS=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sS(t,r),sT="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?nr:ne,sP=sT.isexe,sN=sT.sync;nn=iX.join,ni=iX.delimiter,no=iX.sep,ns=iX.posix;const sA="win32"===process.platform,s$=new RegExp(`[${ns.sep}${no===ns.sep?"":no}]`.replace(/(\\)/g,"\\$1")),sC=RegExp("^\\."+s$.source),sL=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sk=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=ni})=>{let i=e.match(s$)?[""]:[...(sA?[process.cwd()]:[]),...(t||"").split(n)];if(sA){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:[""]};},sD=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sC.test(t)?t.slice(0,2):"")+nn(r,t);},sj=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sk(e,t),o=[];for(let s of r){let r=sD(s,e);for(let e of n){let n=r+e;if(await sP(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 sL(e);};r9=sj,sj.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sk(e,t),o=[];for(let s of r){let r=sD(s,e);for(let e of n){let n=r+e;if(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 sL(e);};const sU={stdio:"inherit",shell:!0};rU=rk("ER74K"),na={},nl=rk("3a7Qq"),nc={},nu=rk("6u4nl"),nc=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&nu(e);},np={},nf=rk("dxkoV"),nd=rk("5RsFi"),nh=rk("5twQR"),nm={},nv={},ng=rk("6XGJc"),ny={},nE=rk("8uHBt"),nw={function:!0,object:!0},ny=function(e){return nE(e)&&nw[typeof e]||!1;},nE=rk("8uHBt"),n_=Error.captureStackTrace,nv=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nE(n)&&ny(r)&&(n=r,r=null),nE(n)&&ng(t,n),nE(r)&&(t.code=r),n_&&n_(t,nv),t;},nb=rk("bP3iK"),nx=rk("eXmen"),nR=rk("4SFhS").methods,nO={},nS={},nI=rk("8Vysl"),nT=Array.isArray,nS=function(e){return nT(e)?e:nI(e);},nE=rk("8uHBt"),nf=rk("dxkoV"),nP=Array.prototype.slice,nN=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(nP.call(e,this.length));},nO=function(e){return(e=nS(e)).forEach(function(e){nE(e)&&nf(e);}),nN.bind(e);},nA={},nf=rk("dxkoV"),nA=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nf(e.get)},void 0!==e.set)?(t.set=nf(e.set),e.delete&&(t.delete=nf(e.delete)),e.clear&&(t.clear=nf(e.clear))):t.set=t.get,t);},n$=Function.prototype.apply,nC=Function.prototype.call,nL=Object.create,nk=Object.defineProperties,nD=nR.on,nj=nR.emit,nm=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nL(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=nA(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nO(r.resolvers)),v=o?nb(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?nC.call(e,this,a[0]):n$.call(e,this,a),null===r){if(null!==(r=o(a)))throw nv("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw nv("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?n$.call(e,this,arguments):nC.call(e,this),hasOwnProperty.call(y,"data"))throw nv("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?nC.call(e,this,o[0]):n$.call(e,this,o),hasOwnProperty.call(y,i))throw nv("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=nL(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nD.call(this,e,t);},emit:nj,updateEnv:function(){e=n.original;}},c=o?nb(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=nb(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nb(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));}),nk(v,{__memoized__:nx(!0),delete:nx(c),clear:nx(n.clear),_get:nx(u),_has:nx(p)}),n;},np=function e(t){var r,n,i;if(nf(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=nc(r.length,t.length,r.async&&nh.async),i=nm(t,n,r),nd(nh,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},na=function(e){var t,r=nl(arguments[1]);return!r.normalizer&&0!==(t=r.length=nc(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rk("7o7h2"):t>1&&(r.normalizer=rk("jdXxe")(t)):!1===t?r.normalizer=rk("1DZyI")():1===t?r.normalizer=rk("loqvW")():r.normalizer=rk("f097S")(t)),r.async&&rk("7PnxH"),r.promise&&rk("fCNrK"),r.dispose&&rk("1EtHk"),r.maxAge&&rk("6VQvb"),r.max&&rk("jT7Ur"),r.refCounter&&rk("6ZksK"),np(e,r);},nU=rk("dOmbL");const sF=/^~(?=$|\/|\\)/,{appendFile:sM,readFile:sG,writeFile:sB}=iz.promises,sH=T("~/.bashrc"),sq=c(na)(P,{promise:!0});nF={};const sV="win32"!==iV.platform(),sX=iV.release(),sz=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nF=function(e){return sV?e.replace(/(\s+)/g,"\\$1"):sz(.../(\d+\.\d+)\.(\d+)/.exec(sX).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rk("awj79"),t=function(e){return e.split("").reverse().join("");},nM=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(nM={});const{appendFile:sW}=iz.promises;rF=rk("9yJgU"),rj=rk("9ne19"),rU=rk("ER74K");const{appendFile:sK}=iz.promises,sY=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nG=rk("ggaxg"),function(){rk("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(nB={}),nH={},nH=rk("elyHp"),nq={},nq={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"}}}},rU=rk("ER74K"),nV={},nX=rk("jrMr3"),nz=rP.env.npm_package_json,nK=!!((nW=rP.env.npm_config_user_agent)&&nW.startsWith("npm")),nY=!!(nz&&nz.endsWith("package.json")),nJ=nK||nY,nQ=!!(nW&&nW.startsWith("yarn")),nZ=nJ||nQ,n0=iV.homedir(),n1=process.env.XDG_CONFIG_HOME||iX.join(n0,".config","simple-update-notifier"),n2=function(e){return iX.join(n1,"".concat(e.replace("@","").replace("/","__"),".json"));},n4=function(){iz.existsSync(n1)||iz.mkdirSync(n1,{recursive:!0});},n3=function(e){var t=n2(e);try{if(!iz.existsSync(t))return;return JSON.parse(iz.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n6=function(e){var t=n2(e);iz.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n8=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){iY.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);});})];});});},n7=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(n4(),e=n3(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 rN.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=ii.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 iI(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class af extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}im.HTTPError=af;const ad="win32"===process.platform,ah="darwin"===process.platform;im.downloadTool=function(e,t,r,n){return iw(this,void 0,void 0,function*(){t=t||ao.join(eN(),au.default()),yield at.mkdirP(ao.dirname(t)),ae.debug("Downloading "+e),ae.debug("Destination "+t);let i=eA("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eA("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new ix.RetryHelper(3,i,o);return yield s.execute(()=>iw(this,void 0,void 0,function*(){return yield function(e,t,r,n){return iw(this,void 0,void 0,function*(){if(ar.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new as.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(ae.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 af(o.message.statusCode);throw ae.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=ac.promisify(al.pipeline),a=eA("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,ar.createWriteStream(t)),ae.debug("download complete"),l=!0,t;}finally{if(!l){ae.debug("download failed");try{yield at.rmRF(t);}catch(e){ae.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof af)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},im.extract7z=function(e,t,r){return iw(this,void 0,void 0,function*(){rh.ok(ad,"extract7z() not supported on current OS"),rh.ok(e,'parameter "file" is required'),t=yield eR(t);let n=process.cwd();if(process.chdir(t),r)try{let t=ae.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield ib.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=ao.join(iv,"..","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 at.which("powershell",!0);yield ib.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},im.extractTar=function(e,t,r="xz"){return iw(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eR(t),ae.debug("Checking tar --version");let i="";yield ib.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),ae.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],ae.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ad&&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 ib.exec("tar",n),t;});},im.extractXar=function(e,t,r=[]){return iw(this,void 0,void 0,function*(){let n;rh.ok(ah,"extractXar() not supported on current OS"),rh.ok(e,'parameter "file" is required'),t=yield eR(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),ae.isDebug()&&n.push("-v");let i=yield at.which("xar",!0);return yield ib.exec(`"${i}"`,Array.from(new Set(n))),t;});},im.extractZip=function(e,t){return iw(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eR(t),ad?yield function(e,t){return iw(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 at.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 $_ } } ;`;ae.debug("Using pwsh at path: "+i),yield ib.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 at.which("powershell",!0);ae.debug("Using powershell at path: "+t),yield ib.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return iw(this,void 0,void 0,function*(){let r=yield at.which("unzip",!0),n=[e];ae.isDebug()||n.unshift("-q"),n.unshift("-o"),yield ib.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},im.cacheDir=function(e,t,r,n){return iw(this,void 0,void 0,function*(){if(r=aa.clean(r)||r,n=n||ai.arch(),ae.debug(`Caching tool ${t} ${r} ${n}`),ae.debug("source dir: "+e),!ar.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eO(t,r,n);for(let t of ar.readdirSync(e)){let r=ao.join(e,t);yield at.cp(r,i,{recursive:!0});}return eS(t,r,n),i;});},im.cacheFile=function(e,t,r,n,i){return iw(this,void 0,void 0,function*(){if(n=aa.clean(n)||n,i=i||ai.arch(),ae.debug(`Caching tool ${r} ${n} ${i}`),ae.debug("source file: "+e),!ar.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eO(r,n,i),s=ao.join(o,t);return ae.debug("destination file "+s),yield at.cp(e,s),eS(r,n,i),o;});},im.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||ai.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=aa.clean(t)||"";let i=ao.join(eP(),e,t,r);ae.debug("checking cache: "+i),ar.existsSync(i)&&ar.existsSync(`${i}.complete`)?(ae.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):ae.debug("not found");}return n;},im.findAllVersions=ex,im.getManifestFromRepo=function(e,t,r,n="master"){return iw(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new as.HttpClient("tool-cache"),a={};r&&(ae.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){ae.debug("Invalid json");}}return i;});},im.findFromManifest=function(e,t,r,n=ai.arch()){return iw(this,void 0,void 0,function*(){return yield an._findMatch(e,t,r,n);});},im.isExplicitVersion=eI,im.evaluateVersions=eT,rj=rk("9ne19"),rU=rk("ER74K"),nt=rk("4oHc1"),nU=rk("dOmbL"),ip=rk("ceI0e"),Object.defineProperty(iT={},"__esModule",{value:!0}),iT.retryAsPromised=iT.TimeoutError=void 0;class am extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iT.TimeoutError=am,iT.retryAsPromised=e$,iT.default=e$,iP=rk("fcBgE"),rU=rk("ER74K"),(ru=iN||(iN={}))[ru.Tar=0]="Tar",ru[ru.TarGz=1]="TarGz",ru[ru.TarXz=2]="TarXz",ru[ru.Zip=3]="Zip",ru[ru.SevenZip=4]="SevenZip",rF=rk("9yJgU");const av=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||iz.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||iz.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||iz.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iz.mkdirSync,t;},ag=(e,t,r)=>{let n=(0,iX.dirname)(e),i={...av(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 ag(e,i,ag(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;}}},ay=Object.assign(async(e,t,r)=>{let n=av(t);n.recursive=!1;let i=(0,iX.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 ay(i,n).then(t=>ay(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:ag}),aE=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?aE(e,(0,iX.dirname)(t),t):void 0);},aw=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?aw(e,(0,iX.dirname)(t),t):void 0;}},a_=(e,t)=>{let r=av(t);if(r.recursive=!0,(0,iX.dirname)(e)===e)return r.mkdirSync(e,r);let n=aw(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return ag(e,r);throw t;}},ab=Object.assign(async(e,t)=>{let r={...av(t),recursive:!0};return(0,iX.dirname)(e)===e?await r.mkdirAsync(e,r):aE(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return ay(e,r);throw t;}));},{sync:a_}),ax=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aR=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,iX.resolve)(e),"win32"===ax){let{root:t}=(0,iX.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aO=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aS=+aO[0]>10||10==+aO[0]&&+aO[1]>=12,aI=aS?e=>av(e).mkdirSync===iz.mkdirSync:()=>!1,aT=Object.assign(aS?e=>av(e).mkdir===iz.mkdir:()=>!1,{sync:aI}),aP=(e,t)=>{e=aR(e);let r=av(t);return aI(r)?a_(e,r):ag(e,r);},aN=Object.assign(async(e,t)=>{e=aR(e);let r=av(t);return aT(r)?ab(e,r):ay(e,r);},{mkdirpSync:aP,mkdirpNative:ab,mkdirpNativeSync:a_,mkdirpManual:ay,mkdirpManualSync:ag,sync:aP,native:ab,nativeSync:a_,manual:ay,manualSync:ag,useNative:aT,useNativeSync:aI});nU=rk("dOmbL"),ip=rk("ceI0e"),ib=rk("jlr6Q"),rj=rk("9ne19"),rU=rk("ER74K"),nt=rk("4oHc1"),nU=rk("dOmbL"),ip=rk("ceI0e"),ib=rk("jlr6Q"),rU=rk("ER74K"),iA=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rN.URL(t),!0;}catch{return!1;}},i$=async e=>{if(!iA(e))return!1;let t=await ez(e,"HEAD");return!!t||!!(t=await ez(e,"GET"));},id=rk("4F3T1"),iC=rk("5tbf8"),iL=rk("cdjlt");const aA=/v?(\d\S*)/,a$={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:eh()?"13.2.1-3":"13",powershell:"7.4.5"},aC={pip:"22.2.0",python:"3.7.9"},aL={gcc:{24:"13",22:"13",20:"11",18:"11",16:"11",14:"11"},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"}},ak=c(na)(tt,{promise:!0});rU=rk("ER74K"),Object.defineProperty(ik={},"__esModule",{value:!0}),ik.getUbuntuVersion=void 0,ik.getUbuntuVersion=ti;const aD=c(na)(to,{promise:!0}),aj=c(na)(tu,{promise:!0}),aU=c(na)(tp,{promise:!0}),aF=c(na)(tf,{promise:!0});rU=rk("ER74K"),ip=rk("ceI0e"),nU=rk("dOmbL");const aM=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"]]]),aG=c(na)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rO).release()).split(".")[0];let[t,r]=aM.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rj=rk("9ne19"),rU=rk("ER74K"),nU=rk("dOmbL"),ip=rk("ceI0e"),id=rk("4F3T1"),iD=rk("3tcGr"),ib=rk("jlr6Q"),rU=rk("ER74K"),ij=iX.resolve(__dirname,"../../src/gcc");const aB={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};iD=rk("3tcGr"),iL=rk("cdjlt"),rU=rk("ER74K"),ip=rk("ceI0e"),ip=rk("ceI0e"),iU=iX.resolve(__dirname,"../../src/kcov"),rj=rk("9ne19"),rU=rk("ER74K"),nU=rk("dOmbL"),ip=rk("ceI0e"),nt=rk("4oHc1"),rF=rk("9yJgU"),rU=rk("ER74K");class aH extends Error{constructor(e){super(e),this.name="TimeoutError";}}class aq extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aV=e=>void 0===globalThis.DOMException?new aq(e):new DOMException(e),aX=e=>{let t=void 0===e.reason?aV("This operation was aborted."):e.reason;return t instanceof Error?t:aV(t);};ip=rk("ceI0e"),rU=rk("ER74K"),rF=rk("9yJgU");const az=rP.env["ProgramFiles(x86)"],aW=[rP.env["ProgramFiles(x86)"],rP.env.ProgramFiles],aK=["Enterprise","Professional","Community","BuildTools"],aY=["2022","2019","2017"],aJ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iF=tU;const aQ=`${az}\\Microsoft Visual Studio\\Installer`;iM=tF,iG=function(e,t,r,n,i,o){if("win32"!=rP.platform){rF.info("This is not a Windows virtual environment, bye!");return;}rP.env.PATH+=iX.delimiter+aQ;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=`"${tF(o)}" ${a.join(" ")}`;rF.debug("vcvars command-line: "+l);let c=rg.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(rF.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rF.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(";")),rF.exportVariable(t,r));}rF.endGroup(),rF.info("Configured Developer Command Prompt");},nU=rk("dOmbL");const aZ=12e5;(rp=iB||(iB={}))[rp.All=0]="All",rp[rp.ClangFormat=1]="ClangFormat",rp[rp.Core=2]="Core",rU=rk("ER74K"),ip=rk("ceI0e"),ih=rk("ekDr6");const a0=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"]),a1=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),a2=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"]),a4=new Map(),a3={"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"},a6="18.1.8";iH=iX.resolve(__dirname,"../../src/llvm");const a8=c(na)(tQ,{promise:!0}),a7=c(na)(t0,{promise:!0}),a5=c(na)(t1,{promise:!0});rj=rk("9ne19"),ip=rk("ceI0e"),rU=rk("ER74K"),nU=rk("dOmbL"),iq=iX.resolve(__dirname,"../../src/msvc"),ip=rk("ceI0e"),rU=rk("ER74K"),ip=rk("ceI0e"),ip=rk("ceI0e"),rU=rk("ER74K"),nU=rk("dOmbL"),ip=rk("ceI0e");let a9=!1;const le={nala:t7,cmake:eX,ninja:t$,python:eZ,vcpkg:ri,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:t5,llvm:tJ,gcc:tS,choco:ev,brew:eu,powershell:rt,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 tZ(e,t,r);},clangformat:function(e,t,r){return tZ(e,t,r,iB.ClangFormat);},msvc:t6,vcvarsall:tM,kcov:tj,make:t3,task:function(e,t,r){return eG("task",e,rn,t,r);},sevenzip:eC},lt=Object.keys(le),lr=["compiler","architecture","timeout",...lt],ln={rcPath:T("~/.cpprc"),guard:"cpp"};rF=rk("9yJgU"),rU=rk("ER74K"),iL=rk("cdjlt"),rl(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rU.error)("main() panicked!"),(0,rU.error)(e),process.exitCode=1;}); + 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;}),rj("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(iY),f=i(iJ),d=i(rD("bBH88")),h=i(rD("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 rD("2LecT");}).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),{});}),rj("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;}}}),rj("eYDoL",function(e,t){e.exports=rD("gBbBa");}),rj("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||iY.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=rd.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=iY.request,t;},n=function(e){var t=new c(e);return t.request=iY.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=iJ.request,t;},o=function(e){var t=new c(e);return t.request=iJ.request,t.createSocket=u,t.defaultPort=443,t;},rv.inherits(c,rh.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;}),rj("2LecT",function(e,t){e.exports=Promise.resolve(require("./proxy-agent.52c85c82.js")).then(()=>rD("3z4gn"));}),rj("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");});}};}),rj("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}=iW.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,iW.constants.R_OK|iW.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(iX.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;}),rj("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(iz);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);};}),rj("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),iW.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}=iW.promises,I="rm"in iW.promises?iW.promises.rm:(0,rv.promisify)(iW.unlink);}),rj("7Ubzm",function(e,t){e.exports=function(){};}),rj("8tETt",function(e,t){e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20);};}),rj("hGADy",function(e,t){e.exports=function(e){return isNaN(e=+e)||0===e?e:e>0?1:-1;};}),rj("9KLFQ",function(e,t){var r=rD("dxkoV"),n=rD("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;});};};}),rj("dxkoV",function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e;};}),rj("gGM7W",function(e,t){var r=rD("8uHBt");e.exports=function(e){if(!r(e))throw TypeError("Cannot use null or undefined");return e;};}),rj("8uHBt",function(e,t){var r=rD("7Ubzm")();e.exports=function(e){return e!==r&&null!==e;};}),rj("5twQR",function(e,t){}),rj("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");};}),rj("11hhf",function(e,t){var r=rD("4bgzK"),n=rD("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;};}),rj("4bgzK",function(e,t){e.exports=rD("h6Tco")()?Object.keys:rD("jSHqR");}),rj("h6Tco",function(e,t){e.exports=function(){try{return Object.keys("primitive"),!0;}catch(e){return!1;}};}),rj("jSHqR",function(e,t){var r=rD("8uHBt"),n=Object.keys;e.exports=function(e){return n(r(e)?Object(e):e);};}),rj("4P0KV",function(e,t){var r=rD("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;};}),rj("lQbJp",function(e,t){var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo");};}),rj("ffXEK",function(e,t){var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1;};}),rj("4SFhS",function(e,t){var r,n,i,o,s,a,l,c=rD("eXmen"),u=rD("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;}),rj("eXmen",function(e,t){var r=rD("eAnMX"),n=rD("bDk1X"),i=rD("6XGJc"),o=rD("3a7Qq"),s=rD("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;};}),rj("eAnMX",function(e,t){var r=void 0;e.exports=function(e){return e!==r&&null!==e;};}),rj("bDk1X",function(e,t){var r=rD("lrn5l"),n=Function.prototype.toString;e.exports=function(e){return!(!r(e)||/^\s*class[\s{/}]/.test(n.call(e)));};}),rj("lrn5l",function(e,t){var r=rD("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);};}),rj("89yT1",function(e,t){var r=rD("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;}};}),rj("dZcwn",function(e,t){var r=rD("eAnMX"),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,typeof e);};}),rj("6XGJc",function(e,t){e.exports=rD("63IW4")()?Object.assign:rD("11hhf");}),rj("3a7Qq",function(e,t){var r=rD("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;};}),rj("iiFLO",function(e,t){e.exports=rD("lQbJp")()?String.prototype.contains:rD("ffXEK");}),rj("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]);};}),rj("hQqTa",function(e,t){var r=rD("hXtQe").iterator,n=rD("iAtFO"),i=rD("lTrIc"),o=rD("6u4nl"),s=rD("dxkoV"),a=rD("gGM7W"),l=rD("8uHBt"),c=rD("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;};}),rj("hXtQe",function(e,t){e.exports=rD("asjyI")()?rD("kld7H").Symbol:rD("8ZJMO");}),rj("asjyI",function(e,t){var r=rD("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]);};}),rj("kld7H",function(e,t){e.exports=rD("gOf4U")()?globalThis:rD("atP66");}),rj("gOf4U",function(e,t){e.exports=function(){return!!("object"==typeof globalThis&&globalThis)&&globalThis.Array===Array;};}),rj("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__;}}();}),rj("8ZJMO",function(e,t){var r,n,i,o=rD("eXmen"),s=rD("93JRo"),a=rD("kld7H").Symbol,l=rD("7pvFa"),c=rD("5aDJl"),u=rD("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]));}),rj("93JRo",function(e,t){var r=rD("8cqlP");e.exports=function(e){if(!r(e))throw TypeError(e+" is not a symbol");return e;};}),rj("8cqlP",function(e,t){e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]);};}),rj("7pvFa",function(e,t){var r=rD("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;};}),rj("5aDJl",function(e,t){var r=rD("eXmen"),n=rD("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"))});};}),rj("kuJ4U",function(e,t){var r=rD("eXmen"),n=rD("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;})});};}),rj("iAtFO",function(e,t){var r=Object.prototype.toString,n=r.call(function(){return arguments;}());e.exports=function(e){return r.call(e)===n;};}),rj("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));};}),rj("6u4nl",function(e,t){var r=rD("bq2jW"),n=Math.max;e.exports=function(e){return n(0,r(e));};}),rj("bq2jW",function(e,t){var r=rD("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;};}),rj("3lVkV",function(e,t){e.exports=rD("8tETt")()?Math.sign:rD("hGADy");}),rj("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;};}),rj("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;};}),rj("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"";};};}),rj("1DZyI",function(e,t){var r=rD("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;};}),rj("hrboG",function(e,t){e.exports=rD("iT9FP")()?Number.isNaN:rD("z7ebn");}),rj("iT9FP",function(e,t){e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34);};}),rj("z7ebn",function(e,t){e.exports=function(e){return e!=e;};}),rj("loqvW",function(e,t){var r=rD("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=[];}};};}),rj("f097S",function(e,t){var r=rD("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);});};}),rj("aRFop",function(e,t){var r=rD("bEnef");e.exports=function(e){try{if(e&&r(e.toString))return e.toString();return e+"";}catch(e){return"";}};}),rj("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;}),rj("1EtHk",function(e,t){var r=rD("dxkoV"),n=rD("5RsFi"),i=rD("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);});});};}),rj("6VQvb",function(e,t){var r=rD("8Vysl"),n=rD("5RsFi"),i=rD("hRqDS"),o=rD("8worn"),s=rD("jWpXq"),a=rD("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={});}));};}),rj("jWpXq",function(e,t){var r=rD("6u4nl"),n=rD("3yRn0");e.exports=function(e){if((e=r(e))>n)throw TypeError(e+" exceeds maximum possible timeout");return e;};}),rj("3yRn0",function(e,t){e.exports=2147483647;}),rj("jT7Ur",function(e,t){var r=rD("6u4nl"),n=rD("kzv77"),i=rD("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));};}),rj("kzv77",function(e,t){var r=rD("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;}};};}),rj("6ZksK",function(e,t){var r=rD("eXmen"),n=rD("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;})});};}),rj("dOmbL",function(e,t){async function r(e){try{return await(0,rg.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rj("awj79",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rj("fXZh0",function(e,t){var r=iz.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);}),rj("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=rD("ggaxg"),i=rD("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};}),rj("ggaxg",function(e,t){e.exports=rD("fXZh0");}),rj("crMMK",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rj("jrMr3",function(e,t){var r=rD("6UUXQ"),n=rD("4ojkK"),i=rD("lbpWb"),o=rD("5Kc3o"),s=rD("3uxBW"),a=rD("cdjlt"),l=rD("edMUL"),c=rD("4QHs5"),u=rD("b7ZNe"),p=rD("3tcGr"),f=rD("29YTh"),d=rD("5HQiF"),h=rD("eKr8E"),m=rD("5tbf8"),v=rD("k02ZJ"),g=rD("jSJWo"),y=rD("3tYTc"),E=rD("lXqm9"),w=rD("7opda"),_=rD("e12Rv"),b=rD("hb18N"),x=rD("hcLkw"),R=rD("8qYh8"),O=rD("1MItZ"),S=rD("ekDr6"),I=rD("dnnKg"),T=rD("4F3T1"),P=rD("6K3XU"),N=rD("ggJh3"),A=rD("fta4V"),$=rD("9xXeH"),C=rD("8CAg3"),L=rD("cigJ0"),k=rD("5uMTr"),D=rD("jlFkD"),j=rD("bCYTf"),U=rD("jXojG"),F=rD("gpcZS"),M=rD("1U8CF"),G=rD("cilv0"),B=rD("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:N,satisfies:A,toComparators:$,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};}),rj("6UUXQ",function(e,t){var r=rD("4ojkK"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,s=rD("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*$");}),rj("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};}),rj("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;}),rj("lbpWb",function(e,t){var r=rD("eCCPy"),n=rD("4ojkK"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rD("6UUXQ"),a=s.safeRe,l=s.t,c=rD("fnN7l"),u=rD("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;}),rj("fnN7l",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rj("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)};}),rj("3uxBW",function(e,t){var r=rD("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;}};}),rj("cdjlt",function(e,t){var r=rD("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rj("edMUL",function(e,t){var r=rD("3uxBW");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rj("4QHs5",function(e,t){var r=rD("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;}};}),rj("b7ZNe",function(e,t){var r=rD("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";};}),rj("3tcGr",function(e,t){var r=rD("lbpWb");e.exports=(e,t)=>new r(e,t).major;}),rj("29YTh",function(e,t){var r=rD("lbpWb");e.exports=(e,t)=>new r(e,t).minor;}),rj("5HQiF",function(e,t){var r=rD("lbpWb");e.exports=(e,t)=>new r(e,t).patch;}),rj("eKr8E",function(e,t){var r=rD("3uxBW");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rj("5tbf8",function(e,t){var r=rD("lbpWb");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rj("k02ZJ",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>r(t,e,n);}),rj("jSJWo",function(e,t){var r=rD("5tbf8");e.exports=(e,t)=>r(e,t,!0);}),rj("3tYTc",function(e,t){var r=rD("lbpWb");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rj("lXqm9",function(e,t){var r=rD("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rj("7opda",function(e,t){var r=rD("3tYTc");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rj("e12Rv",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>0;}),rj("hb18N",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0>r(e,t,n);}),rj("hcLkw",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0===r(e,t,n);}),rj("8qYh8",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0!==r(e,t,n);}),rj("1MItZ",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rj("ekDr6",function(e,t){var r=rD("5tbf8");e.exports=(e,t,n)=>0>=r(e,t,n);}),rj("dnnKg",function(e,t){var r=rD("hcLkw"),n=rD("8qYh8"),i=rD("e12Rv"),o=rD("1MItZ"),s=rD("hb18N"),a=rD("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);}};}),rj("4F3T1",function(e,t){var r=rD("lbpWb"),n=rD("3uxBW"),i=rD("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);};}),rj("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=rD("fnN7l"),o=rD("6UUXQ"),s=o.safeRe,a=o.t,l=rD("dnnKg"),c=rD("eCCPy"),u=rD("lbpWb"),p=rD("ggJh3");}),rj("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,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=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],"")),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;};}),rj("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;}};}),rj("fta4V",function(e,t){var r=rD("ggJh3");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rj("9xXeH",function(e,t){var r=rD("ggJh3");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rj("8CAg3",function(e,t){var r=rD("lbpWb"),n=rD("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;};}),rj("cigJ0",function(e,t){var r=rD("lbpWb"),n=rD("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;};}),rj("5uMTr",function(e,t){var r=rD("lbpWb"),n=rD("ggJh3"),i=rD("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;};}),rj("jlFkD",function(e,t){var r=rD("ggJh3");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rj("bCYTf",function(e,t){var r=rD("lbpWb"),n=rD("6K3XU");let{ANY:i}=n;var o=rD("ggJh3"),s=rD("fta4V"),a=rD("e12Rv"),l=rD("hb18N"),c=rD("ekDr6"),u=rD("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;};}),rj("jXojG",function(e,t){var r=rD("bCYTf");e.exports=(e,t,n)=>r(e,t,">",n);}),rj("gpcZS",function(e,t){var r=rD("bCYTf");e.exports=(e,t,n)=>r(e,t,"<",n);}),rj("1U8CF",function(e,t){var r=rD("ggJh3");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rj("cilv0",function(e,t){var r=rD("fta4V"),n=rD("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;};}),rj("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,iz.basename)(e):(0,iz.basename)(e,(0,iz.extname)(e));}function w(e){return(0,iz.normalize)(e).replace(RegExp((0,r.default)(iz.sep)+"$"),"");}function _(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,iz.extname)(e),n=`${t}${(0,iz.basename)(e,r)}${r}`;return(0,iz.join)((0,iz.dirname)(e),n);}function x(e,t){let r=(0,iz.extname)(e),n=`${(0,iz.basename)(e,r)}${t}${r}`;return(0,iz.join)((0,iz.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,iz.extname)(e).length;return e.slice(0,-t);}function I(e,t){return c(n)(e,t);}function T(e,t){let r=(0,iz.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+iz.sep)||r===(0,iz.resolve)(e));}l(e.exports,"addExeExt",()=>_),l(e.exports,"addShExt",()=>R),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>iz.dirname),l(e.exports,"join",()=>iz.join),r=rD("9ag04"),n=rD("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);}),rj("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);}),rj("923E2",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=iz.basename(e,iz.extname(e))+t,i=iz.join(iz.dirname(e),n);return(r=e.slice(0,2))==="."+iz.sep||"./"===r?"."+iz.sep+i:i;};}),rj("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*(){rm.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(iz),p=i(rD("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;}),rj("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(iW),c=i(iz);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";};}),rj("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(rD("aNgTs"));s=rD("9yJgU"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iX.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=iX.platform(),r="";if("darwin"===t)r=ry.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 iW.existsSync(e)?r=iW.readFileSync(e).toString():iW.existsSync(t)&&(r=iW.readFileSync(t).toString()),r;};}),rj("aNgTs",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>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={},N=0,$=[["\\s",1],["\\d",x],[A="[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-]"+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"),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,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);};}),rj("dGCqI",function(e,t){var r=rD("fVQSr"),n=rD("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);};}),rj("fVQSr",function(e,t){e.exports=function(){return iK.randomBytes(16);};}),rj("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("");};}),rj("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(rD("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 rE.StringDecoder("utf8"),c=new rE.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};});};}),rj("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(iX),a=i(rh),l=i(ry),c=i(iz),u=i(rD("fcBgE")),p=i(rD("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=rw.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();}}}}),rj("8Rlq7",function(e,t){e.exports=Promise.resolve(require("./actions_python.60e051e1.js")).then(()=>rD("4kQHk"));}),rj("g7Ve0",function(e,t){e.exports=Promise.resolve(require("./hdi.647acde1.js")).then(()=>rD("4YYb2"));}),rU=rD("9ne19"),rF=rD("ER74K"),rM=rD("9yJgU"),rU=rD("9ne19"),rF=rD("ER74K"),rG={},rB={},rH={},rq={};const iQ="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iZ=iQ?";":":";rV={},"win32"===process.platform||rC.TESTING_WINDOWS?rX=rD("a3PNV"):rX=rD("7gw6J"),rV=u,u.sync=function(e,t){try{return rX.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const i0=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i1=(e,t)=>{let r=t.colon||iZ,n=e.match(/\//)||iQ&&e.match(/\\/)?[""]:[...(iQ?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iQ?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iQ?i.split(r):[""];return iQ&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},i2=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=i1(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(i0(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=iz.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];rV(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);};rq=i2,i2.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i1(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";};(rz=i4).default=i4,rH=function(e){return p(e)||p(e,!0);};rW=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;},rY={},rJ={},rQ={},rQ=/^#!(.*)/,rJ=(e="")=>{let t=e.match(rQ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rY=function(e){let t;let r=Buffer.alloc(150);try{t=iW.openSync(e,"r"),iW.readSync(t,r,0,150,0),iW.closeSync(t);}catch(e){}return rJ(r.toString());};const i3="win32"===process.platform;rB=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(!i3)return e;let t=function(e){e.file=rH(e);let t=e.file&&rY(e.file);return t?(e.args.unshift(e.file),e.command=t,rH(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=iz.normalize(e.command),e.command=rW(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);},rZ={};const i6="win32"===process.platform;rZ={hookChildProcess:function(e,t){if(!i6)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 i6&&1===e&&!t.file?f(t.original,"spawnSync"):null;},notFoundError:f},(rG=h).spawn=h,rG.sync=function(e,t,r){let n=rB(e,t,r),i=ry.spawnSync(n.command,n.args,n.options);return i.error=i.error||rZ.verifyENOENTSync(i.status,n),i;},rG._parse=rB,rG._enoent=rZ;const i8=({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,rO.fileURLToPath)(e):e,s=c(rb).resolve(o),a=[];return r&&i7(a,s),i&&i5(a,n,s),[...a,t].join(c(rb).delimiter);},i7=(e,t)=>{let r;for(;r!==t;)e.push(c(rb).join(t,"node_modules/.bin")),r=t,t=c(rb).resolve(t,"..");},i5=(e,t,r)=>{let n=t instanceof URL?(0,rO.fileURLToPath)(t):t;e.push(c(rb).resolve(r,n,".."));},i9=({env:e=c(rR).env,...t}={})=>{let r=m({env:e={...e}});return t.path=e[r],e[r]=i8(t),e;},oe=(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);(ot(i,o)||!n)&&Object.defineProperty(e,r,o);},ot=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);},or=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},on=(e,t)=>`/* Wrapped ${e}*/ +${t}`,oi=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),oo=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),os=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=on.bind(null,n,t.toString());Object.defineProperty(i,"name",oo),Object.defineProperty(e,"toString",{...oi,value:i});},oa=new WeakMap(),ol=(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(oa.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))oe(e,t,n,r);or(e,t),os(e,t,n);}(o,e),oa.set(o,n),o;};ol.callCount=e=>{if(!oa.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return oa.get(e);},r0=ol;const oc=()=>Array.from({length:of-op+1},ou),ou=(e,t)=>({name:"SIGRT"+(t+1),number:op+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),op=34,of=64,od=[{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"}],oh=()=>[...od,...oc()].map(om),om=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rS.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},ov=Object.fromEntries(oh().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}])),og=(e,t)=>{let r=oy(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}};},oy=(e,t)=>{let r=t.find(({name:t})=>rS.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=oh();return Object.assign({},...Array.from({length:of+1},(t,r)=>og(r,e)));})();const oE=({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",ow=({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:ov[i].description,m=oE({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;},o_=["stdin","stdout","stderr"],ob=e=>o_.some(t=>void 0!==e[t]),ox=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return o_.map(t=>e[t]);if(ob(e))throw Error("It's not possible to provide `stdio` in combination with one of "+o_.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,o_.length)},(e,r)=>t[r]);};r1={};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(r2=rC.process)){var oO,oS=rm,oI=rD("1YMV0"),oT=/^win/i.test(r2.platform),oP=rh;"function"!=typeof oP&&(oP=oP.EventEmitter),r2.__signal_exit_emitter__?oO=r2.__signal_exit_emitter__:((oO=r2.__signal_exit_emitter__=new oP()).count=0,oO.emitted={}),oO.infinite||(oO.setMaxListeners(1/0),oO.infinite=!0);var oN=function(){oC&&oR(rC.process)&&(oC=!1,oI.forEach(function(e){try{r2.removeListener(e,o$[e]);}catch(e){}}),r2.emit=oj,r2.reallyExit=ok,oO.count-=1);};(r1=function(e,t){if(!oR(rC.process))return function(){};oS.equal(typeof e,"function","a callback must be provided for exit handler"),!1===oC&&oL();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oO.on(r,e),function(){oO.removeListener(r,e),0===oO.listeners("exit").length&&0===oO.listeners("afterexit").length&&oN();};}).unload=oN;var oA=function(e,t,r){oO.emitted[e]||(oO.emitted[e]=!0,oO.emit(e,t,r));},o$={};oI.forEach(function(e){o$[e]=function(){oR(rC.process)&&r2.listeners(e).length===oO.count&&(oN(),oA("exit",null,e),oA("afterexit",null,e),oT&&"SIGHUP"===e&&(e="SIGINT"),r2.kill(r2.pid,e));};}),r1.signals=function(){return oI;};var oC=!1,oL=function(){!oC&&oR(rC.process)&&(oC=!0,oO.count+=1,oI=oI.filter(function(e){try{return r2.on(e,o$[e]),!0;}catch(e){return!1;}}),r2.emit=oU,r2.reallyExit=oD);};r1.load=oL;var ok=r2.reallyExit,oD=function(e){oR(rC.process)&&(r2.exitCode=e||0,oA("exit",r2.exitCode,null),oA("afterexit",r2.exitCode,null),ok.call(r2,r2.exitCode));},oj=r2.emit,oU=function(e,t){if(!("exit"===e&&oR(rC.process)))return oj.apply(this,arguments);void 0!==t&&(r2.exitCode=t);var r=oj.apply(this,arguments);return oA("exit",r2.exitCode,null),oA("afterexit",r2.exitCode,null),r;};}else r1=function(){return function(){};};const oF=(e,t="SIGTERM",r={})=>{let n=e(t);return oM(e,t,r,n),n;},oM=(e,t,r,n)=>{if(!oG(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},oH(r));i.unref&&i.unref();},oG=(e,{forceKillAfterTimeout:t},r)=>oB(e)&&!1!==t&&r,oB=e=>e===c(rS).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oH=({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;},oq=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oV=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oX=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oV(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oz=({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})`);},oW=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(r1)(()=>{e.kill();});return n.finally(()=>{i();});},oK=e=>e instanceof rx.ChildProcess&&"function"==typeof e.then,oY=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rg.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;},oJ=e=>{null!==e.stdout&&(e.pipeStdout=oY.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oY.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oY.bind(void 0,e,"all"));};r4={},r3=rI.constants,r6=rv.promisify,r8={},r7=rT.PassThrough,r8=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 r7({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 oQ=r6(rT.pipeline);class oZ extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r4=y).buffer=(e,t)=>y(e,{...t,encoding:"buffer"}),r4.array=(e,t)=>y(e,{...t,array:!0}),r4.MaxBufferError=oZ,r5={},r9=rT.PassThrough,r5=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 r9({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 o0=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o1=({input:e,inputFile:t})=>"string"!=typeof t?e:(o0(e),(0,rg.readFileSync)(t)),o2=e=>{let t=o1(e);if(v(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o4=({input:e,inputFile:t})=>"string"!=typeof t?e:(o0(e),(0,rg.createReadStream)(t)),o3=(e,t)=>{let r=o4(t);void 0!==r&&(v(r)?r.pipe(e.stdin):e.stdin.end(r));},o6=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r5)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o8=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o7=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r4)(e,{encoding:t,maxBuffer:n}):c(r4).buffer(e,{maxBuffer:n});},o5=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o7(e,{encoding:n,buffer:i,maxBuffer:o}),l=o7(t,{encoding:n,buffer:i,maxBuffer:o}),c=o7(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},o8(e,a),o8(t,l),o8(r,c)]);}},o9=(async()=>{})().constructor.prototype,se=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o9,e)]),st=(e,t)=>{for(let[r,n]of se){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},sr=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);});}),sn=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],si=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,so=(e,t)=>sn(e,t).join(" "),ss=(e,t)=>sn(e,t).map(e=>si(e)).join(" "),sa=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;},sl=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rx.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,r_.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sc=(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)],su=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=sc(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sc(s,Array.isArray(a)?a.map(e=>sl(e)):[sl(a)],o.endsWith(" "));},sp=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=su({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sf=(0,rP.debuglog)("execa").enabled,sd=(e,t)=>(e+"").padStart(t,"0"),sh=()=>{let e=new Date();return`${sd(e.getHours(),2)}:${sd(e.getMinutes(),2)}:${sd(e.getSeconds(),2)}.${sd(e.getMilliseconds(),3)}`;},sm=(e,{verbose:t})=>{t&&c(rR).stderr.write(`[${sh()}] ${e} +`);},sv=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(rR).env,...e}:e;return r?i9({env:o,cwd:n,execPath:i}):o;},sg=(e,t,r={})=>{let n=c(rG)._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:sf,...r}).env=sv(r),r.stdio=ox(r),"win32"===c(rR).platform&&"cmd"===c(rb).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sy=(e,t,r)=>"string"==typeof t||(0,r_.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:"",sE=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sw=(e={})=>({preferLocal:!0,...sE(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sp(n,i);return E(o,s,sw(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]=sp(e,r);return w(n,i,sw(t));},r;}(),ne={},l(nt={},"isexe",()=>s_),l(nt,"sync",()=>sb),nr=rD("4oHc1");const s_=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sx(await(0,nr.stat)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sb=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sx((0,iW.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sx=(e,t)=>e.isFile()&&sR(e,t),sR=(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(nn={},"isexe",()=>sO),l(nn,"sync",()=>sS),nr=rD("4oHc1");const sO=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sT(await(0,nr.stat)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sS=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return sT((0,iW.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},sI=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&sI(t,r),sP="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?nn:nt,sN=sP.isexe,sA=sP.sync;ni=iz.join,no=iz.delimiter,ns=iz.sep,na=iz.posix;const s$="win32"===process.platform,sC=new RegExp(`[${na.sep}${ns===na.sep?"":ns}]`.replace(/(\\)/g,"\\$1")),sL=RegExp("^\\."+sC.source),sk=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),sD=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=no})=>{let i=e.match(sC)?[""]:[...(s$?[process.cwd()]:[]),...(t||"").split(n)];if(s$){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:[""]};},sj=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&sL.test(t)?t.slice(0,2):"")+ni(r,t);},sU=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sD(e,t),o=[];for(let s of r){let r=sj(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 sk(e);};ne=sU,sU.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=sD(e,t),o=[];for(let s of r){let r=sj(s,e);for(let e of n){let n=r+e;if(sA(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 sk(e);};const sF={stdio:"inherit",shell:!0};rF=rD("ER74K"),nl={},nc=rD("3a7Qq"),nu={},np=rD("6u4nl"),nu=function(e,t,r){return isNaN(e)?t>=0?r&&t?t-1:t:1:!1!==e&&np(e);},nf={},nd=rD("dxkoV"),nh=rD("5RsFi"),nm=rD("5twQR"),nv={},ng={},ny=rD("6XGJc"),nE={},nw=rD("8uHBt"),n_={function:!0,object:!0},nE=function(e){return nw(e)&&n_[typeof e]||!1;},nw=rD("8uHBt"),nb=Error.captureStackTrace,ng=function(e){var t=Error(e),r=arguments[1],n=arguments[2];return!nw(n)&&nE(r)&&(n=r,r=null),nw(n)&&ny(t,n),nw(r)&&(t.code=r),nb&&nb(t,ng),t;},nx=rD("bP3iK"),nR=rD("eXmen"),nO=rD("4SFhS").methods,nS={},nI={},nT=rD("8Vysl"),nP=Array.isArray,nI=function(e){return nP(e)?e:nT(e);},nw=rD("8uHBt"),nd=rD("dxkoV"),nN=Array.prototype.slice,nA=function(e){return this.map(function(t,r){return t?t(e[r]):e[r];}).concat(nN.call(e,this.length));},nS=function(e){return(e=nI(e)).forEach(function(e){nw(e)&&nd(e);}),nA.bind(e);},n$={},nd=rD("dxkoV"),n$=function(e){var t;return"function"==typeof e?{set:e,get:e}:((t={get:nd(e.get)},void 0!==e.set)?(t.set=nd(e.set),e.delete&&(t.delete=nd(e.delete)),e.clear&&(t.clear=nd(e.clear))):t.set=t.get,t);},nC=Function.prototype.apply,nL=Function.prototype.call,nk=Object.create,nD=Object.defineProperties,nj=nO.on,nU=nO.emit,nv=function(e,t,r){var n,i,o,s,a,l,c,u,p,f,d,h,m,v,g,y=nk(null);return i=!1!==t?t:isNaN(e.length)?1:e.length,r.normalizer&&(o=(f=n$(r.normalizer)).get,s=f.set,a=f.delete,l=f.clear),null!=r.resolvers&&(g=nS(r.resolvers)),v=o?nx(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?nL.call(e,this,a[0]):nC.call(e,this,a),null===r){if(null!==(r=o(a)))throw ng("Circular invocation","CIRCULAR_INVOCATION");r=s(a);}else if(hasOwnProperty.call(y,r))throw ng("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?nC.call(e,this,arguments):nL.call(e,this),hasOwnProperty.call(y,"data"))throw ng("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?nL.call(e,this,o[0]):nC.call(e,this,o),hasOwnProperty.call(y,i))throw ng("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=nk(null),n.emit("clear",e);},on:function(e,t){return"get"===e?d=!0:"set"===e?h=!0:"delete"===e&&(m=!0),nj.call(this,e,t);},emit:nU,updateEnv:function(){e=n.original;}},c=o?nx(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=nx(function(){var e,r=arguments;return 0===t?y.data:(g&&(r=g(r)),y[o?o(r):r[0]+""]);}),p=nx(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));}),nD(v,{__memoized__:nR(!0),delete:nR(c),clear:nR(n.clear),_get:nR(u),_has:nR(p)}),n;},nf=function e(t){var r,n,i;if(nd(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=nu(r.length,t.length,r.async&&nm.async),i=nv(t,n,r),nh(nm,function(e,t){r[t]&&e(r[t],i,r);}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized);},nl=function(e){var t,r=nc(arguments[1]);return!r.normalizer&&0!==(t=r.length=nu(r.length,e.length,r.async))&&(r.primitive?!1===t?r.normalizer=rD("7o7h2"):t>1&&(r.normalizer=rD("jdXxe")(t)):!1===t?r.normalizer=rD("1DZyI")():1===t?r.normalizer=rD("loqvW")():r.normalizer=rD("f097S")(t)),r.async&&rD("7PnxH"),r.promise&&rD("fCNrK"),r.dispose&&rD("1EtHk"),r.maxAge&&rD("6VQvb"),r.max&&rD("jT7Ur"),r.refCounter&&rD("6ZksK"),nf(e,r);},nF=rD("dOmbL");const sM=/^~(?=$|\/|\\)/,{appendFile:sG,readFile:sB,writeFile:sH}=iW.promises,sq=T("~/.bashrc"),sV=c(nl)(P,{promise:!0});nM={};const sX="win32"!==iX.platform(),sz=iX.release(),sW=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nM=function(e){return sX?e.replace(/(\s+)/g,"\\$1"):sW(.../(\d+\.\d+)\.(\d+)/.exec(sz).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rD("awj79"),t=function(e){return e.split("").reverse().join("");},nG=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(nG={});const{appendFile:sK}=iW.promises;rM=rD("9yJgU"),rU=rD("9ne19"),rF=rD("ER74K");const{appendFile:sY}=iW.promises,sJ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/];nB=rD("ggaxg"),function(){rD("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(nH={}),nq={},nq=rD("elyHp"),nV={},nV={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"}}}},rF=rD("ER74K"),nX={},nz=rD("jrMr3"),nW=rN.env.npm_package_json,nY=!!((nK=rN.env.npm_config_user_agent)&&nK.startsWith("npm")),nJ=!!(nW&&nW.endsWith("package.json")),nQ=nY||nJ,nZ=!!(nK&&nK.startsWith("yarn")),n0=nQ||nZ,n1=iX.homedir(),n2=process.env.XDG_CONFIG_HOME||iz.join(n1,".config","simple-update-notifier"),n4=function(e){return iz.join(n2,"".concat(e.replace("@","").replace("/","__"),".json"));},n3=function(){iW.existsSync(n2)||iW.mkdirSync(n2,{recursive:!0});},n6=function(e){var t=n4(e);try{if(!iW.existsSync(t))return;return JSON.parse(iW.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},n8=function(e){var t=n4(e);iW.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},n7=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){iJ.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);});})];});});},n5=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(n3(),e=n6(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 rA.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=io.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 iT(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class ad extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}iv.HTTPError=ad;const ah="win32"===process.platform,am="darwin"===process.platform;iv.downloadTool=function(e,t,r,n){return i_(this,void 0,void 0,function*(){t=t||as.join(eN(),ap.default()),yield ar.mkdirP(as.dirname(t)),at.debug("Downloading "+e),at.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(()=>i_(this,void 0,void 0,function*(){return yield function(e,t,r,n){return i_(this,void 0,void 0,function*(){if(an.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new aa.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(at.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 ad(o.message.statusCode);throw at.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=au.promisify(ac.pipeline),a=eA("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,an.createWriteStream(t)),at.debug("download complete"),l=!0,t;}finally{if(!l){at.debug("download failed");try{yield ar.rmRF(t);}catch(e){at.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof ad)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},iv.extract7z=function(e,t,r){return i_(this,void 0,void 0,function*(){rm.ok(ah,"extract7z() not supported on current OS"),rm.ok(e,'parameter "file" is required'),t=yield eR(t);let n=process.cwd();if(process.chdir(t),r)try{let t=at.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield ix.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=as.join(ig,"..","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 ar.which("powershell",!0);yield ix.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},iv.extractTar=function(e,t,r="xz"){return i_(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield eR(t),at.debug("Checking tar --version");let i="";yield ix.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),at.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],at.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ah&&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 ix.exec("tar",n),t;});},iv.extractXar=function(e,t,r=[]){return i_(this,void 0,void 0,function*(){let n;rm.ok(am,"extractXar() not supported on current OS"),rm.ok(e,'parameter "file" is required'),t=yield eR(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),at.isDebug()&&n.push("-v");let i=yield ar.which("xar",!0);return yield ix.exec(`"${i}"`,Array.from(new Set(n))),t;});},iv.extractZip=function(e,t){return i_(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield eR(t),ah?yield function(e,t){return i_(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 ar.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 $_ } } ;`;at.debug("Using pwsh at path: "+i),yield ix.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 ar.which("powershell",!0);at.debug("Using powershell at path: "+t),yield ix.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return i_(this,void 0,void 0,function*(){let r=yield ar.which("unzip",!0),n=[e];at.isDebug()||n.unshift("-q"),n.unshift("-o"),yield ix.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},iv.cacheDir=function(e,t,r,n){return i_(this,void 0,void 0,function*(){if(r=al.clean(r)||r,n=n||ao.arch(),at.debug(`Caching tool ${t} ${r} ${n}`),at.debug("source dir: "+e),!an.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eO(t,r,n);for(let t of an.readdirSync(e)){let r=as.join(e,t);yield ar.cp(r,i,{recursive:!0});}return eS(t,r,n),i;});},iv.cacheFile=function(e,t,r,n,i){return i_(this,void 0,void 0,function*(){if(n=al.clean(n)||n,i=i||ao.arch(),at.debug(`Caching tool ${r} ${n} ${i}`),at.debug("source file: "+e),!an.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eO(r,n,i),s=as.join(o,t);return at.debug("destination file "+s),yield ar.cp(e,s),eS(r,n,i),o;});},iv.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||ao.arch(),eI(t)||(t=eT(ex(e,r),t));let n="";if(t){t=al.clean(t)||"";let i=as.join(eP(),e,t,r);at.debug("checking cache: "+i),an.existsSync(i)&&an.existsSync(`${i}.complete`)?(at.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):at.debug("not found");}return n;},iv.findAllVersions=ex,iv.getManifestFromRepo=function(e,t,r,n="master"){return i_(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new aa.HttpClient("tool-cache"),a={};r&&(at.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){at.debug("Invalid json");}}return i;});},iv.findFromManifest=function(e,t,r,n=ao.arch()){return i_(this,void 0,void 0,function*(){return yield ai._findMatch(e,t,r,n);});},iv.isExplicitVersion=eI,iv.evaluateVersions=eT,rU=rD("9ne19"),rF=rD("ER74K"),nr=rD("4oHc1"),nF=rD("dOmbL"),id=rD("ceI0e"),Object.defineProperty(iP={},"__esModule",{value:!0}),iP.retryAsPromised=iP.TimeoutError=void 0;class av extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}iP.TimeoutError=av,iP.retryAsPromised=e$,iP.default=e$,iN=rD("fcBgE"),rF=rD("ER74K"),(rp=iA||(iA={}))[rp.Tar=0]="Tar",rp[rp.TarGz=1]="TarGz",rp[rp.TarXz=2]="TarXz",rp[rp.Zip=3]="Zip",rp[rp.SevenZip=4]="SevenZip",rM=rD("9yJgU");const ag=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||iW.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||iW.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||iW.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||iW.mkdirSync,t;},ay=(e,t,r)=>{let n=(0,iz.dirname)(e),i={...ag(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 ay(e,i,ay(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;}}},aE=Object.assign(async(e,t,r)=>{let n=ag(t);n.recursive=!1;let i=(0,iz.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 aE(i,n).then(t=>aE(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:ay}),aw=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?aw(e,(0,iz.dirname)(t),t):void 0);},a_=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?a_(e,(0,iz.dirname)(t),t):void 0;}},ab=(e,t)=>{let r=ag(t);if(r.recursive=!0,(0,iz.dirname)(e)===e)return r.mkdirSync(e,r);let n=a_(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return ay(e,r);throw t;}},ax=Object.assign(async(e,t)=>{let r={...ag(t),recursive:!0};return(0,iz.dirname)(e)===e?await r.mkdirAsync(e,r):aw(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return aE(e,r);throw t;}));},{sync:ab}),aR=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,aO=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,iz.resolve)(e),"win32"===aR){let{root:t}=(0,iz.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},aS=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),aI=+aS[0]>10||10==+aS[0]&&+aS[1]>=12,aT=aI?e=>ag(e).mkdirSync===iW.mkdirSync:()=>!1,aP=Object.assign(aI?e=>ag(e).mkdir===iW.mkdir:()=>!1,{sync:aT}),aN=(e,t)=>{e=aO(e);let r=ag(t);return aT(r)?ab(e,r):ay(e,r);},aA=Object.assign(async(e,t)=>{e=aO(e);let r=ag(t);return aP(r)?ax(e,r):aE(e,r);},{mkdirpSync:aN,mkdirpNative:ax,mkdirpNativeSync:ab,mkdirpManual:aE,mkdirpManualSync:ay,sync:aN,native:ax,nativeSync:ab,manual:aE,manualSync:ay,useNative:aP,useNativeSync:aT});nF=rD("dOmbL"),id=rD("ceI0e"),ix=rD("jlr6Q"),rU=rD("9ne19"),rF=rD("ER74K"),nr=rD("4oHc1"),nF=rD("dOmbL"),id=rD("ceI0e"),ix=rD("jlr6Q"),rF=rD("ER74K"),i$=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rA.URL(t),!0;}catch{return!1;}},iC=async e=>{if(!i$(e))return!1;let t=await ez(e,"HEAD");return!!t||!!(t=await ez(e,"GET"));},ih=rD("4F3T1"),iL=rD("5tbf8"),ik=rD("cdjlt");const a$=/v?(\d\S*)/,aC={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:eh()?"13.2.1-3":"13",powershell:"7.4.5"},aL={pip:"22.2.0",python:"3.7.9"},ak={gcc:{24:"13",22:"13",20:"11",18:"11",16:"11",14:"11"},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"}},aD=c(nl)(tt,{promise:!0});rF=rD("ER74K"),Object.defineProperty(iD={},"__esModule",{value:!0}),iD.getUbuntuVersion=void 0,iD.getUbuntuVersion=ti;const aj=c(nl)(to,{promise:!0}),aU=c(nl)(tu,{promise:!0}),aF=c(nl)(tp,{promise:!0}),aM=c(nl)(tf,{promise:!0});rF=rD("ER74K"),id=rD("ceI0e"),nF=rD("dOmbL");const aG=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"]]]),aB=c(nl)(function(){if("darwin"!==process.platform)return[];let{version:e}=function(e){e=+(e||c(rS).release()).split(".")[0];let[t,r]=aG.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>Number.parseInt(e,10));});rU=rD("9ne19"),rF=rD("ER74K"),nF=rD("dOmbL"),id=rD("ceI0e"),ih=rD("4F3T1"),ij=rD("3tcGr"),ix=rD("jlr6Q"),rF=rD("ER74K"),iU=iz.resolve(__dirname,"../../src/gcc");const aH={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};ij=rD("3tcGr"),ik=rD("cdjlt"),rF=rD("ER74K"),id=rD("ceI0e"),id=rD("ceI0e"),iF=iz.resolve(__dirname,"../../src/kcov"),rU=rD("9ne19"),rF=rD("ER74K"),nF=rD("dOmbL"),id=rD("ceI0e"),nr=rD("4oHc1"),rM=rD("9yJgU"),rF=rD("ER74K");class aq 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),az=e=>{let t=void 0===e.reason?aX("This operation was aborted."):e.reason;return t instanceof Error?t:aX(t);};id=rD("ceI0e"),rF=rD("ER74K"),rM=rD("9yJgU");const aW=rN.env["ProgramFiles(x86)"],aK=[rN.env["ProgramFiles(x86)"],rN.env.ProgramFiles],aY=["Enterprise","Professional","Community","BuildTools"],aJ=["2022","2019","2017"],aQ={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};iM=tU;const aZ=`${aW}\\Microsoft Visual Studio\\Installer`;iG=tF,iB=function(e,t,r,n,i,o){if("win32"!=rN.platform){rM.info("This is not a Windows virtual environment, bye!");return;}rN.env.PATH+=iz.delimiter+aZ;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=`"${tF(o)}" ${a.join(" ")}`;rM.debug("vcvars command-line: "+l);let c=ry.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(rM.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(rM.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(";")),rM.exportVariable(t,r));}rM.endGroup(),rM.info("Configured Developer Command Prompt");},nF=rD("dOmbL");const a0=12e5;(rf=iH||(iH={}))[rf.All=0]="All",rf[rf.ClangFormat=1]="ClangFormat",rf[rf.Core=2]="Core",rF=rD("ER74K"),id=rD("ceI0e"),im=rD("ekDr6");const a1=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"]),a2=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"]),a3=new Map(),a6={"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"},a8="18.1.8";iq=iz.resolve(__dirname,"../../src/llvm");const a7=c(nl)(tQ,{promise:!0}),a5=c(nl)(t0,{promise:!0}),a9=c(nl)(t1,{promise:!0});rU=rD("9ne19"),id=rD("ceI0e"),rF=rD("ER74K"),nF=rD("dOmbL"),iV=iz.resolve(__dirname,"../../src/msvc"),rF=rD("ER74K"),nr=rD("4oHc1"),id=rD("ceI0e"),rF=rD("ER74K"),id=rD("ceI0e"),id=rD("ceI0e"),rF=rD("ER74K"),nF=rD("dOmbL"),id=rD("ceI0e");let le=!1;const lt={nala:t7,cmake:eX,ninja:t$,python:eZ,vcpkg:ro,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:t9,llvm:tJ,gcc:tS,choco:ev,brew:eu,powershell:rr,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 tZ(e,t,r);},clangformat:function(e,t,r){return tZ(e,t,r,iH.ClangFormat);},msvc:t6,vcvarsall:tM,kcov:tj,make:t3,task:function(e,t,r){return eG("task",e,ri,t,r);},sevenzip:eC},lr=Object.keys(lt),ln=["compiler","architecture","timeout",...lr],li={rcPath:T("~/.cpprc"),guard:"cpp"};rM=rD("9yJgU"),rF=rD("ER74K"),ik=rD("cdjlt"),rc(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rF.error)("main() panicked!"),(0,rF.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 index 8c50fa44..637c429c 100644 --- a/dist/modern/setup-cpp.js.map +++ b/dist/modern/setup-cpp.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rV","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rH","sync","command","path","rX","pathExt","iX","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i3","file","original","h","rG","rg","spawn","rQ","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r6","getBufferedLength","r4","MAX_LENGTH","bufferedData","getBufferedValue","oJ","on","oQ","E","sv","si","so","sh","oX","c","rb","ChildProcess","se","reject","oE","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","st","l","oV","oz","kill","oU","bind","cancel","oH","rZ","exitCode","signal","o7","sg","aborted","failed","o4","o3","oY","w","o1","spawnSync","input","status","_","stdio","r9","nothrow","b","getuid","CI","x","sU","ss","O","S","R","join","map","I","SUDO_USER","iz","statSync","isDirectory","T","iV","homedir","replace","sF","P","guard","rcPath","N","A","rU","warning","nU","pathExists","sG","includes","sM","info","$","Set","split","sB","C","escapeSpace","overwrite","sH","nF","nM","rj","GITHUB_ACTIONS","rF","exportVariable","L","sq","sW","k","sY","some","test","PATH","addPath","D","sK","j","next","throw","done","value","then","apply","U","return","call","label","ops","pop","trys","length","push","sent","Symbol","iterator","F","nV","pkg","n9","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","sJ","V","DEBIAN_FRONTEND","LANG","LC_ALL","X","z","W","startsWith","K","Y","J","filter","Z","name","version","Q","ic","trim","sZ","s0","ee","sQ","et","s1","er","clear","en","ei","binDir","eo","s2","flatMap","repository","key","ea","es","keyServer","s3","fileName","keyStorePath","ec","el","keyUrl","s4","tmpdir","ie","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s6","ed","eh","em","ev","ip","SystemRoot","ALLUSERSPROFILE","ln","ChocolateyInstall","eg","s8","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","s7","s5","eb","matchAll","s9","ex","ai","ao","eP","ar","existsSync","readdirSync","eI","eR","eN","au","at","mkdirP","eO","aa","clean","ae","debug","rmRF","eS","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rh","ok","RUNNER_TEMP","eA","r$","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","am","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eU","eF","eM","iP","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","im","installDir","eB","eq","eH","nt","chmod","iT","now","basename","downloadTool","ro","CACHE_TOOLS","cacheDir","eV","id","ih","addExeExt","eX","ez","iY","request","method","statusCode","end","eW","from","iC","localeCompare","eK","i$","has","JSON","stringify","eY","aA","ib","getExecOutput","console","eJ","eQ","eZ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e3","setupActionsPython","rk","e4","e6","parse","root","readdir","aC","python","e7","e9","e5","pip","te","tt","tr","tn","aL","Number","parseInt","a$","ti","execFile","encoding","shell","to","ts","ik","getUbuntuVersion","ta","aF","user","td","PIPX_HOME","aj","PIPX_BIN_DIR","aU","ak","th","tu","aN","tp","tf","aD","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aG","notice","tR","tO","aB","releaseName","fileSuffix","tS","tT","tP","tI","iD","tN","ij","tA","t$","tC","tL","tk","tD","iU","tj","tU","values","aJ","tF","execSync","entries","aY","aW","aK","az","tM","iG","tG","aZ","startGroup","milliseconds","fallback","customTimers","sign","aX","addEventListener","POSITIVE_INFINITY","aH","finally","tB","endGroup","le","rs","tH","readFile","tq","NODE_DEBUG","tV","writeFile","rA","tX","tz","tW","a1","tK","a2","a4","get","a0","a3","a6","tY","tJ","a8","t2","tQ","tZ","t4","a5","iB","All","iL","a7","t0","t1","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iH","t3","t6","iF","iM","t8","iq","t7","t5","t9","re","arm64","arm","arm32","aarch64","x64","rt","rr","rn","ri","a9","addShExt","addShRelativePrefix","getInput","toLowerCase","ra","compiler","rl","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","lr","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nH","create","autoloadLocales","addLocale","nq","nG","nB","cppcheck","gcovr","lt","isCI","parseFloat","format","success","rc","ru","rp","rz","rW","r1","r3","r8","r5","nn","ni","no","ns","nw","n_","nR","nT","nP","nN","n$","nC","nL","nk","nD","nj","nz","nW","nK","nY","nJ","nQ","nZ","n0","n1","n2","n4","n3","n6","n8","n7","n5","it","ir","ii","io","is","ia","il","iA","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","iW","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","iK","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","rf","connect","localAddress","arguments","defaultPort","rm","inherits","rd","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rD","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","rv","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","compare","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","ry","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","rE","HandleTimeout","OSTYPE","iQ","iJ","rq","TESTING_WINDOWS","iZ","i0","colon","pathEnv","pathExtExe","i1","i2","rB","rK","rY","rJ","openSync","readSync","closeSync","i4","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rM","_parse","_enoent","i6","rx","preferLocal","execPath","addExecPath","rR","fileURLToPath","r_","i8","i7","i5","i9","oe","ot","getPrototypeOf","or","oi","oo","os","WeakMap","oa","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","ol","op","ou","oc","number","action","description","standard","of","forced","od","oh","signals","rO","supported","om","ov","og","oy","errorCode","signalDescription","Boolean","originalMessage","shortMessage","ow","o_","ob","ox","reallyExit","pid","oR","oO","oS","oI","oT","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oP","o$","oA","oD","oL","r0","equal","oC","alwaysLast","unload","oN","oj","load","oF","oM","oB","forceKillAfterTimeout","oG","SIGTERM","oq","killSignal","race","cleanup","detached","oW","oK","createWriteStream","pipeStdout","pipeStderr","pipeAll","rS","rI","PassThrough","array","objectMode","setEncoding","pipeline","r2","buffer","MaxBufferError","r7","readable","isEmpty","oZ","o0","inputFile","o2","createReadStream","o6","o8","o5","o9","sr","sn","sa","rw","isBuffer","sl","sc","templates","expressions","template","su","sp","rT","debuglog","enabled","sf","padStart","sd","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sm","localDir","stripFinalNewline","windowsHide","sy","sE","sw","sb","s_","sx","groups","getgroups","sR","sI","sO","sS","sT","_ISEXE_TEST_PLATFORM_","nr","sP","isexe","sN","posix","sA","s$","sC","source","sL","sk","sD","sj","nc","nu","function","object","ny","nE","captureStackTrace","nv","ng","nS","nI","nO","nf","nA","nm","normalizer","resolvers","nb","profileName","updateEnv","__memoized__","nx","_get","_has","np","nh","nd","__profiler__","na","nl","primitive","sV","sX","release","sz","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rP","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nX","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","rN","__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","iu","iE","an","as","al","ac","i_","ap","iS","ix","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","af","httpStatusCode","new","target","HTTPError","ad","ah","iw","authorization","statusMessage","extract7z","iv","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iN","av","fs","mkdirAsync","statAsync","ag","ay","aE","aw","a_","ab","ax","__TESTING_MKDIRP_PLATFORM__","aR","aO","__TESTING_MKDIRP_NODE_VERSION__","aS","aI","aT","aP","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","aM","aq","aV","DOMException","reason","ProgramFiles","aQ","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-89fc9e4163122721.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-5045a0aeaecad42e.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-8b8f350e81d90511.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/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 $6OClt$os = require(\"os\");\nvar $6OClt$path = require(\"path\");\nvar $6OClt$fs = require(\"fs\");\nvar $6OClt$crypto = require(\"crypto\");\nvar $6OClt$http = require(\"http\");\nvar $6OClt$https = require(\"https\");\nrequire(\"net\");\nvar $6OClt$tls = require(\"tls\");\nvar $6OClt$events = require(\"events\");\nvar $6OClt$assert = require(\"assert\");\nvar $6OClt$util = require(\"util\");\nvar $6OClt$nodefs = require(\"node:fs\");\nvar $6OClt$child_process = require(\"child_process\");\nvar $6OClt$string_decoder = require(\"string_decoder\");\nvar $6OClt$timers = require(\"timers\");\nvar $6OClt$nodebuffer = require(\"node:buffer\");\nvar $6OClt$nodepath = require(\"node:path\");\nvar $6OClt$nodechild_process = require(\"node:child_process\");\nvar $6OClt$nodeprocess = require(\"node:process\");\nvar $6OClt$nodeurl = require(\"node:url\");\nvar $6OClt$nodeos = require(\"node:os\");\nvar $6OClt$buffer = require(\"buffer\");\nvar $6OClt$stream = require(\"stream\");\nvar $6OClt$nodeutil = require(\"node:util\");\nvar $6OClt$process = require(\"process\");\nvar $6OClt$url = require(\"url\");\nvar $6OClt$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($6OClt$os);\n\nconst $6f5a6808698f288d$var$path = $6f5a6808698f288d$var$__importStar($6OClt$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($6OClt$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($6OClt$fs);\n\nconst $46026cc01e4b16be$var$os = $46026cc01e4b16be$var$__importStar($6OClt$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($6OClt$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($6OClt$http);\n\nconst $f95771efec57d8f7$var$https = $f95771efec57d8f7$var$__importStar($6OClt$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(\"2LecT\"));\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 = $6OClt$http.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 = $6OClt$https.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 || $6OClt$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$6OClt$util.inherits($c159194268ce8bad$var$TunnelingAgent, $6OClt$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 = $6OClt$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(\"2LecT\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./proxy-agent.52c85c82.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 } = $6OClt$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, $6OClt$fs.constants.R_OK | $6OClt$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($6OClt$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($6OClt$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 $6OClt$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($6OClt$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 $6OClt$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($6OClt$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 = $6OClt$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 } = $6OClt$fs.promises;\nconst $5873751dcaaa8049$export$a1f77f18af3aebd5 = \"rm\" in $6OClt$fs.promises ? $6OClt$fs.promises.rm : (0, $6OClt$util.promisify)($6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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\", () => $6OClt$path.dirname);\n$parcel$export(module.exports, \"join\", () => $6OClt$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, $6OClt$path.basename)(e) : (0, $6OClt$path.basename)(e, (0, $6OClt$path.extname)(e));\n}\nfunction $c4a4e66c88c6a351$export$873fead74fe2f1ff(e) {\n return (0, $6OClt$path.normalize)(e).replace(RegExp((0, $9ag04.default)((0, $6OClt$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, $6OClt$path.extname)(e), s = `${a}${(0, $6OClt$path.basename)(e, r)}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $6OClt$path.extname)(e), s = `${(0, $6OClt$path.basename)(e, r)}${a}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$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, $6OClt$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, $6OClt$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $6OClt$path.sep)) || r === (0, $6OClt$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 = $6OClt$path.basename(npath, $6OClt$path.extname(npath)) + ext;\n var nFilepath = $6OClt$path.join($6OClt$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 \".\" + $6OClt$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $693720bda980a8cc$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $6OClt$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($6OClt$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 $6OClt$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($6OClt$fs);\n\nconst $a6b97397ae88c6aa$var$path = $a6b97397ae88c6aa$var$__importStar($6OClt$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 = $6OClt$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 = $6OClt$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $6OClt$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 ($6OClt$fs.existsSync(lsbReleaseFile)) contents = $6OClt$fs.readFileSync(lsbReleaseFile).toString();\n else if ($6OClt$fs.existsSync(osReleaseFile)) contents = $6OClt$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 $6OClt$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 $6OClt$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $6OClt$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($6OClt$os);\n\nconst $df78fb148e5cacf0$var$events = $df78fb148e5cacf0$var$__importStar($6OClt$events);\n\nconst $df78fb148e5cacf0$var$child = $df78fb148e5cacf0$var$__importStar($6OClt$child_process);\n\nconst $df78fb148e5cacf0$var$path = $df78fb148e5cacf0$var$__importStar($6OClt$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 = $6OClt$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(\"8Rlq7\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.60e051e1.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\nparcelRegister(\"g7Ve0\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./hdi.647acde1.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 = $6OClt$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 = $6OClt$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 ? $6OClt$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 = $6OClt$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 = $6OClt$fs.openSync(command, \"r\");\n $6OClt$fs.readSync(fd, buffer, 0, size, 0);\n $6OClt$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 = $6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$nodeprocess))).cwd(), path: pathOption = (0, ($parcel$interopDefault($6OClt$nodeprocess))).env[(0, $ac6213fd5778797d$export$2e2bcd8739ae039)()], preferLocal: preferLocal = true, execPath: execPath = (0, ($parcel$interopDefault($6OClt$nodeprocess))).execPath, addExecPath: addExecPath = true } = {})=>{\n const cwdString = cwd instanceof URL ? (0, $6OClt$nodeurl.fileURLToPath)(cwd) : cwd;\n const cwdPath = (0, ($parcel$interopDefault($6OClt$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($6OClt$nodepath))).delimiter);\n};\nconst $eaf8420dc1d50455$var$applyPreferLocal = (result, cwdPath)=>{\n let previous;\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$nodeurl.fileURLToPath)(execPath) : execPath;\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).resolve(cwdPath, execPathString, \"..\"));\n};\nconst $eaf8420dc1d50455$export$340e1fbaac04248b = ({ env: env = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$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, $6OClt$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $d7ebb04b4e65e48e$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $6OClt$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 = $6OClt$buffer.constants;\n\n\nvar $51bb95e1718a9e99$require$promisify = $6OClt$util.promisify;\nvar $4d91ceac3d29e594$exports = {};\n\"use strict\";\n\nvar $4d91ceac3d29e594$require$PassThroughStream = $6OClt$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($6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($6OClt$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($6OClt$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$path.join;\nvar $656be56138103b68$require$delimiter = $6OClt$path.delimiter;\nvar $656be56138103b68$require$sep = $6OClt$path.sep;\nvar $656be56138103b68$require$posix = $6OClt$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($6OClt$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, $6OClt$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $6OClt$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $6OClt$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, $6OClt$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 = $6OClt$os.platform() !== \"win32\";\nconst $ff873c95cf07adf2$var$version = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$process.env.npm_package_json;\nvar $4fe3cd2ecda1db90$var$userAgent = $6OClt$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 = $6OClt$os.homedir();\nvar $4fe3cd2ecda1db90$var$configDir = process.env.XDG_CONFIG_HOME || $6OClt$path.join($4fe3cd2ecda1db90$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $4fe3cd2ecda1db90$var$getConfigFile = function(packageName) {\n return $6OClt$path.join($4fe3cd2ecda1db90$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $4fe3cd2ecda1db90$var$createConfigDir = function() {\n if (!$6OClt$fs.existsSync($4fe3cd2ecda1db90$var$configDir)) $6OClt$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 (!$6OClt$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($6OClt$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 $6OClt$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 $6OClt$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($6OClt$fs);\n\n\nvar $4d675a29776046a6$var$path = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$path);\n\nvar $4d675a29776046a6$var$http = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$http);\n\nvar $4d675a29776046a6$var$https = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$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 $6OClt$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 $6OClt$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 $6OClt$url.URL(this.requestURL).pathname).length ? c = $4d675a29776046a6$var$path.basename(new $6OClt$url.URL(this.requestURL).pathname) : c = new $6OClt$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 $6OClt$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}($6OClt$events.EventEmitter);\n\n\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nconst { appendFile: $55703262513e8a67$var$appendFile } = (0, $6OClt$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\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(apt, packages) {\n return (await Promise.all(packages.map((pack)=>$fd3ace85be502365$var$qualifiedNeededAptPackage(apt, pack)))).filter((pack)=>pack !== undefined);\n}\nasync function $fd3ace85be502365$var$qualifiedNeededAptPackage(apt, pack) {\n // Qualify the packages into full package name/version\n const qualified = await $fd3ace85be502365$var$getAptArg(apt, pack.name, pack.version);\n // filter out the packages 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)(apt, [\n {\n name: \"ca-certificates\"\n },\n {\n name: \"gnupg\"\n },\n {\n name: \"apt-utils\"\n }\n ]);\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)(apt, packages);\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, $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$os.tmpdir)(), fileName);\n const dl = new (0, $4d675a29776046a6$exports.DownloaderHelper)(keyUrl, (0, $6OClt$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/* 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, $6OClt$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, $6OClt$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\nlet $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, $6OClt$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 = $6OClt$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($6OClt$fs);\n\nconst $b6359893e987d0a9$var$mm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"ktIRP\")));\n\nconst $b6359893e987d0a9$var$os = $b6359893e987d0a9$var$__importStar($6OClt$os);\n\nconst $b6359893e987d0a9$var$path = $b6359893e987d0a9$var$__importStar($6OClt$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($6OClt$stream);\n\nconst $b6359893e987d0a9$var$util = $b6359893e987d0a9$var$__importStar($6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_MAC, \"extractXar() not supported on current OS\");\n $6OClt$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 $6OClt$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 $6OClt$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, $6OClt$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $ceI0e.join)((0, $6OClt$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, $6OClt$os.tmpdir)(), `${Date.now()}-${(0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $6OClt$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $d1360c07373ce87f$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.resolve)(path);\n if ($d1995f79f946ef1b$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $6OClt$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, $6OClt$fs.mkdirSync);\nconst $47b88f304ce53f29$export$875f149e5ea533c1 = Object.assign(!$47b88f304ce53f29$var$hasNative ? ()=>false : (opts)=>(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts).mkdir === (0, $6OClt$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, $6OClt$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, $6OClt$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}\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: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\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($6OClt$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(\"8Rlq7\"));\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, $6OClt$path.parse)((0, $6OClt$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 $6OClt$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($6OClt$os))) && typeof (0, ($parcel$interopDefault($6OClt$os))).version === \"function\")) return null;\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($6OClt$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($6OClt$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(\"g7Ve0\"));\n const dmg = new ArchiveHdi(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $6OClt$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\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\n\n\n\n\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $6OClt$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $bd769018416dc7f2$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $bd769018416dc7f2$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\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/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\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)()) 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 } else {\n (0, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) 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 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(version, 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 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$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 = $6OClt$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 = $6OClt$process.env[\"ProgramFiles(x86)\"];\nconst $02d923838c94048f$var$PROGRAM_FILES = [\n $6OClt$process.env[\"ProgramFiles(x86)\"],\n $6OClt$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 = $6OClt$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 && $6OClt$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 ($6OClt$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 ($6OClt$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 ($6OClt$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 $6OClt$process.env.PATH += $6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$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, $6OClt$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 = $6OClt$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, $6OClt$path.delimiter)}${ld}`, (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $6OClt$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 = $6OClt$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\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 // https://gitlab.com/volian/nala/-/wikis/Installation\n const keyFileName = await (0, $99405a7b584f25ed$export$118a136d06dbf4dc)({\n fileName: \"volian-archive-nala.gpg\",\n keyUrl: \"https://deb.volian.org/volian/nala.key\"\n });\n (0, $9b35e0b8c96f5aff$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main\" | tee /etc/apt/sources.list.d/volian-archive-nala.list`\n ]);\n try {\n if (version !== \"legacy\") await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $8802eeb63986cd81$export$87fb71929453bd8f)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $24fc56c48fbaa7ba$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\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, $6OClt$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, $6OClt$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $6OClt$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, $6OClt$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.52c85c82.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.60e051e1.js\"))).then(() => parcelRequire('4kQHk'));","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"hdi.647acde1.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\"\n/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\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(apt, packages)\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(apt, [\n { name: \"ca-certificates\" },\n { name: \"gnupg\" },\n { name: \"apt-utils\" },\n ])\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 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(apt: string, packages: AptPackage[]) {\n return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(apt, pack))))\n .filter((pack) => pack !== undefined)\n}\n\nasync function qualifiedNeededAptPackage(apt: string, pack: AptPackage) {\n // Qualify the packages into full package name/version\n const qualified = await getAptArg(apt, pack.name, pack.version)\n // filter out the packages 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","// 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\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 { info, warning } from \"ci-log\"\nimport type { ExecaReturnValue } from \"execa\"\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 { 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\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url:\n `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string, 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 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 } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n 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 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(version: 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 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 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 { 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 { execRootSync } from \"admina\"\nimport { dirname } from \"patha\"\nimport { addAptKeyViaURL, hasNala, installAptPack } 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 // https://gitlab.com/volian/nala/-/wikis/Installation\n const keyFileName = await addAptKeyViaURL({\n fileName: \"volian-archive-nala.gpg\",\n keyUrl: \"https://deb.volian.org/volian/nala.key\",\n })\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main\" | tee /etc/apt/sources.list.d/volian-archive-nala.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await installAptPack([{ name: \"nala\" }], true)\n } else {\n await installAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await installAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\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,C+C1DAC,CAAA,C9DJAC,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,SA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d,G,eHlPO,KAAM,CAAAsW,EAAA,CAAkB,I,EDCnBqH,EAAA,CAAA5E,EAAA,GAAAA,EAAA,M,qHKCL,KAAM,CAAAX,EAAA,CAAwB,SxBeT7hB,CAAkB,EAC5C,GAAM,CAAAC,CAAA,CAAW,GAAI,CAAA0J,GAAA,CAAI3J,CAAA,EAEzB,IAAK,GAAM,CAAAE,CAAA,GAAW,CAAAF,CAAA,CACpBC,CAAA,CAASuoC,GAAG,CAAC,OAAO3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EACrCD,CAAA,CAASuoC,GAAG,CAAC,YAAY3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GwBxBiD,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,EAGKuhB,EAAA,CAA6B,GAAI,CAAA7X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E+X,EAAA,CAAqB,GAAI,CAAA/X,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,EAOKgY,EAAA,CAAiC,GAAI,CAAAkmB,GAAA,GAQrC/lB,EAAA,CAAmD,CACvD,QAAS,gBACT,QAAS,GACT,QAAS,g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AAQ,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 +{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rX","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rq","sync","command","path","rz","pathExt","iz","delimiter","resolve","f","Object","assign","Error","errno","syscall","spawnargs","args","d","i6","file","original","h","rB","ry","spawn","rZ","hookChildProcess","m","platform","keys","reverse","find","toUpperCase","v","pipe","g","writable","_write","_writableState","y","maxBuffer","r8","getBufferedLength","r3","MAX_LENGTH","bufferedData","getBufferedValue","oQ","on","oZ","E","sg","so","ss","sm","oz","c","rx","ChildProcess","st","reject","ow","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","sr","l","oX","oW","kill","oF","bind","cancel","oq","r0","exitCode","signal","o5","sy","aborted","failed","o3","o6","oJ","w","o2","spawnSync","input","status","_","stdio","ne","nothrow","b","getuid","CI","x","sF","sa","O","S","R","join","map","I","SUDO_USER","iW","statSync","isDirectory","T","iX","homedir","replace","sM","P","guard","rcPath","N","A","rF","warning","nF","pathExists","sB","includes","sG","info","$","Set","split","sH","C","escapeSpace","overwrite","sq","nM","nG","rU","GITHUB_ACTIONS","rM","exportVariable","L","sV","sK","k","sJ","some","test","PATH","addPath","D","sY","j","next","throw","done","value","then","apply","U","return","call","label","ops","pop","trys","length","push","sent","Symbol","iterator","F","nX","pkg","ie","message","stack","M","Array","isArray","G","__esModule","prototype","hasOwnProperty","default","B","ReferenceError","H","toString","q","sQ","V","DEBIAN_FRONTEND","LANG","LC_ALL","X","z","W","startsWith","K","Y","J","filter","Z","name","version","Q","iu","trim","s0","s1","ee","sZ","et","s2","er","clear","en","ei","binDir","eo","s4","flatMap","repository","key","ea","es","keyServer","s6","fileName","keyStorePath","ec","el","keyUrl","s3","tmpdir","it","DownloaderHelper","start","endsWith","eu","dirname","getDownloadPath","NONINTERACTIVE","ep","rcOptions","arch","ef","cask","s8","ed","eh","em","ev","id","SystemRoot","ALLUSERSPROFILE","li","ChocolateyInstall","eg","s7","TMP","TEMP","Path","extendEnv","ey","eE","ew","e_","s5","s9","eb","matchAll","ae","ex","ao","as","eP","an","existsSync","readdirSync","eI","eR","eN","ap","ar","mkdirP","eO","al","clean","at","debug","rmRF","eS","writeFileSync","valid","eT","sort","gt","satisfies","RUNNER_TOOL_CACHE","rm","ok","RUNNER_TEMP","eA","rC","e$","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","av","current","catch","RegExp","Math","pow","eC","eL","ek","eD","ej","eU","eF","eM","iN","eG","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","iv","installDir","eB","eq","eH","nr","chmod","iP","now","basename","downloadTool","rs","CACHE_TOOLS","cacheDir","eV","ih","im","addExeExt","eX","ez","iJ","request","method","statusCode","end","eW","from","iL","localeCompare","eK","iC","has","JSON","stringify","eY","a$","ix","getExecOutput","console","eJ","eQ","eZ","e2","bin","e8","e0","e1","tc","tl","upgrade","usePipx","tm","isLibrary","e3","setupActionsPython","rD","e4","e6","parse","root","readdir","aL","python","e7","e9","e5","pip","te","tt","tr","tn","ak","Number","parseInt","aC","ti","execFile","encoding","shell","to","ts","iD","getUbuntuVersion","ta","aM","user","td","PIPX_HOME","aU","PIPX_BIN_DIR","aF","aD","th","tu","aA","tp","tf","aj","findIndex","tv","tg","ty","tE","tw","ArchiveHdi","read","extract","t_","tb","tx","aB","notice","tR","tO","aH","releaseName","fileSuffix","tS","tT","tP","tI","ij","tN","iU","tA","t$","tC","tL","tk","tD","iF","tj","tU","values","aQ","tF","execSync","entries","aJ","aK","aY","aW","tM","iB","tG","a0","startGroup","milliseconds","fallback","customTimers","sign","az","addEventListener","POSITIVE_INFINITY","aq","finally","tB","endGroup","lt","ra","tH","readFile","tq","NODE_DEBUG","tV","writeFile","r$","tX","tz","tW","a2","tK","a4","a3","get","a1","a6","a8","tY","tJ","a7","t2","tQ","tZ","t4","a9","iH","All","ik","a5","t0","t1","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","iq","t3","t6","iM","iG","t8","iV","t7","t5","t9","re","rt","arm64","arm","arm32","aarch64","x64","rr","rn","ri","ro","le","addShExt","addShRelativePrefix","getInput","toLowerCase","rl","compiler","rc","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","slice","charCodeAt","substring","indexOf","repeat","shift","ln","fromEntries","help","table","tools","cache","documentation","coverage","other","architecture","SETUP_CPP_DIR","nq","create","autoloadLocales","addLocale","nV","nB","nH","cppcheck","gcovr","lr","isCI","parseFloat","format","success","ru","rp","rf","rW","rK","r2","r6","r7","r9","ni","no","ns","na","n_","nb","nO","nP","nN","nA","nC","nL","nk","nD","nj","nU","nW","nK","nY","nJ","nQ","nZ","n0","n1","n2","n4","n3","n6","n8","n7","n5","n9","ir","ii","io","is","ia","il","ic","i$","any","every","defineProperty","exports","constant","isPR","forEach","pr","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","iY","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","rd","connect","localAddress","arguments","defaultPort","rv","inherits","rh","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","require","rj","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","rg","access","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","defaultConfig","versions","node","inc","diff","major","minor","prerelease","compare","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","rE","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","rw","HandleTimeout","OSTYPE","iZ","iQ","rV","TESTING_WINDOWS","i0","i1","colon","pathEnv","pathExtExe","i2","i4","rH","rY","rJ","rQ","openSync","readSync","closeSync","i3","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","rG","_parse","_enoent","i8","rR","preferLocal","execPath","addExecPath","rO","fileURLToPath","rb","i7","i5","i9","oe","ot","or","getPrototypeOf","oi","oo","os","oa","WeakMap","ol","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","oc","of","op","ou","number","action","description","standard","od","forced","oh","om","signals","rS","supported","ov","og","oy","oE","errorCode","signalDescription","Boolean","originalMessage","shortMessage","o_","ob","ox","oR","reallyExit","pid","oO","oS","oI","oT","oP","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oN","oC","o$","oj","r1","equal","oL","alwaysLast","unload","oA","oU","oD","load","oM","oG","oH","forceKillAfterTimeout","oB","SIGTERM","oV","killSignal","race","cleanup","detached","oK","oY","createWriteStream","pipeStdout","pipeStderr","pipeAll","rI","rT","PassThrough","array","objectMode","setEncoding","pipeline","r4","buffer","MaxBufferError","r5","readable","isEmpty","o0","o1","inputFile","o4","createReadStream","o8","o7","o9","se","sn","si","sl","r_","isBuffer","sc","su","templates","expressions","template","sp","sf","rP","debuglog","enabled","sd","padStart","sh","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sv","localDir","stripFinalNewline","windowsHide","sE","sw","s_","sx","sb","sR","groups","getgroups","sO","sT","sS","sI","sP","_ISEXE_TEST_PLATFORM_","nn","nt","sN","isexe","sA","posix","s$","sC","sL","source","sk","sD","sj","sU","nu","np","function","object","nE","nw","captureStackTrace","ng","ny","nI","nT","nS","nd","n$","nv","normalizer","resolvers","nx","profileName","updateEnv","__memoized__","nR","_get","_has","nf","nm","nh","__profiler__","nl","nc","primitive","sX","sz","release","sW","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","nz","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","rA","__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","ip","iw","ai","aa","ac","au","ib","af","iI","iR","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","ad","httpStatusCode","new","target","HTTPError","ah","am","i_","authorization","statusMessage","extract7z","ig","extractTar","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","_findMatch","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","iA","ag","fs","mkdirAsync","statAsync","ay","aE","aw","a_","ab","ax","aR","__TESTING_MKDIRP_PLATFORM__","aO","aS","__TESTING_MKDIRP_NODE_VERSION__","aI","aT","aP","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","aG","aV","aX","DOMException","reason","ProgramFiles","aZ","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-89fc9e4163122721.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-5045a0aeaecad42e.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-8b8f350e81d90511.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/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 $6OClt$os = require(\"os\");\nvar $6OClt$path = require(\"path\");\nvar $6OClt$fs = require(\"fs\");\nvar $6OClt$crypto = require(\"crypto\");\nvar $6OClt$http = require(\"http\");\nvar $6OClt$https = require(\"https\");\nrequire(\"net\");\nvar $6OClt$tls = require(\"tls\");\nvar $6OClt$events = require(\"events\");\nvar $6OClt$assert = require(\"assert\");\nvar $6OClt$util = require(\"util\");\nvar $6OClt$nodefs = require(\"node:fs\");\nvar $6OClt$child_process = require(\"child_process\");\nvar $6OClt$string_decoder = require(\"string_decoder\");\nvar $6OClt$timers = require(\"timers\");\nvar $6OClt$nodebuffer = require(\"node:buffer\");\nvar $6OClt$nodepath = require(\"node:path\");\nvar $6OClt$nodechild_process = require(\"node:child_process\");\nvar $6OClt$nodeprocess = require(\"node:process\");\nvar $6OClt$nodeurl = require(\"node:url\");\nvar $6OClt$nodeos = require(\"node:os\");\nvar $6OClt$buffer = require(\"buffer\");\nvar $6OClt$stream = require(\"stream\");\nvar $6OClt$nodeutil = require(\"node:util\");\nvar $6OClt$process = require(\"process\");\nvar $6OClt$url = require(\"url\");\nvar $6OClt$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($6OClt$os);\n\nconst $6f5a6808698f288d$var$path = $6f5a6808698f288d$var$__importStar($6OClt$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($6OClt$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($6OClt$fs);\n\nconst $46026cc01e4b16be$var$os = $46026cc01e4b16be$var$__importStar($6OClt$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($6OClt$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($6OClt$http);\n\nconst $f95771efec57d8f7$var$https = $f95771efec57d8f7$var$__importStar($6OClt$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(\"2LecT\"));\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 = $6OClt$http.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 = $6OClt$https.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $6OClt$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 || $6OClt$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$6OClt$util.inherits($c159194268ce8bad$var$TunnelingAgent, $6OClt$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 = $6OClt$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(\"2LecT\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./proxy-agent.52c85c82.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 } = $6OClt$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, $6OClt$fs.constants.R_OK | $6OClt$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($6OClt$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($6OClt$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 $6OClt$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($6OClt$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 $6OClt$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($6OClt$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 = $6OClt$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 } = $6OClt$fs.promises;\nconst $5873751dcaaa8049$export$a1f77f18af3aebd5 = \"rm\" in $6OClt$fs.promises ? $6OClt$fs.promises.rm : (0, $6OClt$util.promisify)($6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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\", () => $6OClt$path.dirname);\n$parcel$export(module.exports, \"join\", () => $6OClt$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, $6OClt$path.basename)(e) : (0, $6OClt$path.basename)(e, (0, $6OClt$path.extname)(e));\n}\nfunction $c4a4e66c88c6a351$export$873fead74fe2f1ff(e) {\n return (0, $6OClt$path.normalize)(e).replace(RegExp((0, $9ag04.default)((0, $6OClt$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, $6OClt$path.extname)(e), s = `${a}${(0, $6OClt$path.basename)(e, r)}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $6OClt$path.extname)(e), s = `${(0, $6OClt$path.basename)(e, r)}${a}${r}`;\n return (0, $6OClt$path.join)((0, $6OClt$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, $6OClt$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, $6OClt$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $6OClt$path.sep)) || r === (0, $6OClt$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 = $6OClt$path.basename(npath, $6OClt$path.extname(npath)) + ext;\n var nFilepath = $6OClt$path.join($6OClt$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 \".\" + $6OClt$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $693720bda980a8cc$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $6OClt$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($6OClt$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 $6OClt$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($6OClt$fs);\n\nconst $a6b97397ae88c6aa$var$path = $a6b97397ae88c6aa$var$__importStar($6OClt$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 = $6OClt$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 = $6OClt$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $6OClt$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 ($6OClt$fs.existsSync(lsbReleaseFile)) contents = $6OClt$fs.readFileSync(lsbReleaseFile).toString();\n else if ($6OClt$fs.existsSync(osReleaseFile)) contents = $6OClt$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 $6OClt$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 $6OClt$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $6OClt$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($6OClt$os);\n\nconst $df78fb148e5cacf0$var$events = $df78fb148e5cacf0$var$__importStar($6OClt$events);\n\nconst $df78fb148e5cacf0$var$child = $df78fb148e5cacf0$var$__importStar($6OClt$child_process);\n\nconst $df78fb148e5cacf0$var$path = $df78fb148e5cacf0$var$__importStar($6OClt$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 = $6OClt$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(\"8Rlq7\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.60e051e1.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\nparcelRegister(\"g7Ve0\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./hdi.647acde1.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 = $6OClt$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 = $6OClt$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 ? $6OClt$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 = $6OClt$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 = $6OClt$fs.openSync(command, \"r\");\n $6OClt$fs.readSync(fd, buffer, 0, size, 0);\n $6OClt$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 = $6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$nodeprocess))).cwd(), path: pathOption = (0, ($parcel$interopDefault($6OClt$nodeprocess))).env[(0, $ac6213fd5778797d$export$2e2bcd8739ae039)()], preferLocal: preferLocal = true, execPath: execPath = (0, ($parcel$interopDefault($6OClt$nodeprocess))).execPath, addExecPath: addExecPath = true } = {})=>{\n const cwdString = cwd instanceof URL ? (0, $6OClt$nodeurl.fileURLToPath)(cwd) : cwd;\n const cwdPath = (0, ($parcel$interopDefault($6OClt$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($6OClt$nodepath))).delimiter);\n};\nconst $eaf8420dc1d50455$var$applyPreferLocal = (result, cwdPath)=>{\n let previous;\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$nodeurl.fileURLToPath)(execPath) : execPath;\n result.push((0, ($parcel$interopDefault($6OClt$nodepath))).resolve(cwdPath, execPathString, \"..\"));\n};\nconst $eaf8420dc1d50455$export$340e1fbaac04248b = ({ env: env = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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($6OClt$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 = $6OClt$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 = $6OClt$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($6OClt$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, $6OClt$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $d7ebb04b4e65e48e$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $6OClt$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 = $6OClt$buffer.constants;\n\n\nvar $51bb95e1718a9e99$require$promisify = $6OClt$util.promisify;\nvar $4d91ceac3d29e594$exports = {};\n\"use strict\";\n\nvar $4d91ceac3d29e594$require$PassThroughStream = $6OClt$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($6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($6OClt$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($6OClt$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($6OClt$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, $6OClt$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($6OClt$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($6OClt$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($6OClt$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($6OClt$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$path.join;\nvar $656be56138103b68$require$delimiter = $6OClt$path.delimiter;\nvar $656be56138103b68$require$sep = $6OClt$path.sep;\nvar $656be56138103b68$require$posix = $6OClt$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($6OClt$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, $6OClt$path.join)(\"/Users/\", process.env.SUDO_USER);\n else return (0, $6OClt$path.join)(\"/home/\", process.env.SUDO_USER);\n } else {\n const maybeHomeDir = (0, $6OClt$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, $6OClt$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 = $6OClt$os.platform() !== \"win32\";\nconst $ff873c95cf07adf2$var$version = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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 = $6OClt$process.env.npm_package_json;\nvar $4fe3cd2ecda1db90$var$userAgent = $6OClt$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 = $6OClt$os.homedir();\nvar $4fe3cd2ecda1db90$var$configDir = process.env.XDG_CONFIG_HOME || $6OClt$path.join($4fe3cd2ecda1db90$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $4fe3cd2ecda1db90$var$getConfigFile = function(packageName) {\n return $6OClt$path.join($4fe3cd2ecda1db90$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $4fe3cd2ecda1db90$var$createConfigDir = function() {\n if (!$6OClt$fs.existsSync($4fe3cd2ecda1db90$var$configDir)) $6OClt$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 (!$6OClt$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($6OClt$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 $6OClt$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 $6OClt$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($6OClt$fs);\n\n\nvar $4d675a29776046a6$var$path = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$path);\n\nvar $4d675a29776046a6$var$http = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$http);\n\nvar $4d675a29776046a6$var$https = $4d675a29776046a6$var$_interopRequireWildcard($6OClt$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 $6OClt$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 $6OClt$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 $6OClt$url.URL(this.requestURL).pathname).length ? c = $4d675a29776046a6$var$path.basename(new $6OClt$url.URL(this.requestURL).pathname) : c = new $6OClt$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 $6OClt$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}($6OClt$events.EventEmitter);\n\n\n\n\n\nvar $9ne19 = parcelRequire(\"9ne19\");\n\nconst { appendFile: $55703262513e8a67$var$appendFile } = (0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$os.tmpdir)(), fileName);\n const dl = new (0, $4d675a29776046a6$exports.DownloaderHelper)(keyUrl, (0, $6OClt$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, $6OClt$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, $6OClt$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\nlet $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, $6OClt$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 = $6OClt$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($6OClt$fs);\n\nconst $b6359893e987d0a9$var$mm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"ktIRP\")));\n\nconst $b6359893e987d0a9$var$os = $b6359893e987d0a9$var$__importStar($6OClt$os);\n\nconst $b6359893e987d0a9$var$path = $b6359893e987d0a9$var$__importStar($6OClt$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($6OClt$stream);\n\nconst $b6359893e987d0a9$var$util = $b6359893e987d0a9$var$__importStar($6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $6OClt$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 $6OClt$assert.ok($b6359893e987d0a9$var$IS_MAC, \"extractXar() not supported on current OS\");\n $6OClt$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 $6OClt$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 $6OClt$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, $6OClt$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $ceI0e.join)((0, $6OClt$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, $6OClt$os.tmpdir)(), `${Date.now()}-${(0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$fs.statSync);\n opts.mkdirSync = opts.mkdirSync || optsFs.mkdirSync || (0, $6OClt$fs.mkdirSync);\n return resolved;\n};\n\n\nconst $d1360c07373ce87f$export$fa6f1b792dc805a5 = (path, options, made)=>{\n const parent = (0, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.resolve)(path);\n if ($d1995f79f946ef1b$var$platform === \"win32\") {\n const badWinChars = /[*|\"<>?:]/;\n const { root: root } = (0, $6OClt$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, $6OClt$fs.mkdirSync);\nconst $47b88f304ce53f29$export$875f149e5ea533c1 = Object.assign(!$47b88f304ce53f29$var$hasNative ? ()=>false : (opts)=>(0, $213efe4d38824bb3$export$edfda2f049ea6cd1)(opts).mkdir === (0, $6OClt$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, $6OClt$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, $6OClt$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}\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: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\",\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\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($6OClt$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(\"8Rlq7\"));\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, $6OClt$path.parse)((0, $6OClt$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 $6OClt$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($6OClt$os))) && typeof (0, ($parcel$interopDefault($6OClt$os))).version === \"function\")) return null;\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($6OClt$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($6OClt$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(\"g7Ve0\"));\n const dmg = new ArchiveHdi(path);\n await dmg.read(async (entry)=>{\n await entry.extract((0, $6OClt$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\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\n\n\n\n\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $6OClt$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $bd769018416dc7f2$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $bd769018416dc7f2$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\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/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\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)()) 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 } else {\n (0, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) 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 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(version, 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 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$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 = $6OClt$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 = $6OClt$process.env[\"ProgramFiles(x86)\"];\nconst $02d923838c94048f$var$PROGRAM_FILES = [\n $6OClt$process.env[\"ProgramFiles(x86)\"],\n $6OClt$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 = $6OClt$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 && $6OClt$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 ($6OClt$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 ($6OClt$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 ($6OClt$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 $6OClt$process.env.PATH += $6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$path.join)((0, $6OClt$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, $6OClt$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 = $6OClt$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, $6OClt$path.delimiter)}${ld}`, (0, $447038b429c54f91$export$9460b536668416ce)),\n (0, $e29913a1d9c29856$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $6OClt$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 = $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$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, $6OClt$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $6OClt$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, $6OClt$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.52c85c82.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.60e051e1.js\"))).then(() => parcelRequire('4kQHk'));","module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"hdi.647acde1.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\"\n/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport which from \"which\"\nimport type { InstallationInfo } from \"./InstallationInfo.js\"\nimport { getBrewBinDir, setupBrew } from \"./install.js\"\n\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","// 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n // mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // 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 gcc: {\n 24: \"13\",\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\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 { info, warning } from \"ci-log\"\nimport type { ExecaReturnValue } from \"execa\"\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 { 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\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url:\n `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string, 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 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 } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n 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 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(version: 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 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 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 { 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,C+CtDAC,CAAA,C9DRAC,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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AqW,QAAA,GAEArW,EAAA,CAAAb,IAAA,CAAU,sCACd,G,eHlPO,KAAM,CAAAsW,EAAA,CAAkB,I,EDCnBsH,EAAA,CAAA7E,EAAA,GAAAA,EAAA,M,qHKCL,KAAM,CAAAX,EAAA,CAAwB,SxBeT7hB,CAAkB,EAC5C,GAAM,CAAAC,CAAA,CAAW,GAAI,CAAA0J,GAAA,CAAI3J,CAAA,EAEzB,IAAK,GAAM,CAAAE,CAAA,GAAW,CAAAF,CAAA,CACpBC,CAAA,CAASuoC,GAAG,CAAC,OAAO3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EACrCD,CAAA,CAASuoC,GAAG,CAAC,YAAY3B,IAAI,CAAC3mC,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GwBxBiD,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,EAGKuhB,EAAA,CAA6B,GAAI,CAAA7X,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E+X,EAAA,CAAqB,GAAI,CAAA/X,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,EAOKgY,EAAA,CAAiC,GAAI,CAAAkmB,GAAA,GAQrC/lB,EA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,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/lefthook.yml b/lefthook.yml index 2931e8e7..bfb4a58b 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -4,4 +4,4 @@ pre-commit: test.lint: run: pnpm run test.lint build: - run: pnpm run clean && pnpm i && pnpm run build -- --no-color && git add ./dist + run: pnpm run clean && pnpm run build -- --no-color && git add ./dist diff --git a/packages/setup-apt/README.md b/packages/setup-apt/README.md index de72722c..842ec621 100644 --- a/packages/setup-apt/README.md +++ b/packages/setup-apt/README.md @@ -46,6 +46,34 @@ Add the update-alternatives command to the rc file **returns:** Promise +### `getAptEnv` (function) + +Get the environment variables to use for the apt command + +**Parameters:** + +- apt (`string`) - The apt command to use + +**returns:** ProcessEnv + +### `aptTimeout` (variable) + +The timeout to use for apt commands +Wait up to 300 seconds if the apt-get lock is held + +### `hasNala` (function) + +Check if nala is installed + +**returns:** boolean + +### `getApt` (function) + +Get the apt command to use +If nala is installed, use that, otherwise use apt-get + +**returns:** string + ### `isAptPackInstalled` (function) Check if a package is installed @@ -66,6 +94,8 @@ Check if a package matching a regexp is installed **returns:** Promise +### `updatedRepos` (variable) + ### `updateAptRepos` (function) Update the apt repositories @@ -76,14 +106,72 @@ Update the apt repositories **returns:** void -### `InstallationInfo` (type) +### `updateAptReposMemoized` (variable) -The information about an installation result +Update the apt repositories (memoized) -### `aptTimeout` (variable) +**Parameters:** -The timeout to use for apt commands -Wait up to 300 seconds if the apt-get lock is held +- apt - The apt command to use (optional) + +### `filterAndQualifyAptPackages` (function) + +Filter out the packages that are already installed and qualify the packages into a full package name/version + +**Parameters:** + +- packages (`AptPackage[]`) +- apt (`string`) + +**returns:** Promise + +### `qualifiedNeededAptPackage` (function) + +Qualify the package into full package name/version. +If the package is not installed, return the full package name/version. +If the package is already installed, return undefined + +**Parameters:** + +- pack (`AptPackage`) +- apt (`string`) + +**returns:** Promise + +### `initApt` (function) + +Install gnupg and certificates (usually missing from docker containers) + +**Parameters:** + +- apt (`string`) + +**returns:** Promise + +### `initAptMemoized` (variable) + +Install gnupg and certificates (usually missing from docker containers) (memoized) + +### `addAptRepository` (function) + +**Parameters:** + +- repo (`string`) +- apt (`string`) + +**returns:** Promise + +### `installAddAptRepo` (function) + +**Parameters:** + +- apt (`string`) + +**returns:** Promise + +### `InstallationInfo` (type) + +The information about an installation result ### `AptPackage` (type) @@ -115,29 +203,6 @@ await installAptPack([ ]) ``` -### `hasNala` (function) - -Check if nala is installed - -**returns:** boolean - -### `getApt` (function) - -Get the apt command to use -If nala is installed, use that, otherwise use apt-get - -**returns:** string - -### `getAptEnv` (function) - -Get the environment variables to use for the apt command - -**Parameters:** - -- apt (`string`) - The apt command to use - -**returns:** ProcessEnv - ### `AddAptKeyOptions` (type) ### `addAptKey` (function) @@ -151,10 +216,7 @@ Add an apt key **returns:** Promise ```ts -await addAptKey({ - key: "3B4FE6ACC0B21F32" - fileName: "bazel-archive-keyring.gpg", -}) +await addAptKey({ key: "3B4FE6ACC0B21F32" fileName: "bazel-archive-keyring.gpg"}) ``` ```ts diff --git a/packages/setup-apt/src/index.ts b/packages/setup-apt/src/index.ts index dcbdf0ee..0e4cb2f3 100644 --- a/packages/setup-apt/src/index.ts +++ b/packages/setup-apt/src/index.ts @@ -6,4 +6,5 @@ export * from "./get-apt.js" export * from "./init-apt.js" export * from "./install.js" export * from "./is-installed.js" +export * from "./qualify-install.js" export * from "./update.js" diff --git a/packages/setup-apt/src/init-apt.ts b/packages/setup-apt/src/init-apt.ts index 69723964..418a4608 100644 --- a/packages/setup-apt/src/init-apt.ts +++ b/packages/setup-apt/src/init-apt.ts @@ -10,11 +10,11 @@ export async function initApt(apt: string) { // Update the repos updateAptReposMemoized(apt) - const toInstall = await filterAndQualifyAptPackages(apt, [ + const toInstall = await filterAndQualifyAptPackages([ { name: "ca-certificates" }, { name: "gnupg" }, { name: "apt-utils" }, - ]) + ], apt) if (toInstall.length !== 0) { execRootSync(apt, ["install", "-y", "--fix-broken", "-o", aptTimeout, ...toInstall], { diff --git a/packages/setup-apt/src/install.ts b/packages/setup-apt/src/install.ts index 099cece1..600c4a70 100644 --- a/packages/setup-apt/src/install.ts +++ b/packages/setup-apt/src/install.ts @@ -82,7 +82,7 @@ export async function installAptPack(packages: AptPackage[], update = false): Pr // Add the repos if needed await addRepositories(apt, packages) - const needToInstall = await filterAndQualifyAptPackages(apt, packages) + const needToInstall = await filterAndQualifyAptPackages(packages, apt) if (needToInstall.length === 0) { info("All packages are already installed") diff --git a/packages/setup-apt/src/qualify-install.ts b/packages/setup-apt/src/qualify-install.ts index 5bb7371a..2070f478 100644 --- a/packages/setup-apt/src/qualify-install.ts +++ b/packages/setup-apt/src/qualify-install.ts @@ -2,6 +2,7 @@ import { warning } from "ci-log" import escapeRegex from "escape-string-regexp" import { execa } from "execa" import { getAptEnv } from "./apt-env.js" +import { getApt } from "./get-apt.js" import type { AptPackage } from "./install.js" import { isAptPackInstalled } from "./is-installed.js" import { updateAptReposMemoized, updatedRepos } from "./update.js" @@ -19,15 +20,20 @@ export enum AptPackageType { /** * Filter out the packages that are already installed and qualify the packages into a full package name/version */ -export async function filterAndQualifyAptPackages(apt: string, packages: AptPackage[]) { - return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(apt, pack)))) +export async function filterAndQualifyAptPackages(packages: AptPackage[], apt: string = getApt()) { + return (await Promise.all(packages.map((pack) => qualifiedNeededAptPackage(pack, apt)))) .filter((pack) => pack !== undefined) } -async function qualifiedNeededAptPackage(apt: string, pack: AptPackage) { - // Qualify the packages into full package name/version +/** + * Qualify the package into full package name/version. + * If the package is not installed, return the full package name/version. + * If the package is already installed, return undefined + */ +export async function qualifiedNeededAptPackage(pack: AptPackage, apt: string = getApt()) { + // Qualify the package into full package name/version const qualified = await getAptArg(apt, pack.name, pack.version) - // filter out the packages that are already installed + // filter out the package that are already installed return (await isAptPackInstalled(qualified)) ? undefined : qualified } diff --git a/src/nala/nala.ts b/src/nala/nala.ts index 446d9fb5..2a74ba13 100644 --- a/src/nala/nala.ts +++ b/src/nala/nala.ts @@ -1,6 +1,10 @@ +import { tmpdir } from "os" import { execRootSync } from "admina" -import { dirname } from "patha" -import { addAptKeyViaURL, hasNala, installAptPack } from "setup-apt" +import { error, info } from "ci-log" +import { readFile, writeFile } from "fs/promises" +import { DownloaderHelper } from "node-downloader-helper" +import { dirname, join } from "patha" +import { hasNala, installAptPack, qualifiedNeededAptPackage } from "setup-apt" import which from "which" import { isUbuntu } from "../utils/env/isUbuntu.js" @@ -23,31 +27,66 @@ export async function setupNala(version: string, _setupDir: string, _arch: strin await installAptPack([{ name: "python3-apt" }]) - // https://gitlab.com/volian/nala/-/wikis/Installation - const keyFileName = await addAptKeyViaURL({ - fileName: "volian-archive-nala.gpg", - keyUrl: "https://deb.volian.org/volian/nala.key", - }) - execRootSync("/bin/bash", [ - "-c", - `echo "deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main" | tee /etc/apt/sources.list.d/volian-archive-nala.list`, - ]) + binDir = "/usr/bin" // eslint-disable-line require-atomic-updates + // If nala is available in the default repositories, install it try { - if (version !== "legacy") { - await installAptPack([{ name: "nala" }], true) - } else { - await installAptPack([{ name: "nala-legacy" }], true) + const nalaPack = await qualifiedNeededAptPackage({ name: "nala", version }) + if (nalaPack !== undefined) { + await installAptPack([{ name: nalaPack }]) + return { binDir } } } catch (err) { - await installAptPack([{ name: "nala-legacy" }], true) + // ignore + info(`Failed to install nala: ${err}`) } - binDir = "/usr/bin" // eslint-disable-line require-atomic-updates + // Nala is not available in the default repositories + // Check if the legacy version is available + try { + const nalaLegacyPack = await qualifiedNeededAptPackage({ name: "nala-legacy" }) + if (nalaLegacyPack !== undefined) { + await installAptPack([{ name: nalaLegacyPack }], true) + return { binDir } + } + } catch (err) { + // ignore + info(`Failed to install nala-legacy: ${err}`) + } + + // Install via the installer script + await setupNalaViaInstaller() return { binDir } } +async function setupNalaViaInstaller() { + const installer = new DownloaderHelper( + "https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh", + tmpdir(), + { fileName: "install-nala.sh" }, + ) + installer.on("error", (err) => { + throw new Error(`Failed to download install-nala.sh: ${err}`) + }) + await installer.start() + + const installerPath = join(tmpdir(), "install-nala.sh") + + // Patch the installer script to not use sudo explicitly + const script = await readFile(installerPath, "utf8") + await writeFile(installerPath, script.replace(/sudo/g, "")) + + await installAptPack([{ name: "wget" }]) + + try { + execRootSync("bash", [installerPath]) + } catch (err) { + error(`Failed to install nala via installer: ${err}`) + execRootSync("apt", ["install", "-y", "-t", "nala", "nala"]) + } +} + export function bashWithNala(script: string) { if (hasNala()) { return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`