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});}functionE(A){returnA&&A.__esModule?A.default:A;}functionl(A,e,t){if("function"==typeofe&&(t=e,e={}),!t){if("function"!=typeofPromise)throwTypeError("callback not provided");returnnewPromise(function(t,r){l(A,e||{},function(A,e){A?r(A):t(e);});});}tu(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;}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=tS(e);returnawaitnewPromise((e,n)=>{leti=A=>{A&&r.getBufferedLength()<=tN.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=E(r6).spawn(n.file,n.args,n.options);}catch(e){letA=new(E(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),l=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,E,g]=awaitiM(r,n.options,l),h=i2(n.options,a),Q=i2(n.options,E),C=i2(n.options,g);if(A||0!==e||null!==t){leta=n4({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};});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=E(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),l=i2(n.options,r.stderr,r.error);if(r.error||0!==r.status||null!==r.signal){letA=n4({stdout:a,stderr:l,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:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}functiony(){return(process.getuid?.()===0||!!process.env.CI)&&null!==E(tr).sync("sudo",{nothrow:!0});}functionm(A,e=[],t=i8){returny()?function(A,e){let[t,...r]=i_(A);returnp(t,r,e);}(R(A,e),t):p(A,D(e),t);}functionw(A,e=[],t=
`),(0,tz.info)(`${A}="${r}"wasaddedto"${o$}`));return;}process.env[A]=r;}async function H(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 i=n.architecture??process.arch,o=process.env.SETUP_CPP_DIR??N("~"),s=[],a=[],l=te.create({autoloadLocales:!0});te.addLocale(E(tt)),e7.addLocale(E(tA));let c=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);}(n,["llvm","clangtidy","clangformat"]))return(0,e6.error)("The same version must be used for llvm, clangformat and clangtidy"),1;U()&&"string"==typeof n.cppcheck&&"string"==typeof n.gcovr&&((0,e6.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await Al("python-pygments"));let g=!1,h=!1;for(let A of at){if(e5.isCI&&0!==a.length){h=!0;break;}let r=n[A];void 0!==r&&(e=Date.now(),g=await ek(A,r,c,i,o,s,a,6e4*parseFloat(n.timeout??"20")),t=Date.now(),(0,e6.info)("took "+(l.format(e,t)||"0 seconds")));}if(!h){let A=n.compiler;if(void 0!==A){let e=Date.now();await e2(A,c,o,i,s,g,a);let t=Date.now();(0,e6.info)("took "+(l.format(e,t)||"0 seconds"));}}if(await P(),0===s.length&&0===a.length)return(0,e6.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(s.forEach(A=>(0,e6.success)(A)),a.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.");}returnawaitr,0===a.length?0:1;}vare9,e8,e3,e5,e6,e7,tA,te,tt,tr,tn,ti,to,ts,ta,tE,tl,tc,tg,th,tQ,tC,tu,tI,tB,td,tf,tp,ty,tm,tw,tR,tD,tb,tN,tk,tS,tF,tv,tL,tU,tx,tM,tT,tG,tY,tO,tJ,tH,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,rE,rl,rc,rg,rh,rQ,rC,ru,rI,rB,rd,rf,rp,ry,rm,rw,rR,rD,rb,rN,rk,rS=require("os"),rF=require("path"),rv=require("fs"),rL=require("crypto"),rU=require("http"),rx=require("https"),rM=require("net"),rT=require("tls"),rG=require("events"),rY=require("assert"),rO=require("util"),rJ=require("stream"),rH=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)("52cQ1",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("jgqtC");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.constant]=t,t)switch(A.exports.name=e.name,typeofe.pr){case"string":A.exp
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("a7JAS",function(A,e){var t,r,n,i,o,s,a,E,l,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("8gh3V")),C=n(no("7i1qo"));o=no("x6EAG"),(l=s||(A.exports.HttpCodes=s={}))[l.OK=200]="OK",l[l.MultipleChoices=300]="MultipleChoices",l[l.MovedPermanently=301]="MovedPermanently",l[l.ResourceMoved=302]="ResourceMoved",l[l.SeeOther=303]="SeeOther",l[l.NotModified=304]="NotModified",l[l.UseProxy=305]="UseProxy",l[l.SwitchProxy=306]="SwitchProxy",l[l.TemporaryRedirect=307]="TemporaryRedirect",l[l.PermanentRedirect=308]="PermanentRedirect",l[l.BadRequest=400]="BadRequest",l[l.Unauthorized=401]="Unauthorized",l[l.PaymentRequired=402]="PaymentRequired",l[l.Forbidden=403]="Forbidden",l[l.NotFound=404]="NotFound",l[l.MethodNotAllowed=405]="MethodNotAllowed",l[l.NotAcceptable=406]="NotAcceptable",l[l.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",l[l.RequestTimeout=408]="RequestTimeout",l[l.Conflict=409]="Conflict",l[l.Gone=410]="Gone",l[l.TooManyRequests=429]="TooManyRequests",l[l.InternalServerError=500]="InternalServerError",l[l.NotImplemented=501]="NotImplemented",l[l.BadGateway=502]="BadGateway",l[l.ServiceUnavailable=503]="ServiceUnavailable",l[l.GatewayTimeout=504]="GatewayTimeout",(c=a||(A.exports.Headers=a={})).Accept="accept",c.ContentType="content-type",(E||(A.exports.MediaTypes=E={})).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],E?d+=`connection:upgrade\r
upgrade:${E}\r
`:A[_]&&!B[m]?d+="connection: keep-alive\r\n":d+="connection: close\r\n",l&&(d+=l),AX.sendHeaders.hasSubscribers&&AX.sendHeaders.publish({request:e,headers:d,socket:B}),t&&0!==u?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[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:E}){if(rY(0!==s||0===n[F],"stream body cannot be pipelined"),"h2"===n[Al]){function l(A){i.onBodySent(A);}let n=t(e,A,t=>{t?(r.destroy(e,t),r.destroy(A,t)):i.onRequestSent();});n.on("data",l),n.once("end",()=>{n.removeListener("data",l),r.destroy(n);});return;}let g=!1,h=new A5({socket:o,request:i,contentLength:s,client:n,expectsPayload:E,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,rY(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:E}){rY(o===e.size,"blob body must have content length");let l="h2"===t[Al];try{if(null!=o&&o!==e.size)throw new a();let r=Buffer.from(await e.arrayBuffer());l?(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(),E||(i[m]=!0),AL(t);}catch(e){r.destroy(l?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(E){let A=E;E=null,A();}}rY(0!==i||0===t[F],"iterator body cannot be pipelined");let E=null,l=()=>new Promise((A,e)=>{rY(null===E),n[P]?e(n[P]):E=A;});if("h2"===t[Al]){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 l());}}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 l());}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=rJ.pipeline,r=no("84Q1O"),n=no("lwHlm"),i=no("fHRmy"),o=no("3WED8"),a=(s=no("fXBWP")).RequestContentLengthMismatchError,E=s.ResponseContentLengthMismatchError,l=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=no("6CPvd"),y=(p=no("dsmgU")).kUrl,m=p.kReset,w=p.kServerName,R=p.kClient,D=p.kBusy,b=p.kParser,N=p.kConnect,k=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,G=p.kNeedDrain,Y=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,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,AE=p.kMaxResponseSize,Al=p.kHTTPConnVersion,Ac=p.kHost,Ag=p.kHTTP2Session,Ah=p.kHTTP2SessionState,AQ=p.kHTTP2BuildRequest,AC=p.kHTTP2CopyHeaders,Au=p.kHTTP1BuildRequest;try{Ad=$45c81c1c2abb82a8$import$dc5c58500bc5a0ce;}catch{Ad={constants:{}};}let{constants:{HTTP2_HEADER_AUTHORITY:AY,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=$45c81c1c2abb82a8$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("iw9n8"),AB=no("4KdE6");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[AE];}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:E,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:N,autoSelectFamily:k,autoSelectFamilyAttemptTimeout:F,allowH2:v,maxConcurrentStreams:L}={}){if(super(),void 0!==c)throw new l("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new l("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==o)throw new l("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==E)throw new l("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==h)throw new l("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t&&!Number.isFinite(t))throw new l("invalid maxHeaderSize");if(null!=u&&"string"!=typeof u)throw new l("invalid socketPath");if(null!=s&&(!Number.isFinite(s)||s<0))throw new l("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new l("invalid keepAliveTimeout");if(null!=Q&&(!Number.isFinite(Q)||Q<=0))throw new l("invalid keepAliveMaxTimeout");if(null!=C&&!Number.isFinite(C))throw new l("invalid keepAliveTimeoutThreshold");if(null!=n&&(!Number.isInteger(n)||n<0))throw new l("headersTimeout must be a positive integer or zero");if(null!=a&&(!Number.isInteger(a)||a<0))throw new l("bodyTimeout must be a positive integer or zero");if(null!=R&&"function"!=typeof R&&"object"!=typeof R)throw new l("connect must be a function or an object");if(null!=m&&(!Number.isInteger(m)||m<0))throw new l("maxRedirections must be a positive number");if(null!=D&&(!Number.isInteger(D)||D<0))throw new l("maxRequestsPerClient must be a positive number");if(null!=b&&("string"!=typeof b||0===rM.isIP(b)))throw new l("localAddress must be valid string IP address");if(null!=N&&(!Number.isInteger(N)||N<-1))throw new l("maxResponseSize must be a positive number");if(null!=F&&(!Number.isInteger(F)||F<-1))throw new l("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=v&&"boolean"!=typeof v)throw new l("allowH2 must be a valid boolean value");if(null!=L&&("number"!=typeof L||L<1))throw new l("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&&k?{autoSelectFamily:k,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==C?1e3:C,this[q]=this[O],this[w]=null,this[Aa]=null!=b?b:null,this[S]=0,this[G]=0,this[J]=`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[AE]=N>-1?N:-1,this[Al]="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[k])||this[L]>=(this[_]||1)||this[v]>0;}[N](A){AF(this),this.once("connect",A);}[Ao](A,e){let t=A.origin||this[y].origin,n="h2"===this[Al]?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[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[H]);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("84Q1O",function(A,e){var t,r,n,i,o,s,a;let E;function l(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 C(A){return A instanceof Uint8Array||Buffer.isBuffer(A);}async function*u(A){for await(let e of A)yield Buffer.isBuffer(e)?e:Buffer.from(e);}r=(t=no("dsmgU")).kDestroyed,n=t.kBodyUsed,i=rU.IncomingMessage,o=no("fXBWP").InvalidArgumentError,s=rH.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&&(rJ.isDisturbed?rJ.isDisturbed(A)||A[n]:A[n]||A.readableDidRead||A._readableState&&A._readableState.dataEmitted||Q(A)));},isErrored:function(A){return!!(A&&(rJ.isErrored?rJ.isErrored(A):/state: 'errored'/.test(rO.inspect(A))));},isReadable:function(A){return!!(A&&(rJ.isReadable?rJ.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("fXBWP")).InvalidArgumentError,n=t.NotSupportedError,o=(i=no("dsmgU")).kHTTP2BuildRequest,s=i.kHTTP2CopyHeaders,a=i.kHTTP1BuildRequest,E=no("84Q1O");let h=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,Q=/[^\t\x20-\x7e\x80-\xff]/,C=Symbol(),u={};try{letA=$b6f443e753458cee$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(E.isStream(n)){this.body=n;letA=this.body._readableState;A&&A.autoDestroy||(this.endHandler=function(){E.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(E.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(E.isFormDataLike(n)||E.isIterable(n)||E.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?E.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?l+=A.byteLength+n.size+s.byteLength:a=!0;}let g=x.encode(`--${e}--`);o.push(g),l+=g.byteLength,a&&(l=null),E=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))E=A,l=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 E||r.isBuffer(E))&&(l=Buffer.byteLength(E)),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:E,length:l},c];}async function*N(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 k(A){if(A.aborted)throw new C("The operation was aborted.","AbortError");}async function S(A,e,t){var n;if(h.brandCheck(A,t),k(A[g]),null!=(n=A[g].body)&&(n.stream.locked||r.isDisturbed(n.stream)))throw TypeError("Body is unusable");let i=E(),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 l(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)),M.decode(A));}function v(A){return JSON.parse(F(A));}t=no("hy5mA"),r=no("84Q1O"),i=(n=no("w70bE")).ReadableStreamFrom,o=n.isBlobLike,s=n.isReadableStreamLike,a=n.readableStreamClose,E=n.createDeferredPromise,l=n.fullyReadBody,c=no("1ldzh").FormData,g=no("9r5MW").kState,h=no("e7JpM").webidl,C=(Q=no("1ugn3")).DOMException,u=Q.structuredClone,I=rH.Blob,B=rH.File,d=no("dsmgU").kBodyUsed,f=(r=no("84Q1O")).isErrored,p=r_.isUint8Array,y=r_.isArrayBuffer,m=no("70Czl").File,R=(w=no("jCHVy")).parseMIMEType,D=w.serializeAMimeType;let L=globalThis.ReadableStream,U=B??m,x=new TextEncoder(),M=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]=u(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),k(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 C(""+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 N(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 N(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.assign(T
${t.count}${t.noun}${t.is}pending:
${A.format(e)}
`.trim());}};}),e3("iTMsM",function(A,e){var t=rO.promisify,r=no("8nu7M"),n=no("dRbcw").buildMockDispatch,i=no("cOHib"),o=i.kDispatches,s=i.kMockAgent,a=i.kClose,E=i.kOriginalClose,l=i.kOrigin,c=i.kOriginalDispatch,g=i.kConnected,h=no("ePpuu").MockInterceptor,Q=no("dsmgU"),C=no("fXBWP").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[l]=A,this[o]=[],this[g]=1,this[c]=this.dispatch,this[E]=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[E])(),this[g]=0,this[s][Q.kClients].delete(this[l]);}}A.exports=u;}),e3("dicYF",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("iR3nA",function(A,e){var t=rJ.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("9aY8u",function(A,e){var t,r,n,i,o,s,a,E,l,c,g,h,Q;function C(A,e){return new E(A,e);}r=(t=no("dsmgU")).kProxy,n=t.kClose,i=t.kDestroy,o=t.kInterceptors,s=rz.URL,a=no("4vfGT"),E=no("8nu7M"),l=no("3WED8"),g=(c=no("fXBWP")).InvalidArgumentError,h=c.RequestAbortedError,Q=no("6CPvd");let u=Symbol(),I=Symbol(),B=Symbol(),d=Symbol(),f=Symbol(),p=Symbol();A.exports=class extends l{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:E,username:l,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:l&&c&&(this[B]["proxy-authorization"]="Basic "+Buffer.from(`${decodeURIComponent(l)}:${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:E}});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();}};}),e3("7noQj",function(A,e){var t=no("dsmgU").kRetryHandlerDefaultRetry,r=no("fXBWP").
${e}`,nJ=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),nH=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",nH),Object.defineProperty(A,"toString",{...nJ,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))nT(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}`: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=l,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("e1Rfe"),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=il,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=iE);};tR.load=is;varia=tD.reallyExit,iE=function(A){n5(nr.process)&&(tD.exitCode=A||0,ir("exit",tD.exitCode,null),ir("afterexit",tD.exitCode,null),ia.call(tD,tD.exitCode));},il=tD.emit,ic=function(A,e){if(!("exit"===A&&n5(nr.process)))returnil.apply(this,arguments);void0!==e&&(tD.exitCode=e);vart=il.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");},iu(t));n.unref&&n.unref();},iQ=(A,{forceKillAfterTimeout:e},t)=>iC(A)&&!1!==e&&t,iC=A=>A===E(ne).constants.signals.SIGTERM||"string"==typeofA&&"SIGTERM"===A.toUpperCase(),iu=({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=E(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?{...E(r7).env,...A}:A;return t?nM({env:i,cwd:r,execPath:n}):i;},i1=(A,e,t={})=>{let r=E(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||E(r7).cwd(),execPath:E(r7).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:i$,...t}).env=i0(t),t.stdio=n3(t),"win32"===E(r7).platform&&"cmd"===E(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?C(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("ER74K"),tU={},tx=no("bSUdl"),tM=nt.env.npm_package_json,tG=!!((tT=nt.env.npm_config_user_agent)&&tT.startsWith("npm")),tY=!!(tM&&tM.endsWith("package.json")),tO=tG||tY,tJ=!!(tT&&tT.startsWith("yarn")),tH=tO||tJ,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 k(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 k(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 k(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||tH&&!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("4t50X"),e6=no("ER74K"),e
${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=E,r.killed=l&&!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");},oE(t));n.unref&&n.unref();},os=(A,{forceKillAfterTimeout:e},t)=>oa(A)&&!1!==e&&t,oa=A=>A===E(ne).constants.signals.SIGTERM||"string"==typeofA&&"SIGTERM"===A.toUpperCase(),oE=({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;},ol=(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=E(tR)(()=>{A.kill();});returnr.finally(()=>{n();});},oC=A=>Ainstanceofr6.ChildProcess&&"function"==typeofA.then,ou=(A,e,t)=>{if("string"==typeoft)returnA[e].pipe((0,r4.createWriteStream)(t)),A;if(B(t))returnA[e].pipe(t),A;if(!oC(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=ou.bind(void0,A,"stdout")),null!==A.stderr&&(A.pipeStderr=ou.bind(void0,A,"stderr")),void0!==A.all&&(A.pipeAll=ou.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=E(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?E(tb)(A,{encoding:e,maxBuffer:r}):E(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}),E=oR(t,{encoding:r,buffer:n,maxBuffer:2*i});try{returnawaitPromise.all([o,s,a,E]);}catch(r){returnPromise.all([{error:r,signal:r.signal,timedOut:r.timedOut},ow(A,s),ow(e,a),ow(t,E)]);}},ob=(async()=>{})().constructor.prototype,oN=["then","catch","finally"].map(A=>[A,Reflect.getOwnPropertyDescriptor(ob,A)]),ok=(A,e)=>{for(let[t,r]ofoN){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?{...E(r7).env,...A}:A;return t?function({env:A=E(r7).env,...e}={}){let t=M({env:A={...A}});return e.path=A[t],A[t]=function(A={}){let e;let{cwd:t=E(r7).cwd(),path:r=E(r7).env[M()],execPath:n=E(r7).execPath}=A,i=n instanceof URL?E(nA).fileURLToPath(n):n,o=t instanceof URL?E(nA).fileURLToPath(t):t,s=E(r5).resolve(o),a=[];for(;e!==s;)a.push(E(r5).join(s,"node_modules/.bin")),e=s,s=E(r5).resolve(s,"..");return a.push(E(r5).resolve(o,i,"..")),[...a,r].join(E(r5).delimiter);}(e),A;}({env:i,cwd:r,execPath:n}):i;},oP=(A,e,t={})=>{let r=E(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||E(r7).cwd(),execPath:E(r7).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:oY,...t}).env=oV(t),t.stdio=on(t),"win32"===E(r7).platform&&"cmd"===E(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?C(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 T(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);oH(o,n.options);let s=of(n.options);try{r=E(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),l=o_(n.options,r.stderr,r.error);if(r.error||0!==r.status||null!==r.signal){let A=oe({stdout:a,stderr:l,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:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(r,n,oq(e));},t;}(),t0=no("kY0n1");const oj={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},oX=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],o$=N("~/.cpprc");let oZ=!1;e6=no("ER74K"),t4=no("iNGpn");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("4t50X"),t8=no("bzNgi"),t3=no("hZdK0"),t8=no("bzNgi");let o2=!1;e6=no("ER74K"),t0=no("kY0n1"),t8=no("bzNgi");let o4=!1;e6=no("ER74K"),e6=no("ER74K");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=