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);});});}tC(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=tQ.sync(A.command,{path:r[tI({env:r})],pathExt:e?rF.delimiter:void0});}catch(A){}finally{o&&process.chdir(n);}returnt&&(t=rF.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){returnnv&&1===A&&!e.file?g(e.original,"spawn"):null;}functionQ(A,e,t){letr=tg(A,e,t),n=r9.spawn(r.command,r.args,r.options);returntm.hookChildProcess(n,r),n;}functionu(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;}functionC(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=tS(e);returnawaitnewPromise((e,n)=>{leti=A=>{A&&r.getBufferedLength()<=tk.MAX_LENGTH&&(A.bufferedData=r.getBufferedValue()),n(A);};(async()=>{try{awaitiD(A,r),e();}catch(A){i(A);}})(),r.on("data",()=>{r.getBufferedLength()>t&&i(newib());});}),r.getBufferedValue();}functionf(A,e,t){letr;letn=i1(A,e,t),i=iV(A,e),o=iP(A,e);iz(o,n.options),ip(n.options);try{r=l(r6).spawn(n.file,n.args,n.options);}catch(e){letA=new(l(r6).ChildProcess)();returniY(A,Promise.reject(n4({error:e,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}))),A;}lets=iO(r),a=id(r,n.options,s),E=iy(r,n.options,a),c={isCanceled:!1};r.kill=ig.bind(null,r.kill.bind(r)),r.cancel=iI.bind(null,r,c);letg=tw(async()=>{let[{error:A,exitCode:e,signal:t,timedOut:s},a,l,g]=awaitiT(r,n.options,E),h=i2(n.options,a),Q=i2(n.options,l),u=i2(n.options,g);if(A||0!==e||null!==t){leta=n4({error:A,exitCode:e,signal:t,stdout:h,stderr:Q,all:u,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:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});returniv(r,n.options),r.all=iL(r,n.options),iR(r),iY(r,g),r;}functionp(A,e,t){letr;letn=i1(A,e,t),i=iV(A,e),o=iP(A,e);iz(o,n.options);lets=iS(n.options);try{r=l(r6).spawnSync(n.file,n.args,{...n.options,input:s});}catch(A){thrown4({error:A,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1});}leta=i2(n.options,r.stdout,r.error),E=i2(n.options,r.stderr,r.error);if(r.error||0!==r.status||null!==r.signal){letA=n4({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)returnA;throwA;}return{command:i,escapedCommand:o,exitCode:0,stdout:a,stderr:E,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}functiony(){varA,e;return((null===(A=(e=process).getuid)||void0===A?void0:A.call(e))===0||!!process.env.CI)&&null!==l(tr).sync("sudo",{nothrow:!0});}functionm(A,e=[],t=i8){returny()?function(A,e){let[t,...r]=i_(A);returnp(t,
`),(0,tz.info)(`${A}="${r}"wasaddedto"${o$}`));return;}process.env[A]=r;}async function J(A){switch(process.platform){case"win32":await G(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${A};$USER_PATH", "User")`),(0,tz.info)(`"${A}" was added to the PATH.`);return;case"linux":case"darwin":awaitV(),(0,rv.appendFileSync)(o$,`
exportPATH="${A}:$PATH"
`),(0,tz.info)(`"${A}"wasaddedto"${o$}"`);return;default:return;}}async function V(){if(oZ)return;let A="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if((await(0,t0.pathExists)(o$))&&(0,rv.readFileSync)(o$,"utf8").includes(A))return;(0,rv.appendFileSync)(o$,`
`),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=te.create({autoloadLocales:!0});te.addLocale(l(tt)),e7.addLocale(l(tA));let Q=await sU();if(!function(A,e){let t=e.filter(e=>void 0!==A[e]),r=t.filter(e=>!A1(A[e])),n=r.length>=1?A[r[0]]:"true";return!r.some(e=>A[e]!==n)&&(t.forEach(e=>{A[e]=n;}),!0);}(s,["llvm","clangtidy","clangformat"]))return(0,e6.error)("The same version must be used for llvm, clangformat and clangtidy"),1;U()&&"string"==typeof s.cppcheck&&"string"==typeof s.gcovr&&((0,e6.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await AE("python-pygments"));let u=!1,C=!1;for(let A of at){if(e5.isCI&&0!==g.length){C=!0;break;}let e=s[A];void 0!==e&&(n=Date.now(),u=await eN(A,e,Q,a,E,c,g,6e4*parseFloat(null!==(r=s.timeout)&&void 0!==r?r:"20")),i=Date.now(),(0,e6.info)("took "+(h.format(n,i)||"0 seconds")));}if(!C){let A=s.compiler;if(void 0!==A){let e=Date.now();await e2(A,Q,E,a,c,u,g);let t=Date.now();(0,e6.info)("took "+(h.format(e,t)||"0 seconds"));}}if(await P(),0===c.length&&0===g.length)return(0,e6.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(c.forEach(A=>(0,e6.success)(A)),g.forEach(A=>(0,e6.error)(A)),(0,e6.info)("setup-cpp finished"),!e5.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,e6.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,e6.warning)("Run `source~/.cpprc`orrestartyourshelltoupdatetheenvironment.");}returnawaito,0===g.length?0:1;}vare9,e8,e3,e5,e6,e7,tA,te,tt,tr,tn,ti,to,ts,ta,tl,tE,tc,tg,th,tQ,tu,tC,tI,tB,td,tf,tp,ty,tm,tw,tR,tD,tb,tk,tN,tS,tF,tv,tL,tU,tx,tT,tM,tG,tY,tO,tH,tJ,tV,tP,t_,tW,tq,tj,tX,t$,tZ,tK,tz,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,ru,rC,rI,rB,rd,rf,rp,ry,rm,rw,rR,rD,rb,rk,rN,rS=require("os"),rF=require("path"),rv=require("fs"),rL=require("crypto"),rU=require("http"),rx=require("https"),rT=require("net"),rM=require("tls"),rG=require("events"),rY=require("assert"),rO=require("util"),rH=require("stream"),rJ=require("buffer"),rV=require("querystring"),rP=require("stream/web"),r_=require("util/types"),rW=require("stream"),rq=require("util"),rj=require("events"),rX=require("perf_hooks"),r$=require("worker_threads"),rZ=require("async_hooks"),rK=require("console"),rz=require("url"),r0=require("zlib"),r1=require("string_decoder"),r2=require("diagnostics_channel"),r4=require("fs"),r9=require("child_process"),r8=require("timers"),r3=require("buffer"),r5=require("path"),r6=require("child_process"),r7=require("process"),nA=require("url"),ne=require("os"),nt=require("process"),nr=globalThis,nn={},ni={},no=nr.parcelRequire810d;null==no&&((no=function(A){if(Ainnn)returnnn[A].exports;if(Ainni){vare=ni[A];deleteni[A];vart={id:A,exports:{}};returnnn[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){ni[A]=e;},nr.parcelRequire810d=no),(e3=no.register)("dAuy6",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=no("5vZJI");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(A.exports[e.co
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;}),e3("eamjo",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(rU),h=n(rx),Q=n(no("jnrYh")),u=n(no("3RDK7"));o=no("8Z5wh"),(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 C=[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[H],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!==C?r.isBuffer(t)?(rY(I===t.byteLength,"buffer body must have content length"),B.cork(),B.write(`${d}content-length:${I}\r
`,"latin1"):(rY(null===I,"no body must not have content length"),B.write(`${d}\r
`,"latin1")),e.onRequestSent()),!0;}(A,n)?A[J]++:A[x].splice(A[J],1);}}(A,e),A[S]=0,A[V]>256&&(A[x].splice(0,A[V]),A[J]-=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(rY(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);}},u=function(){!g&&e.resume&&e.resume();},C=function(){if(g)return;let A=new c();queueMicrotask(()=>I(A));},I=function(A){if(!g){if(g=!0,rY(o.destroyed||o[U]&&n[F]<=1),o.off("drain",u).off("error",I),e.removeListener("data",Q).removeListener("end",I).removeListener("error",I).removeListener("close",C),!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",C),e.resume&&e.resume(),o.on("drain",u).on("error",I);}async function AT({h2stream:A,body:e,client:t,request:n,socket:i,contentLength:o,header:s,expectsPayload:l}){rY(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 AM({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();}}rY(0!==i||0===t[F],"iterator body cannot be pipelined");let l=null,E=()=>new Promise((A,e)=>{rY(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 AG(A,e,t){try{e.onError(t),rY(e.aborted);}catch(e){A.emit("error",e);}}t=rH.pipeline,r=no("a5c5d"),n=no("LOD3G"),i=no("gjBJN"),o=no("3lDcb"),a=(s=no("d1Hoi")).RequestContentLengthMismatchError,l=s.ResponseContentLengthMismatchError,E=s.InvalidArgumentError,c=s.RequestAbortedError,g=s.HeadersTimeoutError,h=s.HeadersOverflowError,Q=s.SocketError,u=s.InformationalError,C=s.BodyTimeoutError,I=s.HTTPParserError,B=s.ResponseExceededMaxSizeError,d=s.ClientDestroyedError,f=no("EkOIf"),y=(p=no("fYjBn")).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,T=p.kConnected,M=p.kConnecting,G=p.kNeedDrain,Y=p.kNoRef,O=p.kKeepAliveDefaultTimeout,H=p.kHostHeader,J=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,K=p.kBodyTimeout,z=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,Au=p.kHTTP2CopyHeaders,AC=p.kHTTP1BuildRequest;try{Ad=$76dfc8b314c27794$import$dc5c58500bc5a0ce;}catch{Ad={constants:{}};}let{constants:{HTTP2_HEADER_AUTHORITY:AY,HTTP2_HEADER_METHOD:AO,HTTP2_HEADER_PATH:AH,HTTP2_HEADER_SCHEME:AJ,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=$76dfc8b314c27794$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=no("h2D1B"),AB=no("9dgiL");let A$=Buffer.alloc(0),AZ=null,AK=Aw();AK.catch();let Az=null,A0=null,A1=0,A2=null,A4=1,A9=2,A8=3;class A3{constructor(A,e,{exports:t}){rY(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&&(rY(null!=this.ptr),rY(null==Az),this.llhttp.llhttp_resume(this.ptr),rY(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[z])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&&(rY(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:u,socketPath:C,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!=C&&"string"!=typeof C)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!=u&&!Number.isFinite(u))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===rT.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:C,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||rU.maxHeaderSize,this[O]=null==g?4e3:g,this[X]=null==Q?6e5:Q,this[$]=null==u?1e3:u,this[q]=this[O],this[w]=null,this[Aa]=null!=b?b:null,this[S]=0,this[G]=0,this[H]=`host:${this[y].hostname}${this[y].port?":"+this[y].port:""}\r
`,this[K]=null!=a?a:3e5,this[Z]=null!=n?n:3e5,this[z]=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[J]=0;}get pipelining(){return this[_];}set pipelining(A){this[_]=A,AL(this,!0);}get[v](){return this[x].length-this[J];}get[F](){return this[J]-this[V];}get[L](){return this[x].length-this[V];}get[T](){return!!this[W]&&!this[M]&&!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[AC](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[G]&&this[D]&&(this[G]=2),this[G]<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[J]);for(let e=0;e<t.length;e++)AG(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);});}};}),e3("a5c5d",function(A,e){var t,r,n,i,o,s,a;let l;function E(A){return A&&"object"==typeof A&&"function"==typeof A.pipe&&"function"==typeof A.on;}function c(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 g(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 h(A){return!A||!!(A.destroyed||A[r]);}function Q(A){let e=A&&A._readableState;return h(A)&&e&&!e.endEmitted;}function u(A){return A instanceof Uint8Array||Buffer.isBuffer(A);}async function*C(A){for await(let e of A)yield Buffer.isBuffer(e)?e:Buffer.from(e);}r=(t=no("fYjBn")).kDestroyed,n=t.kBodyUsed,i=rU.IncomingMessage,o=no("d1Hoi").InvalidArgumentError,s=rJ.Blob,a=rV.stringify;let[I,B]=process.versions.node.split(".").map(A=>+A),d=!!String.prototype.toWellFormed,f=Object.create(null);f.enumerable=!0,A.exports={kEnumerableProperty:f,nop:function(){},isDisturbed:function(A){return!!(A&&(rH.isDisturbed?rH.isDisturbed(A)||A[n]:A[n]||A.readableDidRead||A._readableState&&A._readableState.dataEmitted||Q(A)));},isErrored:function(A){return!!(A&&(rH.isErrored?rH.isErrored(A):/state: 'errored'/.test(rO.inspect(A))));},isReadable:function(A){return!!(A&&(rH.isReadable?rH.isReadable(A):/state: 'readable'/.test(rO.inspect(A))));},toUSVString:function(A){return d?(""+A).toWellFormed():rO.toUSVString?rO.toUSVString(A):""+A;},isReadableAborted:
`;}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=no("d1Hoi")).InvalidArgumentError,n=t.NotSupportedError,o=(i=no("fYjBn")).kHTTP2BuildRequest,s=i.kHTTP2CopyHeaders,a=i.kHTTP1BuildRequest,l=no("a5c5d");let h=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,Q=/[^\t\x20-\x7e\x80-\xff]/,u=Symbol(),C={};try{letA=$be0bb19f8817fef9$import$8c11996ea4346c54;C.create=A.channel("undici:request:create"),C.bodySent=A.channel("undici:request:bodySent"),C.headers=A.channel("undici:request:headers"),C.trailers=A.channel("undici:request:trailers"),C.error=A.channel("undici:request:error");}catch{C.create={hasSubscribers:!1},C.bodySent={hasSubscribers:!1},C.headers={hasSubscribers:!1},C.trailers={hasSubscribers:!1},C.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,
`);o.push(A,n,s),"number"==typeof n.size?E+=A.byteLength+n.size+s.byteLength:a=!0;}let g=x.encode(`--${e}--`);o.push(g),E+=g.byteLength,a&&(E=null),l=A,n=async function*(){for(let A of o)A.stream?yield*A.stream():yield A;},c="multipart/form-data; boundary="+e;}else if(o(A))l=A,E=A.size,A.type&&(c=A.type);else if("function"==typeof A[Symbol.asyncIterator]){if(e)throw TypeError("keepalive");if(r.isDisturbed(A)||A.locked)throw TypeError("Response body object should not be disturbed or locked");t=A instanceof L?A:i(A);}if(("string"==typeof l||r.isBuffer(l))&&(E=Buffer.byteLength(l)),null!=n){let e;t=new L({async start(){e=n(A)[Symbol.asyncIterator]();},async pull(A){let{value:r,done:n}=await e.next();return n?queueMicrotask(()=>{A.close();}):f(t)||A.enqueue(new Uint8Array(r)),A.desiredSize>0;},async cancel(A){await e.return();},type:void 0});}return[{stream:t,source:l,length:E},c];}async function*k(A){if(A){if(p(A))yield A;else{let e=A.stream;if(r.isDisturbed(e))throw TypeError("The body has already been consumed.");if(e.locked)throw TypeError("The stream is locked.");e[d]=!0,yield*e;}}}function N(A){if(A.aborted)throw new u("The operation was aborted.","AbortError");}async function S(A,e,t){var n;if(h.brandCheck(A,t),N(A[g]),null!=(n=A[g].body)&&(n.stream.locked||r.isDisturbed(n.stream)))throw TypeError("Body is unusable");let i=l(),o=A=>i.reject(A),s=A=>{try{i.resolve(e(A));}catch(A){o(A);}};return null==A[g].body?s(new Uint8Array()):await E(A[g].body,s,o),i.promise;}function F(A){return 0===A.length?"":(239===A[0]&&187===A[1]&&191===A[2]&&(A=A.subarray(3)),T.decode(A));}function v(A){return JSON.parse(F(A));}t=no("SRKWJ"),r=no("a5c5d"),i=(n=no("beXwr")).ReadableStreamFrom,o=n.isBlobLike,s=n.isReadableStreamLike,a=n.readableStreamClose,l=n.createDeferredPromise,E=n.fullyReadBody,c=no("jRFDL").FormData,g=no("kZx2v").kState,h=no("e7TzI").webidl,u=(Q=no("7VDV9")).DOMException,C=Q.structuredClone,I=rJ.Blob,B=rJ.File,d=no("fYjBn").kBodyUsed,f=(r=no("a5c5d")).isErrored,p=r_.isUint8Array,y=r_.isArrayBuffer,m=no("bk82a").File,R=(w=no("g34gh")).parseMIMEType,D=w.serializeAMimeType;let L=globalThis.ReadableStream,U=null!=B?B:m,x=new TextEncoder(),T=new TextDecoder();A.exports={extractBody:b,safelyExtractBody:function(A,e=!1){return L||(L=rP.ReadableStream),A instanceof L&&(rY(!r.isDisturbed(A),"The body has already been consumed."),rY(!A.locked,"The stream is locked.")),b(A,e);},cloneBody:function(A){let[e,t]=A.stream.tee(),[,r]=C(t,{transfer:[t]}).tee();return A.stream=e,{stream:r,length:A.length,source:A.source};},mixinBody:function(A){Object.assign(A.prototype,{blob(){return S(this,A=>{let e=function(A){let{headersList:e}=A[g],t=e.get("content-type");return null===t?"failure":R(t);}(this);return"failure"===e?e="":e&&(e=D(e)),new I([A],{type:e});},A);},arrayBuffer(){return S(this,A=>new Uint8Array(A).buffer,A);},text(){return S(this,F,A);},json(){return S(this,v,A);},async formData(){h.brandCheck(this,A),N(this[g]);let e=this.headers.get("Content-Type");if(/multipart\/form-data/.test(e)){let A;let e={};for(let[A,t]of this.headers)e[A.toLowerCase()]=t;let r=new c();try{A=new t({headers:e,preservePath:!0});}catch(A){throw new u(""+A,"AbortError");}A.on("field",(A,e)=>{r.append(A,e);}),A.on("file",(A,e,t,n,i)=>{let o=[];if("base64"===n||"base64"===n.toLowerCase()){let n="";e.on("data",A=>{let e=(n+=A.toString().replace(/[\r\n]/gm,"")).length-n.length%4;o.push(Buffer.from(n.slice(0,e),"base64")),n=n.slice(e);}),e.on("end",()=>{o.push(Buffer.from(n,"base64")),r.append(A,new U(o,t,{type:i}));});}else e.on("data",A=>{o.push(A);}),e.on("end",()=>{r.append(A,new U(o,t,{type:i}));});});let n=new Promise((e,t)=>{A.on("finish",e),A.on("error",A=>t(TypeError(A)));});if(null!==this.body)for await(let e of k(this[g].body))A.write(e);return A.end(),await n,r;}if(/application\/x-www-form-urlencoded/.test(e)){let A;try{let e="",t=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let A of k(this[g].body)){if(!p(A))throw TypeError("Expected Uint8Array chunk");e+=t.decode(A,{stream:!0});}e+=t.decode(),A=new URLSearchParams(e);}catch(A){throw Object.a
${t.count}${t.noun}${t.is}pending:
${A.format(e)}
`.trim());}};}),e3("3tYpW",function(A,e){var t=rO.promisify,r=no("8wrqe"),n=no("hMR6c").buildMockDispatch,i=no("jpIf9"),o=i.kDispatches,s=i.kMockAgent,a=i.kClose,l=i.kOriginalClose,E=i.kOrigin,c=i.kOriginalDispatch,g=i.kConnected,h=no("9RBKY").MockInterceptor,Q=no("fYjBn"),u=no("d1Hoi").InvalidArgumentError;class C extends r{constructor(A,e){if(super(A,e),!e||!e.agent||"function"!=typeof e.agent.dispatch)throw new u("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=C;}),e3("lyvdG",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};}};}),e3("2tgfO",function(A,e){var t=rH.Transform,r=rK.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();}};}),e3("4Pe0Z",function(A,e){var t,r,n,i,o,s,a,l,E,c,g,h,Q;function u(A,e){return new l(A,e);}r=(t=no("fYjBn")).kProxy,n=t.kClose,i=t.kDestroy,o=t.kInterceptors,s=rz.URL,a=no("lQkIG"),l=no("8wrqe"),E=no("3lDcb"),g=(c=no("d1Hoi")).InvalidArgumentError,h=c.RequestAbortedError,Q=no("EkOIf");let C=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[C]=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=u}=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[C]=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[C].dispatch({...A,headers:{...r,host:t}},e);}async[n](){await this[C].close(),await this[I].close();}async[i](){await this[C].destroy(),await this[I].destroy();}};}),e3("2W0VT",function(A,e){var t=no("fYjBn").kRetryHandlerDefaultRetry,r=no("d1Hoi").
${e}`,nH=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),nJ=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),nV=(A,e,t)=>{let r=""===t?"":`with${t.trim()}()`,n=nO.bind(null,r,e.toString());Object.defineProperty(n,"name",nJ),Object.defineProperty(A,"toString",{...nH,value:n});},nP=new WeakMap(),n_=(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(nP.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))nM(A,e,r,t);nY(A,e),nV(A,e,r);}(i,A),nP.set(i,r),i;};n_.callCount=A=>{if(!nP.has(A))throwError(`The given function \`${A.name}\` is not wrapped by the \`onetime\` package`);returnnP.get(A);},tw=n_;constnW=()=>Array.from({length:nX-nj+1},nq),nq=(A,e)=>({name:"SIGRT"+(e+1),number:nj+e,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),nj=34,nX=64,n$=[{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}`:C,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;},n9=["stdin","stdout","stderr"],n8=A=>n9.some(e=>void 0!==A[e]),n3=A=>{if(!A)return;let{stdio:e}=A;if(void 0===e)return n9.map(e=>A[e]);if(n8(A))throw Error("It's not possible to provide `stdio` in combination with one of "+n9.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,n9.length)},(A,t)=>e[t]);};tR={};constn5=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(n5(tD=nr.process)){varn6,n7=no("dVIKq"),iA=/^win/i.test(tD.platform),ie=rG;"function"!=typeofie&&(ie=ie.EventEmitter),tD.__signal_exit_emitter__?n6=tD.__signal_exit_emitter__:((n6=tD.__signal_exit_emitter__=newie()).count=0,n6.emitted={}),n6.infinite||(n6.setMaxListeners(1/0),n6.infinite=!0);varit=function(){io&&n5(nr.process)&&(io=!1,n7.forEach(function(A){try{tD.removeListener(A,ii[A]);}catch(A){}}),tD.emit=iE,tD.reallyExit=ia,n6.count-=1);};(tR=function(A,e){if(!n5(nr.process))returnfunction(){};rY.equal(typeofA,"function","a callback must be provided for exit handler"),!1===io&&is();vart="exit";returne&&e.alwaysLast&&(t="afterexit"),n6.on(t,A),function(){n6.removeListener(t,A),0===n6.listeners("exit").length&&0===n6.listeners("afterexit").length&&it();};}).unload=it;varir=function(A,e,t){n6.emitted[A]||(n6.emitted[A]=!0,n6.emit(A,e,t));},ii={};n7.forEach(function(A){ii[A]=function(){n5(nr.process)&&tD.listeners(A).length===n6.count&&(it(),ir("exit",null,A),ir("afterexit",null,A),iA&&"SIGHUP"===A&&(A="SIGINT"),tD.kill(tD.pid,A));};}),tR.signals=function(){returnn7;};vario=!1,is=function(){!io&&n5(nr.process)&&(io=!0,n6.count+=1,n7=n7.filter(function(A){try{returntD.on(A,ii[A]),!0;}catch(A){return!1;}}),tD.emit=ic,tD.reallyExit=il);};tR.load=is;varia=tD.reallyExit,il=function(A){n5(nr.process)&&(tD.exitCode=A||0,ir("exit",tD.exitCode,null),ir("afterexit",tD.exitCode,null),ia.call(tD,tD.exitCode));},iE=tD.emit,ic=function(A,e){if(!("exit"===A&&n5(nr.process)))returniE.apply(this,arguments);void0!==e&&(tD.exitCode=e);vart=iE.apply(this,arguments);returnir("exit",tD.exitCode,null),ir("afterexit",tD.exitCode,null),t;};}elsetR=function(){returnfunction(){};};constig=(A,e="SIGTERM",t={})=>{letr=A(e);returnih(A,e,t,r),r;},ih=(A,e,t,r)=>{if(!iQ(e,t,r))return;letn=setTimeout(()=>{A("SIGKILL");},iC(t));n.unref&&n.unref();},iQ=(A,{forceKillAfterTimeout:e},t)=>iu(A)&&!1!==e&&t,iu=A=>A===l(ne).constants.signals.SIGTERM||"string"==typeofA&&"SIGTERM"===A.toUpperCase(),iC=({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;},iI=(A,e)=>{A.kill()&&(e.isCanceled=!0);},iB=(A,e,t)=>{A.kill(e),t(Object.assign(Error("Timed out"),{timedOut:!0,signal:e}));},id=(A,{timeout:e,killSignal:t="SIGTERM"},r)=>{letn;return0===e||void0===e?r:Promise.race([newPromise((r,i)=>{n=setTimeout(()=>{iB(A,t,i);},e);}),r.finally(()=>{clearTimeout(n);})]);},ip=({timeout:A})=>{if(void0!==A&&(!Number.isFinite(A)||A<0))throwTypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${A}\` (${typeofA})`);},iy=async(A,{cleanup:e,detached:t},r)=>{if(!e||t)returnr;letn=l(tR)(()=>{A.kill();});returnr.finally(()=>{n();});},im=A=>Ainstanceofr6.ChildProcess&&"function"==typeofA.then,iw=(A,e,t)=>{if("string"==typeoft)returnA[e].pipe((0,r4.createWriteStream)(t)),A;if(B(t))re
`);},i0=({env:A,extendEnv:e,preferLocal:t,localDir:r,execPath:n})=>{let i=e?{...l(r7).env,...A}:A;return t?nT({env:i,cwd:r,execPath:n}):i;},i1=(A,e,t={})=>{let r=l(tc)._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(r7).cwd(),execPath:l(r7).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:i$,...t}).env=i0(t),t.stdio=n3(t),"win32"===l(r7).platform&&"cmd"===l(r5).basename(A,".exe")&&e.unshift("/q"),{file:A,args:e,options:t,parsed:r};},i2=(A,e,t)=>"string"==typeof e||(0,r3.Buffer).isBuffer(e)?A.stripFinalNewline?u(e):e:void 0===t?void 0:"",i4=({input:A,inputFile:e,stdio:t})=>void 0===A&&void 0===e&&void 0===t?{stdin:"inherit"}:{},i9=(A={})=>({preferLocal:!0,...i4(A),...A});!function A(e){function t(r,...n){if(!Array.isArray(r))return A({...e,...r});let[i,...o]=iX(r,n);return f(i,o,i9(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]=iX(A,t);return p(r,n,i9(e));},t;}();const i8={stdio:"inherit",shell:!0},i3=/^~(?=$|\/|\\)/;e6=no("hHq4F"),tU={},tx=no("coVwk"),tT=nt.env.npm_package_json,tG=!!((tM=nt.env.npm_config_user_agent)&&tM.startsWith("npm")),tY=!!(tT&&tT.endsWith("package.json")),tO=tG||tY,tH=!!(tM&&tM.startsWith("yarn")),tJ=tO||tH,tV=rS.homedir(),tP=process.env.XDG_CONFIG_HOME||rF.join(tV,".config","simple-update-notifier"),t_=function(A){return rF.join(tP,"".concat(A.replace("@","").replace("/","__"),".json"));},tW=function(){rv.existsSync(tP)||rv.mkdirSync(tP,{recursive:!0});},tq=function(A){var e=t_(A);try{if(!rv.existsSync(e))return;return JSON.parse(rv.readFileSync(e,"utf8")).lastUpdateCheck;}catch(A){return;}},tj=function(A){var e=t_(A);rv.writeFileSync(e,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},tX=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){rx.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);});})];});});},t$=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(tW(),A=tq(e.name),!(o||!A||A<new Date().getTime()-r))return[3,2];return[4,tX(e.name,i)];case 1:if(t=n.sent(),tj(e.name),tx.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];}});});},tZ=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");},tU=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||tJ&&!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,t$(A)];case 2:return(e=r.sent())&&console.error(tZ("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];}});});},tK={},tK=JSON.parse('{"name":"setup-cpp","version":"0.37.0"}'),tz=no("1o3Gj"),e6=no("hHq4F"),e
${r.message}`:Q,I=[C,e,A].filter(Boolean).join("\n");return u?(r.originalMessage=r.message,r.message=I):r=Error(I),r.shortMessage=C,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;},ot=["stdin","stdout","stderr"],or=A=>ot.some(e=>void 0!==A[e]),on=A=>{if(!A)return;let{stdio:e}=A;if(void 0===e)return ot.map(e=>A[e]);if(or(A))throw Error("It's not possible to provide `stdio` in combination with one of "+ot.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,ot.length)},(A,t)=>e[t]);},oi=(A,e="SIGTERM",t={})=>{letr=A(e);returnoo(A,e,t,r),r;},oo=(A,e,t,r)=>{if(!os(e,t,r))return;letn=setTimeout(()=>{A("SIGKILL");},ol(t));n.unref&&n.unref();},os=(A,{forceKillAfterTimeout:e},t)=>oa(A)&&!1!==e&&t,oa=A=>A===l(ne).constants.signals.SIGTERM||"string"==typeofA&&"SIGTERM"===A.toUpperCase(),ol=({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;},oE=(A,e)=>{A.kill()&&(e.isCanceled=!0);},oc=(A,e,t)=>{A.kill(e),t(Object.assign(Error("Timed out"),{timedOut:!0,signal:e}));},og=(A,{timeout:e,killSignal:t="SIGTERM"},r)=>{letn;return0===e||void0===e?r:Promise.race([newPromise((r,i)=>{n=setTimeout(()=>{oc(A,t,i);},e);}),r.finally(()=>{clearTimeout(n);})]);},oh=({timeout:A})=>{if(void0!==A&&(!Number.isFinite(A)||A<0))throwTypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${A}\` (${typeofA})`);},oQ=async(A,{cleanup:e,detached:t},r)=>{if(!e||t)returnr;letn=l(tR)(()=>{A.kill();});returnr.finally(()=>{n();});},ou=A=>Ainstanceofr6.ChildProcess&&"function"==typeofA.then,oC=(A,e,t)=>{if("string"==typeoft)returnA[e].pipe((0,r4.createWriteStream)(t)),A;if(B(t))returnA[e].pipe(t),A;if(!ou(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;},oI=A=>{null!==A.stdout&&(A.pipeStdout=oC.bind(void0,A,"stdout")),null!==A.stderr&&(A.pipeStderr=oC.bind(void0,A,"stderr")),void0!==A.all&&(A.pipeAll=oC.bind(void0,A,"all"));},oB=A=>{if(void0!==A)throwTypeError("The `input` and `inputFile` options cannot be both set.");},od=({input:A,inputFile:e})=>"string"!=typeofe?A:(oB(A),(0,r4.readFileSync)(e)),of=A=>{lete=od(A);if(I(e))throwTypeError("The `input` option cannot be a stream in sync mode");returne;},op=({input:A,inputFile:e})=>"string"!=typeofe?A:(oB(A),(0,r4.createReadStream)(e)),oy=(A,e)=>{lett=op(e);void0!==t&&(I(t)?t.pipe(A.stdin):A.stdin.end(t));},om=(A,{all:e})=>{if(!e||!A.stdout&&!A.stderr)return;lett=l(tv)();returnA.stdout&&t.add(A.stdout),A.stderr&&t.add(A.stderr),t;},ow=async(A,e)=>{if(A&&void0!==e){A.destroy();try{returnawaite;}catch(A){returnA.bufferedData;}}},oR=(A,{encoding:e,buffer:t,maxBuffer:r})=>{if(A&&t)returne?l(tb)(A,{encoding:e,maxBuffer:r}):l(tb).buffer(A,{maxBuffer:r});},oD=async({stdout:A,stderr:e,all:t},{encoding:r,buffer:n,maxBuffer:i},o)=>{lets=oR(A,{encoding:r,buffer:n,maxBuffer:i}),a=oR(e,{encoding:r,buffer:n,maxBuffer:i}),l=oR(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},ow(A,s),ow(e,a),ow(t,l)]);}},ob=(async()=>{})().constructor.prototype,ok=["then","catch","finally"].map(A=>[A,Reflect.getOwnPropertyDescriptor(ob,A)]),oN=(A,e)=>{for(let[t,r]ofok){letn="function"==typeofe?(...A)=>Reflect.apply(r.value,e(),A):r.value.bind(e);Reflect.defineProperty(A,t,{...r,value:n});}},oS=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)
`);},oV=({env:A,extendEnv:e,preferLocal:t,localDir:r,execPath:n})=>{let i=e?{...l(r7).env,...A}:A;return t?function({env:A=l(r7).env,...e}={}){let t=T({env:A={...A}});return e.path=A[t],A[t]=function(A={}){let e;let{cwd:t=l(r7).cwd(),path:r=l(r7).env[T()],execPath:n=l(r7).execPath}=A,i=n instanceof URL?l(nA).fileURLToPath(n):n,o=t instanceof URL?l(nA).fileURLToPath(t):t,s=l(r5).resolve(o),a=[];for(;e!==s;)a.push(l(r5).join(s,"node_modules/.bin")),e=s,s=l(r5).resolve(s,"..");return a.push(l(r5).resolve(o,i,"..")),[...a,r].join(l(r5).delimiter);}(e),A;}({env:i,cwd:r,execPath:n}):i;},oP=(A,e,t={})=>{let r=l(tc)._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(r7).cwd(),execPath:l(r7).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:oY,...t}).env=oV(t),t.stdio=on(t),"win32"===l(r7).platform&&"cmd"===l(r5).basename(A,".exe")&&e.unshift("/q"),{file:A,args:e,options:t,parsed:r};},o_=(A,e,t)=>"string"==typeof e||(0,r3.Buffer).isBuffer(e)?A.stripFinalNewline?u(e):e:void 0===t?void 0:"",oW=({input:A,inputFile:e,stdio:t})=>void 0===A&&void 0===e&&void 0===t?{stdin:"inherit"}:{},oq=(A={})=>({preferLocal:!0,...oW(A),...A});!function A(e){function t(r,...n){if(!Array.isArray(r))return A({...e,...r});let[i,...o]=oG(r,n);return M(i,o,oq(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]=oG(A,t);return function(A,e,t){let r;let n=oP(A,e,t),i=oL(A,e),o=oU(A,e);oJ(o,n.options);let s=of(n.options);try{r=l(r6).spawnSync(n.file,n.args,{...n.options,input:s});}catch(A){throw oe({error:A,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1});}let a=o_(n.options,r.stdout,r.error),E=o_(n.options,r.stderr,r.error);if(r.error||0!==r.status||null!==r.signal){let A=oe({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,oq(e));},t;}(),t0=no("6t4SD");const oj={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},oX=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],o$=k("~/.cpprc");let oZ=!1;e6=no("hHq4F"),t4=no("f44Uw");const{appendFile:oK}=rv.promises;let oz=!1,o0=!1;const o1=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(e9=t9||(t9={}))[e9.NameDashVersion=0]="NameDashVersion",e9[e9.NameEqualsVersion=1]="NameEqualsVersion",e9[e9.Name=2]="Name",e9[e9.None=3]="None",tz=no("1o3Gj"),t8=no("eAXk4"),t3=no("zdagz"),t8=no("eAXk4");let o2=!1;e6=no("hHq4F"),t0=no("6t4SD"),t8=no("eAXk4");let o4=!1;e6=no("hHq4F"),e6=no("hHq4F");let o9=!1,o8=!1;const o3=/Version\s*:\s*(.*)/g;t5={},t6=rF.resolve(__dirname,"../../node_modules/@actions/tool-cache/lib"),t7=t5&&t5.__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];}),rA=t5&&t5.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e});}:function(A,e){A.default=e;}),re=t5&&t5.__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)&&t7(e,A,t);return rA(e,A),e;},rt=t5&&t5.__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());});},rr=t5&&t5.__importDefault||function(A){return A&&A.__esModule?A:{default:A};},Object.defineProperty(t5,"__esModule",{value:!0}),t5.evaluateVersions=t5.isExplicitVersion=