#!/usr/bin/env node let e,t,r,n,i,o,a,s,l,u;function c(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function p(e){return e&&e.__esModule?e.default:e;}function d(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){d(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 f(e,t){let r;let n=e.options.env||process.env,i=process.cwd(),o=null!=e.options.cwd,a=o&&void 0!==process.chdir&&!process.chdir.disabled;if(a)try{process.chdir(e.options.cwd);}catch(e){}try{r=rV.sync(e.command,{path:n[rW({env:n})],pathExt:t?ie.delimiter:void 0});}catch(e){}finally{a&&process.chdir(i);}return r&&(r=ie.resolve(o?e.options.cwd:"",r)),r;}function h(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 m(e,t){return i3&&1===e&&!t.file?h(t.original,"spawn"):null;}function g(e,t,r){let n=rG(e,t,r),i=ru.spawn(n.command,n.args,n.options);return r0.hookChildProcess(i,n),i;}function v(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;}function E(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 y({env:e=p(rm).env,...t}={}){let r=E({env:e={...e}});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=p(rm).cwd(),path:n=p(rm).env[E()],execPath:i=p(rm).execPath}=e,o=i instanceof URL?p(rg).fileURLToPath(i):i,a=r instanceof URL?p(rg).fileURLToPath(r):r,s=p(rf).resolve(a),l=[];for(;t!==s;)l.push(p(rf).join(s,"node_modules/.bin")),t=s,s=p(rf).resolve(s,"..");return l.push(p(rf).resolve(a,o,"..")),[...l,n].join(p(rf).delimiter);}(t),e;}function w(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function b(e){return w(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function x(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()<=r5.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oV(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oX());});}),n.getBufferedValue();}function D(e,t,r){let n;let i=ac(e,t,r),o=o9(e,t),a=o7(e,t);al(a,i.options),oj(i.options);try{n=p(rh).spawn(i.file,i.args,i.options);}catch(t){let e=new(p(rh).ChildProcess)();return o4(e,Promise.reject(of({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:a,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let s=o5(n),l=oF(n,i.options,s),u=oq(n,i.options,l),c={isCanceled:!1};n.kill=o_.bind(null,n.kill.bind(n)),n.cancel=oU.bind(null,n,c);let d=r1(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:s},l,p,d]=await o1(n,i.options,u),f=ap(i.options,l),h=ap(i.options,p),m=ap(i.options,d);if(e||0!==t||null!==r){let l=of({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:a,parsed:i,timedOut:s,isCanceled:c.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:a,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return oJ(n,i.options),n.all=oQ(n,i.options),oH(n),o4(n,d),n;}function S(e,t,r){let n;let i=ac(e,t,r),o=o9(e,t),a=o7(e,t);al(a,i.options);let s=oK(i.options);try{n=p(rh).spawnSync(i.file,i.args,{...i.options,input:s});}catch(e){throw of({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:a,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=ap(i.options,n.stdout,n.error),u=ap(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=of({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:a,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:a,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function T(){return(process.getuid?.()===0||!!process.env.CI)&&null!==p(rP).sync("sudo",{nothrow:!0});}function N(e,t=[],r=ah){return T()?function(e,t){let[r,...n]=ae(e);return S(r,n,t);}(I(e,t),r):S(e,O(t),r);}function R(e,t=[],r=ah){return T()?function(e,t){let[r,...n]=ae(e);return D(r,n,t);}(I(e,t),r):D(e,O(t),r);}function I(e,t){return"sudo "+O([e,...t]).join(" ");}function O(e){return e.map(e=>`'${e}'`);}async function A(e){if(("linux"===process.platform||"darwin"===process.platform)&&T()&&void 0!==process.env.SUDO_USER){let t=p(it).statSync(e).isDirectory();await R("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],ah);}}function C(e){let t=function(){if(T()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,ie.join)("/Users/",process.env.SUDO_USER):(0,ie.join)("/home/",process.env.SUDO_USER);{let e=(0,n7.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(am,t);}function _(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}l((n=n.apply(e,t||[])).next());});}function L(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,r[0]&&(s=0)),s;)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 s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){s=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]{let[{error:e,exitCode:t,signal:r,timedOut:s},l,p,d]=await aB(n,i.options,u),f=a8(i.options,l),h=a8(i.options,p),m=a8(i.options,d);if(e||0!==t||null!==r){let l=av({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:a,parsed:i,timedOut:s,isCanceled:c.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:a,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return aM(n,i.options),n.all=aF(n,i.options),aL(n),aV(n,d),n;}function U(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return k(function(){if(void 0===e){let t=p(rP).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=p(rP).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function M(e,t,r=sn){let n=function(e,t=!1){let r=t?p(nb)(e):e;return p(nx)(r,'"',"\\");}(t??"",r.shouldEscapeSpace);try{if(rO.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nw.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,nw.exportVariable)(e,n);}catch(t){(0,rA.error)(t),await j(e,n,r);}else await j(e,n,r);}catch(t){(0,rA.error)(t),(0,nw.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function F(e){if(!(si.some(t=>t.test(e))&&(process.env.PATH?.split(ie.delimiter)??[]).includes(e))){process.env.PATH=`${e}${ie.delimiter}${process.env.PATH}`;try{if(rO.GITHUB_ACTIONS)try{(0,nw.addPath)(e);}catch(t){(0,rA.error)(t),await q(e);}else await q(e);}catch(t){(0,rA.error)(t),(0,nw.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function j(e,t,r){let n=t??"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nw.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await U(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,nw.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await B(),r.shouldAddOnlyIfNotDefined?((0,it.appendFileSync)(so,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi `),(0,nw.info)(`if not defined ${e} then ${e}="${n}" was added to "${so}`)):((0,it.appendFileSync)(so,` export ${e}="${n}" `),(0,nw.info)(`${e}="${n}" was added to "${so}`));return;}process.env[e]=n;}async function q(e){switch(process.platform){case"win32":await U(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,nw.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await B(),(0,it.appendFileSync)(so,` export PATH="${e}:$PATH" `),(0,nw.info)(`"${e}" was added to "${so}"`);return;default:return;}}async function B(){if(sa)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if((await(0,nD.pathExists)(so))&&(0,it.readFileSync)(so,"utf8").includes(e))return;(0,it.appendFileSync)(so,` ${e} `),(0,nw.info)(`Added ${e} to ${so}`);let t=` # source .cpprc if SOURCE_CPPRC is not set to 0 if [[ "$SOURCE_CPPRC" != 0 && -f "${so}" ]]; then source "${so}"; fi `;try{let e=C("~/.profile");(0,it.appendFileSync)(e,t),(0,nw.info)(`${t} was added to ${e}`);let r=C("~/.bashrc");(0,it.appendFileSync)(r,t),(0,nw.info)(`${t} was added to ${r}`);}catch(e){(0,rA.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sa=!0;}async function G(){if(await(0,nD.pathExists)(so)){let e=[...new Set((0,it.readFileSync)(so,"utf-8").split("\n").reverse())].reverse();(0,it.writeFileSync)(so,e.join("\n")),await A(so);}}async function H(e,t=!1){let r;let n=z()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,rA.info)(`Installing ${t} ${r??""} via ${n}`);process.env.DEBIAN_FRONTEND="noninteractive",(!sl||t)&&(W(n),sl=!0),su||(await K(n),su=!0);let i=[...new Set(e.flatMap(e=>e.repositories??[]))];if(0!==i.length){for(let e of i)N("add-apt-repository",["-y",e]);W(n);}let o=await Promise.all(e.map(e=>X(e.name,e.version)));try{N(n,["install","--fix-broken","-y",...o]);}catch(e){if("stderr"in e){let t=e.stderr;sc.some(e=>t.includes(e))&&((0,rA.warning)(`Failed to install packages ${o}. Retrying...`),N(n,["install","--fix-broken","-y",...o]));}else throw e;}return{binDir:"/usr/bin/"};}async function V(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await D("apt-cache",["search","--names-only",`^${(0,nS.default)(e)}-${(0,nS.default)(t)}$`]);if(""!==r.trim())return 0;try{let{stdout:r}=await D("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return 1;}catch{}}try{let{stdout:t}=await D("apt-cache",["show",e]);if(""!==t.trim())return 2;}catch{}return 3;}async function X(e,t){switch(await V(e,t)){case 0:return`${e}-${t}`;case 1:return`${e}=${t}`;case 2:return e;default:throw Error(`Could not find package ${e} ${t??""}`);}}function z(){return null!==p(rP).sync("nala",{nothrow:!0});}function W(e){N(e,"nala"!==e?["update","-y"]:["update"]);}async function K(e){N(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[J(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),J(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(M("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),M("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function Y(){N("gpg",["-k"]);}async function J(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,nD.pathExists)(n))||(Y(),await Promise.all(e.map(async e=>{await R("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await R("chmod",["644",n]);}))),n;}catch(e){(0,rA.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function Q(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,nD.pathExists)(r))||(Y(),await H([{name:"curl"},{name:"ca-certificates"}],void 0),await D("curl",["-s",t,"-o","/tmp/"+e]),N("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),N("chmod",["644",r])),r;}async function Z(e,t,r=40){return rO.GITHUB_ACTIONS?R("update-alternatives",["--install","/usr/bin/"+e,e,t,r.toString()]):(await B(),ss(so,` if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} ${r}; fi `));}async function ee(e){try{let{stdout:t}=await D("dpkg",["-l",e]);return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function et(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=p(rP).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,nN.dirname)(i)};let o=p(ie).join((0,n7.tmpdir)(),"setup-cpp","brew");await(0,nR.mkdirP)(o),S("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let a=(0,ie.join)(o,"install.sh");return"linux"===process.platform&&(0,it.readFileSync)(a,"utf-8").replace("#!/bin/bash",""),S("/bin/bash",[a],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=er(),await F(t),{binDir:t};}function er(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function en(e,t,r=[]){(0,nw.info)(`Installing ${e} ${t??""} via brew`),sp&&null!==p(rP).sync("brew",{nothrow:!0})||(await et("","",process.arch),sp=!0);let n=er();return S((0,nN.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function ei(e,t,n){if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let i=p(rP).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,nN.dirname)(i)};let o="powershell.exe",a=p(rP).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==a&&(o=a),S(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 s=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await F(s);let l=p(rP).sync("choco",{nothrow:!0});if(r=null!==l?(0,nN.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nD.pathExists)(r))return{binDir:r};}async function eo(e,t,r=[]){(0,rA.info)(`Installing ${e} ${t??""} via chocolatey`),sd&&null!==p(rP).sync("choco",{nothrow:!0})||(await ei("","",process.arch),sd=!0);let n=process.env.PATH,i={...process.env};if(delete i.TMP,delete i.TEMP,delete i.Path,i.PATH=n,void 0!==t&&""!==t)S("choco",["install","-y",e,"--version="+t,...r],{env:i,extendEnv:!1,stdio:"inherit"});else try{S("choco",["install","-y",e,...r],{env:i,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rA.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 F(o),{binDir:o};}function ea(){return"linux"===process.platform&&(void 0===s&&(s=null!==p(rP).sync("pacman",{nothrow:!0})),s);}function es(){return"linux"===process.platform&&(void 0===l&&(l=null!==p(rP).sync("dnf",{nothrow:!0})),l);}async function el(e){for(let{name:t,version:r}of e)(0,rA.info)(`Installing ${t} ${r??""} via dnf`);return N("dnf",["-y","install",...(await Promise.all(e.map(e=>eu(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function eu(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await D("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await D("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rA.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function ec(){return"linux"===process.platform&&(void 0===u&&(u=null!==p(rP).sync("apt-get",{nothrow:!0})),u);}async function ep(e,t,r){switch(process.platform){case"win32":return eo("bazelisk",e);case"darwin":return en("bazelisk",e);case"linux":if(ea())throw Error("installing bazel on Arch linux is not supported yet");if(es())return await el([{name:"dnf-plugins-core"}]),N("dnf",["copr","enable","vbatts/bazel"]),el([{name:"bazel4"}]);if(ec()){let t=await Q("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return N("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`]),H([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function ed(e,t,r){(0,rA.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===p(rP).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);sf||"yay"===r||(N(n,["-Sy","--noconfirm"]),sf=!0),sh||"yay"===r||(N(n,["-S","--noconfirm","base-devel"]),sh=!0);let i=e=>"yay"===r?S(r,["-S","--noconfirm",e]):N(r??n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await ef(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rA.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ef(e,t){let r=[];try{let{stdout:n}=await D(e,["-Si",t]);for(let e of n.matchAll(sm))r.push(e[1]);}catch(e){(0,rA.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function eh(e,t){let r=[];t=t||sw.arch();let n=sb.join(ew(),e);if(sE.existsSync(n)){for(let e of sE.readdirSync(n))if(eE(e)){let i=sb.join(n,e,t||"");sE.existsSync(i)&&sE.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function em(e){return nL(this,void 0,void 0,function*(){return e||(e=sb.join(eb(),sN.default())),yield sv.mkdirP(e),e;});}function eg(e,t,r){return nL(this,void 0,void 0,function*(){let n=sb.join(ew(),e,sD.clean(t)||t,r||"");sg.debug("destination "+n);let i=`${n}.complete`;return yield sv.rmRF(n),yield sv.rmRF(i),yield sv.mkdirP(n),n;});}function ev(e,t,r){let n=sb.join(ew(),e,sD.clean(t)||t,r||""),i=`${n}.complete`;sE.writeFileSync(i,""),sg.debug("finished caching tool");}function eE(e){let t=sD.clean(e)||"";sg.debug("isExplicit: "+t);let r=null!=sD.valid(t);return sg.debug("explicit? "+r),r;}function ey(e,t){let r="";sg.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>sD.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(sD.satisfies(i,t)){r=i;break;}}return r?sg.debug("matched: "+r):sg.debug("match not found"),r;}function ew(){let e=process.env.RUNNER_TOOL_CACHE||"";return ra.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eb(){let e=process.env.RUNNER_TEMP||"";return ra.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function ex(e,t){let r=rS[e];return void 0!==r?r:t;}function eD(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,a;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new sC(r.name+" timed out",a));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(s){i&&clearTimeout(i),o&&clearTimeout(o),a=s,r.report&&r.report(s&&s.toString()||s,r,s);var l=r.$current(0,nI.downloadTool)(o),{name:o,max:4,backoffBase:2e3,report:e=>(0,rA.info)(e)});s_||((0,rA.info)("Installing extraction dependencies"),"linux"===process.platform&&(ea()?await Promise.all([ed("unzip"),ed("tar"),ed("xz")]):es()?await el([{name:"unzip"},{name:"tar"},{name:"xz"}]):ec()&&(await H([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),s_=!0),(0,rA.info)(`Extracting ${r} to ${n}`),await u?.(r,n);}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${o}: ${r}`);}return(0,rA.info)(`Add ${d} to PATH`),await F(d),rO.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nI.cacheDir)(n,e,t)),{installDir:c,binDir:d};}function eT(e,t,r){switch(process.platform){case"win32":return eo("7zip",e);case"darwin":return en("p7zip",e);case"linux":if(ea())return ed("p7zip",e);if(es())return el([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(ec())return H([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eN(e,t){return await D(await eR(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await A(t),t;}async function eR(){return void 0===n&&(null===p(rP).sync("7z",{nothrow:!0})&&(await eT("","",process.arch)),n="7z"),n;}function eI(e,t){return eN(e,t);}function eO(e,t){return eN(e,t);}async function eA(e,t,r=["--strip-components=0"]){try{await(0,nR.mkdirP)(t);}catch{}try{await D("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,rA.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return A(t),t;}function eC(e,t,r){let n=p(nB)(e)??e;switch(t){case"win32":{let t;let i=p(nq)(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,nN.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eO,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=p(nq)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,nN.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nI.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=p(nq)(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,nN.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nI.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function e_(e,t,r){return eS("cmake",e,eC,t,r);}function eL(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:nV.call(e,0):[];}function e$(e,t){return e===t||e!=e&&t!=t;}function eP(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function ek(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return ek(e.fn,eP(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,a=t.maxSize,s=t.onCacheAdd,l=t.onCacheChange,u=t.onCacheHit,c=t.transformKey,p=eP({isEqual:void 0===r?e$:r,isMatchingKey:n,isPromise:o,maxSize:void 0===a?1:a,onCacheAdd:s,onCacheChange:l,onCacheHit:u,transformKey:c},function(e){var t={};for(var r in e)nH[r]||(t[r]=e[r]);return t;}(t)),d=new nX(p),f=d.keys,h=d.values,m=d.canTransformKey,g=d.shouldCloneArguments,v=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,y=d.shouldUpdateOnHit,w=function(){var t=g?eL(arguments):arguments;m&&(t=c(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)y&&u(d,p,w),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,w));else{var n=e.apply(this,arguments),i=g?t:eL(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(w),v&&s(d,p,w),E&&l(d,p,w);}return h[0];};return w.cache=d,w.fn=e,w.isMemoized=!0,w.options=p,w;}function eU(e,t){return new Promise(r=>{try{let n=(0,io.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 eM(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return p(nK)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eF(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await nW(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 eM(e,r)){let e=await n(t,o);if(null!==e){if(await nW(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function ej(e,t=sL){try{let r=await(0,nP.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return p(nB)(i)??void 0;}catch(e){console.error(e);return;}}async function eq(e,t,r=sL){let n=await ej(e,r);return void 0!==n&&""!==t&&-1!==p(nK)(n,t);}function eB(){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 eG(e,t,r){let n=await eX(e,t,r);p(ra)(void 0!==n.bin);let i=n.bin;if(void 0===(await eY(i)))throw Error("pip was not installed correctly");return await eH(i),await eV(i),n;}async function eH(e){try{if(!(await e7(e)))try{await e9(e,"pipx",void 0,{upgrade:!0,usePipx:!1});}catch(e){if(null===to("pipx",!1))throw Error("pipx was not installed correctly "+e);}await D(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e9(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rA.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eV(e){try{await e9(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e9(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rA.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eX(e,t,r){let n;let i=await eW(t);if(void 0!==i){let e=(0,nN.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rO.GITHUB_ACTIONS)try{(0,rA.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rR("4JiFg");await o(e,t,r),i=await eW(t);let a=(0,nN.dirname)(i);n={bin:i,installDir:a,binDir:a};}catch(e){(0,rA.warning)(e.toString());}void 0===n&&(n=await ez(t,e));}return(void 0===i||void 0===n.bin)&&(i=await eW(t),n.bin=i),n;}async function ez(e,t){let r;switch(process.platform){case"win32":{e?await eo("python3",t,["--params=/InstallDir:"+e]):await eo("python3",t);let n=await eW(e),i=(0,nN.dirname)(n);await F(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await en("python3",t);let e=await D("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,nN.join)(e.stdout,"libexec","bin");await F(n);break;}case"linux":if(ea())r=await ed("python",t);else if(es())r=await el([{name:"python3",version:t}]);else if(ec())r=await H([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function eW(e){for(let t of["python3","python"]){let r=await eK(t,e);if(void 0!==r)return r;}}async function eK(e,t){try{if(void 0!==t){let r=(0,nN.join)(t,(0,nN.addExeExt)(e));if((await(0,nD.pathExists)(r))&&(await eq(r,sP.python)))return r;}for(let t of(await p(rP)(e,{nothrow:!0,all:!0}))??[])if(await eq(t,sP.python))return t;}catch{}}async function eY(e){let t=await eJ();return void 0===t?((0,rA.info)("pip was not found. Installing pip"),await eZ(e),eJ()):t;}async function eJ(){for(let e of["pip3","pip"]){let t=await eQ(e);if(void 0!==t)return t;}}async function eQ(e){try{for(let t of(await p(rP)(e,{nothrow:!0,all:!0}))??[])if(null!==t&&(await eq(t,sP.pip)))return t;}catch{}}async function eZ(e){(await e0(e))||(await to("pip"),await e0(e));}async function e0(e){try{return await D(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,rA.info)(t.toString());try{return await D(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rA.info)(e.toString());}}return!1;}async function e1(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nP.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,nN.join)(r,"Scripts"),(0,nN.join)(r,"Scripts","bin"),(0,nN.join)(r,"bin")),[...new Set(t)];}function e3(e,t,r=null){return e2(t)&&"linux"===process.platform&&null!==r&&e in sk?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,sk[e]):e2(t)&&e in s$?s$[e]:"true"===t?"":t??"";}function e2(e){return"true"===e||void 0===e;}async function e4(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{ru.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,a)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${a})`));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 a=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(a&&(i=a),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 e5(){try{if(!ec())return null;{try{null===p(rP).sync("lsb_release",{nothrow:!0})&&(await H([{name:"lsb-release"}]));}catch{return e6();}let e=await(0,nJ.getUbuntuVersion)();if(0===e.length)return e6();return e;}}catch(e){return(0,rA.warning)(e.toString()),null;}}function e6(){let e=p(n7).version().split("."),t=parseInt(e[0].replace("#",""),10);return[t,parseInt(e[1].replace("~",""),10),parseInt(e[2].split("-")[0],10)];}async function e8(e,t,r={}){return e9(await s3(),e,t,r);}async function e9(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:a=!1,isLibrary:s=!1}=n,l=i&&!s&&(await e7(e)),u=l?"pipx":"pip";if(await tn(e,t))try{(0,nw.info)(`Installing ${t} ${r??""} via ${u}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await s0(),i.PIPX_BIN_DIR=await s1()),S(e,["-m",u,...(a?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,nw.info)(`Failed to install ${t} via ${u}: ${e}.`),(await to(t))===null)throw Error(`Failed to install ${t} via ${u}: ${e}.`);}else if((await to(t))===null)throw Error(`Failed to install ${t} as it was not found via ${u} or the system package manager`);let c=await sU(e),p=await ti(c,t);return await F(p),{binDir:p};}async function e7(e){return 0===(await D(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function te(){let e=process.env.PIPX_HOME;if(void 0!==e)return e;let t=C("~/.local/pipx");if(await(0,nD.pathExists)(t))return t;switch(process.platform){case"win32":e=C("~/AppData/Local/pipx");break;case"darwin":e=C("~/Library/Application Support/pipx");break;default:e=C("~/.local/share/pipx");}return await sZ(e),await sZ((0,nN.join)(e,"trash")),await sZ((0,nN.join)(e,"shared")),await sZ((0,nN.join)(e,"venv")),e;}async function tt(){if(void 0!==process.env.PIPX_BIN_DIR)return process.env.PIPX_BIN_DIR;let e=C("~/.local/bin");return await F(e),await sZ(e),e;}async function tr(){let e=(await eG(e3("python",void 0,await sM()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function tn(e,t){return 0===(await D(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function ti(e,t){let r=(await Promise.all(e.map(e=>(0,nD.pathExists)((0,nN.join)(e,(0,nN.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=p(rP).sync((0,nN.addExeExt)(t),{nothrow:!0});return null!==n?(0,nN.dirname)(n):e[e.length-1];}function to(e,t=!0){if("linux"===process.platform){if((0,nw.info)(`Installing ${e} via the system package manager`),ea())return ed(t?"python-"+e:e);if(es())return el([{name:t?"python3-"+e:e}]);if(ec())return H([{name:t?"python3-"+e:e}]);}return null;}async function ta(e,t,r){switch(process.platform){case"win32":return await eo("cppcheck",e),{binDir:await ts()};case"darwin":return en("cppcheck",e);case"linux":if(ea())return ed("cppcheck",e);if(es())return el([{name:"ccache",version:e}]);if(ec())return H([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function ts(){let e="C:/Program Files/Cppcheck";return await F(e),e;}async function tl(e,t,r){switch(process.platform){case"win32":return await eo("graphviz",e),tu();case"darwin":return en("graphviz",e);case"linux":if(ea())return ed("graphviz",e);if(es())return el([{name:"graphviz",version:e}]);if(ec())return H([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tu(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await F(e),{binDir:e};}throw Error("Unsupported platform");}function tc(e){let t=null,r=null,n=[],i=new nQ({locator:{},errorHandler:{warning(e){},error(e){n.push(e);},fatalError(e){n.push(e);}}}).parseFromString(e,"text/xml");if(n.length)throw Error("XML decode error: "+n[0]);let{childNodes:o}=i,a=i.documentElement||null;for(let e=0,n=o.length;n>e;e++){let n=o[e];if(n===a)break;let i=n.toString();/^<\?xml[^>]*\?>$/.test(i)&&(t=i),/^]*>$/.test(i)&&(r=i);}if(!a)throw Error("XML decode error: No document element");return{declaration:t,doctype:r,documentElement:a};}function tp(e){let{childNodes:t}=e,r=[];for(let n=0,i=t.length;i>n;n++){let i=t[n];if("tagName"in i){r.push(i);continue;}let{nodeValue:o}=i;if(o&&!/^\s*$/.test(o))throw Error("Found text children of: "+e.tagName);}return r;}function td(e){let{childNodes:t}=e,r=null;for(let n=0,i=t.length;i>n;n++){if(n)throw Error("Multiple child elements in: "+e.tagName);let i=t[n];if(!("tagName"in i)&&"data"in i&&"nodeValue"in i)r=i;else throw Error("Unexpected child element in: "+e.tagName);}return r;}function tf(e,t){if(e.tagName!==t)throw Error("Unexpected tagName: "+t);}function th(e){let t=e.length,r="";for(let n=0;t>n;){let i=e[n++],o=t>n?e[n++]:null,a=t>n?e[n++]:null,s=i<<16|(o||0)<<8|(a||0);r+=s6[s>>18]+s6[s>>12&s5]+s6[null===o?64:s>>6&s5]+s6[null===a?64:s&s5];}return r;}function tm(e){if("number"==typeof e&&!Number.isInteger(e))throw Error("Value not an integer: "+e);}async function tg(e,t){let r=new lu(),{devices:n,eject:i}=await r.attach(e),o=n[0];await R("cp",["-R",`${o.mountPoint}/`,t]),await i();}function tv(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,nN.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nI.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,nN.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eO,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}case"darwin":{let t="Doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,nN.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:tg,url:`https://doxygen.nl/files/${t}.dmg`};}default:throw Error(`Unsupported platform '${t}'`);}}async function tE(e,t,r){switch(process.platform){case"win32":{await p(nG)(()=>eo("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rA.info)(e)});let t=await ty();return await tl(e3("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let n;try{n=await eS("doxygen",e,tv,t,r);}catch{n=await en("doxygen",void 0);}return s4()[0]>11&&(await tl(e3("graphviz",void 0),"",r)),n;}case"linux":{let n;if(""===e||ea()||es()){if(ea())n=await ed("doxygen",e);else if(es())return el([{name:"doxygen",version:e}]);else if(ec())n=await H([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(ec())try{n=await eS("doxygen",e,tv,t,r);try{await H([{name:"libclang-cpp9"}]);}catch(e){(0,rA.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rA.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await H([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await tl(e3("graphviz",void 0,await sM()),"",r),n;}default:throw Error("Unsupported platform");}}async function ty(){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,nD.pathExists)((0,nN.join)(e,"doxygen.exe")))return await F(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tw(){if("darwin"===process.platform)try{let e=await(0,nP.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await M("SDKROOT",t.trim()):(0,rA.error)("SDKROOT not set");}catch(e){(0,rA.error)(e);}}function tb(e,t,r){if("win32"===t){let t=lc[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,nN.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eN,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 tx(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await eo("gcc-arm-embedded",e));try{i=await eS("g++",e,tb,t,r);}catch(t){(0,rA.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tS(e,r);}break;case"darwin":i=await en("gcc",e);break;case"linux":"x64"===r?ea()?i=await ed("gcc",e):es()?i=await el([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):ec()&&(i=await H([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,rA.info)(`Install g++-multilib because gcc for ${r} was requested`),ea()?await ed("gcc-multilib",e):ec()&&(await H([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await tT(e,i.binDir,n),i;}async function tD(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tx(e,t,r);case"linux":ea()?n=await ed("mingw-w64-gcc",e):es()?n=await el([{name:"mingw64-gcc",version:e}]):ec()&&(n=await H([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tS(e,t){let r;if(await eo("mingw",e),"x64"===t&&(await(0,nD.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await F(r)):"ia32"===t&&(await(0,nD.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await F(r)):(await(0,nD.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 tT(e,t,r=40){let n=[];if("win32"===process.platform)n.push(M("CC",(0,nN.addExeExt)(`${t}/gcc`)),M("CXX",(0,nN.addExeExt)(`${t}/g++`)));else{let i=p(n0)(p(nB)(e)??e);i>=5?(n.push(M("CC",`${t}/gcc-${i}`),M("CXX",`${t}/g++-${i}`)),ec()&&n.push(Z("cc",`${t}/gcc-${i}`,r),Z("cxx",`${t}/g++-${i}`,r),Z("gcc",`${t}/gcc-${i}`,r),Z("g++",`${t}/g++-${i}`,r))):(n.push(M("CC",`${t}/gcc-${e}`),M("CXX",`${t}/g++-${e}`)),ec()&&n.push(Z("cc",`${t}/gcc-${e}`,r),Z("cxx",`${t}/g++-${e}`,r),Z("gcc",`${t}/gcc-${e}`,r),Z("g++",`${t}/g++-${e}`,r)));}n.push(tw()),rO.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,nN.join)(n1,"gcc_matcher.json");if(!(await(0,nD.pathExists)(e)))return(0,rA.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rA.info)("::add-matcher::"+e);}function tR(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,nN.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eO,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tI(e,t,r){return eS("ninja",e,tR,t,r);}function tO(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,nN.addExeExt)("kcov"),extractFunction:eA};}function tA(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,nN.addExeExt)("kcov"),extractFunction:tC};}async function tC(e,t){let r=await eA(e,t,["--strip-components=1"]),n=await t_();"linux"===process.platform&&(ea()?await Promise.all([ed("libdwarf"),ed("libcurl-openssl")]):es()?await el([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):ec()&&(await H([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==p(rP).sync("patch",{nothrow:!0})){let e=(0,nN.join)(n3,"gcc13.patch");await D("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rA.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,nN.join)(r,"build");return await D(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await D(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function t_(){let e=p(rP).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await e_(e3("cmake",void 0,await sM()),(0,nN.join)(C("~"),"cmake"),"");e=(0,nN.join)(t,"cmake");}return null===p(rP).sync("ninja",{nothrow:!0})&&(await tI(e3("ninja",void 0,await sM()),(0,nN.join)(C("~"),"ninja"),"")),e;}async function tL(e,t,r){var n;let i;if("linux"!==process.platform){(0,rA.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),a=(n=o[0]).match(/^v/)?n:"v"+n,s=o[1],l=parseInt(a.replace(/^v/,""),10);return 38===l&&(a="v38"),"binary"===s&&l>=39?(i=await eS("kcov",a,tO,t,r),ea()?await ed("binutils"):es()?await el([{name:"binutils"}]):ec()&&(await H([{name:"libbinutils"}]))):i=await eS("kcov",a,tA,t,r),i;}function t$(e){if(Object.values(lm).includes(e));else if(e in lm)return lm[e];return e;}function tP(e){let t;let r=t$(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return ru.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){nw.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&it.existsSync(n))return nw.info("Found with vswhere: "+n),n;nw.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(lm).includes(e));else for(let[t,r]of Object.entries(lm))if(r===e)return t;return e;}(e)]:lh;for(let e of ld)for(let t of i)for(let r of lf)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,nw.info("Trying standard location: "+n),it.existsSync(n))return nw.info("Found standard location: "+n),n;if(nw.info("Not found in standard locations"),n=`${lp}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,it.existsSync(n))return nw.info("Found VS 2015: "+n),n;throw nw.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tk(e,t,r,n,i,o,a){void 0!==t&&(await(0,nD.pathExists)(t))&&((0,rA.info)(`Adding ${t} to PATH`),await M("VCTargetsPath",t)),n5(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,a,e);}async function tU(e,t,r,n,i,o,a,s=lb){(0,nw.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:a={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,s=new Promise((s,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(lw(e)),e.addEventListener("abort",()=>{l(lw(e));});}if(n===Number.POSITIVE_INFINITY){e.then(s,l);return;}let u=new lv();r=a.setTimeout.call(void 0,()=>{if(i){try{s(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?s():o instanceof Error?l(o):(u.message=o??`Promise timed out after ${n} milliseconds`,l(u));},n),(async()=>{try{s(await e);}catch(e){l(e);}})();}).finally(()=>{s.clear();});return s.clear=()=>{a.clearTimeout.call(void 0,r),r=void 0;},s;}(tM(e,t,r,n,l,i,o),{milliseconds:s,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rA.error)(t),a.push(`${e} failed to install`);}return(0,nw.endGroup)(),l;}async function tM(e,t,r,n,i,o,a){let s;if("vcvarsall"===e)await tk(e3(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let a=lP[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,nN.join)(o,i?"llvm":e);s=await a(e3(e,t,r),l,n);}return a.push(t7(e,s)),i;}async function tF(e,t=0){let r="/usr/lib/llvm-"+e;await H([{name:"curl"}]),await D("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await tj("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await H(n),await lS("/tmp/llvm-setup-cpp.sh","755"),await R("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:lb}),await F(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tj(e,t,r,n){var i,o,a,s,l;let u=await lx(e,"utf-8");return o=n,a=u=(i=u,u=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),s=r,u=1===o?a.replace(/ -y \$PKG/g," -y clang-format-"+s):a,l=u=await tq(u),u=z()?l.replace(/apt-get/g,"nala"):l,await lD(t,u),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tq(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -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 ee(r))&&((0,rD.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tB(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tG(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tH(e){let t;if(lN.has(e))return null;let r="LLVM-",n=p(nq)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=p(nq)(e,"9.0.1"),o=!1;return i&&(t=tG(e,r,n),(await nW(t))||(o=!0)),(o||!i)&&(t=tB(e,r,n)),t;}function tV(e,t){switch(e){case"darwin":return function(e){if(lR.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return p(nq)(e,"9.0.1")?tG(e,r,n):tB(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=lI.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!lT.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eM(lT,e)[0];}else""!==n&&n in lO?t=lO[n]:(t=lO[lA],(0,rA.warning)(`Falling back to LLVM version ${lA} ${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`,p(nq)(n,"9.0.1"))?tG(n,o,r):tB(n,o,r);}(t);case"win32":return tH(t);default:return null;}}async function tX(e,t,r){let[n,i]=await eF(lT,t,e,tV);return(0,rA.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,nN.addExeExt)("clang"),extractFunction:"win32"===t?eI:(e,t)=>eA(e,t,["--strip-components=1"])};}async function tz(e,t,r){let n=await lC(e,t,r);return await tQ(n.installDir??t),n;}async function tW(e,t,r){let[n,i,o]=await Promise.all([tK(e,t,r),lL(r),tZ()]);return n;}async function tK(e,t,r,n=n6.All){let i=parseInt(function(e){if(null===p(nY)(e))try{let t=p(nB)(e);if(null!==t)return(0,rA.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(ec())return await tF(i,n);}catch(e){(0,rA.info)("Failed to install llvm via system package manager "+e);}let o=await eS("llvm",e,tX,t,r);return await l_(i),o;}async function tY(e){ec()&&(e<=10?await H([{name:"libtinfo5"}]):await H([{name:"libtinfo-dev"}]));}async function tJ(e){"linux"===process.platform&&(await tx(e3("gcc",void 0,await sM()),"",e,40));}async function tQ(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[M("LLVM_PATH",e),M("LD_LIBRARY_PATH",`${e}/lib${ie.delimiter}${t}`),M("DYLD_LIBRARY_PATH",`${e}/lib${ie.delimiter}${r}`),M("LDFLAGS",`-L"${e}/lib"`),M("CPPFLAGS",`-I"${e}/include"`),M("CC",(0,nN.addExeExt)(`${e}/bin/clang`)),M("CXX",(0,nN.addExeExt)(`${e}/bin/clang++`)),M("LIBRARY_PATH",`${e}/lib`),tw()];ec()&&n.push(Z("cc",`${e}/bin/clang`,60),Z("cxx",`${e}/bin/clang++`,60),Z("clang",`${e}/bin/clang`),Z("clang++",`${e}/bin/clang++`),Z("lld",`${e}/bin/lld`),Z("ld.lld",`${e}/bin/ld.lld`),Z("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(n);}async function tZ(){if(rO.GITHUB_ACTIONS){let e=(0,nN.join)(n8,"llvm_matcher.json");if(!(await(0,nD.pathExists)(e)))return(0,rA.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rA.info)("::add-matcher::"+e);}}async function t0(e,t,r){switch(process.platform){case"win32":return eo("make",e);case"darwin":return await en("make",e),await F("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(ea())return ed("make",e);if(es())return el([{name:"make",version:e}]);if(ec())return H([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function t1(e,t,r,n,i,o){let a,s;if("win32"!==process.platform)return;let l=n2(e);(0,rA.info)(`Checking if MSVC ${l} is already installed`);let u=!1;try{let e=n4(l);u=!0,(0,rA.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!u)try{"14.0"===l?(a="14.0",await eo("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),s="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(a="14.16",await eo("visualstudio2017buildtools","15.9.41.0",[]),s="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(a="14.29",await eo("visualstudio2019buildtools","16.11.7.0",[]),s="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(a=void 0,await eo("visualstudio2022buildtools","117.0.5.0",[]),s=void 0):(0,rA.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rA.error)(e);}await tk(l,s,r,a,n,i,o),rO.GITHUB_ACTIONS&&(await t3());}async function t3(){let e=(0,nN.join)(n9,"msvc_matcher.json");if(!(await(0,nD.pathExists)(e)))return(0,rA.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rA.info)("::add-matcher::"+e);}async function t2(e,t,r){if(!ec())return;if("string"==typeof a)return{binDir:a};let n=p(rP).sync("nala",{nothrow:!0});if(null!==n)return{binDir:a=(0,nN.dirname)(n)};let i=await Q("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");N("/bin/bash",["-c",`echo "deb [signed-by=${i}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await H([{name:"nala"}],!0):await H([{name:"nala-legacy"}],!0);}catch(e){await H([{name:"nala-legacy"}],!0);}return{binDir:a="/usr/bin"};}async function t4(e,t,r){if("win32"===process.platform)return await eo("opencppcoverage",e),{binDir:await t5()};}async function t5(){let e="C:/Program Files/OpenCppCoverage";return await F(e),e;}async function t6(e,t,r){switch(process.platform){case"win32":{await eo("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await F(t),{binDir:t};}case"darwin":return en("powershell",e,["--cask"]);case"linux":if(ea())return ed("powershell-bin",e,"yay");if(es())return el([{name:"curl"}]),N("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),el([{name:"powershell",version:e}]);if(ec()){await H([{name:"curl"}]);let t=await sM(),r=`${t[0]}.0${t[1]}`;return N("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),N("dpkg",["-i","packages-microsoft-prod.deb"]),H([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function t8(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),a="win32"===t;return{binRelativeDir:"",binFileName:(0,nN.addExeExt)("task"),extractedFolderName:"",extractFunction:a?eO:eA,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${a?"zip":"tar.gz"}`};}async function t9(e,t,r){return l$&&null!==p(rP).sync("vcpkg",{nothrow:!0})?{binDir:(0,nN.dirname)(p(rP).sync("vcpkg"))}:("linux"===process.platform&&(ea()?await Promise.all([ed("curl"),ed("zip"),ed("unzip"),ed("tar"),ed("git"),ed("pkg-config")]):es()?await el([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):ec()&&(await H([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nD.pathExists)((0,nN.join)(t,(0,nN.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rA.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):S("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,nN.dirname)(t),stdio:"inherit"}),S((0,nN.addShExt)((0,nN.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await A(t),await F(t),l$=!0,{binDir:t});}function t7(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 re(e,t,r,n,i,o,a){try{let{compiler:s,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==p(nY)(e)||(0,rA.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,nw.startGroup)(`Installing ${s} ${l??""}`),s){case"llvm":case"clang":case"clang++":{let e=await tz(e3("llvm",l,t),(0,ie.join)(r,"llvm"),n);await M("GCOV","llvm-cov gcov"),i.push(t7("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===s?e3("mingw",l,t):e3("gcc",l,t),a="mingw"===s?await tD(e,(0,ie.join)(r,"gcc"),n):await tx(e,(0,ie.join)(r,"gcc"),n);o&&(await M("CPPFLAGS","")),await function(e){let t=p(nY)(e),r=null!==t?p(n0)(t):e;return M("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(t7("gcc",a));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t1(e3("msvc",l,t),(0,ie.join)(r,"msvc"),n);o&&(await M("CPPFLAGS","")),i.push(t7("msvc",e));break;}case"appleclang":case"applellvm":(0,nw.notice)("Assuming apple-clang is already installed"),await Promise.all([M("CC","clang"),M("CXX","clang++")]),i.push(t7("apple-clang",void 0));break;default:a.push("Unsupported compiler "+s);}}catch(t){(0,rA.error)(t),a.push("Failed to install the "+e);}(0,nw.endGroup)();}async function rt(e){let t,r,n=Promise.resolve();rO.GITHUB_ACTIONS||(n=$(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let i=function(e,t){t=t||{};var r,n,i,o,a,s={_:[]},l=0,u=0,c=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=P(t.string),t.boolean=P(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=P(t.alias[r]);l0;)for(u=(n=t.alias[t.boolean[l]]||[]).length;u-->0;)t.boolean.push(n[u]);for(l=t.string.length;l-->0;)for(u=(n=t.alias[t.string[l]]||[]).length;u-->0;)t.string.push(n[u]);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])){s._=s._.concat(e.slice(++l));break;}for(u=0;u0;)s[n.shift()]=s[r];return s;}(e,{string:[...lU,"timeout"],default:Object.fromEntries(lU.map(e=>[e,function(e){let t=(0,nw.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rA.info)(` setup-cpp [options] setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true Install all the tools required for building and testing C++/C projects. --architecture the cpu architecture to install the tools for. By default it uses the current CPU architecture. --timeout the timeout for the installation of each tool in minutes. By default it is 10 minutes. --compiler the to install. You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0' --$tool_name pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1" All the available tools: `),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let o=i.architecture??process.arch,a=process.env.SETUP_CPP_DIR??C("~"),s=[],l=[],u=rL.create({autoloadLocales:!0});rL.addLocale(p(r$)),rC.addLocale(p(r_));let c=await sM();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!e2(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(i,["llvm","clangtidy","clangformat"]))return(0,rA.error)("The same version must be used for llvm, clangformat and clangtidy"),1;ea()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rA.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await ed("python-pygments"));let d=!1,f=!1;for(let e of lk){if(rO.isCI&&0!==l.length){f=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),d=await tU(e,n,c,o,a,s,l,6e4*parseFloat(i.timeout??"20")),r=Date.now(),(0,rA.info)("took "+(u.format(t,r)||"0 seconds")));}if(!f){let e=i.compiler;if(void 0!==e){let t=Date.now();await re(e,c,a,o,s,d,l);let r=Date.now();(0,rA.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await G(),0===s.length&&0===l.length)return(0,rA.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(s.forEach(e=>(0,rA.success)(e)),l.forEach(e=>(0,rA.error)(e)),(0,rA.info)("setup-cpp finished"),!rO.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rA.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rA.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var rr,rn,ri,ro,ra,rs,rl,ru,rc,rp,rd,rf,rh,rm,rg,rv,rE,ry,rw,rb,rx,rD,rS,rT,rN,rR,rI,rO,rA,rC,r_,rL,r$,rP,rk,rU,rM,rF,rj,rq,rB,rG,rH,rV,rX,rz,rW,rK,rY,rJ,rQ,rZ,r0,r1,r3,r2,r4,r5,r6,r8,r9,r7,ne,nt,nr,nn,ni,no,na,ns,nl,nu,nc,np,nd,nf,nh,nm,ng,nv,nE,ny,nw,nb,nx,nD,nS,nT,nN,nR,nI,nO,nA,nC,n_,nL,n$,nP,nk,nU,nM,nF,nj,nq,nB,nG,nH,nV,nX,nz,nW,nK,nY,nJ,nQ,nZ,n0,n1,n3,n2,n4,n5,n6,n8,n9,n7=require("os"),ie=require("path"),it=require("fs"),ir=require("crypto"),ii=require("http"),io=require("https");require("net"),ri=require("tls"),ro=require("events"),ra=require("assert"),rs=require("util"),rl=require("fs"),ru=require("child_process"),rc=require("string_decoder"),rp=require("timers"),rd=require("buffer"),rf=require("path"),rh=require("child_process"),rm=require("process"),rg=require("url"),rv=require("os"),rE=require("buffer"),ry=require("stream"),rw=require("util"),rb=require("process"),rx=require("url"),rD=require("console"),rT={},rN={},null==(rR=(rS=globalThis).parcelRequire810d)&&((rR=function(e){if(e in rT)return rT[e].exports;if(e in rN){var t=rN[e];delete rN[e];var r={id:e,exports:{}};return rT[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){rN[e]=t;},rS.parcelRequire810d=rR),(rI=rR.register)("52cQ1",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=rR("jgqtC");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));}),rI("jgqtC",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"}]');}),rI("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 a(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function l(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}c(e.exports,"error",()=>i),c(e.exports,"success",()=>o),c(e.exports,"warning",()=>a),c(e.exports,"notice",()=>s),c(e.exports,"info",()=>l),r=rR("4t50X"),n=rR("52cQ1");}),rI("4t50X",function(e,t){var r,n,i,o,a,s,l,u,c,p,d,f;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={}){a.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function g(e){a.issue("group",e);}function v(){a.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 a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}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,a=rR("dIPEE"),s=rR("aSbHp"),l=rR("i0ItD");let E=i(n7),y=i(ie);u=rR("6dNYa"),(f=c=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return s.issueFileCommand("ENV",s.prepareKeyValueMessage(e,t));a.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){a.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?s.issueFileCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${y.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 s.issueFileCommand("OUTPUT",s.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),a.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){a.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=c.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){a.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){a.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){a.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=g,e.exports.endGroup=v,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;g(e);try{r=yield t();}finally{v();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return s.issueFileCommand("STATE",s.prepareKeyValueMessage(e,t));a.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 u.OidcClient.getIDToken(e);});},p=rR("dTpO2"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rR("dTpO2"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rR("azKnO"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rI("dIPEE",function(e,t){var r,n,i,o;function a(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+s.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 s=i(n7);o=rR("i0ItD"),e.exports.issueCommand=a,e.exports.issue=function(e,t=""){a(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")));}}}),rI("i0ItD",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}:{};};}),rI("aSbHp",function(e,t){var r,n,i,o,a;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 s=i(it),l=i(n7);o=rR("e3G3w"),a=rR("i0ItD"),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(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=a.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}`;};}),rI("e3G3w",function(e,t){var r,n,i;c(e.exports,"default",()=>i),r=rR("kDGEy"),n=rR("2ckr2"),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);};}),rI("kDGEy",function(e,t){function r(){return i>n.length-16&&(p(ir).randomFillSync(n),i=0),n.slice(i,i+=16);}c(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rI("2ckr2",function(e,t){var r,n;c(e.exports,"default",()=>n),r=rR("9IL8W");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;};}),rI("9IL8W",function(e,t){var r,n;c(e.exports,"default",()=>n),r=rR("hDU47"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rI("hDU47",function(e,t){c(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;}),rI("6dNYa",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rR("a7JAS"),i=rR("3T6Pq"),o=rR("4t50X");class a{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(a.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=a.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=a.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield a.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=a;}),rI("a7JAS",function(e,t){var r,n,i,o,a,s,l,u,c;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 a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}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(ii),d=i(io),f=i(rR("8gh3V")),h=i(rR("7i1qo"));(u=a=e.exports.HttpCodes||(e.exports.HttpCodes={}))[u.OK=200]="OK",u[u.MultipleChoices=300]="MultipleChoices",u[u.MovedPermanently=301]="MovedPermanently",u[u.ResourceMoved=302]="ResourceMoved",u[u.SeeOther=303]="SeeOther",u[u.NotModified=304]="NotModified",u[u.UseProxy=305]="UseProxy",u[u.SwitchProxy=306]="SwitchProxy",u[u.TemporaryRedirect=307]="TemporaryRedirect",u[u.PermanentRedirect=308]="PermanentRedirect",u[u.BadRequest=400]="BadRequest",u[u.Unauthorized=401]="Unauthorized",u[u.PaymentRequired=402]="PaymentRequired",u[u.Forbidden=403]="Forbidden",u[u.NotFound=404]="NotFound",u[u.MethodNotAllowed=405]="MethodNotAllowed",u[u.NotAcceptable=406]="NotAcceptable",u[u.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",u[u.RequestTimeout=408]="RequestTimeout",u[u.Conflict=409]="Conflict",u[u.Gone=410]="Gone",u[u.TooManyRequests=429]="TooManyRequests",u[u.InternalServerError=500]="InternalServerError",u[u.NotImplemented=501]="NotImplemented",u[u.BadGateway=502]="BadGateway",u[u.ServiceUnavailable=503]="ServiceUnavailable",u[u.GatewayTimeout=504]="GatewayTimeout",(c=s=e.exports.Headers||(e.exports.Headers={})).Accept="accept",c.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[a.MovedPermanently,a.ResourceMoved,a.SeeOther,a.TemporaryRedirect,a.PermanentRedirect],g=[a.BadGateway,a.ServiceUnavailable,a.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class y{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());});}));});}}e.exports.HttpClientResponse=y,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[s.Accept]=this._getExistingOrDefaultHeader(t,s.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[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,l.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.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[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,l.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.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[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,l.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.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),s=this._prepareRequest(e,o,n),l=this._allowRetries&&v.includes(e)?this._maxRetries+1:1,u=0;do{if((i=yield this.requestRaw(s,r))&&i.message&&i.message.statusCode===a.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,s,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let a=i.message.headers.location;if(!a)break;let l=new URL(a);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];s=this._prepareRequest(e,l,n),i=yield this.requestRaw(s,r),t--;}if(!i.message.statusCode||!g.includes(i.message.statusCode))break;(u+=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,a=e.httpModule.request(e.options,e=>{i(void 0,new y(e));});a.on("socket",e=>{n=e;}),a.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),a.on("error",function(e){i(e);}),t&&"string"==typeof t&&a.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){a.end();}),t.pipe(a)):a.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d: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=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!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})},a="https:"===r.protocol;t=(i?a?h.httpsOverHttps:h.httpsOverHttp:a?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_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 s=e.message.statusCode||0,l={statusCode:s,result:null,headers:{}};s===a.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(s>299){let e;let t=new E(i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${s})`,s);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rI("8gh3V",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 n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0;},e.exports.checkBypass=r;}),rI("7i1qo",function(e,t){e.exports=rR("fbmJm");}),rI("fbmJm",function(e,t){var r,n,i,o,a,s;function l(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||ii.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),a=0,s=t.requests.length;s>a;++a){var l=t.requests[a];if(l.host===o.host&&l.port===o.port){t.requests.splice(a,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;l.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),a=ri.connect(0,o);r.sockets[r.sockets.indexOf(n)]=a,t(a);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(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,a=i.length;a>o;++o){var s=i[o];void 0!==n[s]&&(e[s]=n[s]);}}return e;}c(e.exports,"httpOverHttp",()=>r,e=>r=e),c(e.exports,"httpsOverHttp",()=>n,e=>n=e),c(e.exports,"httpOverHttps",()=>i,e=>i=e),c(e.exports,"httpsOverHttps",()=>o,e=>o=e),c(e.exports,"debug",()=>a,e=>a=e),r=function(e){var t=new l(e);return t.request=ii.request,t;},n=function(e){var t=new l(e);return t.request=ii.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new l(e);return t.request=io.request,t;},o=function(e){var t=new l(e);return t.request=io.request,t.createSocket=u,t.defaultPort=443,t;},rs.inherits(l,ro.EventEmitter),l.prototype.addRequest=function(e,t,r,n){var i=this,o=d({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);});},l.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){s("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var u=Error("tunneling socket could not be established, statusCode="+r.statusCode);u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(a);return;}if(l.length>0){s("got illegal response body from proxy"),n.destroy();var u=Error("got illegal response body from proxy");u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(a);return;}return s("tunneling connection has established"),o.sockets[o.sockets.indexOf(a)]=n,t(n);}var n,i,o=this,a={};o.sockets.push(a),n=d({},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")),s("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(),s("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(a);}),i.end();},l.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)?s=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);}:s=function(){},a=s;}),rI("3T6Pq",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}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");});}};}),rI("dTpO2",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}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}=it.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 a=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,it.constants.R_OK|it.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(n7.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}),a=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(a).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=a,e.exports.summary=a;}),rI("azKnO",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(ie);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);};}),rI("eCDnw",function(e,t){var r=ie.resolve(__dirname,"../../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);}),rI("gMm9F",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;s[e]=r;}}var n=rR("iWDmx"),i=rR("9xs9T");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},s={};e.exports={create:function(e){return e=Object.assign({},a,e||{}),{format:function(t,a,l){return function(e,t,a){if(function(e,t){let{autoload:n}=t;if(!s[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`);}}(a.locale,{autoload:a.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),u=[];for(let e of l){let[t,r]=e;if(r>0&&u.push(function(e,t,r){let i=function(e){let t=s[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,a)),u.length>=a.span)break;}return u.join(a.delimiter);}(t,a,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:a};}),rI("iWDmx",function(e,t){e.exports=rR("eCDnw");}),rI("9xs9T",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rI("bGwAu",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;n{for(let[t,r]of f)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++;a(e,i,t),c[e]=i,u[i]=t,s[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-]${d}*`),m("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),m("FULL",`^${u[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),m("LOOSE",`^${u[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),m("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${u[c.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[c.COERCEPLAIN]+`(?:${u[c.PRERELEASE]})?`+`(?:${u[c.BUILD]})?`+"(?:$|[^\\d])"),m("COERCERTL",u[c.COERCE],!0),m("COERCERTLFULL",u[c.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rI("3qgxS",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};}),rI("3CqZ1",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;}),rI("aMLnW",function(e,t){var r=rR("3CqZ1"),n=rR("3qgxS"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,a=rR("9J5od"),s=a.safeRe,l=a.t,u=rR("6omBt"),c=rR("fx8Ft").compareIdentifiers;class p{constructor(e,t){if(t=u(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?s[l.LOOSE]:s[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===c(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;}),rI("6omBt",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rI("fx8Ft",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)};}),rI("UI3XL",function(e,t){var r=rR("aMLnW");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;}};}),rI("l655J",function(e,t){var r=rR("UI3XL");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rI("jzJq8",function(e,t){var r=rR("UI3XL");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rI("b1nH1",function(e,t){var r=rR("aMLnW");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;}};}),rI("inG4j",function(e,t){var r=rR("UI3XL");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 a=o>0,s=a?n:i,l=a?i:n,u=!!s.prerelease.length;if(l.prerelease.length&&!u)return l.patch||l.minor?s.patch?"patch":s.minor?"minor":"major":"major";let c=u?"pre":"";return n.major!==i.major?c+"major":n.minor!==i.minor?c+"minor":n.patch!==i.patch?c+"patch":"prerelease";};}),rI("2aJGP",function(e,t){var r=rR("aMLnW");e.exports=(e,t)=>new r(e,t).major;}),rI("h6Ixq",function(e,t){var r=rR("aMLnW");e.exports=(e,t)=>new r(e,t).minor;}),rI("90ROK",function(e,t){var r=rR("aMLnW");e.exports=(e,t)=>new r(e,t).patch;}),rI("8m4O1",function(e,t){var r=rR("UI3XL");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rI("3uysP",function(e,t){var r=rR("aMLnW");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rI("hYBTv",function(e,t){var r=rR("3uysP");e.exports=(e,t,n)=>r(t,e,n);}),rI("ftcZo",function(e,t){var r=rR("3uysP");e.exports=(e,t)=>r(e,t,!0);}),rI("1CIrW",function(e,t){var r=rR("aMLnW");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rI("exBHN",function(e,t){var r=rR("1CIrW");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rI("lm1lq",function(e,t){var r=rR("1CIrW");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rI("cPjhN",function(e,t){var r=rR("3uysP");e.exports=(e,t,n)=>r(e,t,n)>0;}),rI("avz3V",function(e,t){var r=rR("3uysP");e.exports=(e,t,n)=>0>r(e,t,n);}),rI("fXQFJ",function(e,t){var r=rR("3uysP");e.exports=(e,t,n)=>0===r(e,t,n);}),rI("bu0Ra",function(e,t){var r=rR("3uysP");e.exports=(e,t,n)=>0!==r(e,t,n);}),rI("9xdhv",function(e,t){var r=rR("3uysP");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rI("8aNoG",function(e,t){var r=rR("3uysP");e.exports=(e,t,n)=>0>=r(e,t,n);}),rI("8gipG",function(e,t){var r=rR("fXQFJ"),n=rR("bu0Ra"),i=rR("cPjhN"),o=rR("9xdhv"),a=rR("avz3V"),s=rR("8aNoG");e.exports=(e,t,l,u)=>{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,u);case"!=":return n(e,l,u);case">":return i(e,l,u);case">=":return o(e,l,u);case"<":return a(e,l,u);case"<=":return s(e,l,u);default:throw TypeError("Invalid operator: "+t);}};}),rI("l8hao",function(e,t){var r=rR("aMLnW"),n=rR("UI3XL"),i=rR("9J5od"),o=i.safeRe,a=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[a.COERCERTLFULL]:o[a.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[a.COERCEFULL]:o[a.COERCE]);if(null===i)return null;let s=i[2],l=i[3]||"0",u=i[4]||"0",c=t.includePrerelease&&i[5]?"-"+i[5]:"",p=t.includePrerelease&&i[6]?"+"+i[6]:"";return n(`${s}.${l}.${u}${c}${p}`,t);};}),rI("dSz9p",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;}u("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,u("comp",this);}parse(e){let t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.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 c(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(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=rR("6omBt"),o=rR("9J5od"),a=o.safeRe,s=o.t,l=rR("8gipG"),u=rR("3CqZ1"),c=rR("aMLnW"),p=rR("4FTez");}),rI("4FTez",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.format(),this;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(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=>!v(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&&E(e[0])){this.set=[e];break;}}}this.format();}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range;}toString(){return this.range;}parseRange(e){let t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,s=i?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];a("hyphen replace",e=e.replace(s,A(this.options.includePrerelease))),a("comparator trim",e=e.replace(u[c.COMPARATORTRIM],p)),a("tilde trim",e=e.replace(u[c.TILDETRIM],d)),a("caret trim",e=e.replace(u[c.CARETTRIM],f));let l=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>O(e,this.options));i&&(l=l.filter(e=>(a("loose invalid filter",e,this.options),!!e.match(u[c.COMPARATORLOOSE])))),a("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(v(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let E=[...h.values()];return n.set(t,E),E;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>y(r,t)&&e.set.some(e=>y(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 s(e,this.options);}catch(e){return!1;}for(let t=0;t"<0.0.0-0"===e.value,E=e=>""===e.value,y=(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)=>(a("comp",e,t),a("caret",e=S(e,t)),a("tildes",e=x(e,t)),a("xrange",e=N(e,t)),a("stars",e=I(e,t)),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map(e=>D(e,t)).join(" "),D=(e,t)=>{let r=t.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(r,(t,r,n,i,o)=>{let s;return a("tilde",e,t,r,n,i,o),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(i)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(a("replaceTilde pr",o),s=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,a("tilde return",s),s;});},S=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{a("caret",e,t);let r=t.loose?u[c.CARETLOOSE]:u[c.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,s)=>{let l;return a("caret",e,t,r,i,o,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${s} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${s} <${+r+1}.0.0-0`):(a("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`),a("caret return",l),l;});},N=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>R(e,t)).join(" ")),R=(e,t)=>{e=e.trim();let r=t.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(r,(r,n,i,o,s,l)=>{a("xRange",e,r,n,i,o,s,l);let u=b(i),c=u||b(o),p=c||b(s);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(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),"<"===n&&(l="-0"),r=`${n+i}.${o}.${s}${l}`):c?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),a("xRange return",r),r;});},I=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[c.STAR],"")),O=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),A=e=>(t,r,n,i,o,a,s,l,u,c,p,d,f)=>(r=b(n)?"":b(i)?`>=${n}.0.0${e?"-0":""}`:b(o)?`>=${n}.${i}.0${e?"-0":""}`:a?">="+r:`>=${r}${e?"-0":""}`,l=b(u)?"":b(c)?`<${+u+1}.0.0-0`:b(p)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${p}-${d}`:e?`<${u}.${c}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),C=(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;};}),rI("eGCLk",function(e,t){var r=rR("JD6z9");let n=Symbol(),i=Symbol(),o=Symbol(),a=Symbol(),s=Symbol(),l=Symbol(),u=Symbol(),c=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(v(e,n),!e[a])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[c].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[s]&&r>e[s];},g=e=>{if(e[i]>e[n])for(let t=e[c].tail;e[i]>e[n]&&null!==t;){let r=t.prev;v(e,t),t=r;}},v=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[c].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let y=(e,t,r,n)=>{let i=r.value;m(e,i)&&(v(e,r),e[a]||(i=void 0)),i&&t.call(n,i.value,i.key,e);};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,g(this);}get max(){return this[n];}set allowStale(e){this[a]=!!e;}get allowStale(){return this[a];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[s]=e,g(this);}get maxAge(){return this[s];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[c].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),g(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[c].length;}rforEach(e,t){t=t||this;for(let r=this[c].tail;null!==r;){let n=r.prev;y(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[c].head;null!==r;){let n=r.next;y(this,e,r,t),r=n;}}keys(){return this[c].toArray().map(e=>e.key);}values(){return this[c].toArray().map(e=>e.value);}reset(){this[l]&&this[c]&&this[c].length&&this[c].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[c]=new r(),this[i]=0;}dump(){return this[c].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[c];}set(e,t,r){if((r=r||this[s])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let a=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return v(this,this[p].get(e)),!1;let o=this[p].get(e).value;return this[l]&&!this[u]&&this[l](e,o.value),o.now=a,o.maxAge=r,o.value=t,this[i]+=d-o.length,o.length=d,this.get(e),g(this),!0;}let f=new E(e,t,d,a,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[c].unshift(f),this[p].set(e,this[c].head),g(this),!0);}has(e){return!!this[p].has(e)&&!m(this,this[p].get(e).value);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[c].tail;return e?(v(this,e),e.value):null;}del(e){v(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rI("JD6z9",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e);});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ii;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var a=[],i=0;o&&i{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rI("eRnrA",function(e,t){var r=rR("4FTez");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rI("aAvhf",function(e,t){var r=rR("aMLnW"),n=rR("4FTez");e.exports=(e,t,i)=>{let o=null,a=null,s=null;try{s=new n(t,i);}catch(e){return null;}return e.forEach(e=>{s.test(e)&&(!o||-1===a.compare(e))&&(a=new r(o=e,i));}),o;};}),rI("iWAcu",function(e,t){var r=rR("aMLnW"),n=rR("4FTez");e.exports=(e,t,i)=>{let o=null,a=null,s=null;try{s=new n(t,i);}catch(e){return null;}return e.forEach(e=>{s.test(e)&&(!o||1===a.compare(e))&&(a=new r(o=e,i));}),o;};}),rI("32TwK",function(e,t){var r=rR("aMLnW"),n=rR("4FTez"),i=rR("cPjhN");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">=":(!a||i(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),a&&(!o||i(o,a))&&(o=a);}return o&&e.test(o)?o:null;};}),rI("194Ox",function(e,t){var r=rR("4FTez");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rI("a8VZj",function(e,t){var r=rR("aMLnW"),n=rR("dSz9p");let{ANY:i}=n;var o=rR("4FTez"),a=rR("2bU8Y"),s=rR("cPjhN"),l=rR("avz3V"),u=rR("8aNoG"),c=rR("9xdhv");e.exports=(e,t,p,d)=>{let f,h,m,g,v;switch(e=new r(e,d),t=new o(t,d),p){case">":f=s,h=u,m=l,g=">",v=">=";break;case"<":f=l,h=c,m=s,g="<",v="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(a(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),a=a||e,s=s||e,f(e.semver,a.semver,d)?a=e:m(e.semver,s.semver,d)&&(s=e);}),a.operator===g||a.operator===v||(!s.operator||s.operator===g)&&h(e,s.semver)||s.operator===v&&m(e,s.semver))return!1;}return!0;};}),rI("2yv5J",function(e,t){var r=rR("a8VZj");e.exports=(e,t,n)=>r(e,t,">",n);}),rI("46KXA",function(e,t){var r=rR("a8VZj");e.exports=(e,t,n)=>r(e,t,"<",n);}),rI("e3Thp",function(e,t){var r=rR("4FTez");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rI("8g51l",function(e,t){var r=rR("2bU8Y"),n=rR("3uysP");e.exports=(e,t,i)=>{let o=[],a=null,s=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push("<="+t):u.push(`${e} - ${t}`):u.push(">="+e):u.push("*");let c=u.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return c.length=0.0.0-0")],l=[new n(">=0.0.0")],u=(e,t,r)=>{let n,u,d,f,h,m,g;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?s:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let v=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=c(n,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):v.add(t.semver);if(v.size>1||n&&u&&((d=a(n.semver,u.semver,r))>0||0===d&&(">="!==n.operator||"<="!==u.operator)))return null;for(let e of v){if(n&&!o(e,n+"",r)||u&&!o(e,u+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!u&&!r.includePrerelease&&!!u.semver.prerelease.length&&u.semver,y=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===u.operator&&0===E.prerelease[0]&&(E=!1),t)){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){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((f=c(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(u){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((h=p(u,e,r))===e&&h!==u)return!1;}else if("<="===u.operator&&!o(u.semver,e+"",r))return!1;}if(!e.operator&&(u||n)&&0!==d)return!1;}return(!n||!m||!!u||0===d)&&(!u||!g||!!n||0===d)&&!y&&!E;},c=(e,t,r)=>{if(!e)return t;let n=a(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=a(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=u(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rI("i8A01",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rI("kY0n1",function(e,t){async function r(e){try{return await(0,rl.promises).access(e),!0;}catch{return!1;}}c(e.exports,"pathExists",()=>r);}),rI("bzNgi",function(e,t){var r,n,i,o,a,s,l,u,d,f,h,m,g;function v(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 E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function y(e,t=!0){return t?(0,ie.basename)(e):(0,ie.basename)(e,(0,ie.extname)(e));}function w(e){return(0,ie.normalize)(e).replace(RegExp((0,r.default)(ie.sep)+"$"),"");}function b(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function x(e,t){let r=(0,ie.extname)(e),n=`${t}${(0,ie.basename)(e,r)}${r}`;return(0,ie.join)((0,ie.dirname)(e),n);}function D(e,t){let r=(0,ie.extname)(e),n=`${(0,ie.basename)(e,r)}${t}${r}`;return(0,ie.join)((0,ie.dirname)(e),n);}function S(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function T(e){return"win32"===process.platform?e:"./"+e;}function N(e){let t=(0,ie.extname)(e).length;return e.slice(0,-t);}function R(e,t){return p(n)(e,t);}function I(e,t){let r=(0,ie.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+ie.sep)||r===(0,ie.resolve)(e));}c(e.exports,"addExeExt",()=>b),c(e.exports,"addShExt",()=>S),c(e.exports,"addShRelativePrefix",()=>T),c(e.exports,"dirname",()=>ie.dirname),c(e.exports,"join",()=>ie.join),r=rR("iNGpn"),n=rR("axeRu"),i={},E(o={},"name",()=>y),E(a={},"normalizeTrim",()=>w),E(s={},"addExeExt",()=>b),E(l={},"addNamePrefix",()=>x),E(u={},"addNameSuffix",()=>D),E(d={},"addShExt",()=>S),E(f={},"addShRelativePrefix",()=>T),E(h={},"removeExt",()=>N),E(m={},"replaceExt",()=>R),E(g={},"isPathInside",()=>I),v(i,o),v(i,a),v(i,s),v(i,l),v(i,u),v(i,d),v(i,f),v(i,h),v(i,m),v(i,g);}),rI("iNGpn",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}c(e.exports,"default",()=>r);}),rI("axeRu",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=ie.basename(e,ie.extname(e))+t,i=ie.join(ie.dirname(e),n);return(r=e.slice(0,2))==="."+ie.sep||"./"===r?"."+ie.sep+i:i;};}),rI("hZdK0",function(e,t){var r,n,i,o;function a(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 s(e){return o(this,void 0,void 0,function*(){ra.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(c.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(c.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(c.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(c.join(i,e),t);r&&n.push(r);}return n;});}function u(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 a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}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 c=i(ie),p=i(rR("ipB3d"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:a}=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 d=l&&l.isDirectory()&&a?c.join(t,c.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 s(r),yield p.readdir(t))){let a=`${t}/${o}`,s=`${r}/${o}`;(yield p.lstat(a)).isDirectory()?yield e(a,s,n,i):yield u(a,s,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===c.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield u(e,d,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=c.join(t,c.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield a(t);else throw Error("Destination already exists");}}yield s(c.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=a,e.exports.mkdirP=s,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;}),rI("ipB3d",function(e,t){var r,n,i,o,a;function s(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 a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}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(it),u=i(ie);a=l.promises,e.exports.chmod=a.chmod,e.exports.copyFile=a.copyFile,e.exports.lstat=a.lstat,e.exports.mkdir=a.mkdir,e.exports.open=a.open,e.exports.readdir=a.readdir,e.exports.readlink=a.readlink,e.exports.rename=a.rename,e.exports.rm=a.rm,e.exports.rmdir=a.rmdir,e.exports.stat=a.stat,e.exports.symlink=a.symlink,e.exports.unlink=a.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=u.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(s(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=u.dirname(t),n=u.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=u.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(s(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rI("42L4Y",function(e,t){var r,n,i,o,a;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 a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}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 s=i(rR("lroIv"));a=rR("4t50X"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,u;let c=n7.platform();for(let o of n){let n=o.version;if(a.debug(`check ${n} satisfies ${t}`),s.satisfies(n,t)&&(!r||o.stable===r)&&(u=o.files.find(t=>{a.debug(`${t.arch}===${i} && ${t.platform}===${c}`);let r=t.arch===i&&t.platform===c;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||s.satisfies(n,t.platform_version);}return r;}))){a.debug("matched "+o.version),l=o;break;}}return l&&u&&((o=Object.assign({},l)).files=[u]),o;});},e.exports._getOsVersion=function(){let t=n7.platform(),r="";if("darwin"===t)r=ru.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 it.existsSync(e)?r=it.readFileSync(e).toString():it.existsSync(t)&&(r=it.readFileSync(t).toString()),r;};}),rI("lroIv",function(e,t){function r(e){O[e]=A++;}function n(e){for(var t=0;t<_.length;t++){var r=_[t][0],n=_[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}");}return e;}function i(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o)return e;if("string"!=typeof e||e.length>D||!(t.loose?R[O.LOOSE]:R[O.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>D)throw TypeError("version is longer than "+D+" characters");if(!(this instanceof o))return new o(e,t);x("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?R[O.LOOSE]:R[O.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 s(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return s(e,t,r)>0;}function u(e,t,r){return 0>s(e,t,r);}function c(e,t,r){return 0===s(e,t,r);}function p(e,t,r){return 0!==s(e,t,r);}function d(e,t,r){return s(e,t,r)>=0;}function f(e,t,r){return 0>=s(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 c(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return u(e,r,n);case"<=":return f(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(" "),x("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===P?this.value="":this.value=this.operator+this.semver.version,x("comp",this);}function g(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof g)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new g(e.raw,t);if(e instanceof m)return new g(e.value,t);if(!(this instanceof g))return new g(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 v(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 E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function y(e,t,r,n,i,o,a,s,l,u,c,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(s=E(l)?"":E(u)?"<"+(+l+1)+".0.0":E(c)?"<"+l+"."+(+u+1)+".0":p?"<="+l+"."+u+"."+c+"-"+p:"<="+s)).trim();}function w(e,t,r){try{t=new g(t,r);}catch(e){return!1;}return t.test(e);}function b(e,t,r,n){switch(e=new o(e,n),t=new g(t,n),r){case">":i=l,a=f,s=u,c=">",p=">=";break;case"<":i=u,a=d,s=l,c="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,a,s,c,p,h=0;h=0.0.0")),E=E||e,y=y||e,i(e.semver,E.semver,n)?E=e:s(e.semver,y.semver,n)&&(y=e);}),E.operator===c||E.operator===p||(!y.operator||y.operator===c)&&a(e,y.semver)||y.operator===p&&s(e,y.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)?x=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:x=function(){},t.SEMVER_SPEC_VERSION="2.0.0",D=256,S=Number.MAX_SAFE_INTEGER||9007199254740991,T=D-6,N=t.re=[],R=t.safeRe=[],I=t.src=[],O=t.tokens={},A=0,_=[["\\s",1],["\\d",D],[C="[a-zA-Z0-9-]",T]],r("NUMERICIDENTIFIER"),I[O.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),I[O.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),I[O.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+C+"*",r("MAINVERSION"),I[O.MAINVERSION]="("+I[O.NUMERICIDENTIFIER]+")\\.("+I[O.NUMERICIDENTIFIER]+")\\.("+I[O.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),I[O.MAINVERSIONLOOSE]="("+I[O.NUMERICIDENTIFIERLOOSE]+")\\.("+I[O.NUMERICIDENTIFIERLOOSE]+")\\.("+I[O.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),I[O.PRERELEASEIDENTIFIER]="(?:"+I[O.NUMERICIDENTIFIER]+"|"+I[O.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),I[O.PRERELEASEIDENTIFIERLOOSE]="(?:"+I[O.NUMERICIDENTIFIERLOOSE]+"|"+I[O.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),I[O.PRERELEASE]="(?:-("+I[O.PRERELEASEIDENTIFIER]+"(?:\\."+I[O.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),I[O.PRERELEASELOOSE]="(?:-?("+I[O.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+I[O.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),I[O.BUILDIDENTIFIER]=C+"+",r("BUILD"),I[O.BUILD]="(?:\\+("+I[O.BUILDIDENTIFIER]+"(?:\\."+I[O.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),I[O.FULLPLAIN]="v?"+I[O.MAINVERSION]+I[O.PRERELEASE]+"?"+I[O.BUILD]+"?",I[O.FULL]="^"+I[O.FULLPLAIN]+"$",r("LOOSEPLAIN"),I[O.LOOSEPLAIN]="[v=\\s]*"+I[O.MAINVERSIONLOOSE]+I[O.PRERELEASELOOSE]+"?"+I[O.BUILD]+"?",r("LOOSE"),I[O.LOOSE]="^"+I[O.LOOSEPLAIN]+"$",r("GTLT"),I[O.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),I[O.XRANGEIDENTIFIERLOOSE]=I[O.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),I[O.XRANGEIDENTIFIER]=I[O.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),I[O.XRANGEPLAIN]="[v=\\s]*("+I[O.XRANGEIDENTIFIER]+")(?:\\.("+I[O.XRANGEIDENTIFIER]+")(?:\\.("+I[O.XRANGEIDENTIFIER]+")(?:"+I[O.PRERELEASE]+")?"+I[O.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),I[O.XRANGEPLAINLOOSE]="[v=\\s]*("+I[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+I[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+I[O.XRANGEIDENTIFIERLOOSE]+")(?:"+I[O.PRERELEASELOOSE]+")?"+I[O.BUILD]+"?)?)?",r("XRANGE"),I[O.XRANGE]="^"+I[O.GTLT]+"\\s*"+I[O.XRANGEPLAIN]+"$",r("XRANGELOOSE"),I[O.XRANGELOOSE]="^"+I[O.GTLT]+"\\s*"+I[O.XRANGEPLAINLOOSE]+"$",r("COERCE"),I[O.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),N[O.COERCERTL]=RegExp(I[O.COERCE],"g"),R[O.COERCERTL]=RegExp(n(I[O.COERCE]),"g"),r("LONETILDE"),I[O.LONETILDE]="(?:~>?)",r("TILDETRIM"),I[O.TILDETRIM]="(\\s*)"+I[O.LONETILDE]+"\\s+",N[O.TILDETRIM]=RegExp(I[O.TILDETRIM],"g"),R[O.TILDETRIM]=RegExp(n(I[O.TILDETRIM]),"g"),r("TILDE"),I[O.TILDE]="^"+I[O.LONETILDE]+I[O.XRANGEPLAIN]+"$",r("TILDELOOSE"),I[O.TILDELOOSE]="^"+I[O.LONETILDE]+I[O.XRANGEPLAINLOOSE]+"$",r("LONECARET"),I[O.LONECARET]="(?:\\^)",r("CARETTRIM"),I[O.CARETTRIM]="(\\s*)"+I[O.LONECARET]+"\\s+",N[O.CARETTRIM]=RegExp(I[O.CARETTRIM],"g"),R[O.CARETTRIM]=RegExp(n(I[O.CARETTRIM]),"g"),r("CARET"),I[O.CARET]="^"+I[O.LONECARET]+I[O.XRANGEPLAIN]+"$",r("CARETLOOSE"),I[O.CARETLOOSE]="^"+I[O.LONECARET]+I[O.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),I[O.COMPARATORLOOSE]="^"+I[O.GTLT]+"\\s*("+I[O.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),I[O.COMPARATOR]="^"+I[O.GTLT]+"\\s*("+I[O.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),I[O.COMPARATORTRIM]="(\\s*)"+I[O.GTLT]+"\\s*("+I[O.LOOSEPLAIN]+"|"+I[O.XRANGEPLAIN]+")",N[O.COMPARATORTRIM]=RegExp(I[O.COMPARATORTRIM],"g"),R[O.COMPARATORTRIM]=RegExp(n(I[O.COMPARATORTRIM]),"g"),L="$1$2$3",r("HYPHENRANGE"),I[O.HYPHENRANGE]="^\\s*("+I[O.XRANGEPLAIN]+")\\s+-\\s+("+I[O.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),I[O.HYPHENRANGELOOSE]="^\\s*("+I[O.XRANGEPLAINLOOSE]+")\\s+-\\s+("+I[O.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),I[O.STAR]="(<|>)?=?\\s*\\*";for(var x,D,S,T,N,R,I,O,A,C,_,L,$,P,k=0;k=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(c(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var a="prerelease";}for(var s in r)if(("major"===s||"minor"===s||"patch"===s)&&r[s]!==n[s])return o+s;return a;},t.compareIdentifiers=a,$=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return a(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=s,t.compareLoose=function(e,t){return s(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 s(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=u,t.eq=c,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,P={},m.prototype.parse=function(e){var t=this.options.loose?R[O.COMPARATORLOOSE]:R[O.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=P;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(x("Comparator.test",e,this.options.loose),this.semver===P||e===P)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 g(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new g(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,a=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=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&&a||s||l;},t.Range=g,g.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},g.prototype.toString=function(){return this.range;},g.prototype.parseRange=function(e){var t=this.options.loose,r=t?R[O.HYPHENRANGELOOSE]:R[O.HYPHENRANGE];e=e.replace(r,y),x("hyphen replace",e),e=e.replace(R[O.COMPARATORTRIM],L),x("comparator trim",e,R[O.COMPARATORTRIM]),e=(e=(e=e.replace(R[O.TILDETRIM],"$1~")).replace(R[O.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?R[O.COMPARATORLOOSE]:R[O.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,a,s,l,u;return t=e,r=this.options,x("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return x("caret",t=e,r=i),n=r.loose?R[O.CARETLOOSE]:R[O.CARET],t.replace(n,function(e,r,n,i,o){var a;return x("caret",t,e,r,n,i,o),E(r)?a="":E(n)?a=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?a="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(x("replaceCaret pr",o),a="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"):(x("no pr"),a="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"),x("caret return",a),a;});}).join(" "),x("caret",t),o=t,a=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=a.loose?R[O.TILDELOOSE]:R[O.TILDE],t.replace(r,function(e,r,n,i,o){var a;return x("tilde",t,e,r,n,i,o),E(r)?a="":E(n)?a=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?a=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(x("replaceTilde pr",o),a=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):a=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",x("tilde return",a),a;});}).join(" "),x("tildes",t),x("replaceXRanges",s=t,l=r),t=s.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?R[O.XRANGELOOSE]:R[O.XRANGE],t.replace(n,function(e,n,i,o,a,s){x("xRange",t,e,n,i,o,a,s);var l=E(i),u=l||E(o),c=u||E(a);return"="===n&&c&&(n=""),s=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&c?(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),e=n+i+"."+o+"."+a+s):u?e=">="+i+".0.0"+s+" <"+(+i+1)+".0.0"+s:c&&(e=">="+i+"."+o+".0"+s+" <"+i+"."+(+o+1)+".0"+s),x("xRange return",e),e;});}).join(" "),x("xrange",t),x("replaceStars",u=t,r),t=u.trim().replace(R[O.STAR],""),x("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);},g.prototype.intersects=function(e,t){if(!(e instanceof g))throw TypeError("a Range is required");return this.set.some(function(r){return v(r,t)&&e.set.some(function(e){return v(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new g(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},g.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 a=new g(t,r);}catch(e){return null;}return e.forEach(function(e){a.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 a=new g(t,r);}catch(e){return null;}return e.forEach(function(e){a.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new g(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 g(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return b(e,t,"<",r);},t.gtr=function(e,t,r){return b(e,t,">",r);},t.outside=b,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new g(e,r),t=new g(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=R[O.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),R[O.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;R[O.COERCERTL].lastIndex=-1;}else n=e.match(R[O.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rI("eAF86",function(e,t){var r=rR("1W8as"),n=rR("hTpVN");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||n(a);};}),rI("1W8as",function(e,t){e.exports=function(){return ir.randomBytes(16);};}),rI("hTpVN",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("");};}),rI("1f6JF",function(e,t){var r,n,i,o;function a(e,t,r){return o(this,void 0,void 0,function*(){let n=s.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 s.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 a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let s=i(rR("4B2AJ"));e.exports.exec=a,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",s="",l=new rc.StringDecoder("utf8"),u=new rc.StringDecoder("utf8"),c=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,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),c&&c(e);},stderr(e){s+=u.write(e),p&&p(e);}}),f=yield a(e,t,Object.assign(Object.assign({},r),{listeners:d}));return o+=l.end(),s+=u.end(),{exitCode:f,stdout:o,stderr:s};});};}),rI("4B2AJ",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 a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let a=i(n7),s=i(ro),l=i(ru),u=i(ie),c=i(rR("hZdK0")),p=i(rR("ipB3d")),d="win32"===process.platform;class f extends s.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(d){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(a.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+a.EOL.length)).indexOf(a.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(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("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield c.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)+a.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)),s="";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),s=this._processLineBuffer(e,s,e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e);});});let u="";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),u=this._processLineBuffer(e,u,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)=>{s.length>0&&this.emit("stdline",s),u.length>0&&this.emit("errline",u),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=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let a=0;a0&&(r.push(o),o="");continue;}t(s);}return o.length>0&&r.push(o.trim()),r;};class h extends s.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=rp.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();}}}}),rI("4JiFg",function(e,t){e.exports=Promise.resolve(require("./actions_python.4fb6b558.js")).then(()=>rR("4kQHk"));}),rI("i9SYz",function(e,t){var r,n,i,o,a,s,l,u,p;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n");}function f(e){this.options=e||{locator:{}};}function h(){this.cdata=!1;}function m(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber;}function g(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]";}function v(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e;}function E(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t);}c(e.exports,"DOMParser",()=>r,e=>r=e),n=rR("12jBw"),i=rR("fSAop"),o=rR("g5ebD"),a=rR("gqQA6"),s=i.DOMImplementation,l=n.NAMESPACE,u=a.ParseError,p=a.XMLReader,f.prototype.parseFromString=function(e,t){var r=this.options,n=new p(),i=r.domBuilder||new h(),a=r.errorHandler,s=r.locator,u=r.xmlns||{},c=/\/x?html?$/.test(t),f=c?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),n.errorHandler=function(e,t,r){var n,i;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(r){e(t,r);}:e),n[t]=o&&function(e){o("[xmldom "+t+"] "+e+g(r));}||function(){};}if(!e){if(t instanceof h)return t;e=t;}return n={},i=e instanceof Function,r=r||{},o("warning"),o("error"),o("fatalError"),n;}(a,i,s),n.domBuilder=r.domBuilder||i,c&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var m=r.normalizeLineEndings||d;return e&&"string"==typeof e?n.parse(m(e),u,f):n.errorHandler.error("invalid doc source"),i.doc;},h.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId);},startElement:function(e,t,r,n){var i=this.doc,o=i.createElementNS(e,r||t),a=n.length;E(this,o),this.currentElement=o,this.locator&&m(this.locator,o);for(var s=0;a>s;s++){var e=n.getURI(s),l=n.getValue(s),r=n.getQName(s),u=i.createAttributeNS(e,r);this.locator&&m(n.getLocator(s),u),u.value=u.nodeValue=l,o.setAttributeNode(u);}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode;},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&m(this.locator,r),E(this,r);},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=v.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else var n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&m(this.locator,n);}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize();},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0);},comment:function(e,t,r){e=v.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&m(this.locator,n),E(this,n);},startCDATA:function(){this.cdata=!0;},endCDATA:function(){this.cdata=!1;},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,r);this.locator&&m(this.locator,i),E(this,i),this.doc.doctype=i;}},warning:function(e){console.warn("[xmldom warning] "+e,g(this.locator));},error:function(e){console.error("[xmldom error] "+e,g(this.locator));},fatalError:function(e){throw new u(e,this.locator);}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){h.prototype[e]=function(){return null;};}),r=f;}),rI("12jBw",function(e,t){var r,n,i,o,a;function s(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e;}c(e.exports,"find",()=>r,e=>r=e),c(e.exports,"freeze",()=>n,e=>n=e),c(e.exports,"NAMESPACE",()=>i,e=>i=e),o=s({HTML:"text/html",isHTML:function(e){return e===o.HTML;},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),a=s({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.HTML;},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),r=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n=0){for(var i=t.length-1;i>n;)t[n]=t[++n];if(t.length=i,e){var o=e.ownerDocument;o&&(H(o,e,r),r.ownerElement=null);}}else throw new C(S,Error(e.tagName+"@"+r));}function F(){}function j(){}function q(e){return"<"==e&&"<"||">"==e&&">"||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";";}function B(e,t){if(t(e))return!0;if(e=e.firstChild)do if(B(e,t))return!0;while(e=e.nextSibling);}function G(){this.ownerDocument=this;}function H(e,t,r,n){e&&e._inc++,r.namespaceURI===a.XMLNS&&delete t._nsMap[r.prefix?r.localName:""];}function V(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var i=t.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length];}}}function X(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,V(e.ownerDocument,e),t;}function z(e){return e&&e.nodeType===j.DOCUMENT_TYPE_NODE;}function W(e){return e&&e.nodeType===j.ELEMENT_NODE;}function K(e){return e&&e.nodeType===j.TEXT_NODE;}function Y(e,t){var r=e.childNodes||[];if(o(r,W)||z(t))return!1;var n=o(r,z);return!(t&&n&&r.indexOf(n)>r.indexOf(t));}function J(e,t){var r,n=e.childNodes||[];return!o(n,function(e){return W(e)&&e!==t;})&&(r=o(n,z),!(t&&r&&n.indexOf(r)>n.indexOf(t)));}function Q(e,t,r){var n=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===j.DOCUMENT_FRAGMENT_NODE){var a=i.filter(W);if(a.length>1||o(i,K))throw new C(D,"More than one element or text in fragment");if(1===a.length&&!J(e,r))throw new C(D,"Element in fragment can not be inserted before doctype");}if(W(t)&&!J(e,r))throw new C(D,"Only one element can be added and only after doctype");if(z(t)){if(o(n,function(e){return z(e)&&e!==r;}))throw new C(D,"Only one doctype is allowed");var s=o(n,W);if(r&&n.indexOf(s)1||o(i,K))throw new C(D,"More than one element or text in fragment");if(1===a.length&&!Y(e,r))throw new C(D,"Element in fragment can not be inserted before doctype");}if(W(t)&&!Y(e,r))throw new C(D,"Only one element can be added and only after doctype");if(z(t)){if(o(n,z))throw new C(D,"Only one doctype is allowed");var s=o(n,W);if(r&&n.indexOf(s)=0;D--){var S=i[D];if(""===S.prefix&&S.namespace===e.namespaceURI){o=S.namespace;break;}}if(o!==e.namespaceURI)for(var D=i.length-1;D>=0;D--){var S=i[D];if(S.namespace===e.namespaceURI){S.prefix&&(b=S.prefix+":"+w);break;}}}t.push("<",b);for(var T=0;c>T;T++){var N=s.item(T);"xmlns"==N.prefix?i.push({prefix:N.localName,namespace:N.value}):"xmlns"==N.nodeName&&i.push({prefix:"",namespace:N.value});}for(var T=0;c>T;T++){var N=s.item(T);if(eh(N,r,i)){var R=N.prefix||"",I=N.namespaceURI;em(t,R?"xmlns:"+R:"xmlns",I),i.push({prefix:R,namespace:I});}eg(N,t,r,n,i);}if(w===b&&eh(e,r,i)){var R=e.prefix||"",I=e.namespaceURI;em(t,R?"xmlns:"+R:"xmlns",I),i.push({prefix:R,namespace:I});}if(h||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(w)){if(t.push(">"),r&&/^script$/i.test(w))for(;h;)h.data?t.push(h.data):eg(h,t,r,n,i.slice()),h=h.nextSibling;else for(;h;)eg(h,t,r,n,i.slice()),h=h.nextSibling;t.push("");}else t.push("/>");return;case v:case y:for(var h=e.firstChild;h;)eg(h,t,r,n,i.slice()),h=h.nextSibling;return;case u:return em(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,q));case d:return t.push("");case g:return t.push("");case E:var O=e.publicId,A=e.systemId;if(t.push("");else if(A&&"."!=A)t.push(" SYSTEM ",A,">");else{var C=e.internalSubset;C&&t.push(" [",C,"]"),t.push(">");}return;case m:return t.push("");case f:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName);}}function ev(e,t,r){e[t]=r;}c(e.exports,"DOMImplementation",()=>r,e=>r=e),c(e.exports,"XMLSerializer",()=>n,e=>n=e),o=(i=rR("12jBw")).find,a=i.NAMESPACE,l=(s={}).ELEMENT_NODE=1,u=s.ATTRIBUTE_NODE=2,p=s.TEXT_NODE=3,d=s.CDATA_SECTION_NODE=4,f=s.ENTITY_REFERENCE_NODE=5,h=s.ENTITY_NODE=6,m=s.PROCESSING_INSTRUCTION_NODE=7,g=s.COMMENT_NODE=8,v=s.DOCUMENT_NODE=9,E=s.DOCUMENT_TYPE_NODE=10,y=s.DOCUMENT_FRAGMENT_NODE=11,w=s.NOTATION_NODE=12,x={},(b={}).INDEX_SIZE_ERR=(x[1]="Index size error",1),b.DOMSTRING_SIZE_ERR=(x[2]="DOMString size error",2),D=b.HIERARCHY_REQUEST_ERR=(x[3]="Hierarchy request error",3),b.WRONG_DOCUMENT_ERR=(x[4]="Wrong document",4),b.INVALID_CHARACTER_ERR=(x[5]="Invalid character",5),b.NO_DATA_ALLOWED_ERR=(x[6]="No data allowed",6),b.NO_MODIFICATION_ALLOWED_ERR=(x[7]="No modification allowed",7),S=b.NOT_FOUND_ERR=(x[8]="Not found",8),b.NOT_SUPPORTED_ERR=(x[9]="Not supported",9),T=b.INUSE_ATTRIBUTE_ERR=(x[10]="Attribute in use",10),b.INVALID_STATE_ERR=(x[11]="Invalid state",11),b.SYNTAX_ERR=(x[12]="Syntax error",12),b.INVALID_MODIFICATION_ERR=(x[13]="Invalid modification",13),b.NAMESPACE_ERR=(x[14]="Invalid namespace",14),b.INVALID_ACCESS_ERR=(x[15]="Invalid access",15),C.prototype=Error.prototype,O(b,C),_.prototype={length:0,item:function(e){return e>=0&&ed;d++)i.setAttributeNode(e(t,s.item(d),!0));break;case u:n=!0;}if(n)for(var f=r.firstChild;f;)i.appendChild(e(t,f,n)),f=f.nextSibling;return i;}(this.ownerDocument||this,this,e);},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==p&&e.nodeType==p?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t);}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t);},hasAttributes:function(){return this.attributes.length>0;},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;}t=t.nodeType==u?t.ownerDocument:t.parentNode;}return null;},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==u?t.ownerDocument:t.parentNode;}return null;},isDefaultNamespace:function(e){return null==this.lookupPrefix(e);}},O(s,j),O(s,j.prototype),G.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==y){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n;}return e;}return Z(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===l&&(this.documentElement=e),e;},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),X(this,e);},replaceChild:function(e,t){Z(this,e,t,Q),e.ownerDocument=this,t&&this.removeChild(t),W(e)&&(this.documentElement=e);},importNode:function(e,t){return function e(t,r,n){var i;switch(r.nodeType){case l:(i=r.cloneNode(!1)).ownerDocument=t;case y:break;case u:n=!0;}if(i||(i=r.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,n)for(var o=r.firstChild;o;)i.appendChild(e(t,o,n)),o=o.nextSibling;return i;}(this,e,t);},getElementById:function(e){var t=null;return B(this.documentElement,function(r){if(r.nodeType==l&&r.getAttribute("id")==e)return t=r,!0;}),t;},getElementsByClassName:function(e){var t=I(e);return new L(this,function(r){var n=[];return t.length>0&&B(r.documentElement,function(i){if(i!==r&&i.nodeType===l){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=I(o);a=t.every(function(e){return s&&-1!==s.indexOf(e);});}a&&n.push(i);}}}),n;});},createElement:function(e){var t=new ee();return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new _(),(t.attributes=new P())._ownerElement=t,t;},createDocumentFragment:function(){var e=new ec();return e.ownerDocument=this,e.childNodes=new _(),e;},createTextNode:function(e){var t=new en();return t.ownerDocument=this,t.appendData(e),t;},createComment:function(e){var t=new ei();return t.ownerDocument=this,t.appendData(e),t;},createCDATASection:function(e){var t=new eo();return t.ownerDocument=this,t.appendData(e),t;},createProcessingInstruction:function(e,t){var r=new ep();return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r;},createAttribute:function(e){var t=new et();return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t;},createEntityReference:function(e){var t=new eu();return t.ownerDocument=this,t.nodeName=e,t;},createElementNS:function(e,t){var r=new ee(),n=t.split(":"),i=r.attributes=new P();return r.childNodes=new _(),r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,i._ownerElement=r,r;},createAttributeNS:function(e,t){var r=new et(),n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r;}},A(G,j),ee.prototype={nodeType:l,hasAttribute:function(e){return null!=this.getAttributeNode(e);},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||"";},getAttributeNode:function(e){return this.attributes.getNamedItem(e);},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r);},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t);},appendChild:function(e){return e.nodeType===y?this.insertBefore(e,null):(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,e.previousSibling=this.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:this.firstChild=e,this.lastChild=e,V(this.ownerDocument,this,e),e);},setAttributeNode:function(e){return this.attributes.setNamedItem(e);},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e);},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName);},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r);},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t);},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||"";},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n);},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t);},getElementsByTagName:function(e){return new L(this,function(t){var r=[];return B(t,function(n){n!==t&&n.nodeType==l&&("*"===e||n.tagName==e)&&r.push(n);}),r;});},getElementsByTagNameNS:function(e,t){return new L(this,function(r){var n=[];return B(r,function(i){i!==r&&i.nodeType===l&&("*"===e||i.namespaceURI===e)&&("*"===t||i.localName==t)&&n.push(i);}),n;});}},G.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,G.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,A(ee,j),et.prototype.nodeType=u,A(et,j),er.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t);},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length;},insertData:function(e,t){this.replaceData(e,0,t);},appendChild:function(e){throw Error(x[D]);},deleteData:function(e,t){this.replaceData(e,t,"");},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length;}},A(er,j),en.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n;}},A(en,er),ei.prototype={nodeName:"#comment",nodeType:g},A(ei,er),eo.prototype={nodeName:"#cdata-section",nodeType:d},A(eo,er),ea.prototype.nodeType=E,A(ea,j),es.prototype.nodeType=w,A(es,j),el.prototype.nodeType=h,A(el,j),eu.prototype.nodeType=f,A(eu,j),ec.prototype.nodeName="#document-fragment",ec.prototype.nodeType=y,A(ec,j),ep.prototype.nodeType=m,A(ep,j),ed.prototype.serializeToString=function(e,t,r){return ef.call(e,t,r);},j.prototype.toString=ef;try{Object.defineProperty&&(Object.defineProperty(L.prototype,"length",{get:function(){return $(this),this.$$length;}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case l:case y:var r=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&r.push(e(t)),t=t.nextSibling;return r.join("");default:return t.nodeValue;}}(this);},set:function(e){switch(this.nodeType){case l:case y:for(;this.firstChild;)this.removeChild(this.firstChild);(e||e+"")&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e;}}}),ev=function(e,t,r){e["$$"+t]=r;});}catch(e){}r=F,n=ed;}),rI("g5ebD",function(e,t){c(e.exports,"XML_ENTITIES",()=>r,e=>r=e),c(e.exports,"HTML_ENTITIES",()=>n,e=>n=e);var r,n,i=rR("12jBw").freeze;r=i({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),n=i({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"});}),rI("gqQA6",function(e,t){var r,n,i,o,a;function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s);}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t;}function p(e,t,r){for(var n=e.tagName,o=null,a=e.length;a--;){var s=e[a],l=s.qName,u=s.value,c=l.indexOf(":");if(c>0)var p=s.prefix=l.slice(0,c),f=l.slice(c+1),h="xmlns"===p&&f;else f=l,p=null,h="xmlns"===l&&"";s.localName=f,!1!==h&&(null==o&&(o={},d(r,r={})),r[h]=o[h]=u,s.uri=i.XMLNS,t.startPrefixMapping(h,u));}for(var a=e.length;a--;){var p=(s=e[a]).prefix;p&&("xml"===p&&(s.uri=i.XML),"xmlns"!==p&&(s.uri=r[p||""]));}var c=n.indexOf(":");c>0?(p=e.prefix=n.slice(0,c),f=e.localName=n.slice(c+1)):(p=null,f=e.localName=n);var m=e.uri=r[p||""];if(t.startElement(m,f,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(m,f,n),o)for(p in o)Object.prototype.hasOwnProperty.call(o,p)&&t.endPrefixMapping(p);}function d(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);}function f(){this.attributeNames={};}c(e.exports,"XMLReader",()=>r,e=>r=e),c(e.exports,"ParseError",()=>n,e=>n=e),i=rR("12jBw").NAMESPACE,o=RegExp("[\\-\\.0-9"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=RegExp("^"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source+o.source+"*(?::"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source+o.source+"*)?$"),s.prototype=Error(),s.prototype.name="$bf67dc97ecf5e14f$var$ParseError",l.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),d(t,t={}),function(e,t,r,n,o){function a(e){var t,n=e.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"===n.charAt(0)?(t=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t):(o.error("entity not found:"+e),e);}function l(t){if(t>y){var r=e.substring(y,t).replace(/&#?\w+;/g,a);g&&c(y),n.characters(r,0,t-y),y=t;}}function c(t,r){for(;t>=h&&(r=m.exec(e));)h=(d=r.index)+r[0].length,g.lineNumber++;g.columnNumber=t-d+1;}for(var d=0,h=0,m=/.*(?:\r\n?|\n)|.*$/g,g=n.locator,v=[{currentNSMap:t}],E={},y=0;;){try{var w=e.indexOf("<",y);if(w<0){if(!e.substr(y).match(/^\s*$/)){var b=n.doc,x=b.createTextNode(e.substr(y));b.appendChild(x),n.currentElement=x;}return;}switch(w>y&&l(w),e.charAt(w+1)){case"/":var D=e.indexOf(">",w+3),S=e.substring(w+2,D).replace(/[ \t\n\r]+$/g,""),T=v.pop();D<0?(S=e.substring(w+2).replace(/[\s<].*/,""),o.error("end tag name: "+S+" is not complete:"+T.tagName),D=w+1+S.length):S.match(/\s",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i)return i[0].length,r.processingInstruction(i[1],i[2]),n+2;}return-1;}(e,w,n);break;case"!":g&&c(w),D=function(e,t,r,n){if("-"===e.charAt(t+2)){if("-"===e.charAt(t+3)){var i=e.indexOf("-->",t+4);if(i>t)return r.comment(e,t+4,i-t-4),i+3;n.error("Unclosed comment");}}else{if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,i-t-9),r.endCDATA(),i+3;}var o=function(e,t){var r,n=[];for(/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.lastIndex=t,/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.exec(e);r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.exec(e);)if(n.push(r),r[1])return n;}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],l=!1,u=!1;a>3&&(/^public$/i.test(o[2][0])?(l=o[3][0],u=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(u=o[3][0]));var c=o[a-1];return r.startDTD(s,l,u),r.endDTD(),c.index+c[0].length;}}return-1;}(e,w,n,o);break;default:g&&c(w);var O=new f(),A=v[v.length-1].currentNSMap,D=function(e,t,r,n,o,a){function s(e,t,n){r.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n);}for(var l,u,c=++t,p=0;;){var d=e.charAt(c);switch(d){case"=":if(1===p)l=e.slice(t,c),p=3;else if(2===p)p=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===p||1===p){if(1===p&&(a.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,(c=e.indexOf(d,t))>0)s(l,u=e.slice(t,c),t-1),p=5;else throw Error("attribute value no end '"+d+"' match");}else if(4==p)s(l,u=e.slice(t,c),t),a.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=c+1,p=5;else throw Error('attribute value must after "="');break;case"/":switch(p){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:p=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw Error("attribute invalid close char('/')");}break;case"":return a.error("unexpected end of input"),0==p&&r.setTagName(e.slice(t,c)),c;case">":switch(p){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(u=e.slice(t,c)).slice(-1)&&(r.closed=!0,u=u.slice(0,-1));case 2:2===p&&(u=l),4==p?(a.warning('attribute "'+u+'" missed quot(")!'),s(l,u,t)):(i.isHTML(n[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead!!'),s(u,u,t));break;case 3:throw Error("attribute value missed!!");}return c;case"€":d=" ";default:if(d<=" ")switch(p){case 0:r.setTagName(e.slice(t,c)),p=6;break;case 1:l=e.slice(t,c),p=2;break;case 4:var u=e.slice(t,c);a.warning('attribute "'+u+'" missed quot(")!!'),s(l,u,t);case 5:p=6;}else switch(p){case 2:r.tagName,i.isHTML(n[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=c,p=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:p=1,t=c;break;case 3:p=4,t=c;break;case 7:throw Error("elements closed character '/' and '>' must be connected to");}}c++;}}(e,w,O,A,a,o),C=O.length;if(!O.closed&&function(e,t,r,n){var i=n[r];return null==i&&((i=e.lastIndexOf(""))L;L++){var $=O[L];c($.offset),$.locator=u(g,{});}n.locator=_,p(O,n,A)&&v.push(O),n.locator=g;}else p(O,n,A)&&v.push(O);i.isHTML(O.uri)&&!O.closed?D=function(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return /^script$/i.test(r)||(a=a.replace(/&#?\w+;/g,n)),i.characters(a,0,a.length),o;}return t+1;}(e,D,O.tagName,a,n):D++;}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),D=-1;}D>y?y=D:l(Math.max(w,y)+1);}}(e,t,r,n,this.errorHandler),n.endDocument();}},f.prototype={setTagName:function(e){if(!a.test(e))throw Error("invalid tagName:"+e);this.tagName=e;},addValue:function(e,t,r){if(!a.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r};},length:0,getLocalName:function(e){return this[e].localName;},getLocator:function(e){return this[e].locator;},getQName:function(e){return this[e].qName;},getURI:function(e){return this[e].uri;},getValue:function(e){return this[e].value;}},r=l,n=s;}),rO=rR("52cQ1"),rA=rR("ER74K"),rC=rR("iWDmx"),function(){rR("eCDnw").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(r_={}),rL={},rL=rR("gMm9F"),r$={},r$={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"}}}},rP={},c(rk={},"isexe",()=>iC),c(rk,"sync",()=>i_),it.promises;const{access:ia,appendFile:is,chmod:il,chown:iu,copyFile:ic,lchmod:ip,lchown:id,link:ih,lstat:im,mkdir:ig,mkdtemp:iv,open:iE,readdir:iy,readFile:iw,readlink:ib,realpath:ix,rename:iD,rmdir:iS,stat:iT,symlink:iN,truncate:iR,unlink:iI,utimes:iO,writeFile:iA}=it.promises,iC=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iL(await iT(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},i_=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iL((0,it.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iL=(e,t)=>e.isFile()&&i$(e,t),i$=(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]),a=e.mode,s=e.uid,l=e.gid,u=parseInt("100",8),c=parseInt("010",8);return!!(a&parseInt("001",8)||a&c&&o.has(l)||a&u&&s===r||a&(u|c)&&0===r);};c(rU={},"isexe",()=>iP),c(rU,"sync",()=>ik);const iP=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iM(await iT(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},ik=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iM((0,it.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iU=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&iU(t,r),iF="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?rU:rk,ij=iF.isexe,iq=iF.sync;rM=ie.join,rF=ie.delimiter,rj=ie.sep,rq=ie.posix;const iB="win32"===process.platform,iG=new RegExp(`[${rq.sep}${rj===rq.sep?"":rj}]`.replace(/(\\)/g,"\\$1")),iH=RegExp("^\\."+iG.source),iV=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),iX=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=rF})=>{let i=e.match(iG)?[""]:[...(iB?[process.cwd()]:[]),...(t||"").split(n)];if(iB){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:[""]};},iz=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&iH.test(t)?t.slice(0,2):"")+rM(r,t);},iW=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iX(e,t),o=[];for(let a of r){let r=iz(a,e);for(let e of n){let n=r+e;if(await ij(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 iV(e);};rP=iW,iW.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iX(e,t),o=[];for(let a of r){let r=iz(a,e);for(let e of n){let n=r+e;if(iq(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 iV(e);},rB={},rG={},rH={},rV={};const iK="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iY=iK?";":":";rX={},"win32"===process.platform||rS.TESTING_WINDOWS?rz=rR("bGwAu"):rz=rR("d3qS7"),rX=d,d.sync=function(e,t){try{return rz.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iJ=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),iQ=(e,t)=>{let r=t.colon||iY,n=e.match(/\//)||iK&&e.match(/\\/)?[""]:[...(iK?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iK?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iK?i.split(r):[""];return iK&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},iZ=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=iQ(e,t),a=[],s=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&a.length?i(a):o(iJ(e));let s=n[r],u=/^".*"$/.test(s)?s.slice(1,-1):s,c=ie.join(u,e);i(l(!u&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c,r,0));}),l=(e,r,n)=>new Promise((u,c)=>{if(n===i.length)return u(s(r+1));let p=i[n];rX(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return u(e+p);a.push(e+p);}return u(l(e,r,n+1));});});return r?s(0).then(e=>r(null,e),r):s(0);};rV=iZ,iZ.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iQ(e,t=t||{}),o=[];for(let a=0;a{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rW=i0).default=i0,rH=function(e){return f(e)||f(e,!0);};rK=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;},rJ={},rQ={},rZ={},rZ=/^#!(.*)/,rQ=(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;},rJ=function(e){let t;let r=Buffer.alloc(150);try{t=it.openSync(e,"r"),it.readSync(t,r,0,150,0),it.closeSync(t);}catch(e){}return rQ(r.toString());};const i1="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(!i1)return e;let t=function(e){e.file=rH(e);let t=e.file&&rJ(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=ie.normalize(e.command),e.command=rK(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);},r0={};const i3="win32"===process.platform;r0={hookChildProcess:function(e,t){if(!i3)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=m(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:m,verifyENOENTSync:function(e,t){return i3&&1===e&&!t.file?h(t.original,"spawnSync"):null;},notFoundError:h},(rB=g).spawn=g,rB.sync=function(e,t,r){let n=rG(e,t,r),i=ru.spawnSync(n.command,n.args,n.options);return i.error=i.error||r0.verifyENOENTSync(i.status,n),i;},rB._parse=rG,rB._enoent=r0;const i2=(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);(i4(i,o)||!n)&&Object.defineProperty(e,r,o);},i4=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);},i5=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},i6=(e,t)=>`/* Wrapped ${e}*/ ${t}`,i8=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),i9=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),i7=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=i6.bind(null,n,t.toString());Object.defineProperty(i,"name",i9),Object.defineProperty(e,"toString",{...i8,value:i});},oe=new WeakMap(),ot=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...a){if(oe.set(o,++n),1===n)r=e.apply(this,a),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))i2(e,t,n,r);i5(e,t),i7(e,t,n);}(o,e),oe.set(o,n),o;};ot.callCount=e=>{if(!oe.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return oe.get(e);},r1=ot;const or=()=>Array.from({length:oo-oi+1},on),on=(e,t)=>({name:"SIGRT"+(t+1),number:oi+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),oi=34,oo=64,oa=[{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"}],os=()=>[...oa,...or()].map(ol),ol=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:a}}=rv.constants,s=void 0!==a;return{name:e,number:s?a:t,description:r,supported:s,action:n,forced:i,standard:o};},ou=Object.fromEntries(os().map(({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:a})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:a}])),oc=(e,t)=>{let r=op(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:a,forced:s,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:a,forced:s,standard:l}};},op=(e,t)=>{let r=t.find(({name:t})=>rv.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=os();return Object.assign({},...Array.from({length:oo+1},(t,r)=>oc(r,e)));})();const od=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:a})=>e?`timed out after ${t} milliseconds`:a?"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",of=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:a,escapedCommand:s,timedOut:l,isCanceled:u,killed:c,parsed:{options:{timeout:d,cwd:f=p(rm).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:ou[i].description,m=od({timedOut:l,timeout:d,errorCode:n&&n.code,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),g=`Command ${m}: ${a}`,v="[object Error]"===Object.prototype.toString.call(n),E=v?`${g} ${n.message}`:g,y=[E,t,e].filter(Boolean).join("\n");return v?(n.originalMessage=n.message,n.message=y):n=Error(y),n.shortMessage=E,n.command=a,n.escapedCommand=s,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n;},oh=["stdin","stdout","stderr"],om=e=>oh.some(t=>void 0!==e[t]),og=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return oh.map(t=>e[t]);if(om(e))throw Error("It's not possible to provide `stdio` in combination with one of "+oh.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,oh.length)},(e,r)=>t[r]);};r3={};const ov=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(ov(r2=rS.process)){var oE,oy=ra,ow=rR("e1Rfe"),ob=/^win/i.test(r2.platform),ox=ro;"function"!=typeof ox&&(ox=ox.EventEmitter),r2.__signal_exit_emitter__?oE=r2.__signal_exit_emitter__:((oE=r2.__signal_exit_emitter__=new ox()).count=0,oE.emitted={}),oE.infinite||(oE.setMaxListeners(1/0),oE.infinite=!0);var oD=function(){oN&&ov(rS.process)&&(oN=!1,ow.forEach(function(e){try{r2.removeListener(e,oT[e]);}catch(e){}}),r2.emit=oA,r2.reallyExit=oI,oE.count-=1);};(r3=function(e,t){if(!ov(rS.process))return function(){};oy.equal(typeof e,"function","a callback must be provided for exit handler"),!1===oN&&oR();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oE.on(r,e),function(){oE.removeListener(r,e),0===oE.listeners("exit").length&&0===oE.listeners("afterexit").length&&oD();};}).unload=oD;var oS=function(e,t,r){oE.emitted[e]||(oE.emitted[e]=!0,oE.emit(e,t,r));},oT={};ow.forEach(function(e){oT[e]=function(){ov(rS.process)&&r2.listeners(e).length===oE.count&&(oD(),oS("exit",null,e),oS("afterexit",null,e),ob&&"SIGHUP"===e&&(e="SIGINT"),r2.kill(r2.pid,e));};}),r3.signals=function(){return ow;};var oN=!1,oR=function(){!oN&&ov(rS.process)&&(oN=!0,oE.count+=1,ow=ow.filter(function(e){try{return r2.on(e,oT[e]),!0;}catch(e){return!1;}}),r2.emit=oC,r2.reallyExit=oO);};r3.load=oR;var oI=r2.reallyExit,oO=function(e){ov(rS.process)&&(r2.exitCode=e||0,oS("exit",r2.exitCode,null),oS("afterexit",r2.exitCode,null),oI.call(r2,r2.exitCode));},oA=r2.emit,oC=function(e,t){if(!("exit"===e&&ov(rS.process)))return oA.apply(this,arguments);void 0!==t&&(r2.exitCode=t);var r=oA.apply(this,arguments);return oS("exit",r2.exitCode,null),oS("afterexit",r2.exitCode,null),r;};}else r3=function(){return function(){};};const o_=(e,t="SIGTERM",r={})=>{let n=e(t);return oL(e,t,r,n),n;},oL=(e,t,r,n)=>{if(!o$(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},ok(r));i.unref&&i.unref();},o$=(e,{forceKillAfterTimeout:t},r)=>oP(e)&&!1!==t&&r,oP=e=>e===p(rv).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),ok=({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;},oU=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oM=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oF=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oM(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oj=({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})`);},oq=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=p(r3)(()=>{e.kill();});return n.finally(()=>{i();});},oB=e=>e instanceof rh.ChildProcess&&"function"==typeof e.then,oG=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rl.createWriteStream)(r)),e;if(b(r))return e[t].pipe(r),e;if(!oB(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!b(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oH=e=>{null!==e.stdout&&(e.pipeStdout=oG.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oG.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oG.bind(void 0,e,"all"));};r4={},r5=rE.constants,r6=rs.promisify,r8={},r9=ry.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 r9({objectMode:i});r&&o.setEncoding(r);let a=0,s=[];return o.on("data",e=>{s.push(e),i?a=s.length:a+=e.length;}),o.getBufferedValue=()=>t?s:n?Buffer.concat(s,a):s.join(""),o.getBufferedLength=()=>a,o;};const oV=r6(ry.pipeline);class oX extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r4=x).buffer=(e,t)=>x(e,{...t,encoding:"buffer"}),r4.array=(e,t)=>x(e,{...t,array:!0}),r4.MaxBufferError=oX,r7={},ne=ry.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 ne({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.");},oW=({input:e,inputFile:t})=>"string"!=typeof t?e:(oz(e),(0,rl.readFileSync)(t)),oK=e=>{let t=oW(e);if(w(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},oY=({input:e,inputFile:t})=>"string"!=typeof t?e:(oz(e),(0,rl.createReadStream)(t)),oJ=(e,t)=>{let r=oY(t);void 0!==r&&(w(r)?r.pipe(e.stdin):e.stdin.end(r));},oQ=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=p(r7)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},oZ=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o0=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?p(r4)(e,{encoding:t,maxBuffer:n}):p(r4).buffer(e,{maxBuffer:n});},o1=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},a)=>{let s=o0(e,{encoding:n,buffer:i,maxBuffer:o}),l=o0(t,{encoding:n,buffer:i,maxBuffer:o}),u=o0(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([a,s,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},oZ(e,s),oZ(t,l),oZ(r,u)]);}},o3=(async()=>{})().constructor.prototype,o2=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o3,e)]),o4=(e,t)=>{for(let[r,n]of o2){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},o5=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);});}),o6=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],o8=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,o9=(e,t)=>o6(e,t).join(" "),o7=(e,t)=>o6(e,t).map(e=>o8(e)).join(" "),ae=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;},at=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rh.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rd.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},ar=(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)],an=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],a=ar(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return a;let s=t[n];return ar(a,Array.isArray(s)?s.map(e=>at(e)):[at(s)],o.endsWith(" "));},ai=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=an({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},ao=(0,rw.debuglog)("execa").enabled,aa=(e,t)=>(e+"").padStart(t,"0"),as=()=>{let e=new Date();return`${aa(e.getHours(),2)}:${aa(e.getMinutes(),2)}:${aa(e.getSeconds(),2)}.${aa(e.getMilliseconds(),3)}`;},al=(e,{verbose:t})=>{t&&p(rm).stderr.write(`[${as()}] ${e} `);},au=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...p(rm).env,...e}:e;return r?y({env:o,cwd:n,execPath:i}):o;},ac=(e,t,r={})=>{let n=p(rB)._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||p(rm).cwd(),execPath:p(rm).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:ao,...r}).env=au(r),r.stdio=og(r),"win32"===p(rm).platform&&"cmd"===p(rf).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},ap=(e,t,r)=>"string"==typeof t||(0,rd.Buffer).isBuffer(t)?e.stripFinalNewline?v(t):t:void 0===r?void 0:"",ad=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},af=(e={})=>({preferLocal:!0,...ad(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...a]=ai(n,i);return D(o,a,af(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]=ai(e,r);return S(n,i,af(t));},r;}();const ah={stdio:"inherit",shell:!0},am=/^~(?=$|\/|\\)/;rA=rR("ER74K"),nt={},nr=rR("bSUdl"),nn=rb.env.npm_package_json,no=!!((ni=rb.env.npm_config_user_agent)&&ni.startsWith("npm")),na=!!(nn&&nn.endsWith("package.json")),ns=no||na,nl=!!(ni&&ni.startsWith("yarn")),nu=ns||nl,nc=n7.homedir(),np=process.env.XDG_CONFIG_HOME||ie.join(nc,".config","simple-update-notifier"),nd=function(e){return ie.join(np,"".concat(e.replace("@","").replace("/","__"),".json"));},nf=function(){it.existsSync(np)||it.mkdirSync(np,{recursive:!0});},nh=function(e){var t=nd(e);try{if(!it.existsSync(t))return;return JSON.parse(it.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nm=function(e){var t=nd(e);it.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},ng=function(e,t){return _(void 0,void 0,void 0,function(){var r;return L(this,function(n){return r="https://registry.npmjs.org/-/package/".concat(e,"/dist-tags"),[2,new Promise(function(e,n){io.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);});})];});});},nv=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,a=e.alwaysRun,s=e.debug;return _(void 0,void 0,void 0,function(){var e,r;return L(this,function(i){switch(i.label){case 0:if(nf(),e=nh(t.name),!(a||!e||ee?`timed out after ${t} milliseconds`:a?"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",av=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:a,escapedCommand:s,timedOut:l,isCanceled:u,killed:c,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o;let d=void 0===(i=null===i?void 0:i)?void 0:ou[i].description,f=ag({timedOut:l,timeout:p,errorCode:n&&n.code,signal:i,signalDescription:d,exitCode:o,isCanceled:u}),h=`Command ${f}: ${a}`,m="[object Error]"===Object.prototype.toString.call(n),g=m?`${h} ${n.message}`:h,v=[g,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=v):n=Error(v),n.shortMessage=g,n.command=a,n.escapedCommand=s,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n;},aE=["stdin","stdout","stderr"],ay=e=>aE.some(t=>void 0!==e[t]),aw=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return aE.map(t=>e[t]);if(ay(e))throw Error("It's not possible to provide `stdio` in combination with one of "+aE.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,aE.length)},(e,r)=>t[r]);},ab=(e,t="SIGTERM",r={})=>{let n=e(t);return ax(e,t,r,n),n;},ax=(e,t,r,n)=>{if(!aD(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},aT(r));i.unref&&i.unref();},aD=(e,{forceKillAfterTimeout:t},r)=>aS(e)&&!1!==t&&r,aS=e=>e===p(rv).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),aT=({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;},aN=(e,t)=>{e.kill()&&(t.isCanceled=!0);},aR=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},aI=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{aR(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},aO=({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})`);},aA=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=p(r3)(()=>{e.kill();});return n.finally(()=>{i();});},aC=e=>e instanceof rh.ChildProcess&&"function"==typeof e.then,a_=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rl.createWriteStream)(r)),e;if(b(r))return e[t].pipe(r),e;if(!aC(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!b(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},aL=e=>{null!==e.stdout&&(e.pipeStdout=a_.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=a_.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=a_.bind(void 0,e,"all"));},a$=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},aP=({input:e,inputFile:t})=>"string"!=typeof t?e:(a$(e),(0,rl.readFileSync)(t)),ak=e=>{let t=aP(e);if(w(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},aU=({input:e,inputFile:t})=>"string"!=typeof t?e:(a$(e),(0,rl.createReadStream)(t)),aM=(e,t)=>{let r=aU(t);void 0!==r&&(w(r)?r.pipe(e.stdin):e.stdin.end(r));},aF=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=p(r7)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},aj=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},aq=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?p(r4)(e,{encoding:t,maxBuffer:n}):p(r4).buffer(e,{maxBuffer:n});},aB=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},a)=>{let s=aq(e,{encoding:n,buffer:i,maxBuffer:o}),l=aq(t,{encoding:n,buffer:i,maxBuffer:o}),u=aq(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([a,s,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},aj(e,s),aj(t,l),aj(r,u)]);}},aG=(async()=>{})().constructor.prototype,aH=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(aG,e)]),aV=(e,t)=>{for(let[r,n]of aH){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},aX=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);});}),az=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],aW=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,aK=(e,t)=>az(e,t).join(" "),aY=(e,t)=>az(e,t).map(e=>aW(e)).join(" "),aJ=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rh.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rd.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},aQ=(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)],aZ=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],a=aQ(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return a;let s=t[n];return aQ(a,Array.isArray(s)?s.map(e=>aJ(e)):[aJ(s)],o.endsWith(" "));},a0=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=aZ({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},a1=(0,rw.debuglog)("execa").enabled,a3=(e,t)=>(e+"").padStart(t,"0"),a2=()=>{let e=new Date();return`${a3(e.getHours(),2)}:${a3(e.getMinutes(),2)}:${a3(e.getSeconds(),2)}.${a3(e.getMilliseconds(),3)}`;},a4=(e,{verbose:t})=>{t&&p(rm).stderr.write(`[${a2()}] ${e} `);},a5=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...p(rm).env,...e}:e;return r?y({env:o,cwd:n,execPath:i}):o;},a6=(e,t,r={})=>{let n=p(rB)._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||p(rm).cwd(),execPath:p(rm).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:a1,...r}).env=a5(r),r.stdio=aw(r),"win32"===p(rm).platform&&"cmd"===p(rf).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},a8=(e,t,r)=>"string"==typeof t||(0,rd.Buffer).isBuffer(t)?e.stripFinalNewline?v(t):t:void 0===r?void 0:"",a9=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},a7=(e={})=>({preferLocal:!0,...a9(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...a]=a0(n,i);return k(o,a,a7(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]=a0(e,r);return function(e,t,r){let n;let i=a6(e,t,r),o=aK(e,t),a=aY(e,t);a4(a,i.options);let s=ak(i.options);try{n=p(rh).spawnSync(i.file,i.args,{...i.options,input:s});}catch(e){throw av({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:a,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=a8(i.options,n.stdout,n.error),u=a8(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=av({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:a,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:a,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,a7(t));},r;}(),nb={};const se="win32"!==n7.platform(),st=n7.release(),sr=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nb=function(e){return se?e.replace(/(\s+)/g,"\\$1"):sr(.../(\d+\.\d+)\.(\d+)/.exec(st).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rR("i8A01"),t=function(e){return e.split("").reverse().join("");},nx=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(nx={}),nD=rR("kY0n1");const sn={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},si=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],so=C("~/.cpprc");let sa=!1;nD=rR("kY0n1"),nS=rR("iNGpn"),rA=rR("ER74K");const{appendFile:ss}=it.promises;let sl=!1,su=!1;const sc=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(rr=nT||(nT={}))[rr.NameDashVersion=0]="NameDashVersion",rr[rr.NameEqualsVersion=1]="NameEqualsVersion",rr[rr.Name=2]="Name",rr[rr.None=3]="None",nw=rR("4t50X"),nN=rR("bzNgi"),nN=rR("bzNgi"),nR=rR("hZdK0");let sp=!1;nD=rR("kY0n1"),nN=rR("bzNgi"),rA=rR("ER74K");let sd=!1;rA=rR("ER74K"),rA=rR("ER74K");let sf=!1,sh=!1;const sm=/Version\s*:\s*(.*)/g;nI={},nO=ie.resolve(__dirname,"../../node_modules/@actions/tool-cache/lib"),nA=nI&&nI.__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];}),nC=nI&&nI.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),n_=nI&&nI.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nA(t,e,r);return nC(t,e),t;},nL=nI&&nI.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}l((n=n.apply(e,t||[])).next());});},n$=nI&&nI.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nI,"__esModule",{value:!0}),nI.evaluateVersions=nI.isExplicitVersion=nI.findFromManifest=nI.getManifestFromRepo=nI.findAllVersions=nI.find=nI.cacheFile=nI.cacheDir=nI.extractZip=nI.extractXar=nI.extractTar=nI.extract7z=nI.downloadTool=nI.HTTPError=void 0;const sg=n_(rR("4t50X")),sv=n_(rR("hZdK0")),sE=n_(it),sy=n_(rR("42L4Y")),sw=n_(n7),sb=n_(ie),sx=n_(rR("a7JAS")),sD=n_(rR("lroIv")),sS=n_(ry),sT=n_(rs),sN=n$(rR("eAF86"));nP=rR("1f6JF"),nU=(nk={},nk.__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];})),nM=nk&&nk.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nF=nk&&nk.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nU(t,e,r);return nM(t,e),t;},nj=nk&&nk.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(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(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(nk,"__esModule",{value:!0}),nk.RetryHelper=void 0;const sR=nF(rR("4t50X"));nk.RetryHelper=class{constructor(e,t,r){if(e<1)throw Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return nj(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class sI extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nI.HTTPError=sI;const sO="win32"===process.platform,sA="darwin"===process.platform;nI.downloadTool=function(e,t,r,n){return nL(this,void 0,void 0,function*(){t=t||sb.join(eb(),sN.default()),yield sv.mkdirP(sb.dirname(t)),sg.debug("Downloading "+e),sg.debug("Destination "+t);let i=ex("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=ex("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),a=new nk.RetryHelper(3,i,o);return yield a.execute(()=>nL(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nL(this,void 0,void 0,function*(){if(sE.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new sx.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(sg.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 sI(o.message.statusCode);throw sg.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let a=sT.promisify(sS.pipeline),s=ex("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield a(s,sE.createWriteStream(t)),sg.debug("download complete"),l=!0,t;}finally{if(!l){sg.debug("download failed");try{yield sv.rmRF(t);}catch(e){sg.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof sI)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nI.extract7z=function(e,t,r){return nL(this,void 0,void 0,function*(){ra.ok(sO,"extract7z() not supported on current OS"),ra.ok(e,'parameter "file" is required'),t=yield em(t);let n=process.cwd();if(process.chdir(t),r)try{let t=sg.isDebug()?"-bb1":"-bb0";yield nP.exec(`"${r}"`,["x",t,"-bd","-sccUTF-8",e],{silent:!0});}finally{process.chdir(n);}else{let r=sb.join(nO,"..","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,""),a=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield sv.which("powershell",!0);yield nP.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",a],{silent:!0});}finally{process.chdir(n);}}return t;});},nI.extractTar=function(e,t,r="xz"){return nL(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield em(t),sg.debug("Checking tar --version");let i="";yield nP.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),sg.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],sg.isDebug()&&!r.includes("v")&&n.push("-v");let a=t,s=e;return sO&&o&&(n.push("--force-local"),a=t.replace(/\\/g,"/"),s=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",a,"-f",s),yield nP.exec("tar",n),t;});},nI.extractXar=function(e,t,r=[]){return nL(this,void 0,void 0,function*(){let n;ra.ok(sA,"extractXar() not supported on current OS"),ra.ok(e,'parameter "file" is required'),t=yield em(t),(n=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),sg.isDebug()&&n.push("-v");let i=yield sv.which("xar",!0);return yield nP.exec(`"${i}"`,Array.from(new Set(n))),t;});},nI.extractZip=function(e,t){return nL(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield em(t),sO?yield function(e,t){return nL(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 sv.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 $_ } } ;`;sg.debug("Using pwsh at path: "+i),yield nP.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 sv.which("powershell",!0);sg.debug("Using powershell at path: "+t),yield nP.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return nL(this,void 0,void 0,function*(){let r=yield sv.which("unzip",!0),n=[e];sg.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nP.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nI.cacheDir=function(e,t,r,n){return nL(this,void 0,void 0,function*(){if(r=sD.clean(r)||r,n=n||sw.arch(),sg.debug(`Caching tool ${t} ${r} ${n}`),sg.debug("source dir: "+e),!sE.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eg(t,r,n);for(let t of sE.readdirSync(e)){let r=sb.join(e,t);yield sv.cp(r,i,{recursive:!0});}return ev(t,r,n),i;});},nI.cacheFile=function(e,t,r,n,i){return nL(this,void 0,void 0,function*(){if(n=sD.clean(n)||n,i=i||sw.arch(),sg.debug(`Caching tool ${r} ${n} ${i}`),sg.debug("source file: "+e),!sE.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eg(r,n,i),a=sb.join(o,t);return sg.debug("destination file "+a),yield sv.cp(e,a),ev(r,n,i),o;});},nI.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||sw.arch(),eE(t)||(t=ey(eh(e,r),t));let n="";if(t){t=sD.clean(t)||"";let i=sb.join(ew(),e,t,r);sg.debug("checking cache: "+i),sE.existsSync(i)&&sE.existsSync(`${i}.complete`)?(sg.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):sg.debug("not found");}return n;},nI.findAllVersions=eh,nI.getManifestFromRepo=function(e,t,r,n="master"){return nL(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,a=new sx.HttpClient("tool-cache"),s={};r&&(sg.debug("set auth"),s.authorization=r);let l=yield a.getJson(o,s);if(!l.result)return i;let u="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){u=e.url;break;}s.accept="application/vnd.github.VERSION.raw";let c=yield(yield a.get(u,s)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{i=JSON.parse(c);}catch(e){sg.debug("Invalid json");}}return i;});},nI.findFromManifest=function(e,t,r,n=sw.arch()){return nL(this,void 0,void 0,function*(){return yield sy._findMatch(e,t,r,n);});},nI.isExplicitVersion=eE,nI.evaluateVersions=ey,nq=rR("8aNoG"),nB=rR("l8hao"),nN=rR("bzNgi"),rA=rR("ER74K"),rO=rR("52cQ1"),nD=rR("kY0n1"),Object.defineProperty(nG={},"__esModule",{value:!0}),nG.retryAsPromised=nG.TimeoutError=void 0;class sC extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}nG.TimeoutError=sC,nG.retryAsPromised=eD,nG.default=eD;let s_=!1;nN=rR("bzNgi"),nR=rR("hZdK0"),rA=rR("ER74K"),nw=rR("4t50X"),nD=rR("kY0n1"),nN=rR("bzNgi"),nP=rR("1f6JF"),rO=rR("52cQ1"),rA=rR("ER74K"),nH={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},nV=Array.prototype.slice,nX=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:eL(this.keys),size:this.size,values:eL(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var a=1;o>a;a++)if(r(i[a],e))return a;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var a=e.length;if(a>1){for(var s=0;o>s;s++)if((t=i[s]).length===a){for(r=0;a>r&&n(t[r],e[r]);r++);if(r===a)return s;}}else for(var s=0;o>s;s++)if((t=i[s]).length===a&&n(t[0],e[0]))return s;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,a=r;a--;)n[a+1]=n[a],i[a+1]=i[a];n[0]=e,i[0]=t;var s=this.options.maxSize;o===s&&r===o?(n.pop(),i.pop()):r>=s&&(n.length=i.length=s);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],a=this.values[0];this.values[0]=a.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),nN=rR("bzNgi"),nz=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rx.URL(t),!0;}catch{return!1;}},nW=async e=>{if(!nz(e))return!1;let t=await eU(e,"HEAD");return!!t||!!(t=await eU(e,"GET"));},nK=rR("3uysP"),nB=rR("l8hao"),nY=rR("l655J"),nP=rR("1f6JF"),rA=rR("ER74K");const sL=/v?(\d\S*)/,s$={llvm:eB(),clangtidy:eB(),clangformat:eB(),ninja:"1.11.1",cmake:"3.28.1",gcovr:"5.2",conan:"1.62.0",meson:"1.3.1",kcov:"42",task:"3.33.1",doxygen:ea()?"1.10.0-1":"1.10.0",gcc:ea()?"13.2.1-3":"13"},sP={pip:"22.2.0",python:"3.7.9"},sk={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{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:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-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:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-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:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};nD=rR("kY0n1");const sU=ek(e1,{isPromise:!0});rA=rR("ER74K"),Object.defineProperty(nJ={},"__esModule",{value:!0}),nJ.getUbuntuVersion=void 0,nJ.getUbuntuVersion=e4;const sM=ek(e5,{isPromise:!0}),sF=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||it.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||it.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||it.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||it.mkdirSync,t;},sj=(e,t,r)=>{let n=(0,ie.dirname)(e),i={...sF(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 sj(e,i,sj(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;}}},sq=Object.assign(async(e,t,r)=>{let n=sF(t);n.recursive=!1;let i=(0,ie.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 sq(i,n).then(t=>sq(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:sj}),sB=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?sB(e,(0,ie.dirname)(t),t):void 0);},sG=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?sG(e,(0,ie.dirname)(t),t):void 0;}},sH=(e,t)=>{let r=sF(t);if(r.recursive=!0,(0,ie.dirname)(e)===e)return r.mkdirSync(e,r);let n=sG(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return sj(e,r);throw t;}},sV=Object.assign(async(e,t)=>{let r={...sF(t),recursive:!0};return(0,ie.dirname)(e)===e?await r.mkdirAsync(e,r):sB(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return sq(e,r);throw t;}));},{sync:sH}),sX=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,sz=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,ie.resolve)(e),"win32"===sX){let{root:t}=(0,ie.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},sW=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),sK=+sW[0]>10||10==+sW[0]&&+sW[1]>=12,sY=sK?e=>sF(e).mkdirSync===it.mkdirSync:()=>!1,sJ=Object.assign(sK?e=>sF(e).mkdir===it.mkdir:()=>!1,{sync:sY}),sQ=(e,t)=>{e=sz(e);let r=sF(t);return sY(r)?sH(e,r):sj(e,r);},sZ=Object.assign(async(e,t)=>{e=sz(e);let r=sF(t);return sJ(r)?sV(e,r):sq(e,r);},{mkdirpSync:sQ,mkdirpNative:sV,mkdirpNativeSync:sH,mkdirpManual:sq,mkdirpManualSync:sj,sync:sQ,native:sV,nativeSync:sH,manual:sq,manualSync:sj,useNative:sJ,useNativeSync:sY}),s0=ek(te,{isPromise:!0}),s1=ek(tt,{isPromise:!0}),s3=ek(tr,{isPromise:!0});nN=rR("bzNgi"),rA=rR("ER74K"),nD=rR("kY0n1");const s2=new Map([[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"]]]),s4=ek(function(){let{version:e}=function(e){e=+(e||p(rv).release()).split(".")[0];let[t,r]=s2.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>parseInt(e,10));});(nZ=rR("fSAop")).DOMImplementation,nZ.XMLSerializer,nQ=rR("i9SYz").DOMParser;const s5=63,s6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s8=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];class s9{constructor(){}get type(){return this.constructor.TYPE;}castTo(e){return this.type===e.TYPE?this:null;}castAs(e){let t=this.castTo(e);if(!t)throw Error(`Cannot cast type '${this.type}' to '${e.TYPE}'`);return t;}fromXml(e){let{documentElement:t}=tc(e);this.fromXmlElement(t);}}class s7 extends s9{static TYPE="boolean";static TAG_NAMES=["true","false"];value=!1;constructor(e=!1){super(),this.value=e;}fromXmlElement(e){switch(!function(e){let{childNodes:t}=e;if(t.length)throw Error("Unexpected child nodes: "+e.tagName);}(e),e.tagName){case"true":this.value=!0;return;case"false":this.value=!1;return;default:throw tf(e,"");}}toXml(e=null,t=0){let r=(e?.indentString??" ").repeat(t);return this.value?`${r}`:`${r}`;}}class le extends s9{static TYPE="data";static TAG_NAMES=["data"];constructor(e=new Uint8Array(0)){super(),this.value=e;}fromXmlElement(e){tf(e,"data");let t=td(e)?.nodeValue||"";this.value=function(e){let t=e.length,r=[];e:for(let n,i,o,a,s,l,u=0;t>u;){for(;;){if((s=s8[e.charCodeAt(u++)])>=0){n=s;break;}if(u>=t)break e;}for(;;){if((s=s8[e.charCodeAt(u++)])>=0){i=s;break;}if(u>=t)break e;}for(;;){if((s=s8[e.charCodeAt(u++)])>=0){o=s;break;}if(u>=t)break e;}for(;;){if((s=s8[e.charCodeAt(u++)])>=0){a=s;break;}if(u>=t)break e;}switch(l=(n&s5)<<18|(i&s5)<<12|(o&s5)<<6|a&s5,o>s5?a>s5?2:0:a>s5?1:0){case 0:r.push(l>>16&255,l>>8&255,255&l);break;case 1:r.push(l>>16&255,l>>8&255);break;case 2:r.push(l>>16&255);}}return new Uint8Array(r);}(t);}toXml(e=null,t=0){let r=e?.newlineString??"\n",n=e?.dataColumns??68,i=(e?.indentString??" ").repeat(t),o=`${i}`;if(n>0)for(let e=th(this.value);e;e=e.substring(n))o+=`${r}${i}${e.substring(0,n)}`;else o+=`${r}${i}${th(this.value)}`;return o+`${r}${i}`;}}class lt extends s9{static TYPE="integer";static TAG_NAMES=["integer"];value=0;constructor(e=0){super(),tm(e),this.value=e;}asBigInt(){return BigInt(this.value);}asNumber(){return+this.value;}fromXmlElement(e){tf(e,"integer");let t=td(e)?.nodeValue||"";if(!/^[-+]?[0-9]+$/.test(t))throw Error("Invalid integer data: "+t);let r=+t;this.value=r>9007199254740991||r<-9007199254740991?BigInt(t):r;}toXml(e=null,t=0){let r=(e?.indentString??" ").repeat(t),n=this.value;return tm(n),`${r}${n}`;}}class lr extends s9{static TYPE="real";static TAG_NAMES=["real"];value=0;constructor(e=0){super(),this.value=e;}fromXmlElement(e){tf(e,"real");let t=td(e)?.nodeValue||"";if(!/^[-+]?([0-9]+|[0-9]*\.[0-9]+)$/.test(t))throw Error("Invalid real data: "+t);this.value=+t;}toXml(e=null,t=0){let r=(e?.indentString??" ").repeat(t),n=this.value;return`${r}${n}`;}}class ln extends s9{static TYPE="string";static TAG_NAMES=["string"];value="";constructor(e=""){super(),this.value=e;}fromXmlElement(e){tf(e,"string"),this.value=td(e)?.nodeValue||"";}toXml(e=null,t=0){let r=(e?.indentString??" ").repeat(t),n=this.value.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">");return`${r}${n}`;}}class li extends s9{static TYPE="array";static TAG_NAMES=["array"];static get CHILD_TAG_NAMES(){if(!i)for(let e of(i=new Map(),[li,s7,le,lo,lt,lr,ln]))for(let t of e.TAG_NAMES)i.set(t,e);return i;}value=[];constructor(e=[]){super(),this.value=e;}get length(){return this.value.length;}get(e){let{value:t}=this;return ethis.childFromXmlElement(e));}childFromXmlElement(e){let{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);let i=new n();return i.fromXmlElement(e),i;}toXml(e=null,t=0){let r=e?.newlineString??"\n",n=(e?.indentString??" ").repeat(t),i=this.value;if(!i.length)return`${n}`;let o=`${n}`;for(let n of i)o+=`${r}${n.toXml(e,t+1)}`;return o+`${r}${n}`;}}class lo extends s9{static TYPE="dict";static TAG_NAMES=["dict"];static get CHILD_TAG_NAMES(){if(!o)for(let e of(o=new Map(),[li,s7,le,lo,lt,lr,ln]))for(let t of e.TAG_NAMES)o.set(t,e);return o;}value=new Map();constructor(e=new Map()){super(),this.value=e;}get size(){return this.value.size;}has(e){return this.value.has(e);}get(e){return this.value.get(e)||null;}getValue(e){let t=this.get(e);if(!t)throw Error("Key is null: "+e);return t;}set(e,t){this.value.set(e,t);}delete(e){this.value.delete(e);}clear(){this.value.clear();}fromXmlElement(e){tf(e,"dict");let t=tp(e),r=t.length;if(r%2)throw Error("Uneven number of child elements: "+r);let n=new Map();for(let e=0;r>e;e+=2){let r=t[e],i=t[e+1];tf(r,"key");let o=td(r)?.nodeValue||"",a=this.childFromXmlElement(i);n.set(o,a);}this.value=n;}childFromXmlElement(e){let{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);let i=new n();return i.fromXmlElement(e),i;}toXml(e=null,t=0){let r=e?.indentString??" ",n=e?.newlineString??"\n",i=r.repeat(t),o=this.value;if(!o.size)return`${i}`;let a=r.repeat(t+1),s=`${i}`;for(let[r,i]of o){let o=r.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">");s+=`${n}${a}${o}${n}${i.toXml(e,t+1)}`;}return s+`${n}${i}`;}}const la='',ls='';class ll{static XML_DECLARATION=la;static XML_DOCTYPE=ls;xmlDeclaration=la;xmlDoctype=ls;value=null;constructor(e=null){this.value=e;}getValue(){let{value:e}=this;if(!e)throw Error("Value is null");return e;}valueCastTo(e){let{value:t}=this;return t?t.castTo(e):null;}valueCastAs(e){let t=this.valueCastTo(e);if(!t)throw Error(`Cannot cast value to type '${e.TYPE}'`);return t;}fromXml(e){let{declaration:t,doctype:r,documentElement:n}=tc(e);this.fromXmlElement(n,t,r);}fromXmlElement(e,t=null,r=null){let{tagName:n}=e;if("plist"!==n)throw Error("Unexpected root plist tag name: "+n);let i=tp(e),o=i.length;if(o>1)throw Error("Multiple root plist child tag: "+o);this.value=o?this.childFromXmlElement(i[0]):null,this.xmlDeclaration=t||"",this.xmlDoctype=r||"";}childFromXmlElement(e){return new lo().childFromXmlElement(e);}toXml(e=null){let t=e?.indentRoot??!1,r=e?.newlineString??"\n",n=this.value;return[...[this.xmlDeclaration,this.xmlDoctype].filter(e=>e),'',...(n?[n.toXml(e,t?1:0)]:[]),"",""].join(r);}}class lu{constructor(e=null){this.hdiutil=(e?e.hdiutil:null)||"hdiutil";}async attach(e,t=null,r=null){let n=await this._runAttach(this._argsAttach(e,t)),{eject:i,ejectSync:o}=this._createEjects(n);return{devices:n,eject:i,ejectSync:o};}attachSync(e,t=null,r=null){let n=this._runAttachSync(this._argsAttach(e,t)),{eject:i,ejectSync:o}=this._createEjects(n);return{devices:n,eject:i,ejectSync:o};}async eject(e,t=null){await this._runEject(this._argsEject(e,t));}ejectSync(e,t=null){this._runEjectSync(this._argsEject(e,t));}_argsAttach(e,t=null){let r=["attach","-plist"];return t&&(t.readonly&&r.push("-readonly"),t.nobrowse&&r.push("-nobrowse")),r.push(this._fileArg(e)),r;}_argsEject(e,t=null){let r=["eject"];return t&&t.force&&r.push("-force"),r.push(this._fileArg(e)),r;}async _runAttach(e){let t=[],r=(0,rh.spawn)(this.hdiutil,e);r.stdout.on("data",e=>{t.push(e);});let n=await new Promise((e,t)=>{r.once("exit",e),r.once("error",t);});if(n)throw Error("Attach failed: hdiutil exit code: "+n);return this._parseDevices(Buffer.concat(t).toString());}_runAttachSync(e){let{status:t,error:r,stdout:n}=(0,rh.spawnSync)(this.hdiutil,e);if(r)throw r;if(t)throw Error("Attach failed: hdiutil exit code: "+t);return this._parseDevices(n.toString());}async _runEject(e){let t=(0,rh.spawn)(this.hdiutil,e),r=await new Promise((e,r)=>{t.once("exit",e),t.once("error",r);});if(r)throw Error("Eject failed: hdiutil exit code: "+r);}_runEjectSync(e){let{status:t,error:r}=(0,rh.spawnSync)(this.hdiutil,e);if(r)throw r;if(t)throw Error("Eject failed: hdiutil exit code: "+t);}_fileArg(e){return e.startsWith("-")?"./"+e:e;}_parseDevices(e){let t=new ll();t.fromXml(e);let r=t.valueCastAs(lo).getValue("system-entities").castAs(li),n=[];for(let e of r.value){let t=e.castAs(lo),r=t.getValue("dev-entry").castAs(ln).value,i=t.getValue("potentially-mountable").castAs(s7).value,o=t.get("content-hint"),a=t.get("unmapped-content-hint"),s=t.get("volume-kind"),l=t.get("mount-point"),u={devEntry:r,potentiallyMountable:i};o&&(u.contentHint=o.castAs(ln).value),a&&(u.unmappedContentHint=a.castAs(ln).value),s&&(u.volumeKind=s.castAs(ln).value),l&&(u.mountPoint=l.castAs(ln).value),n.push(u);}return n;}_findRootDevice(e){let t=null;for(let r of e)(null===t||t.devEntry.length>r.devEntry.length)&&(t=r);return t;}_createEjects(e,t=null){let r=this._findRootDevice(e)?.devEntry,n=null,i={eject:async(e=null)=>{r&&(await this.eject(r,e),r="",n&&process.off("exit",n));},ejectSync:(e=null)=>{r&&(this.ejectSync(r,e),r="",n&&process.off("exit",n));}};return t&&(n=()=>{i.ejectSync(t);},process.once("exit",n)),i;}}n0=rR("2aJGP"),nB=rR("l8hao"),nP=rR("1f6JF"),rA=rR("ER74K"),nN=rR("bzNgi"),rA=rR("ER74K"),rO=rR("52cQ1"),nD=rR("kY0n1"),n1=ie.resolve(__dirname,"../../src/gcc");const lc={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"}};nY=rR("l655J"),n0=rR("2aJGP"),nN=rR("bzNgi"),rA=rR("ER74K"),nN=rR("bzNgi"),n3=ie.resolve(__dirname,"../../src/kcov"),rO=rR("52cQ1"),rA=rR("ER74K"),nD=rR("kY0n1"),nN=rR("bzNgi"),nw=rR("4t50X"),rA=rR("ER74K"),nN=rR("bzNgi"),nw=rR("4t50X");const lp=rb.env["ProgramFiles(x86)"],ld=[rb.env["ProgramFiles(x86)"],rb.env.ProgramFiles],lf=["Enterprise","Professional","Community","BuildTools"],lh=["2022","2019","2017"],lm={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};n2=t$;const lg=`${lp}\\Microsoft Visual Studio\\Installer`;n4=tP,n5=function(e,t,r,n,i,o){if("win32"!=rb.platform){nw.info("This is not a Windows virtual environment, bye!");return;}rb.env.PATH+=ie.delimiter+lg;let a={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in a&&(e=a[e.toLowerCase()]);var s=[e];"true"==n&&s.push("uwp"),t&&s.push(t),r&&s.push("-vcvars_ver="+r),"true"==i&&s.push("-vcvars_spectre_libs=spectre");let l=`"${tP(o)}" ${s.join(" ")}`;nw.debug("vcvars command-line: "+l);let u=ru.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),c=u[0].split("\r\n"),p=u[1].split("\r\n"),d=u[2].split("\r\n"),f=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(f.length>0)throw Error("invalid parameters\r\n"+f.join("\r\n"));let h={};for(let e of c){let[t,r]=e.split("=");h[t]=r;}for(let e of(nw.startGroup("Environment variables"),d)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(nw.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(";")),nw.exportVariable(t,r));}nw.endGroup(),nw.info("Configured Developer Command Prompt");},rA=rR("ER74K"),nD=rR("kY0n1");class lv extends Error{constructor(e){super(e),this.name="TimeoutError";}}class lE extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const ly=e=>void 0===globalThis.DOMException?new lE(e):new DOMException(e),lw=e=>{let t=void 0===e.reason?ly("This operation was aborted."):e.reason;return t instanceof Error?t:ly(t);},lb=12e5,{readFile:lx,writeFile:lD,chmod:lS}=it.promises;(rn=n6||(n6={}))[rn.All=0]="All",rn[rn.ClangFormat=1]="ClangFormat",rn[rn.Core=2]="Core",nq=rR("8aNoG"),rA=rR("ER74K"),nN=rR("bzNgi");const lT=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"]),lN=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),lR=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"]),lI=new Map(),lO={"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"},lA="17.0.6";n8=ie.resolve(__dirname,"../../src/llvm");const lC=ek(tW,{isPromise:!0}),l_=ek(tY,{isPromise:!0}),lL=ek(tJ,{isPromise:!0});rO=rR("52cQ1"),nN=rR("bzNgi"),rA=rR("ER74K"),nD=rR("kY0n1"),n9=ie.resolve(__dirname,"../../src/msvc"),nN=rR("bzNgi"),nN=rR("bzNgi"),rA=rR("ER74K"),nD=rR("kY0n1"),nN=rR("bzNgi");let l$=!1;const lP={nala:t2,cmake:e_,ninja:tI,python:eG,vcpkg:t9,bazel:ep,conan:function(e,t,r){return e8("conan",e);},meson:function(e,t,r){return e8("meson",e);},gcovr:function(e,t,r){return e8("gcovr",e);},opencppcoverage:t4,llvm:tz,gcc:tx,choco:ei,brew:et,powershell:t6,ccache:function(e,t,r){switch(process.platform){case"win32":return eo("ccache",e);case"darwin":return en("ccache",e);case"linux":if(ea())return ed("ccache",e);if(es())return el([{name:"ccache",version:e}]);if(ec())return H([{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 eo("sccache",e);case"linux":case"darwin":return en("sccache",e);default:throw Error("Unsupported platform");}},doxygen:tE,graphviz:tl,cppcheck:ta,clangtidy:function(e,t,r){return tK(e,t,r);},clangformat:function(e,t,r){return tK(e,t,r,n6.ClangFormat);},msvc:t1,vcvarsall:tk,kcov:tL,make:t0,task:function(e,t,r){return eS("task",e,t8,t,r);},sevenzip:eT},lk=Object.keys(lP),lU=["compiler","architecture","timeout",...lk];nw=rR("4t50X"),rA=rR("ER74K"),nY=rR("l655J"),rt(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rA.error)("main() panicked!"),(0,rA.error)(e),process.exitCode=1;}); //# sourceMappingURL=setup-cpp.js.map