function_classPrivateMethodInitSpec(e,a){_checkPrivateRedeclaration(e,a),a.add(e);}function_classPrivateFieldInitSpec(e,t,a){_checkPrivateRedeclaration(e,t),t.set(e,a);}function_checkPrivateRedeclaration(e,t){if(t.has(e))thrownewTypeError("Cannot initialize the same private elements twice on an object");}function_classPrivateFieldGet(s,a){returns.get(_assertClassBrand(s,a));}function_classPrivateFieldSet(s,a,r){returns.set(_assertClassBrand(s,a),r),r;}function_assertClassBrand(e,t,n){if("function"==typeofe?e===t:e.has(t))returnarguments.length<3?t:n;thrownewTypeError("Private element is not present on this object");}letA,e,t,r,n,i,o,s;functiona(A,e,t,r){Object.defineProperty(A,e,{get:t,set:r,enumerable:!0,configurable:!0});}functionl(A){returnA&&A.__esModule?A.default:A;}functionE(A,e,t){if("function"==typeofe&&(t=e,e={}),!t){if("function"!=typeofPromise)throwTypeError("callback not provided");returnnewPromise(function(t,r){E(A,e||{},function(A,e){A?r(A):t(e);});});}td(A,e||{},function(A,r){A&&("EACCES"===A.code||e&&e.ignoreErrors)&&(A=null,r=!1),t(A,r);});}functionc(A,e){lett;letr=A.options.env||process.env,n=process.cwd(),i=null!=A.options.cwd,o=i&&void0!==process.chdir&&!process.chdir.disabled;if(o)try{process.chdir(A.options.cwd);}catch(A){}try{t=tI.sync(A.command,{path:r[tf({env:r})],pathExt:e?rU.delimiter:void0});}catch(A){}finally{o&&process.chdir(n);}returnt&&(t=rU.resolve(i?A.options.cwd:"",t)),t;}functiong(A,e){returnObject.assign(Error(`${e}${A.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e}${A.command}`,path:A.command,spawnargs:A.args});}functionh(A,e){returnnx&&1===A&&!e.file?g(e.original,"spawn"):null;}functionQ(A,e,t){letr=tC(A,e,t),n=r5.spawn(r.command,r.args,r.options);returntD.hookChildProcess(n,r),n;}functionC(A){lete="string"==typeofA?"\n":"\n".charCodeAt(),t="string"==typeofA?"\r":"\r".charCodeAt();returnA[A.length-1]===e&&(A=A.slice(0,-1)),A[A.length-1]===t&&(A=A.slice(0,-1)),A;}functionu(A={}){let{env:e=process.env,platform:t=process.platform}=A;return"win32"!==t?"PATH":Object.keys(e).reverse().find(A=>"PATH"===A.toUpperCase())||"Path";}functionI(A){returnnull!==A&&"object"==typeofA&&"function"==typeofA.pipe;}functionB(A){returnI(A)&&!1!==A.writable&&"function"==typeofA._write&&"object"==typeofA._writableState;}asyncfunctiond(A,e){if(!A)throwError("Expected a stream");let{maxBuffer:t}=e={maxBuffer:1/0,...e},r=tL(e);returnawaitnewPromise((e,n)=>{leti=A=>{A&&r.getBufferedLength()<=tF.MAX_LENGTH&&(A.bufferedData=r.getBufferedValue()),n(A);};(async()=>{try{awaitiN(A,r),e();}catch(A){i(A);}})(),r.on("data",()=>{r.getBufferedLength()>t&&i(newiS());});}),r.getBufferedValue();}functionf(A,e,t){letr;letn=i9(A,e,t),i=iW(A,e),o=iq(A,e);i2(o,n.options),iw(n.options);try{r=l(ne).spawn(n.file,n.args,n.options);}catch(e){letA=new(l(ne).ChildProcess)();returniH(A,Promise.reject(n3({error:e,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}))),A;}lets=iV(r),a=im(r,n.options,s),E=iR(r,n.options,a),c={isCanceled:!1};r.kill=iC.bind(null,r.kill.bind(r)),r.cancel=ip.bind(null,r,c);letg=tb(async()=>{let[{error:A,exitCode:e,signal:t,timedOut:s},a,l,g]=awaitiG(r,n.options,E),h=i8(n.options,a),Q=i8(n.options,l),C=i8(n.options,g);if(A||0!==e||null!==t){leta=n3({error:A,exitCode:e,signal:t,stdout:h,stderr:Q,all:C,command:i,escapedCommand:o,parsed:n,timedOut:s,isCanceled:c.isCanceled||!!n.options.signal&&n.options.signal.aborted,killed:r.killed});if(!n.options.reject)returna;throwa;}return{command:i,escapedCommand:o,exitCode:0,stdout:h,stderr:Q,all:C,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});returnix(r,n.options),r.all=iM(r,n.options),ik(r),iH(r,g),r;}functionp(A,e,t){letr;letn=i9(A,e,t),i=iW(A,e),o=iq(A,e);i2(o,n.options);lets=iL(n.options);try{r=l(ne).spawnSync(n.file,n.args,{...n.options,input:s});}catch(A){thrown3({error:A,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1});}leta=i8(n.options,r.stdout,r.error),E=i8(n.options,
`),(0,t2.info)(`${A}="${r}"wasaddedto"${oK}`));return;}process.env[A]=r;}async function H(A){switch(process.platform){case"win32":await Y(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${A};$USER_PATH", "User")`),(0,t2.info)(`"${A}" was added to the PATH.`);return;case"linux":case"darwin":awaitV(),await(0,ta.appendFile)(oK,`
exportPATH="${A}:$PATH"
`),(0,t2.info)(`"${A}"wasaddedto"${oK}"`);return;default:return;}}async function V(){if(o0)return;let A=`
`;try{await Promise.all([P(),W(A),_(A)]);}catch(e){(0,te.warning)(`Failedtoadd${A}to.profileor.bashrc.Youshouldadditmanually:${e}`);}o0=!0;}async function P(){let A="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";(await(0,t9.pathExists)(oK))&&!(await(0,ta.readFile)(oK,"utf8")).includes(A)&&(await(0,ta.appendFile)(oK,`
${A}
`),(0,t2.info)(`Added${A}to${oK}`));}async function _(A){let e=k("~/.bashrc");(await(0,t9.pathExists)(e))&&!(await(0,ta.readFile)(e,"utf-8")).includes(A)&&(await(0,ta.appendFile)(e,A),(0,t2.info)(`${A}wasaddedto${e}`));}async function W(A){let e=k("~/.profile");(await(0,t9.pathExists)(e))&&!(await(0,ta.readFile)(e,"utf-8")).includes(A)&&(await(0,ta.appendFile)(e,A),(0,t2.info)(`${A}wasaddedto${e}`));}async function q(){if(await(0,t9.pathExists)(oK)){let A=[...new Set((await(0,ta.readFile)(oK,"utf-8")).split("\n").reverse())].reverse();await(0,ta.writeFile)(oK,A.join("\n")),await b(oK);}}async function j(A,e=!1){let t;let r=Z()?"nala":"apt-get";for(let{name:e,version:t}of A)(0,te.info)(`Installing${e}${null!=t?t:""}via${r}`);process.env.DEBIAN_FRONTEND="noninteractive",(!o1||e)&&(z(r),o1=!0),o2||(await K(r),o2=!0);let n=[...new Set(A.flatMap(A=>{var e;return null!==(e=A.repositories)&&void 0!==e?e:[];}))];if(0!==n.length){for(let A of n)m("add-apt-repository",["-y",A]);z(r);}let i=await Promise.all(A.map(A=>$(A.name,A.version)));try{m(r,["install","--fix-broken","-y",...i]);}catch(A){if("stderr"in A){let e=A.stderr;o4.some(A=>e.includes(A))&&((0,te.warning)(`Failedtoinstallpackages${i}.Retrying...`),m(r,["install","--fix-broken","-y",...i]));}else throw A;}return{binDir:"/usr/bin/"};}async function X(A,e){if(void 0!==e&&""!==e){let{stdout:t}=await f("apt-cache",["search","--names-only",`^${(0,t4.default)(A)}-${(0,t4.default)(e)}$`]);if(""!==t.trim())return 0;try{let{stdout:t}=await f("apt-cache",["show",`${A}=${e}`]);if(""===t.trim())return 1;}catch{}}try{let{stdout:e}=await f("apt-cache",["show",A]);if(""!==e.trim())return 2;}catch{}return 3;}async function $(A,e){switch(await X(A,e)){case 0:return`${A}-${e}`;case 1:return`${A}=${e}`;case 2:return A;default:throw Error(`Couldnotfindpackage${A}${null!=e?e:""}`);}}function Z(){return null!==l(to).sync("nala",{nothrow:!0});}function z(A){m(A,"nala"!==A?["update","-y"]:["update"]);}async function K(A){m(A,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let e=[Ae(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),Ae(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===A&&e.push(G("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),G("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(e);}function AA(){m("gpg",["-k"]);}async function Ae(A,e,t="keyserver.ubuntu.com"){try{let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,t9.pathExists)(r))||(AA(),await Promise.all(A.map(async A=>{await w("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--keyserver",t,"--recv-keys",A]),await w("chmod",["644",r]);}))),r;}catch(A){(0,te.warning)(`Failedtoaddaptkeyviaserver${t}:${A}`);return;}}async function At(A,e){let t="/etc/apt/trusted.gpg.d/"+A;return(await(0,t9.pathExists)(t))||(AA(),await j([{name:"curl"},{name:"ca-certificates"}],void 0),await f("curl",["-s",e,"-o","/tmp/"+A]),m("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+t,"--import","/tmp/"+A]),m("chmod",["644",t])),t;}async function Ar(A,e,t=40){tA.GITHUB_ACTIONS?await w("update-alternatives",["--install","/usr/bin/"+A,A,e,t.toString()]):(await V(),await(0,ta.appendFile)(oK,`
`),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 a=null!==(e=s.architecture)&&void 0!==e?e:process.arch,E=null!==(t=process.env.SETUP_CPP_DIR)&&void 0!==t?t:k("~"),c=[],g=[],h=tn.create({autoloadLocales:!0});tn.addLocale(l(ti)),tt.addLocale(l(tr));let Q=await sM();if(!function(A,e){let t=e.filter(e=>void 0!==A[e]),r=t.filter(e=>!A9(A[e])),n=r.length>=1?A[r[0]]:"true";if(r.some(e=>A[e]!==n))return!1;for(let e of t)A[e]=n;return!0;}(s,["llvm","clangtidy","clangformat"]))return(0,te.error)("The same version must be used for llvm, clangformat and clangtidy"),1;U()&&"string"==typeof s.cppcheck&&"string"==typeof s.gcovr&&((0,te.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await Ah("python-pygments"));let C=!1,u=!1;for(let A of ae){if(tA.isCI&&0!==g.length){u=!0;break;}let e=s[A];void 0!==e&&(n=Date.now(),C=await ev(A,e,Q,a,E,c,g,6e4*Number.parseFloat(null!==(r=s.timeout)&&void 0!==r?r:"20")),i=Date.now(),(0,te.info)("took "+(h.format(n,i)||"0 seconds")));}if(!u){let A=s.compiler;if(void 0!==A){let e=Date.now();await e8(A,Q,E,a,c,C,g);let t=Date.now();(0,te.info)("took "+(h.format(e,t)||"0 seconds"));}}if(await q(),0===c.length&&0===g.length)return(0,te.warning)("setup-cpp was called without any arguments. Nothing to do."),0;for(let A of c)(0,te.success)(A);for(let A of g)(0,te.error)(A);if((0,te.info)("setup-cpp finished"),!tA.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,te.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,te.warning)("Run `source~/.cpprc`orrestartyourshelltoupdatetheenvironment.");}returnawaito,0===g.length?0:1;}vare5,e6,e7,tA,te,tt,tr,tn,ti,to,ts,ta,tl,tE,tc,tg,th,tQ,tC,tu,tI,tB,td,tf,tp,ty,tm,tw,tR,tD,tb,tk,tN,tS,tF,tv,tL,tU,tx,tM,tT,tY,tG,tO,tJ,tH,tV,tP,t_,tW,tq,tj,tX,t$,tZ,tz,tK,t0,t1,t2,t4,t9,t8,t3,t5,t6,t7,rA,re,rt,rr,rn,ri,ro,rs,ra,rl,rE,rc,rg,rh,rQ,rC,ru,rI,rB,rd,rf,rp,ry,rm,rw,rR,rD,rb,rk,rN,rS,rF,rv,rL=require("os"),rU=require("path"),rx=require("fs"),rM=require("crypto"),rT=require("http"),rY=require("https"),rG=require("net"),rO=require("tls"),rJ=require("events"),rH=require("assert"),rV=require("util"),rP=require("stream"),r_=require("buffer"),rW=require("querystring"),rq=require("stream/web"),rj=require("util/types"),rX=require("stream"),r$=require("util"),rZ=require("events"),rz=require("perf_hooks"),rK=require("worker_threads"),r0=require("async_hooks"),r1=require("console"),r2=require("url"),r4=require("zlib"),r9=require("string_decoder"),r8=require("diagnostics_channel"),r3=require("fs"),r5=require("child_process"),r6=require("timers"),r7=require("buffer"),nA=require("path"),ne=require("child_process"),nt=require("process"),nr=require("url"),nn=require("os"),ni=require("process"),no=globalThis,ns={},na={},nl=no.parcelRequire810d;null==nl&&((nl=function(A){if(Ainns)returnns[A].exports;if(Ainna){vare=na[A];deletena[A];vart={id:A,exports:{}};returnns[A]=t,e.call(t.exports,t,t.exports),t.exports;}varr=Error("Cannotfindmodule'"+A+"'");throwr.code="MODULE_NOT_FOUND",r;}).register=function(A,e){na[A]=e;},no.parcelRequire810d=nl),(e7=nl.register)("jj6Ot",function(A,e){vart;functionr(A){return"string"==typeofA?!!n[A]:"env"inA?n[A.env]&&n[A.env].includes(A.includes):"any"inA?A.any.some(function(A){return!!n[A];}):Object.keys(A).every(function(e){returnn[e]===A[e];});}t=nl("7S3Ee");letn=process.env;Object.defineProperty(A.exports,"_vendors",{value:t.map(function(A){returnA.constant;})}),A.exports.name=null,A.exports.isPR=null,t.forEach(function(e){lett=(Array.isArray(e.env)?e.env:[e.env]).every(function(A){returnr(A);});if
ErrorMessage:${A.message}`);})).result)||void 0===e?void 0:e.value;if(!r)throw Error("Response json body do not have ID Token field");return r;});}static getIDToken(A){return t(this,void 0,void 0,function*(){try{let e=o.getIDTokenUrl();if(A){let t=encodeURIComponent(A);e=`${e}&audience=${t}`;}i.debug("ID token url is "+e);let t=yield o.getCall(e);return i.setSecret(t),t;}catch(A){throw Error("Error message: "+A.message);}});}}A.exports.OidcClient=o;}),e7("jdbFC",function(A,e){var t,r,n,i,o,s,a,l,E,c;t=A.exports&&A.exports.__createBinding||(Object.create?function(A,e,t,r){void 0===r&&(r=t);var n=Object.getOwnPropertyDescriptor(e,t);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[t];}}),Object.defineProperty(A,r,n);}:function(A,e,t,r){void 0===r&&(r=t),A[r]=e[t];}),r=A.exports&&A.exports.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e});}:function(A,e){A.default=e;}),n=A.exports&&A.exports.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(null!=A)for(var n in A)"default"!==n&&Object.prototype.hasOwnProperty.call(A,n)&&t(e,A,n);return r(e,A),e;},i=A.exports&&A.exports.__awaiter||function(A,e,t,r){return new(t||(t=Promise))(function(n,i){function o(A){try{a(r.next(A));}catch(A){i(A);}}function s(A){try{a(r.throw(A));}catch(A){i(A);}}function a(A){var e;A.done?n(A.value):((e=A.value)instanceof t?e:new t(function(A){A(e);})).then(o,s);}a((r=r.apply(A,e||[])).next());});},Object.defineProperty(A.exports,"__esModule",{value:!0}),A.exports.HttpClient=A.exports.isHttps=A.exports.HttpClientResponse=A.exports.HttpClientError=A.exports.getProxyUrl=A.exports.MediaTypes=A.exports.Headers=A.exports.HttpCodes=void 0;let g=n(rT),h=n(rY),Q=n(nl("hFsVR")),C=n(nl("7r7u9"));o=nl("gYyeU"),(E=s||(A.exports.HttpCodes=s={}))[E.OK=200]="OK",E[E.MultipleChoices=300]="MultipleChoices",E[E.MovedPermanently=301]="MovedPermanently",E[E.ResourceMoved=302]="ResourceMoved",E[E.SeeOther=303]="SeeOther",E[E.NotModified=304]="NotModified",E[E.UseProxy=305]="UseProxy",E[E.SwitchProxy=306]="SwitchProxy",E[E.TemporaryRedirect=307]="TemporaryRedirect",E[E.PermanentRedirect=308]="PermanentRedirect",E[E.BadRequest=400]="BadRequest",E[E.Unauthorized=401]="Unauthorized",E[E.PaymentRequired=402]="PaymentRequired",E[E.Forbidden=403]="Forbidden",E[E.NotFound=404]="NotFound",E[E.MethodNotAllowed=405]="MethodNotAllowed",E[E.NotAcceptable=406]="NotAcceptable",E[E.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",E[E.RequestTimeout=408]="RequestTimeout",E[E.Conflict=409]="Conflict",E[E.Gone=410]="Gone",E[E.TooManyRequests=429]="TooManyRequests",E[E.InternalServerError=500]="InternalServerError",E[E.NotImplemented=501]="NotImplemented",E[E.BadGateway=502]="BadGateway",E[E.ServiceUnavailable=503]="ServiceUnavailable",E[E.GatewayTimeout=504]="GatewayTimeout",(c=a||(A.exports.Headers=a={})).Accept="accept",c.ContentType="content-type",(l||(A.exports.MediaTypes=l={})).ApplicationJson="application/json",A.exports.getProxyUrl=function(A){let e=Q.getProxyUrl(new URL(A));return e?e.href:"";};let u=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],I=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],B=["OPTIONS","GET","DELETE","HEAD"];class d extends Error{constructor(A,e){super(A),this.name="HttpClientError",this.statusCode=e,Object.setPrototypeOf(this,d.prototype);}}A.exports.HttpClientError=d;class f{constructor(A){this.message=A;}readBody(){return i(this,void 0,void 0,function*(){return new Promise(A=>i(this,void 0,void 0,function*(){let e=Buffer.alloc(0);this.message.on("data",A=>{e=Buffer.concat([e,A]);}),this.message.on("end",()=>{A(e.toString());});}));});}readBodyBuffer(){return i(this,void 0,void 0,function*(){return new Promise(A=>i(this,void 0,void 0,function*(){let e=[];this.message.on("data",A=>{e.push(A);}),this.message.on("end",()=>{A(Buffer.concat(e));});}));});}}A.exports.HttpClientResponse=f,A.exports.isHttps=function(A){return"https:"===new URL(A).protocol;},A.exports.HttpCl
`;return"string"==typeof s?d+=`host:${s}\r
`:d+=A[J],l?d+=`connection:upgrade\r
upgrade:${l}\r
`:A[_]&&!B[m]?d+="connection: keep-alive\r\n":d+="connection: close\r\n",E&&(d+=E),AX.sendHeaders.hasSubscribers&&AX.sendHeaders.publish({request:e,headers:d,socket:B}),t&&0!==u?r.isBuffer(t)?(rH(I===t.byteLength,"buffer body must have content length"),B.cork(),B.write(`${d}content-length:${I}\r
`,"latin1"):(rH(null===I,"no body must not have content length"),B.write(`${d}\r
`,"latin1")),e.onRequestSent()),!0;}(A,n)?A[H]++:A[x].splice(A[H],1);}}(A,e),A[S]=0,A[V]>256&&(A[x].splice(0,A[V]),A[H]-=A[V],A[V]=0));}function AU(A){return"GET"!==A&&"HEAD"!==A&&"OPTIONS"!==A&&"TRACE"!==A&&"CONNECT"!==A;}function Ax({h2stream:A,body:e,client:n,request:i,socket:o,contentLength:s,header:a,expectsPayload:l}){if(rH(0!==s||0===n[F],"stream body cannot be pipelined"),"h2"===n[AE]){function E(A){i.onBodySent(A);}let n=t(e,A,t=>{t?(r.destroy(e,t),r.destroy(A,t)):i.onRequestSent();});n.on("data",E),n.once("end",()=>{n.removeListener("data",E),r.destroy(n);});return;}let g=!1,h=new A5({socket:o,request:i,contentLength:s,client:n,expectsPayload:l,header:a}),Q=function(A){if(!g)try{!h.write(A)&&this.pause&&this.pause();}catch(A){r.destroy(this,A);}},C=function(){!g&&e.resume&&e.resume();},u=function(){if(g)return;let A=new c();queueMicrotask(()=>I(A));},I=function(A){if(!g){if(g=!0,rH(o.destroyed||o[U]&&n[F]<=1),o.off("drain",C).off("error",I),e.removeListener("data",Q).removeListener("end",I).removeListener("error",I).removeListener("close",u),!A)try{h.end();}catch(e){A=e;}h.destroy(A),A&&("UND_ERR_INFO"!==A.code||"reset"!==A.message)?r.destroy(e,A):r.destroy(e);}};e.on("data",Q).on("end",I).on("error",I).on("close",u),e.resume&&e.resume(),o.on("drain",C).on("error",I);}async function AM({h2stream:A,body:e,client:t,request:n,socket:i,contentLength:o,header:s,expectsPayload:l}){rH(o===e.size,"blob body must have content length");let E="h2"===t[AE];try{if(null!=o&&o!==e.size)throw new a();let r=Buffer.from(await e.arrayBuffer());E?(A.cork(),A.write(r),A.uncork()):(i.cork(),i.write(`${s}content-length:${o}\r
\r
`,"latin1"),i.write(r),i.uncork()),n.onBodySent(r),n.onRequestSent(),l||(i[m]=!0),AL(t);}catch(e){r.destroy(E?A:i,e);}}async function AT({h2stream:A,body:e,client:t,request:r,socket:n,contentLength:i,header:o,expectsPayload:s}){function a(){if(l){let A=l;l=null,A();}}rH(0!==i||0===t[F],"iterator body cannot be pipelined");let l=null,E=()=>new Promise((A,e)=>{rH(null===l),n[P]?e(n[P]):l=A;});if("h2"===t[AE]){A.on("close",a).on("drain",a);try{for await(let t of e){if(n[P])throw n[P];let e=A.write(t);r.onBodySent(t),e||(await E());}}catch(e){A.destroy(e);}finally{r.onRequestSent(),A.end(),A.off("close",a).off("drain",a);}return;}n.on("close",a).on("drain",a);let c=new A5({socket:n,request:r,contentLength:i,client:t,expectsPayload:s,header:o});try{for await(let A of e){if(n[P])throw n[P];c.write(A)||(await E());}c.end();}catch(A){c.destroy(A);}finally{n.off("close",a).off("drain",a);}}function AY(A,e,t){try{e.onError(t),rH(e.aborted);}catch(e){A.emit("error",e);}}t=rP.pipeline,r=nl("c7jgd"),n=nl("fsDW2"),i=nl("cEHE4"),o=nl("k3HYk"),a=(s=nl("03MxY")).RequestContentLengthMismatchError,l=s.ResponseContentLengthMismatchError,E=s.InvalidArgumentError,c=s.RequestAbortedError,g=s.HeadersTimeoutError,h=s.HeadersOverflowError,Q=s.SocketError,C=s.InformationalError,u=s.BodyTimeoutError,I=s.HTTPParserError,B=s.ResponseExceededMaxSizeError,d=s.ClientDestroyedError,f=nl("d4IVt"),y=(p=nl("J3IVZ")).kUrl,m=p.kReset,w=p.kServerName,R=p.kClient,D=p.kBusy,b=p.kParser,k=p.kConnect,N=p.kBlocking,S=p.kResuming,F=p.kRunning,v=p.kPending,L=p.kSize,U=p.kWriting,x=p.kQueue,M=p.kConnected,T=p.kConnecting,Y=p.kNeedDrain,G=p.kNoRef,O=p.kKeepAliveDefaultTimeout,J=p.kHostHeader,H=p.kPendingIdx,V=p.kRunningIdx,P=p.kError,_=p.kPipelining,W=p.kSocket,q=p.kKeepAliveTimeoutValue,j=p.kMaxHeadersSize,X=p.kKeepAliveMaxTimeout,$=p.kKeepAliveTimeoutThreshold,Z=p.kHeadersTimeout,z=p.kBodyTimeout,K=p.kStrictContentLength,AA=p.kConnector,Ae=p.kMaxRedirections,At=p.kMaxRequests,Ar=p.kCounter,An=p.kClose,Ai=p.kDestroy,Ao=p.kDispatch,As=p.kInterceptors,Aa=p.kLocalAddress,Al=p.kMaxResponseSize,AE=p.kHTTPConnVersion,Ac=p.kHost,Ag=p.kHTTP2Session,Ah=p.kHTTP2SessionState,AQ=p.kHTTP2BuildRequest,AC=p.kHTTP2CopyHeaders,Au=p.kHTTP1BuildRequest;try{Ad=$1a9a6c83d93b5ec4$import$dc5c58500bc5a0ce;}catch{Ad={constants:{}};}let{constants:{HTTP2_HEADER_AUTHORITY:AG,HTTP2_HEADER_METHOD:AO,HTTP2_HEADER_PATH:AJ,HTTP2_HEADER_SCHEME:AH,HTTP2_HEADER_CONTENT_LENGTH:AV,HTTP2_HEADER_EXPECT:AP,HTTP2_HEADER_STATUS:A_}}=Ad,AW=!1,Aq=Buffer[Symbol.species],Aj=Symbol(),AX={};try{let A=$1a9a6c83d93b5ec4$import$448217ca25882f04;AX.sendHeaders=A.channel("undici:client:sendHeaders"),AX.beforeConnect=A.channel("undici:client:beforeConnect"),AX.connectError=A.channel("undici:client:connectError"),AX.connected=A.channel("undici:client:connected");}catch{AX.sendHeaders={hasSubscribers:!1},AX.beforeConnect={hasSubscribers:!1},AX.connectError={hasSubscribers:!1},AX.connected={hasSubscribers:!1};}AI=nl("azzFq"),AB=nl("bHAsD");let A$=Buffer.alloc(0),AZ=null,Az=Aw();Az.catch();let AK=null,A0=null,A1=0,A2=null,A4=1,A9=2,A8=3;class A3{constructor(A,e,{exports:t}){rH(Number.isFinite(A[j])&&A[j]>0),this.llhttp=t,this.ptr=this.llhttp.llhttp_alloc(AI.TYPE.RESPONSE),this.client=A,this.socket=e,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=A[j],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=A[Al];}setTimeout(A,e){this.timeoutType=e,A!==this.timeoutValue?(n.clearTimeout(this.timeout),A?(this.timeout=n.setTimeout(AR,A,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=A):this.timeout&&this.timeout.refresh&&this.timeout.refresh();}resume(){!this.socket.destroyed&&this.paused&&(rH(null!=this.ptr),rH(null==AK),this.llhttp.llhttp_resume(this.ptr),rH(this.timeoutType===A9),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,t
`,"latin1"):null===e&&A.write("\r\n0\r\n\r\n","latin1"),null!==e&&r!==e){if(t[K])throw new a();process.emitWarning(new a());}A[b].timeout&&A[b].timeoutType===A4&&A[b].timeout.refresh&&A[b].timeout.refresh(),AL(t);}}destroy(A){let{socket:e,client:t}=this;e[U]=!1,A&&(rH(t[F]<=1,"pipeline should only contain this request"),r.destroy(e,A));}}A.exports=class extends o{constructor(A,{interceptors:e,maxHeaderSize:t,headersTimeout:n,socketTimeout:i,requestTimeout:o,connectTimeout:s,bodyTimeout:a,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:h,keepAliveMaxTimeout:Q,keepAliveTimeoutThreshold:C,socketPath:u,pipelining:I,tls:B,strictContentLength:d,maxCachedSessions:p,maxRedirections:m,connect:R,maxRequestsPerClient:D,localAddress:b,maxResponseSize:k,autoSelectFamily:N,autoSelectFamilyAttemptTimeout:F,allowH2:v,maxConcurrentStreams:L}={}){if(super(),void 0!==c)throw new E("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new E("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==o)throw new E("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new E("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==h)throw new E("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t&&!Number.isFinite(t))throw new E("invalid maxHeaderSize");if(null!=u&&"string"!=typeof u)throw new E("invalid socketPath");if(null!=s&&(!Number.isFinite(s)||s<0))throw new E("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new E("invalid keepAliveTimeout");if(null!=Q&&(!Number.isFinite(Q)||Q<=0))throw new E("invalid keepAliveMaxTimeout");if(null!=C&&!Number.isFinite(C))throw new E("invalid keepAliveTimeoutThreshold");if(null!=n&&(!Number.isInteger(n)||n<0))throw new E("headersTimeout must be a positive integer or zero");if(null!=a&&(!Number.isInteger(a)||a<0))throw new E("bodyTimeout must be a positive integer or zero");if(null!=R&&"function"!=typeof R&&"object"!=typeof R)throw new E("connect must be a function or an object");if(null!=m&&(!Number.isInteger(m)||m<0))throw new E("maxRedirections must be a positive number");if(null!=D&&(!Number.isInteger(D)||D<0))throw new E("maxRequestsPerClient must be a positive number");if(null!=b&&("string"!=typeof b||0===rG.isIP(b)))throw new E("localAddress must be valid string IP address");if(null!=k&&(!Number.isInteger(k)||k<-1))throw new E("maxResponseSize must be a positive number");if(null!=F&&(!Number.isInteger(F)||F<-1))throw new E("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=v&&"boolean"!=typeof v)throw new E("allowH2 must be a valid boolean value");if(null!=L&&("number"!=typeof L||L<1))throw new E("maxConcurrentStreams must be a possitive integer, greater than 0");"function"!=typeof R&&(R=f({...B,maxCachedSessions:p,allowH2:v,socketPath:u,timeout:s,...(r.nodeHasAutoSelectFamily&&N?{autoSelectFamily:N,autoSelectFamilyAttemptTimeout:F}:void 0),...R})),this[As]=e&&e.Client&&Array.isArray(e.Client)?e.Client:[AB({maxRedirections:m})],this[y]=r.parseOrigin(A),this[AA]=R,this[W]=null,this[_]=null!=I?I:1,this[j]=t||rT.maxHeaderSize,this[O]=null==g?4e3:g,this[X]=null==Q?6e5:Q,this[$]=null==C?1e3:C,this[q]=this[O],this[w]=null,this[Aa]=null!=b?b:null,this[S]=0,this[Y]=0,this[J]=`host:${this[y].hostname}${this[y].port?":"+this[y].port:""}\r
`,this[z]=null!=a?a:3e5,this[Z]=null!=n?n:3e5,this[K]=null==d||d,this[Ae]=m,this[At]=D,this[Aj]=null,this[Al]=k>-1?k:-1,this[AE]="h1",this[Ag]=null,this[Ah]=v?{openStreams:0,maxConcurrentStreams:null!=L?L:100}:null,this[Ac]=`${this[y].hostname}${this[y].port?":"+this[y].port:""}`,this[x]=[],this[V]=0,this[H]=0;}get pipelining(){return this[_];}set pipelining(A){this[_]=A,AL(this,!0);}get[v](){return this[x].length-this[H];}get[F](){return this[H]-this[V];}get[L](){return this[x].length-this[V];}get[M](){return!!this[W]&&!this[T]&&!this[W].destroyed;}get[D](){let A=this[W];return A&&(A[m]||A[U]||A[N])||this[L]>=(this[_]||1)||this[v]>0;}[k](A){AF(this),this.once("connect",A);}[Ao](A,e){let t=A.origin||this[y].origin,n="h2"===this[AE]?i[AQ](t,A,e):i[Au](t,A,e);return this[x].push(n),this[S]||(null==r.bodyLength(n.body)&&r.isIterable(n.body)?(this[S]=1,process.nextTick(AL,this)):AL(this,!0)),this[S]&&2!==this[Y]&&this[D]&&(this[Y]=2),this[Y]<2;}async[An](){return new Promise(A=>{this[L]?this[Aj]=A:A(null);});}async[Ai](A){return new Promise(e=>{let t=this[x].splice(this[H]);for(let e=0;e<t.length;e++)AY(this,t[e],A);let n=()=>{this[Aj]&&(this[Aj](),this[Aj]=null),e();};null!=this[Ag]&&(r.destroy(this[Ag],A),this[Ag]=null,this[Ah]=null),this[W]?r.destroy(this[W].on("close",n),A):queueMicrotask(n),AL(this);});}};}),e7("c7jgd",function(A,e){var t,r,n,i,o,s,a,l;let E;function c(A){return A&&"object"==typeof A&&"function"==typeof A.pipe&&"function"==typeof A.on;}function g(A){return s&&A instanceof s||A&&"object"==typeof A&&("function"==typeof A.stream||"function"==typeof A.arrayBuffer)&&/^(Blob|File)$/.test(A[Symbol.toStringTag]);}function h(A){if("string"==typeof A){if(A=new URL(A),!/^https?:/.test(A.origin||A.protocol))throw new o("Invalid URL protocol: the URL must start with `http:` or `https:`.");return A;}if(!A||"object"!=typeof A)throw new o("Invalid URL: The URL argument must be a non-null object.");if(!/^https?:/.test(A.origin||A.protocol))throw new o("Invalid URL protocol: the URL must start with `http:` or `https:`.");if(!(A instanceof URL)){if(null!=A.port&&""!==A.port&&!Number.isFinite(parseInt(A.port)))throw new o("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=A.path&&"string"!=typeof A.path)throw new o("Invalid URL path: the path must be a string or null/undefined.");if(null!=A.pathname&&"string"!=typeof A.pathname)throw new o("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=A.hostname&&"string"!=typeof A.hostname)throw new o("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=A.origin&&"string"!=typeof A.origin)throw new o("Invalid URL origin: the origin must be a string or null/undefined.");let e=null!=A.port?A.port:"https:"===A.protocol?443:80,t=null!=A.origin?A.origin:`${A.protocol}//${A.hostname}:${e}`,r=null!=A.path?A.path:`${A.pathname||""}${A.search||""}`;t.endsWith("/")&&(t=t.substring(0,t.length-1)),r&&!r.startsWith("/")&&(r="/"+r),A=new URL(t+r);}return A;}function Q(A){return!A||!!(A.destroyed||A[r]);}function C(A){let e=A&&A._readableState;return Q(A)&&e&&!e.endEmitted;}function u(A){return A instanceof Uint8Array||Buffer.isBuffer(A);}async function*I(A){for await(let e of A)yield Buffer.isBuffer(e)?e:Buffer.from(e);}r=(t=nl("J3IVZ")).kDestroyed,n=t.kBodyUsed,i=rT.IncomingMessage,o=nl("03MxY").InvalidArgumentError,s=r_.Blob,a=rW.stringify,l=nl("iM175").headerNameLowerCasedRecord;let[B,d]=process.versions.node.split(".").map(A=>+A),f=!!String.prototype.toWellFormed,p=Object.create(null);p.enumerable=!0,A.exports={kEnumerableProperty:p,nop:function(){},isDisturbed:function(A){return!!(A&&(rP.isDisturbed?rP.isDisturbed(A)||A[n]:A[n]||A.readableDidRead||A._readableState&&A._readableState.dataEmitted||C(A)));},isErrored:function(A){return!!(A&&(rP.isErrored?rP.isErrored(A):/state: 'errored'/.test(rV.inspect(A))));},isReadable:function(A){return!!(A&&(rP.isReadable?rP.isReadable(A):/state: 'readable'/.test(rV.inspect(A))));},toUSVString:function(A){return f?(""+A).toWellFormed():rV.toUSVString?
`;}function g(A,e,t,i=!1){if(t&&"object"==typeof t&&!Array.isArray(t))throw new r(`invalid${e}header`);if(void 0!==t){if(null===A.host&&4===e.length&&"host"===e.toLowerCase()){if(null!==Q.exec(t))throw new r(`invalid${e}header`);A.host=t;}else if(null===A.contentLength&&14===e.length&&"content-length"===e.toLowerCase()){if(A.contentLength=parseInt(t,10),!Number.isFinite(A.contentLength))throw new r("invalid content-length header");}else if(null===A.contentType&&12===e.length&&"content-type"===e.toLowerCase())A.contentType=t,i?A.headers[e]=c(e,t,i):A.headers+=c(e,t);else if(17===e.length&&"transfer-encoding"===e.toLowerCase())throw new r("invalid transfer-encoding header");else if(10===e.length&&"connection"===e.toLowerCase()){let e="string"==typeof t?t.toLowerCase():null;if("close"!==e&&"keep-alive"!==e)throw new r("invalid connection header");"close"===e&&(A.reset=!0);}else if(10===e.length&&"keep-alive"===e.toLowerCase())throw new r("invalid keep-alive header");else if(7===e.length&&"upgrade"===e.toLowerCase())throw new r("invalid upgrade header");else if(6===e.length&&"expect"===e.toLowerCase())throw new n("expect header not supported");else if(null===h.exec(e))throw new r("invalid header key");else if(Array.isArray(t))for(let r=0;r<t.length;r++)i?A.headers[e]?A.headers[e]+=","+c(e,t[r],i):A.headers[e]=c(e,t[r],i):A.headers+=c(e,t[r]);else i?A.headers[e]=c(e,t,i):A.headers+=c(e,t);}}r=(t=nl("03MxY")).InvalidArgumentError,n=t.NotSupportedError,o=(i=nl("J3IVZ")).kHTTP2BuildRequest,s=i.kHTTP2CopyHeaders,a=i.kHTTP1BuildRequest,l=nl("c7jgd");let h=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,Q=/[^\t\x20-\x7e\x80-\xff]/,C=Symbol(),u={};try{letA=$936b13854be9d9df$import$8c11996ea4346c54;u.create=A.channel("undici:request:create"),u.bodySent=A.channel("undici:request:bodySent"),u.headers=A.channel("undici:request:headers"),u.trailers=A.channel("undici:request:trailers"),u.error=A.channel("undici:request:error");}catch{u.create={hasSubscribers:!1},u.bodySent={hasSubscribers:!1},u.headers={hasSubscribers:!1},u.trailers={hasSubscribers:!1},u.error={hasSubscribers:!1};}classI{constructor(A,{path:e,method:t,body:n,headers:i,query:o,idempotent:s,blocking:a,upgrade:c,headersTimeout:Q,bodyTimeout:I,reset:B,throwOnError:d,expectContinue:f},p){if("string"!=typeofe)thrownewr("path must be a string");if("/"===e[0]||e.startsWith("http://")||e.startsWith("https://")||"CONNECT"===t){if(null!==/[^\u0021-\u00ff]/.exec(e))thrownewr("invalid request path");}elsethrownewr("path must be an absolute URL or start with a slash");if("string"!=typeoft)thrownewr("method must be a string");if(null===h.exec(t))thrownewr("invalid request method");if(c&&"string"!=typeofc)thrownewr("upgrade must be a string");if(null!=Q&&(!Number.isFinite(Q)||Q<0))thrownewr("invalid headersTimeout");if(null!=I&&(!Number.isFinite(I)||I<0))thrownewr("invalid bodyTimeout");if(null!=B&&"boolean"!=typeofB)thrownewr("invalid reset");if(null!=f&&"boolean"!=typeoff)thrownewr("invalid expectContinue");if(this.headersTimeout=Q,this.bodyTimeout=I,this.throwOnError=!0===d,this.method=t,this.abort=null,null==n)this.body=null;elseif(l.isStream(n)){this.body=n;letA=this.body._readableState;A&&A.autoDestroy||(this.endHandler=function(){l.destroy(this);},this.body.on("end",this.endHandler)),this.errorHandler=A=>{this.abort?this.abort(A):this.error=A;},this.body.on("error",this.errorHandler);}elseif(l.isBuffer(n))this.body=n.byteLength?n:null;elseif(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;elseif(ninstanceofArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;elseif("string"==typeofn)this.body=n.length?Buffer.from(n):null;elseif(l.isFormDataLike(n)||l.isIterable(n)||l.isBlobLike(n))this.body=n;elsethrownewr("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=c||null,this.path=o?l.buildURL(e,o):e,this.origin=A,this.idempotent=null==s?"HEAD"===t||"GET"===t:s,this.blocking=null!=a&&a,this.reset=null==B?null:B,
`.trim());}};}),e7("9zXtN",function(A,e){var t=rV.promisify,r=nl("3xMRG"),n=nl("aXWzJ").buildMockDispatch,i=nl("63Ves"),o=i.kDispatches,s=i.kMockAgent,a=i.kClose,l=i.kOriginalClose,E=i.kOrigin,c=i.kOriginalDispatch,g=i.kConnected,h=nl("bbiYo").MockInterceptor,Q=nl("J3IVZ"),C=nl("03MxY").InvalidArgumentError;class u extends r{constructor(A,e){if(super(A,e),!e||!e.agent||"function"!=typeof e.agent.dispatch)throw new C("Argument opts.agent must implement Agent");this[s]=e.agent,this[E]=A,this[o]=[],this[g]=1,this[c]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[a];}get[Q.kConnected](){return this[g];}intercept(A){return new h(A,this[o]);}async[a](){await t(this[l])(),this[g]=0,this[s][Q.kClients].delete(this[E]);}}A.exports=u;}),e7("fNmEN",function(A,e){let t={pronoun:"it",is:"is",was:"was",this:"this"},r={pronoun:"they",is:"are",was:"were",this:"these"};A.exports=class{constructor(A,e){this.singular=A,this.plural=e;}pluralize(A){let e=1===A,n=e?this.singular:this.plural;return{...(e?t:r),count:A,noun:n};}};}),e7("aArTY",function(A,e){var t=rP.Transform,r=r1.Console;A.exports=class{constructor({disableColors:A}={}){this.transform=new t({transform(A,e,t){t(null,A);}}),this.logger=new r({stdout:this.transform,inspectOptions:{colors:!A&&!process.env.CI}});}format(A){let e=A.map(({method:A,path:e,data:{statusCode:t},persist:r,times:n,timesInvoked:i,origin:o})=>({Method:A,Origin:o,Path:e,"Status code":t,Persistent:r?"✅":"❌",Invocations:i,Remaining:r?1/0:n-i}));return this.logger.table(e),this.transform.read().toString();}};}),e7("l978m",function(A,e){var t,r,n,i,o,s,a,l,E,c,g,h,Q;function C(A,e){return new l(A,e);}r=(t=nl("J3IVZ")).kProxy,n=t.kClose,i=t.kDestroy,o=t.kInterceptors,s=r2.URL,a=nl("4UFSJ"),l=nl("3xMRG"),E=nl("k3HYk"),g=(c=nl("03MxY")).InvalidArgumentError,h=c.RequestAbortedError,Q=nl("d4IVt");let u=Symbol(),I=Symbol(),B=Symbol(),d=Symbol(),f=Symbol(),p=Symbol();A.exports=class extends E{constructor(A){if(super(A),this[r]=function(A){if("string"==typeof A&&(A={uri:A}),!A||!A.uri)throw new g("Proxy opts.uri is mandatory");return{uri:A.uri,protocol:A.protocol||"https"};}(A),this[u]=new a(A),this[o]=A.interceptors&&A.interceptors.ProxyAgent&&Array.isArray(A.interceptors.ProxyAgent)?A.interceptors.ProxyAgent:[],"string"==typeof A&&(A={uri:A}),!A||!A.uri)throw new g("Proxy opts.uri is mandatory");let{clientFactory:e=C}=A;if("function"!=typeof e)throw new g("Proxy opts.clientFactory must be a function.");this[d]=A.requestTls,this[f]=A.proxyTls,this[B]=A.headers||{};let t=new s(A.uri),{origin:n,port:i,host:l,username:E,password:c}=t;if(A.auth&&A.token)throw new g("opts.auth cannot be used in combination with opts.token");A.auth?this[B]["proxy-authorization"]="Basic "+A.auth:A.token?this[B]["proxy-authorization"]=A.token:E&&c&&(this[B]["proxy-authorization"]="Basic "+Buffer.from(`${decodeURIComponent(E)}:${decodeURIComponent(c)}`).toString("base64"));let y=Q({...A.proxyTls});this[p]=Q({...A.requestTls}),this[I]=e(t,{connect:y}),this[u]=new a({...A,connect:async(A,e)=>{let t=A.host;!A.port&&(t+=":"+("https:"===A.protocol?443:80));try{let r;let{socket:o,statusCode:s}=await this[I].connect({origin:n,port:i,path:t,signal:A.signal,headers:{...this[B],host:l}});if(200!==s&&(o.on("error",()=>{}).destroy(),e(new h(`Proxyresponse(${s})!==200whenHTTPTunneling`))),"https:"!==A.protocol){e(null,o);return;}r=this[d]?this[d].servername:A.servername,this[p]({...A,servername:r,httpSocket:o},e);}catch(A){e(A);}}});}dispatch(A,e){let{host:t}=new s(A.origin),r=function(A){if(Array.isArray(A)){let e={};for(let t=0;t<A.length;t+=2)e[A[t]]=A[t+1];return e;}return A;}(A.headers);return function(A){if(A&&Object.keys(A).find(A=>"proxy-authorization"===A.toLowerCase()))throw new g("Proxy-Authorization should be sent in ProxyAgent constructor");}(r),this[u].dispatch({...A,headers:{...r,host:t}},e);}async[n](){await this[u].close(),await this[I].close();}async[i](){await this[u].destroy(),await this[I].destroy();}};}),e7("kovwN",function(A,e){var t=nl("J3IVZ").kRetryHandlerDefaultRetry,r=nl("03MxY").
${e}`,nP=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),n_=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),nW=(A,e,t)=>{let r=""===t?"":`with${t.trim()}()`,n=nV.bind(null,r,e.toString());Object.defineProperty(n,"name",n_),Object.defineProperty(A,"toString",{...nP,value:n});},nq=new WeakMap(),nj=(A,e={})=>{let t;if("function"!=typeof A)throw TypeError("Expected a function");let r=0,n=A.displayName||A.name||"<anonymous>",i=function(...o){if(nq.set(i,++r),1===r)t=A.apply(this,o),A=null;else if(!0===e.throw)throw Error(`Function\`${n}\` can only be called once`);returnt;};return!function(A,e,{ignoreNonConfigurable:t=!1}={}){let{name:r}=A;for(letrofReflect.ownKeys(e))nO(A,e,r,t);nH(A,e),nW(A,e,r);}(i,A),nq.set(i,r),i;};nj.callCount=A=>{if(!nq.has(A))throwError(`The given function \`${A.name}\` is not wrapped by the \`onetime\` package`);returnnq.get(A);},tb=nj;constnX=()=>Array.from({length:nz-nZ+1},n$),n$=(A,e)=>({name:"SIGRT"+(e+1),number:nZ+e,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),nZ=34,nz=64,nK=[{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:"t
${r.message}`:u,d=[B,e,A].filter(Boolean).join("\n");return I?(r.originalMessage=r.message,r.message=d):r=Error(d),r.shortMessage=B,r.command=o,r.escapedCommand=s,r.exitCode=i,r.signal=n,r.signalDescription=Q,r.stdout=A,r.stderr=e,r.cwd=h,void 0!==t&&(r.all=t),"bufferedData"in r&&delete r.bufferedData,r.failed=!0,r.timedOut=!!a,r.isCanceled=E,r.killed=c&&!a,r;},n5=["stdin","stdout","stderr"],n6=A=>n5.some(e=>void 0!==A[e]),n7=A=>{if(!A)return;let{stdio:e}=A;if(void 0===e)return n5.map(e=>A[e]);if(n6(A))throw Error("It's not possible to provide `stdio` in combination with one of "+n5.map(A=>`\`${A}\``).join(", "));if("string"==typeofe)returne;if(!Array.isArray(e))throwTypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeofe}\``);returnArray.from({length:Math.max(e.length,n5.length)},(A,t)=>e[t]);};tk={};constiA=function(A){returnA&&"object"==typeofA&&"function"==typeofA.removeListener&&"function"==typeofA.emit&&"function"==typeofA.reallyExit&&"function"==typeofA.listeners&&"function"==typeofA.kill&&"number"==typeofA.pid&&"function"==typeofA.on;};if(iA(tN=no.process)){varie,it=nl("2PjMq"),ir=/^win/i.test(tN.platform),ii=rJ;"function"!=typeofii&&(ii=ii.EventEmitter),tN.__signal_exit_emitter__?ie=tN.__signal_exit_emitter__:((ie=tN.__signal_exit_emitter__=newii()).count=0,ie.emitted={}),ie.infinite||(ie.setMaxListeners(1/0),ie.infinite=!0);vario=function(){il&&iA(no.process)&&(il=!1,it.forEach(function(A){try{tN.removeListener(A,ia[A]);}catch(A){}}),tN.emit=ih,tN.reallyExit=ic,ie.count-=1);};(tk=function(A,e){if(!iA(no.process))returnfunction(){};rH.equal(typeofA,"function","a callback must be provided for exit handler"),!1===il&&iE();vart="exit";returne&&e.alwaysLast&&(t="afterexit"),ie.on(t,A),function(){ie.removeListener(t,A),0===ie.listeners("exit").length&&0===ie.listeners("afterexit").length&&io();};}).unload=io;varis=function(A,e,t){ie.emitted[A]||(ie.emitted[A]=!0,ie.emit(A,e,t));},ia={};it.forEach(function(A){ia[A]=function(){iA(no.process)&&tN.listeners(A).length===ie.count&&(io(),is("exit",null,A),is("afterexit",null,A),ir&&"SIGHUP"===A&&(A="SIGINT"),tN.kill(tN.pid,A));};}),tk.signals=function(){returnit;};varil=!1,iE=function(){!il&&iA(no.process)&&(il=!0,ie.count+=1,it=it.filter(function(A){try{returntN.on(A,ia[A]),!0;}catch(A){return!1;}}),tN.emit=iQ,tN.reallyExit=ig);};tk.load=iE;varic=tN.reallyExit,ig=function(A){iA(no.process)&&(tN.exitCode=A||0,is("exit",tN.exitCode,null),is("afterexit",tN.exitCode,null),ic.call(tN,tN.exitCode));},ih=tN.emit,iQ=function(A,e){if(!("exit"===A&&iA(no.process)))returnih.apply(this,arguments);void0!==e&&(tN.exitCode=e);vart=ih.apply(this,arguments);returnis("exit",tN.exitCode,null),is("afterexit",tN.exitCode,null),t;};}elsetk=function(){returnfunction(){};};constiC=(A,e="SIGTERM",t={})=>{letr=A(e);returniu(A,e,t,r),r;},iu=(A,e,t,r)=>{if(!iI(e,t,r))return;letn=setTimeout(()=>{A("SIGKILL");},id(t));n.unref&&n.unref();},iI=(A,{forceKillAfterTimeout:e},t)=>iB(A)&&!1!==e&&t,iB=A=>A===l(nn).constants.signals.SIGTERM||"string"==typeofA&&"SIGTERM"===A.toUpperCase(),id=({forceKillAfterTimeout:A=!0})=>{if(!0===A)return5e3;if(!Number.isFinite(A)||A<0)throwTypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${A}\` (${typeofA})`);returnA;},ip=(A,e)=>{A.kill()&&(e.isCanceled=!0);},iy=(A,e,t)=>{A.kill(e),t(Object.assign(Error("Timed out"),{timedOut:!0,signal:e}));},im=(A,{timeout:e,killSignal:t="SIGTERM"},r)=>{letn;return0===e||void0===e?r:Promise.race([newPromise((r,i)=>{n=setTimeout(()=>{iy(A,t,i);},e);}),r.finally(()=>{clearTimeout(n);})]);},iw=({timeout:A})=>{if(void0!==A&&(!Number.isFinite(A)||A<0))throwTypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${A}\` (${typeofA})`);},iR=async(A,{cleanup:e,detached:t},r)=>{if(!e||t)returnr;letn=l(tk)(()=>{A.kill();});returnr.finally(()=>{n();});},iD=A=>Ainstanceofne.ChildProcess&&"function"==typeofA.then,ib=(A,e,t)=>{if("string"==typeoft)returnA[e].pipe((0,r3.createWriteStream)(t)),A;if(B(t))re
`);},i4=({env:A,extendEnv:e,preferLocal:t,localDir:r,execPath:n})=>{let i=e?{...l(nt).env,...A}:A;return t?nG({env:i,cwd:r,execPath:n}):i;},i9=(A,e,t={})=>{let r=l(tQ)._parse(A,e,t);return A=r.command,e=r.args,(t={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(t=r.options).cwd||l(nt).cwd(),execPath:l(nt).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:iK,...t}).env=i4(t),t.stdio=n7(t),"win32"===l(nt).platform&&"cmd"===l(nA).basename(A,".exe")&&e.unshift("/q"),{file:A,args:e,options:t,parsed:r};},i8=(A,e,t)=>"string"==typeof e||(0,r7.Buffer).isBuffer(e)?A.stripFinalNewline?C(e):e:void 0===t?void 0:"",i3=({input:A,inputFile:e,stdio:t})=>void 0===A&&void 0===e&&void 0===t?{stdin:"inherit"}:{},i5=(A={})=>({preferLocal:!0,...i3(A),...A});!function A(e){function t(r,...n){if(!Array.isArray(r))return A({...e,...r});let[i,...o]=iz(r,n);return f(i,o,i5(e));}return t.sync=(A,...t)=>{if(!Array.isArray(A))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[r,...n]=iz(A,t);return p(r,n,i5(e));},t;}();const i6={stdio:"inherit",shell:!0},i7=/^~(?=$|\/|\\)/;te=nl("pcnv8"),tT={},tY=nl("9zgMG"),tG=ni.env.npm_package_json,tJ=!!((tO=ni.env.npm_config_user_agent)&&tO.startsWith("npm")),tH=!!(tG&&tG.endsWith("package.json")),tV=tJ||tH,tP=!!(tO&&tO.startsWith("yarn")),t_=tV||tP,tW=rL.homedir(),tq=process.env.XDG_CONFIG_HOME||rU.join(tW,".config","simple-update-notifier"),tj=function(A){return rU.join(tq,"".concat(A.replace("@","").replace("/","__"),".json"));},tX=function(){rx.existsSync(tq)||rx.mkdirSync(tq,{recursive:!0});},t$=function(A){var e=tj(A);try{if(!rx.existsSync(e))return;return JSON.parse(rx.readFileSync(e,"utf8")).lastUpdateCheck;}catch(A){return;}},tZ=function(A){var e=tj(A);rx.writeFileSync(e,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},tz=function(A,e){return N(void 0,void 0,void 0,function(){var t;return S(this,function(r){return t="https://registry.npmjs.org/-/package/".concat(A,"/dist-tags"),[2,new Promise(function(A,r){rY.get(t,function(t){var n="";t.on("data",function(A){return n+=A;}),t.on("end",function(){try{var t=JSON.parse(n)[e];t||r(Error("Error getting version")),A(t);}catch(A){r(Error("Could not parse version response"));}});}).on("error",function(A){return r(A);});})];});});},tK=function(A){var e=A.pkg,t=A.updateCheckInterval,r=void 0===t?864e5:t,n=A.distTag,i=void 0===n?"latest":n,o=A.alwaysRun,s=A.debug;return N(void 0,void 0,void 0,function(){var A,t;return S(this,function(n){switch(n.label){case 0:if(tX(),A=t$(e.name),!(o||!A||A<new Date().getTime()-r))return[3,2];return[4,tz(e.name,i)];case 1:if(t=n.sent(),tZ(e.name),tY.gt(t,e.version))return[2,t];return s&&console.error("Latest version (".concat(t,") not newer than current version (").concat(e.version,")")),[3,3];case 2:s&&console.error("Too recent to check for a new update. simpleUpdateNotifier() interval set to ".concat(r,"ms but only ").concat(new Date().getTime()-A,"ms since last check.")),n.label=3;case 3:return[2,!1];}});});},t0=function(A){for(var e=A.split("\n"),t=Math.max.apply(Math,e.map(function(A){return A.length;})),r=["┌".concat("─".repeat(t+2),"┐")],n=0;n<e.length;n++){var i=e[n];r.push("│ ".concat(i.padEnd(t)," │"));}return r.push("└".concat("─".repeat(t+2),"┘")),r.join("\n");},tT=function(A){return N(void 0,void 0,void 0,function(){var e,t;return S(this,function(r){switch(r.label){case 0:if(!A.alwaysRun&&(!process.stdout.isTTY||t_&&!A.shouldNotifyInNpmScript))return A.debug&&console.error("Opting out of running simpleUpdateNotifier()"),[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,tK(A)];case 2:return(e=r.sent())&&console.error(t0("New version of ".concat(A.pkg.name," available!\nCurrent Version: ").concat(A.pkg.version,"\nLatest Version: ").concat(e))),[3,4];case 3:return t=r.sent(),A.debug&&t instanceof Error&&console.error("Unexpected error in simpleUpdateNotifier():",t),[3,4];case 4:return[2];}});});},t1={},t1=JSON.parse('{"name":"setup-cpp","version":"0.37.0"}'),t2=nl("d1q4F"),te=nl("pcnv8"),t
${r.message}`:Q,I=[u,e,A].filter(Boolean).join("\n");return C?(r.originalMessage=r.message,r.message=I):r=Error(I),r.shortMessage=u,r.command=o,r.escapedCommand=s,r.exitCode=i,r.signal=n,r.signalDescription=g,r.stdout=A,r.stderr=e,void 0!==t&&(r.all=t),"bufferedData"in r&&delete r.bufferedData,r.failed=!0,r.timedOut=!!a,r.isCanceled=l,r.killed=E&&!a,r;},oi=["stdin","stdout","stderr"],oo=A=>oi.some(e=>void 0!==A[e]),os=A=>{if(!A)return;let{stdio:e}=A;if(void 0===e)return oi.map(e=>A[e]);if(oo(A))throw Error("It's not possible to provide `stdio` in combination with one of "+oi.map(A=>`\`${A}\``).join(", "));if("string"==typeofe)returne;if(!Array.isArray(e))throwTypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeofe}\``);returnArray.from({length:Math.max(e.length,oi.length)},(A,t)=>e[t]);},oa=(A,e="SIGTERM",t={})=>{letr=A(e);returnol(A,e,t,r),r;},ol=(A,e,t,r)=>{if(!oE(e,t,r))return;letn=setTimeout(()=>{A("SIGKILL");},og(t));n.unref&&n.unref();},oE=(A,{forceKillAfterTimeout:e},t)=>oc(A)&&!1!==e&&t,oc=A=>A===l(nn).constants.signals.SIGTERM||"string"==typeofA&&"SIGTERM"===A.toUpperCase(),og=({forceKillAfterTimeout:A=!0})=>{if(!0===A)return5e3;if(!Number.isFinite(A)||A<0)throwTypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${A}\` (${typeofA})`);returnA;},oh=(A,e)=>{A.kill()&&(e.isCanceled=!0);},oQ=(A,e,t)=>{A.kill(e),t(Object.assign(Error("Timed out"),{timedOut:!0,signal:e}));},oC=(A,{timeout:e,killSignal:t="SIGTERM"},r)=>{letn;return0===e||void0===e?r:Promise.race([newPromise((r,i)=>{n=setTimeout(()=>{oQ(A,t,i);},e);}),r.finally(()=>{clearTimeout(n);})]);},ou=({timeout:A})=>{if(void0!==A&&(!Number.isFinite(A)||A<0))throwTypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${A}\` (${typeofA})`);},oI=async(A,{cleanup:e,detached:t},r)=>{if(!e||t)returnr;letn=l(tk)(()=>{A.kill();});returnr.finally(()=>{n();});},oB=A=>Ainstanceofne.ChildProcess&&"function"==typeofA.then,od=(A,e,t)=>{if("string"==typeoft)returnA[e].pipe((0,r3.createWriteStream)(t)),A;if(B(t))returnA[e].pipe(t),A;if(!oB(t))throwTypeError("The second argument must be a string, a stream or an Execa child process.");if(!B(t.stdin))throwTypeError("The target child process's stdin must be available.");returnA[e].pipe(t.stdin),t;},of=A=>{null!==A.stdout&&(A.pipeStdout=od.bind(void0,A,"stdout")),null!==A.stderr&&(A.pipeStderr=od.bind(void0,A,"stderr")),void0!==A.all&&(A.pipeAll=od.bind(void0,A,"all"));},op=A=>{if(void0!==A)throwTypeError("The `input` and `inputFile` options cannot be both set.");},oy=({input:A,inputFile:e})=>"string"!=typeofe?A:(op(A),(0,r3.readFileSync)(e)),om=A=>{lete=oy(A);if(I(e))throwTypeError("The `input` option cannot be a stream in sync mode");returne;},ow=({input:A,inputFile:e})=>"string"!=typeofe?A:(op(A),(0,r3.createReadStream)(e)),oR=(A,e)=>{lett=ow(e);void0!==t&&(I(t)?t.pipe(A.stdin):A.stdin.end(t));},oD=(A,{all:e})=>{if(!e||!A.stdout&&!A.stderr)return;lett=l(tx)();returnA.stdout&&t.add(A.stdout),A.stderr&&t.add(A.stderr),t;},ob=async(A,e)=>{if(A&&void0!==e){A.destroy();try{returnawaite;}catch(A){returnA.bufferedData;}}},ok=(A,{encoding:e,buffer:t,maxBuffer:r})=>{if(A&&t)returne?l(tS)(A,{encoding:e,maxBuffer:r}):l(tS).buffer(A,{maxBuffer:r});},oN=async({stdout:A,stderr:e,all:t},{encoding:r,buffer:n,maxBuffer:i},o)=>{lets=ok(A,{encoding:r,buffer:n,maxBuffer:i}),a=ok(e,{encoding:r,buffer:n,maxBuffer:i}),l=ok(t,{encoding:r,buffer:n,maxBuffer:2*i});try{returnawaitPromise.all([o,s,a,l]);}catch(r){returnPromise.all([{error:r,signal:r.signal,timedOut:r.timedOut},ob(A,s),ob(e,a),ob(t,l)]);}},oS=(async()=>{})().constructor.prototype,oF=["then","catch","finally"].map(A=>[A,Reflect.getOwnPropertyDescriptor(oS,A)]),ov=(A,e)=>{for(let[t,r]ofoF){letn="function"==typeofe?(...A)=>Reflect.apply(r.value,e(),A):r.value.bind(e);Reflect.defineProperty(A,t,{...r,value:n});}},oL=A=>newPromise((e,t)=>{A.on("exit",(A,t)=>{e({exitCode:A,signal:t});}),A.on("error",A=>{t(A);}),A.stdin&&A.stdin.on("error",A=>{t(A)
`);},oW=({env:A,extendEnv:e,preferLocal:t,localDir:r,execPath:n})=>{let i=e?{...l(nt).env,...A}:A;return t?function({env:A=l(nt).env,...e}={}){let t=M({env:A={...A}});return e.path=A[t],A[t]=function(A={}){let e;let{cwd:t=l(nt).cwd(),path:r=l(nt).env[M()],execPath:n=l(nt).execPath}=A,i=n instanceof URL?l(nr).fileURLToPath(n):n,o=t instanceof URL?l(nr).fileURLToPath(t):t,s=l(nA).resolve(o),a=[];for(;e!==s;)a.push(l(nA).join(s,"node_modules/.bin")),e=s,s=l(nA).resolve(s,"..");return a.push(l(nA).resolve(o,i,"..")),[...a,r].join(l(nA).delimiter);}(e),A;}({env:i,cwd:r,execPath:n}):i;},oq=(A,e,t={})=>{let r=l(tQ)._parse(A,e,t);return A=r.command,e=r.args,(t={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(t=r.options).cwd||l(nt).cwd(),execPath:l(nt).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:oH,...t}).env=oW(t),t.stdio=os(t),"win32"===l(nt).platform&&"cmd"===l(nA).basename(A,".exe")&&e.unshift("/q"),{file:A,args:e,options:t,parsed:r};},oj=(A,e,t)=>"string"==typeof e||(0,r7.Buffer).isBuffer(e)?A.stripFinalNewline?C(e):e:void 0===t?void 0:"",oX=({input:A,inputFile:e,stdio:t})=>void 0===A&&void 0===e&&void 0===t?{stdin:"inherit"}:{},o$=(A={})=>({preferLocal:!0,...oX(A),...A});!function A(e){function t(r,...n){if(!Array.isArray(r))return A({...e,...r});let[i,...o]=oJ(r,n);return T(i,o,o$(e));}return t.sync=(A,...t)=>{if(!Array.isArray(A))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[r,...n]=oJ(A,t);return function(A,e,t){let r;let n=oq(A,e,t),i=oM(A,e),o=oT(A,e);o_(o,n.options);let s=om(n.options);try{r=l(ne).spawnSync(n.file,n.args,{...n.options,input:s});}catch(A){throw on({error:A,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1});}let a=oj(n.options,r.stdout,r.error),E=oj(n.options,r.stderr,r.error);if(r.error||0!==r.status||null!==r.signal){let A=on({stdout:a,stderr:E,error:r.error,signal:r.signal,exitCode:r.status,command:i,escapedCommand:o,parsed:n,timedOut:r.error&&"ETIMEDOUT"===r.error.code,isCanceled:!1,killed:null!==r.signal});if(!n.options.reject)return A;throw A;}return{command:i,escapedCommand:o,exitCode:0,stdout:a,stderr:E,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(r,n,o$(e));},t;}(),ta=nl("6vN83"),t9=nl("hQXed");const oZ={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},oz=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],oK=k("~/.cpprc");let o0=!1,o1=!1,o2=!1;const o4=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(e5=t5||(t5={}))[e5.NameDashVersion=0]="NameDashVersion",e5[e5.NameEqualsVersion=1]="NameEqualsVersion",e5[e5.Name=2]="Name",e5[e5.None=3]="None",t2=nl("d1q4F"),t6=nl("jQPzx"),t7=nl("2C5C8"),ta=nl("6vN83"),t6=nl("jQPzx");let o9=!1;te=nl("pcnv8"),t9=nl("hQXed"),t6=nl("jQPzx");let o8=!1;te=nl("pcnv8"),te=nl("pcnv8");let o3=!1,o5=!1;const o6=/Version\s*:\s*(.*)/g;rA={},re=rU.resolve(__dirname,"../../node_modules/@actions/tool-cache/lib"),rt=rA&&rA.__createBinding||(Object.create?function(A,e,t,r){void 0===r&&(r=t),Object.defineProperty(A,r,{enumerable:!0,get:function(){return e[t];}});}:function(A,e,t,r){void 0===r&&(r=t),A[r]=e[t];}),rr=rA&&rA.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e});}:function(A,e){A.default=e;}),rn=rA&&rA.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(null!=A)for(var t in A)"default"!==t&&Object.hasOwnProperty.call(A,t)&&rt(e,A,t);return rr(e,A),e;},ri=rA&&rA.__awaiter||function(A,e,t,r){return new(t||(t=Promise))(function(n,i){function o(A){try{a(r.next(A));}catch(A){i(A);}}function s(A){try{a(r.throw(A));}catch(A){i(A);}}function a(A){var e;A.done?n(A.value):((e=A.value)instanceof t?e:new t(function(A){A(e);})).then(o,s);}a((r=r.apply(A,e||[])).next());});},ro=rA&&rA.__importDefault||function(A){return A&&A.__esModule?A:{default:A};},Object.defineProperty(rA,"__esModule",{value:!0}),rA.evaluateVersions=rA.isExplicitVersion=rA.findFromManifest=rA.getManifestFro